Is there a way to code a stop loss so that the first 30 minutes (or x
bars) of each day are ignored? IOW, I'll get stopped out unless the
stop were to occur during the first 30 minutes of the trading day.
And can the time period be optimized, e.g. from 15 minutes to 60
minutes? (If optimization is too difficult, it's not as important.)
Using this code, what would be added/changed (assuming it's possible)?
ApplyStop(stopTypeLoss,
stopModePoint,
Optimize( "max. loss stop level", 1, .05, 2, .05 ),
True );
Thanks in advance,
Grant