Simple Buy/Sell EA Based on Signal Provided by Indicator

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 3 días

Tarea técnica

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.

 

Archivos adjuntos:

EX4
nonlagdot.ex4
14.9 Kb

Han respondido

1
Desarrollador 1
Evaluación
(334)
Proyectos
544
67%
Arbitraje
53
21% / 40%
Caducado
169
31%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(88)
Proyectos
143
39%
Arbitraje
21
19% / 48%
Caducado
30
21%
Libre
3
Desarrollador 3
Evaluación
(2352)
Proyectos
2958
63%
Arbitraje
125
44% / 26%
Caducado
429
15%
Libre
4
Desarrollador 4
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
5
Desarrollador 5
Evaluación
(339)
Proyectos
809
73%
Arbitraje
30
33% / 37%
Caducado
194
24%
Libre
6
Desarrollador 6
Evaluación
(68)
Proyectos
111
26%
Arbitraje
17
6% / 71%
Caducado
15
14%
Libre
Ha publicado: 9 ejemplos
7
Desarrollador 7
Evaluación
(106)
Proyectos
314
49%
Arbitraje
42
52% / 19%
Caducado
22
7%
Libre
8
Desarrollador 8
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
Ha publicado: 10 ejemplos
9
Desarrollador 9
Evaluación
(11)
Proyectos
17
41%
Arbitraje
4
0% / 100%
Caducado
5
29%
Libre
10
Desarrollador 10
Evaluación
(221)
Proyectos
412
61%
Arbitraje
13
38% / 23%
Caducado
163
40%
Libre
Ha publicado: 51 artículos, 1 ejemplo
11
Desarrollador 11
Evaluación
(13)
Proyectos
34
76%
Arbitraje
1
100% / 0%
Caducado
6
18%
Libre
12
Desarrollador 12
Evaluación
(31)
Proyectos
81
83%
Arbitraje
1
0% / 0%
Caducado
29
36%
Libre
13
Desarrollador 13
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
Ha publicado: 354 artículos, 1 ejemplo
14
Desarrollador 14
Evaluación
(12)
Proyectos
17
35%
Arbitraje
1
0% / 100%
Caducado
3
18%
Libre
15
Desarrollador 15
Evaluación
(71)
Proyectos
156
44%
Arbitraje
22
41% / 14%
Caducado
16
10%
Libre
Ha publicado: 10 ejemplos
16
Desarrollador 16
Evaluación
(3)
Proyectos
4
50%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
I need an existing mt5 expert advisor that can been in trading for more than 12 months. The PF of the ea should not be less than 2.0 and be in profit in the last four months with average profit of not less than 20% per month. The Maximum drawdown should be less than 20% and Max deposit load less than 10%. Such ea should be able to trade with less than or equal to $300. Whats needed is .ex5 and source file is also
Ready to use MT5 bot 99 - 6990 USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best
I am a trader looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to

Información sobre el proyecto

Presupuesto
25 - 30 USD
Plazo límite de ejecución
de 1 a 7 día(s)