작업 종료됨
명시
Requirements for a Bollinger based expert advisor
I need an expert advisors that:
a) enters a long position when the closing price of a bar is below the lower Bollinger band while the closing price of the previous one was above.
b) enters a short position when the closing price of a bar is above the upper Bollinger band while the closing price of the previous one was below.
c) No short position is taken when the one day slope of the upper Bollinger band is > A in %
d) No long position is taken when the one day slope of the lower Bollinger band is < -A in %
e) Profit is taken on tick anytime the take profit limit “TP” defined is pips is reached OR
f) Stop loss is triggered on tick whenever the Stop loss level “SL” defined in pips is reached
Inputs :
• N = Number of bars used for Bollinger AVERAGE and STANDARD DEVIATION calculation
• X= Multiplier of the Bollinger bands
• TP=Take Profit level in pips
• SL=Stop Loss level in pips
• A= 1 Day Bollinger Band Slope Level in % which blocks new trades
• BEGIN = GMT time where trading starts
• END=GMT time where trading ends
• NOTRADAY=days of the week where trading does not take place
• VOL = volume, number of USD per pip
Trade Initiation rule :
• Buy and Sell trades are initiated at the time the last price of a bar is released and trading takes place immediately after that
• Stop loss and take profit taking are triggered anytime a tick reaches the corresponding prices (“SL” or “TP”)
• No trade takes place before GMT time START and any opened trade is closed after GMT time END
• No trade takes place on days of the week specified as NOTRADAY
Additional Comments:
• I need the MT4 full source code
• When compiled, the EA must return no error