antiseptic: reference the value of it in another indicator. How would you go about doing this?
in the indicator itself, which works, but it tends to lock up when switching time frame. Which is part of the reason why I want it in a separate indicator.
- Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
- Putting your broken code in another indicator fixes nothing.
- If it takes too long to compute, reduce Max bars on chart to something reasonable (like 1K.)
- Worse case update the indicator in segments.
Files:

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
Let's say you had a custom indicator and you wanted to reference the value of it in another indicator. How would you go about doing this?
I tried it this way:
in the indicator itself, which works, but it tends to lock up when switching time frame. Which is part of the reason why I want it in a separate indicator.
I've skimmed this article: https://www.mql5.com/en/articles/1372 but it doesn't seem to be what I'm looking for. Or it is possible that I'm just not doing it right.