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

[amibroker] Re: Newbee AFL question



PureBytes Links

Trading Reference Links

x=10;
CondH=H==HHV(H,x);
CondL=L==LLV(L,x);
The conditions are true or false, the CondH, CondL are equal to 0 or 1
[this is the numerical interpretation of true or false]
Note also that CondH, CondL are Arrays, they have a value everyday 
and may be plotted or used in AA.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "zimm630" <zim630@xxxx> wrote:
> I am attempting to write an indicator where one of the conditions 
> is: has this stock made a new low or new high today over X days. I 
> am looking for true or false, not a value.  If I say IIF (L<LLV
> (L,25) or if I use min I am returned a value. I believe the LLV 
also 
> contains todays data which would never make the statement true. Do 
I 
> need to create a loop for X days? Or is there an easy way? Any 
ideas?
> 
> Thanks in Advance for any help
> Bill


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