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?
Announcement
Collapse
No announcement yet.
Current or todays price
Collapse
X
-
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
Originally posted by kpmci View PostIn 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