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

RE: [amibroker] Some Help



PureBytes Links

Trading Reference Links

In my code just remove the "lastvalue in 2 lines to get a complete chart of
Sup/Res levels 
ResBase = /*LastValue*/(Peak(Base,Percent,i));
SupBase = /*LastValue*/(Trough(Base,Percent,i));

You can also change the number of most recent lines that are shown at the
end of the chart (but keep the LastValue in place above)
NumLine = 1; //change this for the number of levels at the end of the chart

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: aff392 [mailto:aff392@xxxxxxxxxxx] 
Sent: Wednesday, 28 May 2003 6:45 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Some Help

Please.  I can follow and write simple AFL code but can 
not follow such outstanding pattern detection AFL codes such as 
Dimitris Tsokakis's  
Pattern Recognition Exploration and Indicator Builder 
http://www.amibroker.com/library/detail.php?id=105

and Thomas Zmuck's Trend and Pattern Detection code
http://www.amibroker.com/library/detail.php?id=210

also Graham Kavanagh's Support and resistance levels using RSI
http://www.amibroker.com/library/detail.php?id=282

Each of these IB/Explores use the latest date in AB's data base to
produce their pattern in Indicator Builder.  I wonder if their is a 
easy way to off set the date via Param so that one could study and 
see how the patterns function throughout the stocks entire time 
frame.  Again, the key would be a generic easy way for a greenhorn.

I tried to force the latest date to previous time frames using 
Datenum() and the Ref() commands such as placing 

DateNum()==Ref(DateNum(),-5); 

at the begining of the AFL codes, but this had no effect on IB plot 
functions in trying to displace the time frame.

Any help or direction to a non programmer would be appreciated.

TIA
Art



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 ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/CNxFAA/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/