How to incorporate this type of trailing stop?

MQL5 Experts

Specification

Hi,

I currently have a system that opens a trade almost every 5 minutes.

I'm currently trying to wrap my head around creating a trailing stop loss that does something like this:

"when price moves to 5 pips in profit stoploss is moved to entry when price moves to 8 pips in profit stoploss moves to 4 pips"

Would really help a ton if you can share code/ideas that I can incorporate into my EA or run as a standalone script/EA.

Thank you


Responded

5
Developer 5
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
6
Developer 6
Rating
(46)
Projects
80
13%
Arbitration
11
0% / 91%
Overdue
51
64%
Free
7
Developer 7
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
8
Developer 8
Rating
(586)
Projects
1048
49%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
Dear Developer, I am reaching out to request some modifications to an EA I am currently using. The EA involves a Martingale strategy with a recovery mode, but there are issues with its functionality that need to be addressed. I would appreciate your assistance in modifying and improving the EA to ensure it performs correctly. Below are the specific issues and requests for modifications: 1. Martingale Not Functioning
Hello, I want offline Renko chart based on pips and time. Trading View Renko chart is a perfect example of what I require, it prints renko bricks at close of time frame chosen which is more cleaner. The Trading View Renko chart wait until end of desired timeframe candle to close before final renko bricks are drawn. Best is to look at Trading View renko charts to see exactly how this works. I currently have an
Check if you understand my explanation crypto bot or make it mt5 bot Once it opens buy and move positively to buy let it use auto trailing to follow the trend and if it opens buy and move negatively let it martingale I will choose the amount it will open with example I can set it to open with $1 In martingale I can set it on fix that’s any martingale position will still be $1 if I choose fix then it will martingale
Toni 30+ USD
I developed a robot that opens trades at a specified hour and a second and closes them at a profit I want to upload the robot to MQL5 and I have errors that do not allow me to upload it (this robot works correctly in trading in my MT4) I need someone to modify the robot so that the MQL5 site will approve me to put it up for sale
Martingale Strategy EA 50 - 300 USD
Dear , I hope this message finds you well. I would like to request the development of a trading robot (Expert Advisor) that incorporates the following strategies and features: Strategy Requirements: 1. Martingale Strategy: The robot should include a Martingale system to increase trade sizes after losses in order to recover losses and generate profit. 2. Trend-Following: It should also be able to detect and follow
Excellent trade 30 - 40 USD
I need a developer that will modify an EA that is made using 4 indicators, example, volume, average true range,RSI and MFI, this EA is user input and input adjustable, any programmer that can do this job should Apply and lets proceed
Hi, Scalping ea is required in mql5 for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). Scalping ea should be profitable. Please help on this
Looking for someone to implent the following grid strategy into my existing EA: Overview : I need a skilled developer to implement a grid recovery strategy into my existing Expert Advisor (EA) for MetaTrader 4 (MT4). The strategy involves adding grid trades based on price movement and adjusting lot sizes according to specific rules. It also includes closing trades at breakeven points and full position closure when a
Hey Guys i've a PineScript /Source Code / ( Trading View ) indicator which has Buy and Sell Sign . i wanna make a MT5/4 Robot by it with some features . I need it has a simple panel to shows some details of robot at screen
Hi dear coders, I have an EA and for this EA I want additional code for Risk Management at my code, trade is triggered with this line int TheTicket = OrderSend(_Symbol,TradeType,(double)DoubleToString(TheLots,2),TradeType==OP_BUY?Ask:Bid,10,TheSL,TheTP,TheComment,MagicNumber,0,TradeType==OP_BUY?clrBlue:clrRed); I want you create a code and tutorrial how to change my code. the new code will be Risk Management Inputs

Project information

Budget
30+ USD
For the developer
27 USD