TradingView
LennyT
1 Eki 2021 07:53

Price Action: Inside Bar Boxes 

British Pound/Japanese YenFXCM

Açıklama

This script automatically draws rectangles around bars inside IB pattern.

Note :: because Pinescript does not allow changes to already drawn charts on historical bars, checkbox "show only last box" doesn't work for arrows

Sürüm Notları

code editing
Yorumlar
FilipRadenovski
Hi LennyT

This is useful indicator.
I have one suggestion if you thing is OK.
I found the current code is braking some indicators.
With the change below it is working fine with all other indicators I have tested and also add option to change the box border color.
.....
// Box border, background color and transparency
color box_border = input(color.rgb(0, 154, 255, 40), "Box border color", type = input.color)
color bg_box_color = input(color.rgb(0, 154, 255, 90), "Box baground color", type = input.color)
.....
myBox := box.new(bar_index-1, high[1], bar_index, low[1], border_color=box_border, bgcolor=bg_box_color)
gammabean
@FilipRadenovski, thnx for this was trying to do this on my own and was barely able to manage lol...this is much cleaner.
GOALADDICTED
Does it repaints??
ChiragPatnaik
Thanks for this. I feel there should be an option to choose a higher time frame to better understand price action and IB consolidation. Any pointers on how this can be implemented?
webzukunft
Thank you. Great work. Very very good Indikator
Indy
This is a very useful indicator. Is it possible to add the option to highlight the bars in the last box only ?
Deckos
Hello, i'm a user of you IB boxes indicator and i love it, but i need something a little bit different.

When a bar make an equal high or equal low or is inside the precedent bar, this is the beginning of the box, and the box close when i have two bars shift in the same way, up or down.

Do you think you can make a new script with this modification. (i don't know anything about coding).

thanks a lot for your work!!!!
prku4699
Hi Lenny, Very nice work, I need to increase the size of some output to be more visible to the naked eye, can we have the Arrow highlighted add with the option to increase the size of it? Please am not any coder or too much into this, your assistance is highly appreciated. Thanks
OnBrinkCapital
Lenny. Thanks for sharing the source code. It has helped me solve a coding issue I was having, trying to draw boxes only when a condition is met. Sending you good vibes and wishing you all the best!
dogekao
Hi what mean ib pattern i think this amazing indicator
Daha Fazla