When I plot symbols with EOD data like for example the QQQ, as the normal they only load data until the previous market close, and what I need is a way to “auto-extend” the plot of the last quote that a symbol with no real-time data showed in the chart, in order to have that last price level extended to the current chart time, and in this way those symbols are shown aligned with the rest of symbols that do have real-time data. And for example in the cases of weekends where all the markets are closed I think this just could simply show a 0-extension, when no needed like these special cases.
I need this in 2 scenarios:
#1. In a simple way in a chart as a standard plot directly from the Data Series. Ideally just going to Data Series, choosing the extra symbol needed with EOD data and then the way to auto-extend the plot.
#2. The second scenario is to have a way to do this into a script that creates something like “custom” plots. Of course, this unless NT8 has a kind of built-in way to extend the plots for the point #1 here, because if NT8 has that kind of easy built-in feature to do this then maybe this 2nd process wouldn’t be necessary. You would let me know. But if no, then maybe this point could be done with a code portion I could add to ‘Values[0][0]’ at the moment to work the plot part in the script, or any suggestion you could provide. For this point #2, maybe you could have a script example that shows how to work this what I need.
I attached 2 pictures to visually see a kind of example about the result I’m looking for.
Thank you!

Comment