The Climatic Volume X indicator detects when a candlestick has a relative volume higher than the “HighVolume” settings.
The relative Volume is equal to the current candlestick volume divided by the average of volumes calculated with the last “length” bars.
It is an indicator where high volume climatic candles are marked with resistance lines and support that could be used as breakout thresholds.
Converted from TradingView code following a request in the indicator’s forum.
The below code is for PRT v11 only. You can download the compatible v10.3 itf file at the bottom of this page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
//PRC_Climatic Volume X | indicator //31.08.2020 //Nicolas @ www.prorealcode.com //Sharing ProRealTime knowledge //converted from tradingview //https://www.prorealcode.com/topic/conversion-indicador-cvx-de-tradingview/ //PRT V11 only // --- settings Length = 10 //average length for Volume HighVolume = 2 //minval=0.01 High Volume showrelativevolume= 1 //Show Relative Volume (1=true) showlines = 1 //Show Lines (1=true) Extendlines= 10 //Extend Lines // --- end of settings AverageVolume = average[Length](volume) RelativeVolume = volume / AverageVolume dt = time - time[1] if RelativeVolume > HighVolume and showrelativevolume then drawtext("#RelativeVolume#",barindex,high,sansserif,standard,16) endif if RelativeVolume > HighVolume and showlines then drawsegment(barindex,low,barindex+ExtendLines,low) style(dottedline) drawsegment(barindex,high,barindex+ExtendLines,high) style(dottedline) endif return |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
To get it working correctly with PRT v10.3, remove the “style(dottedline)”, from the drawsegment lines.
i get syntax error: “The dt varibal is not used in the program”
It dose not work?????????????????????????????????????????????????????? Syntax error. Howe do I fix it? Your fix dosnt work.
I uploaded a v10.3 compatible version. It works now!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hola Nicolas, gracias por crear este indicador, sería posible crear un screener de este indicador donde se detecte la ruptura de la vela climática? Gracias
esta possible
Hola Nicolas, perdona la molestia, pero podrias codificar el screener para rupturas de soporte o resistecia de vela climatica? mil gracias!
Utilice los foros para solicitar una codificación personalizada.