4H Candle Vs Daily Close EA Need Help !

 

Hello All ,

I would like to test a simple system that depends on 4H candle that close and break the high or the low of the previous daily, any help coding this Indicator / Experts will be appreciated a lot .

The System goes like this :

Buy Orders : IF 4H Candle Close above previous Daily High , then open the following orders :

1- Buy @ 4H Close market Price , SL= 30 , TP = 40

2- Buy Limit @ 4H Close with 10 Points , SL= 35 , TP = 50

3- Buy Limit @ 4H Close with 20 Points , SL= 40 , TP = 60

------------------------------------------------

Sell Orders : IF 4H Close Below previous Daily Low , then open the following orders :

1- Sell @ 4H Close market Price , SL= 30 , TP = 40

2- Sell Stop @ 4H Close with 10 Points , SL= 35 , TP = 50

3- Sell Stop @ 4H Close with 20 Points , SL= 40 , TP = 60

---------------------------------------------

Notes :

1- MT4 Server time : UTC / +3 GMT

2- Note : Order Number 3 must be cancelled if it did n`t activated within 24 hours - with an option to close it manually or Automatically .

Looking for help from experts, coders , traders ..... any one , any inputs will be more than welcomed .