Quote:
Originally Posted by mercury_man
Thank you very much my dear .
Is chart time frame import ??? on which time frame must expert be opened
thank you again .
|
Good point - it would depend on how much time has elapsed on the current bar...
To make it time-frame independent, use the following:
Code:
OrderSend(Symbol(),OP_BUY ,Lots,Ask,1,Ask-loss*Point,Ask+profit*Point,"Mercury_Man",1,iTime(NULL,Period_M1,0) + 3600,Green);