|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Please Help
Hello every one .
I have a problem in the expiration time . I want to make the order be expire after 1 houre , what the right code to do that??? Code:
OrderSend(Symbol(),OP_BUY ,Lots,Ask,1,Ask-loss*Point,Ask+profit*Point,"Mercury_Man",1,??????????????,Green); |
|
|||
|
Quote:
|
|
|||
|
Quote:
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); |
|
|||
|
Quote:
![]() |
|
|||
|
Quote:
thank you very much omelette |
![]() |
| Thread Tools | |
| Display Modes | |
|
|