droesparky:
Is there a way to set the levels on an indicator where each time you use the indicator you dont have to reset them.
Is there a way to set the levels on an indicator where each time you use the indicator you dont have to reset them.
for instance I want the levels on this indicator to be set at .68 and .32, and be there each time I use the indicator.
Can someone show me the code to do this and tell me where to put it.#property indicator_level1 0.32
#property indicator_level2 0.68Put it anywhere in the beggining of the code with other #property statements
Thanks mladen that was fast.
setting levels in indicator
If you study this indicator you will see another method. The levels can be inputs to the indicator instead of using #property.
Robert
Files:
juicelevelsalert.mq4
4 kb
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Is there a way to set the levels on an indicator where each time you use the indicator you dont have to reset them.
for instance I want the levels on this indicator to be set at .68 and .32, and be there each time I use the indicator.
Can someone show me the code to do this and tell me where to put it.