Repair and Fix Problem -- EA with Grid, True False, problem with Take Profit

MQL4 지표 전문가

명시

Hello everyone, I have a problem with my EA's take profit when it works with Grid. On backtest works all fine, zero problem and all is OK. But on real account TP dont works properly.
I explain how EA works with photos

ma1
An indicator gives an entry order.
ma2
The price goes against, so the Grid opens with a TP
ma3
Another new grid trade, TP is updated
ma4
Another trade and another TP update
ma5
Another new trade and another new TP
ma6
Same, new trade from grid and new TP
ma7
Another new trade and another new TP
ma8
Close all trades by TP

This has been in Backtest. In real account, the TP is always the same, it is always that of the first operation on the grid (the one with 0.02 lots). So the only way to close all operations in a real account is to wait until all trades are in profit... You understand what I'm saying, right?
There is an error in the EA.
But the funny thing is that in pairs that start with USD it works well. In USDCAD USDCHF USDJPY the EA works great, I think because it is the same currency as the account.

But in the other pairs this error is always repeated, the TP is never updated. I think there must be some error with TRADE_TICK_VALUE or something related to the tick.

And I need too 2 small things to fix


파일:

PNG
ma1.png
20.5 Kb
PNG
ma2.png
21.8 Kb
PNG
ma3.png
22.1 Kb
PNG
ma4.png
22.8 Kb
PNG
ma5.png
24.4 Kb
PNG
ma6.png
31.3 Kb
PNG
ma7.png
31.6 Kb
PNG
ma8.png
28.5 Kb

응답함

1
개발자 1
등급
(321)
프로젝트
499
19%
중재
33
42% / 30%
기한 초과
32
6%
바쁜
2
개발자 2
등급
(48)
프로젝트
61
21%
중재
11
27% / 55%
기한 초과
5
8%
무료
3
개발자 3
등급
(17)
프로젝트
22
36%
중재
5
0% / 100%
기한 초과
4
18%
무료
4
개발자 4
등급
(19)
프로젝트
27
26%
중재
2
0% / 100%
기한 초과
2
7%
무료
5
개발자 5
등급
(2626)
프로젝트
3335
67%
중재
77
48% / 14%
기한 초과
342
10%
무료
게재됨: 1 코드
6
개발자 6
등급
(59)
프로젝트
81
43%
중재
27
11% / 70%
기한 초과
8
10%
무료
7
개발자 7
등급
(23)
프로젝트
29
14%
중재
3
0% / 67%
기한 초과
3
10%
작업중
8
개발자 8
등급
(4)
프로젝트
3
0%
중재
3
33% / 67%
기한 초과
1
33%
무료
9
개발자 9
등급
(69)
프로젝트
146
34%
중재
13
8% / 62%
기한 초과
26
18%
무료
게재됨: 6 코드
10
개발자 10
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
11
개발자 11
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
비슷한 주문
Ea sniper 90+ USD
Looking to purchase/develop EA Sniper Bot for MQL5 Requirements: Full version with all customizable settings Strategy description document (Word/Notepad format) Code review and optimization to minimize drawdown Open to reviewing AI-generated code with corrections and suggestions for improvements
**IMPORTANT** Please only reach out with a detailed message about the approximate rules of the strategy AND if you have a confirmed performance and can deliver this task. I will test the EA and/or the strategy. It is also fine if you just explain the strategy that can be used. I would be happy to trade it manually, but it needs to make sense and achieve the above goals. We can negotiate a significantly higher
SNIPER GOLD EA 50+ USD
اسكاليبنج سريع و اهداف ربح عاليه بدقه عاليه ساعات التداول من افتتاح السوق الى الساعه ٨ صباحاً ثم يغلق ويفتح تلقائياً من العصر الساعه ٦ عصراً الى الساعه ٨ صباحاً مع الحفاظ على راس المال دون استخدام تراينجل او جارد ولا يعنل وقت الاخبار ويقوم بتأمين الصفقات الرابحه بسرعه عاليه جداً والذقه في اختيار الصفقات اعتماداً على price action واقل drawdown التركيز على اوقات السيوله العاليه ادارة راس
Hello, I am looking for a good algo code for XauUSd trade any one good algo suggest me. Note:- 1. High winning rate 2. Min. 1 Year Back tested data required I pay good amount for this if any one selling this type algo
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
Hello, My budget is $30, for all job I have four expert advisors on MetaTrader 5. I want to add a trailing stop loss to all four experts in the same way, based on the stop loss percentage. For example, If I set the trailing stop loss percentage in the input menuto 100%, and the stop loss to 500 points, this means that if the price moves 10 points in profit, then the stop loss will also move 10 points, and so on. If I
Ai 1. Trend identify up or down through lMA 50 at daily time frame ( if market stay above LMA 50 is called up trend & stay down lMA is called Down trend. 2. Entry :for uptrend buy & down trend sell though cross over lMA 50by21 & 21 by 14or7 ( customisable )1m or 5m flexible time 3. Daily target Floating loss (DD) if over no entry as % - close all 4. TP, break even after 2 pips (customisable)& SL option
Scalper in life 100+ USD
//+------------------------------------------------------------------+ //| XAUUSD FULL AUTO SAFE BOT MT5 | //| Converted from Pine Script v5 | //+------------------------------------------------------------------+ #property copyright "Converted by ChatGPT" #property version "1.00" #property strict #include <Trade/Trade.mqh> CTrade trade; // === INPUT === input double LotPercent =
Zoroe 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD H1 Auto Trading Bot | //| Works on MT5 Desktop / VPS | //+------------------------------------------------------------------+ #property strict input double LotSize = 0.1; input int StopLossPoints = 200; input int TakeProfitPoints = 400; input int MagicNumber = 777; int emaHandle;
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you

프로젝트 정보

예산
50+ USD
기한
 10 일