Help with this problem (Passing Price)
Hello
When i am making a EA and back tested i found some times the condition not executed .
example
let us make simple EA
So, when i backtested with Insta broker from 1/1/2013 until July 2013the Ask price passed the 1.3097 and did not show the message.
but with any price like(1.3000) the condition achieved but at that price not achieved. i dont know what is the problem and why? is it because the server it self?
Maybe Ask was never exactly equal to 1.3097 it may have been 1.30971 one tick and 1.30969 the next?
As you say that condition was met when Ask passed below 1.30971, then I think that you intend <=, not ==
if(Ask<=1.3097) { Comment("The Ask got the price"); }
Maybe Ask was never exactly equal to 1.3097
GumRai The platform is 4 Digits not 5, and NordFX broker achieved the condition but with instaforex did not. RaptorUK if never exactly. Why if i use oredersend @ TP=1.3097 as example is executed, but at the same time with the same price 1.3097 did not ?
Hello
When i am making a EA and back tested i found some times the condition not executed .
example
let us make simple EA
So, when i backtested with Insta broker from 1/1/2013 until July 2013the Ask price passed the 1.3097 and did not show the message.
but with any price like(1.3000) the condition achieved but at that price not achieved. i dont know what is the problem and why? is it because the server it self?