Automatic Trailing Stop Based on Take Profit Percentage with Profit MT5

Техническое задание

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%
Свободен
Похожие заказы
Please convert the Pine Script below into MQL4 Indicator: // @version= 5 // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © KivancOzbilgic //created by: @Anil_Ozeksi //developer: ANIL ÖZEKŞİ //author: @kivancozbilgic strategy ( 'Twin Optimized Trend Tracker' , 'TOTT' , overlay = true ) src = input ( close , title = 'Source' ) length = input.int ( 40
hi I have a script in Tradingview that looks good which shows the buy and sell automation. I wanted to see if that can be used in ninja Trader so I converted it for Ninja Trader. But it is not triggering the buy or sell trade like it shows in the tradingview script. Please let me know if you can help me with the script that will work in Ninja Trader just like the one in Trading View. I have the buy and sell signals
I have an indicator that shows green and red bar depending on the market trend. The struggle is not just converting the .mql4 to .mql5 but to have the same calculation and resulting the same view as in the metatrader4 I will share the file in the chat discussion :)
Hello all, I am currently looking for someone that has a telegram copier to copy signals to MT5 and/or MT4. Or also may need customised abit. Will send samples Much help is appreciated Thanks
I have mt4 indicator that is working perfectly but I want to convert it into tradingview strategy. Can I get an expert to get this done for me? I want the strategy to work perfectly on Tradingview
Hello, I am looking for a coder who could translate or convert an MT4 indicator (.mq4 file, source code available) to TradingView's Pine Script. It should be exactly the same indicator, with the same inputs and other settings. Once you complete the job, you will send me the indicator, with full source code for Pine Script. This work will remain confidential. Aslo need to add some extra features to It like visible
I have mt4 indicator that is working perfectly but I want to convert it into tradingview strategy. Can I get an expert to get this done for me? I want the strategy to work perfectly on Tradingview
Hello, I need to convert a trading view pinescript into a MT5 EA. It just need to trade when the signal appear with fixed SL and TP. If you have trouble to convert into MT5, MT4 can be possible as well
Hello I am new to MT4/MT5, I previously traded for a company with their own internal execution platform. I am looking for someone who can help me understand MT5, how to set up charts, indicators, advisors and back-testing etc.. basically a intro to a new user. I am particularly interested in learning is it possible to trade/execute spreads via MT5 - ie simultaneously buy MSFT and sell DELL, and when you trade out you
Hello, I am looking for someone to convert my MQL4 code project to MQL5. A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from using Excel and let

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD