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

[amibroker] Re: easy question



PureBytes Links

Trading Reference Links

Ref is a function, not an operator.
Functions need symbols, operators need simple signs.
If we replace the Ref(X,per) with (X,per) we should need an 
additional info for the meaning of the left parenthesis, combined 
with "," and "per" and right ")". It would be
*useless
*complicated
*confusing with other (X,smth) uses.
These are some reasons we need names for functions.
It would not be "simple" as you may think.
In the history of mathematics, we have some rare examples to erase 
the name of a procedure.
Here is the most interesting:
Einstein had a lot of troubles with summations, he was writing pages 
with simple, double or triple summations and he was fed up with the 
math symbol SIGMA. So, one sunny morning he decided to stop writing 
SIGMA, he invented the well known "Einsteinīs Summation Convention" 
and the scientific community accepted the formalism and Albert was 
happy, he was free from SIGMAs now !!
BTW, Ref() is of the most important AFL functions and, imo, the 
symbol is just fine.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "emptyhead_77" <gms_clan@xxxx> 
wrote:
> H<Ref(H,-1)means high is less than yesterday right?
> so Ref is a way of stating something right?
> why is it necessary why not H < (H,-1)?


------------------------ 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/mOAaAA/3exGAA/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/