condition:
setting
tp :40
sl :80
mm :1(on), 0(off)
risk : 2(% of current equity/sl=the initial lots (auto round up to nearest allow lots) )
max order number : 6
magic number:1111111
fast mode :1(on), 0(off) (straight away open the same direction after the order tp)
draw line on GU every 40pips start from 1.5600 (thick line when the price is within the range of 2 line)
condition for open order
step 1 - pending buy order at the upper thick line and pending sell order at the bottom thick line. lot size follow the risk option to get the initial lot, and call it order 1.
(either 1 of the order is open cancel the other 1 and proceed to step 2)
step 2 - set a pending order -40pips from order 1(if step 1 open buy then now pending sell, put it as order 2) with 3 times of the lot size order 1. (if order 1 hit tp cancel pending order 2 and start from step 1(if fast mode off). if order 2 opened proceed to step 3.)
step 3 - set a pending order -40pips from order 2(if step 2 open sell then now pending buy, put it as order 3) with 2 times of the lot size order 2. (if order 2 hit tp cancel pending order 3 and start from step 1(if fast mode off). if order 3 opened proceed to step 4.)
step 4 - set a pending order -40pips from order 3(if step 3 open buy then now pending sell, put it as order 4) with 2 times of the lot size order 3. (if order 3 hit tp cancel pending order 4 and start from step 1(if fast mode off). if order 4 opened then repeat step 3 & 4(but the order number n+1))