OPEN-SOURCE SCRIPT

Average Daily Range (ADR) (Multi Timeframe, Multi Period)

Cập nhật
Average Daily Range (ADR)
(Multi Timeframe, Multi Period, Extended Levels)

Tips
• Narrow Zones are an indication of breakouts. It can be a very tight range as well.
• Wider Zones can be Sideways or Volatile.

What is this Indicator?
• This is Average Daily Range (ADR) Zones or Pivots.
• This have Multi Timeframe, Multi Period (Up to 3 Levels) and Extended Target Levels.

Advantages of this Indicator
• This is a Leading indicator, not Dynamic or Repaint.
• Helps to identify the reversal points.
• The levels are more accurate and not like the old formulas.
• Can practically follow the Buy Low and Sell High principle.
• Helps to keep minimum Stop Loss.

Who to use?
• Highly beneficial for Day Traders
• It can be used for Swing and Positions as well.

What timeframe to use?
• Any timeframe.

When to use?
• Any market conditions.

How to use?
Entry
• Long entry when the Price reach at or closer to the Green Support zone.
• Long entry when the Price retrace to the Red Resistance zone.
• Short entry when the Price reach at or closer to the Red Resistance zone.
• Short entry when the Price retrace to the Green Support zone.
• Long or Short at the Pivot line.

Exit
• Use past ADR levels as targets.
• Or use the Target levels in the indicator for breakouts.
• Use the Pivot line as target.
• Use Support or Resistance Zones as targets in reversal method.

What are the Lines?

Gray Line:
• It the day Open or can be considered as Pivot.

Red & Green ADR Zones:
• Red Zone is Resistance.
• Green Zone is Support.
• Mostly price can reverse from this Zones.
• Multiple Red and Green Lines forms a Zone.
• These lines are average levels of past days which helps to figure out the maximum and minimum price range that can be moved in that day.
• The default number of days are 5, 7 and 14. This can be customized.

Red & Green Target Lines:
• These are Target levels.

What are the Labels?
• First Number: Price of that level.
• Numbers in (): Percentage change and Change of price from LTP (Last Traded Price) to that Level.

General Tips
• It is good if Stock trend is same as that of the Index trend.
• Lots of indicators creates lots of confusion.
• Keep the chart simple and clean.
• Buy Low and Sell High.
• Master averages or 50%.
Phát hành các Ghi chú
Updated on 3 Sep 2022
  • Added multiple timeframe levels.
Phát hành các Ghi chú
Average Daily Range (ADR) (Multi Timeframe, Multi Period)
Updated on 2 Sept 2023:

Code Cleanup: The code is cleaned and optimized for better performance and readability.

ADR Table: Added a table displaying ADR percentage and points, helping you identify price range status:
  • Green Text: Price has crossed above ADR.
  • Red Text: Price is below ADR.
  • White Text: Price is within ADR.


Moving Averages: We've added up to five levels of moving averages for enhanced trading analysis.

To return to the previous version:
1. Add the indicator to your chart.
2. Click the '{}' (Source code) button.
3. In Pine Editor, set 'Select revision' to '4.0'.
4. Click 'Add to chart' to restore the previous version.

Feel free to reach out with feedback or issues.
Phát hành các Ghi chú
Update 13 September 2023:

  • Extra Level Multipliers: Added extra level multipliers which can act as support, resistance and targets levels.
  • Color and Line Style Changes: Revamped the colors and line styles to make it easier to distinguish different levels.
  • Multitimeframe Moving Averages: Added three multi timeframe moving averages, allowing you to analyze market trends across different timeframes for better decision-making.
Phát hành các Ghi chú
Update 13 September 2023:

  • Extra Level Multipliers: Added extra level multipliers which can act as support, resistance and targets levels.
  • Color and Line Style Changes: Revamped the colors and line styles to make it easier to distinguish different levels.
  • Multitimeframe Moving Averages: Added three multi timeframe moving averages, allowing you to analyze market trends across different timeframes for better decision-making.
Phát hành các Ghi chú
Update - October 25, 2023

  • Improved multiplier values for accuracy.
  • Enhanced customization options.
  • Display 3 different timeframes.
  • Levels extend to the day end.
  • Show ADR or 2-length as a zone.
  • Code optimized for cleanliness and speed.
  • Streamlined user interface for simplicity.
Phát hành các Ghi chú
Update - October 26, 2023
  • Minor typo corrections.
Phát hành các Ghi chú
Update - October 26, 2023
  • Minor typo corrections.
Phát hành các Ghi chú
Updated on 23 Sept 2023

  • Added historical plots for comprehensive visualization.
  • Reverted to previous multiplier values for better accuracy.
  • Modified the table to display when price is near a particular level.
  • Integration of a screener formula for efficient screening.
  • Improved code speed for faster performance.
  • Enhanced code readability for easier understanding.
Accumulation / Distribution Line (ADL)ADRaverageaveragedailyrangeaveragedayrangeBANKNIFTYNIFTYpivotPivot PointsreversalpointsupportandresistaceSupport and Resistance

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