Compare Proposal

Nothing to compare.

Metatrader4 Expert Advisor

  • Posted at : 4 months ago
  • Post Similar Project
80

Budget
2
Proposals
76
Views
Open
Status
Skills Required

Posted By -

LM

0.0
Projects Posted : 1
Projects Paid : 0
Services Purchased : 0
Total Spent :
0
Feedbacks : 0 %

Project Details show (+) hide (-)

The EA should trade all the engulfing candles on a specific cross, with few rules to be respected:

Rule 1) The EA should be coded to trade from 7:00a.m. to 23:00p.m. Rome GMT (It should be possible to set the Time Zone). Open trades at 23:00 will be let run to close either at Take Profit or Stop loss.
✓ It should also be coded to trade the Asian Session but with a different length of the engulfing candles as explained later. (It should be possible to activate or deactivate the trading during the Asian session).
✓ All open trades must be closed by 22:00 Rome GMT on Friday night not to have open trades during the week-end.

Rule 2) ✓ R:R 1:1.5 for engulfing candles with body (wicks excluded) between 6 and 13 pips. Bring stop loss to break-even when the trade is at 1:1 R:R
✓ R:R 1:2 for engulfing candles with body (wicks excluded) between 4 and 6 pips. Bring stop loss to break-even when the trade is at 1:1 R:R
✓ R:R 1:3 for engulfing candles with body (wicks excluded) between 3 and 4 pips. Bring stop loss to break-even when the trade is at 1:1.5 R:R
✓ R:R 1:4 for engulfing candles with body (wicks excluded) between 2 and 3 pips. Bring stop loss to break-even when the trade is at 1:2 R:R
✓ No trades for engulfed candles with body + wicks bigger than 13 pips.
✓ For candles with body smaller than 2 pips, consider them as 2 pips and trade according to the rules above. (If the engulfed candle is 1.5 pips, the trade starts when the engulfing candle reaches 2 pips).
✓ (It should be possible to adjust the number of pips and the R:R ratio in order to run several back test - to adjust the break-even R:R ratio also).

Rule 3) Asian session: trade only the engulfing candles with engulfed candles with body between 2.5 and 5.5 pip.
✓ From 2.5 to 3.5 pips with R:R 1:2.5
✓ From 3.5 to 5.5 pips with R:R 1:2
✓ For engulfed candles with body smaller than 2.5 pips, consider them as 2.5 pips and trade with R:R 1:2.5 (If the engulfed candle is 1.5 pips, the trade starts when the engulfing candle reaches 2.5 pips).
✓ Bring always stop loss to break-even when the trade is at 1:1 R:R.
✓ (It should be possible to adjust the number of pips and the R:R ratio in order to run several back test - to adjust the break-even R:R ratio also).

- Note About Risk Reward and Stop Loss and Take Profit:

i.e. R:R 1:1.5
If the engulfed candle is 8 pips wick excluded, the stop loss is at the bottom of the body of the engulfed candle and the TP is 12 pips. And the buy is when the engulfing candle starts the engulfing.
(For bearish engulfing candles is the opposite).

i.e. R:R 1:2
If the engulfed candle is 4.5 pips wick excluded, the stop loss is at the bottom of the body of the engulfed candle and the TP is 9 pips. And the buy is when the engulfing candle starts the engulfing.
(For bearish engulfing candles is the opposite).

Rule 4) Timeframe 5 minutes (It should be possible to set timeframes thou).
✓ The trades should start every 5 minutes if the conditions are met: 0 5 10 15 20 25 30 ... 60.
i.e. The total height of the engulfed candle of minute 5 is 6 pips, the trade starts between minute 5 to 10 when the engulfing candle reach 6 pips.
- If it goes to stop loss the trade can start again during the minutes 5 to 10 if the conditions are met again.
Basically the EA should place a pending order after each 5 minutes candle which will be eventually executed during the next following 5 minutes if conditions are met.
If it goes to stop loss a new pending order will be placed. After 5 minutes the pending order will be cancelled, and a new pending order will be placed according to the new candle formed.

Rule 5) Risk for each trade 0.5% of fixed capital. (It should be possible to change the % thou).

Rule 6) ✓ The EA must Stop to trade for the day if a net of 7 Negative Trades occurs.
✓ The EA must Stop to trade if the daily loss exceed the 4% of the capital.
(It should be possible to set the number of net trades lost in a day and to set the % of the max daily loss allowed)

Rule 7) Close the trade if an opposite engulfing candle appears, and trade the opposite engulfing candle.

Rule 8) Send SMS and app alert for each open / closed trade.

Rule 9) Multiple trades are allowed if they occur, but bear in mind that the max number of net trades lost in a day must be 7. So, if 4 net trades are already lost, max 3 more multiple open trades are allowed. If 5 net trades are already lost, max 2 more multiple open trades are allowed. If 6 net trades are already lost, max 1 more open trade is allowed.