Ican't figure out why this simple HeikinAshi algo is not placing orders, please help. Thank you
QUANTCONNECT COMMUNITY
Ican't figure out why this simple HeikinAshi algo is not placing orders, please help. Thank you
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.
Vladimir
Zimman
I can't figure out why this simple HeikinAshi algo is not placing orders
There are several reasons:
1. For initialization of HeikinAshi on consolidated bar we recommend to use
               self.ha = HeikinAshi().
2. To retrieve self.ha elements in BarHandler() use not Value but Current.Value.
3. We need to know that default output self.ha.Current.Value is self.ha.Close.Current.Value.
4. We prefer to get 2 Hour bar by resampling from 120 Minute data bars.
Try this
If you are satisfied with my answer, please accept it and don't forget to like it.
Zimman
fantastic , thank you very muchÂ
Zimman
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!