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

Re: [amibroker] Hi



PureBytes Links

Trading Reference Links

The IIf is interpreted as
IIF(statement to be evaluated , result if evaluation is true, result if
evaluation is not true)
so
highm = IIF(H>Ref(H,-1),H-Ref(H,-1),0)
assigns the difference of today's high less yesterdays high to highm if
today's high is greater than yesterdays high.  If today's high is not a
higher high, the highm is assigned a value of 0.

----- Original Message -----
From: "warrenpeace2001" <warrenpeace2001@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, August 18, 2003 7:55 PM
Subject: [amibroker] Hi


| I'm thinking of changing my charting package but it means
| another "language" to learn.
|
| If I may ask...
| I came across this one to "de"cipher
|
| ** Tom Demark's DeMarker Indicator
| ** AFL Implementation by Tomasz Janeczko
| */
|
| highm = IIF( H > Ref( H, -1 ), H - Ref( H, - 1), 0 );
| lowm = IIF( L < Ref( L, -1 ), Ref( L, - 1 ) - L, 0 );
|
| DeMarker = 100 *  Sum( highm, 13 )/( Sum( lowm, 13 ) + Sum( highm,
| 13 ) );
|
| graph0 = DeMarker;
|
| I understand almost all of it...please bear with me
| highm = IIF( H > Ref( H, -1 ), H - Ref( H, - 1), 0 );
| in english...is it
|
| hignm = (Todays High > Yesterdays high), (Todays High - Yesterdays
| high),0;
|
| specifically, what do the 2 comma's mean
| and that final zero.
|
| Sorry if I appear weak on this but I am.
|
| THanks
|
|
|
|
| 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/