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.
█ HOW TO INTERPRET?
• 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!
█ ALERTS
• 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!
-Minor fix.
-Code Cleaning.
-Well done.
-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!
-Cheers
-Disabled "Full Zones" option by default.
-Minor improvement.
-Take a beer :)
-Removed possibility to not highlight OB Candles cause this is an basis option from the indicator.
-Labels is Disabled by default.
-Code Cleaning.
-Done.
-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!
Cheers
-Improved algorithm.
-Code cleaning.
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.
-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.
-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! 🍻
if you have any suggestions to improve it like usual, don't hesitate!
-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.
-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 [LucF] who gave me permission to reuse and implement his "Tape" script.
![Tape [LucF]](https://s3.tradingview.com/8/8mVFTxPg_mid.png)
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.
-Cheers
Many thanks to him, again.
-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: 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.
-Following request of a user, Volume Ratio has been added over/under Arrows Labels when "Volume" is selected in "OB Detection Type".
-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.
-Minimum limit value for OrderBlock "Maximum Lines Displayed" has been set to 1.
-Code Cleaning.
-Added option to adjust the transparency of "Extended Lines".
-Code cleaning.
-"Extended Lines" option is now activated by default.
-"Extented Lines Transparency" is now set to 0 by default.
-Minor improvements.
-Minor improvements.
-OrderBooks from LucF has been removed too.
-Lines since Candles Average is now possible.
-To all people who's still doesn't understand the logic behind this indicator, a full tutorial will come on my Youtube Channel soon. (or in meantime you can search for the work of Michael j. Huddleston ;))
-Tooltips has been updated.
-Updated Tooltip.
-Minor improvements.
-Updated tooltip.
-Added "Highest Volume Lines" option with his tooltip.
-A lot of improvement.
-Code cleaning.
-Changed "High Zone" Color to Green and "Low Zone" to Red.
-Code cleaning.
-Added an powerful "Accumulation/Distribution" optional lines option with instant alert (if the option is checked in settings menu). This can be helpful to find Reversal or Continuity Trend.
-Code cleaning.
-A category 'Alerts Setup' has been added in the settings in which you have the possibility to select the Alerts that you want to enable or not. (You must do this before placing the alert).
-An Alert option has been added for when the Top/Bottom Retracement Line has been crossed.
-Minors changes.
-Code cleaning.
With this update we have changed the offset to 2 candles to have alerts more quickly with increasing a lil bit the percentage move to filter lines.
-Removed 'Bar Time' option cause TV already have an built-in option for that.
License: The license has been changed from Mozilla Public License 2.0 to Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
Input Parameters
Several new input parameters have been added, and some have been renamed or changed for clearer functionality. Notably, the addition of i_swinglen, i_bullob_css, i_bearob_css, i_sr, i_sr_lb, i_layout, i_max_line, i_inv_css, i_usebody, i_line_width, i_line_style, and i_extend.
Style and Color
The options for line styles and colors are now more flexible, allowing for increased customization.
Added Features
Swing Detection: A new feature for identifying swings has been introduced, allowing for more accurate detection of institutional order blocks based on the swing length specified by the user.
Support and Resistance: The management of support and resistance lines has been expanded, with options to display or hide these lines and the corresponding price levels.
Line Style: Users can now choose the line style (solid, dashed, or dotted) for the support and resistance lines.
Optimizations and Fixes
Performance: The efficiency of the script has been improved through optimized use of functions and variables.
Code Clarity: The code has been reorganized for better readability and understanding, with clearer comments and an improved logical structure.
User Interface Modifications
Interface Customization: Input parameters have been more intuitively grouped, and new customization options have been added for end-users.
Alerts
Alert Conditions: The conditions for triggering alerts have been refined, offering greater precision for notifications related to institutional order blocks.
Market Limitations and Efficiency
Market Specificity: The script is now more effective than before but is designed to work optimally on specific markets. Users may find that it does not perform equally well across all market types, necessitating adjustments or customization for best results on certain assets.
We are pleased to announce that our IOBP script has been optimized for peak performance across all financial markets. This update ensures universal adaptability and efficiency, enhancing its utility for all traders.
-Added 'Length' to control the number of bars to the left and right of a pivot point for it to be considered a high/low.
-Added 'Use Volume Pivots' input.
-Code cleaning.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
E-mail: support@ricksimpsontrading.com
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
E-mail: support@ricksimpsontrading.com