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

MQL4 전문가 스크립트

작업 종료됨

실행 시간 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%
중재
24
29% / 46%
기한 초과
12
27%
무료
3
개발자 3
등급
(45)
프로젝트
59
14%
중재
31
26% / 52%
기한 초과
35
59%
무료
4
개발자 4
등급
(249)
프로젝트
448
34%
중재
57
37% / 37%
기한 초과
165
37%
로드됨
5
개발자 5
등급
(135)
프로젝트
177
18%
중재
17
47% / 18%
기한 초과
0
작업중
비슷한 주문
I am looking for a developer to create a script for MetaTrader 4 (MT4) that automatically reconnects to my broker account when the connection is lost. The script should continuously monitor the connection status and reconnect without requiring manual intervention whenever the platform is active but disconnected. The goal is to maintain a stable and uninterrupted connection to my account. If possible, the solution
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding

프로젝트 정보

예산
35+ USD
개발자에게
31.5 USD