BollingerBands MTF BB

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #191622 quote
    Suffi
    Participant
    Junior

    Hello all,
    has anyone already programmed a MTF BB and would share it?

    Greetings
    Suffi

    #191624 quote
    robertogozzi
    Moderator
    Master

    There you go for two different TFs (4h & 1h):

    Timeframe(4h,UpdateOnClose)
    BB4     = 20                                    //20   periods
    BBdev4  = 2.0                                   //2.0  standard deviation
    BBavg4  = average[BB4,0](close)                 //BB mean (middle line)
    UPboll4 = BBavg4 + ((std[BB4](close)) * BBdev4) //BB Upper Band
    LOboll4 = BBavg4 - ((std[BB4](close)) * BBdev4) //BB Lower Band
    //
    Timeframe(1h,UpdateOnClose)
    BB1     = 20                                    //20   periods
    BBdev1  = 2.0                                   //2.0  standard deviation
    BBavg1  = average[BB1,0](close)                 //BB mean (middle line)
    UPboll1 = BBavg1 + ((std[BB1](close)) * BBdev1) //BB Upper Band
    LOboll1 = BBavg1 - ((std[BB1](close)) * BBdev1) //BB Lower Band
    #191629 quote
    Suffi
    Participant
    Junior

    perfect, thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

BollingerBands MTF BB


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Suffi @suffi Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Suffi
3 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/12/2022
Status: Active
Attachments: No files
Logo Logo
Loading...