Conversion indicador CVX de Tradingview

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #142893 quote
    bolsatonimora2
    Participant
    Average

    Buenos días ,

    Me gustaria si alguna persona tuviera tiempo para traspasar este indicador de tradingview a PRT. Es un indicador donde se marca con unas lineas de resistencia y soporte las velas climáticas con alto volumen. Creo que puede ser un buen indicador de breakout. Si alguien pudiera convertirlo a PRT se lo agradeceria. Seria posible realizar tambien un screener donde se buscaran valores que rompen la resistencia o soporte de esa vela climatica?  MIL GRACIAS!

    // © Dreadblitz
    //@version=4
    //
    study("Climatic Volume X", shorttitle = "CVX", overlay=true)
    
    col_line= color.new(color.black, 30)
    //
    Length = input(10,title="🔹 Length")
    AverageVolume = sma(volume, Length)
    RelativeVolume = volume / AverageVolume
    HighVolume = input(2, minval=0.01,title="🔹 High Volume = ")
    show_relative_volume= input(true,title="Show Relative Volume")
    show_lines = input(true,title="Show Lines")
    Extend_lines= input(10,title="🔹 Extend Lines =")
    
    //
    barcolor(RelativeVolume > HighVolume? color.white : na)
    //
    dt = time - time[1]
    
    if RelativeVolume > HighVolume and show_relative_volume
    label.new(bar_index, high, style=label.style_none,text=tostring(RelativeVolume,"#.#"), size=size.small, textcolor=color.black)
    if RelativeVolume > HighVolume and show_lines
    a=line.new(time -1*dt , low, time + Extend_lines*dt , low, xloc.bar_time, extend=extend.none, style=line.style_solid, color=col_line, width=1)
    b=line.new(time -1*dt , high, time + Extend_lines*dt , high, xloc.bar_time, extend=extend.none, style=line.style_solid, color=col_line, width=1)
    // Alert
    alertcondition(RelativeVolume > HighVolume,title="Climatic Volume",message="Climatic Volume")
    CVX-Climatic-Volume-X.pdf climatic-volume-x-indicator.png climatic-volume-x-indicator.png
    #142895 quote
    bolsatonimora2
    Participant
    Average

    MIL GRACIAS!

    #142966 quote
    Nicolas
    Keymaster
    Master

    Agregado a mi lista de conversión. Lo convertirá lo antes posible …: roll:

    #143062 quote
    bolsatonimora2
    Participant
    Average

    mersi!!!

    #143074 quote
    Nicolas
    Keymaster
    Master

    Traduje el indicador al código ProRealTime, puedes descargarlo directamente de la biblioteca aquí: Climatic Volume X

    #143150 quote
    bolsatonimora2
    Participant
    Average

    Muchas gracias Nicolas!!!! Mersi

    #143151 quote
    bolsatonimora2
    Participant
    Average

    Buenas noches Nicolas, he probado el indicador y va FENOMENAL, es posible pedirle un screener con la ruptura de la resistencia de la barra con volumen climatico?

    Muchas gracias !!

    #143171 quote
    Razz
    Participant
    Master

    No se puede iniciar el indicador? V10.3 qué puede ser?

    PRC-Climatic-Volume.jpg PRC-Climatic-Volume.jpg
    #143178 quote
    Nicolas
    Keymaster
    Master

    Para que funcione correctamente con PRT v10.3, elimine el “style(dottedline)”, de las líneas DRAWSEGMENT.

    #145009 quote
    bolsatonimora2
    Participant
    Average

    Buenas noches Nicolas, he probado el indicador y va FENOMENAL, es posible pedirle un screener con la ruptura de la resistencia/soporte de la barra con volumen climatico?

    Muchas gracias !!

    #145038 quote
    Nicolas
    Keymaster
    Master

    Pruebe el siguiente código para la ruptura de la zona de volumen climático:

    //PRC_Climatic Volume X | screener
    //https://www.prorealcode.com/topic/conversion-indicador-cvx-de-tradingview/
    
    // --- settings
    Length = 10 //average length for Volume
    HighVolume = 2 //minval=0.01  High Volume
    // --- end of settings
    
    AverageVolume = average[Length](volume)
    RelativeVolume = volume / AverageVolume
    
    if RelativeVolume > HighVolume and hh=0 then 
    hh=high
    ll=low
    endif
    
    signal=0
    if close crosses over hh or close crosses under ll then 
    signal=1
    hh=0
    ll=0
    endif
    
    screener[signal]
    
    
    #146591 quote
    bolsatonimora2
    Participant
    Average

    Muchas gracias Nicolas!

    Lo he estado probando pero me gustaria si pudieras ajustarlo para que detecte el cruce del precio en el maximo de la barra climatica, es posible?

    adjunto archivo.

    Muchas GRACIAS!

    Doc1.pdf
    #146593 quote
    bolsatonimora2
    Participant
    Average

    Adjunto foto,

     

    Gracias!

    climatic-volume-X.jpg climatic-volume-X.jpg
    #146629 quote
    Nicolas
    Keymaster
    Master

    No entiendo porque esto es exactamente lo que está haciendo el código de control anterior.

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

Conversion indicador CVX de Tradingview


ProBuilder: Indicadores y Herramientas

New Reply
Author
Summary

This topic contains 13 replies,
has 3 voices, and was last updated by Nicolas
5 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 08/29/2020
Status: Active
Attachments: 5 files
Logo Logo
Loading...