I am recieving these errors when trying to compile the renko consolidator script from
https://github.com/QuantConnect/Lean/blob/master/Algorithm.CSharp/RenkoConsolidatorAlgorithm.cs
46 | 15:23:23:
47 | 15:23:23:
Build Error: File: Main.cs Line:61 Column:109 - The name 'x' does not exist in the current context
Any help would be appreciated.
Thank you
Barrie
Douglas Stridsberg
Hi Barrie,
Just remove the parts that are not critical to the algorithm running, i.e. everything after the HandleRenko7Bar() function (i.e. everything after line 103). These are just included for unit testing in the local LEAN version.
Barrie Leonard
Hi Douglas,
I done that and it still seems to be producing the errors.
Line 45 doesnt seem to want to pick up the 2.5m or 7m correctly, maybe that is why the x does not exist.
Line 15 seems in line with the GitHub code.
Any thoughts?
Barrie Leonard
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!