Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
I require some modifications done on an Indicator, below i have listed the layout of the Indicator Settings that i require, and i have stated the (NEW FEATURE) text beside the parameters that i require developed.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Indicator Settings:
a) Trend Filter = (1) Bullish Trend (2) Bearish Trend (3) Disable Trend Filter (NEW FEATURE)
b) Set Pip Distance (NEW FEATURE)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alert Notification Settings (NEW FEATURES)
a) Use Pre Alerts = Yes/No
b) Set Pre Alert Pips
c) Set Pre Alert Time
d) Use Alert Screenshots = Yes/No
e) Set Screenshots Width
f) Set Screenshots Height
g) Use PopUp Notification = Yes/No
h) Use Mobile Notification = Yes/No
i) Use Sound Notification = Yes/No
j) Set Support Sound File
k) Set Resistance Sound File
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If the Trend Filter is enabled it should only alert me to levels which are in the direction of the set trend, so for example if I set the trend to a Bearish,
the indicator should then only alert me to the Resistance Levels, however if I set it to a Bullish Trend then it should only alert me to Support Levels.
If the Trend Filter is disabled, then both Support and Resistance Levels are allowed.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1) When the open is below the Support, then the Indicator will need to calculate the distance from the “Set Timeframe” Opening Candle to the Resistance Level, and add this distance below the Opening Candle price as the new Support Level.
So for example if the Set Timeframe is set on Daily, then the Indicator will need to calculate the distance from the Daily Opening Candle price to the Resistance Level and add this distance below the Candle Daily Opening Price for the new Support Level.
2) When the open is above the Resistance, Level then the Indicator will need to calculate the distance from the “Set Timeframe” Opening Candle to the Support Level, and add this distance above the Opening Candle price as the new Resistance Level.
So for example if the Set Timeframe is set on Daily, then the Indicator will need to calculate the distance from the Daily Opening Candle price to the Support Level and add this distance above the Daily Candles Opening Price for the new Resistance Level.
3) If the Support and Resistance Levels are within the Pip Distance then it should considered as the same scenario of when the open is below the Support or above the Resistance.
Here's an example so if the Timeframe Candle Open is at 1.1400 and the Support Level is at 1.1390 and the Pip Distance is set at 10 pips by the User, then the Support Level will need to below 1.1389.
If its not then the Indicator will need to recalculate the distance from the Timeframe Candle Open to the Resistance Level and add this distance below the Candle Open for the New Support Level.
So if the Support Level was below 1.1389 which is great then 10 pips then its fine, but if the Support Level was within the 10 pips then it will need to recalculate the distance again.
So we have two types of scenarios one is if the Candle Timeframe Open is below the Support or above the Resistance, and the other is if the Candle Timeframe Open is within the Pip Distance set by the User
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alert Notifications should only be sent out once for each formed Support Level and Resistance Level, so for example the Indicator should only send out 1 alert for the Support Level and Resistance Level once it has been touched.
However once the Levels are redrawn again then the Alert Notification function should reset so that it can notify me again based on the new levels drawn.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pre Alerts are used so that I can be alerted before price touches the levels this should be based on the number of Pips away price is from the level, so if I set it to 10 it will mean the Indicator will need to alert me 10 pips below Resistance and 10 pips above Support.
Once the Pre Alert has been sent it can only be sent again for the level if the Pre Alert Time has been reached, so if I set this to 60 it means once the Pre Alert has been issued the Indicator will need to count 60 mins and then if price is within 10 pips to the level it will issues another Pre Alert.
· Please Note = The Pre-Alert can only be resent if the Level has not been touched.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I need the ATR Level text to start from the beginning of the Levels Line.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PopUp and Mobile Notifications:
* STATIC SUPPORT | REACHED | EURUSD | 1.3000 | 14:00
* DYNAMIC SUPPORT | REACHED | EURUSD | 1.3000 | 14:00
* STATIC RESISTANCE | REACHED | EURUSD | 1.3000 | 14:00
* DYNAMIC RESISTANCE | REACHED | EURUSD | 1.3000 | 14:00
* STATIC SUPPORT | PRE-ALERT | EURUSD | 1.3000 | 14:00
* DYNAMIC SUPPORT | PRE-ALERT | EURUSD | 1.3000 | 14:00
* STATIC RESISTANCE | PRE-ALERT | EURUSD | 1.3000 | 14:00
* DYNAMIC RESISTANCE | PRE-ALERT | EURUSD | 1.3000 | 14:00