Institutional OrderBlock Pressure


OrderBlocks are areas where Banks take a Short or Long position. So they create a movement that they would like to hide from us, but luckily for us they cannot. Take the example of Banks opening Short position for x reason. The Trend is already Bearish . The Price will fall and then make a Reversal
(most often to the price where they opened their positions) and it is at this precise moment that they will again resume a Short position twice as
large because for the moment, following this example it is not in their interest that the Price exceeds a certain Price since they are Seller.
As a result they create a solid Resistance (the strongest it is). There are several ways to interpret this logic, we can try to follow the movement of Banks
or on the contrary take advantage of the recovery of the course. Note that not having level 2 and access to the order book from TradingView we can only
make a rough estimate of the "OrderBlocks" through VPOC.


• The Labels displayed by "Red Arrow" and "Green Arrow" represent supposed Bearish or Bullish OrderBlock. Note that you should not in any way interpret these "Arrows" as Signals to Buy or Sell for the reasons mentioned above.
• The OB Line works according to detected OrderBlock Candle. These lines indicate the potential recovery area. (The highlighted lines and candles are white by default).
• It is better to use this indicator on Higher TimeFrame like 2H or 4H.
• You can change the Volume Ratio (here VPOC) which is 89 by default.
• There is a Customization section that allows you to change the colors of the Lines and Candles from White to Black depending on your background color (Light or Dark).
• YES the indicator is Repainting and YES you can have False Alerts since Labels appear in intra-bar!


• In fact we don't really need Alerts for the logic of this indicator except maybe to get the Price of the last OB Detected and to keep this price in your Alert History and may use it later. Some improvements will come in future with updates and we have already planned to add Alerts when a "Line Cross" gone occur.

If you notice any bugs or if you have any suggestions, don't be hateful gangs ;)
Happy trading everyone and remember, risk management is the most important!
Versionshinweise: -Minor fix.
Versionshinweise: -Updated tooltip.
Versionshinweise: -Added Upper Line for Bullish OB and Lower Line for Bearish OB. Represented in dotted line they allow to have more confirmation of trend recovery.
-Minor fix.
-Code Cleaning.
Versionshinweise: Uups, in the last update i forgot to mention theses additional lines are statics cause they are on a ratio factor of 25 and they are static to allow a better balance and more confirmations and information on OrderBlocks. I added a Input in settings to hide these additional lines if you want it. They are hidden by default.
Versionshinweise: -Code Cleaning.
-Well done.
Versionshinweise: -Removed "Additional Lines" and added Full OB Zones instead without static lines. So you can adjust the Volume Ratio and it will takes effect on these lines as well.
Versionshinweise: -Code Cleaning.
Versionshinweise: -Code Cleaning.
Versionshinweise: -Background Tyoe Setting has been changed to "Light" by default.
Versionshinweise: -Minor improvement.
Versionshinweise: -Code cleaning.
Versionshinweise: -Added PVT (Price-Volume-Trend) Trendline.
Versionshinweise: -Minor improvement.
Versionshinweise: -Removed PVT Trendline following request of many users cause it was not enough usefull and to let the chart more cleaner.
Versionshinweise: -Added possiblity to set lines on wick or not. Disabled by default.
Versionshinweise: ====== ! Huge Update ! ======

-Completely changed algorithm which now works by being based on Price Action and work much better than before. You still have the choice to use volumes in addition to Price Action. As a result, new settings and change are also appearing :

-You can use the indicator even where Volume Market Data is not available now!
-You can use any timeframe you want.
-Settings and Advanced Settings are separated in different sections now.
-Volume Ratio has been set on 6 by default since we do not using 0.618 Pivot anymore here.
-Engulfement Size is the Size in percentage to detect a Engulfement Candle.
-Pin Bar Tolerance corresponds to the percentage value of the Pin Bar to be considered.
-Pin Bar Wick Size corresponds to the Size of the Wick as a percentage.

