Sell stop take price from a variable
-
Hello ,i have a variable MyStopLoss which i give it prices according some conditions on Mql4 custom code.
Then when i Buy now ,how can i set the stoploss=MystopLoss,which i have calculated before.Thank you
-
@mpantogi
Hello
If I have understood correctly , you must use buy now condition in ontrade function then use loop of trade or on trade for use last order settings , but now because of problem with downloading mq4 i can't test it!
https://fxdreema.com/shared/Sv4ROcOTb
( I'm not sure about this )
Best Wishes