Range or Trend Detector
- Indicatori
-
Daniel Oladipupo Anjorin
I develop custom MetaTrader 5 Expert Advisors, indicators, scripts and trading automation tools in MQL5, and I test them properly before you risk money.
DEVELOPMENT
• Custom MT5 Expert Advisors built from your rules
• Indicator-based and session/breakout systems - Versione: 1.2
Most traders don't have a rule for a sideways market. They decide in the moment, and the answer changes every day.
Range or Trend Detector gives you one simple, fixed rule on every chart:
- A big label: RANGING, TRENDING UP or TRENDING DOWN
- A box drawn around every sideways range, so you can see its high and low
- The current range high and low, and the time the state started
- Closed bars only: it does not repaint
- Works on any symbol and any timeframe: gold, forex, indices, crypto
How it works
The Choppiness Index over the last 20 bars. At 61.8 or above the market is ranging. At 38.2 or below it is trending. In between, the indicator keeps its current state, so the label does not flicker on every candle. Every level can be changed in the inputs.
What it is not
It is not a buy/sell signal and it does not predict the next move. It tells you, with a fixed rule, what the market has been doing. What you do with that is your plan.
Inputs
Lookback bars, range level, trend level, label corner and size, range boxes on/off, box fill, number of boxes, colors.
For EA builders
Buffer 0 = state (1 up, -1 down, 0 range). Buffer 1 = Choppiness value. Read them with iCustom.
Want alerts, breakout arrows and a multi-symbol dashboard? See Range or Trend Detector Pro: https://www.mql5.com/en/market/product/208862
Range or Trend Detector gives you one simple, fixed rule on every chart:
- A big label: RANGING, TRENDING UP or TRENDING DOWN
- A box drawn around every sideways range, so you can see its high and low
- The current range high and low, and the time the state started
- Closed bars only: it does not repaint
- Works on any symbol and any timeframe: gold, forex, indices, crypto
How it works
The Choppiness Index over the last 20 bars. At 61.8 or above the market is ranging. At 38.2 or below it is trending. In between, the indicator keeps its current state, so the label does not flicker on every candle. Every level can be changed in the inputs.
What it is not
It is not a buy/sell signal and it does not predict the next move. It tells you, with a fixed rule, what the market has been doing. What you do with that is your plan.
Inputs
Lookback bars, range level, trend level, label corner and size, range boxes on/off, box fill, number of boxes, colors.
For EA builders
Buffer 0 = state (1 up, -1 down, 0 range). Buffer 1 = Choppiness value. Read them with iCustom.
Want alerts, breakout arrows and a multi-symbol dashboard? See Range or Trend Detector Pro: https://www.mql5.com/en/market/product/208862
