The name of the indicator must be "Go-Back" -------------------------------------------------- --------------------- The role of this indicator will be to create alerts, purchase or sale, according to predefined conditions. -------------------------------------------------- --------------------- The conditions to be met to create an alert Here are the conditions to respect to create an alert. For a purchase alert The closing price of the candle should be above a horizontal buy line (blue line). The lowest price of the candle should be below this SAME horizontal buy line (blue line). The lowest price of the previous “x” candles must be lower than or equal to the lowest price of the previous “y” candles. "x" >> number of candles (5 by default) located before the alert candle (candle with the alert arrow). "y" >> number of candles (10 by default) located before the alert candle (candle with the alert arrow). For a sales alert The closing price of the candle should be below a horizontal sell line (yellow line). The highest price of the candle should be above this SAME horizontal sell line (yellow line). The highest price of the previous “x” candles must be higher than or equal to the highest price of the previous “y” candles. "x" >> number of candles (5 by default) located before the alert candle (candle with the alert arrow). "y" >> number of candles (10 by default) located before the alert candle (candle with the alert arrow). -------------------------------------------------- --------------------- Filter for conditions to be met When this filter is activated, an additional condition must be met to create an alert. For a purchase alert The closing price of the candle should be greater than the opening price of the candle. For a sales alert The closing price of the candle should be smaller than the opening price of the candle. -------------------------------------------------- --------------------- The displayed elements of the indicator Here is the list of elements that should be displayed on the graph. - Horizontal level lines, necessary for creating alerts. - Arrows to indicate detected alerts. - A stop level must be displayed. - Finally, a summary of information. -------------------------------------------------- --------------------- Horizontal alert lines A screenshot is provided to show the type of horizontal line desired. An indicator setting will allow you to modify the number of horizontal alert lines created and displayed. If this parameter is 1, only one horizontal buy line and one horizontal sell line should be created and displayed on the chart. If this parameter is 3, three horizontal buy lines and three horizontal sell lines should be created and displayed on the chart. The horizontal purchase lines must be blue, size 2, and dotted (by default). The horizontal sales lines must be yellow, size 2, and dotted (by default). These lines should be able to be moved on the chart. THE ONE AND ONLY WAY to be able to move these lines will have to be manually. When installing the indicator on the chart, the level of all horizontal lines should be that of the current price level. Following this, the user will be the only one who can move these lines manually. To note A change in the timeframe of the graph should not change the level of these horizontal lines. A change in value on the chart should not change the level of these horizontal lines. Changing the indicator parameters should not modify the level of these horizontal lines. Installing or removing another indicator on the chart should not change the level of these horizontal lines. The opening of the MT5 platform should not change the level of these horizontal lines. Finally, the last price level of these manually configured lines must be kept in memory when closing the platform. Therefore, when the platform reopens, the price levels of these lines must be the same as during the previous closure of the platform. -------------------------------------------------- --------------------- The arrows created A screenshot is provided to show the type of arrow desired. For each purchase alert detected, a blue arrow, size 4, must be created under the candle having met the conditions to create this alert. This arrow should be a blue arrow pointing upwards. For each sale alert detected, a yellow arrow, size 4, must be created above the candle having met the conditions to create this alert. This arrow should be a yellow arrow pointing down. -------------------------------------------------- --------------------- Stop level A screenshot is provided to show the type of display I want. Each time an alert is created, I want a stop level to be displayed. This stop must be displayed in the form of a red line. On a specific level, this red line should be displayed from the alert arrow and below (or above) the following 5 candles. For a purchase alert This price level line must be located below the lowest price level of the "x" candles preceding the alert candle, at exactly 1.0 point. For a sales alert This price level line must be located above the highest price level of the "x" candles preceding the alert candle, at exactly 1.0 point. This value of 1.0 point must be able to be modified. -------------------------------------------------- --------------------- Trading information displayed A screenshot is provided to show the table shape I want The indicator must display on the graph, in table form, the following information: - The current timetable, with hours, minutes and seconds - The value spread --- The digital clock The indicator should display a digital clock on the chart (hours, minutes, seconds). The displayed schedule should be that of my computer. --- The Spread The spread of the value must be displayed. The spread displayed must be that of the value of the price when the platform opened. Following the installation of the indicator on the chart, the value of this spread can only be modified in 2 ways: Either by modifying the timeframe Or by updating the graph. -------------------------------------------------- --------------------- Color and sizes of alert arrows and drawn lines The values of all colors, sizes and aspects of the displayed elements must be configured in the “Colors” tab of the indicator. The normal bullish alert arrows should be: Blue, size 4 Normal bearish alert arrows should be: Yellow, size 4 The horizontal bullish alert lines must be size 2, dotted, and blue in color The horizontal bearish alert lines must be size 2, dotted, and yellow in color. The stop line: red, size 1, and in a continuous line. This Stop line should be drawn on top of all other chart elements. Information panel lines: white, size 2 and continuous line Text of the information panel: white, size 20 -------------------------------------------------- -------------------------------------------------- --------------------- A history is requested If calculating the history requires few resources, I want to see the entire history of the chart. If, on the contrary, the size of the history increases the use of resources, I want the history to be set by default to 2000 candles. -------------------------------------------------- -------------------------------------------------- --------------------- Order of indicator settings I want the indicator settings to be positioned in this order, from top to bottom. Any settings that result in "On" or "Off" will need to be changed with a double-click. 1) History size >> 2000 candles by default Operating parameters 2) Number of level lines (horizontal lines) >> 2 by default 3) The Candle Filter >> off by default 4) The value of parameter "x" >> 5 candles by default 5) The value of parameter "y" >> 10 candles by default 6) The STOP level >> 1.0 point by default Alerts and display settings 7) Information display >> on by default 8) Abscissa for the table >> 50 by default (only if manual movement is not possible) 9) Ordinates for the table >> 50 by default (only if manual movement is not possible) 10) Sound alerts >> on by default 11) Display of alert arrows >> on by default 12) Alerts in the alerts table >> on by default 13) Display of the Stop >> on line by default If you have any questions, don't hesitate to ask me. Thanks in advance