Version 1.21 2023.04.19
Updated input parameters for customizing the appearance of the indicator.
Version 1.20 2023.04.19
Fixed operation of the indicator in the terminal.
The function for calculating support and resistance levels has been updated.
The standard timeframe for calculating support and resistance levels is D1.
You can choose other timeframes according to your strategy (for example, for M1-M15, the optimal timeframe for calculations is H1)
Version 1.10 2018.12.29
The indicator draws daily support and resistance lines on the chart, as well as the Pivot level (pivot level).

Adapted to work in MT5

Indicator parameters:

DayBack - the number of days for marking lines;
PPcolor - line color Pivot;
PPwidth - line thickness Pivot;
PPstyle - line style Pivot;
Supp - color of support lines;
Sstyle - support line style;
Swidth - thickness of support lines;
Resist - color of resistance lines;
Rstyle - resistance line style;
Rwidth - thickness of resistance lines.