Jonah Sim:
I would like to ask how do you write an EA that execute market order regardless of the price with SL and TP at specific time everyday?
Eg, execute market order with fixed TP and SL for USD/JPY and time 8pm everyday.
There's a zillion ways to do it but this may get you thinking down the right path
if (Hour()>=StartHour && OrderTicketNumber<=0) { OrderTicketNumber=OrderSend(mySymbol,TradeDirection,LotSize,Price,Slippage,SL,TP,myComment,MagicNum,0,ArrowColor); NoMoreTradesToday=true; }

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I would like to ask how do you write an EA that execute market order regardless of the price with SL and TP at specific time everyday?
Eg, execute market order with fixed TP and SL for USD/JPY and time 8pm everyday.