Tony,
You can plot any segment you want. Use
Start = LastValue(BarIndex())
-24;
Range = iif(BarIndex() >
LastValue(BarIndex()) - Start,1,0);
Plot(iif(Range *
MyIndicator,color....)
This will always plot last 24 bars
----- Original Message -----
Sent: Saturday, July 23, 2005 10:28
AM
Subject: [amibroker] Linear Regression
Channel
HI all, Is there a way to automaticallly tell AB to plot the
linear regression channel based on the period amount? For example, I
have a 23 period linear regression and would like the charts to be from the
last 24th bar until the current bar + 1. In other words, this is like
doing a zoom range in each chart but automated. I have provided a screenshot
of what it should look like.
thanks
tony qitrader
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|