TradingView
jbritton001
26 jul 2022 00:42

SMA Multi Time Frame Table V1.5 

SPDR S&P 500 ETF TRUSTArca

Beskrivning

Since I couldn't find a script like this I made one so here is what it does.

The script will plot on the chart as well as post the related data into the table.

The default Simple Moving Avg are 5, 10, 20, 50, 120, 200 which can also be changed to whatever SMA you would like. The SMA values are then plotted on the charts so that quickly check to see where they are and how the candles are reacting to the SMAs.

Not only does the script plot the SMAs but it also places higher time frames into the table that is in the script, from current price, to daily, weekly, monthly, quarterly (3 months if you don't have it added) and yearly. The reason why was it price action of the stock does interact and can be rejected or find support from SMA on a higher time frames.

I still use this script so that you can quickly capture the values so that short-term, and long-term resistance and support can be determined during market hours.

Another good thing is that when you change the values in the script settings it also applies those settings to the table as well.

Now it will take a little bit for the table to show up, so please be patient. I have tested it with stocks, forex, and crypto.

I wanted to get this published and I am still working on the background to try and get EMAs. Where you can flip over to EMA to also see the EMA plots and table values for the MTF.
Kommentarer
jbritton001
@55e190098c844c95a1eaf9efed6081, Looks like you have A, B, C, D are already been declared once .. also the ta.change not 100% sure that is can be used in the context that you are trying to use it in.
55e190098c844c95a1eaf9efed6081
Hello . Thanks for this indicator.
How to fix the calculation time period of a indicator.
I am creating an on balance volume multiple time frame indicator .
I want to show one minute on balance volume in 5 minute 15 minute daily weekly and monthly chart.
But as chart time changes the obv calculation value also changed . How to fix this obv calculation value to 1 minute. What ever time period we are setting the chart I want to see the 1 minute on balance volume.
Mer