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
(264)
Projects
331
29%
Arbitration
36
28% / 64%
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
(610)
Projects
710
33%
Arbitration
45
49% / 42%
Overdue
14
2%
Working
6
Developer 6
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
7
Developer 7
Rating
(29)
Projects
33
27%
Arbitration
20
10% / 50%
Overdue
11
33%
Free
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'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading
Hello I need to purchase the source code of an already built profitable mt5 EA with proven track recordIf you have something similar and you are open to selling the source code please apply to this post Please note I am not looking for a dev to build the product from scratch , but need something that is already built and have at least one year worth of track record
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
Shooter razor 30+ USD
Makes it takes trades by it self buy and sell, it must use the higher signals, also when I press stop it must not pick any trades I want it to take trades automatically when I press start also close by it self
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction

Project information

Budget
30 - 100 USD