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%
工作中
相似订单
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
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

项目信息

预算
20 USD
截止日期
1 天