Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1149
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
Take theOBJ_RECTANGLE reference example as a basis,
but change this line
to this:
Use theOBJ_RECTANGLE reference example as a basis,
only change this line
to this:
Thank you! :) Got it...
Hi. Does the number of decimal places in an indicator (in a separate window) depend on _Digits of a symbol? If so, how can you avoid it? The indicator produces fractional values, while it displays only integers on the scale.
Example indicator [data folder]\MQL5\Indicators\Examples\ATR.mq5
OnInit() -> set accuracy of displaying
Example #2 -> [data folder]\MQL5\Indicators\Examples\Custom Moving Average.mq5
here the accuracy is higher
Example #3 -> [data folder]\MQL5\Indicators\Examples\ADX.mq5
there is always precision of two values - regardless of Digits()
Is it possible to access other charts in the strategy tester in visual mode (in multicurrency testing). For example:
If you launch this EA in the strategy tester, then the visualizer will open charts of EURUSD, GBPUSD, USDJPY, but
it will show that there is only 1 chart.
How do I know the size of the Label in terms of font size and text length? To position it relative to other elements
Gives 0
Is it possible to access other charts in the strategy tester in visual mode (in multicurrency testing). For example:
If you launch this EA in the strategy tester, the visualizer will open charts of EURUSD, GBPUSD, USDJPY, but
it will show that there is only 1 chart.
This is a problem with getting the renderer's window handles. And there's no way to beat it.
How do I know the size of the Label in terms of font size and text length? To position it relative to other elements
Gives 0