OPEN-SOURCE SCRIPT
업데이트됨 Mansfield Long-Range Background

Mansfield Long-Range Background. From Stan Weinstein's book.
This plots the high-low range for the last N years, including the current year.
It gives us an idea of any long-term resistance or support in play, which may affect how a trend behaves.
Note that one could just as easily check the yearly chart to get what this is showing, but it's convenient to have a template with all the elements required to emulate a Mansfield chart.
This plots the high-low range for the last N years, including the current year.
It gives us an idea of any long-term resistance or support in play, which may affect how a trend behaves.
Note that one could just as easily check the yearly chart to get what this is showing, but it's convenient to have a template with all the elements required to emulate a Mansfield chart.
릴리즈 노트
Bug fix: in our main weekly use case, Pine could not determine the no. of historical bars required.And thus this long-range indicator really is meant for weekly charts effectively, with around 10 years of data.
릴리즈 노트
- Fix bug where we were missing bars in the weekly, and possibly showing things in reverse!
- Fix bug where there were fewer years than the lookback period configured, now it's min of lookback and available years.
- Explicitly error out if the indicator is on any non-weekly and non-yearly charts.
- Replace year labels with triangle-ups/downs, and a tooltip which shows the year, for visual compactness.
릴리즈 노트
- Simplify code in parts
- Better logic for displaying year labels, with adjustable vertical spacing.
- Arrays only filled up to required lookback period at the most, now.
릴리즈 노트
- Still some weird bug in yearly display, when it should be one to one with the candles.
- Remove use of yearly timeframes, simply sticking to the weekly timeframe, the main use case, where it works as expected.
릴리즈 노트
Clarify Lookback Period title text to be more specific. Update chart!오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.