Back

ADX PositiveDirectionalIndex

Hello, Newbie here. I have been learning from a simple example of an RSI algorithm that I am changing to use ADX().
A question regarding the ADX PositiveDirectionalIndex calculation result which I've been struggling with. The ADX value returned agrees with other sources but when I look at the PositiveDirectionalIndex it shows a number that consistently does not match the DI+ results from other sources. e.g. 12 vs 32 DI+ index score AAPL on 3 Oct. Similar for NegativeDirectionalIndex. I have done quite a bit of searching in the community and I know lots of testing has been done on indicators so I assume it is my indicator syntax or usage or interpretation that is wrong. Any suggestions please?

p.s. apologies to support I think I posted my question in wrong place initially.

Update Backtest








Hi Peter Wright, we have found some issues in ADX, so we made a patch to fix it.
The computations now follow StockCharts.

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed