The Fractal Adaptive Moving Average FRAMA was developed by John Ehlers.
The indicator is constructed on the EMA exponential moving average algorithm, with a smoothing factor calculated on the basis of the current fractal dimension of the price.
The advantage of the indicator is the ability to track strong trend movements and market consolidation moments.
Interpretation Trading Signals And Rules:
The interpretation of the indicator is identical to the interpretation of moving averages
_ The FRAMA line is relatively “flat” in periods of horizontal range trading. It could therefore be used to avoid many false signals when it is desired to use a technique of the crossing of moving averages.
_ The FRAMA line has a greater reactivity to changes in trends than moving averages, making it possible to take a much earlier position on a breakout of the horizontal channel.
//p = 20
For count=0 To len/2-1
If High[count] > mH Then
If Low[count] < L Then
For count=len/2 To len-1
If High[count] > HH Then
If Low[count] < LL Then
If N1 > 0 And N2 > 0 And N3 > 0 Then
If alpha < 0.01 Then
If alpha > 1 Then
If Barindex < len+1 Then
Return Filt as "FRAMA"
original code from gigi @ http://www.aktienboard.com/forum/f29/prorealtime-cmc-script-programmierung-t94783/215#post2035965
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :