I am developing a strategy that is based on indicator that has a buffer with n/a and 0 values. I need to distinct somehow when the buffer has 0 as a value and when it hasn't got any value (n/a). In NT7 I was able to do this using ContainsValue method, but in NT8 when accessing indicator buffers from within a strategy both n/a and 0 returns 0 so I am not able to identify when there is actual 0 value and when - n/a.
Can you please advise me on if there is any way to do this (distinct n/a and 0 in indicator buffer values)?
Best regards,
Alexei
Comment