There was a problem with getting the indicator parameters. I do the following:
I add the indicator parameter to the global scope of the expert Advisor
input double inpStepSize = 2; // Step size
I get the indicator handle
Handle = iCustom(m_symbol.Name(),_Period,"chart_1",inpStepSize);
As a result, when connecting the expert Advisor, I have the necessary parameter in the “Input parameters” tab. But, when you change its value, the picture of the graph does not change. The indicator parameter that I change in the expert Advisor – the old one remains in the indicator.
How can I make it possible to change the indicator value on the expert Advisor’s “Input parameters” tab?
logic
Good evening, I join the question about the parameters.
I will try to formulate the question in my own way – the expert Advisor uses a custom expert Advisor via iCustom () in its work.
How can I change the parameters of this indicator from the expert Advisor itself? The question is acute because of the need to test and optimize the expert Advisor, the indicator parameters should appear in the input parameters of the expert Advisor, respectively.
Teach the teapot – where to read or peep ???
komposter
The indicator on the chart has nothing to do with the expert Advisor.
If you want to see what the expert Advisor uses, add it yourself and delete the old one.
oldman_evgeny
I understand that we are talking about the Mladen indicator “Step averages”.
I also have when connecting this Turkey to an expert, not only that “step size”,
changed in the input parameters of the expert Advisor is not passed to the indicator,
so the indicator also draws a picture of one (correct and),
and in the expert through the handle transmits utter nonsense. According to the numbers, the data transmitted to the expert Advisor is similar to the truth, but not correct.
Not all of the moving steps are transmitted and are transmitted at the wrong time.
I have been fighting with these “step” indicators for the second day, but I can’t understand what is happening.
I will be very grateful if someone explains where to read and what to do in General!
I think it’s easier to write a function for an expert Advisor than to deal with this “Step averages”…