Line A is an indicator
Line B is the m period MAX of line A
Line C is an average of this indicator A
Line D is another average of this indicator A
is it possible, possibly using the strategy builder, but without adding a temporary variable, to set on the condition:
line C crosses below line D within a variable n number of bars since when line B has been detaching from line A (ie: its last highest value)
I understand this last part would be a condition like:
if ((LineB[1] > LineB[0]) AND lineB[1] == MAX (lineB, period m)[0]),
but I do not see how to combine this “if” with the first part of the condition.
Any suggestion on how to get this? with or without the strategy builder?
Thanks.
Comment