Skip to content
All library documents

Float Indicator for Trend Turns and Fibonacci Retracement Levels

Article MQL5 code base

Summary

The Float indicator analyzes prior chart history to estimate the current trend situation for a currency pair. It marks the apparent beginning and end of trends in a separate chart window and shows Fibonacci retracement and DiNapoli levels on the main chart. It also reports how long ago local highs and lows occurred. A configurable lookback controls the trend analysis: fewer bars make the output more responsive but less precise, according to the description. Fibonacci levels can be enabled or disabled, and the volume input can use tick volume.

The key limitation is repainting: the indicator redraws on each bar, so historical signals may not match what would have been visible in real time. The document advises studying its behavior in the strategy tester before use. It provides no measured accuracy, trading rules, or performance results, and its trend and level outputs should therefore be treated as analytical aids requiring validation rather than established signals.

Key ideas

  • The indicator estimates trends from prior chart history and marks possible trend starts and ends.
  • It displays Fibonacci retracements and DiNapoli levels alongside local high and low timing information.
  • Reducing the analysis lookback makes the indicator more responsive but less precise.
  • The indicator redraws on each bar, which can make historical behavior differ from real-time signals.
  • The description recommends examining repainting behavior in a strategy tester before relying on it.

Tags

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