Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
INDICATORS ARE:
1. CHANNEL (Half length: 50, Price: 6, Band deviation: 3).
2. EXPONENTIAL MOVING AVERAGE (PERIOD: 100, shift:0, MA method: Exponential, Apply to: close).
The indicators’ values must be adjustable.
TRADE ENTRY CONDITIONS:
1.BUY ORDER:
EXECUTE BUY ORDER:
a. If the exponential moving average (PERIOD:100) crosses below the middle band of the channel from above the middle band of the channel.
EXIT BUY ORDER:
a. If the exponential moving average (PERIOD:100) crosses above the middle band of the channel from below the middle band of the channel.
2. SELL ORDER:
EXECUTE SELL ORDER:
a. If the exponential moving average (PERIOD:100) crosses above the middle band of the channel from below the middle band of the channel.
EXIT SELL ORDER:
a. If the exponential moving average (PERIOD:100) crosses below the middle band of the channel from above the middle band of the channel.
TRADE MANAGEMENT CONDITIONS
a. provide option for input fixed lot size.
b. the EA should use specified percent of account size to execute any trade (it must be input by the user).
c. add trailing stoploss order (value must be input by user).
d. it must contain take profit and stoploss functions
e. it must trade all time frames and all instruments.
f. the EA must execute one trade at a time.
g. provide option for break even and break even steps if price moves in your direction for a certain number of points (number of points set by the user).
Provide option for exit order (True/False).
NOTE:
WHEN THE EA EXITS A BUY ORDER ON ITS OWN WITHOUT HITTING TAKE-PROFIT OR STOP-LOSS;, THE SELL ORDER CONDITION MUST HAVE BEEN MET WHICH MEANS; IT SHOULD PLACE A SELL ORDER AT THAT POINT.
WHEN THE EA EXITS A SELL ORDER ON ITS OWN WITHOUT HITTING TAKE-PROFIT OR STOP-LOSS; THE BUY ORDER CONDITION MUST HAVE BEEN MET WHICH MEANS; IT SHOULD PLACE A BUY ORDER AT THAT POINT.
IF THE EA HITS TAKE PROFIT OR STOPLOSS, IT SHOULDN'T PLACE ORDER IMMEDIATELY UNTIL THE NEXT CONDITION IS MET.