Show Bar with function returning 0

Whenever function returning 0, my Show Bar script is not displaying the “0” value. Is there a correct way to code it?

Below is one of those functions:

ROUND(GPA(HIGH(), MULTSTYLE=Chart Price Unit), DECIMALTYPE=0);

Thank you very much.

Hi Wenshin,

The Show Bar tool will always hide 0’s because 0 also means False in a Boolean result.

All the best

Mathew

Thanks Mathew.

For functions like GPA() and PVAL(), are the return values always between 0 and 359, never 360?

Yes, that’s right.