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

Re: [amibroker] Drawn Trendline crossover



PureBytes Links

Trading Reference Links

Hello,
 
Please read the documentation on Study
 
especially about CHARTID (second) parameter which you haven't supplied and that's why it can not work.
 
CHARTID - identifies the chart pane where the study was drawn - you can find out what is the chart ID for given chart by looking in Parameters dialog, Axes & Grid, Miscellaneous: Chart ID or using GetChartID() AFL function.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: amartinod
Sent: Sunday, November 27, 2005 10:11 AM
Subject: [amibroker] Drawn Trendline crossover

Hello,

 

Could make it work (detected by a scan)  :

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

 

1-       Draw manually a trendline on the price chart,

2-       Detect automatically a crossover of that trendline :

 

Buy = Cross(C, Study("RE") );

Sell = Cross(C, Study("SU"));

 

(RE ou SU = Trendline drawn by hand).

 

 

Could not make it work (not detected by a scan) :

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

1-       Draw manually a trendline on the indicator window,

2-       Detect automatically a crossover of that trendline :

 

Buy = Cross(CCI(14), Study("RE") );

Sell = Cross(CCI(14), Study("SU"));

 

Would appreciate any help to detect automatically a crossover of the drawn indicator trendline,

 

AL,



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
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS