Banana Patterns
The three Banana patterns — B1, B2, and B3 — are variations of the core impulse-pullback structure. Each captures a slightly different market fingerprint. All three can be toggled independently via the Use B1, Use B2, Use B3 inputs.
B1 — Classic continuation
B1 is the primary Banana setup. It identifies a clear impulse away from a swing point, a controlled pullback that respects the structure, and a signal bar that closes in the continuation direction.
BUY example:
- Price makes a swing low, then rallies sharply (impulse up).
- Pullback retraces partially without breaching the swing low.
- Signal bar closes above the midpoint of the pullback range.
- EMA filters (if enabled) confirm upward trend alignment.
SELL: mirror image of the above.
Entry is placed as a buy stop above the signal bar high + Buy Buffer pips. Stop loss is placed below the signal bar low, or calculated from ATR / candle range depending on SL Method.
B2 — Extended pullback
B2 accepts a deeper pullback than B1. It targets situations where price retraces more significantly before continuing — common in lower-momentum environments or on higher timeframes.
Use B2 when backtesting shows the market regularly retraces further before resuming, or to complement B1 coverage on choppy pairs.
B3 — Shallow pullback / momentum
B3 targets a shallower, faster pullback — a momentum continuation where price barely pauses before resuming. These signals tend to have tighter natural stop losses.
Use B3 on high-momentum pairs or timeframes where price resumes quickly after a brief pause.
Enabling and disabling patterns
Use B1 Buy/Sell → true / false
Use B2 Buy/Sell → true / false
Use B3 Buy/Sell → true / false
You can mix patterns. For example, running only B1 gives the most selective entry filter; running all three gives maximum signal frequency.
Visual confirmation on the chart
When Historical Signal Depth (MaxBarsToPlot) is greater than 0, the EA draws arrows on the chart for historical signals:
- Blue arrow (↑) — BUY signal detected on that closed bar
- Red arrow (↓) — SELL signal detected on that closed bar
Arrow positions appear at the open of the bar after the signal bar, offset by Arrow Offset (pips). They mark where the signal was detected, not necessarily where an order was placed (a filter may have blocked the trade).