TradeSgnl Logo
Docs
Portal

Pyramid Trading

Master the art of scaling into winning positions with the TradeSgnl EA's advanced pyramid trading system.

Pyramid trading is a sophisticated position management strategy that allows you to automatically scale into trades as they move in your favor. The TradeSgnl EA's pyramid system groups trades by strategy (comment), manages them as unified positions, and exits them together when targets are reached.

Core Concepts


Strategy Grouping

All trades with identical comments are treated as a single strategy. The EA manages them collectively rather than individually, creating unified position management.

Level-Based Entries

Trades are organized into "levels" based on price movement. Each level can contain multiple trades with increasing position sizes as you move further from the initial entry.

Unified Exit Target

The entire strategy exits together when the combined weighted-average breakeven price plus target distance is reached, ensuring coordinated profit-taking.

Key Features:

  • Automatic TP Removal: When a second trade is added to a strategy, individual take-profits are removed and replaced with strategy-level targets

  • Weighted Breakeven: Target calculations use volume-weighted average prices, ensuring fair profit distribution

  • Level Progression: Each level can have different spacing, trade limits, and position sizes

  • Visual Management: Strategy target lines are displayed on charts for real-time monitoring

Activation & Setup


Pyramid trading can be controlled through three modes:

ModeDescriptionActivation Method
DisabledFeature completely disabled (default)No pyramid functionality available
EnabledAlways active using EA input settingsAll strategies automatically use pyramid settings
SignalControlled per-strategy via webhook signalsInclude "py" parameter in signal to enable for that strategy

Signal Mode Example: To enable pyramiding for a specific strategy when using Signal mode:

LicenseID,EURUSD,buy,risk=0.01,sl=50,tp=100,comment=TrendStrategy,py

The "py" parameter activates pyramid management for the "TrendStrategy" comment group. All subsequent trades with the same comment will be managed as a unified pyramid strategy.

Tip
When starting with pyramid trading, use Signal mode to selectively enable it for specific strategies while you learn how it behaves with different market conditions and trade setups.

Pyramid Management


The Pyramid Management section controls the overall strategy behavior - how trades are grouped, when they exit, and how profits are calculated. These settings determine the "big picture" behavior of your pyramid strategies.

Core Management Parameters
ParameterFunctionImpact
Pyramid ManagementMain control (Disabled/Enabled/Signal)Determines if and how pyramid features activate
Volume CalculationHow targets scale with position sizeInitial = easier targets, Total = harder targets with growth
Pyramid TargetProfit target in pips for the strategySets the exit distance from weighted breakeven
Enable Pyramid TrailingActivates dynamic target adjustmentAllows targets to move favorably with price movement
Volume Calculation Methods

This is one of the most important settings as it determines how your Pyramid Target scales with position size:

MethodHow It WorksBest For
Initial VolumeTarget based only on first trade size. Adding trades makes target easier to reach.Conservative scaling - maintains original risk/reward
Total VolumeTarget scales with combined volume. Larger pyramids need more price movement.Proportional scaling - maintains consistent risk across all trades
Average VolumeTarget based on average volume of all trades in the strategy.Moderate scaling - middle ground between other methods

The Volume Calculation method determines how the EA calculates the profit target for your pyramid strategy. This is crucial because it affects how difficult it becomes to reach your target as you add more trades. The EA uses the selected method to calculate a weighted target price that all trades in the strategy will exit at simultaneously.

Tip
Start with Initial Volume for conservative pyramid strategies. Use Total Volume when you want consistent risk/reward scaling as your pyramid grows.
Trailing Management

These parameters control dynamic exit targets that move favorably with price:

ParameterPurposeTypical Values
Enable Pyramid TrailingActivates dynamic target adjustmentfalse (static targets) / true (trailing targets)
Trailing DistanceHow far behind favorable price the target trails15-25 pips (adjust for instrument volatility)
Trailing StepMinimum price movement before target adjusts5-10 pips (smaller = more frequent adjustments)

Trailing Management allows your pyramid's exit target to move dynamically with favorable price movement, protecting profits while still allowing for additional gains. When enabled, instead of a fixed target price, the EA maintains a target that "trails" behind the most favorable price by a specified distance. This means if price moves strongly in your favor, your exit target moves up with it, but if price retraces, the target stays at the best level achieved.

