Back

Help with stochastic

Im trying to verify that my stochastic indicator is giving correct values, and it is not The price data is lining up correctly with my charts, which is reassuring, but the stochastic indicator is off so i feel i may have initialized it wrong. (yes, the stochastic periods im refrencing are the same). Would someone mind looking at how I set up my stochastic inidicator and see if there is someting that could be causing it to be off? Thank you very much for any and all help!

Update Backtest








you are searching for stochD & stochk

self.Log("{0}, {1}, {2}, {3}".format(str(STO), str(STO1), str(STO2), str(STO3)))

0


Thanks! Big help! But that is still giving me values that are slightly off what I expect to see. For example, the price period i am refrencing on the charts has a stochastic value of "12.06" and in the Log it reports it as "11.62". Very very close but not the same.

 Do you know where that discrepancy is coming from?

Michael Manus 

0

hmm no i am not the devloper. you have to ask the support@quantconnect.com

can you check maybe not the first values the algo is giving you.

can you check the values after some time if they get more accurate? (just an idea)

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