Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

EA Stochastic - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
16486
Rating:
(28)
Published:
2018.06.18 16:14
EA Stochastic.mq5 (40.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Sergey.

MQL5 code by: Vladimir Karputov.

The EA trades based on indicator Stochastic. Take Profit and Stop Loss levels can be disabled (the value "0" is set in properties). The size of a position can be set manually (the EA will trade with a permanent lot size), or the lot size can be calculated automatically (as the risk percentage per trade).


Input parameters

  • Stop Loss - Stop Loss;
  • Take Profit - Take Profit;
  • Trailing Stop - trailing;
  • Trailing Step - trailing step;
  • Lots - position size is permanent, "Risk" must be equal to zero;
  • Risk - position size is calculated automatically in risk percents per trade, and "Lots" must be equal to zero;
  • Stochastic: K-period - K-period (number of bars for calculations);
  • Stochastic: D-period - D-period (initial smoothing period);
  • Stochastic: final smoothing - final smoothing;
  • Stochastic: type of smoothing - smoothing type;
  • Stochastic: stochastic calculation method - type of prices;
  • Stochastic signal (level UP) - (upper) signal line of stochastic;
  • Stochastic signal (level DOWN) - (lower) signal line of stochastic;
  • Compared bar - number of the bar, which the zeroth bar is compared to;
  • magic number - unique identifier for the EA.

Example of EA launch on EURUSD,M15:

EA Stochastic

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20881

Close by Equity Percent Close by Equity Percent

The EA closes all positions if the equity reaches a certain ratio as related to the balance.

Previous Candle Breakdown Previous Candle Breakdown

Expert Advisor "Previous Candle Breakdown."

Exp_SilverTrend_CrazyChart Exp_SilverTrend_CrazyChart

A trading system based on the signals of indicator SilverTrend_CrazyChart.

Two MA one RSI Two MA one RSI

Two indicators iMA (Moving Average, MA) and one iRSI (Relative Strength Index, RSI). Many settings and optimization of trade signals formula.