@pippopippo69, I did not use the previous candles OHLC4, (ohlc4[1])
so you are probably right. Copy the script, and where ever you see a "p" then change it to a "p[1]"
that should reduce repainting
SeaSide420
⋅
@SeaSide420, ah dammit, the comment thing wont allow the code,
get the p and put 'square bracket' with 1 inside them after p
p [ 1 ]
SeaSide420
⋅
@SeaSide420, p(1) like that but with square brackets
SeaSide420
⋅
@SeaSide420, by the way, just because on here at Tradingview pinescript backtester it has repaint, does not mean it doesnt work as a bot, which paints nothing, only opens and close orders. Soon I will have made a bunch of API bots for use on crypto exchanges. Already have a bunch for MT4
SeaSide420
⋅
@SeaSide420, where there is already a p(1) , make it a p(2) use square brackets not normal brackets [ ( )