Open Order Base on Trigger Buy/Sell with Multiple Close Order Type

MQL4 Experts

Job finished

Execution time 4 days

Specification

Hi,


I need and EA for this project. Will Explain in details..

-----------------------------------------------------------------------------------------------------
First, the EA should be able to run on multiple charts at one time
Second, the EA should support all kind of broker prefix
EA works on individual PAIRs. Meaning, if it execute on EURUSD and AUDUSD, The closing rules hit on EURUSD order, it will only be on EURUSD order. AUDUSD order won't be affected.
-----------------------------------------------------------------------------------------------------
The EA will trigger base on 2 method. Once trigger it will open Orders or Pending Limit Orders
Close Order i will explain below
-----------------------------------------------------------------------------------------------------

INPUTS
-----------------------------------------------------------------------------------------------------
EA METHOD - Open Order / Rules
-----------------------------------------------------------------------------------------------------
STOCHASTIC SETTINGS
-----------------------------------------------------------------------------------------------------
OPEN ORDER CHOICE

1ST CHOICE OPEN ORDER
Total No. of PENDING LIMIT ORDERS
LOT SIZE - 0.01
GAP
LOT STYLE - REMAIN SAME SIZE/ INCREASE BY 0.01 / INCREASE BY x2
-----------------------------------------------------------------------------------------------------
2ND CHOICE OPEN ORDER
LOT SIZE - 0.01
LOT STYLE - REMAIN SAME SIZE/ INCREASE BY 0.01 / INCREASE BY x2
ZIGZAG SETTINGS
ZigZag ZONE DISTANCE
NO. OF ZONE
ZigZag NO. OF PENDING LIMIT ORDERS IN ONE ZONE
ZigZag MINIMUM GAP BETWEEN 1 PENDING
 LIMIT ORDERS TO ANOTHER

-----------------------------------------------------------------------------------------------------
3RD CHOICE OPEN ORDER
LOT SIZE - 0.01
LOT STYLE - REMAIN SAME SIZE/ INCREASE BY 0.01 / INCREASE BY x2
NO. OF ZONE
NO. OF ORDERS IN ONE ZONE
DISTANCE BETWEEN ONE ZONE
MINIMUM GAP BETWEEN 1 PENDING
 LIMIT ORDERS TO ANOTHER

-----------------------------------------------------------------------------------------------------
CLOSE ORDER TYPE

1ST CLOSE ORDER TYPE
1ST CHOICE OPEN ORDER TYPE
CLOSE ORDER AT PROFIT or LOSS AMOUNT
CLOSE ORDER AT CHART PRICE
CLOSE AT NO. OF PENDING
  LIMIT ORDERS

2ND CLOSE ORDER TYPE
2ND CHOICE OPEN ORDER TYPE
CLOSE ORDER AT PROFIT or LOSS AMOUNT
CLOSE ORDER AT CHART PRICE
CLOSE AT WHICH ZONE

3RD CLOSE ORDER TYPE
3RD CHOICE OPEN ORDER TYPE
CLOSE ORDER AT PROFIT or LOSS AMOUNT
CLOSE ORDER AT CHART PRICE
CLOSE AT WHICH ZONE

4TH CLOSE ORDER TYPE
MANUAL CLOSE

CHOICE (TAKE PROFIT 1 / TAKE PROFIT 2)
-----------------------------------------------------------------------------------------------------
ALERT
Handphone Notification
Sound Notification
Popup Notification
Email Notification

-----------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

OPEN ORDERS

The EA will Open Orders base on 2 things. I will be able to chose the prefered Method

1) The EA will Open Pending  LIMIT Orders when it detects an Open Orders
Meaning, i will manually Open Orders, the EA will open pending  LIMIT orders. If i Open Buy Order, EA will open multiple BUY LIMIT Orders


2) The EA will Open Orders with Pending  LIMIT Orders when TIMEFRAME M15 STOCHASTIC is at OS and TIMEFRAME M1 STOCHASTIC is at OS (BUY)
    The EA will Open Orders with Pending LIMIT Orders when TIMEFRAME M15 STOCHASTIC is at OB and TIMEFRAME M1 STOCHASTIC is at OB (Sell)


