Custom indicator shows up blank or returns 2147483647
-
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon. -
That number is EMPTY_VALUE. Of course, using that value should result in a blank.
-
if(yoyoGo<indicator_minimum)yoyoGo=indicator_minimum; else if(yoyoGo>indicator_maximum)yoyoGo=indicator_maximum;
INDICATOR_MINIMUM is the constant value 2 (MAX is 3).
Sometimes this indicator works, and other times it show up blank or returns 2147483647. Any ideas how to fix it? Thanks!