FX-ULTRA

FX-ULTRA

Slope Direction Line - Indicator for MT4

Smoothed MA slope with color flips, pullback timing and MTF filter - MT4.

Slope Direction Line - Simple trend flips (MT4)

Slope Direction Line (SDL) is a smoothed moving average that flips color and direction based on slope. It helps you stay on the right side of trend, time pullbacks, and trail stops cleanly on MetaTrader 4.

Overview

What it shows

  • Up color when slope is positive, down color when negative.
  • Flat segments warn about ranging conditions.
  • Optional arrows and alerts on color flip or slope cross.
  • Can act as a dynamic support or resistance.

Trade ideas

  1. Flip entry: enter in the direction of a fresh color flip when it aligns with structure.
  2. Pullback to line: buy pullbacks to or slightly through SDL in uptrends - sell in downtrends.
  3. Trailing stop: trail behind SDL or the most recent swing on the SDL side.
  4. Multi TF filter: require higher TF SDL to agree with lower TF signals.

Signals

Inputs that matter

  • Period and smoothing method used for the base MA.
  • Price source and shift (if available).
  • Alerts on flip, slope sign, and MTF confirmation.

Suggested usage

  • M5-M15: intraday trend filter and pullback timing.
  • M30-H4: swing continuation and management.
  • Daily+: bias map and regime filter.

Installation (MT4)

  1. Open MetaTrader 4 - File - Open Data Folder.
  2. Copy Slope Direction Line.ex4 to MQL4/Indicators.
  3. Restart MT4 or refresh Navigator and attach Slope Direction Line.
  4. Adjust inputs - OK.

FAQ

Does it repaint? No on closed bars; slope can evolve on the forming bar.
Use in EAs? Yes, via iCustom.
Markets? FX, indices, metals, crypto - anything on MT4.


Disclaimer: Always test on a demo first; risk management matters.