e2e4mfck

[e2] Absolute Retracement

Absolute Retracement is a tool to obtain support and resistance levels.
It is designed for macro-level support and resistance and should be used on daily, weekly or monthly timeframes.


Instructions
1. Define the Reference Point

There are 4 methods to define reference point and start initialization of the script:
 - All Time Low / All Time High : The script is looking for the lowest low / highest high on entire history
 - Manual Low / Manual High : The user should define the reference point manually using the Previous Reference Point option

IMPORTANT NOTE: The correct reference point is:
 - the level at which prices have not exceeded during past 12-18 months
 - the All Time High / Low level

2. Level Calculation
There are 3 methods of level calculation for All Time Low and Manual Low modes (Fibonacci, Tribonacci,Tetranacci Sequence Calculator)
 - Fibonacci  sequence with the initialization numbers: {1, 1.61803 (Fibonacci Constant)}
 - Tribonacci sequence with the initialization numbers: {0, 1, 1.83929 (Tribonacci Constant)}
 - Tetranacci sequence with the initialization numbers: {0, 0, 1, 1.92756 (Tetranacci Constant)} 

The All Time High and Manual High modes use the Fibonacci Retracement logic and calculates 7 levels derived from the Fibonacci Constant (Golden ratio - 1.61803) (Fibonacci slicer)

3. Visualization
 - Different gradient modes (Color Gradient Function)
 - Option to show the Sequence Details (Sequence's name and number, factor)
 - Option to change the Sequence's level color (white, black, gradient) and turn off the label background
 - Move the reference point's label to the latest bar

All Time Low and Manual Low examples:

All Time High examples:

Disclaimer
The DeMark Indicators® are a collection of registered trademarks protected by U.S. trademark law. They all belong to Market Studies, LCC .
This study makes no commercial use of the trademarks. This script is for educational use and the implementation of DeMark Indicators© concepts (such as TD Absolute Retracement) is based on my interpretation from the books “The New Science of Technical Analysis” and “DeMark on Day-Trading Options” by Tom Demark .
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
Pisces swimming through the river
All their life against the stream
Searching for a hook to catch on
And see their sun beam
Then suffocate in painful tortures
On cutting tables of callous men
Under a knife of handsome butchers
Emeralds are ripped away

Bình luận

Hi, excellent work e2! I applied it to the weekly of EURUSD and it flattens the price, so it looks like the scaling is not right. Tried resetting the chart, and it does not resolve it. Any ideas? Again, thank you, reviewing your code is helpful to me in learning what can be done in version 4 of pinescript.
+1 Phản hồi
e2e4mfck dgmtrader
@dgmtrader, Hi, thx! This tool is not supposed to be applied on "oscillating" assets like currencies, it was designed for stocks and indices.
Phản hồi
dgmtrader e2e4mfck
@e2e4mfck, makes sense, thanks again!
+1 Phản hồi
can we work together to build a fibonacci time retracment?
+1 Phản hồi
e2e4mfck Time_Oracle
@Time_Oracle, Feel free to dm me with your offer ;)
Phản hồi
why is my candle not show up when i use this indicator ? @e2e4mfck
Phản hồi
e2e4mfck fernandowidjaja1997
@fernandowidjaja1997, Don't understand why candles are not showing up, but try to scale to the higher timeframes - Monthly, Yearly..
Phản hồi
can't get a proper resolution ... what settings should i change ?
Phản hồi
e2e4mfck darkbeacon
@darkbeacon, This is a tool for long term analysis. Scale from Higher timeframes to lower ones - start with Yearly, then Monthly etc. Note that the reference point should be visible on your screen, in that case the pine will properly draw the lines.
Phản hồi
This publication will be featured in our "Best Scripts of The Month" selection. Thank you for your valuable contribution to the TradingView community, and congrats!
+3 Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất