Back

RSI and MACD indicators for Renko Bars

Hi ,

 

Are there anyway to add RSI and MACD to renko Bars?

Thanks

Update Backtest







Yes, the RenkoBar is an output from a data consolidator and has all the data necessary to create an indicator. The algorithm below shows a RenkoBar created, and then an indicator that receives its data from the RenkoBar. As seen from the algorithm, the indicators supported by QuantConnect can be added to consolidated trading bars by: self.RegisterIndicator(symbol, indicator, consolidatedbar). Note that the registering is what allows the indicator to update based on the trading bars.

1


Thanks Gurumeher,

And how can I access to recent value of registered indicator ? In the event handler ?

0

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