Errors, bugs, questions - page 2030
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 said straight out:"or real copies of OHLC arrays".
Make your own arrays, copy data there, store the number of elements.
"Who said it would be easy?" (с)
I'm sorry if I'm boring you) I have another question, maybe you know, I'd be very grateful)
My OnCalC works with my data, the chart is drawn correctly, but the data from the indicator buffers are only displayed on the monitor after a tick or right-click refresh
i think there is some other slyness i don't know yet where to dig))
i have a question: when the indicator sends the data for drawing?
I'm sorry if I'm boring you) I have another question, maybe you know, I'd be very grateful)
My OnCalC works with my data, the chart is drawn correctly, but the data from the indicator buffers is still displayed on the monitor only after a tick or right-click refresh
i think there is some other slyness i don't know yet where to dig))
i have a question: when the indicator sends the data for drawing?
Posted the code here - https://www.mql5.com/ru/forum/59136/page3#comment_1648963
Perhaps ChartReadrow is missing.
I don't know why it's so complicated with the organization of indicators and data... Each time I wonder how it really works(
Posted the code here - https://www.mql5.com/ru/forum/59136/page3#comment_1648963
Perhaps ChartReadrow is missing.
From experience I've already inserted ChartRedr at every completion... But apparently it's only useful when drawing your own graphics.
Thank you very much, OnCalc call helps a lot made my chart already it is displayed in the first pass and no different than buffer chart
Today I encountered a problem that if the name of the object is in Russian, it is not recognized on terminals of users in South-East Asia
This code is scrapped because it's in Cyrillic.
This one works without a problem.
I knew that only idiots use Cyrillic in the program, and that sooner or later it will turn out to be a bummer. There were only 3 objects in Russian, decided to save on a tooltip, and enough to stop the program running.
Well, yes, the situation is certainly unpleasant. But on the other hand, but even if the Cyrillic was displayed, what good would it do users of South-East Asia? This is why you should either make everything in English only, or provide different translations and give the right one according to the terminal language.
And suckers use Cyrillic in variable and function names, which is not the case here)
Hello! I can't create a global variable
GlobalVariableSet(ChartSymbol(),ChartID());
The value is different from the real one (entered ChartID() in the comment for verification)
Then converted long ChartID() in string and double. The result is the same.
Help.
Hello! I can't create a global variable
GlobalVariableSet(ChartSymbol(),ChartID());
The value is different from the real one (entered ChartID() in the comment for verification)
Then converted long ChartID() in string and double. The result is the same.
Please help.
Read about type conversions and losses. https://www.mql5.com/ru/docs/basis/types/casting
Hello! I can't create a global variable
GlobalVariableSet(ChartSymbol(),ChartID());
Look here, any can be stored in a global variable.
Or this particular variant (ripped from here)
Hello! I can't create a global variable
GlobalVariableSet(ChartSymbol(),ChartID());
The value is different from the real one (entered ChartID() in the comment for verification)
Then converted long ChartID() in string and double. The result is the same.
Help.
Doubtful decision to name a global variable with a symbol.
The symbol may contain special characters, unacceptable in a variable name
Today I encountered a problem that if the name of the object is in Russian, it is not recognized on terminals of users in South-East Asia
This code is scrapped because it's in Cyrillic.
This one works without a problem.
I knew that only idiots use Cyrillic in the program, and that sooner or later it will turn out to be a bummer. There were only 3 objects in Russian, decided to save on a tooltip, and enough to make the program stop working.