Nicolas

Candle strength

Category: Indicators By: Nicolas Created: October 29, 2017, 6:49 PM
October 29, 2017, 6:49 PM
Indicators
5 Comments
Candle strength

The candle strength indicator measure the “strenght” of the current candlestick by comparing its OHLC value between them.

Red and green histogram are created depending of the direction of the candlestick (bullish or bearish ones).

Code converted from MT4 version by a request in the ProBuilder french forum.

//PRC_Candle Strength| indicator
//26.10.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge

value = 100*(Open-Low)/(High-Low)-50

if (Close > Open) then
 buffer1 = value
 buffer2 = 0
else
 buffer1 = 0
 buffer2 = value
endif

return buffer1 coloured(0,255,0) style(histogram), buffer2 coloured(255,0,0) style(histogram),0 style(dottedline),50 style(dottedline),-50 style(dottedline)

 

Download
Filename: PRC_Candle-Strength-1.itf
Downloads: 222
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

Daniel3987
4 years ago
#

Please how do I add the prc candle strength to my mt5 on an iPhone

Nicolas
4 years ago
#

You can't, this indicator is made to be used with prorealtime trading platform.

JohnScher
9 years ago
#

indicators i did fond, no problem, but a basic code to trade maybe RSI divergence didn´t found. It already exists? Search engine i can´t find too... i m sry can you help? ?

JohnScher
9 years ago
#

Fine Work. I am currently working on divergences. I wanted to ask if there was already a basic code published here and if so, if you could reply me with a link? P.S. My contribution: DeepL, translator, my text written in German, translated by DeepL

Nicolas
9 years ago
#

There are many divergences indicators on the website already, please make a quick search with the website search engine. Thank you.

ProRealCode ProRealCode
Loading...