Script opening orders:
Author: Vladimir Khlystov
Your script is good. I have been trying to write a script like this but it doesn't work.
Maybe you can help!!
When I open order, I will open 1, 2, 3 or 4 orders.
1 Order: Ord1, Lot=1, SL=70, TP=25
2 Orders: Ord1, Lot =0.5, SL=70, TP=25; Ord2, Lot =0.5, SL=70, TP=50
3 Orders: Ord1, Lot =0.3, SL=70, TP=25; Ord2, Lot =0.3, SL=70, TP=50; Ord3, Lot =0.3, SL=70, TP=75
4 Orders : Ord1, Lot =0.25, SL=70, TP=25; Ord2, Lot =0.25, SL=70, TP=50; Ord3, Lot =0.25, SL=70, TP=75; Ord4, Lot =0.25, SL=70, TP=0
Can the above script be modified to do the above steps. Variables are, Orders, Lot, SL and TP.
I search that for long time.
I was looking for something like this for some time. But sadly every time i'm trying to lunch the script i get error message 4109. I would be very grateful if can help me to solve the problem. Especially i'm interesting in the opening orders in different directions at the same time.