View Single Post
  #6 (permalink)  
Old 06-04-2007, 10:13 PM
mrebersv mrebersv is offline
Member
 
Join Date: Dec 2006
Location: Minnesota, USA
Posts: 84
mrebersv is on a distinguished road
Well, I'm still having the same problem. Attached is the code for my "indicator" as well as the real indicator (though this is just in .ex4 form, not .mq4). My indicator prints some values to the top left corner of the window that are used in the calculation for the sidewinder. Mine shows the information for the last complete bar, not the current bar. The "angleLsma" result should be the angle of the lsma between the last complete bar and the bar immediately prior to the last complete bar.

The 'sidewinderValue' is the sum of the two angles. When the actual sidewinder indicator (FX Sniper's) is green, my sidewinderValue should be over 100. When the actual sidewinder is red, my sidewinderValue should be less than 75. Between 75 and 100 are supposed to be when the real thing is yellow. If you test this out, it doesn't hold true. Also, the "angles" reported by my indicator are never less than zero as they should be.

Any ideas?
Attached Files
File Type: mq4 Matt's Sidewinder v1.mq4 (2.9 KB, 90 views)
File Type: ex4 FX Sniper's SideWinder Overlay.ex4 (6.5 KB, 66 views)
Reply With Quote