v4
Added:
upBar()
upBar
Returns: Boolean: true if the current bar is up
downBar()
downBar
Returns: Boolean: true if the current bar is down
smallBarRange(avgBarRange, factor)
smallBarRange
Parameters:
avgBarRange (float): float: The average bar range.
factor (float): float: The multiplier factor for a small bar.
Returns: float: The computed small bar range.
bigBarRange(avgBarRange, factor)
bigBarRange
Parameters:
avgBarRange (float): float: The average bar range.
factor (float): float: The multiplier factor for a big bar.
Returns: float: The computed big bar range.
smallBar(barRange, smallBarRange)
notSmallBar
Parameters:
barRange (float): float: The current bar range, computed using barRange()
smallBarRange (float): float: The computed small bar range value
Returns: bool: true if the bar range is greater than the small bar range
bigBar(barRange, bigBarRange)
bigBar
Parameters:
barRange (float): float: The current bar range, computed using barRange()
bigBarRange (float): float: The computed big bar range value
Returns: bool: true if the bar range is greater than or equal to the big bar range
Removed:
isUpBar()
isUpBar
isDownBar()
isDownBar