You can simply add function void OnChartEvent(…) to your indicator
the screens are from EA and its GUI, indicator only changes window size
before compilation you need uncomment few lines //external dll prohibited š

How to Install the Resize chart window from indicator (for Short Trend Reversal) Indicator in MetaTrader 4
- Unzip the downloaded Resize chart window from indicator (for Short Trend Reversal) Indicator file.
- Open MetaTrader 4, go to the āFileā menu, and select āOpen Data Folderā.
- Navigate to the MQL4 folder, then open the Indicators folder.
- Paste the unzipped Resize chart window from indicator (for Short Trend Reversal) Indicator files into the Indicators folder.
- Restart MetaTrader 4 or refresh the indicators list by right-clicking in the āNavigatorā window and selecting āRefreshā.
- In MetaTrader 4, open the āNavigatorā window (Ctrl+N) and find the Resize chart window from indicator (for Short Trend Reversal) Indicator under the āIndicatorsā section.
- Drag and drop the Resize chart window from indicator (for Short Trend Reversal) Indicator onto the chart of your choice.
- Adjust the indicator settings as needed and click āOKā to apply it to the chart.
MONEY GOLD EA MT4
VELOX SCALPER v4.7 MT5
Quantum King EA MT4
Sigma Trend Protocol EA STP (NEW! HIGH-END!)
BREAKOUT CHINESE EA MT4
FortiFx Master CL MT4



