TradingView
ILuvMarkets
22 paź 2022 15:23

Seasonality DOW - Day Of the Week - Tabular Form 

S&P 500SP

Opis

Use this indicator on Daily Timeframe

This indicator displays the seasonality data for any instrument (index/stock/ futures /currency) in a tabular data by day of the week - DOW ( Sun - Mon - Tue - Wed - Thu - Fri - Sat ).

User can change the start of the year for analysis from the inputs.

Year is represented in rows and Day of the week (DOW) is represented in cols.
This indicator uses Daily Data feed to calculate the % change
Summary data for DOW displayed as the last row

Informacje o Wersji

Changed DOW Logic to use time_close as some US instruments trade Sunday night and DOW is not reflected properly for those instruments.

Informacje o Wersji

Added Aggregate - Count +ive
Komentarze
TRinvestment
I really like the script!

Could you maybe implement, the winning % of each week day?
ILuvMarkets
TRinvestment
@ILuvMarkets, Thanks for the quick fix!

Really enjoy the indicator, keep up the amazing work.
ILuvMarkets
@TRinvestment, Also look at Overnight vs. Intraday and Session performance indicators. They might provide vital clues for the instrument you are trading
TRinvestment
@ILuvMarkets, will try take a look at them, thanks!
Ether2020
Great script! Thank you!
tradingaccount7777777
Hi, thx for the script, interesting. Friday is not working for me with Futures (NQ, GC) though, would be awesome if you could fix it. Thx
ILuvMarkets
@tradingaccount7777777, This is what I see in TradingView documentation. So dayofthe week shifts by one day. Read Sun as Mon... Thu as Fri
dayofweek

Day of week for current bar time in exchange timezone.
TYPE
series int
REMARKS
Note that this variable returns the day based on the time of the bar's open. For overnight sessions (e.g. EURUSD, where Monday session starts on Sunday, 17:00) this value can be lower by 1 than the day of the trading day.
ILuvMarkets
@tradingaccount7777777, Thought more about it and used a workaround to fix this. Please add the latest version and let me know
Więcej