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

[amibroker] How does it work, revisited ...



PureBytes Links

Trading Reference Links

Someone I thought Tomasz stated that there were several functions or 
indicators call them what you will that were already set up as 
allowing variable periodicities.  The question I have is what are 
they calculating ?

If you plot this on any graph:

CUM1 = Cum(1);

EO   = IIf(int(CUM1 / 2) * 2 == Cum1, 3, 9);

Res3 = Sum(Cum1, 3);
Res9 = Sum(Cum1, 9);
ResX = Sum(Cum1, EO);

Plot(Res3, "3", colorWhite, styleLine | styleThick);
Plot(Res9, "9", colorWhite, styleLine | styleThick);
Plot(ResX, "X", colorRed,   styleLine | styleThick);

You get two white lines with a red line that bounces back and forth 
between them.  if you change the function from Sum to MA you get the 
same type of result, but if you change the function from Sum to LLV 
you do not get that result.  How does this calculate ?  What about 
the other ones that were supposed to allow varaible periodicity.




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