Ichimoku Trading System AFL Code

Ichimoku Cloud‘ is an all in one indicator in Technical Analysis which shows support/resistance, trend direction and momentum in the same chart. Ichimoku setup has 5 different elements which indicates different things. Goichi Hosoda, a Japanese journalist, who invented Ichimoku spent more than a decade to make it real perfect. This indicator is now considered as one of the most reliable setup in any technical chart. It is also known as “Ichimoku Kinko Hyo“, which translates into “one look equilibrium chart”. Let’s understand its 5 basic elements and explore Ichimoku Trading system AFL code.

Please visit Trading Tuitions Academy to learn AFL coding and create your own Trading systems.

Ichimoku Cloud Elements

Tenkan-sen (Conversion Line): (9-period high + 9-period low)/2))

Kijun-sen (Base Line): (26-period high + 26-period low)/2))

Senkou Span A (Leading Span A): (Conversion Line + Base Line)/2))

Senkou Span B (Leading Span B): (52-period high + 52-period low)/2))

Chikou Span (Lagging Span): Closing price plotted 26 days behind its actual

Ichimoku Trading System AFL Code

Download Ichimoku AFL code from here. It is actually a complete trading system in itself. It plots Ichimoku cloud as well as Buy/Sell signals in the chart. When the price is above cloud it indicates uptrend and the cloud color is green, while when the price is below cloud it indicates downtrend and cloud color is red. Few of the standard Ichimoku parameters are modified to avoid whipsaws.

Ichimoku Trading System AFL Code


All the AFL’s posted in this section are for learning purpose. Trading Tuitions does not necessarily own these AFL’s and we don’t have any intellectual property rights on them. We might copy useful AFL’s from public forums and post it in this section in a presentable format. The intent is not to copy anybody’s work but to share knowledge. If you find any misleading or non-reproducible content then please inform us at support@tradingtuitions.com

Related Posts


  1. Hi. What is condition to go long/short & to cover it? Is price goes above cloud or chuki also? And to cover, should span crossover? Kindly enlighten.

Leave a Reply

Your email address will not be published.