Exp_VininI_Trend
This EA trades based on the custom VininI_Trend indicator, which uses multiple smoothed moving averages with variable depths. It supports two entry algorithms: level breakthrough (BREAKDOWN) and direction change (TWIST), with configurable buy/sell permissions and position closing options.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
The strategy centers on the VininI_Trend indicator, which generates signals by applying multiple smoothed moving averages with incrementally increasing depths (MA_Step increments over MA_Count steps), followed by a second-layer smoothing. In BREAKDOWN mode, a buy signal triggers when the indicator crosses above UpLevel from below, and a sell signal triggers when it crosses below DnLevel from above. In TWIST mode, a buy signal occurs when the indicator direction changes from downward to upward, and vice versa for sell signals. Position sizing is controlled by the MM parameter, where negative values represent fixed lot sizes and positive values represent a share of the deposit. Stop Loss and Take Profit are fixed at 1000 and 2000 points respectively. The EA only checks for signals on new bars (unless SignalBar=0), preventing repeated trades, and supports separate permissions for opening and closing positions.
Strengths
- Supports two entry algorithm modes (BREAKDOWN and TWIST) for flexibility across different market conditions
- Buy/sell open and close permissions can be controlled independently for fine-grained position management
- New bar detection mechanism prevents repeated signals and reduces overtrading
- Multi-layer smoothing algorithm effectively filters market noise for higher quality signals
- Indicator timeframe can be set independently from the chart, enabling multi-timeframe analysis
Weaknesses
- Fixed Stop Loss (1000 points) and Take Profit (2000 points) are not dynamically adjusted based on market volatility
- Lacks spread filter and slippage protection, which may be detrimental in high-spread environments
- Does not check for existing positions in the same direction, potentially causing duplicate entries
- The positive/negative logic of the MM parameter is unintuitive and prone to misconfiguration
- Depends on external custom indicator VininI_Trend and SmoothAlgorithms.mqh library, reducing portability
Possible improvements
- Add dynamic stop loss/take profit based on ATR or volatility for adaptive risk management
- Add position check and maximum position limits to prevent duplicate entries in the same direction
- Add spread filter and trading session control to improve live trading stability
Risk assessment
Overall risk: Medium
- Fixed SL/TP does not adapt to changing market volatility — SL may be too wide in low volatility and TP too tight in high volatility
- No check for existing positions in the same direction may lead to unintended position accumulation
- Negative MM value lot sizing logic is confusing and could result in excessive leverage if misconfigured
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Trade funds percentage; negative for fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price deviation in points (slippage) |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
Mode | BREAKDOWN | Entry algorithm: breakout or reversal |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
MA_Method1 | MODE_SMA | First-level smoothing method |
Length1 | 3 | First-level initial smoothing depth |
Phase1 | 15 | First-level smoothing parameter |
MA_Step | 10 | Smoothing depth increment step |
MA_Count | 10 | Number of smoothing steps |
MA_Method2 | MODE_JJMA | Second-level indicator smoothing method |
Length2 | 20 | Second-level smoothing depth |
Phase2 | 100 | Second-level smoothing parameter |
IPC | PRICE_CLOSE | Price constant type |
UpLevel | +10 | Upper level (0 to +100) |
DnLevel | -10 | Lower level (-100 to 0) |
SignalBar | 1 | Bar index for entry signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.