The Hosoda Waves indicator was devised by Goichi Hosoda, the creator of the Ichimoku system, with the idea that previous highs and lows could determine future price ranges to which the market would react. Hosoda's projections include the NT, N, V, and E waves, derived from calculations based on both upward and downward ABC swings. The calculations for Hosoda's waves are as follows:
NT Wave = C + (C - A) N Wave = B + (B - A) V Wave = B + (B - C) E Wave = C + (B - A) This indicator visually represents the calculations by Hosoda. Additionally, Hosoda indicated time cycles: 9, 17, 26, 33, 42, 51, 65, 76, etc., which are not integrated into this indicator as they are not considered effective in contemporary times.
Once applied to the chart, the interactive Pine Script tool version 5 will prompt you to identify 3 points of "low-high-low" or "high-low-high," both for upward and downward movements. Once clicked, these price points can be moved. If you change the time frame or market instrument, the indicator must be removed because it remains tied to the prices where it was initially drawn.