Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
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 Relative strength index filter.
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) and 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 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 Relative strength indexes.
The RSI Properties are set by default to 25 days.
It has nine scale lines, these are as follows 10,20,30,40,50,60,70,80 and 90.
The idea here is when the RSI line crosses above a scale line a buy trade is made on the close of a green candlestick.
Or if the RSI line crosses below a scale line a sell trade is made on the close of a red candlestick.
A buy trade is closed by a sell trade and a sell trade is closed by a buy trade.
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 500 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.
If price activates the TP line a new trade is made only when the RSI line makes its next crossing.
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 250 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.
If price activates the TSL line a new trade is made only when the RSI line makes its next crossing.
I also require a visual aid line on the chart.
I would like the ability to change the distance by the number of points.