David C: I want to change the property "indicator_applied_price", using a parameter. I know to how create a parameter but I couldn't find how to apply the parameter to the indicator. I've tried plotindexset and indicatorset, but I've not found where to use the parameter. Can someone help me?
You should read — Documentation on MQL5: Custom Indicators / Connection between Indicator Properties and Functions
Common indicator properties | Functions of IndicatorSet...() type | Description |
indicator_applied_price | No function, the property can be set only by the preprocessor directive. | Default price type used for the indicator calculation. It is specified when necessary, only if OnCalculate() of the first type is used. The property value can also be set from the dialog of indicator properties in the "Parameters" tab - "Apply to". |

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
Hi everyone!
I want to change the property "indicator_applied_price", using a parameter.
I know to how create a parameter but I couldn't find how to apply the parameter to the indicator.
I've tried plotindexset and indicatorset, but I've not found where to use the parameter.
Can someone help me?
Thanks!