Script to trail the breakeven

MQL4 전문가 스크립트

명시


i want a breakeven that work as trailing stop 
as example : i need to set a target profit and stop loss.
setting in the script:
- 1)At X pips in profit increment with Y lot position.
- 2)At X pips in profit increment with Y lot position.
- 3)At X pips in profit increment with Y lot position.                   
- 4)At X pips in profit increment with Y lot position.
- 5)At X pips in profit increment with Y lot position.
- 6)At X pips in profit increment with Y lot position.  

Draw a breakeven line and move stop loss to breakeven anytime we will increment lot position.

Example : buy with 300 target profit and 100 stop loss with 0,1 lot size.

-1)At 50 pips in profit increment buying again with +0,1 lot size .   In the meanwhile script will move stop loss to breakeve that is now at +25 of the initial trade.
-2)At +100 pips in profit increment buying again with 0.5 lot size . in the mean while script will move stop loss to breakeven again, calculating it.
-3)At +170 pips in profit increment buying again with 0.8 lot size.   in the mean while script will move stop loss to breakeven again, calculating it.
And so on...
I want to decide how many step to increment, with a maximum of 8 steps.
I want to test it  in backtest of metatrader.  

응답함

1
개발자 1
등급
(71)
프로젝트
156
44%
중재
22
41% / 14%
기한 초과
16
10%
무료
게재됨: 10 코드
2
개발자 2
등급
(25)
프로젝트
50
28%
중재
47
9% / 72%
기한 초과
23
46%
무료
3
개발자 3
등급
(46)
프로젝트
73
16%
중재
13
8% / 92%
기한 초과
37
51%
무료
4
개발자 4
등급
(91)
프로젝트
144
38%
중재
67
15% / 48%
기한 초과
55
38%
무료
5
개발자 5
등급
(121)
프로젝트
134
66%
중재
36
25% / 56%
기한 초과
22
16%
무료
게재됨: 10 코드
비슷한 주문
I would like to buy ea that is proven to be good need to have stable profit and can be very unstable DD but not more than 40 %you can send eas in dm for sale. I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
Boom & Crash Counter-Spike EA for MT5 (Deriv) Project Overview I am looking for an experienced MT5 (MQL5) developer to build a clean, reliable, and well-structured Expert Advisor for trading Boom and Crash indices on Deriv. The EA is designed to trade strictly against spikes: Always SELL Boom indices Always BUY Crash indices This is not an indicator-based or signal-generating system. The EA executes and manages
I need a basic simulated trading environment for a prop firm. Requirements: • Simulated trading (no broker branding) • Real-time price feed • Manual admin dashboard • Ability to manually set: • Total drawdown • Daily drawdown • Profit target • Trader dashboard (read-only) • Simple UI (no automation required) Platform: • MT5 or web-based Budget: • $300–$500 This is a basic version, not enterprise software
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar
The robot will take buy trades when the 2 ema cross over the 10 ema and price has closed above the 50 ema. The take profit and stop loss can be set as an optional level by the user. The robot will take sell trades when the 2 ema cross under the 10 ema and price has closed under the 50 ema. The take profit and stop loss can be set as an optional level by the user. The entry timeframe will be 15 minutes, but it could
GoldTrade EA 30 - 60 USD
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own

프로젝트 정보

예산
10 USD