Candle strength

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.


Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. JohnScher • 10/29/2017 #

    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 • 10/29/2017 #

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

  2. JohnScher • 10/29/2017 #

    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?

Register or


avatar avatar avatar avatar avatar avatar
Related users ' posts
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradĂ­a, ...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
Jesper Great share!
capgros Bonjour @Nicolas, Thanks a lot for this tool, it is very useful for me. I would like to s...
Hans63 Would you add the possibility to color also the Heikin Ashi and bar chart?
Nicolas That's possible, please open a new topic in the indicator forum explaining what you need exa...
rollem Thank you!
Michael1973 Great! This is exactly what I was looging for. However, it does not work. I get an error mes...
pableitor The timeframeminutes variable is an external variable to define the higher TF bars . If yo...
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
4example excellent, thank you
Anonymous Thanks for sharing! On the other hand can we remove the vertical gray lines?
ShaunG Appreciated! Thanks 100%
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
bjoern With the same parameters? For me the results are negative
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
Doctrading Hello, Higher timeframes are better. I suggest D1 or H4.Best regards,
Pinkybouh hello, I propose to add another conditions: ie: haussier: close > open and close >...
TheHovisTrader I'd be interested in the actual profit of this - in the example the stop range is at least 2...
Nicolas Restart your platform in order to be sure to use the last version, there was a version rollb...
bertrandpinoy bonjour voud pouvez m envoyer le code modifier par vous?
Nicolas Désolé , je ne comprends pas votre question.
Jessar Hi friends, is there any way to program the system to close the position when you have a lon...
Pring00 Hello @Nicolas, thanks for this code! Just what i was looking for. I'm fairly new to this...
Nicolas Needs custom coding, ask for a mod in a dedicated topic, in the appropriate forum please.
jelogui bonjour Nicolas, bravo pour cet indicateur assez complexe et qui fonctionne parfaitement. ...
Nicolas Merci de formuler cette demande sur le forum Probuilder, je m'en chargerai dès que possible.
jelogui merci beaucoup Nicolas, je m'en occupe.