How it works: The EA monitors the most favorable price reached and maintains the target at [Best Price - Trailing Distance]. The target only moves favorably - it never moves against you. The Trailing Step prevents excessive updates by only moving the target when price has moved at least that distance.

Entry Control Features

Additional controls that affect how and when new pyramid entries are allowed:

ParameterFunctionBehavior
Direction LockRestricts all trades to same directionPrevents mixing buy and sell trades within same strategy
Separate Buy/Sell PyramidsManages buy and sell positions independentlyCreates separate targets for each direction within strategy
DCA FilterOnly allows entries at better prices than previousBUY: new entries must be LOWER. SELL: new entries must be HIGHER

Entry Control Features provide sophisticated filters and rules that govern when and how new trades can be added to your pyramid strategy. These features help maintain strategy coherence and implement specific trading methodologies.

Direction Lock ensures all trades in a strategy move in the same direction - once you have a BUY trade, only additional BUY trades are allowed. Separate Buy/Sell Pyramids treats BUY and SELL trades as independent strategies even with the same comment, each with their own targets. DCA Filter implements dollar-cost averaging by only allowing new entries at better prices than previous trades, ensuring each addition improves your average entry price.

Profit Overlap System

Advanced risk management using profits from closed trades to fund new entries:

ParameterFunctionExample
Overlap ThresholdMinimum trades before overlap activates3 = feature activates after 3rd trade in strategy
Overlap Profit %Percentage of closed profits to use50% = use half of previous profits for risk offset

The Profit Overlap System is an advanced risk management feature that uses profits from winning trades within a strategy to offset losses from losing trades. This creates a dynamic "profit buffer" that can help sustain longer-term strategies even when some individual trades go against you.

How it works: Once your strategy reaches the Overlap Threshold number of trades, the EA monitors for profitable trades. When a profitable trade is closed, a percentage of its profit (set by Overlap Profit %) is allocated to offset losses from other trades in the same strategy. This effectively allows you to "reinvest" profits to support the overall strategy's success.

Pyramid Levels


The Pyramid Levels section controls the entry structure - when new trades are added, at what price levels, with what position sizes, and how many trades per level. These settings determine the "entry mechanics" of your pyramid strategies.

Level Structure Parameters

These settings control the basic framework of how levels are spaced and how many trades can be placed at each level:

ParameterFunctionImpact on Strategy
Level SizeBase distance in pips between levelsDetermines how often new entry opportunities arise
Level Size MultiplierIncreases level distance at higher levelsCreates wider spacing as price moves further from entry
Trade Limit Per LevelMaximum trades allowed at each levelControls how many positions can be opened at each price level
Lot Size MultiplierIncreases position size at higher levelsMakes trades larger as they move further from initial entry

Level Structure Parameters define the fundamental architecture of your pyramid - how far apart price levels are, how many trades can be placed at each level, and how these parameters evolve as you move further from your initial entry. The EA uses these settings to determine when new entry opportunities arise and how aggressive your scaling becomes.

Level Size sets the base pip distance between levels. Level Size Multiplier progressively increases this distance at higher levels (e.g., 1.5x means level distances grow: 20, 30, 45, 67.5 pips). Trade Limit Per Level caps how many positions can be opened at each price level, while Lot Size Multiplier scales position sizes larger as levels increase.

Level Calculation Logic

The EA continuously monitors price movement and calculates which "level" the current price represents relative to your strategy's initial entry. This level system determines when new trades can be added and how the pyramid structure evolves. The EA maintains a reference price for each level and updates it as new levels are reached.

Understanding the progression: Level 0 is your initial entry point. When price moves favorably (with your trade direction) by the Level Size distance, you reach Level -1, -2, etc. When price moves unfavorably (against your position), you reach Level 1, 2, 3, etc. Each time a new level is reached, the EA resets its reference point, creating dynamic entry opportunities.

  • Level 0: Initial entry level where the first trade was placed

  • Favorable Movement: When price moves WITH your trade direction by Level Size distance, level decreases (Level -1, -2, etc.)

  • Unfavorable Movement: When price moves AGAINST your trade direction, level increases (Level 1, 2, 3, etc.)

  • Level Reference Update: Each time a new level is reached, the "last level price" resets to current price

Position Sizing Control

These parameters determine how position sizes scale as you move to higher levels in your pyramid:

