and below in red is the code SB writes.
// Set 1
if ((Times[0][0].TimeOfDay > StartTime.TimeOfDay)
&& (Times[0][0].TimeOfDay < EndTime.TimeOfDay)
&& (CrossBelow(ZeroLagTEMA2, ZeroLagHATEMA2, 1))
&& (AuEMA1[0] < ZeroLagTEMA2[0])
&& (AuEMA1[0] == -1))
SB appears to just use the EMA, not the Trend.
Thanks for your help.
Comment