The spread_on_chart indicator shows the following values on the chart:

• stop level (the minimal distance from the current price to Stop Loss and Take Profit);
• freeze level (the minimal distance for orders modifying).

Input parameters:

• Corner - chart corner for output. By default - upper left corner is used;
• XMargin, YMargin - horizontal and vertical margins;
• Font, Color, Size - font name, font color and font size.

Author