Questions from Beginners MQL5 MT5 MetaTrader 5 - page 401
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
Forgot to answer - go to MetaTrader 5 :).
No such option yet (also because of low spreads)
I forgot to ask, why do you need to add an indicator on a chart to call iCustom() )
I have an idea that the window will then clear the memory. I don't need to add a chart, but to call it for calculation...
The question was originally asked:
and I understood it as: you want to attach a custom indicator to the new chart.
No such option yet (also because of low spreads)
I have an idea that the window will then clear the memory. I don't need to add a graph but to call it for calculation...
If it is about my question, then yes, I need only call the indicator for calculation, without applying it to chart. I may be wrong and it won't work - this is what I want to check.If you need the indicator calculation data for a particular symbol and timeframe, you just need to useiCustom(link for MQL4).
It's clear, I just assumed that the memory is segmented by charts and want to run the script on chart A and do the calculation on chart B, so that if there is a memory shortage close chart B and free up memory and then run a new chart again to calculate.
Yes it's clear, just assume that memory is segmented by charts and want to run the script on chart A, and do the calculation on chart B, so that if you run out of memory close chart B and free memory, and then run a new chart for calculations again.
You can't programmatically run an indicator on the chart you want in quadruple. But you can programmatically attach a template to the chart which will contain the required indicator - it will be attached to the chart together with the template.
A template is a good thing, but it doesn't save, is it possible to run the script on a new chart?
No. The script is manual only.
So you can't simulate hotkey presses (which can be assigned to a script/indicator/advisor) in the same way?
You can't. And why go to such trouble? Transfer all the code of the script (or scripts) to the EA.