ParameterEffectExample (1.5x multiplier)
Multiply All Level TradesApplies lot multiplier to all trades at same levelfalse = only first trade at level gets multiplier
Lot Size MultiplierFactor to increase lot sizes at each levelLevel 0: 0.1, Level 1: 0.15, Level 2: 0.225 lots

Position Sizing Control manages how your trade volumes scale across different pyramid levels. This is crucial for risk management and determines whether your pyramid becomes more aggressive or maintains consistent exposure as you add trades.

Lot Size Multiplier increases position sizes at each level (e.g., 1.5x means: Level 0 = 0.1 lots, Level 1 = 0.15 lots, Level 2 = 0.225 lots). Multiply All Level Trades determines whether this multiplier applies to all trades at a level or just the first trade - when enabled, if you have 3 trades at Level 1, all three get the 1.5x multiplier.

Progressive Limit Management

Advanced feature that allows more aggressive pyramiding by automatically increasing the number of allowed trades at specified level intervals:

ParameterPurposeConfiguration Example
Trade Limit IncreaseAmount to add to trade limit1 = add one more trade to the limit
Limit Increase AfterLevel interval for applying increases3 = increase limit every 3 levels

Progressive Limit Management automatically increases the number of trades allowed at each level as your pyramid grows larger. This creates a system where higher levels (further from initial entry) can accommodate more trades, allowing for increasingly aggressive scaling when markets move against your position.

How to configure: Set Trade Limit Increase to how many additional trades you want to allow, and Limit Increase After to the level interval. For example, with Trade Limit = 2, Increase = 1, After = 3 levels, you get: Levels 0-2 allow 2 trades each, Levels 3-5 allow 3 trades each, Levels 6-8 allow 4 trades each, and so on. This creates a progressive scaling strategy that becomes more aggressive at extreme levels.

Example Configuration:

• Trade Limit Per Level: 2
• Trade Limit Increase: 1
• Limit Increase After: 3 levels

Result: Levels 0-2 (2 trades), Levels 3-5 (3 trades), Levels 6-8 (4 trades), etc.

Tip
Start with simple level settings: Level Size = 15-20 pips, Trade Limit = 2-3 per level, Lot Multiplier = 1.0 (no scaling). Test thoroughly before adding complexity like level multipliers or progressive limits.

Practical Examples


Example 1: Basic Trend Following Pyramid

Setup: EURUSD uptrend, Level Size: 15 pips, Pyramid Target: 30 pips, Total Volume calculation

EntryPriceLevelLot SizeComment
Initial1.200000.10EURUSD_Trend
Add #11.201510.15EURUSD_Trend
Add #21.203020.20EURUSD_Trend

Result: Weighted breakeven ≈ 1.2019, Combined target = 1.2049 (30 pips from breakeven)

Example 2: Counter-Trend Recovery Pyramid

Setup: GBPUSD short position moving against, Level Size: 25 pips, Initial Volume calculation

EntryPriceLevelIndividual P&LStrategy Target
Initial Short1.30000-25 pips1.2970
Add Short1.30251+5 pips1.2970
Add Short1.30502+30 pips1.2970

Result: Despite first trade being -25 pips, overall strategy profits when price reaches 1.2970 due to volume-weighted targeting.

Troubleshooting Guide


IssuePossible CauseSolution
Trades not grouping into pyramidComment strings don't match exactlyEnsure all trades have identical comments - check for spaces, capitalization, special characters
Individual TPs disappear after 2nd tradeNormal pyramid behaviorThis is expected - pyramid manages exits at strategy level. Check chart for strategy target lines
Target seems unreachableTotal Volume calculation with large pyramidSwitch to Initial Volume or Average Volume calculation method
New trades rejected at levelTrade limit per level reachedIncrease Trade Limit Per Level or enable progressive limit increases
Levels not progressing correctlyLevel Size too large for market movementReduce Level Size to match typical price movements for the instrument
Trailing exits too earlyTrailing Distance too smallIncrease Trailing Distance to give trades more breathing room
No new entries when DCA Filter enabledPrice hasn't moved to better entry levelDCA Filter only allows entries at better prices than previous entries - this is normal behavior
Pyramid not activating with signalsMissing "py" parameter or wrong control modeEnsure Pyramid Management is set to "Signal" mode and include "py" in webhook signals

For complete parameter references and additional configuration options, see the Configuration Guide.