After extensive testing and optimization, I present the final version of the EA designed for quick and safe position management.
Main Features:
BUY/SELL – open positions with automatic SL/TP
REVERSE – closes all positions for current symbol and opens opposite positions (preserving size)
B-EVEN – moves SL to breakeven + specified number of points
CLOSE – closes all positions for current symbol only
PANIC – emergency close of ALL positions and deletion of all orders
Lot mode selection: Fixed Lot or Risk% on Equity
Automatic position sizing based on risk percentage
Universal support for all account currencies (PLN, EUR, USD, GBP, etc.)
Automatic currency conversion for instruments quoted in USD (GOLD, SILVER, etc.)
Fixed Pips or ATR% for Stop Loss
Fixed Pips, ATR% or Risk:Reward for Take Profit
Adjustable breakeven (points from entry price)
"Only when in profit" option for B-EVEN
Optional screenshots with each action (includes symbol and action name) – enable/disable (true/false)
Detailed logging (DebugWithSquealers) for calculation verification
Protection against EA name changes
Fixed MagicNumber for proper multi-instance operation
Safety:
CLOSE closes only current symbol positions
PANIC closes absolutely everything (emergency)
Automatic lot rounding to broker step
Respects broker minimum and maximum lot limits
How it works:
The EA fetches data directly from the broker (tick value, tick size, contract size), automatically calculates risk in account currency, and selects appropriate position size. Works universally on all instruments and currencies.
Link to download the corrected version:
post1295580177.html#p1295580177