PROTECTED SOURCE SCRIPT

HMA PLANz

103
1. High Liquidity Candle Detection:
The indicator looks for candles with high liquidity (identified by comparing the current candle's volume with the highest volume of the last 10 candles).

If a candle has high liquidity, it is highlighted in yellow.

2. Midpoint Calculation of the Candle:
The midpoint of the candle is calculated by averaging the High and Low prices of the candle:

Midpoint
=
High
+
Low
2
Midpoint=
2
High+Low


3. Draw a Line at the Midpoint of the High Liquidity Candle:
A horizontal line is drawn at the calculated midpoint value of the high liquidity candle and continues for the next five candles.

4. Change Line Color Based on Price vs. Midpoint:
If the current price is above the midpoint, the line is drawn in green.

If the current price is below the midpoint, the line is drawn in red.

5. Moving Averages (MA):
In addition to liquidity analysis, the indicator calculates and plots two moving averages on the chart.

Users can choose between EMA, SMA, WMA, or HMA for each moving average.

Users can also select the source for the moving averages (Close, High, Low).

The length for each moving average is customizable.

6. Display Moving Averages with Labels:
The moving average lines are plotted on the chart.

Labels are displayed above each moving average to show its type and source (e.g., "MA - HMA (Close)").

Summary of Key Features:
High Liquidity Candle Detection: Highlighted in yellow.

Draw a Horizontal Line at the Midpoint of the high liquidity candle: The line color changes based on price relation to the midpoint.

Moving Averages: Allows customization of types and lengths.

Labels: Shows details of the moving averages.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。