Skip to content
All library documents

Kijun-Sen Calculation, Trend Coloring, and Alerts

Article MQL5 code base

Summary

This short description covers an alert-enabled Kijun-sen indicator from the Ichimoku system. It defines the line as the midpoint between the highest high and lowest low over a user-selected period. A candle crossing the line may suggest a change in trend; the indicator communicates its direction by coloring the line, with turquoise and orange used by default for rising and falling conditions. Users can set the calculation period and receive alerts when the trend changes or a new bar forms.

The material describes the indicator’s calculation and interface behavior, but gives no chart examples, trading rules, parameter guidance, or test results. A crossing is presented only as a possible trend-change clue, not a validated entry or exit signal. The description also does not specify how trend direction is determined in edge cases or whether alerts trigger intrabar or only after bar completion, so implementation details may matter when using it in an automated workflow.

Key ideas

  • Kijun-sen is calculated as the midpoint of the period's highest high and lowest low.
  • A candle crossing the line may indicate a trend change.
  • The line uses different colors to show its indicated direction.
  • Users can configure the period and alerts for trend changes or new bars.
  • The description includes no performance evidence or complete trading system.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.