If you encounter any bugs or have any suggestions, as usual, don't hesitate!
Versionshinweise: -Added 0.618 Pivot in equation for Volume with a workaround.
-Disabled "Full Zones" option by default.
-Minor improvement.
Versionshinweise: -Minor fix.
-Take a beer :)
Versionshinweise: -Minor improvements.
Versionshinweise: -Following the request of many users we're going back to the old algorithm. Like you want guys 🤷‍♂️
Versionshinweise: -Readjusted settings.
-Removed possibility to not highlight OB Candles cause this is an basis option from the indicator.
-Labels is Disabled by default.
Versionshinweise: -Labels is back again by default following the request of a user who suggest me to let Labels enabled by default cause this permit to better see OB when chart is unzoomed. I like the way you take care of report me idea and feeds; Thanks a lot!
Versionshinweise: -Added a "Offset" option with a gap of 6 candles by default which is the best setup to find OB. 0 Value = Disabled.
-Code Cleaning.
Versionshinweise: -Minor fix.
Versionshinweise: FINAL UPDATE OF THE WEEK

Versionshinweise: I know what you're thinking, what? Another update when yesterday I said it was the last of the week? Indeed ! But this is for the good of the community. When I launched the new version some people asked me to go back to the old one, which I did not really understand why since I know the new algorithm is better. But I finally understood why and that's why today there is this exclusive update. We have tried to simplify the settings as much as possible and to satisfy everyone. So we summarize:

-The new version no longer works with volumes but with Price Action (which will also allow you to be able to use the indicator where volume data is not available.
-Settings and Advanced Settings are separated in different sections now.
-Engulfement Size is the Size in percentage to detect a Engulfement Candle.
-Pin Bar Tolerance corresponds to the percentage value of the Pin Bar to be considered.
-Offset is how many candles must be counted to consider an OB as valid (5 by default).

Thanks again to everyone for your feedback and those who have followed me from the start know that I work hard to keep everyone happy.
Hoping that this update will satisfy the greatest number!

Versionshinweise: -Minor fix.
Versionshinweise: -Simplified Settings (more users friendly).
-Improved algorithm.
-Code cleaning.
Versionshinweise: -For those who liked the algorithm that worked with volumes, you now have the option to use it by selecting it from a scrolling menu in settings.
You can also choose to display Both at the same time (Price Action and Volume). Note that they are based on different calculations.
-Code cleaning.
Versionshinweise: -Minor improvement.
Versionshinweise: -Added "Classic" mode to "OB Detection type" (it has been set by default). This mode is based on engulfment only.
-Added possibility to choose maximum number of lines.
-Added "Offset" option again but i let it to 0 by default to less confusing for newbie.
-Revisions and code cleaning.
Versionshinweise: -"Classic" Detection Type has been merged with "Price Action" since engulfment is part of the Price Action logic and that let less confusing.
-Removed offset option since we don't need it anymore.
-Improved calculation.

-The indicator is now at his final stage. So much updates for a so small script... But I think it was worth it! 🍻
Versionshinweise: -Following the request of a user, "Use Wick?" option is back.
if you have any suggestions to improve it like usual, don't hesitate!
Versionshinweise: -Following the request of a user we released this minor update and we also took the opportunity to bring its small batch of surprises :
-Less transparency on the lines (before the transparency was set to 30 in the code).
-Added the possibility to change the style of the lines (Solid, Dotted, Dashed) and to adjust the size of these.
-Updated tooltips.
Versionshinweise: -Code cleaning.
Versionshinweise: -V1.5 :

-Added an option to display or not the price of the last levels (Enabled by default).

-Added an option to display the "OrderBooks" on the right section of the chart. Take into account that this is not the OrderBooks that we can consult
and access with level 2 but the closest approximation that we can make of it. The option is accompanied by a tooltip.
Many thanks to who gave me permission to reuse and implement his "Tape" script.

I invite you to consult the page of the original script if you wish to learn more. We have simplified the settings as much as possible (and left them by default voluntarily) so as not to numb the indicator completely with settings. The option is disabled by default.

Versionshinweise: Uups, just noticed the name of the author of the "Tape" script was not mentionned in the last update. Shame on me! This is Mister :)
Many thanks to him, again.
Versionshinweise: I see that the author's name is still not displayed, and I still maintain to specify that it is LucF. I think the name was not displayed because of the special characters around the nickname. My sincerely apologize for the inconvenience.
Versionshinweise: -V1.7 Changelog :

