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
Yeah, that's actually the script I was offered to write, apparently, which I inserted into the he tick function of my expert!
...on the five the print function works somehow not quite right, with a twist, and often doesn't write. Yes!!
It turns out that CSymbolInfo.Refresh() function doesn't refresh ticks, but CSymbolInfo.RefreshRates() should be used instead;)
CSymbolInfo.Refresh() - updates symbol data
CSymbolInfo.RefreshRates() - updates quotes=)
If everything is clear with the second method, but what is the purpose of the first method?
It turns out that CSymbolInfo.Refresh() function doesn't refresh ticks, but CSymbolInfo.RefreshRates() should be used instead;)
CSymbolInfo.Refresh() - updates symbol data
CSymbolInfo.RefreshRates() - updates quotes=)
If everything is clear with the second method, but what is the purpose of the first method?
THANK YOU!!!
Of course, my lines. Wanted to write that I'm a sucker, they're my lines, and saw your comment.
You have to look at the logs (right mouse button, "Open") to see all the posts. THANK YOU!!!
There is a character code in utf8 encoding as a string ( example: "041e" )
How to get the equivalent of this code in the 10-th system, and then convert it to a character (code 041e = Russian letter O)
What a mess, but I can't figure it out:)
Good morning, I do not quite know what I'm doing. Please tell me these first two variables, what's wrong with them?
The first string variable you define as a function, make it empty (=NULL or ="").Then in OnInit you can make =_Symbol .
The second one.Either put ; after 5 or remove the second int.