OPEN-SOURCE SCRIPT

Abnormal value check

1. indicator settings
BB Length: Sets the period used for the Bollinger Band calculation. The default is 20 periods.
BB Multiplier: Sets the multiplier to be used in the Bollinger Band calculation. The default is 2.5 multiplier.
Equilibrium volume reset: Selects whether or not the volume should be reset if it is out of equilibrium. The default setting is reset. 2.
2. bollinger band calculation
This indicator calculates Bollinger Bands (upper and lower bands and a reference line) from price and volume data.
Bollinger Bands are indicators used to measure price and volume volatility and are identified as anomalies when prices break through the bands.
3. display of abnormal prices
Abnormal Buying Price (ABP): The background color changes when the price significantly exceeds the upper limit of the Bollinger Band. The color is green.
Abnormal Selling Price (ASP): The background color changes when the price is significantly below the lower limit of the Bollinger Band. The color is red.
Abnormal High Volume (AHV): The background color changes when the volume is significantly above the upper Bollinger Band. The color is white.
Abnormal Low Volume (ALV): The background color changes when the volume is significantly below the lower limit of the Bollinger Band. The color is yellow. 4.
4. display of signals
Abnormal Price Signal: A triangle signal is displayed when the price rises or falls compared to the previous data. The color is orange for an increase and purple for a decrease.
Volume Abnormal Signal: A triangle signal is displayed when volume is up or down compared to the previous data. Rises are colored orange and falls are colored purple. 5.
5. price and volume history display
RSAB_P: Displays price anomaly history. Rising prices are displayed in green, and falling prices in red.
RSAB_V: Displays the volume anomaly history. Green indicates an increase and red indicates a decrease. 6.
6. display of equilibrium
PPE: Displays a line indicating the state of volume balance. A positive volume balance is displayed in orange, and a negative volume balance is displayed in purple.
Summary of usage
Add indicator to chart: Add this Pine Script™ code as an indicator in TradingView.
Set parameters: Based on the settings above, adjust the values to suit your trading strategy and analysis.
See signals and color changes on the chart: Visually identify price and volume anomalies to help you make trading decisions.
This indicator uses Bollinger Bands to identify abnormal price and volume movements to help you improve your trading timing and strategies.
Bands and ChannelsVolume

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm