ATR Values

There are times when the market is not very volatile and/or thinly traded. This can cause stochastics to not be as accurate as when the market is actively traded. To combat the issue of false signals that are caused by choppy trading, I have included an Average True Range threshold into the code for the divergences. What this means is that, if the ATR is not above the desired value, then divergence signals will not be shown. 

Leave a Reply

Close Menu