CONVERSION BBWP de The Caretaker de TradingView a Prorealcode

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254881 quote
    PANCHO59PANCHO59
    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álezIván González
    Moderator
    Legend
    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
    
    #259593 quote
    PANCHO59PANCHO59
    Participant
    Junior

    Muchísimas gracias, Ivan, por molestarte en enviarmelo. Lo probaré. Un fuerte abrazo. Pancho.

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

TradingView to ProRealTime Translation Center

New Reply
Author
author-avatar
PANCHO59 @pancho59 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by PANCHO59PANCHO59
5 months, 3 weeks ago.

Topic Details
Forum: TradingView to ProRealTime Translation Center Forum
Started: 12/30/2025
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...