TradingView
vlnel
31 Th12 2019 01:35

Classic_Levels 

Bitcoin / DollarBitfinex

Mô tả

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.

Phát hành các Ghi chú

Little changes in comments and variable names.

Phát hành các Ghi chú

Some internal coefficients changed.

Phát hành các Ghi chú

***

Phát hành các Ghi chú

Little corrections to the algorithm.

Phát hành các Ghi chú

Increased performance.

Phát hành các Ghi chú

Function was removed.

Phát hành các Ghi chú

Array used.

Phát hành các Ghi chú

Algorithm slightly changed, performance improved.
Bình luận
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.
Thêm nữa