Help Please

 
Hello Guy's, can somebody help me witch programming this Strategie?

I would trade an imaginate Gap between 22.00 and 08.00 o'clock (NewYork Close -> NY Open).
If 22.00 Close Price is under 08.00 Open Price the EA should go short till Gap Close (22.00 Close).
If 22.00 Close Price is over 08.00 Open Price the EA should go long till Gap Close (22.00 Close).
TakeProfit is GapClose
No StoppLose
TradeClose at DayClose if TP don't match.

Sorry for my bad english....
Can anybody help me?

Cobra
Reason: