Shauryam_or

candle count

small script for count bar ...it count bar from open of day till end of day ...
in lower time its deleting candle count because of tradingview label limit 50
. bar counting it help me to teach trader bar by bar ...some of bar in all world chart are very important ..in al brook sir book and his website he marked many imortant bar no

for reference al brook sir said about bar counting method
the highest probability trade was the one that I said. When bar 62 was happening, I said, “Traders are buying,” you know, “I’m buying, it’s going up,” right? So 62 is the highest probability trade, but that does not mean it’s the easiest trade. It just means the probability that we’re going to get some kind of a measured move out of 62 is very high, probably 70 percent.
thanks to stack overflow that code is ans there
in this script many people help me thanks to @HappyBaby86 and @Kjaerbye#7503
sorry my english is not good.my native language is Hindi ..
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?

Comments

@jojgo i can't dm i dont have point to message ...can you text me on telegram my id - @shauryam
Reply
jojgo Shauryam_or
@Shauryam_or, Hey no prb...dont have tg...i was saying...your code was really helpful to me. On your code i added bit of 2 lines to get intraday high. to make it more visual I was checking if you could help code? I can paste my code here
Reply
jojgo jojgo
@jojgo, oStart = hour == 9 and minute == 15
oHigh = valuewhen(oStart,high,0)

numBars = 1

t = time('D')

if t == t
numBars := nz(numBars) + 1
else
numBars := 1

label.new(bar_index,low,tostring(numBars),textcolor=color.black,style=label.style_none,size=size.tiny,yloc=yloc.belowbar)

iHigh = highest(high,numBars)

AboveOH = (high > iHigh) and (high > oHigh)
plotshape(AboveOH,style=shape.xcross,color=color.black)
Reply
jojgo jojgo
@jojgo, what I'm looking for is instead of shape.xcross i want to see number of intraday high
Reply
jojgo jojgo
@jojgo, like this
Reply
@jojgo, can you make a simple chart then edit with text and send me ..because your chart are mix up ..sorry i dont understand
Reply
@jojgo, what i understand is you want plot current intraday high with number ...
Reply
jojgo Shauryam_or
@Shauryam_or, that's right! i want to plot intraday high with number (1,2,3...) instead of cross mark, which i'm doing from code.
Reply
@jojgo, will try to make ...and update
Reply
jojgo Shauryam_or
@Shauryam_or, thank you so much!
Reply