İş Gereklilikleri
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
---------------------------------------------------------------------------------------------
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.