bollinger %B

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105376 quote
    GheroGhero
    Participant
    Junior

    Buongiorno

    sarebbe possibile avere uno screener basato sull’indicatore Bollinger %B che evidenzi le chiusure sui valori, o anche oltre, di 0 e 1?

    grazie

    BABA34B6-B10B-40A5-B7C4-BE81497C1B66.png BABA34B6-B10B-40A5-B7C4-BE81497C1B66.png
    #105457 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo, se vuoi modificarlo da 0 a 100, invece che da 0 a 1, basta che a MOLTIPLICATORE assegni 100:

    BBval      = 20                                             //20   BB  periods
    BBdev      = 2.0                                            //2.0  BB deviation
    Multiplier = 1                                              //1 = 0 to 1,      100 = -50 to 150
    Os         = 0                                              //Oversold   = 0
    Ob         = 1 * Multiplier                                 //Overbought = 1 or 100
    BBavg      = average[BBval,0](close)                        //BB mean (SMA middle line)
    BollUP     = BBavg + ((std[BBval](close)) * BBdev)          //BB Upper Band
    BollDN     = BBavg - ((std[BBval](close)) * BBdev)          //BB Lower Band
    BB         = Multiplier * (close - BollDN)/ (BollUP - BollDN)
    Result     = 0
    IF BB > Ob THEN
       Result = 1
    ELSIF BB < Os THEN
       Result = 2
    ENDIF
    SCREENER[Result](Result AS "1=↑,2=↓")
    x-24.jpg x-24.jpg Il-Mio-ProScreener13.itf
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

bollinger %B


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Ghero @ghero Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
7 years ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 08/23/2019
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...