I'm developing an indicator based on SMA. My problem is when i plot it, the plot and arrows show up correctly on the 5 minute series, but if i change to say 15 minute series from the drop down, the arrows for my condition still looks back at my 5 minute data. how can i force it to use the 15 minute series or which ever i select from drop down?
attached is my code.
Comment