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

[amibroker] Trendline Studies



PureBytes Links

Trading Reference Links





My first attempt at creating a line study was not very 
good..
Used the  code below to find cross of Low Price and 
Trendline (see attachment) with exploration.
AA Settings for 10 days of exploration
Line #1 - Did not detect the cross for Line<FONT 
size=2> #1.
Line#2 - Detected the cross, but gave the wrong date. The date 
detected was 2/28 (as printed in exploration). The date on the chart is 
2/27.
(Tried changing the line position so it would cross on various 
dates. Can not detect a cross for any point prior to 2/27).
 
Anyone else having problems with line studies?
Ara
 
Short = <FONT 
color=#0000ff>Cross(Low,Study(<FONT 
color=#ff00ff>"UP"));
Filter = Short;
AddColumn(<FONT 
face="Times New Roman">Close,<FONT 
face="Courier New" color=#ff00ff>"<FONT face="Times New Roman" 
color=#ff00ff>Close"<FONT 
face="Courier New" size=1>);
<FONT 
size=2> 






Yahoo! Groups Sponsor


  ADVERTISEMENT  









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 the Yahoo! Terms of Service.



Attachment:
Line Study.xls

Attachment: Description: "Description: MS-Excel spreadsheet"