[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Two lines with the same Study ID - help needed



PureBytes Links

Trading Reference Links

Line=Study( "SU",GetChartID());
if((Line>Status("axisminy") ) && (Line<Status("axismmaxy") )){
	// do whatever i got to do
}
else{
	PopupWindow("study out of scope" ,"wARNING");
}

--- In amibroker@xxxxxxxxxxxxxxx, "murthysuresh" <money@xxx> wrote:
>
> i am chasing the same prob. my intial thinking is to grab the Y 
axis 
> value thro status and see if the study has values that is not 
within 
> the y axis. then there is a error. however if u have 2 studies in 
> scope of the screen with duplicate ids, i dont think it will work 
but 
> alteast u can see it visually.
> --- In amibroker@xxxxxxxxxxxxxxx, "treatmentinprogress" 
> <brian5545@> wrote:
> >
> > Let me re-phrase
> > 
> > I draw two horizontal lines on a chart. Using params window I 
> assign 
> > the same study ID name to both.  Is there a way to catch this 
error 
> > in AFL?
> > 
> > Brian
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "treatmentinprogress" 
> > <brian5545@> wrote:
> > >
> > > If you draw a trendline on a chart and use something like Line 
= 
> > Study
> > > ("AA", GetChartID()) to get the value of the line, then draw 
> > another 
> > > line (by mistake becasue the first line is off the viewable 
> area), 
> > is 
> > > there any way to determine this potential error?  
> > > 
> > > Amibroker seems to use the value from the first line drawn.  I 
> > need to 
> > > be able to determine that there is a second line with the same 
> > StudyID 
> > > name.
> > > 
> > > Another Brian
> > > blog.tipster.ca
> > >
> >
>



------------------------------------

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
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/