仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
EA Requirements.
The EA opens and closes trades.
It determines trade types, Buy or Sell.
It should work on all time frames and currency pairs.
It should work on all chart types. Line, Bar or Candlestick.
It should work on both account types. Live and Demo.
It places Trailing stop loss and Take profit lines as trades are made.
The EA has a visual Blue Take profit line.
The EA has a visual Red Trailing Stop Loss line.
The EA has a MACD Filter.
The EA has a single Adaptive Moving Average Line.
The EA places directional Trade arrows onto the chart at execution.
The EA has different lot sizes available to choose from.
The EA has two trading clocks which sets trading times,
I can choose the trading days.
I can manually amend the parameters and settings on all the above.
Properties and inputs for EA
Trading clocks and weekdays.
The EA has two trading clocks which use military time (24-hour clock), they are set to the brokers’ time.
They are pre-set from 08.01 to 16.59, Monday to Friday as default.
For example, by having two clocks, I could use one for trading all day 08.01 to 16.59 or I could use both clocks one for 08.01 to 11.00 and the other from 14.00 to 16.59 missing the lunch time period.
Furthermore, if it could have a true or false check for the days of the week, I can trade all week or just for one day.
It will automatically close all trades at the pre-set close time regardless of whether the trade is IN or OUT of profit.
I would like to be able to amend the trading clocks time zones and the days for trading.
The Trading clock should be displayed at the bottom right-hand corner of the chart showing the brokers’ time.
Trade Arrows.
Firstly, the trade arrows are placed on the chart when a trade is made.
A small blue arrow pointing upwards is placed at the trade entry point for a buy trade.
A small red arrow pointing downwards is placed at the trade entry point for a sell trade.
Lot sizes.
The lot size is automatically set to a standard lot size.
However, I would like to have the ability to change these to other lot sizes, such as a Micro lot or to a mini lot size.
The Adaptive Moving Average Line.
The Long White AMA line default settings are (200,2,30).
The idea here is when a Green candlestick closes above the Long White AMA line and provided that the MACD agrees a Buy trade is made.
However, if on a Buy trade price should cross under the AMA line then the trade is closed.
Or if a Red candlestick closes below the Long White AMA line and provided that the MACD agrees a Sell trade is made.
Furthermore, if on a Sell trade price should cross over the AMA line the trade is closed.
I can manually amend the parameters and settings on all the above.
The MACD filter.
The properties and settings are as follows the Fast EMA 12, Slow EMA 26 and the Signal line SMA is 9.
The idea here is when the MACD Red signal line is below the zero-scale line and the Green MACD line is above the MACD Red signal line a Buy trade is made on the close of a Green candlestick provided price is above the Long White AMA line.
However, during a Buy trade if the Green MACD line becomes less than the MACD Red signal line the trade is closed.
Or when the MACD Red signal line is above the zero-scale line and the Green MACD line is below the MACD Red signal line a Sell trade is made on the close of a Red candlestick provided price is below the Long White AMA line.
Furthermore, if on a Sell trade the Green MACD line becomes greater than the MACD Red signal line the trade is closed.
All trades are made on the close of a candlestick.
I can manually amend the parameters and settings on all the above.
Take profit line.
The take profit line is automatically set at 800 points ahead of trade as default.
The idea is as price moves towards this visible stationary line and eventually touches it, trade is closed, and profit is secured.
Both Take profit and Trailing stop loss lines are placed on the chart at the opening of a trade and are removed when the trade is closed.
I also require a visual aid line on the chart.
I would like the ability to change the distance by the number of points.
Trailing Stop loss line.
The Trailing stop loss line is automatically set at 300 points behind trade as default.
If price should head towards the trailing stop line, the line remains fixed until price touches the line, and the trade is closed.
However, if price moves away from the line the line follows price point by point.
I also require a visual aid line on the chart.
I would like the ability to change the distance by the number of points.