BodyHeight ();
Description
Returns the height of the candlestick body. It is equal to the absolute value of the difference between the open
and close
values.
Sample
Example
declare lower;
input length = 12;
plot AverageBodyHeight = Average(BodyHeight(), length);
This script plots the 12 period average body height on the lower subgraph.