Nicolas

Climatic Volume X

Category: Indicators By: Nicolas Created: August 31, 2020, 3:39 PM
August 31, 2020, 3:39 PM
Indicators
8 Comments
Climatic Volume X

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.

//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

 

Download
Filename: PRC_Climatic-Volume-X-v10.3.itf
Downloads: 187
Download
Filename: PRC_Climatic-Volume-X.itf
Downloads: 270
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

bolsatonimora2
6 years ago
#

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

Nicolas
6 years ago
#

Utilice los foros para solicitar una codificación personalizada.

bolsatonimora2
6 years ago
#

Hola Nicolas, perdona la molestia, pero podrias codificar el screener para rupturas de soporte o resistecia de vela climatica? mil gracias!

Nicolas
6 years ago
#

esta possible

eva.g.forsgren
6 years ago
#

It dose not work?????????????????????????????????????????????????????? Syntax error. Howe do I fix it? Your fix dosnt work.

Nicolas
6 years ago
#

I uploaded a v10.3 compatible version. It works now!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Bon Zo
6 years ago
#

i get syntax error: "The dt varibal is not used in the program"

Nicolas
6 years ago
#

To get it working correctly with PRT v10.3, remove the "style(dottedline)", from the drawsegment lines.

ProRealCode ProRealCode
Loading...