Equity Close with trailing by sum of a list of Magic Number

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 5 días
Comentario del Cliente
thanks for your hard work!
Comentario del Ejecutor
Thank you CHAN

Tarea técnica

I would like to add some new function in the existing utility (or if you think write a new one is easier just go for it)

----------------------------------------------------------------------------------------

short form for easy communication


Magic Number = M#

Trailing Start = TS

Virtual Trailing Distance = VTD

----------------------------------------------------------------------------------------

To be simple, The existing utility allows user to TP/SL by the sum of a list of M#


For example, 

M# = 111;222

Global TP in $$ =10

Then for M# 111, floating gain $4, for M# 222, gain $6, total $10, then TP

———————————----------------------------------------------------------------------------------------

I would like to add the following


Global TP with TS and VTD

Very simple, 

if TS=10, VTD=3, then for sum of M#=111;222, TS when floating gain =10

——————————----------------------------------------------------------------------------------------


Global TP and Trailing per 0.01 Lots

This allows the trailing start and distance vary in different lots sizes



For example,

M# in control = 111;222

Global TS in $$ per 0.01 = 10 , VTD =3

GBPUSD (M#=111)

Long 0.02

EURUSD (M#=222)

short 0.03


in this situation, Total lots = 0.05

TS in reality =50

VTD = 15


Condition - If VTD=0 -> Not in USE, TP immediately when the floating gain hits TS

-------------------------------------------- Dynamic SL--------------------------------------------


one thing extra, can you do it? 

Dynamic Stop Loss by equity top return. 

Dynamic SL Start  =300

Dynamic SL Top Return =100

# of Top Return =2

Ultimate SL =500


This means, for those M# in control, in some points the floating loss is 320, and return to 220(count+1), then hits 350 again, and return to 250(count+1=2), then hits 300 again, at this points stop loss


(Another way to understand this —Like Trailing Stop Loss Start=300, Trailing SL Distance=100, but not SL immediately, just counter+1


In anytime the floating loss hits 500, SL immediately without considering Top Return


Therefore, there are only two results for this function - SL300 or SL500





----------------------------------------------------------Requirement ---------------------------------------------------------

Additional Requirements

  1. Please do testing before delivery
  2. follow up service if there is bug found


--------------------------------------------This is the question you need to let me know--------------------------------------------

Pls state:

Do you understand what I exactly mean, if not, please ask me for clarify!!

Delivery time

Do you understand one thing extra - dynamic SL and can you do this?

What is your quote with or without Dynamic SL 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I will attach the original project specification, parameters, and mql4, 

you may take a look


-------------------------------------------- This is the project specification of the original project --------------------------------------------



I want to do a utility. It is just for closing existing orders (open positions and pending orders both included)


— Close by Time —

Function = ON/OFF

Magic Number = 1,2,3,4,5


(Input -1 for all magic, Input 1,2,3,4,5 for magic only 1,2,3,4,5)


Hour = 16

Minute = 50

—> Close all orders/positions for magic 1,2,3,4,5 at 16:50:00 in broker time


Example 2

Function ON

Magic =1,2,3,4,5

Hour = 0

Minute = 50

—> Close all orders/positions for magic 1,2,3,4,5 at every XX:50 in broker time. It means: close all at 15:50, close all at 16:50, close all at 17:50…. Goes on


— Close by Profit —

Function ON/OFF

Magic Number = -1

Dollars = 5

—> Total floating profit in that magic number (in the case, all magic numbers) > $5 —> close all orders with that magic numbers  (in the case, all magic numbers) 


Example 2

Magic Number = 1,2,3,4,5

Dollars = 10

—> TP when profit > 10, applies for those magic numbers, i.e. the final result is TP $10 for the sum of magic #1,2,3,4,5


— Close by Loss —

Function ON/OFF

Magic Number = 1,2,3,4,5

Dollars = 5


---------------------------------------------------------------------------- End ---------------------------------------------------------------------------- 



Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
2
Desarrollador 2
Evaluación
(16)
Proyectos
25
52%
Arbitraje
1
0% / 0%
Caducado
4
16%
Trabaja
3
Desarrollador 3
Evaluación
(74)
Proyectos
121
43%
Arbitraje
12
33% / 50%
Caducado
17
14%
Libre
Solicitudes similares
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later

Información sobre el proyecto

Presupuesto
50+ USD
Para el ejecutor
45 USD