Adding custom Alerts and additional functions to the existing MA indicator

Job finished

Execution time 3 hours
Feedback from employee
Great customer. Great communication. Good description of requirement specifications. I look forward to working with you again.
Feedback from customer
Osazee has done great work on updating and adding new features to my indicator. I am very happy with swift communication. Will definitely use for future jobs.

Specification

I would like to add custom Alerts and additional functions to the existing MA indicator. Also I would like to clean up the code a little. Let me explain in specific detail what I would like to have done. 

First I would like to remove the existing Alert based on MA trend change.

Then I would like to remove some MAs from the drop down menu of the indicator. Please refer to the attached image named AllAverages. I would like to keep all the MAs on the list. All others should be removed. I understand that the code for some MAs that I want removed must stay because it is used to calculate other MAs. I just want to make sure that only required 11 MAs will be available from the drop down menu of the indicator setting to be used.

Now let's talk about the custom Alert I need. Please refer to the images attached for Long and Short scenario. I will describe now both scenarios.

Defining Trend - when MA is bearish the trend is bearish and when MA is bullish, then trend is bullish.

IDEA - For long scenario, when during the bullish trend price trades below the lowest point of the previous bearish trend, then I would like to know when that happens.

SETUP CANDLE - For long scenario, is the 1st candle during the bullish trend that traded below the lowest point of the previous bearish trend.


SHORT Scenario (refer to Fakeout Short image)

Bullish trend ends when the candle closes and MA changes from bullish to bearish. Now we have started new bearish trend and previous bullish trend is now fixed. I want the indicator to find/calculate the HIGHEST price during that last bullish trend. Then LINE (magenta) will start drawing from that highest price as shown on the image provided. And the line will stop being drawn when the bearish trend that follows ends as shown on the image. The Alert will be applied when the line is touched by price for the first time during that bearish trend. The Alert will be triggered on touch during the candle formation even if the MA is showing bullish trend during the candle formation (this alert will be given only once on the first touch and it won't be triggered on subsequent touches). But when the candle that touched the line closes (it doesn't matter whether the candle closed above or below the line) and the MA is still bearish, then there will be another Alert confirming the setup candle. When the first candle that touched the line is closed , then I would like to have an arrow being drawn above the candle as shown on the image.

1st Alert message - ''Possible (MA type and period) Bearish Fakeout on (instrument and time frame)'' Example: Possible HMA(50) Bearish Fakeout on EURUSD M5.

2nd Alert message - ''(MA type and period) Bearish Fakeout on (instrument and time frame) CONFIRMED''  Example: HMA(50) Bearish Fakeout on EURUSD M5 CONFIRMED.

LONG Scenario (refer to Fakeout Long image)

Bearish trend ends when the candle closes and MA changes from bearish to bullish. Now we have started new bullish trend and previous bearish trend is now fixed. I want the indicator to find/calculate the LOWEST price during that last bearish trend. Then LINE (green) will start drawing from that lowest price as shown on the image provided. And the line will stop being drawn when the bullish trend that follows ends as shown on the image. The Alert will be applied when the line is touched by price for the first time during that bullish trend. The Alert will be triggered on touch during the candle formation even if the MA is showing bearish trend during the candle formation (this alert will be given only once on the first touch and it won't be triggered on subsequent touches). But when the candle that touched the line closes (it doesn't matter whether the candle closed above or below the line) and the MA is still bullish, then there will be another Alert confirming the setup candle. When the first candle that touched the line is closed, then I would like to have an arrow being drawn below the candle as shown on the image.

1st Alert message - ''Possible (MA type and period) Bullish Fakeout on (instrument and time frame)'' Example: Possible HMA(50) Bullish Fakeout on EURUSD M5.

2nd Alert message - ''(MA type and period) Bullish Fakeout on (instrument and time frame) CONFIRMED''  Example: HMA(50) Bullish Fakeout on EURUSD M5 CONFIRMED.


Additional Indicator settings:

- I would like to have traditional various settings for Alerts like sound with pop-up window, mobile push notifications, email with TRUE/FALSE setting.

- I would like to have a setting that will specify how many MA trends back will be analyzed for lowest/highest price to draw a line. So if I input 1, then only last one will be shown and if I input 10, then there will be 10 lines shown so I can check if there were possible setup candles in the past.

- I would like to have a setting that will specify how setup candle will be marked. There could be various options like arrow, start or other objects.

- I would also like to have a setting that would color the setup candle. There would be setting for bullish and bearish fakeout setup candle. 

- I would like to have settings for drawing line for bullish and bearish scenario - color, style and thickness

- I would like to have a setting for MA trend definition - input would be number of candles. So if I input 5, then any trend that lasted for 4 or less candles will be disregarded.

---------------------------------------------------------------------------------------------

Summary:

I would like to have 2 additional functions added. Lines and arrows as shown on the images provided. The additional indicator setting will specify how many lines back will be drawn and if rules are met, then the arrows will be shown on the setup candles that touched the line.

2 Alerts will be added based on rules provided.

----------------------------------------------------------------------------------------------

I would like to receive the source code (.mq4 file) as well.

I would be happy with lines only and without arrow showing setup candle but I would like to have both. If adding setup candle is too complicated, and it will increase job price significantly, then please let me know.

Please let me know if my explanation is clear enough and if not, then I can provide additional explanations.

If you have any suggestions for additional indicator settings that I haven't thought of and they would be beneficial, then please let me know.

Also please let me know the price for this job. 



Responded

1
Developer 1
Rating
(250)
Projects
313
28%
Arbitration
34
26% / 62%
Overdue
10
3%
Working
2
Developer 2
Rating
(3)
Projects
9
33%
Arbitration
1
100% / 0%
Overdue
0
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
5
Developer 5
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Loaded
6
Developer 6
Rating
(442)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
7
Developer 7
Rating
(25)
Projects
29
21%
Arbitration
20
10% / 50%
Overdue
8
28%
Working
8
Developer 8
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
9
Developer 9
Rating
Projects
1
0%
Arbitration
4
0% / 50%
Overdue
0
Working
Similar orders
I am looking for a professional MQL5 developer to build a MetaTrader 5 Expert Advisor from scratch. The EA will be called LadyKiller EA. It must trade only the following instruments: • XAUUSD (Gold) • US30 / Dow Jones Index Requirements: • Strong and reliable buy and sell entry logic • Stop Loss and Take Profit system • Risk management (lot size control) • Maximum trades protection • Drawdown protection • Trend
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont

Project information

Budget
30 - 100 USD