RickSimpson

Expected Liquidity

RickSimpson 已更新   
Simple but effective script that displays Liquidity Premium/Discount areas in an adaptive way based on key Fibonacci levels.
You can increase or decrease the 'Period' value in the Settings to adjust the gap between the lines as you see fit.
By default the value is '46' which should suit most markets.

-The script contains Alerts which are triggered when a liquidity line is crossed by the price.

Good trading to all and don't forget, risk management remains the most important!
版本注释:
-Alerts has been removed cause they are not useful for this script
版本注释:
-Added some style options
-Logic revision
-Minor improvements
版本注释:
-Code cleaning
版本注释:
-Minor update
版本注释:
-Default 'Period' option value has been set to 25 by default
版本注释:
New Features:

Auto Period Selection: Added an option to automatically adjust the period based
on the current timeframe for optimal liquidity analysis. This feature aims to enhance user experience by reducing manual adjustments when changing timeframes or markets.

Higher Timeframe Analysis: Integrated functionality to analyze and display
liquidity levels from a higher timeframe on the current chart. This cross-timeframe analysis helps users identify broader market trends and potential liquidity zones more effectively.

Enhancements:

Tooltip Additions: Comprehensive tooltips have been added to all input options
to provide users with clear, concise explanations, making the tool more accessible
to both novice and experienced traders.

Code Structure and Readability: The entire script has been restructured for better readability and maintainability. Spaces and grouping have been optimized to make
the code easier to navigate and understand.

Input Options Grouping: Inputs are now logically grouped into categories
like "Period Settings", "Colors Settings", and "Styles Settings", improving the user
interface and the customization process.

Technical Improvements:

Dynamic Period Calculation: The logic for auto-selecting the period has been
refined to better match the liquidity analysis with the chart's timeframe, enhancing the indicator's accuracy.

Color Transparency for Higher Timeframe Data: Lines drawn based on
higher timeframe data are now displayed with semi-transparency, distinguishing them
from the current timeframe's data for better visual differentiation.

Optimized Fibonacci Level Calculations: The calculation of Fibonacci levels
has been streamlined, and the logic for determining premium and discount liquidity levels
has been improved for greater precision.

Bug Fixes and Optimizations:

Line Extension Logic: Revised the extension logic of the liquidity level lines to ensure
they extend in the correct direction as specified by the user, eliminating previous inconsistencies.

Fractal Detection and Line Drawing: Enhanced the detection of fractals and
the conditions under which liquidity lines are drawn or updated, increasing the reliability
and performance of the indicator.

Summary

This update introduces significant enhancements to the "Expected Liquidity" indicator, focusing on user experience, analytical depth, and visual clarity. With the addition of auto period selection and higher timeframe analysis, alongside improvements in code structure
and readability, the indicator is now more versatile and user-friendly.
Tooltips and input grouping further aid in making the tool accessible to a wider range
of users, from beginners to advanced traders. These changes are designed to provide
users with a more powerful tool for identifying liquidity levels across different timeframes
and markets.
版本注释:
-Code cleaning
版本注释:
-Code cleaning
版本注释:
-Minor improvement
版本注释:
-Code cleaning
版本注释:
-Code cleaning
版本注释:
-Code cleaning
版本注释:
-Minor fix

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?