// This indicator indicates on the graph, an event Breakout in green color.
// In red, a BreakDown.
//
// Parameter
// ---------
// It uses a parameter p to determine the period. by default it is set to 10.
//
// Description
// -----------
// The basic indicator is the index force coupled with the Bollinger Band to identify a statistical anomaly on the closing price caused by volumes.
// If the upper band of the bollinger bands is exceeded by the forceindex, it's mean a BreakOut. A BreakDown when the lower band of bollinger is exceeded.
fi=ForceIndex(close)
bu=BollingerUp[p](fi)
bd=BollingerDown[p](fi)
breakValue=0
// color variable
redColorValue=0
greenColorValue=0
// Check statistical anomaly(BollingerBands) on price by volume(ForceIndex)
Salve, al seguente indicatore è possibile aggiungere due ulteriori seganli? Mi spiego meglio. l’ndicatore lavora quando il prezzo e maggiore della bollinger band up e viceversa disegna una barra rossa sotto a un valore della bb down. Vorrei inserire anche i valori +2 e +3 e -2 e -3 sull’istogramma dell’indicatore. a questi ulteriori valori aggiunti voglio settare sempre i valori delle bbup e bbdown, ma il valore giustamante deve essere differente.