In script, when I use close or close(0), it uses previous day close for daily interval because today is not over( I suppose). How do I get the current price during the day trading times?
kpmci
close(0) returns the Close value of the bar currently being processed and not that of the prior bar.
If that is not what you are seeing then you should post the script (preferably accompanied by some image) that illustrates your point
Alex
In script, when I use close or close(0), it uses previous day close for daily interval because today is not over( I suppose). How do I get the current price during the day trading times?
Comment