shermilden5000: Is that even possible in mql4 and MT4?
Or course it's possible. Perhaps you should read the manual.
Event Handling Functions - Functions - Language Basics - MQL4 Reference
EventSetTimer - Working with Events - MQL4 Reference
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The code samples shown below draws and displays the chart per new bar,
https://book.mql4.com/samples/icustom
I want my indicator to be in a separate window and display independently from the main chart.
and it should draw fixed details (non-repainting) at 5 second intervals. Which means when the main chart scrolls, the indicator chart should not scroll with the chart. My indicator has nothing to do with the position of the main chart. Indicator just provides details per 5 seconds and draws a entirely different chart that has no relation to the main chart's position and the scrolling speed. I want my indicator to scroll per 5 seconds while main chart scroll per 1 minute (in 1 minute chart)
Is that even possible in mql4 and MT4?