gpfTCPivotStop
This EA trades pivot point breakout signals, opening buy positions when price closes above the daily pivot and sell positions when it closes below. Stop loss and take profit are set at pivot support/resistance levels, with three target tiers and an optional breakeven feature when the first target is reached.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
- Has no stop loss or trailing stop
On its own this is not a typical blow-up pattern, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
The strategy core is based on classic pivot point calculation, deriving the pivot and three levels of support/resistance from the previous day's high, low, and close prices. Entry conditions rely on price crossing the pivot: a buy signal triggers when the previous bar closes below the pivot and the current bar closes above it, while a sell signal is the inverse — this is fundamentally a pivot breakout strategy. Exit conditions offer three target tiers: Target 1 uses S1/R1, Target 2 uses S2/R2, and Target 3 uses S3/R3, with stop loss placed at the corresponding support/resistance level. Position sizing supports both fixed lots and dynamic lots based on a percentage of free margin (MaxR), plus a loss reduction factor (DcF) that progressively decreases lot size after consecutive losses. Money management is reinforced by the MaxR parameter controlling maximum risk exposure and the DcF mechanism preventing overexposure during losing streaks. Additional features include an intraday-only mode that forces position closure at 23:00 and a ModSL option that moves the stop loss to breakeven once the first target is reached.
Strengths
- Based on classic pivot point theory with clear and understandable logic; support/resistance levels have statistical basis
- Includes a loss reduction mechanism (DcF) that automatically decreases position size after consecutive losses, helping control drawdowns
- Offers three target profit tiers and a breakeven stop loss feature, giving traders flexibility based on risk appetite
- Implements minimum stop loss/take profit distance checks to prevent order rejection due to stops being too close
Weaknesses
- Pivot calculation uses only the previous day's data, which may not provide precise support/resistance levels in highly volatile markets
- Lacks spread and slippage filtering; pivot breakout signals can produce false entries when spreads are wide
- Entry signals are overly simplistic (only close price crossing the pivot) without volume confirmation or additional filters, leading to frequent false breakouts
- Breakeven stop loss feature relies on global variables to store target prices; EA restart may lose state and cause feature malfunction
Possible improvements
- Add multiple confirmation conditions such as volume filtering, ATR volatility filtering, or moving average trend filtering to reduce false breakout signals
- Add a spread filter mechanism that pauses new entries when the spread exceeds a configurable threshold, avoiding entries in high-spread environments
Risk assessment
Overall risk: Medium
- Pivot breakout signals lack filtering conditions; false breakouts can lead to frequent stop loss hits
- The second entry variant (SolveBuySLTP2/SolveSellSLTP2) uses wider stops (Support2/Resist2), which may result in unfavorable risk-reward ratios
- Global variable dependency requires continuous EA operation; breakeven stop loss feature may fail after restart
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Lots | 0.1 | Order lot size; when 0, calculated via MaxR |
SndMl | true | Send email notification on open and close |
DcF | 3 | Lot decrease factor on loss; 0=disabled, smaller values=larger decrease |
MaxR | 0.02 | Max risk ratio of free margin (0-1); active when Lots=0 |
TgtProfit | 3 | Level scheme (1-5); determines entry, SL, and TP combination |
isTradeDay | false | Intraday-only; forced close at 23:00 |
ModSL | false | Move SL to breakeven when first target reached |
Similar Pivot Point EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.