Spezifikation
Please do not offer to code this order unless you are able to use clean code and delivery the EA on time,
All settings are to be changeable in the “input” window on the EA and I would also like to enable/disable them (True/False) individually, trades are only to be entered once all the enabled conditions are met at the close of the current candle.
Trading days & times:
I would like to select the days and times of the day that the EA is allowed to trade, not all days will have the same trading hours so I will need to set the times for each day.
I would like the option to choose if all open trades to be closed at the end of each day’s trading session or not.
Max Profit/Loss for the week:
Would like to set the Max account Profit and a max account Loss for the week in a percentage format, this is based off the Equity in the account at the start of each week. Once either limit is reached the EA is to close all open trades and send an email advising that either the profit target has been reached or the max loss limit has been reached and to stop trading for the rest of the week, I need the option to enable/disable this when to the EA being loaded onto the chart.
Trade Size.
I want to be able to set the percentage of my equity I want to risk per trade from 0.1% to 20%, I need to also set the max lot size per trade so if the trade size exceeds that lot size the trade is to be entered at the max allowable lot size. For example, if I set the risk to 5% and that works out to be 1.45 lots but I have set the max lot size per trade to 1.2 lots then the trade is to be calculated at the lower of the two figures.
Trade Condition 1. RSI
If the RSI is above a selected number, then only short trades are to be entered and if RSI is below a selected number, then only long trades are to be entered.
Condition 2. Moving averages.
I need 2 moving averages and I need to be able to set all the moving averages parameters (Period/Shift/MA Method & applies to), If the first moving average is above the second moving average and the RSI is below a set number then only long trades are to be entered & if the first moving average is below the second moving average and the RSI is above a set number then only short trades are to be entered.
Condition 3. Bullish/bearish candles
I would like to select a certain number of closed candles that are consecutive in one direction, for example a trade is to entered if the there’re are a certain amount of closed candles that are either bearish or bullish I want to able to set that figure myself, I also want to choose if that figure is to include or exclude Doji’s (a candle that opens and closes at the same price),
X number of bullish candles then a long trade is entered.
X number of bearish candles then a short trade is entered.
Condition 4. Reversal trade
Once condition 3 is met I want an opposite trade to be entered on the close of the first candle in the opposite Direction. I also want to choose if a Doji candle (a candle that opens and closes at the same price), is to be counted as an opposite candle
For example, I set condition 3 to 6 bullish candles so once that condition is met and a long trade is entered then when the next candle closes bearish a short trade is to be entered and vice versa.
STOPLOSS.
Bullish trade initial Stoploss placement for condition 3.
I want to be able to choose if a long trade stoploss is placed at either the open or low of the first candle in condition 3.
Bearish trade initial stoploss placement for condition 3.
I want to be able to choose if a short trade stoploss is placed at either the open or high of the first candle in condition 3.
Bullish trade initial stoploss placement for condition 4.
I want to be able to choose if a long trade stoploss is placed at either the open or low of the first candle in condition 4.
Bearish trade initial stoploss placement for condition 4.
I want to be able to choose if a short trade stoploss is placed at either the open or high of the first candle in condition 4.
TRADE MANANGMENT.
I want to select if all trades are to use option 1 or 2
Option 1 fixed take profit.
1. The take profit is set to a fixed amount of times greater than
The stoploss, for example I can choose how many times greater the take profit is compared to the stoploss, (if the stoploss is 10 pips and I set the take profit as 7.5 then the take profit would be 75 pips.
Option 2 Moving Stoploss.
I would Like a moving take profit that has 4 stages, for this we will use the example that the initial stoploss is 10 pips.
1. Once a candle closes a chosen number of times greater than the initial stoploss the stoploss is moved to the trade entry price. (so if this was set to 1.7 then the stoploss will move to the trade entry price when a candle closes 17 pips above the trade entry price).
2. Once a candle closes a chosen number of times greater than the initial stoploss then the stop loss is moved from trade entry price to chosen number of times greater than the initial stoploss (for example if this is set to 5.2 and 2, once a candle closes 52 pips above the trade entry price the stoploss is to be placed at 20 pips above the trade entry price).
3. The same as stage 2
4. The same as stage 3
At some point in the future, I would like to make addition stages to this.
If you have any questions please ask.