HTF & Pivot Liquidity Levels

646
Overview
HTF & Pivot Liquidity Levels script is a simple but a sophisticated under the hood idea to attempt to visualize important price levels which are to be targeted by the so called "market makers".

At its core the script is a multi-timeframe liquidity mapping tool designed to identify, combine, and track unmitigated liquidity across higher-timeframe swing points, eg. previous day, weekly or monthly highs & lows, 4H or 1H highs & lows or any pivots in between, as defined by user inputs.

For convenience and asthetics instead of displaying every liquidity source independently, the indicator organizes multiple liquidity pivots into one unified level: when several liquidity sources resolve to the same price, they are merged into a single level for which the highest level marking is used, so you always see the highest unmitigated levels at given price point.

Once the price trades through the level, the purged price is marked and kept on the chart for user-defined period of time (eg. 10 mins) after which the purged marking is removed from the chart for good.

To avoid drawing too many lines on the chart and thus obscuring the chart, the script represents each level as a marker line positioned on the right side of the chart. Only when the price is in proximity of the level, the marker line is extended left to its origin so a clear view of the pivot and price level is visible.

To avoid label cluttering the chart, each marked level is represented by a different color and width of the marker, thus making it visually easy to distinguish the levels.

To make the nearest levels stand out, they are drawn using wider lines (Glow effect), which can be adjusted on turned off completely.

When a level is purged the script can display time countdown until the purged level is removed from the chart (due to pine limitation this works accurately only on 1m chart).

Script SETTINGS:
- Timeframe level decoration: set timeframe, colors and line width
- Clear Purged After (mins) and its decoration - how long should the purged level stay on the chart for
- Chart Pivots - enable pivots that are not HTF pivots defined above, useful on lower timeframes
- Pivots Bars Left / Right - how many bars are used for pivot finding
- Clear Purged Pivots After (Bars) - applies only to chart pivots (not HTF pivots)
- Active Level Marker Location - left and right coordinates of the levels on the chart
- Marker Offset for Purged Levels - left offset used when a level is purged
- Countdown Timer - enable coundtdown timer which displays remaining time until purged lvel is removed from the chart
- Hide Above - hide the timer above certain timeframe (timer works accurately only on 1 min timeframe)
- Enable HTF Stacking - combine levels which sit on the same price (highest level is prioritized)
- Extend Marker Line in Proximity - extend the level to the left (origin) when price is in proximity
- Mode - use Fixed Points mode (indices only) or asset independent ATR based
- ATR length, Multiplier - define ATR conditions for proximity calculation
- Auto - use pre-programmed ATR values which are timeframe dependant
- Indices Proximity Distance (fixed points) - used only for indices, eg. NQ, ES
- Proximity Line Ends at bar - define right coordinate for level line which is drawn when the price is in proximity of a given level
- Glow Effect - enable and define visuals for glowing line level effect on price proximity
- Show Pivot Dots - show chart pivots for given number of bars

-----------------
Disclaimer

The content provided in this script is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.