Category "pinescript-v5"

Price crossing levels in both directions, in realtime bar, not activating subsequent alerts

My code is configured to initiate an alert whenever the current price crosses a predetermined buy/sell level. This part works. However, in certain time frames (

plotting Candles as Seconds Timefame/ Chart(TradingView/Pinescript)

is there a way to plot candles as Seconds Timeframe, without using a timeframe.isseconds. found a calculation but i cant plot candle on it. // calculate bar tim

Multi-TF Volume Table (Pine Script)

I'm making an indicator to calculate two EMAs, compare which one is greater, and then deliver the user a bias of bullish or bearish (by coloring the second row