Modify open orders when range changes

MQL4 专家

指定

1. for some reason it doesnt work if you put it on a chart that is one of the pairs being traded after the last job it will work on all other pairs properly except the one you place the ea on on this one it closes right away at stoploss of zero so what i did is put it on a pair i dont trade and it works perfectly however i am unable to run testing on the strategy tester as result so I would like to get this fixed. Attached is the preset file you will see if you choose a pair that it isnt trading and put on a demo account it works perfectly but if you run on strategy tester which doesnt give you this option it doesnt. 

 

2. I would like to make an input in the general settings which applies to all that will modify the open orders stoploss, takeprofit and trailing stops to the new pip range data when it changes that we can set to true or false if on true it will modify already open orders if on false it doesnt. This should only modify the open orders if the pip range changes and modify to the new calculations of the new range 

3. also noticed that the trailing stop isnt working here is a picture shows three trades on buy nzdjpy open in loss and one nzdjpy short in the money 83 pips the pip range on the placement of the nzdjpy short was 120 pips so it should have triggered a trailing start point at 120 x .3 equaling 36 then trailing at 120 x .15 = 18 pips but as you can see there is no trailing stop on it and its in the money 83 pips 

附加的文件:

JPG
IMG_3833.JPG
130.7 Kb
JPG
IMG_3832.JPG
111.2 Kb

反馈

1
开发者 1
等级
(121)
项目
134
66%
仲裁
36
25% / 56%
逾期
22
16%
空闲
发布者: 10 代码
2
开发者 2
等级
(414)
项目
670
33%
仲裁
60
17% / 32%
逾期
113
17%
工作中
相似订单
I need an MT5 Expert Advisor for a mean-reversion strategy on EURUSD: single entry at local price extremes, fixed stop loss and take profit, no grid and no averaging. Position size must be calculated automatically so that risk per trade is capped at a fixed USD amount, with a daily loss limit and a pause after consecutive losses. I will send the full specification — entry conditions, filters and all input parameters
I’m seeking a high‑reliability Expert Advisor that operates on ADX and Moving Average signals, capable of executing trades with strict error‑handling to ensure every operation is processed safely and efficiently. The EA should base its entry and exit logic on the direction of the Moving Average and the latest candle price , use ADX to confirm trend strength, allow a customizable lot size , and maintain robust
need to create specific alo which can be changed with diffrence currency and method, it consist of risk management in mariangle, period will be changed, if trades close it will start form there without restart the server
I trade NAS 100 using Harmonic Patterns. I want to create a MT5 EA to trade based on this indicator: https://www.mql5.com/en/market/product/78325?source=Site +Market+MT5+Indicator+Search+Rating006%3abasic+harmonic+patterns I want the EA to have the same take profit levels as indicator: TP1, TP2, TP3 (select in inputs which TP to use). The EA should also use the same Stop Loss as indicator, with the option to adjust
I am looking for a professional and market-savvy MQL developer to build a disciplined, stable Scalping Expert Advisor (EA). The ideal developer must have a solid understanding of Trend Identification, Fibonacci Levels, and Technical Indicators , alongside strict risk management implementation. Key Focus Areas & Developer Requirements: Market & Analysis Expertise: ⚬ Deep understanding of Trend direction (Market
NYC 30+ USD
I need a ready-made professional trading EA similar to my current scalping bot, but improved for consistent profit and better risk control. Requirements: - Works on XAUUSD (M5 timeframe) - Fixed lot option (start with 0.01) - Opens only one trade at a time (no multiple positions) - Small, fast entries (scalping style) - Better risk-reward (SL must NOT be bigger than TP) - Breakeven function - Trailing stop to secure
Looking for an experienced MQL4 developer to restore functionality for an MT4 Expert Advisor I've used for 3 years. The software is showing a startup validation error, and I cannot reach the original developer. I'll provide all necessary files and proof of ownership. I don't have the code source just the .ex4 file. Scope of work: - Diagnose the startup validation error of the Expert Advisor - Restore normal
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
Requirements Specification GoldV16 V0 – MT5 XAUUSD Netting EA 1. Platform: - MetaTrader 5 - MQL5 - XAUUSD - NETTING account 2. Position rule: - Only ONE XAUUSD position may be open at any time. - Fixed lot only. - No Martingale. - No automatic lot increase. 3. Stop Loss: - Stop Loss must be sent immediately when a trade opens. - Default SL distance: 1.00 USD in gold price. - SL distance must be adjustable in Inputs
MQL5 developer needed to code a macro-driven gold trading Expert Advisor for MetaTrader. Body: We have a documented macro-driven trading strategy for gold that needs to be converted into a working MetaTrader Expert Advisor. Experience integrating external data sources, such as economic calendar events or interest rate and dollar index data, into MQL5 is required. An N.D.A. must be signed before strategy details are

项目信息

预算
20 USD
截止日期
1 天