
Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
- www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Reference on algorithmic/automated trading language for MetaTrader 5
Thank you Marco! I did know this... but in the end it helped me to find my stupid mistake. Problem solved!
Thanks for you help
blackfriday: my stupid mistake. Problem solved!
| Always post something about the real problem and the solution in case someone searches, finds this thread, you wouldn't have wasted their time. |

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
I would like to show and hide objects on a chart using the key "H". So I have added code to an indicator, but it is not working properly.
Code in OnInit
Code OnChartEvent
So each time a new object is added or deleted to/from the main chart window, TotalNoOfObjects should change, right? But nothing happens, not even a new print in the journal.
Any help appreciated.