Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | VIDYA N Bars Borders Martingale

Advisor

The EA receives signals from the custom indicator 'VIDYA N Bars Borders'. Before executing a trading signal, the EA checks the current profit - if the profit is negative, then the signal is executed with an increased lot (the 'Position Increase Ratio' setting works).

MetaTrader Experts, Indicators, Scripts and Libraries

Pic. 1. VIDYA N Bars Borders Martingale

The EA can hold both 'BUY' and 'SELL' positions at the same time:

MetaTrader Experts, Indicators, Scripts and Libraries

Pic. 2. VIDYA N Bars Borders Martingale

All positions will be closed if the EA reaches profit (in money) 'Profit target'.

39638