Техническое задание
Good day,
I need an export advisor for the following Specifications
EA Name: Master Scalper
#1 Trading Panel Indicators
The trading panel indicators should consist of the following technical indicators:
1. Moving average (short) – where price is current trading above the moving average (buy) or below (sell) (To be set by user)
2. Moving average (long) -where price is current trading above the moving average (buy) or below (sell) (To be set by user)
3. RSI14 – if indicators is above 70, the indicator is =Overbought or less the 30 =oversold
4. Stochastics (14,3,3) – Where Indicator value >= 80 = “Overbought” or <=20 =” Oversold”
5. Last signal – Get last signal on initiation
6. Current Signal – Buy, Sell and Neutral (Based on the calculations of the higher timeframe signals as describe in 3.2
7. Higher Timeframe trend by angle
These indicators should return the values for the 3 times frames of which the user can choose
#2 Advisor Performance Panel
P&L = Total Profit or lost from the initialization of the expert advisor
Growth = Growth of account from the initialization of the expert advisor
Total Consecutive Wins – Count of current consecutive wins without a loss
Net lot size – See money management in trading strategy
#3 Trading Strategy
1. Money Management
List of Risk setting
a. Risk determined by price chart (Eg. Low of candle bar if Long entry)
b. User defined in Base Currency (Eg1. $1 = 100pips)
c. Risk: Reward – User should enter reward for each $1 of Risk ($1:$5)
List three possible options for lot size calculation
1. Fixed lots size – User should enter the fix lot size
2. Incremental lot size – as per stock standard moving average ea(see code)
3. % of consecutive profits the determine max lot size
a. User should enter the maximum lot size (if blank – then it must get the brokers maximum amount)
b. User must enter value to maintain minimum margin level%
c. First lot size should always be the minimum broker amount (standard 0.01)
d. User should enter that % amount that he/she wants use (for consecutive wins)
e. For the first loss the lot size should reset to 3.c
f. % of the consecutive profits should be used
g. to determine the next lot size, but the lot size can’t be more than the margin level % when reaching the Stop Loss value
For example:
1. Technical indicators signals
· Daily Time Frame (User should be able to choose time frame)
o The EA should look for price reversal in a higher timeframe where the market is over-bought/-sold
o Trend direction – EMA 21
§ If the closing price is above moving
§ Measure the trend by angle from start of first buy/sell signal to first price reversal (This is only for the indicator panel)
· If trend is more than >30 degrees, then strong buy signal
· If trend is less than 15degrees (buy) and more than 345degrees (Sell), then Neutral Signal
· If trend is > 270 and <330 degrees, then strong sell signal
o Stochastics (14,3,3)
§ When value <=50 and value > Signal then look for Bullish Price Action Signals
§ When value >=50 and value < Signal then look for Bearish Price Action Signals
· 15M Time Frame (User should be able to choose time frame)
o Exponential Moving Average 21 period
o Exponential Moving Average 8 period
· Price Action Signals
o Price Action Signals consist out of Candle Stick Pattern (All candle sticks should have on/ off trigger for back testing optimization – to determine which patterns has the best performance)
1. Market Entries
a. User must choose if trades are allowed by the expert advisor or not (AllowTrades = True/False)
b. Send push notifications to cellphone – True(yes)/ False(no) (For signals and trades separate)
c. Long entries
i. The higher timeframe should be a buy signal where the stochastic indicators value is below 50 and the value of the indicator is greater than the signal, then the EA must wait for a price reversal indication using the candlesticks patterns.
ii. Here is an example
i. Here is an example to short the market. Short signal confirmed at 2018.04.22 and lasted up to 2018.08.19
1. Weekly Timeframe
1. 15M Timeframe (same logic for market entry)
a. Market Entry should be opened after confirming the price action
b. Stoploss should either be what the user made it (fixed)/or based on the highest value of the two bars
c. Take profit = The total risk in pips X the reward as set by the user
i. Risk = Market open position/(Close of 2 ndBar) – Highest of the 2 bars/SL set by user
1. Open position maintenance
a. The user should be asked to use trail stop loss (True/False)
b. If the users choose “True” then for any open position, if there is a price reversal on the shorter time frame, then the stop loss should narrow to the current position by either
i. User defined trail stop loss (2 pips) /if blank use smallest trail stop loss by broker; or
ii. Use a step stop loss (for example 5 pips); or
iii. Use the highest/lowest of the previous bar outside candle stick pattern, for example
1. Market Exit
· When the higher time frame makes a price reversal signal in the longer time frame, the market condition should change neutral and wait for the next buy/sell signals.