Name of the indicator >> XYZ -To create alerts, this indicator will use - The price candles - 2 different timeframes to create an alert - 2 indicators, moving average and Parabolic sar to filter alerts - A filter of time - Time filter First of all, we will have to be able to set 1 period which will define the only time slot during which this indicator can create alerts. This filter will always be activated. Alert conditions For information, I would use only the window m1 to operate the indicator. -Validation Formula (VF) (This formula will be the essential part of the indicator) Alerts will be created including the following condition, which uses the levels of 2 candles that follow. Here are the explanations: - For a bullish alert A bearish candle (Y) Followed by a bullish candle (Z), the bottom of the candle (Z) will not be lower than that of the candle (Y). - For a bearish alert Bullish candle (Y) Followed by a bearish candle (Z), the top of the candle (Z) will not be higher than that of the candle (Y). -Use of 2 timeframes to create an alert To create an alert, 2 different timeframes (as m3 and m4, or m6 and m10) but that follow will have to be used. And on these 2 timeframes (m5 and m6 for example), there must be a VF alert on each of these timeframes to create an alert. These 2 FVs must have the same level on the Y candle (the lowest for a bullish alert) (and the highest for a bearish alert) to be able to create an alert. -Creation of an alert The indicator will have to calculate the VF on 2 timeframes which follow each other. And an alert will be created only if 2 timeframes that follow each other (m3 and m4, or m6 and m10, or m10 and m12 etc ...) have both creates a VF. The alert should appear on the graph at the opening of the next candle m1. -The combinations of timeframes The timeframe of the current window will always be the timeframe m1. The combinations of timeframes will be as follows: m2-m3, m3-m4, m4-m5, m5-m6, m6-m10, m10-m12, m12-m15, m15-m20, m20-m30, m30-h1. Other combinations of timeframes do not interest me. 3 Filters When one or more of these parameters is activated, one or more conditions will be added to authorize the creation of an alert. -Trending filter (with a moving average) For a bullish alert: The moving average value should be greater than the moving average value of "x" previous candles. And that value will have to be greater than the value of "y" previous candles. For a bearish alert: The moving average value should be less than the moving average value of "x" previous candles. And that value will have to be lower than the value of "y" previous candles. So there must be a parameter where we can define the number of "x" previous candles. And there must be a parameter where we can define the number of "y" previous candles. To validate an alert, this parameter must be validated on at least one of the 2 timeframes concerned by the creation of the alert. I want to be able to set the number of periods of this moving average (20 default, simple). And I do not want to show it on the graph, because I would use metatrader moving average indicator. -Filter with the Parabolic Sar (on / off) - For a bullish alert: The closing level of the Z candle must be above the Parabolic Sar value. - For a bearish alert: The closing level of the Z candle must be below the Parabolic Sar value. To validate an alert, this parameter must be validated on at least one of the 2 timeframes concerned by the creation of the alert. I do not want to change the Parabolic Sar's default settings. And I do not want to show it on the graph, because I would use metatrader parabolic sar indicator. -Mobile moving filter (on / off) The starting point will be the closing of candle Z. - For a bearish alert: The closing level of candle Z must be above the value of the moving average. - For a bullish alert: The closing level of the Z candle must be below the value of the moving average. To validate an alert, this parameter must be validated on at least one of the 2 timeframes concerned by the creation of the alert. I want the value of this moving average to be the same as the moving average used for the trend filter. And I do not want to show it on the graph, because I would use metatrader moving average indicator. -The alerts The alerts will be given visually on the current window, audibly, as well as on the alerts table. The warning arrows will only be displayed on the timeframe window m1. When an alert appears in the alert table, it must display at least one of the 2 timeframes that allowed the creation of the alert. If multiple alerts are created when the next m1 candle is opened, only one alert arrow will appear, but all alerts created must appear in the alert table and create an audible alert. Let me explain. For example, if an alert is created for the m30-h1 timeframes, an alert may be created for the m2-m3 combination or the m5-m6 combination. PS >> Visual alerts will always be activated -Color and sizes of editable alert arrows 3 warning arrows will have to exist. I should be able to change their color and size. White alert arrow >> for alerts m2-m3, m3-m4, m4-m5. Blue Alert Arrow >> for alerts m5-m6, m6-m10, m10-m12. Red alert arrow >> for alerts m12-m15, m15-m20, m20-m30, m30-h1. -A history is requested -Order of the parameters of the indicator. I want the indicator's parameters to be positioned in that order, from top to bottom. 1) The size of the history (5000 by default) 2) Start of the Hourly Filter (07H00) 3) End of filter Schedule (21H) 4) Moving average value (20 by default) 5) Trend filter (on / off) 6) Number of previous candles X (5 by default) 7) Number of previous candles Y (15 by default) 8) Parabolic Sar (on / off) 9) Mobile Average Filter (on / off) 10) Sound alerts (on / off) 11) Alert table (on / off) -Last thing I wish you put my name on the indicator, Mr. JOHN Amin, in the General part. And if you wish, because many do, you can also put your name on the indicator. If you need screenshots or other explanations, do not hesitate to ask me.