Renko Time - page 2

 

I don't understand what to write in the iCustom function instead of PERIOD_M2.

 

iCustom function runs on a bar shift and bars are related to time.

Renko is not.

So you have to discard time completely and also discard iCustom.

Whenever a new brick is created, you have to redraw the entire buffer + one new brick.

 
Alberto Tortella: I don't understand what to write in the iCustom function instead of PERIOD_M2.

There is no PERIOD_M2. You use what your offline generator set set to - symbol,2.