Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir Karputov
- Views:
- 7501
- Rating:
- Published:
- 2018.07.13 16:03
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Idea by: Mikhail
MQL5 code by: barabashkakvn.
A simple Martingale. If no positions are opened, the entry is by indicator iStochastic (Stochastic Oscillator).
Inputs
- Lots - initial lot size to open a position
- Multiplicator - lot size increasing factor
- Step (in pips) - step
- Profit factor (in pips) - profit level
- Stochastic: K-period (number of bars for calculations)
- Stochastic: D-period (period of first smoothing)
- Stochastic: final smoothing
- Stochastic: type of smoothing
- Stochastic: calculation method
- Stochastic: BUY level - indicator level to open a BUY position
- Stochastic: SELL level - indicator level to open a SELL position
- magic number - a unique identifier of your positions
EURUSD,M30
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21331