Can you explain basically how to use Renko and Range charts for backtesting?

Created at 25 Mar 2023, 00:13
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AC

acrigney

Joined 25.05.2017

Can you explain basically how to use Renko and Range charts for backtesting?
25 Mar 2023, 00:13


I think you have to use the OnTick() method but there are no RenkoBars built in so do you just use Bars?


@acrigney
Replies

PanagiotisChar
27 Mar 2023, 11:04

Hi there,

OnBar() works for Renko and Range bars too.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

acrigney
28 Mar 2023, 15:16

RE:

So in the OnBars or OnTicks functions I could use any of these? where the DataSeries are the Renko values i.e irrespective of time.

DataSeries HighPrices { get; }
       .
        DataSeries OpenPrices { get; }
        //
        // Summary:
        //     Gets the Weighted prices data (High + Low + 2 * Close) / 4.
        DataSeries WeightedPrices { get; }
        //
        // Summary:
        //     Gets the Low price bars data.
        DataSeries LowPrices { get; }
        //
        // Summary:
        //     Gets the Close price bars data.
        DataSeries ClosePrices { get; }
        //
        // Summary:
        //     Gets the Tick volumes data.
        DataSeries TickVolumes { get; }
        //
        // Summary:
        //     Gets the Median prices data (High + Low) / 2.
        DataSeries MedianPrices { get; }
        //
        // Summary:
        //     Gets the Typical prices data (High + Low + Close) / 2.
        DataSeries TypicalPrices { get; }

 

PanagiotisChar said:

Hi there,

OnBar() works for Renko and Range bars too.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 


@acrigney