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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
//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) |
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
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
There are many divergences indicators on the website already, please make a quick search with the website search engine. Thank you.
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?
?
Please how do I add the prc candle strength to my mt5 on an iPhone
You can’t, this indicator is made to be used with prorealtime trading platform.