CONVERSION BBWP de The Caretaker de TradingView a Prorealcode

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

    Preciso por operar con la plataforma de Prorealtime la conversión de este indicador de TradingView a Prorealtime. Agradezco vuestra ayuda de antemano al respecto, quedando a la espera. Un saludo. Fco. José.

    CODIGO-INDICADOR-DE-VOLATILIDAD-BBWP-TRADINGVIEW-240425.docx
    #254887 quote
    Iván González
    Moderator
    Master

    buenas.
    Lamentablemente este indicador no se puede traducir porque utiliza datos de unidades temporales inferiores para construir las velas de acumulacion de volumen.
    De todas formas te dejo aquí un indicador CVD por si te interesa:

    //-----------------------------------------//
    //PRC_Cumulative Delta Volume (TFLab)
    //version = 0
    //16.07.2025
    //Iván González @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //-----------------------------------------//
    // --- Inputs
    //-----------------------------------------//
    CumMode=1
    Period=21
    //-----------------------------------------//
    // --- Calculation: Delta Volume
    //-----------------------------------------//
    if (high-low) <>0 then
       buying=volume*((close-low)/(high-low))
       selling=volume*((high-close)/(high-low))
    endif
    
    delta=buying-selling
    //-----------------------------------------//
    // --- Calculation: Cumulative Delta Volume
    //-----------------------------------------//
    if CumMode=1 then
       cumulative=cumsum(delta)
    elsif CumMode=2 then
       cumulative=summation[period](delta)
    else
       cumulative=average[period,1](delta)
    endif
    //-----------------------------------------//
    // --- Plot Candles & colors
    //-----------------------------------------//
    if cumulative>cumulative[1] then
       r=0
       g=255
       b=0
    else
       r=255
       g=0
       b=0
    endif
    
    drawcandle(cumulative[1],cumulative[1],cumulative,cumulative)coloured(r,g,b)
    //-----------------------------------------//
    return
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

CONVERSION BBWP de The Caretaker de TradingView a Prorealcode


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
PANCHO59 @pancho59 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
1 month, 3 weeks ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 12/30/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...