PureBytes Links
Trading Reference Links
|
Thanks but that does not make a difference as I already had that line
in my code.
--- In amibroker@xxxxxxxxxxxxxxx, Lal <klal25@xxx> wrote:
>
> Add this line at the start:
>
> SetBarsRequired(10000, 10000);
>
> Cheers,
> Lal
>
>
>
> ----- Original Message ----
> From: ozzyapeman <zoopfree@xxx>
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Monday, 13 October, 2008 21:18:10
> Subject: [amibroker] Re: PlotText problem when using SelectedValue
>
>
> Just corrected one careless error but it still does not work properly.
>
> I forgot to wrap the Low in a selectedvalue function. With that
corrected, the slope appears on the selected bar when I first apply
the indicator. But as soon as I select another bar, a new value does
not appear. And even if I go back to the original bar, no more values
of slopes are visible on screen:
>
>
> PlotText("Slope\ n" + NumToStr(SelectedVa lue(SlopeTest) ),
SelectedValue( BarIndex( )), SelectedValue( L), colorBlack);
>
>
>
> --- In amibroker@xxxxxxxxx ps.com, "ozzyapeman" <zoopfree@> wrote:
> >
> > I've used PlotText successfully before, but seem to have a problem
when
> > using it with SelectedValue. Hope someone can help.
> >
> > What I am trying to achieve is pretty simple - When I click on a
bar, I
> > want to see the value of the slope of the 10-period linear regression
> > line.
> >
> > This is what I have:
> >
> > SlopeTest = LinRegSlope( C, 10);
> >
> > PlotText( "Slope\n " + NumToStr( SelectedValue( SlopeTest ) ),
> > SelectedValue( BarIndex() ), L , colorBlack );
> >
> > I keep getting an error, "argument #3 has incorrect type..."
> >
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL 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
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|