StochasticExtremesTrader
- Experts
- Vladimir Utkin
- Versione: 3.0
- Aggiornato: 16 luglio 2025
- Attivazioni: 5
Complete Advisor Description for MetaTrader 5
Video https://youtu.be/7BKaf6kB-OQ?si=MB684rKT8f2f1rmv
Advisor Logic
The advisor uses a dual stochastic system:
-
Senior timeframe defines the trend.
-
Junior timeframe finds entry points.
-
Fractal levels build support/resistance.
-
Signals are filtered by:
-
Order rules ( isFreeOpen / isTwoOpen / isOneOpen )
-
Reverse signals ( Revers )
-
Stop levels based on fractals or %/pips.
-
Key Parameters
| Parameter Group | Parameter | Description |
|---|---|---|
| Stochastic SeniorTF | InpKPeriod | %K line period |
| InpDPeriod | %D signal line period | |
| InpSlowing | Stochastic slowing | |
| Stochastic JuniorTF | _InpKPeriod | %K period for junior TF |
| _InpDPeriod | %D period for junior TF | |
| _InpSlowing | Slowing for junior TF | |
| Fractal Indicator | isFractalsLevels | Enable fractal levels |
| LeftBars / RightBars | Left/right bars to detect fractals | |
| Risk Management | InpStopType | Stop type: STOP_TYPE_PERCENT , STOP_TYPE_POINTS , STOP_TYPE_CURRENCY |
| InpTPPips | Take profit in pips |
Installation Guide
-
Copy Files
Place in MQL5/Experts :-
StochasticET.mq5
-
Include files: CMap.mqh , PositionsHandler.mqh , Extremes.mqh , etc.
-
-
Compile
Open in MetaEditor (F4) → Click "Compile". -
Attach to Chart
-
Drag advisor to the chart.
-
Set parameters (see table above).
-
Enable auto-trading.
-
Configuration Tips
| Instrument | Timeframes | Stochastic Settings | Tips |
|---|---|---|---|
| EURUSD | M15 (Sr), M1 (Jr) | K=5, D=3, Slowing=3 | Increase SL during high volatility |
| Gold | H1 (Sr), M5 (Jr) | K=14, D=5, Slowing=5 | Use fractal levels |
| Indices | H4 (Sr), H1 (Jr) | K=21, D=7, Slowing=7 | Enable isOneOpen |
Signal Logic
Features
-
Fractal Levels
-
Dynamic support/resistance zones.
-
Custom colors ( clrUp / clrLow ).
-
Auto-update on new bars.
-
-
Order Management
-
isOneOpen : Prevents opposite orders.
-
MagicNum : Unique order identifier.
-
-
Info Panel
Real-time display of:-
Account balance
-
Current profit
-
Advisor version
-
Trading Rules
-
BUY Signal
Stochastic (Jr) crosses low_Extrem upward + Senior TF confirmation. -
SELL Signal
Stochastic (Jr) crosses up_Extrem downward + Senior TF confirmation. -
Stop Loss
Auto-calculated as:-
% of price: InpSLPercent
-
Pips: InpSLPips
-
Currency: InpSLCarency
-
Optimization
-
Historical testing:
-
Optimize stochastic periods.
-
Adjust up_Extrem / low_Extrem .
-
-
For futures:
-
Increase DistanceSizeValue .
-
Disable fractals ( isFractalsLevels=false ).
-
