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
(334)
Projects
544
67%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code
2
Developer 2
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
3
Developer 3
Rating
(2352)
Projects
2958
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
4
Developer 4
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
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
Published: 9 codes
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
Published: 10 codes
9
Developer 9
Rating
(11)
Projects
17
41%
Arbitration
4
0% / 100%
Overdue
5
29%
Free
10
Developer 10
Rating
(221)
Projects
412
61%
Arbitration
13
38% / 23%
Overdue
163
40%
Free
Published: 51 articles, 1 code
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
Published: 354 articles, 1 code
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
Published: 10 codes
16
Developer 16
Rating
(3)
Projects
4
50%
Arbitration
0
Overdue
0
Free
Similar orders
The Traffic Rush 250 - 500 USD
Subject: Inquiry: MQL4 Optimization & Refinement for Proprietary Binary Suite (Pine-to-MT4) I am seeking an experienced MQL4 / MetaTrader developer to optimize and finalize a custom binary options trading suite. Project Summary Core Architecture: Multi-pair Regime Scanner (22-pair FX basket monitoring state/score) and a Signal Engine operating on M1 charts. Strategy Sequence: Pre-Alert Dot: Placed on a candle closing
Hello I want some that can help with my strategy signal I have the video that you are going to watch if you know you can help me with kindly do well to bid and let discussed it an urgent project and also if you can not work before you get paid please don bid thanks
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
i need an expert to develop Bot TO trade using MT5 with a profitable strategy ... work daily with good indicators the price will be negotiable will try the bot first after we can decide
The indicator should identify the high and low of two configurable trading sessions, draw their levels on the chart, and generate reliable breakout alerts. 1. Session Settings Symbol: Current chart symbol (EURUSD for testing). Timeframe: M5. Two independent sessions: Session A: 08:00–10:00 Session B: 13:00–15:00 All times use MT5 broker server time. Start and end times must be configurable. The indicator should
Project: Convert TradingView Indicator to MT4 We are looking for an experienced MQL4 developer to convert a high-quality TradingView indicator into a MetaTrader 4 (MT4) indicator. Indicator Details: The TradingView indicator generates buy and sell arrows for trade entries. It is non-repainting, has no lag, and is highly reliable. Arrows appear only after the candle closes and remain visible permanently. Requirements
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
Project Overview: I am looking for an experienced MQL5 developer to convert a suite of 6 custom MT4 indicators into native, fully optimized MQL5 (.mq5) indicators. I will provide the uncompiled .mq4 source files for all seven tools upon hiring. The indicators must compile cleanly in MetaEditor for MT5 without errors or critical warnings, function correctly together on a multi-timeframe chart setup (specifically
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
I am looking for an experienced MQL5 developer or development team to build a scalable Telegram-to-MT5 copy trading system. The main purpose of the system is to monitor trading signals from my Telegram channel and automatically execute those signals on connected client MT5 accounts. Core Requirements Receive and parse trading signals from Telegram Automatically execute trades on connected MT5 accounts Support more

Project information

Budget
25 - 30 USD
Deadline
from 1 to 7 day(s)