If price is between two levels on the update the lines shift
Yearly shown on 1m - Daily timeframes
recalculate on every day
show on 1m - 60m timeframes
recalculate every hour
show on 1m - 15m timeframes
recalculate every 30m
There is a lot of code but it got the job done.
It would easy to interchange if you prefer different types of
It would be easy to add an on/off if you dont want so many levels on your smaller time frames
If anyone can streamline it please do
A huge shoutout goes out to Quant Nomad and HPotter for the different pieces that helped me bring this together.
I few notes I wanted to add. This tool is built to be used along your standard fibonacci pivot points to find pivot point confluences from higher timeframes
It is not to user friendly being that I do not have many changeable inputs but code should be relatively easy to change at will
- The 15 minute chart now shows all of the S/R (Yearly, Monthly, and Weekly)
- The labeling for 1H chart line is cleaned up
- The changes now correctly occur across all trading instruments
Issue: speed to compile - resolved
Added choice between dashed or solid line
Much simpler code
Levels have been renamed and tagged to stay in line with the normal R1/S1 - R3/S3 markers from the TV indicator
Color input has been added
Bug Fixed: None intraday showed label but not the line, that bug is now corrected
This will most likely be the last iteration unless there are design requests.
The code for the placement of the labels has been cleaned up
The repainting issue has been taken care of
A lot of the patch code for irregular line placements have been removed due to changes TV made to pine script itself
Color inputs for the support/resistance lines have been added
please leave a comment if you have any issues
Also a gentle reminder that this is most effective when used in conjunction with the Standard Fibonacci Pivot Point Indicator as a confluence tool in trend, swing, and/or scalp trading.
Feel free to use TV version or my more dynamic one which includes the mid and extended fib levels that are accented by the dashed lines...the script can be found here.
Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.