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
空闲
相似订单
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
Pakayaku Robot Trading 30 - 200 USD
Revolusi Trading BTCUSD dengan Presisi Fibonacci & Ichimoku Kumo "Memperkenalkan Pakayaku Robot Trading , asisten cerdas yang dirancang khusus untuk menaklukkan pasar emas (XAUUSD) dan Bitcoin (BTCUSD). Menggabungkan algoritma Fibonacci Retracement untuk akurasi titik pantul dan Ichimoku Kumo sebagai filter tren global. Mengapa Memilih Pakayaku? Analisa Multi-Indikator: Menggabungkan Fibonacci, Ichimoku, dan
I’m looking to purchase an existing high-risk Expert Advisor (EA) for MT5. This is NOT a low-risk or conservative system. I am specifically looking for a high-risk, aggressive strategy such as: Martingale Grid trading High-frequency / high-leverage systems Objective: The goal of this EA is simple: Achieve extremely high returns (e.g. 100% in a day) I fully understand and accept the risk of losing the entire capital

项目信息

预算
30+ USD
截止日期
 10 天