There are generally three points of interest when creating formulas for the Ichimoku Cloud indicator. You might want to create conditions based on 26 bars ago where Lagging Span is last plotted, you might want to create conditions based on the current bar where price history is last platted or you might want to create conditions for 26-bars in the future where Leading Span is last plotted.
The easiest of these to create conditions for is where price history is last plotted. This is because you can just click on Price History or the Ichimoku Cloud indicator and select Create Scan Condition to create most of the conditions you want want to create for the current bar.
Create Conditions from Your Chart
It is possible to create Condition Formulas for all three points of interest. In some cases you would just need formulas based on the values of the indicators for the bar of interest, but if you need to check for crossovers or if the particular indicator is moving up or down, then you would need to know the value of the indicator during the prior bar as well.
The last point where all six components exist is 26-bars ago where Lagging Span stops plotting.
Conversion (Tenkan-Sen) 26 bars ago:
(MAXH9.26 + MINL9.26) / 2
Base Line (Kijun-Sen) 26 bars ago:
(MAXH26.26 + MINL26.26) / 2
Lagging Span (Chikou Span) 26 bars ago:
C
Leading Span A (Senkou Span A) 26 bars ago:
(MAXH9.52 + MINL9.52 + MAXH26.52 + MINL26.52) / 4
Leading Span B (Senkou Span B) 26 bars ago:
(MAXH52.52 + MINL52.52) / 2
The values for the previous bar to use for crossover formulas would be for 27 bars ago.
Conversion (Tenkan-Sen) 27 bars ago:
(MAXH9.27 + MINL9.27) / 2
Base Line (Kijun-Sen) 27 bars ago:
(MAXH26.27 + MINL26.27) / 2
Lagging Span (Chikou Span) 27 bars ago:
C1
Leading Span A (Senkou Span A) 27 bars ago:
(MAXH9.53 + MINL9.53 + MAXH26.53 + MINL26.53) / 4
Leading Span B (Senkou Span B) 27 bars ago:
(MAXH52.53 + MINL52.53) / 2
There are still five components available at the current bar where price is most recently plotted.
Conversion (Tenkan-Sen):
(MAXH9 + MINL9) / 2
Base Line (Kijun-Sen):
(MAXH26 + MINL26) / 2
Leading Span A (Senkou Span A):
(MAXH9.26 + MINL9.26 + MAXH26.26 + MINL26.26) / 4
Leading Span B (Senkou Span B):
(MAXH52.26 + MINL52.26) / 2
These five components one bar ago to use for crossover formulas would be:
Conversion (Tenkan-Sen) 1 Bar Ago:
(MAXH9.1 + MINL9.1) / 2
Base Line (Kijun-Sen) 1 Bar Ago:
(MAXH26.1 + MINL26.1) / 2
Leading Span A (Senkou Span A) 1 Bar Ago:
(MAXH9.27 + MINL9.27 + MAXH26.27 + MINL26.27) / 4
Leading Span B (Senkou Span B) 1 Bar Ago:
(MAXH52.27 + MINL52.27) / 2
But there are only two components left at the point where Leading Span stops plotting 26 bars in the future.
Leading Span A (Senkou Span A) 26 bars ahead:
(MAXH9 + MINL9 + MAXH26 + MINL26) / 4
Leading Span B (Senkou Span B) 26 bars ahead:
(MAXH52 + MINL52) / 2
These two values from the previous bar would be 25 bars in the future.
Leading Span A (Senkou Span A) 25 bars ahead:
(MAXH9.1 + MINL9.1 + MAXH26.1 + MINL26.1) / 4
Leading Span B (Senkou Span B) 25 bars ahead:
(MAXH52.1 + MINL52.1) / 2
-Bruce Personal Criteria Formulas TC2000 Support Articles
|