I am new to pine scripting, but I do have some programming experience.
I created a strategy using Pine's built in Renko ticker and some other conditions.
The back testing looked fine. Deployed it live with a small fund to test it out.
During the live deployment I noticed the strategy would indicate a LONG on some day and a few days later the LONG will update to a SHORT.
I noticed that the Renko plot changes after a few days of new candle are plotted.
Basically the Renko plot of today may update and change to a different value after a few days.
I have created a simple script to show this
Code: Select all
//@version=5
strategy(title="Renko Test", overlay=true)
renko_tickerid = ticker.renko(syminfo.tickerid, "Traditional", 5)
[renko_open, renko_high, renko_low, renko_close] = request.security(renko_tickerid, timeframe.period, [open, high, low, close])
plot(renko_low, color = #ffffff, linewidth=1, title="Renko")
Screenshot for reference - https://imgur.com/a/PZ6Dc9r
Not sure if this is a type of bar repainting?
Is this a know behavior?
If yes can some explain why and how this happens?
Thanks in advance for your support
Cheers
Gokkul