The indicator displays the spread size for the current instrument on the chart. Very flexible in settings. It is possible to set the maximum spread value, after exceeding which, the color of the spread label will change, and a signal will sound (if enabled in the settings). The indicator will be very convenient for people who trade on the news. You will never enter into a deal with a large spread, as the indicator will notify you about it both visually and by sound.
Input parameters:
AlerT – true – a sound signal is enabled when the spread limit is exceeded
spread_limit – the maximum spread above which the signal sounds and the color changes
color_norm – the color of the normal spread
color_big – high spread color
font – font
font_size – font size
width_X – X coordinate
height_Y – Y coordinate
background – true – display in the background
corner – in which corner to display the label