Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.02.18 15:40

Example of Stochastic Automated - expert for MetaTrader 4

| English Español Português 日本語 Deutsch Русский

Published by:
Mohammad Soubra
votes: 19

Real author:

Mohammad Soubra

This is a simple example EA for MetaTrader 4, it is my 2nd published code in this community.

The main idea of this Expert Advisor is to trade by the basic concept of Stochastic oscillator in its basic parameters, with ability to change these parameters via the EA inputs.

This EA is only for coders and who interested to learn Forex programming as a beginner. Use it only in Demo accounts or Strategy Tester. Don't use it in real trading.


  1. Don't use this EA in a real account.
  2. Feel free to modify the source code and share with all.
  3. Feel free to give me your comments.
  4. Use various settings/parameters in the "Inputs" tab as in the picture below to see different results.
  5. Enjoy.

Not Only Spread Not Only Spread

Spread, its moving average (EMA), its maximum and minimum, and ticks per second (market speed) in the Comment. The version 1.01 is made with the normal average, instead of the moving average.

1 Click Button To Close All Open Positions 1 Click Button To Close All Open Positions

1 Click "Close All" button to close all your positions (regardless of the pair) will be closed at once.

Droneox Equity Guardian Droneox Equity Guardian

Expert Advisor that will close all orders and disable another Expert Advisor / AutoTrading at desired level.

Predictor Marks for Renko, Mean Renko and Range Bars Predictor Marks for Renko, Mean Renko and Range Bars

The indicator places two price marks for the expected candle close, based on the candle range and the chart type.