Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1316
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
Through WinAPI you can, if it suits you.
there is a function in kernel32.dll
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfiletime
There's something here
https://www.mql5.com/ru/articles/1540
There's something here
https://www.mql5.com/ru/articles/1540
Thank you!
There's no way to do it with the standard tools.
What's not good with ChartIndicatorAdd()?
How to get this parameter for technical indicators I have found, namely:
Each technical indicator has its own function, e.g. for MACD:
indicator_handle=iMACD(symbol,period,fast_ema_period,slow_ema_period,signal_period,apr);
My question is about a custom indicator.
I couldn't find in the help how to getindicator_handle of my indicators, especially at the time when they are not yet in the window.
It's possible that I wasn't looking hard enough.
I would be extremely grateful for a link.
This great function requires indicator_handle
How to get this parameter for technical indicators I have found, namely:
Each technical indicator has its own function, e.g. for MACD:
My question is about a custom indicator.
I couldn't find in the help how to getindicator_handle of my indicators, especially at the time when they are not yet in the window.
It's possible that I wasn't looking hard enough.
I would be extremely grateful for a link.
iCustom()
And of course, where else should this function be but in the middle of the list of technical indicators...)
Greetings.
I have a problem with horizontal lines in MQL5.
A manually created horizontal line in the GAZP chart is also displayed in the SBER chart since their prices are similar. Please advise how to save the line and display it where it was created.
***
neither in the first nor in the second variant does not want to work...
I have a problem withhorizontal lines in MQL5.
A manually created horizontal line in the GAZP chart is also displayed in the SBER chart since their prices are similar. Please advise how to save the line and display it in the place it was created.
does not want to work with the first or the second option...
I have a problem withhorizontal lines in MQL5.
A manually created horizontal line in the GAZP chart is also displayed in the SBER chart since their prices are similar. Please advise how to save the line and display it in the place it was created.
neither the first nor the second version does not want to work...
See the errors:
1. Always explicitly specify a graph symbol (yes, you can rely on documentation, but it's better to ALWAYS specify explicitly)
2. String makes no sense - as preff+"hhh" will never equal Symbol()
Added: better to have this approach - always one line on the chart, just change the line price when you switch charts.