Hedge any positions – EA MetaTrader 5

Author of the ideaΒ –Β Sam

Code mq5 by:Β barabashkakvn

The EA works on hedge accounts only!

The EA tracks all positions regardless of the symbol or magic number.

As soon as a position (opened by another EA or manually) features a loss exceeding or equal to Losing, an opposite position is opened. The volume of the opened position is calculated consideringΒ Lot coefficient.

For each position (opened by another EA or manually), the “Hedge any positions” EA opens an opposite position ONLY ONCE.

Please note that the EA simply sets the opposite position once without Stop Loss and Take Profit.


https://www.mql5.com/ru/code/22823

πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks