This sucks: for each new candle that appears you must use the settings gear to set "last_candle_on_chart" to match the highest 'n' on the bottom graph. When buying, set "buy_in_candle" to the "n" of the candle you bought at.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.