What Banana Indicator does
The Banana Indicator eliminates emotional guesswork by establishing an objective statistical corridor anchored to historical volatility. Rather than chasing extended moves, traders execute high-probability value pullbacks at the midline while protecting capital at outer extension boundaries.
Corridor Midline
Fair-value baseline anchored to a 20-period Exponential Moving Average (EMA).
Pullback Prompts
Mechanical value entries flagged strictly upon candle close.
Climax Boundaries
2.25x ATR outer containment bands identifying statistical exhaustion zones.
How to trade Banana Indicator
Wait for the corridor slope to establish
The midline slope defines the active regime: upward slope above 20 EMA for bullish continuation, downward slope below for bearish continuation.
Check the pullback containment channel
Price must retrace toward the midline within the 1.0x ATR inner corridor. Avoid trades if price is drifting sideways in low volatility.
Enter on confirmed prompt at bar close
Place your execution order strictly once the trigger candle closes. Intrabar fluctuations are ignored.
Manage risk with the trade ladder
Anchor Stop Loss to the preceding swing fractal. Target 1 banks partial profits at 1.0x ATR; Target 2 rides the trend runner to the 2.25x ATR boundary.
Prompts, not trade instructions. A SETUP READY prompt tells you to review the structure on a closed candle. It is never a command to enter blindly.
Setups and chart grammar
The Banana Indicator separates two distinct market regimes.
| Setup | Context | What the indicator sees | Goal |
|---|---|---|---|
| B1 / S1 — Corridor Pullback | Established trend | Price retraces into the 1.0x ATR value zone with sloping midline | Capture the next impulse leg with minimal risk |
| B2 / S2 — Climax Reversal Fade | Extended trend exhaustion | Price penetrates the 2.25x ATR outer boundary band | Fade extreme statistical extension back toward fair-value |
Pullback retracement contained within fair-value corridor.
Overextended climax or compressed sideways chop — stay out.
Bullish candle confirmation at corridor support.
Bearish candle confirmation at corridor resistance.
The Volatility Stretch Metric (E)
Stretch measures exact candle distance from fair-value midline normalized by ATR to classify extension degrees (D0 Normal to D3 Climax).
Stretch (E) = (Close − 20 EMA) / ATR(14) if |E| > 2.25 → D3 Bubble Climax (Fade Zone / No Breakout Entries)

Settings
| Input | Type | Default | What it does |
|---|---|---|---|
| Baseline Midline Length | Integer | 20 | Fair-value EMA lookback period. |
| Inner Corridor ATR Multiplier | Float | 1.0 | Normal pullback containment channel. |
| Outer Climax ATR Multiplier | Float | 2.25 | Statistical extension exhaustion band. |
| Strict Bar-Close Lock | Boolean | true | Eliminates intrabar repainting permanently. |
| Input | Type | Default | What it does |
|---|---|---|---|
| FastEMA | int | 13 | Short-term momentum tracking. |
| SlowEMA | int | 34 | Macro regime filter. |
| ATRPeriod | int | 14 | Dynamic volatility normalization. |
| InnerMultiplier | double | 1.0 | Inner pullback containment width. |
| OuterMultiplier | double | 2.25 | Outer climax containment width. |
| Input | Type | Default | What it does |
|---|---|---|---|
| FastEMA | int | 13 | Short-term momentum tracking. |
| SlowEMA | int | 34 | Macro regime filter. |
| ATRPeriod | int | 14 | Dynamic volatility normalization. |
Use it in your EA
On MetaTrader you can read the levels and setup state from an Expert Advisor with iCustom().
// MQL5 — read Banana Corridor state on completed bar close
int h = iCustom(_Symbol, _Period, "Banana_Indicator");
double v[];
CopyBuffer(h, 0, 1, 1, v); // Buffer 0 = Midline, Buffer 1 = Upper Band| Buffer | Name | Value |
|---|---|---|
| 0 | MidlineEMA | Active 20 EMA fair-value baseline price |
| 1 | UpperBand | 1.0x ATR inner corridor upper level |
| 2 | LowerBand | 1.0x ATR inner corridor lower level |
| 3 | SetupPrompt | 1.0 buy prompt, -1.0 sell prompt, 0.0 none |
Frequently asked questions
No. The indicator enforces a strict closed-bar execution invariant. Prompts and corridor levels are evaluated and plotted only after candle close, ensuring historical fidelity matches live execution.




