Opens in a new tab
BrainTrend1Sig Indicator MT4

BrainTrend1Sig Indicator MT4

BrainTrend1Sig is a free, instant-download MT4 arrow indicator from BrainTrading Inc.'s System 7.0, built to mark reversal entries with a built-in stop-loss reference price baked right into each arrow. It's the signal companion to the BrainTrend1 trend line, plotting the actual entry points rather than the trend itself. The Logic Behind the Arrows The indicator…

Download the BrainTrend1Sig Indicator MT4

BrainTrend1Sig is a free, instant-download MT4 arrow indicator from BrainTrading Inc.’s System 7.0, built to mark reversal entries with a built-in stop-loss reference price baked right into each arrow. It’s the signal companion to the BrainTrend1 trend line, plotting the actual entry points rather than the trend itself.

The Logic Behind the Arrows

The indicator combines a Stochastic Oscillator with an ATR-based volatility filter. For each bar it pulls iStochastic(NULL, 0, 9, 9, 1, 0, 0, 0, shift) (9-period %K, 9-period %D, slowing 1) and iATR(NULL, 0, 7, shift), then checks two conditions before it will plot anything:

  • Sell condition: Stochastic drops below 47, AND the 2-bar price displacement |Close[shift] - Close[shift+2]| exceeds ATR(7) / 2.3, AND the indicator isn’t already in a “sell” state. When true, it plots a red arrow at High[shift] + ATR(7) * 1.5 / 4 and switches its internal state to sell.
  • Buy condition: Stochastic rises above 53, AND the same volatility displacement filter passes, AND the indicator isn’t already in a “buy” state. It plots a blue arrow at Low[shift] - ATR(7) * 1.5 / 4 and switches state to buy.

That alternating state means the indicator will never print two same-direction arrows back to back without an opposite signal firing in between — it’s designed to mark discrete flips, not repeated confirmation.

How to Read and Use It

A red arrow sits just above the bar’s high and represents a sell/short signal, with the arrow’s own price level doubling as a natural stop-loss reference. A blue arrow sits just below the bar’s low and represents a buy/long signal, with its price level serving the same stop-loss role. The 2-bar displacement-vs-ATR filter exists specifically to keep the Stochastic crossovers from firing in quiet, low-volatility conditions where a 47/53 crossing wouldn’t mean much.

If EnableAlerts is switched on, the indicator fires an Alert() pop-up the moment a new signal prints, stating the symbol, timeframe, direction, and the calculated stop price — useful for traders who don’t want to babysit the chart.

Why the Volatility Filter Matters

Stochastic crossovers of 47/53 on their own would fire constantly in any ranging market, throwing off far more noise than usable signal. The |Close[shift] - Close[shift+2]| > ATR(7) / 2.3 check exists specifically to suppress that noise: it requires price to have already moved a meaningful distance relative to recent volatility before a crossover is allowed to count. In practice this means BrainTrend1Sig tends to stay quiet during tight, low-range consolidation and only wakes up once the market has shown some real follow-through, which is part of why it’s associated with trend-continuation and trend-exhaustion turning points rather than every minor oscillation.

Input Parameters

  • NumBars (default 500) — how many bars back the indicator recalculates its Stochastic/ATR signal logic each tick.
  • EnableAlerts (default 0) — set to 1 to trigger a popup Alert() whenever a new buy or sell arrow prints.
  • SignalID (default 0) — declared as an input but not referenced anywhere else in the code; changing it has no effect on the indicator’s output or alerts in this version.

Repaint Behavior

BrainTrend1Sig does not repaint on closed bars. Every tick, the loop re-walks the full NumBars window, but its internal state flag always restarts at zero and the underlying inputs — Stochastic and ATR readings, and Close prices — are only ever read from bars that have already closed (the comparison uses Close[shift] against Close[shift+2], both looking backward in time, never forward). Since the same closed-bar data always produces the same result, a signal that has printed on a closed bar stays put. The only value that can still move is the arrow associated with the current, still-forming bar, which is normal and expected until that bar closes.

Limitations

  • The full NumBars window is recalculated every tick instead of incrementally, which is inefficient (though it doesn’t change already-printed historical signals — see above).
  • The SignalID input has no functional effect anywhere in the code; it appears to be a leftover from a version meant to support multiple simultaneous instances.
  • The volatility displacement divisor (2.3) and the arrow offset multiplier (1.5/4) are hard-coded, not exposed as inputs, so they can’t be tuned without editing the source.
  • It’s purely a visual/alert signal generator — there’s no lot sizing, take-profit logic, or trade management built in.
Download the BrainTrend1Sig Indicator MT4
  • NumBars (default 500) — Number of historical bars the indicator recalculates its Stochastic/ATR signal logic over on each tick.
  • EnableAlerts (default 0) — Set to 1 to trigger a popup Alert() whenever a new buy or sell arrow is plotted.
  • SignalID (default 0) — Declared input with no effect in this code version; not referenced elsewhere in the script.

FAQs About the MT4 BrainTrend1Sig Indicator MT4

One Quick Step

Enter your name and email and check your inbox for the download link.