Hello.
I have an ea that places 2 pending orders - 1 buy stop and 1 sell stop at a certain time.
There are a few things i want changed and fixed:
- The breakeven doesnt sometimes work :
04:29:58.331 '168456': order was opened : #32326447 buy stop 4.00 AUDUSD-Pro at 0.93961 sl: 0.93841 tp: 0.94611
04:29:58.331 '168456': pending order sell stop 4.00 AUDUSD-Pro at 0.93763 sl: 0.93883 tp: 0.93113
04:29:58.487 '168456': order was opened : #32326448 sell stop 4.00 AUDUSD-Pro at 0.93763 sl: 0.93883 tp: 0.93113
04:30:04.243 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93883 tp: 0.93113 -> sl: 0.93874 tp: 0.93104
04:30:04.415 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93874 tp: 0.93104
04:30:05.211 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93874 tp: 0.93104 -> sl: 0.93714 tp: 0.93104
04:30:05.398 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93714 tp: 0.93104
04:30:05.398 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93714 tp: 0.93104 -> sl: 0.93874 tp: 0.93104
04:30:05.554 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93874 tp: 0.93104
04:30:15.210 '168456': delete pending order #32326447 buy stop 4.00 AUDUSD-Pro at 0.93961 sl: 0.93841 tp: 0.94611
04:30:15.351 '168456': pending order #32326447 was deleted
and
11:30:24.138 '168456': modify order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 sl: 1.71004 tp: 1.71674 -> sl: 1.71164 tp: 1.71674
11:30:24.304 '168456': order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 was modified -> sl: 1.71164 tp: 1.71674
11:30:24.304 '168456': modify order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 sl: 1.71164 tp: 1.71674 -> sl: 1.71004 tp: 1.71674
11:30:24.478 '168456': order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 was modified -> sl: 1.71004 tp: 1.71674
As you can see the sl is set back to the original one, BUT, sometimes it does work properly so I have no idea how this can be explained.
- I want the other opened pending order to be closed immediately when the other is triggered. For example - the buy stop gets hit - the sell stop is deleted.
- I want the EA to open the opposite trade when the initial stop loss is hit, with the lot size 80% of the order that got stopped, with SL at the stopped out orders open price. For example - EURUSD buy stop gets hit at 1.3000, 10 lots. SL at 1.2990 gets hit, then immediately a sell order is opened, 0.80 lots, SL at 1.3000. This function should have an on/off switch.
- In the time somewhere between 00:00 - 03:00 the ea's timing and dating gets kinda messed up, I'm adding a screenshot, you'll understand what I mean if you take a closer look at the date and time.
Nothing else of the EA should be changed, there a quite a few modications to it, so I hope that nothing else gets messed up.
I will provide EA when everything is setlled.
Benzer siparişler
What I Need I'm looking for solid MQL4/5 and Pine Script developers for ongoing projects. No agencies, no middlemen - just skilled devs who know their stuff. The Deal ~5 projects per month to start Fair pay - I don't lowball good work Per-project rates - we'll agree on price upfront You Should Know MQL4/5 programming (EAs, indicators, scripts) Pine Script for TradingView How trading actually works How to write clean
Hello, I am new to sierra chart, but very familiar with trading space. I dont want to spend time learning through online videos and want to get to what i want quickly. I need help from someone who knows sierra chart inside and out to help me get setup futures NQ market, chart, footprint, order flow, DOM etc. I will provide you my userid password and you can set it up for me and also let me know exactly what needs
Hallo, ich suche einen erfahrenen MT5-Programmierer, der mir einen Key Structure Range Indikator auf Basis von 3er-Fractals erstellt, inkl. Buffers für spätere EA-Nutzung. Pflichtenheft - Key Structure Range Indikator für MT5 (EA-ready): Projektbezeichnung: "Key Structure Range Indikator für MT5 (EA-ready)" 1. Plattform - MetaTrader 5 (MT5) - Unterstützte Timeframes: M1 bis H12 2. Kerneigenschaften (unbedingt
I'm looking for a developer to maintain and improve an existing trading system based on MT4 (MQL4) and Python . 📌 Communication must be in Polish (written or spoken). The developer doesn’t need to be based in Poland. ✅ What’s already working: A fully functional MT4 Expert Advisor : opens trades based on signals, shifts Stop Loss at TP1, TP2, TP3, reacts to Break Even (BE) signals, A Python script : listens to
Strategy Purpose: Place a trade immediately at the close of a Renko candle or wait for close of 1 st, 2nd or 3rd renko candle (user defined) when color changes (trend reversal) for placing entry, with a confirmation that previous trend had at least 1, 2 (user defined) number of continues same-color bricks. User Inputs (Customizable Parameters): 1. EntryOnCandlenumber = 1 o Enter on 1st, 2nd, 3rd or same-color candle
Hi, I’m looking for a custom MT4 or MT5 server setup that looks and feels exactly like a live trading account but gives me full control over the environment. What I need: • A private MT4/MT5 server that connects to the official MT4/MT5 desktop terminal • Live market price feed (real-time quotes for realism) • Ability to: • Create and manage accounts • Set or change balance, equity, margin • Manually add/edit/close
We are a large EU marketing agency looking for a long-term MQL5 developer to build and sell EAs & indicators . ✅ We handle all marketing & customer acquisition ✅ You focus on clean, stable MQL5 coding ✅ We split sales income fairly (recurring income) ✅ Big exposure, consistent projects, clear strategies ✅ We actively focus on trading strategies for automation and scaling We are also interested in buying your already
I am looking for an experienced Expert Advisor (EA) developer who specializes in building AI-powered trading bots for MetaTrader 5. This is not a traditional indicator-based EA—we are seeking a solution that uses artificial intelligence to make dynamic trading decisions based on real market conditions. 💡 Project Overview: We want to develop a fully autonomous EA that leverages AI/machine learning to analyze: Price
Hello am looking for an experienced programmer who can turn 1 of my TradingView strategy into Ea, I will shear the strategy name once your selected. Please don’t ask me for the logic behind the strategy, if you really know how to code you don’t need to as my about the logic
I have mt4 source code for US30 pair. The issue is that it works on demo account very well but not on Real account. I want to solution for this issue