//--- input parameters
input uint InpStopLoss = 0; // Stop Loss, in pips (1.00045-1.00055=1 pips)
input uint InpTakeProfit = 10; // Take Profit, in pips (1.00045-1.00055=1 pips)
input ushort InpTrailingFrequency = 0; // Trailing, in seconds (< "10" -> only on a new bar)
input ushort InpSignalsFrequency = 0; // Search signals, in seconds (< "10" -> only on a new bar)
input uint InpTrailingStop = 0; // Trailing Stop (min distance from price to Stop Loss, in pips
input uint InpTrailingStep = 0; // Trailing Step, in pips (1.00045-1.00055=1 pips)
input ENUM_LOT_OR_RISK InpLotOrRisk = lots_min; // Money management: Lot OR Risk
input double InpVolumeLotOrRisk = 3.0; // The value for "Money management"
input ENUM_TRADE_MODE InpTradeMode = buy_sell; // Trade mode:
input ulong InpDeviation = 200; // Deviation, in points (1.00045-1.00055=10 points)
//---
input ENUM_STOCHASTIC_SIGNALS InpSignal = signals_1; // Use Stochastic signals:
//--- Stochastic
input ENUM_TIMEFRAMES Inp_STO_period = PERIOD_CURRENT;// Stochastic: timeframe
input int Inp_STO_Kperiod = 50; // Stochastic: K-period (number of bars for calculations)
input int Inp_STO_Dperiod = 2; // Stochastic: D-period (period of first smoothing)
input int Inp_STO_slowing = 2; // Stochastic: final smoothing
input ENUM_MA_METHOD Inp_STO_ma_method = MODE_SMA; // Stochastic: type of smoothing
input ENUM_STO_PRICE Inp_STO_price_field = STO_LOWHIGH; // Stochastic: stochastic calculation method
//---
input double InpLotCoefficient = 2.0; // Lot coefficient (<= '0' -> OFF Martingale)
input double InpMaxDrawdown = 100000; // Maximum drawdown (in money)
input double InpTargetProfit = 100000; // Target profit (in money)
//---
input bool InpOnlyOne = false; // Only one positions
input bool InpCloseOpposite = false; // Close opposite
input bool InpPrintLog = false; // Print log
input ulong InpMagic = 22052023; // Magic number
Привет! C такими настройкам , балансом 10000 руб, на Евро - USD, М-15, ВТБ-форекс проходит в тестере без сливов , 2020.01.01 по 2023.05.23
Депозит увеличивается с 10К до 50К. ТР>10 - сливает.Поставил на демо , потестю с годик.Считаю вполне перспективный советник!
На МТ-4 к СТО 5.3.3 я добавлял болинджер-50,открывал бай ниже лоу, а сел выше ап при одновременном пересечении сигналок СТО 5.3.3 ниже 20% и выше 80 соответственно.
И тоже применял мартингейл . С MQL-5 столкнулся недавно , для меня лес дремучий да и годы , башка тупит(((

Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
iStochastic Martingale:
Мартингейл по сигналам стандартного индикатора iStochastic (Stochastic Oscillator, STO)
Автор: Vladimir Karputov