V-BK The name of the indicator must be V-BK -------------------------------------------------- -------------------------------------------------- ---------------- This indicator will be used to identify breakouts according to a pre-established formula. This indicator is a multitimeframe indicator. To create these alerts, it will use the values of the Volume indicator and also those of the price. Thanks to these 2 pieces of information, it will identify breakouts which will create alerts. The indicator will be displayed only when the 1min timeframe is selected on the chart. I don't want the Volume indicator to be displayed. I would use the Mt5 Volume indicator. Finally, 2 additional filters will allow you to refine the alerts. -------------------------------------------------- -------------------------------------------------- ---------------- Indicator display In a second window (such as the Rsi or the Macd), and in the form of a table, it will be composed of several lines each representing a different timeframe. The indicator will be displayed only when the 1min timeframe is selected on the chart. The choice of timeframes used (to create alerts) will be as follows: A parameter will allow you to choose the smallest timeframe used. And a parameter will allow you to choose the largest timeframe used. Finally, all the timeframes located between these 2 timeframes must be able to create alerts. -------------------------------------------------- -------------------------------------------------- ---------------- Viewing alerts Arrow alerts will be created in the second window, the window created by the indicator. At the intersection of each timeframe line and each column (1min candles), the alerts will be displayed as follows: Blue fat arrow up for bullish alerts Bold yellow down arrow for bearish alerts -------------------------------------------------- -------------------------------------------------- ---------------- Abbreviations used in breakout formulas "The calculation candle": This is the candle from which the values are used to create 1 alert. "Candle -1": Candle preceding the calculation candle "Vol": Volume of the calculation candle "Vol-1": Volume of the candle -1 -------------------------------------------------- -------------------------------------------------- ---------------- Breakout formulas To create breakouts, the indicator must meet the following conditions. At the close of the candle, 1 bullish alert should be created if: - The value of "Vol" is more than 2.5 times higher than the value of "Vol-1". - The value of "Vol" is higher than the value of the volumes of each of the previous 20 candles. - The price gap between the high price of the -1 candle and the closing price of the calculation candle must be at least 2.5 times higher than the price gap between the high price of the candle -1 and the lowest price of the -1 candle. - The closing price value of the calculation candle is higher than the highest price values of the previous 20 candles. At the close of the candle, 1 bearish alert should be created if: - The value of "Vol" is more than 2.5 times higher than the value of "Vol-1". - The value of "Vol" is higher than the value of the volumes of each of the previous 20 candles. - The price gap between the low price of the -1 candle and the close price of the calculation candle is at least 2.5 times higher than the price gap between the high price of the candle - 1 and the lowest price of the -1 candle. - The closing price value of the calculation candle is lower than the lowest price values of the previous 20 candles. -------------------------------------------------- -------------------------------------------------- ---------------- The alert number filter This filter should work as follows: An alert will be created only if, under the same candle, a certain minimum number of alerts are created. These alerts will need to be all bullish to create a bullish alert. These alerts will need to be all bearish to create a bearish alert. By default, the indicator must have detected at least 2 breakouts to create an alert. -------------------------------------------------- -------------------------------------------------- ---------------- The "x" filter The x value, by default, is set to 10 candles. If "x" equals 10 candles, the lowest price value of "x" should be compared to the lowest price value of the last 20 candles. If "x" equals 17 candles, the lowest price value of "x" should be compared to the lowest price value of the last 34 candles. Thus, the comparison will always be made on 1 number of candles "x" multiplied by 2. For bullish alerts - The lowest price value of the last 10 candles is "equal" to the lowest price value of the candles of the last 20 candles. For bearish alerts - The highest price value of the last 10 candles is "equal" to the highest price value of the candles of the last 20 candles. -------------------------------------------------- -------------------------------------------------- ---------------- Reminder >> The multiplier coefficient 2.5 The value of this coefficient is a default value. The user must be able to modify it in the indicator settings. As a reminder : It will be used in the condition regarding the price comparison. It will also be used in the condition regarding the Volume comparison. -------------------------------------------------- -------------------------------------------------- ---------------- Order of indicator parameters I want the indicator settings to be positioned in this order, from top to bottom. I want all the "on/off" parameters to be modifiable by double-click. 1) The size of the history (1000 candles by default) 2) Multiplier coefficient (2.5 by default) 3) Previous candles (20 candles by default) Timeframes used 4) Smallest timeframe used (1min timeframe by default) 5) Largest timeframe used (5min timeframe by default) Filters 6) The alert number filter (2 alerts by default) 7) The "x" filter (10 candles by default) Alerts 13) Audible alerts for buy and sell alerts (on by default) 14) Arrow Alerts (on by default) 15) Alerts to the alert board for buy and sell alerts (on by default) -------------------------------------------------- -------------------------------------------------- ---------------- Colors The colors must be set in the "colors" tab. By default Blue bullish alert arrow / size 2 Yellow bearish alert arrow / size 2 If there are other colors to set, I let you choose. Thanks in advance for your work. If you have any questions, don't hesitate to ask me.