foosmoo

Plot the close-spread relationship between two price series

foosmoo 업데이트됨   
This indicator plots the close-spread relationship between two price series by calculating the change across two price series as a spread for each. Each spread is the rate of change in yesterday's closing price and the prior day's closing price. By default, weekend prices are defined to be 0.0 but can be included as user-definable input, if required.

User input:
  • Symbol for price series 1 - defaults to BITFINEX:BTCUSD
  • Symbol for price series 2 - defaults to NASDAQ:NDX
  • Market session time (string) - defaults to 00:00 to 23:59
  • Timezone - defaults to UTC-4
릴리즈 노트:
Changes as follows:
  • Added vertical bars (default of gray) to visual show weekend/out of session times
  • Changed user-input for session times to use input.session
  • Removed user-input option for “include out of session data” - to the nature of session handling and determining of a bar is within market hours is dependent on the market that the main chart is plotting. For example, bars for equity markets are not provided if they fall outside of market hours, so the option is meaningless in this context.
  • The reference ticker can be specified by the user. Defaults to NDX. The 2nd ticker plot is linked to the main chart ticker.
릴리즈 노트:
Changes as follows:
  • Changed plot of closing price spread for main asset and comparison asset to be a bar chart
  • Added assertion pass/fail rates as a label in the top right
  • Added configurable look-back. Defaults to all prices in the series (-1) but can be changed in the config panel.

Indicator works best with BTC as the main chart series and NDX (or other market) as the comparison series
오픈 소스 스크립트

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

면책사항

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

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