Storing number of opened trades in static variable like dictionary - page 3

 
Stanislav Korotky:


Did you see the paragraph in the blog?

Types should be standard MQL types, not classes. Also type of keys can not be int because int is already used for accessing elements by indices. If necessary though, one may use long or uint for keys as a replacement.

‌It looks like you try to use int type for keys.


Thank you so much Stanislav. It works now. I appreciate it!