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
Not pinpointed, it will draw in normal mode if the values are correct. In render mode there will probably be problems with BMP-graphics (I'm 90% sure).
Initialisation - inside the function, values - from global? Hmm.
From the help, for comparison
I was fiddling with objects over the weekend. If you don't specify everything explicitly and unambiguously, it starts to stall - no objects, and no errors.
You're taking what's written in the help very literally. )) Initialization within function for local variables. I initialized them globally.
I.e., global values are used when names match? Is that correct?
PS add a redraw at the end though.
Did you manage to display BMP objects in the visualisation mode in the tester or not, I still don't understand? There is no problem with it outside the tester.
I.e., global values are used when names match? Is that correct?
PS Add a redraw at the end though.
At the weekend I was fiddling just with objects. If everything is not specified explicitly and unambiguously, it starts to stall - no objects, and no errors.
Initialisation - inside the function, values - from global? Hmm.
From the help, by way of comparison
If you consider a function separately, it's just a function. Which, for example, can be stuffed into library and worked with from any place.
But the example from help shows rendering of object by script.
PS
As for the function itself, I think it lacks check of parameters for correctness (of course it is developer's personal opinion).
Also, I'd make type bool, not void (with error handling of object creation).
As for the function itself, in my opinion it lacks parameter checking for correctness of parameters (in principle, this is of course the developer's own business)
ChartRedraw(); set in the right places inside OnInit(), OnChartEvent() and OnTick() functions. I don't have any name matches.)
So no values are assigned either.
So no values are assigned either. Where did you get the value?