指定
Hi
I would like to create an EA from an MT4 indicator I have. The indicator I have is a trend indicator that has a EMA that changes to blue when the market is in strong up trend and into red when the market is in a down trend.
Find bellow what I want to EA does:
Entry signals for Buy/Sell
1) Buy when price (candle) closes above the Blue EMA. the EA should have the capability to select anytime frame I want.
2) Sell when price (candle) closes above the Blue EMA. the EA should have the capability to select anytime frame I want.
Trade Management
1) The EA should have the option to specify the lot size to enter the trade, define the stop loss and the take profit (TP) parameters.
2) Also the EA should have the option to close partial of the positions after the market have moved a specific amount of points or pips.
3) Move the stop loss to break even, and trailing stop.
Capital Management
1) The EA should have a parameter to define X number of trades allowed in a day or trade session. Once the maximum number of trades is reached the EA must be disabled and stop enter more trades.
2) If I have lost X amount of money, the EA should stop immediate from entering into new trades. (EA must disable after hitting the maxim loss per day or per trade.
3) EA should have the option to define a maximum loss per trade and per day.
Filter News Trades
1) Finally the EA should have an option to disable trading through a mayor news event