I've coded a simple Pine Script chart, which just mimics the chart I already use in TradingView.
However, when I overlay mine, I notice that the Pine Script SMAs are behaving differently to the same ones on the existing chart.
They are created the same:
Pine Script:
sma250 = sma(close,250)
plot(sma250, color=color.red)
TV chart: sma250 using a source of Close, and the timeframe is the same as the chart.
But when I overlay it, my SMA is in a completely different place and the angle is different to the existing SMA. They all appear to be more reactive. Am I missing something?
Thanks.
