What is Support and Resistance button?

Support and Resistance button draws horizontal support and resistance references from prior chart highs and lows. Blue and gray dots mark the displayed levels on the MT4 price chart.
The S&R button controls visibility when a cleaner chart is preferred. The package includes an .mq4 file and keeps the level display separate from the main candle data.
How to use Support and Resistance button
Review the dotted levels with the corresponding highs, lows, and nearby candle structure. The displayed history can provide a consistent visual reference while the chart is examined across timeframes.
SRcode and SRsize control the level calculation and dot size. The button inputs control position, text, colors, and dimensions; their default values are shown in the parameter table.
Where it helps
Prior highs and lows are converted into a consistent dotted display.
The S&R button can show or hide the level view.
Dot size, button position, text, colors, and dimensions are configurable.
MT4 Indicator Parameters
The table below lists the available MT4 indicator parameters. You can customize these options in the MetaTrader Inputs dialog to match your trading preferences.
| Parameter | Description |
|---|---|
| SRcode | Sets the code option used by the level display. Default: 158. |
| SRsize | Sets the displayed dot size. Default: 1. |
| button_note1 | Button settings section. Default: ------------------------------. |
| btn_corner | Selects the chart corner used for the button. Default: Left upper chart corner. |
| btn_text | Sets the text shown on the button. Default: S&R. |
| btn_Font | Sets the button font. Default: Arial. |
| btn_FontSize | Sets the button text size. Default: 10. |
| btn_text_ON_color | Sets the button text color when on. Default: White. |
| btn_text_OFF_color | Sets the button text color when off. Default: Red. |
| btn_background_color | Sets the button background color. Default: DimGray. |
| btn_border_color | Sets the button border color. Default: Black. |
| button_x | Sets the horizontal button position. Default: 20. |
| button_y | Sets the vertical button position. Default: 13. |
| btn_Width | Sets the button width. Default: 60. |
| btn_Height | Sets the button height. Default: 20. |
| button_note2 | Button settings section. Default: ------------------------------. |

The screenshot above shows the default input parameters in the MT4 settings window.
How to Install .ex4 Indicator in MetaTrader 4
- Download the ZIP file and extract it.
- In MT4, select File → Open Data Folder.
- Open MQL4 → Indicators and copy the EX4 or MQ4 file into it.
- If the package includes library files, copy them to MQL4 → Libraries. Copy TPL files to the top-level templates folder.
- Restart MT4, find the indicator in the Navigator, and drag it onto a chart.
Test the tool on a demo account first. File contents and required folders can vary between packages.



