I want to knoe codes for testing renko

actually i want the code for the renko charts that what should i enter in the parameter of renko brick like 7 points renko 12 points or i like to backtest with the best optimisation.

the one ques which has been answered above whose code is

Buy Script


Sell Script


this code is not ok..as it will only give a buy signal when the last candle is green..

you can not backtest the renko in Pi, as candle stick charts are by default, you can create expert advisor and can apply in renko,

yes i know…ill backtest in any other software like ami or metastock. than will make a expert advisor in pi.
help me with the code if possible,