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

Re: [amibroker] Re: Simple Interval function programming.....



PureBytes Links

Trading Reference Links

On Sunday 25 May 2003 00:33, mleonsprint wrote:
> How am I putting that into a formula?

====================
Filter=1;
//AddColumn(O, "O", format=1.2);
//AddColumn(H, "H", format=1.2);
//AddColumn(L, "L", format=1.2);
//AddColumn(C, "C", format=1.2);
//AddColumn(V, "V", format=1.0);

TH=Interval();
AddColumn(TH, "TH", format=1.0);

rj15=IIf(TH=900,9,0);
AddColumn(rj15, "rj15", format=1.0);

rj30=IIf(TH=1800,18,rj15);
AddColumn(rj30, "rj30", format=1.0);

rj45=IIf(TH=2700,21,rj30);
AddColumn(rj45, "rj45", format=1.0);

Plot(rj45,"",colorRed,styleLine);
=======================

Copy it to Automatic Analysis, then Explore...

Good Night,
-- 
Marek Chlopek

------------------------ 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/