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
Hi partners,
i have one error to put SL and TP after trade opened. Correct is with ordermodify command right?
follow my cod part with buy trade:
*******************************
// Buy criteria
if ( g_buy > 0 && lowA <= g_buy && ma2 > ma3)
int openbuy=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,0,0,"robot",BuyMagicNumber,0,Blue);
*****************************
How to modify SL and TP after trade opened? I need this to use in ECN broker, because not accept SL and SL directy.
kind regards,
philipe
check the return of the ordersend if this >0 then you can modify the trade with your SL and TP
again for you ECN Thanks to RaptorUK click on the blue ECN