Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


HI SANTOS, I have tried with NIFTY index, but its constantly showing 0 value. ...any solution ?
+12 Reply
@HarrisPM, the problem is not with the script
@HarrisPM, the value oscilation is just that small
+5 Reply
jamy862004 HarrisPM
@HarrisPM, Same query!
Many thanks for the wonderful script Ricardo!
I have adapted the same on pine script version 4 and published few minutes back - this fixes the issues faced by some of the commentators below.
I have acknowledged your original version in what I have published.

Thanks again!
+4 Reply
MohdAnish piram.manickam
@piram.manickam, Hi Piram, I changed the input with NIFTY and also tried with SENSEX but still showing 9 value.
@MohdAnish, Hi Mohd, I am not sure if you picked up the new script I published. Can you try the indicator below and let me know?
+2 Reply
@piram.manickam Works like a charm for Nifty, Thank You brother
AshuToshP piram.manickam
@piram.manickam, thanks for fixing the issue and publishing the script....it works fine