Definition and Purpose:
SenkouSpanB is a component of the Ichimoku Kinko Hyo indicator, specifically forming part of the “cloud” or “Kumo”. It represents the mid to long-term market projection and is calculated as the average of the highest and lowest prices over the past 52 periods. This value is then plotted 26 periods ahead of the current period, indicating future support or resistance levels.
SenkouSpanB[9,26,52]
To calculate and plot the SenkouSpanB line in a ProBuilder script, you can use the following code snippet:
mySenkouSpanB = SenkouSpanB[9,26,52]
RETURN mySenkouSpanB as "Senkou Span B"
This example demonstrates how to calculate the SenkouSpanB using the default parameters and then plot it on a chart with the label “Senkou Span B”.
Understanding the role of Senkou Span B within the Ichimoku Kinko Hyo framework is essential for interpreting its signals accurately, especially in conjunction with the other components of the indicator.