-Improved Price Action logic, we have now the best compromise between PA and Volumes. A big Thanks to Wugamlo for giving me his permission to re-use and implement his code for the "Price Action" part from his "Order Block Finder (Experimental)" script which you can find here: https://www.tradingview.com / script / R8g2YHdg-Order-Block-Finder-Experimental /.
-Unlocked some options for the OrderBooks part like "Text Size", "Volume Precision" and "Maximum Lines Displayed".
-Tooltips update.
-Code cleaning.
Versionshinweise: -Code cleaning.
Versionshinweise: -Minor improvement.
Versionshinweise: -Minor improvement.
Versionshinweise: -Added an option to choose Custom Colors for High and Low Zones.
Versionshinweise: -Minor improvements.
Versionshinweise: -Bug fix when Wick was disabled.
-Following request of a user, Volume Ratio has been added over/under Arrows Labels when "Volume" is selected in "OB Detection Type".
Versionshinweise: -TimeZone "step" has been change to 0.5 instead of 1 in OrderBooks settings.
-Added an option to enable or disable the "Volume Ratio" Above and Below Candles when "Volume" is selected in the "OB Detection Type" scrolling menu.
Versionshinweise: -Minor improvements.
Versionshinweise: -The option to display the volume ratio has been changed and now also allows the price to be displayed as a label when an OB is detected in Price Action. (The price actioh must be selected in the "OB Detetion Type" menu and the option "Show Price/Ratio Labels" must be checked naturally as well. The Tooltip has been updated as well.
Versionshinweise: -Added max_label_count in Study with an equal value to the max_bars_back.
-Minimum limit value for OrderBlock "Maximum Lines Displayed" has been set to 1.
-Code Cleaning.
Versionshinweise: -Code cleaning.
Versionshinweise: -Added "Extend Lines" option with his tooltip.
-Added option to adjust the transparency of "Extended Lines".
Versionshinweise: -Minor improvements.
Versionshinweise: -Added "Wick Percentage" option with his tooltip.
-Code cleaning.
Versionshinweise: -Added Tape Volume Threshold from the original option as requested by an user.
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


This is awesome, thank you! I've been doing this by hand!
100 Coins
+5 Antworten
@kgdana, Thanks you so much for your gratitude. I was doing this by hand too before haha that’s why I’ve made it. Thanks again!
I love it, that's all.
500 Coins
+3 Antworten
@TrunkFz, 500 coins! Damn it's too much. Thank you very much for that.
TrunkFz RickSimpson
@RickSimpson, I hope you can make a button that hides all the blocks in the past and the block was broken, so my chart can be looked clearer. Btw, if you have time, I hope you could make it has higher timeframe order blocks. (H1, H4, D1, W1, M1)
@TrunkFz, the fact is we don’t want to erase paste line since they still can act as a S/R (and also to know where OB was in the past and know if it has been broken or not, if it the case it became less important especially with time but we need that information this is part of the OB theory (I would even say this is the basis cause we have to look at this lines for potentiel Price recovery in the future. Concerning the HTF since beginning of this project is not planned to implement it. Better to look with a click another TF for this one. Thanks for your suggestions
@TrunkFz, However, i forgot to mention the minimum line number is lock on 10. I can unlock this value until 1 if you want cause this option concern only past lines.
Great stuff. Easy to follow. Thanks!
100 Coins
+1 Antworten
@dpming, Thanks you 🙏
Fantastic work! Would it possible to improve it further by drawing levels from multiple timeframes? Ie. Levels from 10m 30m 1h 2h 4h on 30m chart?
500 Coins