Hi, this should take very little of your time. price is negotiable depending on the finish of the EA
I would like to add the following 2 function to the EA.
1. the partial open/close
2. Limiting the number of open order
For your reference, following is the logic and how the
current EA work. (refer to source code attached)
Long
open
- long when the low(1) is below the long-break-out line and low(0) is above the
long-break-out line (the order is executed a the next bar or executed at the
current bar if high(0) is apart from the break-out line for a certain distance
close
-take profit at certain pips
-close at short-break-out line
Short
Open
-Short when low(1) is above the short-break-out line and current price(bid)
cross below the short-break-out line
close
-take profit at certain pips
-close at long-break-out line
Alert function
Email/Alert notification for error/open order.
The break out line/ take profit pips are being manually input as Extern
variables
The problem I am having now is that the program seems to open multiples orders
despite me trying to limit the number of open order to 1 or 2 at times per
currency pair/chart.
The current EA seems to work fine with the system tester (only
sending one order at time ) but once I attach it to the live trading chart, it
starts sending multiple orders until the margin become in sufficient.
Followings are how I wish the EA to be modified into
Requirements
1. Limiting the open order function
2. Partial close/ open function as described (refer to illus)
3. Can be used by multiple charts ( same currency-pair /same or different time
frames)
Long
open (open whenever the
condition is fuldilled and the number of open order is less than the
predetermined number)
long when the low(1) is below the long-break-out line and low(0) is above the
long-break-out line (the order is executed a the next bar or executed at the
current bar if high(0) is apart from the break-out line for a certain distance
close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)
close condition 3 (close all)
close with the same condition as Short (crossing the short-break-out line)
Short
Open(open whenever the condition is fuldilled and the number of
open order is less than the predetermined number)
Short when low(1) is above the short-break-out line and current price(bid)
cross below the short-break-out line
close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)
close condition 3 (close all)
close with the same condition as Long (crossing the short-break-out line)
Alert function will also continue to work
example (refer to illustration)
Long order opened for 3 lots
closed with condition 1 for 1 lot
closed with condition 2 for 1 lot
closed with condition 3 for the rest
類似した注文
Hi there developer, I need someone who can create an trading ea that place order in points using an. Vps with an stop loss in 2 point behind the order price automatically it close order in 1 point if the market reverse
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I need a custom MT5 Expert Advisor (MQL5) for XAUUSD. Strategy: 1. Trend Filter (H1) - EMA 20, EMA 50 and EMA 200. - Buy only when EMA20 > EMA50 > EMA200 and price is above EMA200. - Sell only when EMA20 < EMA50 < EMA200 and price is below EMA200. 2. Confirmation (M15) - M15 trend must confirm the H1 trend before taking any trade. 3. Entry (M5) - Wait for price to pull back to EMA20 only. - After touching EMA20, wait
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB