Your topic has been moved to the section: Technical Indicators
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Use IndicatorSetDouble for the Max/Min and not IndicatorSetInteger
IndicatorSetDouble(INDICATOR_MAXIMUM, 100); // Set the maximum value for the indicator scale IndicatorSetDouble(INDICATOR_MINIMUM, 0); // Set the minimum value for the indicator scale
Documentation on MQL5: Custom Indicators / IndicatorSetDouble
- www.mql5.com
IndicatorSetDouble - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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
Hello guys and girls, I'm trying to build an Indicator and please find the part of the code below I'm finding problems with. Hope you can help! The 2 errors are copied below the script.
The errors that I'm getting are these ones:
I tried several things but can't find a way out. Hope you can help!