Lemrin

Automatic Support, Resistance, Fibonacci Levels

Lemrin 업데이트됨   
This indicator plots absolute high and low values for up to five completely adjustable time periods (in months, weeks, days, hours, minutes) and optionally calculates the Fibonacci levels on the pair of absolutes of your choice, ascending or descending, and mimics the shading available in the built-in Fib charting tools (e.g. retracement).

Here are a few screenshots of the same chart with various options selected.

3-Month, 4-Week, and 5-Day absolutes with 3-Monthly Fib plotted:

The same chart with 4-Weekly Fib:

The same chart with 5-Daily Fib:


5-Day, 12-Hour, 90-Minute absolutes with 12-Hourly Fib:

Zoomed in, on a 30-minute interval, with 90-minute Fib:

With descending ("inverted") 90-minute Fib:

I started putting this together for Vazzyb, who was looking for a way to automate plotting horizontal support and resistance levels for monthly, weekly, and daily extremes, and then I added additional features as they occurred to me. Special thanks to Paaax, who suggested I add Fib levels.

I am leaving the code open, so you may feel free to grab snippets you like and use them for your own purposes. Of particular interest may be my custom "calc_fib()" function, which accepts any series pair, as well as a Boolean indicating whether to invert, and returns an array with each of the major Fibonacci levels: .

If anyone likes this enough to feel generous, please feel free:
BTC
3KmFchJ18QvMzAJKDcFQXvyK9p1EHWQdhP
BCH
qqtrw64ptuwprk5vtj3z8qwkvh3v0jawxq7khqng7x
ETH
0x9b51361A278910Ba3945C7519C9f0FA8a77df18d
LTC
MDeWWsP7XCG2zQuZ2dYALZXQ52u2qkc8fh

P.S. If you want the time lengths to be as close to accurate as possible, don't forget to change the number of days per week when using for cryptocurrency!
릴리즈 노트:
Added the option to hold monthly, weekly, and daily S/R levels constant throughout each day, changing only at the start of each new trading session, by request.
Added the option to turn all lines gray...as a bonus.
Remember, Fibonacci levels can be turned off by selecting "None."
릴리즈 노트:
Removed all-grey option; added configurable zigzag indicator. Note that the TV built-in zigzag will usually be better, since that indicator redraws its past--something that a script cannot do. Depth and sensitivity are options, though.
릴리즈 노트:
Made more sensible color choices; added option to connect support/resist lines with a line and disabled this option by default; enabled "Keep Lines Straight All Day" by default; set default zigzag depth to 50.

Example of 1-week (red), 2-day (blue) levels plotted with no Fib:
릴리즈 노트:
Fixed an error in the zigzag logic. Shown in the preview image alongside my Support/Resistance (Daily Bars) indicator.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?