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

Re: [amibroker] Trendlines



PureBytes Links

Trading Reference Links

Hello,

If you have multiple lines with the SAME identifier on single chart pane
only FIRST will be used by Study.

You should use different studyID's for multiple lines.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "acesheet" <acesheet@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, August 10, 2003 12:52 AM
Subject: [amibroker] Trendlines


> Can more than one trendline of each type (per stock analyzed) be 
> used in Scans, Explorations and Backtesting?
> 
> I've been messing around with the feature and I can't seem to get 
> AFL to recognize more than one trendline of each label type at a 
> time. 
> 
> For instance the following code would be a very simple trendline 
> break buy and sell system:
> 
> DTL=Study("DN");
> UTL=Study("UP");
> 
> Buy = Cross( High, DTL+.1 ); 
> Sell = Cross( UTL-.1, Low );
> Short=0;
> Cover=0;
> 
> I've drawn two trendlines on my chart that I labelled "DN" using 
> the "Properties" dialogue that pops up when you doubleclick a 
> trendline you've drawn. I also set two others up labelled "UP" to 
> give sell signals for the downtrend break signals.
> 
> When I run a scan or a backtest AFL only recognizes one set of 
> trendlines, but I've labelled them all.
> 
> Can someone explain what I'm doing wrong, or am I even doing 
> anything wrong?
> 
> Tnaks.
> 
> -ace
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/