-----------------------------------------------------------------------------------------------------

LOT STYLE

1st Choice
ex. Open Order 0.01 Subsequent pending LIMIT order will be 0.02 followed by 0.03 followed by 0.04 and so on


2nd Choice
ex. Open Order 0.01 Subsequent pending LIMIT order will be 0.02 followed by 0.04 followed by 0.08 and so on


3rd Choise
ex. Open Order 0.01 Subsequent pending LIMIT order will be 0.01 followed by 0.01 followed by 0.01 and so on


If Open Order Type Manually
If i Open Manually Order with Lot size 0.01, EA will open PENDING LIMIT ORDER Base on the selected Style

-----------------------------------------------------------------------------------------------------

HOW THE ORDERS ARE OPEN

1st Choice
Using GAP between One Order to Another. Example if i set 10pips Gap
BUY OPEN ORDER at Price 1.42876, Buy Limit Order will be at 1.42866 followed by 1.42856 followed by 1.42846 and so on

2nd Choice
Using ZigZag.Example of Buy Order


So from this picture using ZigZag, Example i have a buy order, the one i place horizontal line is where the pending LIMIT orders will be place

1) On Each Zone, i can set how many pending LIMIT order to be Place and the gap between one pending order to another
2) Total No. Of Pending LIMIT Orders will follow What i place on Total No. Of Pending LIMIT Orders
3) No. OF ZONE i WANT
4) from One Zone to Another Zone Should have a minimal Gap which i can set.
From this chart can see that Zone with price 1.15251 and the one exactly above it is very close. If i set the minimum zone gap at 50pips, if this 2 zone is less then 50pip, only one ZONE will be place pending LIMIT order


3rd Choice
Multiple pending LIMIT Orders With Gap followed by a distance and multiple pending LIMIT orders



Example Above.
1) I can set the no of orders in one zone
2) i can set the distance between one zone to another (example in this picture one zone to another is 50pips)
3) i can set how many zone i want
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
WAYS OF CLOSING ORDERS

1ST CLOSE ORDER TYPE
FOR CHOICE 1 OF OPEN ORDER TYPE
1) Close all orders at ######## (could be profit or Loss amount) and or
2) Can Close Order When Hit Chart Price ###### and or
3) When Price Hit The # of pending LIMIT Order, Take Profit Price will be at the Highest Price (BUY) 
OR
4) I just close one order and EA will auto close all Order


2ND CLOSE ORDER TYPE
FOR CHOICE 2 OF OPEN ORDER TYPE
1) Close all orders at ######## (could be profit or Loss amount) and or
2) Can Close Order When Hit Chart Price ###### and or
3) When Price Hit ZONE 2 or 3 or 4 which i set, Take Profit Price will be at the Highest Price (BUY) 
OR
4) I just close one order and EA will auto close all Order

3RD CLOSE ORDER TYPE
FOR CHOICE 3 OF OPEN ORDER TYPE
1) Close all orders at ######## (could be profit or Loss amount)  and or
2) Can Close Order When Hit Chart Price ###### and or
3) When Price Hit ZONE 2 or 3 or 4 which i set, Take Profit Price will be at the Highest Price (BUY)
OR
4) I just close one order and EA will auto close all Order

4TH CLOSE ORDER TYPE
1) I just close one order and EA will auto close all Order


EXPLANATION ON HOW THE ABOVE RULES APPLY

There will be 2 CHOICE on HOW THE RULES Goes

1st Choice (If i Chose 1, 2 and 3 or just 1 and 2 or 2 and 3) (TAKE PROFIT 1)
If the No. 3 is triggered, it will follow the TP of No. 3
ex. If no. 3 is triggered, the take profit will be at the Highest Price (BUY)
or
If before reaching No. 3, close order will happen for which ever happen first  No. 1 or no. 2
ex. Before reaching no. 3 and the profit has gone at XXX amount, it will close order
ex. Before reaching no. 3 and the profit has gone to price XXX before reaching XXX amount, it will close order

For Use of no. 1 and 2 together, Close order will happen when either one reach first


