Bongo Indicator

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #235995 quote
    jcl
    Participant
    Junior

    Could someone develop the codes for the Force Index and Bongo indicators as seen in Gil Morales’ screenshot? Thanks
    The Bongo indicator was designed by a group of traders at an HGSI seminar. The Bongo turns green when the Wilder’s RSI 8, 14, and 19 are streaming (8 over 14 over 19) and the close price is above the 9 period moving average. The bongo stays green until a down signal is detected (RSI’s streaming 8 below 14 below 19) and the close price is below the 9 period MA at which point it turns red and stays that way until another up signal is detected.

    maxresdefault.jpg maxresdefault.jpg
    #235998 quote
    robertogozzi
    Moderator
    Master

    Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.

    Thanks 🙂

    I moved it from the Spanish forum.

    #236004 quote
    Iván González
    Moderator
    Master

    Bong:

    // Parámetros
    rsiShort = 8
    rsiMedium = 14
    rsiLong = 19
    maPeriod = 9
    
    // Cálculo del RSI
    rsi8 = RSI[rsiShort](close)
    rsi14 = RSI[rsiMedium](close)
    rsi19 = RSI[rsiLong](close)
    
    // Cálculo de la media móvil
    ma9 = Average[maPeriod](close)
    
    // Condiciones para la señal verde
    greenSignal = (rsi8 > rsi14) AND (rsi14 > rsi19) AND (close > ma9)
    
    // Condiciones para la señal roja
    redSignal = (rsi8 < rsi14) AND (rsi14 < rsi19) AND (close < ma9)
    
    // Indicador Bongo
    once bongo = 0
    
    IF greenSignal THEN
    bongo = 1
    r=0
    g=255
    ELSIF redSignal THEN
    bongo = -1
    r=255
    g=0
    ENDIF
    
    return bongo style(histogram)coloured(r,g,0)
    
    #236007 quote
    jcl
    Participant
    Junior

    Muchas gracias Iván

    Thank you very much Ivan

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

Bongo Indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
jcl @jcl Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by jcl
1 year, 7 months ago.

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