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
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
I need modifications and restructuring of an existing MetaTrader 5 Expert Advisor (MQL5) . The current EA works with only one filter for trade entry. I need it redesigned to support 10 optional filters , with flexible configuration and improved Renko logic. I will provide the full .mq5 source code . The EA currently opens trades only when the selected filters agree in direction. 1) 10 Optional Filters System The EA
Seeking an experienced quantitative developer to build a custom, AI-powered Telegram signal parsing and trade execution system. The goal is to automatically copy trading signals from multiple Telegram providers to MetaTrader 5 with ultra-low latency and intelligent signal interpretation. Body: Looking for an experienced developer to build a custom signal copier system. Skills Required: - MQL5 / MetaTrader 5
I need a hft bot that works well on live market. I have tested some bot and they only perform on demo market. If you have any one that is profitable in the live market, pls send a message. I will need to test it before paying. Pls make sure the bot is profitable in LIVE MARKET
looking for create ea for mt4 or mt5 which for gold which open buy and sell stop order on previous day high and previous day low , after enter the trade it will trail aggressively. need optimization and back test report. have selectable profiles for gold, forex and index. selection for trade based on fixed lot or equity base
I am looking to purchase a ready-made, proven Multi-Currency Expert Advisor MT5 (EA) from a developer/vendor. I do not have a custom strategy yet — I want to acquire a completed EA product that already trades multiple currency pairs (ideally with configurable risk management and trade management features). This is a purchase (not a custom build). What I Want ✅ EA Must Trade Multiple Instruments (Portfolio) Trades
I want a bot like the one uploaded in the video.Urgently and as soon as possible, I need a professional who can create something like what I uploaded in the video
I need an Expert Advisor based on AOX signals. It must have check and handling of trade operations errors. The main criteria for opening and closing a position: * moving average direction *the price is higher than the previous bar. Trade lots is an input parameter
Dear Developers, I am seeking a professional developer to build an institutional-grade automated trading system that operates exclusively using pending orders, with advanced and fully customizable trade management logic. This is not a basic Expert Advisor. The goal is to create a structured, intelligent, and long-term trading system with clean architecture and professional execution standards. Project Requirements