FRAMA = Fractal Adaptive Moving Average
by John Ehlers, MESABasis of Theory:
Insight of Signal Sampling & Signal Processing
(approximating price patterns to cyclic, repeatable 1D or 2D non-linear functions / signals)
FRAMA theory :
The "weight or exponent" of a MA, DYNAMICALLY ADAPTS EVERY DAY, by a FACTOR "D" (Fractal Dimension),
D = Defines the "most possible" DIMENSION of the FRACTAL (1d or 2D, or in between! ) that the current trend is developing into ....
Basic Maths of EMA :
EMA = EMA(1) + α * (Close – EMA(1))
But Alpha in an EMA is α = 2 / (N + 1) so it remains constant
FRAMA
For the FRAMA α = EXP(W*(D – 1)) making it adapt as the Fractal Dimension changes.
http://etfhq.com/blog/2010/09/30/fractal-adaptive-moving-average-frama/
http://www.mesasoftware.com/aboutjohnehlers.htm - John Ehlers
FRAMA TEST RESULTS (vis a vi EMA / SMA) :
The FRAMA is astoundingly effective as both a fast and a slow moving average and will outperform any SMA or EMA.
We selected a modified FRAMA with a “FC” of 4, a “SC” of 300 and a “FRAMA” period of 126 as being the most effective fast FRAMA although the settings for a standard FRAMA will also produce excellent results.
For a slower or longer term average the best results are likely to come from a “FC” of 40, a “SC” of 250 and a “FRAMA” period of 252.
__________________________________________________________________________
The Mathematically / Programming, inclined are urged to explore ANN (Neural Networks) to MAs . FRAMA & Neural Networks have the same Logical basis ...
SIGNALS REPEAT OVER TIME & CAN A COMPUTER CAN BE TRAINED TO IDENTIFY THEM !
MASTER THE MATHS & EXPERIENCE THE POWER OF ALGORITHMIC TRADING :-)
cheers
SMO
dear SMO ji ,
ReplyDeleteI started following your thread .. thx once again for providing assistance..
Today article FRAMA is intresting.. i will work on the formula in this weekend .. but requesting you to pls eloborate what is FC and SC if u have time
thx once again..
rahgu
Dear Sohan,
ReplyDeleteThese are components that describe PRESENT TREND (D) ...
Pls read thru the links, u will come to know of the entire formula for finding out "D" :-)
The FRAMA Algo is available in pdf @ the following link...
ReplyDeletehttp://www.mesasoftware.com/Papers/FRAMA.pdf
A comprehensive list of papers on Fourier Transforms & other Trading Algos developed by John F. Ehlers
ReplyDeletehttp://www.mesasoftware.com/Papers/
Thanks Shriram Garu,
ReplyDeleteI have gone through the link and find out that the equation of "D" is more complex than what i initially thought..
Thx for the reply and have a nice day..
Raghu
Dear Sohan,
ReplyDeleteYes, to visualise Fractal dimension think of Stock Price chart as somewhere in-between a LINE & a SQUARE
When in TREND : It will be close to a LINE , hence defined in 1D
When OSCILALTING : it will occupy 2 Dimensions like a SQUARE, hence defined in 2D
Most of the time Stock price is like the Shore-line on a Beach.... its fractal dimension is Somewhere in between 1 & 2
Hope this helps u "see" price :-)
cheers
This comment has been removed by the author.
ReplyDeleteThanks for the link to my article SMO.
ReplyDeleteCheers
Derry
Hey Derry: Most welcome, no sweat :-)
ReplyDeleteU deserve credit for putting out ur findings on the various new TA algorithms, and spreading awareness on the splendid works of the extra-ordinary JOHN F. EHLERS.
We need to stay on the cutting edge TA, to win the price-war & ur doing a fantastic job @ helping towards it !
keep in touch :-)
cheers