06 FxDreema BB V2 - 05.ex4

Thanks for your valuable support.
First the good news. The EA lead you gave seems to be working. I was at a dead end, but now I have something which is running. I have to now optimize the settings. Requesting for your advice as before.
I am trying to get a solution to following two enhancements. One is about the market hours to trade and another is for the trailing stops.
====================================================================
Trading hours
All on local Eastern Time - USA
Sun From 17:00 to 21.00
Mon From 4:00 to 16:00
Tue From 4:00 to 16:00
Wed From 4:00 to 16:00
Thu From 4:00 to 16:00
Fri From 4:00 to 13:00
On Friday at 13:00 all positions are closed at market.
=====================================================================
Trailing stops
Trade starts with 100 pip profit target
No Trailing stop till the trade has 10 pips profit
At 10 pip profit, the Trailing stop is at the entry price + 2 pips
At 20 pip profit pis onwards the trailing stop moves at each step of 10 pips in price movement. chnages to entry price + 10 pips. Meaning, At 30 pip profit, the trailing stop changes to entry price + 20 pips and so on until 90 pips profit when the trailing stop is at price plus 80 pips. Beyond that the profit target of 100 will close the trade.
=====================================================================
I am attaching a image of the schema whish I thougt will work. BUt when I set the trading time / trailing stop box I am confused. There are many settings and I have no idea whcih one will do the job. The base ex4 file containing the working EA is also attached.
Requesting for your advice.
......
06 FxDreema BB V2 - 05.ex4
09 Screen shot.jpg