Simple Buy/Sell EA Based on Signal Provided by Indicator

MQL4 Indicators Experts

Job finished

Execution time 3 days

Specification

This EA is a simple buy/sell indicator based on the color of the dots from the indicator. A blue dot indicates a buy signal, and a yellow dot indicates a sell signal.

The EA should open either a buy/sell signal based on the color of the dot upon the close of the candle.

The first option for the EA should be "WaitForOppositeSignal" true or false. The "true" option means that the EA must wait for an opposite colored dot to open a trade. The "false" option means that once the EA is attached it will open a trade based on the CURRENT color of the dot. 

IMPORTANT: THE EA MUST WAIT FOR THE COLOR OF THE DOT/CANDLE TO CLOSE. IT SHOULD NOT OPEN A TRADE IF THE DOT OPENS A DIFFERENT COLOR, IT SHOULD WAIT FOR THE CANDLE TO CLOSE BEFORE TAKING THE TRADE. The EA Should close the trade once an opposite signal is triggered and it should then open a trade in the opposite direction.

The additional options should be as follows:

Lot Size: 

Break Even Pips:

Stop Loss Pips:

Take Profit Pips:

Session Start Hour:

Session Start Minute:

Session End Hour:

Session End Minute:

Minimum Opposite Dots to Open/Close Trade: (#) This is the number of closed dots required to open/close trades. The default value is set to 1, meaning only 1 opposite colored dot needs to close before opening/closing the trade. A higher value like 2 or 3 would be used to filter trades if price reverses only momentarily, useful for shorter time frames.

Below is a picture indicating valid entries for the EA. PLEASE READ: THE LINE INDICATES ENTRIES BASED ON THE CLOSE OF THAT CANDLE. MEANING THE ACTUAL ENTRY IS AT THE OPEN OF THE CANDLE AFTER THE VERTICAL LINE. THIS IS VERY IMPORTANT, PREVIOUSLY EAs I REQUESTED HAD TRADES OPENING/CLOSING AS THE COLOR OF THE DOT CHANGED RATHER THAN WAITING FOR IT TO CLOSE. 

 

AGAIN: THE TRADE SHOULD BE TAKEN AT THE OPEN OF THE CANDLE AFTER THE VERTICAL LINE INDICATES BECAUSE WE ARE WAITING FOR THE COLOR CHANGE OF DOT TO CLOSE. THE TRADE IS OPEN/CLOSED ONCE AN OPPOSITE COLORED DOT HAS CLOSED. If the EA takes multiple trades as the color of the dot changes within the time frame then it is not working correctly. The EA set on a 5 minute time frame should take trades only at 5 minute intervals, the close of a candle. I shouldn’t see trades being taken at  ex: 2:43, 2:41, 2:44, etc. 

IF THE CURRENT TREND IS A BUY (BLUE DOTS) AND THE NEXT CANDLE OPENS WITH A YELLOW DOT, THE EA SHOULD NOT OPEN A SELL TRADE UNTIL THE CANDLE CLOSES WITH A YELLOW DOT BECAUSE THE COLOR OF THE DOT MAY CHANGE WITHIN THAT TIME INTERVAL 

 

 

THE EA SHOULD BE CODED USING THE FOLLOWING SETTINGS FOR THE INDICATOR, IT DOES NOT REPAINT. 

 

Attached is the indicator. This should be a relatively simple EA to code however it is critical that entries are based on the close of candles/dots and not as the color is changing within the time frame.

 

Files:

EX4
nonlagdot.ex4
14.9 Kb

Responded

1
Developer 1
Rating
(320)
Projects
523
66%
Arbitration
52
21% / 38%
Overdue
167
32%
Free
2
Developer 2
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
3
Developer 3
Rating
(2086)
Projects
2646
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
4
Developer 4
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
5
Developer 5
Rating
(339)
Projects
809
73%
Arbitration
30
33% / 37%
Overdue
194
24%
Free
6
Developer 6
Rating
(68)
Projects
111
26%
Arbitration
17
6% / 71%
Overdue
15
14%
Free
7
Developer 7
Rating
(106)
Projects
314
49%
Arbitration
42
52% / 19%
Overdue
22
7%
Free
8
Developer 8
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
9
Developer 9
Rating
(11)
Projects
17
41%
Arbitration
4
0% / 100%
Overdue
5
29%
Free
10
Developer 10
Rating
(219)
Projects
405
60%
Arbitration
13
38% / 23%
Overdue
160
40%
Free
11
Developer 11
Rating
(13)
Projects
34
76%
Arbitration
1
100% / 0%
Overdue
6
18%
Free
12
Developer 12
Rating
(31)
Projects
81
83%
Arbitration
1
0% / 0%
Overdue
29
36%
Free
13
Developer 13
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
14
Developer 14
Rating
(12)
Projects
17
35%
Arbitration
1
0% / 100%
Overdue
3
18%
Free
15
Developer 15
Rating
(71)
Projects
156
44%
Arbitration
22
41% / 14%
Overdue
16
10%
Free
16
Developer 16
Rating
(3)
Projects
4
50%
Arbitration
0
Overdue
0
Free
Similar orders
Hi, I have 2 indicators which are based on the super trend , the alerts on indicator (1) does not work at all , and on the other indicator the alerts do not come on time on time, which is kind of delayed. see attached file below
Looking for an experienced developer to modify my existing TDI strategy , want to add filter for Buy and Sell Signals, Arrows are displayed on chart and what only to leave high accurate arrows Source code to be provided
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this

Project information

Budget
25 - 30 USD
For the developer
22.5 - 27 USD
Deadline
from 1 to 7 day(s)