Job finished
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