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
When writing a test Expert Advisor with iCustom, I faced an unsolvable MQL problem. To know the file name (see the code) of the indicator and the values of its input parameters - no problem. But after that it is impossible to insert the indicator's input parameters into iCustom. The way iCustom is called is that a universal solution for any indicator is suitable only in the case of the default input parameters. Otherwise we have to go into the code. This solution is not convenient. We could pass the indicator inputs as a structure with the appropriate string-fields. But we used the ellipsis, which killed the universality of the call. Another strange restriction!
You have now perverted absolutely everything. I have written above about your problem.
Underlined are contradictory talking points.
It's like a hammer to the head to make a statement like that
...
Does anyone use event model + OOP in indicators?
What for? Everything has been already stolen there, there is the function OnCalculate - event of the coming tick. If you want to use OOP - use it, but what for is it there, where to put it?
Why indeed? A search turned up several videos with examples that could be used to explain
Video from the article.
More
and more.
And these are simple examples of using the event model. Which can be universally implemented through the same OOP. Buffers and indicators, for example, are inherited classes. When I move graphical objects (also implemented through OOP + events) on the chart, indicators change accordingly. Not static indicators come out. And thanks to OOP they are written in a few lines.
Why a script might need to read the indicator buffers on a chart is hard to think of :)
You have now perverted absolutely everything. I have written above about your problem.
Underlined are contradictory talking points.
I didn't see a contradiction. Suppose we want to create our own toolbar similar to CTRL+D. Suppose we want to work only with primitive classic indicators.
If you apply indicators to a chart without changing default input parameters, this custom panel will work because iCustom allows making universal calls for default inputs.
But as soon as you change it, it will fail. The Expert Advisor will know all values of the indicator input parameters on the chart. But it will not be able to call iCustom with them. What a mystery!
...
But as soon as you change it - bummer. And the Expert Advisor will know all values of indicator input parameters on the chart. But it will not be able to call iCustom with them. What a mystery!
Why can't the councillor summon? He can.
It would be nice to add some constructiveness.
And who here persists in writing nonsense?
I don't know.
I confirmed my original statements in code. You haven't.
I don't know.
I confirmed my original statements in code. You have not.