Algo

This User’s Guide provides a comprehensive overview of the TradersAlly Bounce Trader Algo. This strategy is a multi-modal automated system designed for NinjaTrader 8, focusing on mean-reversion and trend-continuation "bounces" off various Exponential Moving Averages (EMAs).


1. Overview & Interface

The strategy features an on-chart overlay with manual override buttons:

  • Longs On/Off: Toggle to enable/disable buy signals.

  • Shorts On/Off: Toggle to enable/disable sell signals.

  • Close All: Instantly flattens the current position and cancels all working entry/exit orders for this strategy.


2. Global Trade & Money Management

These settings (found in 08. Trade Management) apply to almost all sub-strategies unless otherwise specified.

  • Trade Size: The number of contracts/shares per entry.

  • Daily SL Limit ($): The maximum dollar amount the strategy is allowed to lose in a single day before it stops trading.

  • Daily TP Limit ($): The profit goal in dollars. Once hit, the strategy stops for the day.

  • Stop Loss (Ticks): Your global protection. Most trades will use this value to set a Stop Market order.

  • Profit Target (Ticks): Your global reward. Most trades will use this to set a Limit order.

  • System Print / Daily PnL Prints: Enable these to see detailed logic logs in the NinjaTrader Output window.


3. Time Management

Found in 09. Time Management, these parameters control when the algorithm is "active."

  • Use Trade Time Filter: If True, the strategy will only enter new trades between the Start Time and End Time.

  • Start/End Time: Defined in HH:MM format (e.g., 08:35 to 15:00).


4. Sub-Strategy Breakdown

The Algo contains 9 distinct trading setups. You can toggle these on or off in the 01. Strategies section.

A. 34B (The Core Bounce)

This trades bounces off the Slow EMA (default 34).

  • Fast/Slow EMA Period: The moving averages used for the crossover/angulation (typically 8 and 34).

  • Angulation Filter: Requires the distance between the Fast and Slow EMA to be widening.

  • EMA Ang. X Bars Before: Ensures the trend was already established a few bars ago (Bars Before).

  • ABEMA34B (Ticks): Requires the price to close at least this many ticks away from the 34 EMA to confirm the bounce.

  • Limit Wicks Filter: A volatility filter. It calculates the sum of all wicks over the last Number of Bars. If the sum exceeds Cumulative Wicks, the trade is blocked (prevents entering in "choppy" price action).

  • Retracement Filters (3 or 5 Bar): Requires a specific number of consecutive bars moving against the trend before the bounce occurs.

B. 21B (The Intermediate Bounce)

A faster version of the 34B, looking for a bounce off the 21 EMA.

  • EMA Angulation 21B: Requires specific momentum between the 8 and 34 EMAs to justify a 21-period bounce.

C. 89B (The Deep Pullback)

Trades a bounce off the 89 EMA.

  • DForDW89 (Ticks): Minimum distance required between the 34 and 89 EMAs.

  • Double Wicks 89: If enabled, looks for two consecutive bars "wicking" off the 89 EMA for high-probability entries.

D. C34B (Compound 34/89 Bounce)

A specialized setup where price bounces off both the 34 and 89 EMAs simultaneously.

  • ABEMAC34B: The required close distance from the 34 EMA.

  • C34B Stoch Top/Bottom: Specific Stochastic levels required only for this compound trade.

E. 34R (Reversal Bounce)

Designed for trend continuations with a specific candle-wick reversal.

  • 34R Wick Size: Requires the signal bar to have a "rejection wick" of at least this size.

  • Distance to 89: Ensures the price is far enough away from the 89 EMA to allow room for profit.

F. Big EMA (200-Period)

Trades a major trend bounce off the Big EMA Period (default 200).

  • DFromBigEMA: Minimum distance the 34 EMA must be from the 200 EMA.

  • BETP / BESL: Note: This strategy uses its own unique Take Profit and Stop Loss values, independent of the global settings.

G. Candy Cane (Mean Reversion)

A reversal strategy that triggers near session extremes.

  • Wick Size: Requires a large rejection wick.

  • Margin Close: How far the price must close back inside the previous range.

  • Bounce off 4-day High/Low: It uses the CurrentDayOHL indicator to find significant multi-day levels.

H. 8B (Micro-Trend)

A very fast setup bouncing off the 8 EMA in a strong trending environment.

  • EMAAngulation 8B: Requires a very steep slope between the EMAs.

  • DistToOHL: Ensures the price is not too close to the session High/Low (avoiding "double top" exhaustion).

I. Bounce Runner (Crossover)

A momentum strategy triggered when the 8 EMA crosses the 34 EMA.

  • Magnet EMA Period: Uses a third EMA (default 89) as a "magnet" or trend direction filter.

  • BRTP / BRSL: Like the Big EMA, this setup uses its own independent Target and Stop settings.


5. Common Logic Filters

Found in 13. Common Settings, these can be toggled to apply across multiple setups:

  1. Stochastics Filter:

    • Uses Stoch Long Levels and Stoch Short Levels.

    • For Longs: The 'D' line must be within the specified range (usually between 15 and 85) to ensure the market isn't extremely overbought or oversold.

  2. Volume Filter:

    • Min Volume: The signal bar must have a volume higher than this value to ensure the move has institutional "backing."

  3. Margin to Swing H/L:

    • Margin To Swing (Ticks): Prevents entering a trade if the current price is too close to a recent Swing High or Swing Low, avoiding entry right into a potential resistance/support level.

  4. Distance to Session OHL:

    • Ensures the trade has "room to run" before hitting the day's Open, High, or Low.


6. Important Usage Notes

  • Calculated On Bar Close: Signals are evaluated and executed the moment a candle closes.

  • Unmanaged Orders: The strategy uses unmanaged order logic. If you manually move a Stop Loss on the chart, the strategy may lose track of that order. It is recommended to let the algorithm manage the exits.

  • Bars Required to Trade: The strategy requires at least 20 bars of data (or more depending on your EMA settings) before it will start looking for entries.

Last updated