BollingerBands MTF BB

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

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

    Greetings
    Suffi

    #191624 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    SuffiSuffi
    Participant
    Junior

    perfect, thank you

Viewing 3 posts - 1 through 3 (of 3 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

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 SuffiSuffi
4 years, 5 months ago.

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