Loading…

Stoch V2.2

From the Old Kings archive: Stoch V2.2, an expert advisor (trading robot) for MetaTrader 4. As the name suggests, the idea behind it is the Stochastic oscillator. The file name marks it as version 2.2. In the code it works with the Stochastic oscillator and moving averages. It raises the lot size after losses (martingale — high risk), has a trading-hours filter and can size trades from your risk. It has 29 settings, for example 1 (default TRADE MANAGEMENT ), Lots (default 0.01) and Take Profit (default 26). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Expert advisor · MT4 · v2.2 · Free

About Stoch V2.2

Stoch V2.2 is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and Moving Average. It increases the lot size after a losing trade (martingale), trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 29 settings, such as 1, Lots and Take profit. MQL source code included.

It also works on several symbols at once.

Files in the download: Stoch V2.2.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
1 TRADE MANAGEMENT
Lots0.01Trade size in lots
Take profit26Take profit distance
Pips12
Initial stop0
Lots multiplier1.68How much the lot size grows after a loss
Max trades13Maximum number of open trades
Slippage3Maximum slippage allowed when opening a trade
2 CLOSE CONDITIONS
Stoch sell open80
Stoch buy open20
Close by percentFALSE
Secure profit percent1.0
Secure loss percent50.0
3 MONEY MANAGEMENT
Use mmFALSE
Acc type2
Risk5Risk per trade (percent of balance)
4 TRADE TRIGGER
Use trend filterFALSE
Stoch timeframe60Period or timeframe used by the calculation
K period8Period or timeframe used by the calculation
D period3Period or timeframe used by the calculation
Slow period3Period or timeframe used by the calculation
5 COMMON CLOSE CONTROL
Stop tradingFALSE
Close all on fridayTRUE
Friday closing hour13
Stop trading on fridayFALSE

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Stochastic · Martingale · Time Filter · Risk & Lot Size · Multi-Currency · Moving Average · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria