Thanks, the strategy is very basic in itself, and for the most part I have it working. There is just one element which I can't work out 
This is the basic premise for a Sell trade:
I only want trade from 12:00 until 19:30 so
Set Start Time 12:00
Set End Time 19:30
At 12:00
Check no trades are running
Check Condition MA10<X MA33
Check Condition Candle1 High < MA10
Check Condition Candle0 < Candle1
If all conditions are met
Sell 1 lots, no SL/TP
then
If trade is running
Check Condition MA10>X MA33
Close Trade
Or
At 20:00 Close all trades
This part works fine, however it is the next part which I cannot work out. I am attempting to use "Start History Trades Loop", however as I'm not actually placing any trades 20:00-12:00 I don't think I can use this option (as there are no actual trades during these times).
This is what I would like to do:
At 12:00 (once every day)
Check to see if there has been a valid signal in the last 5 hours (i.e all trade conditions met), and there hasn't been an MA Cross since this signal.
If Yes
wait for the next MA Cross before entering a trade.
If No
take the next available trade.
So my thinking would be that at 12:00 I need to check for any historic trades in the last 5 hours, and if there is a trade setup in progress then wait until the MA's Crossover to signal a new trade. To do this I have tried this:
Once a Day at 12:00
Start history trades loop
(in loop) Check trade/order age for trades newer than 5 hours
If there is a trade in the last 5 hr
set flag to Y
else
set flag to N
I have then included in my trade criteria an option:
Check Flag
If set to Y then Stop
If set to N pass through and trade as normal
I think the Time Filter may be causing this to fall over, as trades are not being placed outside my trading hours, so perhaps I need an option to identify all trades and a seperate option to only activate a Sell where it is inside my trading hours, but then I don't know how it would then identify these previous setups at 12:00 when my trading starts.
Hope that makes sense.
Cheers.