Job finished
Specification
Hi,
I'm seeking quotes for developing an EA with the following characteristics
1) Take the price at the close of the Daily candle ("Closing Price")
2) Buy orders :
a) Place 1st level buy limit order at the Closing Price - 50 pips and round down to the nearest 25 pip level (i.e. 1.0800, 1.0825, 1.0850, 1.0875, 1.0900 etc.). Stop loss = 25 pips; Take profit = 10 pips. There should be an inital lot size input field
b) Place 2nd level buy limit order 25 pips below the 1st level buy limit order with same stop loss of 25 pips & take profit of 10 pips. The default lot size can be [4]x the size of the 1st level buy limit order. There should be a multiplier factor input field
To illustrate, if Closing Price of EURUSD is 1.0860, 1st level buy limit order is derived by 1.0860 - 50 pips = 1.0810 pips & rounding down to the nearest 25 pip level. Hence, 1st level buy limit order shall be @ 1.0800. If initial lot size = 0.10 and multiplier factor = 4, then
1st level buy limit order : 0.10 lot @ 1.0800 with stop loss = 1.0775 ; take profit = 1.0810
2nd level buy limit order : 0.40 lot @ 1.0775 with stop loss = 1.0750; take profit = 1.0785
c) Cancel 2nd level buy limit order when 1st level buy limit order hits take profit
3) Sell orders :
a) Place 1st level sell limit order at the Closing Price + 50 pips and round up to the nearest 25 pip level (i.e. 1.0800, 1.0825, 1.0850, 1.0875, 1.0900 etc.)
b) Place 2nd level buy limit order 25 pips above the 1st level buy limit order with same stop loss of 25 pips & take profit of 10 pips. The default lot size can be [4]x the size of the 1st level buy limit order. This multiplier factor should be set as user input field
To illustrate, if Closing Price of EURUSD is 1.0860, 1st level sell limit order is derived by 1.0860 + 50 pips = 1.0910 pips & rounding up to the nearest 25 pip interval. Hence, 1st level buy limit order shall be 1.0925. If initial lot size = 0.10 and multiplier factor = 4, then
1st level sell limit order order : 0.10 lot @ 1.0925 with stop loss = 1.0950 ; take profit = 1.0915
2nd level sell limit order : 0.40 lot @ 1.0950 with stop loss = 1.0975; take profit = 1.0940
c) Cancel 2nd level sell limit order once 1st level sell order hits take profit
4) Cancel all unfilled orders at the close of the Daily Candle and open new limit orders based on the new Closing Price
The EA should be able to automatically adjust the pip calculations for both 4 or 5-digit brokers and cater to JPY pairs (2-3 decimal places)
Other bonus features
These are bonus features to be added eventually. Please provide price quotes with and without the following bonus features
1) Dynamic adjustment - When the price comes within 1 pip of the 1st level limit orders but doesn't trigger the orders and instead the price retraces immediately to hit the take profit level of the limit order, immediately adjust the price of the Buy Limit orders to 25 pips lower with corresponding adjustment to the take profit & stop loss levels. For Sell limit orders, immediately adjust the price to 25 pips higher with corresponding adjustment to the take profit & stop loss levels
2) Additional levels - Up to 4 additional levels with their respective multiplier factors