TradingView
AtulGoswami
Feb 6, 2023 8:49 AM

Nifty making inside bar today- big move expected in near future 

Nifty 50 IndexNSE

Description






Nifty is making inside bar today, i expect a goof breakout above 17789 or below 17592. Watch out for these level and take position accordingly. you can use the indicator i have developed to identify insidebar.

tradingview.com/script/SUUgKFEd-InsideBar2-0/

Comments
pratyush_malviya
Thanks for sharing the details on how to use this indicator, very helpful.
Also Can you share any tips on using the barcolor function effectively?
AtulGoswami
@pratyush_malviya, Barcolor functionis used to give existing candle sticks custom color.

in thsisscript i have used
barcolor(ins? color.yellow: close>open? color.green:color.red)
so if it is inside bar( ins?) , then color the candle as yellow otherwise depending upon the close and open equation.
You can use any condition instead of ins? to color the candles with your custom colors.
pratyush_malviya
@AtulGoswami, Thanks for clarifying the barcolor function. Visualizing trends with custom colors is useful.
Thanks.
More