Errors, bugs, questions - page 2817
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
Can you tell me what algorithm is used to form the name of the opt-files?
on mt4 - it seems to me that ChartSaveTemplate(...) works with errors, build 1280
here's the script:
Can you tell me, what algorithm is used to form the name of opt-files?
This is MD5 from values of input parameters of the Expert Advisor (for the optimized ones - start-step-stop, for the non-optimized ones - current value)
42 - real ticks, optimization by symbols
is it possible to control this figure via MQL? (this is the box from the line on the chart in MT)
With the help of this library
many thanks
Question for clarification. How do I know the symbol and timeframe of an indicator by its handle?
There isIndicatorParameters function in MQL API to read indicator parameters, but it is not enough: what is the point of knowing, for example, period, if the symbol and timeframe are not known? I am not sure if this is an omission or I cannot find how to do this - please give me the link.
Question for clarification. How do I know from an indicator handle the symbol and timeframe it was created for?
no way
i can't. Last year@fxsaber asked the same question, but with respect to files - how to know the file name from a handle, there is no solution
I found a suggested container for a file handle from@fxsaber
Question for clarification. How do I know the symbol and timeframe of an indicator by its handle?
There is IndicatorParameters function in MQL API to read indicator parameters, but it is not enough: what is the point of knowing, for example, period, if the symbol and timeframe are not known? If there is an error or I cannot find how to do it, please give me the link.
no way
Yes, you can.
I am attaching the test script.
The result of the script work:
You can.
Your code will probably work
I never usedChartIndicatorGet(), only now I found it in the reference
but anyway, it is easier to bind the indicator handle directly to the indicator name in your code, although it may be the task to find out what the user has launched
thanks! interesting