仕事が完了した
指定
Hi,
EA able to utilize different trend type indicators specified by name as an 'adjustable parameter' (see 2 below) with below features.
If at all possible, EA code able to compile to MT4 as well as MT5 (or separate MQL4 / MQL5 files).
1) Every Tick – On / Off. EA to work on ECN 5 digits accounts.
2) Parameter: <Specified Name of a particular Indicator>, to be able to use different indicators by name
3) Parameter: Indicator Type options: Arrows / Trend / Trend Single buffer. Indicator time frame parameter
4) Parameter: Indicator Shift value
5) Parameter: Buy buffer number
6) Parameter: Sell buffer number
6 a) Parameter: Adjustable lot amount - 0.01 minimum lot.
7) Parameter: Take profit value e.g. 12.7 pips
8) Parameter: Stop Loss value
9) Parameter: Number of orders per signal, 0 = EA manages current open trade only & does NOT open new trade
10) Parameter: Minimum X points before next order is issued i.e. New Buy orders are opened in the direction of the uptrend (as per indicator) minimum X points apart from the nearest already opened Buy position & vice versa for Sell order. (1 pip = 10 points)
I.E. Buy order will be when trend indicator Buy buffer start returning positive values & vice versa for Sells. EA will add/stack additional order/positions but minimum X points from the closest opened positions if the trend continues as per the Indicator i.e. EA will not stop adding positions until it encounters opposite signal.
E.g. If in an uptrend, EA can open next trade minimum say 15 points above previous opened trade BUT can also be minimum 15 points BELOW previous opened trade as long as indicator Buy buffer remains positive in uptrend. EA will only stop adding Buy positions when it encounters opposite signal i.e. Sell buffer becomes active/positive and Buy buffer goes back to 0.
11) Closing of trades upon opposite signal options: a) Close all orders, b) Close any opposite orders which meets minimum points profit value (see 12), c) Do not close any order, d) Close all Buy & Sell orders when TOTAL sum of all Buy & Sell positions meet minimum points profit value (see 12) (i.e. "basket" close)
12) Parameter: Minimum points profit value, e.g 15.7 pips or 157 points
13) Option: Buy only / Sell only. Buy trades should have it's own user defined magic#. Sell trades should have it's own user defined magic#.
14) Function of an account equity hedge protection;
Option of either equity OR free margin is <= $X amount the EA hedges Y% of current open trade. Say you have total of 0.50 lot BUYs and 0.30 lot SELLs of EURUSD as current open trades and free margin falls to <= trigger amount (an adjustable parameter) of say $1000, and EA is set to hedge 25% (also an adjustable parameter) of the net open trades, the EA would open 0.05 lots of SELL trades therefore hedging 25% of the net 0.20 of BUYS ( 0.50 BUYs - 0.30 SELLS = net 0.20 BUYS) of current open trades.
And vice versa if the situation was to be net SELLs etc... Hedge Buy trades should have it's own user specified magic#. Hedge Sell trades should have it's own user specified magic#. Hedge trade magic #s should be different from the main EA's magic# - also user specified. i.e. a total of FOUR different user defined magic# for the EA - 2 for normal Buy/Sell trades, 2 for Hedge Buy/Sell trades.
A second Confirmation indicator;
15) Parameter: <Specified Name of various Indicator> = Name of 2nd confirmation indi
16) Parameter: Indicator Type: Arrow / Trend / Trend Single buffer. Indicator time frame parameter
17) Parameter: Indicator Shift value
18) Parameter: Buy buffer value
19) Parameter: Sell buffer value
20) Parameter: Max Spread in points , e.g. 12 points = 1.2 pips
21) Any other function you think will be useful
Let me know what you believe is a reasonable fee for this.
Many thanks in advance,
Trung Nguyen.