Loading…

STI4.0.3

STI4.0.3 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses the Stochastic oscillator and CCI. It moves the stop behind price, has a trading-hours filter and is set up for scalping. It has 27 settings, for example Use Email Alerts (default false), Use Total Equity SL (default false) and Equity Risk (default 50). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. 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 · v1.0 · Free

About STI4.0.3

STI4.0.3 is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and CCI. It moves the stop loss behind price (trailing stop / break-even), trades only in the hours you set (time filter) and is built for short scalping trades. It has 27 settings, such as Use email alerts, Use total equity sl and Equity risk. MQL source code included.

Files in the download: STI4_0_3.mq4.

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

Settings

SettingDefaultWhat it does
Use email alertsfalseTurn this alert on or off
Use total equity slfalse
Equity risk50Risk per trade (percent of balance)
Lots0.5Trade size in lots
Use close criteriatrue
Take profit30Take profit distance
Stop loss50Stop loss distance
Use scalp itfalse
Scalp pips3
Use step trailfalseTrailing stop distance or switch
Trail1 step6Trailing stop distance or switch
Flex2
Use trailtrueTrailing stop distance or switch
Profit trailingtrueTrailing stop distance or switch
Trailing act6Trailing stop distance or switch
Trailing step3Trailing stop distance or switch
N13
N22
Max periods back20Number of bars in the calculation
Use stochastic filterfalse
Sto period1440Period or timeframe used by the calculation
Use ccifalse
Use time filterfalse
Begin hour8Hour when trading starts (server time)
End hour18Hour when trading stops (server time)
Reverse trade signalfalse
File save prefixSTI

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: Trailing Stop & Break-even · Time Filter · Scalping · Stochastic · CCI · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria