
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
Recently I have been studying about cycles within markets. I came across a set of indicators developed by John Ehlers (rather, the original algorithms were Ehlers, the MT4 indicator was developed elsewhere) called coronas. These indicators work by first determining what is the dominant cyle period for their particular timeframe and then performing calculations. I want to use this dominant cycle as an input variable in one/several of my indicators. I can read the value fine through iCustom but was wondering if I need to 'reload' the indicator by calling init() again each time the periods change? The init() function checks for invalid inputs for the JMA series functions I use among other things. Assuming that I can ensure the value from the custom indicator is a valid length for the JMA series, would it be ok to just immediately use it, and then recall the AssignShortName() function again after the new input values have been chosen. I've added in my init() function below.