Thread: Cross!
View Single Post
  #118 (permalink)  
Old 01-31-2008, 10:40 AM
mladen's Avatar
mladen mladen is offline
Senior Member
 
Join Date: Oct 2006
Posts: 306
mladen is on a distinguished road
Maybe you should use this version
It shows you the MAs you requested too (you can turn that off with showMAs parameter if you do not like it)
This way you are going to see exactly what MAs you requested and where do they cross

btw: yellow arrow is the live arrow (on the bar that is not closed yet)
calculation and accordingly indicator displaying on current candle can change and is not considered a repainting (otherwise all indicators not using open price as an argument are repainting - and that would be a huge overestimation of repainting)
Anyway, you can turn off current bar checking with crossesOnCurrent parameter
If you set it to false the yellow arrow will not appear and crosses are going to be shown for closed bars only

this one is same as MA_3MA_Cross_AWS.mq4 posted by Fxbs with option to show MAs added

regards
mladen

Quote:
Originally Posted by romotly007 View Post
Sorry to bother you but did you code the indicator to work perfectly with other settings too? Cos after changing the settings (MA, Shift, Mode), I don't understand what is happening to my chart here oo. It is repainting but my setting with the original 3 MA Cross w_Alert v2 does not repaint... one arrow per EMA crossing. Thats the way it should be not false alerts on every candle
Attached Images
File Type: gif cross.gif (20.0 KB, 476 views)

Last edited by mladen; 07-21-2008 at 05:04 PM.
Reply With Quote