PureBytes Links
Trading Reference Links
|
Hi,
What is wrong in the following formula?
barhh1 = HHVBars( High, Periods ) ; bi1 = BarIndex() ; y11 = LinearReg( C, barhh ) ;
y01 = LinRegIntercept( C, barhh ) ; sl1 = LineArray( bi1-barhh1+0, y01, bi1, y11, 0, True );
Thanks,
Louis
p.s. There was "Selectedvalue" in the first four lines but I don't want to plot it on the chart based on where I am on that chart, but simply set the variable so I can use the stuff later.
__._,_.___
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|