TradingView
vlnel
Dec 31, 2019 1:35 AM

Classic_Levels 

Bitcoin / DollarBitfinex

Description

Displays horizontal lines that represent support and resistance levels.
You can use it with any symbol and on any timeframe.
Parameter 'Time range' means number of candles in consideration. The beginning of the range is marked with a little violet circle.
The more 'Sensitivity' is, the more levels are displayed.

Release Notes

Little changes in comments and variable names.

Release Notes

Some internal coefficients changed.

Release Notes

***

Release Notes

Little corrections to the algorithm.

Release Notes

Increased performance.

Release Notes

Function was removed.

Release Notes

Array used.

Release Notes

Algorithm slightly changed, performance improved.
Comments
AltJams
This looks great, thanks for sharing
Food_Plus
Thanks for this script... do you know why I get this error?
Error on bar 2245: In function 'array.get()'.
Index 424 is out of range, array size is 301.
marcomania
@vlnel Thanks man. I would like to use your indicator with the DAX Future. What I would like to see is that, at every new day open, the algo draws the relevant set of past levels (previous D highs and lows to be shown on lower TFs) that are between certain boundaries (say 1.5 ADR? ), above and below the opening price of the day (close of the previous day also would work). This way, your indicator can be used to backtest the quality of the levels drawn and to cross-check whether/how other indicators have reacted/behaved at those levels.
Would you consider further develop the indicator with these specifics?
Thanks in advance for this and thanks also for the great work already done.
Ciao!
informanerd
Excellent work, but shows error "Loop takes too long to execute (> 200 ms)" very often. Any chance to resolve this?
vlnel
@informanerd, Thank you for your feedback, I have just published an improved version. You may take it a try.
Noldo
Wow ! Thanks for your efforts.
schianetta22
I'm new to trading view. Can someone explain if this is an actually script that I can upload? Thank you in advance.
schianetta22
@schianetta22, Okay I uploaded it to Pine Editor but how do I activate it.
Noldo
@schianetta22, hi you must first press add favorites button , press indicators and choose inside favorites after you loaded your chart.
bilco_10
Wow... superhelful.
More