Delete the stop loss in grid trading.

MQL4 Experts

Specification

I want to add. to my ea pay back 
I want to have a Max on the grid step.
Because sometimes the market is ranging and the same grid steps 5 times or more 
It's getting close and open, close and open. To many times.
So I want to add. Maximum Payback for this grid step 1.2.3.
So if I set it for 0. It will delete. The stop loss. As long as ranging in this grid step.
After it went out of the grid step. Replace the stop loss.
As long as ranging in this grid step. And the first order did not reach the payback.

So let's say I had a sell. At 149 
Hit stop loss at 150.
Payback by happen at 150.
To reach 151.tp
So you will delete the stop loss for the new Sell 149.
After the market reached 151.
First payback. Hit the target.
Only then replace the stop loss.
For the new 149.sell
as long the beginning of the story of this 149 Cycle SL happened.
As long it has  not reach its payback by any cycle.
No new game at 149 sell. Will have a stop loss.
But 148.147. 146.
Can have stop loss.
(unless it will go over the Max You have coded it already)
And the 148, 147,146 ........will begin his new game for Cycle Payback. 
If 148. Will reach the stop loss at 149.
And the payback Buy happened. At 149.
So a new pay back game cycle will be for this 148.
And the same logic now the new 148 will not have a stop loss.
Till the first 148 will reach his payback.

Responded

1
Developer 1
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
2
Developer 2
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
3
Developer 3
Rating
(23)
Projects
34
53%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
4
Developer 4
Rating
(12)
Projects
24
50%
Arbitration
1
100% / 0%
Overdue
6
25%
Free
5
Developer 5
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
6
Developer 6
Rating
(13)
Projects
15
27%
Arbitration
3
67% / 0%
Overdue
0
Busy
7
Developer 7
Rating
(3)
Projects
4
0%
Arbitration
1
0% / 0%
Overdue
0
Free
8
Developer 8
Rating
(10)
Projects
19
37%
Arbitration
2
0% / 100%
Overdue
4
21%
Loaded
9
Developer 9
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
11
Developer 11
Rating
(32)
Projects
33
61%
Arbitration
1
100% / 0%
Overdue
1
3%
Working
Published: 5 codes
12
Developer 12
Rating
(39)
Projects
52
19%
Arbitration
15
27% / 67%
Overdue
8
15%
Free
Published: 1 code
13
Developer 13
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
14
Developer 14
Rating
(13)
Projects
20
40%
Arbitration
3
0% / 67%
Overdue
3
15%
Free
15
Developer 15
Rating
(7)
Projects
5
0%
Arbitration
6
0% / 83%
Overdue
1
20%
Working
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(3)
Projects
6
17%
Arbitration
1
0% / 0%
Overdue
1
17%
Working
18
Developer 18
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
19
Developer 19
Rating
(5)
Projects
9
22%
Arbitration
0
Overdue
4
44%
Working
20
Developer 20
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
23
Developer 23
Rating
(255)
Projects
262
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
24
Developer 24
Rating
(52)
Projects
58
59%
Arbitration
4
0% / 25%
Overdue
1
2%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
27
Developer 27
Rating
(627)
Projects
989
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Working
Published: 6 codes
Similar orders
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or

Project information

Budget
30+ USD
Deadline
to 1 day(s)