Automatic Trailing Stop Based on Take Profit Percentage with Profit MT5

MQL5 エキスパート 変換

指定

Hello, I want to create an EA like this. There's a version for MT4 but I can't find it for MT5.

Lock in your profits and "let your winners run" past your 100% take profit target with this EA. 

This Expert Advisor automatically adjusts your Stop Loss based on up to 4 user-defined Take Profit Target Percentages, locking in your profit.  If price pushes past your 100% take profit target, the EA will automatically trail the price by user-defined pips, so you won't miss that runaway train again.  

EA Features

The EA can be used on multiple, multi-direction trades on the same asset by attaching itself to specific trades based on order/ticket number.  (Just attach the EA to a new chart for each trade and input the correct order number).
Stop Loss automatically adjusts to previous take profit target
Stop Loss activates Trailing By Points feature to lock in extra profits on trades that go past your initial 100% take profit target
How this EA works (do this after executing a trade):

1. User defines an initial take profit target and initial stop loss in points (Note:  You must use POINTS, NOT PIPS here).

2. User defines 4 take profit percent targets.  

For example:

TP1 = 25% (of total initial take profit target)
TP2 = 50% (of total initial take profit target)
TP3 = 75% (of total initial take profit target)
TP4 = 100% (of total initial take profit target)

3.  User defines the Stop Loss percent steps.

For example:

When TP1 (25%) is hit, SL adjusted to 12.5% (of total initial take profit target).
When TP2 (50%) is hit, SL is adjusted to 25% (of total initial take profit target).
When TP3 (75%) is hit, SL is adjusted to 50% (of total initial take profit target).
When TP4 (100% is hit, SL is adjusted to 85% (of total initial take profit target)

*** When TP4 (100%) is hit, the "Trail By Points" feature is also activated, following the trade indefinitely by user-defined points.***


This EA will allow you to lock in your profits while also allowing you to capitalize on trades that push way past your original target!



EA Input Parameters


Ticket Number:  The specific order/ticket number of your trade.  
Take profit in Points : Set your initial take profit in points (very important to use points here, not pips)
Stop-Loss in Points : Set your initial stop loss in points (very important to use points here, not pips)
TP1 - TP4 Percents : Split up your initial Take Profit into percentages at which you want the EA to step up the Stop Loss (default is 25%, 50%, 75%, 100%)
SL1 - SL4 Percents : Set the percentages at which you want your Stop Loss to adjust when hitting corresponding Take Profit Targets
***For example, when TP1 25% is hit, EA moves SL to 12.5% (SL1);  when TP2 50% is hit, EA moves SL to 25% (SL2), and so on***

応答済み

1
開発者 1
評価
(19)
プロジェクト
35
26%
仲裁
10
30% / 70%
期限切れ
5
14%
2
開発者 2
評価
(199)
プロジェクト
287
52%
仲裁
0
期限切れ
1
0%
3
開発者 3
評価
(5)
プロジェクト
9
11%
仲裁
5
40% / 60%
期限切れ
1
11%
類似した注文
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project
Hello, is it possible to be made accommodation of provided signal for Forex for mt4? I bought a signal for multiple pairs. it is executing all pair.I want to use it on couple of pairs.Is it possible to be made some modifications?I do not have codes for the signal

プロジェクト情報

予算
30+ USD
開発者用
27 USD