| 
 PureBytes Links 
Trading Reference Links 
 | 
Thanks Graham.  Added chartID() and got it working.
Should the code also work in explore mode so we can do daily scan??
Thanks
Ara
----- Original Message ----- 
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, July 07, 2005 12:23 AM
Subject: Re: [amibroker] Line Studies
> checking the help screens
> study( STUDYID, CHARTID ) 
> so you need to add the chartID 
> again help screens
> 
> Note that study() function accepts two arguments: the first is StudyID
> two letter code that corresponds to one given in properites dialog;
> the second argument is chart ID - it should be taken either via
> GetChartID() function (then it refers to current indicator) or read
> from Parameter dialog, Axes & Grid: Miscellaneous: Chart ID.
> 
> 
> On 7/7/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
> > Just starting on line studies...
> >  
> > Code below was published some time ago ...don't know by who...
> >  
> > Can not get any results either with scan or exploration.
> >  
> > Have defined "RE" and "SU" studies on default layer.
> >  
> > Is it supposed to work from AA, within an indicator or both?
> >  
> > Anyone see a problem with the code?
> >  
> > Thanks
> >  
> > Ara
> >  
> > // File: EXP - Line Studies
> > // A scan will detect interaction with manually drawn trendline
> >  
> > Plot(Close,"",colorBlack,styleCandle);
> > Buy = 0;
> > 
> > L_UP = Cross(Study("RE"),Low);
> > L_ST = Cross(Study("SU"),Low);
> > 
> > Shape1 = IIf(L_UP,shapeDownArrow,shapeNone);
> > Shape2 = IIf(L_ST,shapeDownArrow,shapeNone);
> >  
> > PlotShapes(shape1,colorRed,0,H,-20); 
> > PlotShapes(shape2,colorYellow,0,H,-20 ); 
> > Filter = L_UP OR L_ST;
> > AddColumn(Close,"Close");
> > 
> > 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 
> > 
> >  Visit your group "amibroker" on the web.
> >   
> >  To unsubscribe from this group, send an email to:
> >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >   
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> >  To unsubscribe from this group, send an email to:
> >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >   
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> > ________________________________
> > 
> 
> 
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
> 
> 
> 
> 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
> 
> 
> 
>  
> 
> 
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |