工作已完成
指定
I need help to get this done.
Here is the concept for the Expert Advisor. It is designed to run on any time frame, but will be focused on 30 Min and above.
The EA will depend on three indicators.
• CCI Oscillator (Set to fixed min and max of -300 & 300 respectively)
• Moving Average (Set to 50 period)
• Stochastic Oscillator (Standard settings)
Inputs -- (XX) = Numbers for this example.
Stop Loss
Take Profit
CCI level 1 (100)
CCI Level 2 (-100)
Stochastic Level 1 (62)
Stochastic Level 2 (38)
The goal is to take trades with the trend based on where price is in relation to the Moving Average. Price over the MA means the only trades that should be taken are up-trending trades. Price below the MA means the only trades that should be taken are down-trending trades.
SELL ORDERS: Below the Moving Average
1. Stochastic - value line crosses below the signal line of the indicator and crosses below 62 and CCI crosses below 100. When this is true for both indicators, the EA should make the trade. Close this trade when the Stochastic value line goes under the input level (38) and then crosses back to the input level minus 5 points (33).
NOTE: If the Stochastic value line does not make it to the input level (38), then close the trade at the cross with the signal line.
2. Stochastic - value line crosses below 38 and CCI crosses below -100. When this is true for both indicators, trade. Close this trade when the two Stochastic lines cross.
BUY ORDERS: Above the Moving Average
1. Stoch - value line crosses above 38 and CCI crosses above -100. When this is true for both indicators, the EA should make the trade. Close this trade when the Stochastic value line goes above the input level (62) and then crosses back to the input level plus 5 points (67).
NOTE: If the Stochastic value line does not make it to the input level (62), then close the trade at the cross with the signal line.
2. Stoch - value line crosses above 62 and CCI crosses above 100. When this is true for both indicators,the eA should make the trade. Close this trade when the two Stochastic lines cross.