Stochastic signal EA: no-code builder for MT4 / MT5
OscillatorsUses crossovers of the Stochastic Oscillator's two lines (%K and %D) as signals: %K crossing above %D is bullish, crossing below is bearish. It reacts faster than watching the levels alone.
Rules you can build with it
Works as an entry rule or an exit rule. Short rules are mirrored automatically.
- Long%K crosses above %DShort%K crosses below %D
- Long%K crosses below %DShort%K crosses above %D
- Long%K is above %DShort%K is below %D
- Long%K is below %DShort%K is above %D
Settings
| Settings | Default | Range |
|---|---|---|
| %K | 5 | 2 – 50 |
| %D | 3 | 1 – 20 |
| Slowing | 3 | 1 – 20 |
How the backtest and the EA calculate it
Both lines are calculated like MT5's Stochastic Oscillator; the crossover condition is “%K was not above %D on the previous candle and is above it on this one”.
Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.
Example strategies
- Entry · Stochastic signal (5, 3, 3): %K crosses above %D
- Stop-loss 300 points, take-profit 600 points
- Entry · Stochastic signal (5, 3, 3): %K crosses above %D
- Entry · Moving Average (50, EMA, Close): MA rises
- Stop-loss 300 points, take-profit 600 points
Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.