OPEN-SOURCE SCRIPT

IchiMAMA (Experimental)

Goichi Hosoda's "Ichimoku Kinkō Hyō" is a widely used Trend Following indicator and can be defined as a "system" rather than an indicator.

Published in the late 1960's, consisting of 5 lines.

TenkanSen (Conversion Line) = [Highest High + Lowest Low/2] of the last 9 bars
KijunSen (Base Line) = [Highest High + Lowest Low/2] of the last 26 bars
SenkouSpanA (Leading Span A) = Average of Tenkan&KijunSen shifted -> 26 bars
SenkouSpanB (Leading Span B) = [Highest High + Lowest Low/2] of the last 52 bars
ChikouSpan (Lagging Span) = Price shifted <- 26 bars

On the other hand, Mesa Adaptive Moving Average developed by John Ehlers around early 2000's shows similarities with Hosoda's Tenkan and KijunSen using a different calculation method. For futher info: mesasoftware.com/papers/MAMA.pdf

I find MAMA superior to TenkanSen and KijunSen in terms of crossing signals.

Ichimoku:
snapshot

Thus, decided to replace TenkanSen and KijunSen of regular Ichimoku with MAMA&FAMA of Ehlers and calculated SenkouSpanA accordingly. SenkouSpanB and ChikouSpan stays the same as per Ichimoku's logic. (Periods are 30 by default for cryptocurrencies. If stocks then 26)

IchiMAMA:
snapshot

This is purely experimental and educational. Hope you'll like it :)

I'd like to thank everget for MAMA&FAMA
and KivancOzbilgic for Ichimoku Kinkō Hyō and Volume Based Colored Bars


famaIchimoku CloudKaufman's Adaptive Moving Average (KAMA)MESA Adaptive Moving Average (MAMA)Trend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité