Increasing the lot after a losing trade. OnTradeTransaction. Entry signals are based on the DeMarker indicator.
Expert Advisor Input Parameters
Lot increase ratio is calculated by the formula:
The EA works only at newly formed bars and opening prices. There is no need to optimize it using Every tick mode.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17079
The simplest EA based on the WeightOscillator weighted oscillator.WeightOscillator_HTF
The WeightOscillator indicator with the timeframe selection option available in the input parameters.