You can not call on future bars that do not exist.
This is a real shame, Because it would be VERY handy.
Example:
The basic stock goes upto bar 200.
And you have a (related) artificial ticker calculated with future
data. (Say, calculated in excel and imported into AB).
The artificial ticker goes to bar 250.
Unfortunatly, you can NOT select your basic stock and be able to "see"
any of the artificial tickers "Future" data.
You are limited to the last bar of the selected stock. Unless you import
"Fake" empty data into every stock. (Which is realy a bad idea)
Anyway, There is small functionality in the ShiftX and Ref() functions.
And here is an example of how you can shift the prices back then calc
and display a MA into the 'future'. (It's not actualy a 'future' bar,
It's just the current bar with the prices shifted back).
All the best,
Michael.
angus_83210 wrote:
>
> Is there a way to draw an indicator 2 to 3 bars into the future with
> amibroker? I have an indicator that I would like to draw 1- 3 bars
> into the future on the price chart.
>
> Thanks
>
> Robert
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/