I am new to QuantConnect. I normally use mql4 on mt4 and a little bit of C#.
I was just wondering is it possible to build an algorithm to trade directly off of the renko TradingView charts used in Oanda. Would you need to generate the renko within the script itself using a consolidator then trade off that ? Or could you just build an alogrithim to buy and sell based on OHLC then when backtested on the renko it picks up the OHLC of the renko bars ?
Thank youÂ
Barrie
Douglas Stridsberg
Hi Barrie,
There's an example algorithm using Renko consolidation in the repository, check it out!
I would recommend keeping the logic within your QC algorithm rather than trying to proxy/mimic another platform's behaviour.
Barrie Leonard
Hi Douglas,
Thank you for replying so quickly. You can't seem to paste into the code in the lab is there a way to import the github code into the lab ? (Still finding my way around the layout)
In relation to keeping the logic within the QC algorithm. I keep having a recurring issue even on MT4 that i am trying to mimic the Oanda renko chart. That it plots solid renko bars only after the chart time frame is up. Eg a 1 minute chart it plots shadow like renko bricks until the 1 minute is up and then they turn solid like normal. It seems to be a feature of renko unique to Oanda and TradingView as renko is normally time independent.
Is it possible to mimic this on QC ?
ThanksÂ
BarrieÂ
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!