New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Pullback for multiple bar drops
Hi. I am trying to enhance my pullback criteria. I would like it to be a range of daily bars say....3-8 bars that pull back to a rising 20ma.
Is there a simple way to do this. I have it set up for 3 bars, but I would like to see results that fall between 3 and 8 bars. So any pullback that is either 3 or 4 or 5 or 6 or 7 or 8 bars to the 20ma.
and [high < 1 day ago high]
and [1 day ago high < 2 day ago high]
and [2 day ago high < 3 day ago high]
and [sma(20,close) > 1 day ago sma(20,close)]