Possible bug at modifying variables
-
I am testing these two blocks in order to show the value of a custom indicator at my chart:
https://fxdreema.com/shared/VSISg3V3e
Basically I want to see the value of that indicator at candle 1. Initially it runs smoothly, but after a few candles have passed it shows a weird number that has nothing to do with the indicator. The weirdest thing is that this number is exactly the numer of bars allowed at my MT4 platform! It's exactly that number.
Could you please take a look at it?
-
If the number is 2,147,483,647, aka EMPTY_VALUE, then this value means that nothing is printed at this candle, the indicator doesn't have a value that can be used for something at that moment.
-
Ok. Thanks.