modifica indicatore bollinger band BreakSearch

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #55822 quote
    traderwin
    Participant
    Average
    // Name : BreakSearch indicator
    // author : patmaba
    // date : 2017/dec/05
    // 
    // Purpose
    // -------
    // 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)
    if fi >= bu then // here the BreakOut
     breakValue=1
     greenColorValue=255
    elsif fi <= bd then // here the BreakDown
     breakValue=-1
     redColorValue=255
    endif
     
    return breakValue coloured(redColorValue,greenColorValue,0) style(histogram) as "BreakOut/Down"

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

modifica indicatore bollinger band BreakSearch


Supporto ProBuilder

New Reply
Author
author-avatar
traderwin @traderwin Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: Supporto ProBuilder
Language: Italian
Started: 12/16/2017
Status: Active
Attachments: No files
Logo Logo
Loading...