Modify open orders when range changes

MQL4 Uzmanlar

Şartname

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 

Dosyalar:

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(121)
Projeler
134
66%
Arabuluculuk
36
25% / 56%
Süresi dolmuş
22
16%
Serbest
Yayınlandı: 10 kod
2
Geliştirici 2
Derecelendirme
(414)
Projeler
670
33%
Arabuluculuk
60
17% / 32%
Süresi dolmuş
113
17%
Çalışıyor
Benzer siparişler
I have a strategy currently running as an MT5 EA and want a faithful port to NinjaTrader 8 (NinjaScript). Same entry/exit logic, same risk model, matching backtest behavior as closely as the platform allows. I'll provide the MT5 source and a written spec of the rules. Please tell me the main differences I should expect between MT5 and NinjaTrader 8 (NinjaScript) for this kind of strategy
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
I need someone to develop a very simple and basic Expert Advisor for MetaTrader 5. The EA should open and close trades based on a custom trading time schedule. I am a student and I do not have a budget, so I am kindly asking if someone can help me for free or as a beginner-friendly project. The EA does not need to be complicated. I only need basic settings for start time, end time, buy/sell option, lot size, stop
Profitable EA 50 - 5000 USD
I have been tired of losing money in forex for several years, I decided to buy an EA directly from the programmer , I am ready to put the right price for a real winning strategy, no matter which strategy is used. The main thing is that the strategy is profitable Send me a demo, I'll put it on the VPS. The most profitable strategy will be chosen after a week
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
Hello, I need a Python-based MT5 forex trading bot developed. The bot should connect to MetaTrader 5, execute trades based on a predefined strategy, and support standard risk management features such as stop loss, take profit, and position sizing. Requirements: MT5 integration using Python Automated trade execution based on provided strategy rules Configurable risk management settings Support for major forex pairs

Proje bilgisi

Bütçe
20 USD
Son teslim tarihi
1 gün