2nd Choice(If i chose 1, 2 and 3 or just 1 and 2 or 2 and 3) (TAKE PROFIT 2)
No matter if no. 3 is triggered or not, close order will happen for which ever happen first no. 1 or no. 2 or no. 3
ex. Before reaching no. 3 and the profit has gone at XXX amount, it will close order
ex. Before reaching no. 3 and the profit has gone to price XXX before reaching XXX amount, it will close order
ex. No. 3 is triggered and the profit has gone at XXX amount before reaching the Highest Price (BUY) or  price XXX, it will close order
ex. No. 3 is triggered and the profit has gone to price XXX before reaching XXX amount or before reaching the Highest Price (BUY) , it will close order

For Use of no. 1 and 2 together, Close order will happen when either one reach first

4TH CLOSE ORDER TYPE
I will MANUALLY close one Order and the EA will automatically close the rest of the order
Not Necessary the OPEN ORDER / PENDING LIMIT ORDER are open by EA for this to work. 

-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------

ALERT


Handphone Notification
Sound Notification
Popup Notification
Email Notification


1) Alert when 1st Order Was Open ONLY (PAIR NAME, "1ST ORDER OPEN")
2) Alert for (OPEN ORDER CHOICE 2 and 3) Zone 2 , Zone 3 And Subsequent Zone (PAIR NAME, "ZONE 1 TRIGGERED")
3) Alert when the Take Profit have been change (REFER TO 1st Choice (If i Chose 1, 2 and 3 or just 1 and 2 or 2 and 3) (TAKE PROFIT 1)) (PAIR NAME, "TAKE PROFIT HAVE BEEN CHANGE TO the Highest Price (BUY))
4) Alert when Close Order (PAIR NAME, CLOSE ORDER AT  price XXX or  XXX amount or the Highest Price (BUY))
5) Alert when **1st Choice Open Order Type** Pending Limit Order no. XXX pips triggered (PAIR NAME, LIMIT ORDER No. XXXX at PRICE XXXX)

EA should be able to work on any type of Prefix Broker

Responded

1
Developer 1
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
2
Developer 2
Rating
(5)
Projects
4
25%
Arbitration
2
0% / 100%
Overdue
1
25%
Free
3
Developer 3
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Published: 1 code
4
Developer 4
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
5
Developer 5
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
Similar orders
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
VENOM EA 35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Je cherche un développeur MQL4 / MQL5 expérimenté pour créer un robot de trading automatique (Expert Advisor) performant et sécurisé. Validation de comptes Prop Firm capable de trader sur le forex et les matière première
XAUUSD Digger 50 - 300 USD
I want you to create a strategy that fits for my funded account conditions like winrate of 60%+ with good risk reward ratio min 1:2 and max drawdown per day is 2% or 3% and overall should be less then 10% with less consecutive losses should be able to finish the funded stage in of phase 1 8% target and phase 2 of 10% target in a month with good number of trades in a month need journal of all the back tested data and
I need a simple Expert Advisor for MT5 that trades based on RSI overbought/oversold levels. - Entry: Buy when RSI(14) < 30, Sell when RSI(14) > 70 - Exit: Take Profit and Stop Loss as adjustable input parameters (default 50/25 pips) - Position sizing: Risk 1% of account balance per trade, auto-calculated from stop-loss distance - Timeframe and currency pair: adjustable inputs, not hardcoded - Should include basic
1. Trading Instruments: - The robot should trade exclusively on the following currency pairs: - NZD/CHF - NZD/USD - GBP/USD 2. Trading Style: - The robot should implement a day trading strategy, focusing on short-term trades. 3. Risk Management: - Maximum drawdown percentage: 10%. - Stop loss settings: Adjustable based on volatility (suggested default: 30 pips). - Take profit settings: Adjustable
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
Zwivhuya 100+ USD
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
I need an Expert Advisor that trades by signal of ADX and Moving Average indicators. It must check and correctly process possible errors in trading operations. The main criteria of opening and closing positions , direction of Moving Average, Price of last bar . Set the number of lots to trade as an input parameter

Project information

Budget
30 - 50 USD
Deadline
from 1 to 5 day(s)