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

Example of Stochastic Automated - expert for MetaTrader 4

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

Published by:
Mohammad Soubra
votes: 18

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.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.