Precise backtesting on Renko charts

Questions about MultiCharts and user contributed studies.
shadrock55
Posts: 51
Joined: 24 Feb 2011
Location: Atlanta, GA
Has thanked: 5 times
Been thanked: 8 times

Precise backtesting on Renko charts

Postby shadrock55 » 28 Apr 2023

I have a Renko based strategy that I'd like to backtest using precise backtesting. I've read the wiki, but I need more assistance to make sure it trades the same as live testing.

I don't think I can build the Renko bars themselves on bid/ask and have the Renko bars build correctly. Wouldn't they be different based on the data series you use? Are there specific instructions anywhere on this topic?

https://www.multicharts.com/trading-sof ... acktesting

User avatar
Smoky
Posts: 517
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 99 times
Been thanked: 121 times

Re: Precise backtesting on Renko charts

Postby Smoky » 30 Apr 2023

Renko backtest can't be reliable because the start point of data series can change all signals !

maybe when MC dev team will make a fixe start level/price in parameters to have always same charting graph.

(UNDER REWEW) we have to wait .....

shadrock55
Posts: 51
Joined: 24 Feb 2011
Location: Atlanta, GA
Has thanked: 5 times
Been thanked: 8 times

Re: Precise backtesting on Renko charts

Postby shadrock55 » 01 May 2023

I think this should be possible.

Chart 1 is the Trade data series
Chart 2 is the Ask data series
Chart 3 is the Bid Data Series

My biggest problem is that I cannot find the bid and ask data series for ES. Doe anyone know where I can find that data? If I had it, I could run the test.

Gaempi
Posts: 60
Joined: 27 Jul 2010
Location: Switzerland
Has thanked: 3 times
Been thanked: 8 times

Re: Precise backtesting on Renko charts

Postby Gaempi » 02 May 2023

To Smoky:
"Renko backtest can't be reliable because the start point of data series can change all signals !"

That is not correct: i get all the same correct signals despite different starting points!

For backtesting strategies important is:

1. Use only closing prices, not bid or ask prices for strategies.
2. Use FlexRenko, Resolution: 1 up to 7 second (not minute resolution!!)
3. Use only "Show phantom bars" and no click on "New Bar when exceeded"

For no algo traders: You can use minute resolution to get good trading decisions.

[/quote]

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Precise backtesting on Renko charts

Postby TJ » 03 May 2023

This is a trial and tribulation every backtester must go through.

DonDuck
Posts: 7
Joined: 01 Apr 2021
Been thanked: 1 time

Re: Precise backtesting on Renko charts

Postby DonDuck » 13 May 2023

I think this should be possible.

Chart 1 is the Trade data series
Chart 2 is the Ask data series
Chart 3 is the Bid Data Series

My biggest problem is that I cannot find the bid and ask data series for ES. Doe anyone know where I can find that data? If I had it, I could run the test.
If I understand your question, you would access the data by using BarsOfData(2).Close for the Ask data and BarsOfData(3).Close for the bid. Also check the "Fields to Collect" setting for the instrument (e.g. ESM23) in Quote Manager to collect bid/ask data (assuming it is supported by your broker). (Right click on the instrument)


Return to “MultiCharts”