An Expert Advisor based on two consecutive candlesticks formation

MQL4 Experts

Job finished

Execution time 10 days
Feedback from customer
Executed EA with excellence. The best i have ever had. I highly recommend him for EA developments.
Feedback from employee
Great strategy, Good man.

Specification

Hello I want an EA that will trade my simple strategy for me. 

Variables:

"T" Timeframe based on mt4 timezone. eg H1

"Candle1" Enter mt4 time candle1 was completely formed or should be formed eg 23/04/2019 10:00:00

"Candle2" Enter mt4 time candle2 was completely formed or should be formed eg 23/04/2019 11:00:00

"MAX" Maximum trades allowable per trading day on selected currency eg 3

"LOT" Lot Size to trade eg 0.01

"SL" Stoploss in pips eg 30

"TP" Takeprofit target in pips eg 60

"CURRENCY" eg GBPUSD

STRATEGY

If Closing price of Candle2 >Opening price of Candle2

Place a buy limit order @ the LOW of Candle1.

If Closing price of Candle2<Opening price of Candle2

Place a sell limit order @ the HIGH of Candle1.

If Closing price of Candle2=Opening price of Candle2:

CREATE Another variable "CandleX" = Candle competely formed or will form after "Candle2" Then

REPEAT:

If Closing price of CandleX >Opening price of CandleX

Place a buy limit order @ the LOW of Candle1.

If Closing price of CandleX<Opening price of CandleX

Place a sell limit order @ the HIGH of Candle1.


NOTE:

1. EA should only trade if all the  conditions listed below are met;

a. Spread <= 4pips

b. "MAX" is specified

c. "SL" is specified

d There is no current trade running. Under no circumstance should the EA add another position to an already existing position except the it closes first either in profit or Loss. 

e. Market is Opened.

2. All limit orders not triggered should be deleted at 23:59:00  MT4 Timezone

3. EA Should allow manual closing of a triggered position by user.

4. Moving the SL is permitted only in the direction of profit of the position - up for long position and down for short position;

5. If you can not set the SL at the level of the line, it should be set at the minimum allowable distance (but only if it complied with the previous rule of moving in the direction of the profit);

6. Should have a configurable trailing stop feature ie (AllowTrailing = true/false parameter).


Miscellaneous:

  • When you run the Expert Advisor, it should attach the used indicators with the specified parameters;
  • The information on the opening/closing of positions and of modifications of the SL should be stored in the Journal;
  • If there are any errors, it must print a message describing the error.



Responded

1
Developer 1
Rating
(173)
Projects
201
49%
Arbitration
18
11% / 44%
Overdue
1
0%
Free
2
Developer 2
Rating
(362)
Projects
501
41%
Arbitration
145
17% / 73%
Overdue
98
20%
Busy
3
Developer 3
Rating
(354)
Projects
629
26%
Arbitration
88
73% / 14%
Overdue
12
2%
Working
4
Developer 4
Rating
(320)
Projects
466
42%
Arbitration
77
12% / 64%
Overdue
75
16%
Working
5
Developer 5
Rating
(42)
Projects
47
83%
Arbitration
1
0% / 0%
Overdue
2
4%
Free
6
Developer 6
Rating
(38)
Projects
67
9%
Arbitration
18
11% / 56%
Overdue
17
25%
Free
7
Developer 7
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
8
Developer 8
Rating
(241)
Projects
386
51%
Arbitration
14
14% / 14%
Overdue
43
11%
Free
9
Developer 9
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
10
Developer 10
Rating
(94)
Projects
138
75%
Arbitration
0
Overdue
2
1%
Free
11
Developer 11
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
12
Developer 12
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
13
Developer 13
Rating
(3)
Projects
2
0%
Arbitration
7
0% / 86%
Overdue
0
Free
14
Developer 14
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
Similar orders
Fractals EA 30 - 50 USD
l' ea invia l'ordine buy quando il prezzo incrocia la retta superiore e sell quella inferiore che devono essere inserite automaticamente all' altezza dell' ultimo fractal superiore (buy) e inferiore (sell)
Breakeven 30 - 50 USD
l' ea deve aprire un ordine quando la media piccola incrocia quella grande, chiude la metà dell' ordine quando il guadagno raggiunge una percentuale prefissata e mette il rimanente a breakeven
Hello dear, How are you doing Hope everthing is fine I have 6 MT4 indicators that need to be converted into a Tradingview indicator. can you complete this? And am waiting for your response!! Thanks
I need assistance please with an indicator that will show buy or sell signal when ever the following moving averages cross below or above(i.e outside) the attached exodus bands. the moving average settings should be as follows. Exponential period 3 applied to close and Linear Weighted period 9 applied close Exodus Bands Ultimate Trading tools.ex5 Ideally can the buy/sell arrow only appear when the above mentioned
I need an expert to help me with BOT for MEXC Futures with Reverse Martingale functionality BOT for MEXC Futures with Reverse Martingale functionality. Open trade for market price, if trade hit stoploss then open same or bigger size position in the same or opposite direction with same stoploss and take profit and repeat this till the target is achieved. It could be something like this plugin for Meta Trader -
Hi, I want to develop copier for mt4 to sway markets On_Off BalanceComparison Lots_percentage Lots_fixed On_Off ReplacingsOn; Replacings="GOLD=XAUUSD,SILVER=XAGUSD" On_Off Reopen On_Off Enable_Close ; On_Off Enable_Pending On_Off Enable_Modify Reverse_Trades Mirror_SL_TP any one can do this please contact
3_EMA_EA 50 - 100 USD
FYI I am GMT You need to be familiar with Indices as my money managment will not work with Forex and Spreadbetting because I use Bets instead of Lots For confirmation I propose using a professionally made MA Multi TF indictor (I have the code) === Settings === 0. Show_Calculations ... 1. Time_Frame ... 2. Start_Hour ... 3. Start_Minute ... 4. End_Hour ... 5. End_Minute ... 6. Close_All_End ... 7. MA_1_Period
The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the with the specified period. If the current EMA value is greater than the previous one, the trend is seen as growing (Ema current > Ema previous). Alternatively, if current EMA is below the previous one, the trend is considered
I need an EA that can generate alot For prop firm: 10% overall max DD 5% daily DD Minimum 10-15% monthly Willing to buy source code aswell For Live: As lowest DD as possible As highest profit as possible
I need just the code tgat draws trendlines and channels. But with a twist. I need it drawing trend lines afte 2 candles then if a new inner trend happens that line is drawn plus keep original and if there is a channel occurring draw the top of the candle trendline on an uptrend but what's more important is the lines are drawn on the bottom the and top corners to corners of trend not tail n whacks then I also need

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
to 10 day(s)