zerobase

Syntax

declare zerobase;

Description

Sets the minimal value on a study axis to zero if there are no negative values in the study.

Example (Price Oscillator)

declare zerobase;
declare lower;
plot Vol = Volume;

In this example, the Vol plot contains no negative values. It is reasonable to set the minimum value on the study axis to zero using the zerobase declaration.