General Changes
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.