B% modified code with custom period and deviation multiplier

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #51937 quote
    PEDRAM.JOKAR
    Participant
    Average

    Hi everyone!

     

    as Bollinger B% codes provided in library, is there anybody to help how can i modify parameters like b%(50 , 3)?

    #51988 quote
    Nicolas
    Keymaster
    Master

    You can try with this code. You can modify yourself the period and the standard deviation multiplier the way you want:

    REM Calculation of Bollinger oscillator
    
    period = 50
    dev = 3
    
    dn = average[period]-std[period]*dev
    
    delta = CLOSE - dn
    width = dev * STD
    
    BBO = delta * 100 / width
    
    RETURN BBO AS"Bollinger Band Oscillator"
    #52147 quote
    PEDRAM.JOKAR
    Participant
    Average

    this code indicates something different than the PRT B%. also i need to have the 80-20 lines as the original one. Please advise.

    #53071 quote
    PEDRAM.JOKAR
    Participant
    Average

    is there anybody to help with PRT similar code code? what is the reason of difference?

    #53249 quote
    Nicolas
    Keymaster
    Master

    Because I don’t think that this is the same indicator. Will update it next week, please up the topic if I don’t.

    #99000 quote
    robertogozzi
    Moderator
    Master
    This was the indicator PEDRAM.JOKAR was looking for: https://www.prorealcode.com/prorealtime-trading-strategies/bollinger-trend-strategy/. (it’s been a long time, though, he did not use the search box, since it already existed).
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

B% modified code with custom period and deviation multiplier


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by robertogozzi
6 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/08/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...