MQL4 - automated forex trading   /  

Forum

Isar making me crazy

Back to topics list To post a new topic, please log in or register

avatar
2
mcsqueeze 2006.03.21 10:12 
i am trying to use the parabolic sar as an exit indicator.

my code is

if(Close[0] >iSAR(NULL,0,0.02,0.2,0)) CloseOrd=OrderClose(OrderTicket() .... etc etc

it is reacting in testing s if the sar is 2.0,2.0 instead of 0.02, 0.2 what gives?
How to Become a Participant of Automated Trading Championship 2008?

How to Become a Participant of Automated Trading Championship 2008?

The main purpose of the Championship is to popularize automated trading and accumulate practical information in this field of knowledge. As the Organizer of the Championship, we are doing our best to provide a fair competition and suppress all attempts to “play booty”. It is this reasoning that sets the strict Rules of the Championship.


avatar
6
laurent 2006.06.17 10:47 
Hey mcsqueeze,

Have you had any luck with iSAR? I am trying to use it in an indicator, but if I draw it, nothing is returned.

avatar
Moderator
5198
stringo 2006.06.19 13:37 
Please always keep in mind that the zero bar is exactly the current bar. It changes during the testing and gets its final state only after it has stopped being the current.

See example of bar evolution
Back to topics list  

To add comments, please log in or register