Relative Content

Tag Archive for pine-script-v5tradingview-api

candle counter in Tradingview

i want to make a counter that can count how many 1 minuttes candles been printet i tradingview since yesterday 23:00. I have tried to get help from ChatGPT, but NO luck ?
I hope someone here can help me.
Thanks.
Br mike-kaast

PineScript V5 – Basic Script Repaint problem

I have a pretty basic code that long above SMA200, and short below SMA200, with take profit and stop loss function. It runs fine, but when I want to set an alarm, TV said it uses repaint data, could you please point out where the problem is? TIA