This script is intended to generate BUY signals during pullbacks in stocks which are in the midst of mid to long-term uptrends. The ideal timeframe is Daily.
Signals should be acted upon at or near the close, or at open next bar.
I use 2 simple moving averages (SMA1 and SMA2) to determine whether the stock is currently in an uptrend. The default parameters...