okadoke

Weekly Sentiment Analysis

okadoke 업데이트됨   
This script plots weekly scores derived from sentiment analysis and computes some stats on the history.
While this can be viewed on any timeframe, the stats are best viewed on the Daily timeframe, weekly and intraday charts produce some discrepancies.

Columns show the weekly score. If the column is blue, the high/low of that candle surpassed the target price.
White bars in the columns show the % change from the open price to the high of that candle.
Horizontal line shows the % above the weekly open that must be reached for a win.

The display after the most recent week shows stats across all weeks.
Skips is the percent of weeks that were skipped because they didn't meet the score threshold
Total Wins is the number of wins divided by the number of non-skipped weeks
Long Wins is the number of long wins divided by the number of non-skipped weeks
Short Wins is the number of short wins divided by the number of non-skipped weeks
Best Move is the number of weeks where the score predicted the biggest move, even if target wasn't hit, divided by the total number of weeks
Double Win is the number of weeks where both the Long and Short targets were hit, divided by the total number of weeks

Settings

The first section of inputs define how much each type of sentiment is weighted.

The second section defines the win criteria. By default the daily ATR(average true range) is used to define a percent above or below the opening price that the price much reach during the week in order to be considered a win.

ATR Lookback: How many days back the ATR is average over.
Long ATR Multiplier: ATR is multiplied by this value and added to the opening price to get the target price for longs.
Short ATR Multiplier ATR is multiplied by this value and subtracted from the opening price to get the target price for shorts.
Use Multipliers as fixed % targets: If true, uses the multipliers as a fixed % above/below the opening price to define the target price.

The third section is everything else...

Score Threshold for Longs: The week is skipped if the score is less than the threshold.
Score Threshold for Shorts: The week is skipped if the score is greater than threshold.
Instrument Type: To accurately track session opens and closes, the value must be set to Stocks if looking at stock tickers, Futures if looking at futures or forex tickers, and Crypto if looking at crypto tickers.
릴리즈 노트:
Updated some inputs to accept decimal values.
릴리즈 노트:
  • Added last weeks results
  • Fixed an issue with tickers where sentiments history is longer than price history.
보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

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

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