Errors, bugs, questions - page 1638

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
Good day.
Please advise MQL4 and MQL5 why they have the function of removing an indicator subwindow from an Expert Advisor but they don't have the function of creating an indicator window.
I have to use templates or start the window indicator manually, which is not convenient because the information on the chart gets lost.
I would also like to be able to start and display indicators from a resource file.
Or advise how to do it.
The ChartIndicatorAdd function can be used to create a sub-window
About indicators from resources is written here https://www.mql5.com/ru/docs/runtime/resources in the very end - "Work with custom indicators connected as resources".
The ChartIndicatorAdd function can be used to create a sub-window
About indicators from resources is written here https://www.mql5.com/ru/docs/runtime/resources at the very end - "Working with custom indicators connected as resources".
Thanks for the help.
I have not got this function in 4 unfortunately. Too bad :)
Mt5 tester's bug: OHLC does not match in the tester and in MT5 itself, moreover, High and Low are inside the Open/Close range :(
This candlestick, unfortunately, is not the only one. What to do? Advise how to write to the developers, guys!
I ran the tester again and saw a trick: High is redrawing O_o as the candle is forming. At some point it changes value to a lower one, falls into Open/Close range and then changes its value within that range.
OHLC on M1
It has been found and corrected. Thanks for the message.
While there is no fixed build, this bug can be bypassed by testing on daily ( rather than weekly) timeframe. In this case, all the weeks are formed correctly
Remove the inverted commas from the body of the macro
To convert a macro parameter to a string use #:
## is used to glue the tokens togetherFound and corrected. Thanks for the message.
While there is no fixed build, this bug can be bypassed by testing on a daily ( rather than weekly) timeframe. In this case, all the weeks are formed correctly
Ambiguity:
In one case you can overload a method with a different return type, but in another case you cannot
Error during execution
Result:
2016.08.16 10:22:45.244 Script3 (GBPUSD,M15) invalid pointer access in 'Script3.mq5' (11,27)
This error is floating. Doesn't occur if you rewrite the same thing in another way
Error during execution
Result:
2016.08.16 10:22:45.244 Script3 (GBPUSD,M15) invalid pointer access in 'Script3.mq5' (11,27)
This error is floating. Doesn't occur if you rewrite the same thing in another way
Ambiguity:
In one case you can overload a method with a different return type, but in another case you cannot