Tâche terminée
Spécifications
current bars = High[0] or Low[0]
swing high = High[1]<High[2] && High[3]<High[2] && High[4]<High[2] && High[5]<High[2]
swing low = Low[1]<Low[2] && Low[3]<Low[2] && Low[4]<Low[2] && Low[5]<Low[2]
Sell Condition:
if find first swing low of the day EA will Pending order sell at swing low, Stoploss at high[1] +(50*point ) and TP at order open + (300*point)
if EA find fist swing high of the day . EA will delete Sellstop and open Buystop at swing high , Stoploss at low[1] -(50*point )and TP at order open +300*point or close Sellorder and open Buystop
Buy Condition:
if find first swing high of the day EA will Pending order sell at swing high, Stoploss at Low[1] - (50*point )and TP at order open - (300*point)
if EA find fist swing Low of the day . EA will delete Buystop and open Sellstop at swing high , Stoploss at low[1] -(50*point ) and TP at order open -300*point or close Buyorder and open Sellstop
lot every order is 0.05
if we have second swing high order or second swing low order.EA will have second type order
Bearish = High[1]>High[2] && Close[1]<High[2] && Low[1]>Low[2]
Bullish = High[1]<High[2] && Close[1]>Low[2] && Low[1]<Low[2]
second type order Sell Condition:
EA find Adjacent swing low not have swing high between swing low. EA will find Bearish and open order sell at Open price of current bar (Bar[0]), Stoploss is High[1] +(50*point ), TP is order open price - (100*point)
second type order Buy Condition:
EA find Adjacent swing High not have swing Low between swing High. EA will find Bullish and open order Buy at Open price of current bar (Bar[0]), Stoploss is Low[1] -(50*point ), TP is order open price + (100*point)
lot of second type order is 0.1
all order will delete or close if get the new day.
Time frame is m15 h1 h4