Modifying an existing indicator to add new alerts in its version 1 (or debugging the existing alerts with certain errors in version 2) gives two options:

MQL4 Indicators

Specification

I need to add an alert to my SMC Order Blocks indicator. This is a custom indicator that was made for me some time ago. This custom indicator already has built-in alerts, but I need to add another type of alert, keeping the existing alerts unchanged.

The alert will be for a specific Order Blocks pattern.

This indicator graphically provides a zigzag, from which CHoCH and BOS are derived with their respective zones of interest. What I want is for an alert to be sent when there is an alignment of zones of interest in the same direction with specific parameters. The basic explanation would be:


FOR BUY ALERTS:

When the last bullish OB aligns with a second prior bullish OB, touching each other, and the last OB in chronological order has a higher low than the old OB’s low and a higher high than the old OB’s high, the alert is sent.

FOR SELL ALERTS:

When the last bearish OB aligns with a second prior bearish OB, touching each other, and the last OB in chronological order has a lower high than the old OB’s high and a lower low than the old OB’s low, the alert is sent.


This is a bit hard to explain, but the alert system is straightforward.

In fact, this alert system was already designed by a programmer. In other words, they already updated the indicator. However, the work was done poorly because while the correct alerts are sent, many other incorrect alerts are also sent. To give you context, for example, out of 100 alerts, 30 are correct, and the other 70 are not... Moreover, the indicator has two issues that end up wasting time. The first is that both correct and incorrect alerts accumulate when opening the terminal. For example, if the terminal was last opened on 01-08-2024, and today, 15-09-2024, it is reopened, the charts haven’t been updated during all those days, and they get updated all at once. Since the alert system works on candle close, a bunch of old alerts are sent, which I don't need. I only care about alerts sent from the moment the terminal opens onward, not all the previous ones, as they overload the terminal, slow it down, and provide irrelevant information.

The second issue is the incorrect alerts being sent, which only waste time.

In case you didn’t understand the previous explanation about the alert system, I left some images, some drawn by me to explain the concept of what I want, and others taken directly from the chart with my indicator.


Note: As I mentioned, this indicator has a built-in alert system that notifies when a new OB is generated. This alert system should remain unchanged without modifications. This system is even visible on the chart because it has a button in the upper left corner of the chart called "Alert." This button is only visible when the indicator is applied to the chart. By default, this button is gray, and when the alerts are activated, the button turns light green. This must remain as is without changes.

The new alert has nothing to do with this alert button or the existing alerts; it is completely separate. I’m clarifying this because the previous programmer got confused and mixed everything up, although he later fixed it, but still left the new alerts buggy.


I CURRENTLY HAVE BOTH INDICATORS, that is, I have the original version that does not have the additional alerts I want, and I have the buggy version that the programmer delivered to me. I can send both versions so that the new alerts I need can be incorporated without errors into the version without issues, while referring to the key points from the buggy version. This way, it avoids the existing errors, and the indicator ends up fully debugged, without errors and with the alerts I need.

You, as the programmer, can decide:

  1. If you fix the current alerts in the version with errors.
  2. Modify the original version, adding the alerts I need while referencing how the previous programmer did it in the buggy version, but without the existing bugs.

Personally, I would prefer the first option since it's easier to modify something that already exists by removing the errors and debugging it than creating everything from scratch. You could also understand more quickly how these alerts work by looking at the buggy indicator, which already has them, and thus create a well-done, debugged version faster and more easily. However, in the end, you, as the developer, can decide based on what seems easier for you to do—the idea is that it ends up error-free. The budget is 30 USD. If you're willing to take on the task, apply to the job. I don't plan to increase the budget, so if you ask for more than specified, with all due respect, please don't apply for the task.


Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working

Project information

Budget
30+ USD

Customer

(10)
Placed orders25
Arbitrage count0