FIX TRAILING STOP EA

MQL4 Indicateurs Experts

Tâche terminée

Temps d'exécution 3 minutes
Commentaires de l'employé
Nice to to meet you :)
Commentaires du client
Fast response .. professional .. and great job .. He fixed errors in my EA. Recommended !

Spécifications

Hi,

I have an EA open trades based on Dual Bermaui Deviation Percent. It works fine but I have one problem. Sometimes the trailing stop doesn't work even if it hits the set point.

The opening trades in the EA based on Grid-Martingale strategy. It has three take profit options:

Take Profit: for the first position

Average Take Profit: After second position "Grid-Martingale"

Trailing Stop: *It will start and close all positions in profit, not one trade only.


Example:

USDJPY from 2/4/2021 .. if I set Take Profit to 100, it will work fine. But, if I set the following:

Take Profit: "9999" points

Trailing start: "100" points

Trailing stop: "50" points

Trailing step: "50" points

it doesn't start trailing when it hits 100 points for buy positions, but it works fine for sell positions. It will keep opening positions (Grid) and the trailing never starts for the first buy trades.


A live example.. Sometimes it works, but I don't know the error why sometimes doesn't start the trailing stop.




Répondu

1
Développeur 1
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
2
Développeur 2
Évaluation
(24)
Projets
28
32%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
(5)
Projets
9
11%
Arbitrage
5
40% / 60%
En retard
1
11%
Gratuit
4
Développeur 4
Évaluation
(252)
Projets
462
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
5
Développeur 5
Évaluation
(61)
Projets
83
45%
Arbitrage
27
11% / 70%
En retard
8
10%
Gratuit
6
Développeur 6
Évaluation
(258)
Projets
269
29%
Arbitrage
2
50% / 0%
En retard
3
1%
Travail
Publié : 2 codes
7
Développeur 7
Évaluation
(472)
Projets
491
75%
Arbitrage
6
67% / 17%
En retard
0
Travail
8
Développeur 8
Évaluation
(6)
Projets
10
10%
Arbitrage
9
0% / 89%
En retard
1
10%
Gratuit
9
Développeur 9
Évaluation
Projets
2
0%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(87)
Projets
114
26%
Arbitrage
7
29% / 57%
En retard
5
4%
Gratuit
11
Développeur 11
Évaluation
(211)
Projets
274
21%
Arbitrage
24
54% / 17%
En retard
0
Gratuit
Commandes similaires
Create a fully automated MetaTrader 5 (MT5) Expert Advisor (EA) in MQL5 based on the following exact trading strategy. STRATEGY NAME: Previous Day High/Low Daily Breakout Strategy INSTRUMENTS: 1. XAUUSD — fixed lot size: 0.01 2. EURUSD — fixed lot size: 0.10 TIMEZONE: All strategy times must be calculated in Indian Standard Time (IST / UTC+5:30). The broker's server time may be different, so the EA must correctly
OVERVIEW: I am looking for an experienced MQL developer to build a proprietary Expert Advisor (EA) specifically optimized to PASS evaluation challenges on modern prop firms (specifically targeting The 5%ers execution rules). The EA must rely on momentum and volume expansions, completely avoiding toxic strategies such as Grid, Martingale, or averaging down. Every trade must protect the account's daily drawdown
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double

Informations sur le projet

Budget
30+ USD
Délais
à 1 jour(s)