- nan stands for "Not-A-Number". So if you see double.nan, then it is
usually assigning "nothingness" to a variable. Double.nan is creating
a situation where there is really no assigned value to the variable.
If there isn't anything there, then there isn't anything to display on
the chart. Sometimes the objective is to keep anything from
displaying on the screen. So double.nan is used to exclude plot
lines from displaying on the screen.
That is my understanding of it, and that's how I use it.
In TOS_thinkscript@yahoogroups.com, "cdnew34" <cdnew34@...> wrote:
> what does this mean and what is it used for? I seem to be 'x-axis'
> challenged in thinkscript.