Modify EA with a SL mover and Loss Calculator

MQL4 专家

工作已完成

执行时间13 天

指定

Requiring some elements to be incorporated into an existing EA.

The elements are:

1.       A stop loss mover (creating a stop loss at a number of pips from entry after price moves a set distance from entry)

2.       A loss calculator that can modify existing orders.

 

Note the existing EA allows the trader to group tickets of market and pending orders into baskets; therefore, both elements need to be able to be applied uniquely to these individual baskets as well.

1.       Stop Loss Mover

The stop loss mover is fairly typical.  The trader specifies the number of pips price has to move in profit and the number of pips to move (or create) a stop loss from the entry price.

However there are a couple additional considerations for this SL mover.

a)      It needs to be applied to number of unique baskets (groups of tickets)

b)      It needs to be applied to only the first active ticket of that basket.  If more than one ticket is active (not pending) then the SL mover will not function.  This means that if a SL is specified in the GUI by the trader and no orders are open – the SL will be applied to the only the first pending order that triggers.  If of the group of tickets there is only one order active and the user enters a SL – it will apply to that open order and none of the others.  However, if there are 2 open orders in the basket and a user enters a SL – the SL mover will not function.

c)       It needs to cancel the other tickets in the basket if the stop loss is hit

d)      Needs to have 2 fields incorporated into the GUI.   “Bounce” which is the number of pips needed to move from price before SL is created.  And “SL Move” which is the number of pips from entry where the Stop Loss is created.

 

2.       Loss Calculator and Modifier

The baskets are comprised of an entry and a number of pending hedge orders to scale out of the position.  So all the orders are the basket should have a NET LOT of “Zero” and if they all trigger then a floating loss will be realized.  The calculator needs to calculate the loss that will be realized if all orders hit and a hedged floating loss is locked in. 

It also needs to modify orders in the basket to a % risked as set by the trader.  So if the EA calculates a loss of 0.3% for the basket if all trades are executed and it is hedged flat, and they wish to either decrease or increase the % at risk for the basket – they can enter that amount and the lot sizes will adjust accordingly. 

The GUI will also have fields showing: Net Lots; Current % at Risk; Modified % at Risk; and and Execute button if trader wants the EA to modify orders to match that risk.

More details can be provided in private and price can be negotiated.


反馈

1
开发者 1
等级
(43)
项目
74
50%
仲裁
5
0% / 60%
逾期
19
26%
空闲
2
开发者 2
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
相似订单
I need a high-speed Expert Advisor (EA) for MT5 designed specifically for XAUUSD (Gold) scalping. The bot should focus on fast entries and quick profits with high efficiency. Main requirements: 1. Symbol: XAUUSD (Gold only). 2. Platform: MetaTrader 5. 3. Strategy type: Scalping (fast trades, quick profit). 4. The bot should open trades frequently based on fast market movements. 5. Small Take Profit (quick profit
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes

项目信息

预算
30+ USD
截止日期
 10 天