Newbie question - Trading time & Stop Loss

 

Hopefully some one here may help me.

Please keep in mind I am not a programmer.


This is my attempt to create an expert looking for trading opportunities (section Peak Hours ORDER ENTRY) during a set time (section Day and Time Open for Trading). The expert does work, but its working to well. The stop lost (section Check for open orders) is also checking during the same set time. Within the expert how may I keep the trading time and keep stop lost working all the time?


Thank you.

Files: