Tanholm, Regards Miłosz
You can draw a vertical line on future bars. All you need is to add (and properly adjust) the XShift parameter in plot(). XShift - allows to visually shift the chart past the last bar. In your case you can write:
XShift = 5; // for examplePlot( Thats_the_day, "", coloryellow, styleHistogram | styleOwnScale | styleNoLabel, Null, Null, XShift );
Drawing/Plotting is easy, but calculating how many bars will be added until a specified date in the future is reached is not that easy, because you have to take into account all non-trading days in the future.
Take a look at this:
http://www.amibroker.com/guide/afl/plot.html
__._,_.___
Posted by: milosz.mazurkiewicz@yahoo.com
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (7) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon