Create an EA to close half of trade when profit hits specific amount per lot

MQL4 EA 스크립트

작업 종료됨

실행 시간 2 일
고객의 피드백
Great to work with, recommended

명시

Hi, 

So I want it to automatically close a trade (Partially) if the profit per lot hits a specific number.


Like if I have a trade open with 0.06 lots if profit hits $5 per 0.01 lot (total $30) then close half trade (AUTOMATCALLY for any open trade)

so An order should automatically close at Given TP or partially close when it hits $5 per 0.01 lot in profit (whichever comes first).


I want it to have 2 levels, first level will close xx% of of trade when it it hits $yy per 0.01 lots and second level will close the rest EXCEPT the last 0.01 lot at a specific $zz per 0.01 lot. (after the second level is Triggered the order should have only 0.01 lot left open). 


xx, yy, zz are variables I should be able to set ( xx - percentage of order closure in step one, yy, zz - profit per 0.01 lot in both steps)


There should be an option to only enable step 1 or only step 2 or both. (I should be able to use only 1 rule or both rules). 

This should apply to all orders opened in the trading account. 

Also I use another EA to copy signals (open , close or edit trades) from telegram, but I don't think this should be a problem as you can run more than 1 EA in one account right?


Thanks, let me know if you have any questions. 


-Syed 




응답함

1
개발자 1
등급
(137)
프로젝트
167
35%
중재
11
91% / 0%
기한 초과
0
무료
2
개발자 2
등급
(23)
프로젝트
45
20%
중재
25
28% / 48%
기한 초과
12
27%
무료
3
개발자 3
등급
(45)
프로젝트
59
14%
중재
31
26% / 52%
기한 초과
34
58%
무료
4
개발자 4
등급
(317)
프로젝트
564
35%
중재
81
31% / 44%
기한 초과
204
36%
무료
5
개발자 5
등급
(201)
프로젝트
260
21%
중재
22
50% / 18%
기한 초과
0
로드됨
비슷한 주문
Simple MT5 indicator showing Friday close to Monday open gap on chart. Features: · Draw horizontal line at Friday close · Label showing gap size in pips · Toggle on/off
Hi. I have the statement of the Ea live results that I want to have. Please check this video from YouTube and the statement to see how the robot is working every day. I want a robot like this or better. The robot has 1-4% drawdown and 300-500% profit per month The robot works with ICMarkets Global 1:500 leverage and FPMarkets. The robot works between 10-30 minutes London session. Also the Robot can start trading from
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I'm building a trading signal platform called Tradexa , focused on US30 and Nasdaq indices. For Phase 1, I need a developer to implement the signal-generation engine based on a detailed strategy document that I will provide. Requirements Multi-timeframe analysis (H4 → H1 → M15) Generate signals on M15 only when all strategy conditions are satisfied Detect liquidity sweeps Market structure shift (BOS/CHOCH) Retest
Hi, ink it would be that much. I have an existing EA that has just stopped working, I installed a new MT4 platform onto a new laptop and now it will not execute any trades, although I have put a price of 30usd I don't think it would be that much. Thanks Roman
Need an MT5 EA coded in MQL5. Strategy uses internally calculated MT5 Heikin Ashi candles, EMA 9 and EMA 21 on M1 USDJPY. Fixed lot size 12.20. One trade at a time. 40-point stop loss. Exit after 3 consecutive opposite Heikin Ashi candles. I have a detailed strategy document and video examples of valid and invalid entries. Videos linked show MT5 IOS but custom EA code will be used for windows MT5
We need an experienced MQL5 developer to build the Equity Guardian Strategy — a risk management overlay EA designed to run alongside two existing Expert Advisors. The Guardian monitors account equity and automatically switches to Recovery Mode when drawdown reaches a set threshold. While in Recovery Mode, the EA must block or ignore trading signals from the other two Expert Advisors. The system uses dynamic hedging
Just a straight forward ea that reacts from candle close and open area using martingale option knowing what the broker charges per pair because will use it in a Z spread account so the ea will know what they charge or I can manually set charges so before ea close in profit it makes sure it covers the charges and added little profit before closing
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
Hello, I am searching an honest trader who will teach me profitable strategy that have 0/1 rules without guessing. Only serious offers please with example of trade and explanation in first message

프로젝트 정보

예산
35+ USD