SuperScalp Pro Indicator Trader EA
- Experts
- Hyoseog Kim
- Versione: 1.0
- Attivazioni: 10
SuperScalp Pro Trader EA
How to use
A fully automated Expert Advisor designed to trade with the SuperScalp Pro indicator. Features dual-source Fibonacci TP, per-ticket independent position management, and configurable dollar / ATR trailing stops.
Key features
Dual indicator load modes
Mode A loads the indicator directly by filename. Mode B auto-detects any chart instance — no manual entry required.
Dual-source Fibonacci TP
Source 0: reads Fibo target prices directly from indicator buffers (Buf 16–25). Source 1: self-calculates from entry price and SL distance × configurable ratio.
Per-ticket independent Fibo
Each open position maintains its own Fibonacci level tracking. Partial closes on multiple concurrent trades are handled independently, with no cross-contamination.
Flexible partial close
Choose equal distribution across all active levels, or set a precise close percentage per level (e.g. 70% at Level 4). The last active level always closes the full remaining volume.
Advanced trailing stop
Dollar-based and ATR-based trailing stops operate independently or simultaneously. Configurable activation threshold, stop distance, and step size.
Once-per-bar filter
Prevents duplicate entries on the same candle. Supports bar-1 confirmed signals (fires at new bar open) and bar-0 real-time signals (fires immediately, de-duplicated).
Group close mode
Optional aggregated TP/SL that monitors total P&L across all EA-managed positions simultaneously, triggering a full close when the combined threshold is reached.
Chart visualization
All Fibo TP levels, trail-start lines, and trail-SL lines are drawn on the chart in real time. Lines are automatically removed when positions close or levels are hit.
Auto-register existing positions
On EA startup, existing positions matching the magic number are automatically scanned and registered to Fibo tracking on the first tick — no manual intervention required.
Indicator SL / TP buffers
Reads SL and TP levels directly from designated indicator buffers for accurate, indicator-driven risk management. Falls back to dollar or ATR calculation when disabled.
Opposite signal handling
Configurable options to close existing positions on opposite signals, allow simultaneous buy/sell, or restrict to single-direction trading only.
Detailed logging & debug mode
All trade events, Fibo registrations, and partial closes are written to the Experts log. Enable DebugMode for full tick-by-tick state inspection.
Input parameters
| Parameter | Default | Description |
|---|---|---|
| IndicatorName | "" | Leave blank for Mode B (auto-detect chart instance). Enter indicator filename for Mode A (direct internal load). |
| MagicNumber | 991 | Unique EA identifier. Use different values when running multiple EAs on the same account. |
| LotSize | 0.01 | Fixed lot size per trade. Compatible with cent accounts via automatic dollar-to-price conversion. |
| BuyBuffer / SellBuffer | 2 / 3 | Indicator buffer indices from which buy and sell signals are read. |
| UseIndicatorTPSL | true | Read SL and TP values from indicator buffers. When false, dollar-based or ATR-based calculation is applied. |
| FiboTP_Source | 0 | 0 — read Fibo target prices from indicator buffers (Buf 16–25). 1 — self-calculate from entry price ± (SL distance × ratio). |
| FiboTP_UseLevel1–5 | L4, L5 ON | Enable or disable each of the five Fibonacci TP levels individually. Level 5 (last active) always triggers a full close. |
| FiboSelfRatio1–5 | 0.236 – 2.0 | Risk:reward multipliers applied to SL distance when FiboTP_Source = 1 . Example: ratio 1.0 = 1:1 RR, ratio 2.0 = 1:2 RR. |
| FiboTP_ClosePercent1–5 | 0 | Percentage of current lot to close at each Fibo level. 0 = equal distribution. The last active level always closes 100% of remaining volume. |
| MaxPositions | 5 | Maximum number of simultaneously managed positions for this EA and symbol. |
| OncePerBar | true | Allow only one entry signal per direction per bar, preventing duplicate orders on the same candle. |
| CloseOnOppositeSignal | false | Close all positions in the opposite direction when a new signal fires. |
| AllowOppositeOrder | true | Allow simultaneous buy and sell positions to coexist. |
| UseGroupClose | false | Enable aggregated TP/SL triggered by combined P&L of all managed positions. |
| UseTP / TP_Dollar | false / 8.0 | Dollar-based individual TP per position. Active when UseIndicatorTPSL = false . |
| UseSL / SL_Dollar | false / 3.0 | Dollar-based individual SL per position. Active when UseIndicatorTPSL = false . |
| UseATR / ATR_Period_EA | false / 14 | ATR-based TP and SL calculation. Overrides dollar-based settings when enabled. |
| UseTrailing / Trail_Start / Trail_Stop | false / 15 / 5 | Dollar trailing stop. Activates when total P&L ≥ Trail_Start ($), then trails by Trail_Stop ($). |
| UseATRTrailing | false | ATR-based trailing. Configured via ATR_Trail_Start , ATR_Trail_Stop , and ATR_Trail_Step multipliers. |
Signal logic
The EA reads two bars of each signal buffer every tick:
- Bar 1 — confirmed signal. Signal present on the previous closed bar but absent on the current bar. Entry executes at the open of the new candle.
- Bar 0 — real-time signal. Signal present on the currently forming bar. Entry executes immediately. De-duplicated by value change to avoid repeat orders.
- Both modes are active simultaneously. OncePerBar limits each direction to one entry per bar.
