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

MQL4 指标 专家

工作已完成

执行时间5 天
员工反馈
Thank you CHAN
客户反馈
thanks for your hard work!

指定

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 ---------------------------------------------------------------------------- 



附加的文件:

反馈

1
开发者 1
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
发布者: 8 代码
2
开发者 2
等级
(16)
项目
26
54%
仲裁
1
0% / 0%
逾期
4
15%
工作中
发布者: 3 代码
3
开发者 3
等级
(75)
项目
124
44%
仲裁
14
29% / 50%
逾期
17
14%
空闲
相似订单
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
HFT EA 70+ USD
I need an experienced MQL5 developer to build a High-Frequency Trading (HFT) EA for MT5 , designed to generate high returns from small capital through fast scalping. Important: Attached videos must be watched and analyzed before applying. The EA should follow the trading concepts demonstrated in the videos, with proper risk management and optimized execution. https://vt.tiktok.com/ZSgp9jsFM/
I’m looking for an experienced MQL4/MQL5 developer with proven expertise in genuine high-frequency trading (HFT) or ultra-fast scalping Expert Advisors. Project requirements: Develop MT5 versions with complete source code and no restrictive licensing. Implement fast execution, selective entries, and rapid trade exits. Support XAUUSD Include robust risk controls: stop-loss, drawdown limits, spread/slippage filters
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly

项目信息

预算
50+ USD