Auftrag beendet
Spezifikation
I need an EA to open market order trades using a custom MT4 indicator. I must be able to drag and drop the EA onto any MT4 chart and it will work on that particular chart and time-frame. More details attached.
I need you to compile the following MT4 Expert Advisor for me. When I drag it onto a chart it goes into effect immediately. I’d like it to be able to work on any build of MT4.
Desired budget: 30 USD
Deadline: 1 day
The indicators involved are:
Bands (NOT Bollinger Bands). It
is in the customs indicator section of MT4. Bands offers you the
opportunity to set “Bands Deviation” in decimals , for example,
2.4, wheras Bollinger Bands don’t allow for decimal settings.
Here
I'd like to place my own preferred inputs. The default setting for
this indicator on MT4 is in the INPUTS table, but I’d like to be
able to put my own settings in here if I want to.
RULES:
If a bearish candle has formed and closed with a candle
opening above the “lower Band” and candle closing below the
“lower Band”, immediately open a sell market order at the close
of this candle.
If a bullish candle has formed and closed with a candle
opening below the “upper Band” and candle closing above the
“upper Band”, immediately open a buy market order at the close of
this candle.
Not every bar that 'straddles' the bands is a valid signal,though. Before and after every valid straddle signal, the price must return back between the bands, not touching either the lower or upper bands, before the next signal can be taken.
Only the first 'straddle' in every new series must be taken. Even if the next bar also 'straddles' the band, it must NOT be taken. The EA must not take every single band straddle. It should only take the first bar that straddles the band. Then it waits for price to retreat back between the bands (wait for a candle whose high and low doesn't touch either the upper or the lower band), then it can take the very next straddle.
EA INPUTS:
INPUT PARAMETERS for the Band Straddle Expert Advisor should be:
Take Profit (in pips) – {0.0 = no Take Profit} so 20.1 = 201 points or 20.1 pips
Stop Loss (in pips) – {0.0 = no Stop Loss} so 10.1 = 101 points or 10.1 pips
Bands filter – True/False {I decide whether to use this as a 'filter' or not}
Bands Period 30 (I'd like to select my own value here)
Bands Shift 0 (I'd like to select my own value here)
Bands Deviation 1.5 (I'd like to select my own value here)Maximum number of trades – If -1 then the EA opens all the trades the Band Straddle signal gives on that chart. If 0, then EA opens no trades. If 1, then the EA opens one trade and waits for it to close before opening another. If 2, then the EA opens the first two trades the Outside Bar signal gives and waits for both to close before opening two more. And so on, and so on.
Time EA starts opening trades 00:00 (hour:minute) same time as Broker server
Time EA stops opening trades 00:00 (hour:minute) same time as Broker server
No alert needed for this please, because it overloads the broker's server.
Magic Number –
Slippage – 3.0 = (3 pips or 30 points) If price slips too far by this number of pips, no trade opens