PercentB
%B
Description
%B is a measure of where the price is in relation
to the Bollinger Bands
Category
Bands Indicators
Parameters
N ( Default: 20
Min: 1 Max: 100 )
P ( Default: 2
Min: 1 Max: 10 )
Chart Script
MID := MA(CLOSE,N);
UPPER:= MID +
P*STDP(CLOSE,N);
LOWER:= MID - P*STDP(CLOSE,N);
B : (C - LOWER) / (UPPER -
LOWER);