Agent86:
How to toggle or make a blinking Object or to oscillate colors or something ?
Is this possible or does the code just read so fast that it wouldn't be noticed ?
I can see doing a counter of some type but I don't want to hold up reading of the rest of the code either.
Is there such a thing ? Or has anyone done this ?
Example for illustration:
How to toggle or make a blinking Object or to oscillate colors or something ?
Is this possible or does the code just read so fast that it wouldn't be noticed ?
I can see doing a counter of some type but I don't want to hold up reading of the rest of the code either.
Is there such a thing ? Or has anyone done this ?
Example for illustration:
Let's say I want to blink or oscillate color for B10 and not just change from Green to Black but instead blink Green/Red on/off for a few seconds first before changing to Green or Black.
Is counting recommended or bad idea ?
Thanks
use
void OnTimer();
![Event Handling Functions - Functions - Language Basics - MQL4 Reference Event Handling Functions - Functions - Language Basics - MQL4 Reference](https://c.mql5.com/36/65/event-handling-functions-functions.png)
Event Handling Functions - Functions - Language Basics - MQL4 Reference
- docs.mql4.com
Event Handling Functions - Functions - Language Basics - MQL4 Reference
Thanks,
Took me a little reading but I see it now.
I never used this feature so didn't realize how this was used.
Thanks again.
![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
Is this possible or does the code just read so fast that it wouldn't be noticed ?
I can see doing a counter of some type but I don't want to hold up reading of the rest of the code either.
Is there such a thing ? Or has anyone done this ?
Example for illustration:
Let's say I want to blink or oscillate color for B10 and not just change from Green to Black but instead blink Green/Red on/off for a few seconds first before changing to Green or Black.
Is counting recommended or bad idea ?
Thanks