Errors, bugs, questions - page 2270
![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
What is the difference
SetIndexBuffer(1,ValuesPainting,INDICATOR_COLOR_INDEX);
и
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1,clrBlue);
?
I'm twisting the code and can't figure out how to color the mouwing.
If one colour is growing and another is falling.
Can someone show me an example?
I'm spinning the code and I can't figure out how to colour the mouwing.
If one colour rises, if another falls.
Can anybody show me an example?
I am just learning MQL5, but it should look like this:
What is the fundamental difference between (1) and (2) ? Why is there an error in one case and a normal error in the other?
And what is the fundamental difference between (1) and (2) ? Why is there an error in one case and normal in the other?
So classes within functions can have the same name but different contents. The signature f is not clear in the second variant.
After the first one it is defined. And after the second one it is not redefined with the same name.
What is the difference
SetIndexBuffer(1,ValuesPainting,INDICATOR_COLOR_INDEX);
и
PlotIndexSetInteger(0,PLOT_LINE_COLOR,1,clrBlue);
?
I'm twisting the code and can't figure out how to color the mouwing.
If one colour is growing and another is falling.
Can someone show me an example?
I've emailed you a slightly awkward example (I haven't corrected the Copy-Paste errors)
So classes within functions can have the same name but different contents. The signature f is not clear in the second variant.
Here, everything is the same... and it works
The previous example in C++ works... so the signatures are sorted out there somehow.
What is the fundamental difference between (1)(2) and (3)(4)?
Here it's all the same... and it works.
So the situation here is completely different - there's no template.
The previous example works in C++... so the signatures are somehow taken care of there
What is C++ giving out here?
To make it work in MQL5, the output should contain two different strings, not the same one. But the signature generation mechanism will have to be quite different in this case. If C++ produces the same result in print, the __FUNCSIG__ value will drop dramatically.
What can the following behavior be related to
compile indicator works correctly, compile again indicator does not work correctly. Does it work correctly in the tester?