MT4 robot/script that closes equal buy and sell lots of active trades while realizing a set loss.

MQL4 Experts

Spécifications

Hello 


Set up

I have an account that has a floating loss(eg -1000)

with 1 buy trade and several sell trades (or 1 sell trade and several buy trades)  with 

the t otal buy lots being the same or similar to sell lots.

(note the above are not conditions ,the EA has to check . Is information of when I am likely to use it so the bottom make more sense)


What the EA would do when it loads

 I want to specify a percentage of floating loss to be closed. 

eg : if floating profit is -1000  and I specify  30.   EA will close the necessary trades that would close trades with a loss of -300 and leave floating profit of -700 .

Conditions

1) The robot would have to close FIRST the trade that opened the FURTHEST away (does not matter if profit or loss) from current market price.

and proceed in that order when closing trades.

2) The same number of buy lots as well as sell lots have to close during this. 

Hence every time some lots buy close ,the equivalent sell lots have to close 


Notes:

-Some trades would close with partial lots. 

-Some trades would close with profit/some with loss.


So the EA will have to calculate the correct lot sizes for both directions to achieve the 30% reduction(variable) in floating loss while closing the same number of lots for each.


Regards

Répondu

1
Développeur 1
Évaluation
(9)
Projets
19
16%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(68)
Projets
127
41%
Arbitrage
19
47% / 53%
En retard
33
26%
Gratuit
Commandes similaires
My recommended requirements 1. Platform MetaTrader 5 only MQL5 source code ( .mq5 ) + compiled EA ( .ex5 ) Compatible with both demo and live accounts No dependency on MT4 Clear installation instructions 2. Trading strategy Tell the developer exactly: Instruments: e.g. EURUSD, GBPUSD, XAUUSD Timeframes: e.g. M15/H1 Entry conditions Exit conditions Stop-loss rules Take-profit rules Trailing stop Break-even Maximum
Hi, I am looking for a profitable bot which can make 20 dollars a day. Requirements : Lifetime license, bug fix support lifetime, lot size adjustment, lost (dolalrs) adjustment. If anyone having such bot to sell please let me know
I need an MT5 Expert Advisor based on my A+ ICT/SMC Institutional Anticipation Framework. The EA must use a strict multi-timeframe hierarchy: Daily = Liquidity Map ONLY: Identify BSL/SSL, swept/unswept liquidity, equal highs/lows, major OBs, FVGs and institutional POIs. H4 = Institutional Direction: H4 determines the ONLY bias (BUY or SELL) using structure, BOS/CHoCH, OB, FVG and Premium/Discount. Lower timeframes
Nayafx 30+ USD
Worth one caveat before you post: a freelancer can build clean code, but they can't supply an edge either. You already have a working EA. The genuinely useful thing to hire for is verification and hardening — someone with real tick data and experience to stress-test what you have and make it prop-safe. I've written it that way rather than "build me a profitable bot," because the second gets you vague bids and
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
I will pay 10k (negotiable) for an EA for existing MT5 that generates a minimum of 5% or higher a month consistently Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Y Developer should be willing to demonstrate how efficient the robot is, Once you send me the demo, I will test the EA on a real-time account
Automatic buy and sell entries. stoploss (sl) take profit (tp) risk management and adjustable lot size. Adjustable risk percentage per trade. Trailing stop maximum number of open trades. Trading hours filter. Ability to backtest and optimize the strategy. Easy to use settings. The EA should work reliably on mt5 and provide the source code. I want the developer to test the EA and provide backtest results before
I am looking to see if you can convert my pinescript into a NinjaTrader bot so I can get automated trading instead of manually doing it in TradingView i would like to get it to just do the trades for me based on my script. let me know who can do this perfectly
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Hello! I am searching an experienced programmer to help me fix bugs in NEOLOGICA, PROFIT, Code is written, 0 errors, 0 warnings, but not everything works functionally. Please help me, in general I am searching a programmer for a longer co-operation so this project can open door for other, interesting projects :)

Informations sur le projet

Budget
45+ USD