Here’s a simple strategy for CAC40 with only three conditions.
Appropriately enough it’s the french national day today.
The three conditions
timeframe(daily, updateonclose)
entrycondition1 = close < average[65](close)
TimeFrame(default)
entrydaytime = dayofweek = 2 and time = 090000
exitdaytime = dayofweek = 3 and time = 173000
entrycondition2 = dlow(0) > dlow(1) or dhigh(0) > dhigh(1)
if entrydaytime and entrycondition1 and entrycondition2 and not onmarket then
buy 1 contract at market
set stop %loss 2
endif
if exitdaytime then
sell at market
endif