OPEN-SOURCE SCRIPT
Wick-off Check Moving Average [Misu]

█ This Indicator shows a wick-off check pattern applied to a moving average.
This pattern appears when a candle opens below the moving average and closes above it, or when it opens above a moving average and closes below it. This causes a wick to go through the moving average: a wick-off check moving average.
█ Usages:
This indicator detects small pullbacks in a trend. This is mainly used for trading continuation strategies.
It can also be used to validate a resistance or support level .
█ Features:
> Average Wick Validation: You can validate a wick-off check pattern depending on the average wick size. This is configured with parameters "Lenght Avg Wick Validation" and "Factor Wick Validation".
> Trend Validation: A trend is taken into account when detecting a "continuation pattern". A trend is validated if X candles close above (up trend) or under (down trend) the moving average. This "X" is defined by "Length Bar - Trend Validation" parameter.
> Buy and Sell: Labels are showing wick-of check patterns but can be interpreted as a buy & sell signal.
> Multi Moving Average.
> Alerts.
█ Parameters:
Method Multi MA: The method for calculating the moving average.
Multi MA Length: The length used to calculate the moving average.
Length Bar - Trend Validation: Define the number of bar needed to validate a trend. When price is above the MA, trend is up. When price is under MA, trend is down.
Wickoff Mode: Mode used to detect Wickoff check pattern.
> continuation pattern: only shows wick-off check pattern in a confirmed trend.
> no trend in progress: only shows wick-off check pattern in a not confirmed trend.
> both: shows both.
Lenght Avg Wick Validation: Lenght used to calculate the average wick size.
Factor Wick Validation: Factor used to validate the length of a wick when a wick-off check is detected.
This pattern appears when a candle opens below the moving average and closes above it, or when it opens above a moving average and closes below it. This causes a wick to go through the moving average: a wick-off check moving average.
█ Usages:
This indicator detects small pullbacks in a trend. This is mainly used for trading continuation strategies.
It can also be used to validate a resistance or support level .
█ Features:
> Average Wick Validation: You can validate a wick-off check pattern depending on the average wick size. This is configured with parameters "Lenght Avg Wick Validation" and "Factor Wick Validation".
> Trend Validation: A trend is taken into account when detecting a "continuation pattern". A trend is validated if X candles close above (up trend) or under (down trend) the moving average. This "X" is defined by "Length Bar - Trend Validation" parameter.
> Buy and Sell: Labels are showing wick-of check patterns but can be interpreted as a buy & sell signal.
> Multi Moving Average.
> Alerts.
█ Parameters:
Method Multi MA: The method for calculating the moving average.
Multi MA Length: The length used to calculate the moving average.
Length Bar - Trend Validation: Define the number of bar needed to validate a trend. When price is above the MA, trend is up. When price is under MA, trend is down.
Wickoff Mode: Mode used to detect Wickoff check pattern.
> continuation pattern: only shows wick-off check pattern in a confirmed trend.
> no trend in progress: only shows wick-off check pattern in a not confirmed trend.
> both: shows both.
Lenght Avg Wick Validation: Lenght used to calculate the average wick size.
Factor Wick Validation: Factor used to validate the length of a wick when a wick-off check is detected.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.