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

MQL4 指标 专家

工作已完成

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

指定

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%
空闲
相似订单
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and

项目信息

预算
50+ USD