DislikedThanks very much for that lesson in coding. I have tried it and it compiles OK, however, since markets are closed can not test it till Sunday night. The Open function appeared in four places so i changed them all to 1. I hope my fellow traders appreciate the favours you do since it would have taken you a fraction of time to change the code rather than giving us instructions for doing it ourselves. I am much obliged.
You quite rightly point out that in a ranging markets 2 candles before works best. During my early twenties I used to frequent London...Ignored
As is, the 'pure' Renko trader gives back much of its profits before closing a trade following a candle reverse - you will see this on Monday even with the ability to play with the candle look back.
Not knowing much about Renko candles (let's face it, read back a few posts to establish that I knew nothing about them) I posted the bot with no expectation that it would arouse interest.
Now it has, I shall code a stop loss and take profit. Also, as astral says, mptm makes a very good trade manager in the absense of indigenous features.
We cannot backtest all this, so I will try to have it in place by market opening after the weekend.