NinjaScript > Language Reference > Indicator > Plot Class |
|
Definition
Syntax
Properties Plot.Min - Sets the minimum value required for the plot to display Plot.Max - Sets the maximum value the plot will display
Please note that these properties are subject to a pixel rounding logic meaning that if your plot falls exactly on the .Min or .Max value, it is possible you would not see it painted depending on your panel height. To avoid this please set the .Min and .Max threshold a little bit wider than the minimum and maximum you desire.
* See tutorial "Custom Plot Color via Thresholds" for example of Plot.Min and Plot.Max properties.
Parameters
Examples See the Add() method for examples. |