Trabalho concluído
Termos de Referência
CCI & MA Expert Advisor
1. EA will use CCI indicator and Moving Averages on two time frames to enter and exit trades. (Both High and Low time frames should be adjustable)
2. EA will use ATR indicator to determine stop loss size in pips. (If ATR is 100 and SL is set to 80% of ATR then SL is 80 pips)
3. EA will use % of stop loss to determine take profit size in pips ( If SL is 80 and TP is set to 200% of SL then TP is 160 pips)
4. Ea will use % of account risk to determine position size. ( If SL is 80 pips and risk is set to 1% then loss of 80 pips should be 1% of account)
5. EA will have Break Even feature after certain amount of pips are reached based on % of ATR indicator. (as an option)
6. EA will have Trailing Stop which will activate after certain amount of pips are reached (based on % of ATR), amount of pips to trail (based on % of ATR). (as an option)
7. EA will leave history marks on Low time frame chart (Position Entry, Take profit, Stop Loss) if possible.
Time Frames & Their Functions
1. High time frame will determine if EA is in Buy, Sell or OFF mode.
a. For sell mode fast MA must be below Slow MA on candle close, CCI must be in overbought territory on candle close (Both conditions must be true, if not then EA is in Off Mode)
b. For buy mode fast MA must be above Slow MA on candle close, CCI must be in oversold territory on candle close (Both conditions must be true, if not then EA is in Off Mode)
2. Low time frame is the time frame to which EA is attached to and on which EA will Execute trades.
a. EA will use Fast and Slow MA crossover to enter buy or sell trades
For Sell trade EA must be in Sell mode on High Time frame and Fast MA must cross below Slow MA on Low time frame on candle close.
For Buy trade EA must be in Buy mode on High Time Frame and Fast MA must cross above Slow MA on Low time frame on candle close.
Adjustable Parameters on EA
(Please keep in this order for easy organization)
1. Magic Number
2. High time frame
a. Period
b. Fast Moving average settings (including type of MA)
c. Slow Moving average settings (including type of MA)
d. CCI Settings (including period, overbought and oversold levels)
3. Low time frame
a. Period
b. Fast Moving average settings (including type of MA)
c. Slow Moving average settings (including type of MA)
4. Position Management
a. ATR for Daily Chart (Period)
b. Stop Loss (% of Daily ATR)
c. Take Profit (% of Stop Loss)
d. Position Size (% Risk of Account if Stop Loss is Hit)
e. Break Even (executed after % of Daily ATR is reached, if set to “0” then no break even option)
f. Trailing stop (executed after % of Daily ATR is reached, if set to “0” then no trailing stop option)
g. Trailing stop size ( % of Daily ATR)
5. Filters
a. No trade if spread is above “X” amount of pips
b. EA will not execute trade if price has moved more than “X%” of Daily ATR from slow MA on low time frame.