PL. TL and Indicator strategy question
Posted: Jul 26 2011
In the EL strategy below, the strategy triggers buy orders when the trendlines are crossed up by the indicator (see screenshot). I want to FILTER OUT instances when the indicator is NOT doing higher lows. (see trendline to the far left in the screenshot) The 2 trendline crossings on the right in the screenshot do what I want. The strategy as written right now triggers orders in all cases.
My question is simple, what would I have to modify in the PL code to say the Pivot Low 2 low pivots ago (last cyan arrow) from the TL crossing has to be LOWER than the low of last pivot low (green arrow)in order for the signal to be triggered.
Thanks in advance.
My question is simple, what would I have to modify in the PL code to say the Pivot Low 2 low pivots ago (last cyan arrow) from the TL crossing has to be LOWER than the low of last pivot low (green arrow)in order for the signal to be triggered.
Thanks in advance.