Trailing stop, trailing step and start EA

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 1 ora
Feedback del cliente
The developer was fast, efficient, and delivered everything promised. I enjoyed the experience working with this developer. I look forward to working with you again!
Feedback del dipendente
Thanks a lot

Specifiche

Hello,


I am looking for a trailing stop that will activate after a custom threshold and then trail by a custom level of pips.

This trailing stop moves the stop loss up or down with the order price after it first reaches profit threshold, thereby “locking in” profit and providing loss protection.

For instance,  if you set the profit threshold to 50 and the trailing stop to 50, the trade will have to move 50 pips in profit before the trailing stop is activated, at which point the stop will be moved to break even. 

If you further indicated that your trailing step is 5, then the market would have to move up 5 pips more in profit before your stop would rise 5 pips above breakeven.  It would then adjust increasingly upwards on that basis, locking in 5 more pips of profit for each additional 5 pip gain.

I envision three external variables for this new trailing stop, one indicating the profit threshold, the other indicating the trailing stop, and the last indicating the stepping distance:
extern double TrailingStart = 50;
extern double TrailingStop = 25;
extern double TrailingStep = 5;

The variables that the user manipulates are thus the TrailingStart, which is the profit threshold that needs to be achieved before the trailing stop can be activated;

the TrailingStop, which is the amount of pips we will trail from new profit highs;

and the TrailingStep, the amount of new pips that need to be gained before the stop can be increased by the amount of the gain.   


Thanks and regards,

Con risposta

1
Sviluppatore 1
Valutazioni
(878)
Progetti
1391
67%
Arbitraggio
117
32% / 42%
In ritardo
215
15%
Gratuito
2
Sviluppatore 2
Valutazioni
(192)
Progetti
232
30%
Arbitraggio
1
100% / 0%
In ritardo
9
4%
Gratuito
3
Sviluppatore 3
Valutazioni
(584)
Progetti
915
46%
Arbitraggio
31
39% / 29%
In ritardo
93
10%
In elaborazione
4
Sviluppatore 4
Valutazioni
(368)
Progetti
465
40%
Arbitraggio
82
37% / 33%
In ritardo
13
3%
In elaborazione
5
Sviluppatore 5
Valutazioni
(590)
Progetti
789
71%
Arbitraggio
9
33% / 33%
In ritardo
22
3%
Gratuito
6
Sviluppatore 6
Valutazioni
(464)
Progetti
692
56%
Arbitraggio
43
30% / 33%
In ritardo
112
16%
In elaborazione
7
Sviluppatore 7
Valutazioni
(67)
Progetti
79
33%
Arbitraggio
6
50% / 33%
In ritardo
7
9%
Gratuito
8
Sviluppatore 8
Valutazioni
(20)
Progetti
29
55%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(251)
Progetti
402
38%
Arbitraggio
82
41% / 20%
In ritardo
70
17%
In elaborazione
10
Sviluppatore 10
Valutazioni
(199)
Progetti
287
52%
Arbitraggio
0
In ritardo
1
0%
Gratuito
11
Sviluppatore 11
Valutazioni
(5)
Progetti
7
14%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(169)
Progetti
204
30%
Arbitraggio
25
40% / 44%
In ritardo
12
6%
Gratuito
13
Sviluppatore 13
Valutazioni
(3)
Progetti
1
100%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(22)
Progetti
18
6%
Arbitraggio
31
3% / 65%
In ritardo
5
28%
Gratuito
15
Sviluppatore 15
Valutazioni
(1119)
Progetti
1421
62%
Arbitraggio
21
57% / 10%
In ritardo
43
3%
Gratuito
16
Sviluppatore 16
Valutazioni
(14)
Progetti
21
24%
Arbitraggio
9
33% / 44%
In ritardo
8
38%
Gratuito
Ordini simili
Make a horizontal line for the following. Opening candle ( Keep a solid line across the entire chart for the day. Sessions Opening candle ( Keep a solid line across just the time frame specified only. Then when it restarts, start a new line) 15 mins 30 mins 1 hr 4 hr Daily Weekly Monthly Example —————————————————————————————————————— Entries Order Type Buy Sell Both Set a pip count for entry. Example Long
Need an expert to create an EA based on my strategy for any broker,fast execution of opening and closing trade,also with a condition for take profit,lot size isn't fixed,it should be easy to change without editing the code for a no programmer
Hello there, I have a functional EA that I need a modification done to. Previous developer is overloaded with work and has been dragging his feet. Basically what I need is a modification to the Auto Lot option. Currently you can set a lot size per x amount of account balance and it will auto trade readjusting the lots based on account balance. What I am looking for is a modification that allows me to specify the
I need a robot/Ea that can open pending orders based on th market price for SELL/BUY fora given pair. It needs a few configurable parameters like: MARKET_PRICE --> As described, it is the entry point from where to create an initial marker for the orders. (The real market price for a PAIR) INITIAL_GAP - this is a number in pips that, in addition to the MARKET price, becomes the first real entry point for the first
I already have a Trading View EA for Renko Candles with most of what is required. However i am looking for it to be modified with a few extra options. This is what I am looking for as a whole. Rules Trades executed on Renko Candles on Trading View Only allow one trade at a time. Buy/Long trade closes when Sell/Short trade opens, and visa versa. Ability to exclude certain days from opening trades. E.g. no trades to
Please note that my budget is for both mt4 and mt5 platforms The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a sell
I have working MT4 and MT5 example program code using pipes via importing kernell32.dll in MT5 to receive transactional messages sent from another MT4 instance running. Most of the time it works fine. But intermittently I get an ‘Access violation’ error generated showing in the Experts tab of MT5. It fails to read the message sent from MT4 and does not trap the error. Also, when I try it on a different VPS computer -
A Hedge EA 50+ USD
Hi I need someone to develop a Hedge EA with specific actions once the maximum number of trades is reached before TP The input would determine the maximum number of hedge before the specific actions take place As an example if the maximum number of of trades is 3 and the hedge mutiplier is 3 Initial trade(Buy): 1 lots Hedge (Sell): 3 lots (1x3) Hedge (Buy): 9 lots (3x3) Then the maximum trades number is reached - no
Helo Geeks i need an experienced developer of forex Eas who can make my purchased EA that has the activation llicense to run to my mt5. I have purchased this EA to someone on telegram but he just not responding to me to give me activation license ,but i believe there are geeks here who can make it run to my mt5. i will share more details on that
Am nevoie de o conversie a unui EA din mql4 in mql5. La final sa fie testata, compilata si rezultatul sa nu aiba erori. Modificarea parametrilor sa se faca dint-un fisier cu extensia txt. Am eu modelul Hi. I need a conversion of an EA from mql4 to mql5. At the end, it should be tested, compiled and the result should have no errors. Modifying the parameters should be done from a file with the extension txt. I have the

Informazioni sul progetto

Budget
30 - 40 USD
Per lo sviluppatore
27 - 36 USD
Scadenze
da 1 a 2 giorno(i)