OPEN-SOURCE SCRIPT

Daily 9 EMA Plotted at Other Than Daily Time Frame


Credit to the great Zoen Triste for his original script at:
1H 20EMA

I just amend it for the Daily, 4H and other time frames. The main function of the Daily 9EMA (pink line) is to easily distinguish the big trend. It is also for multi time frames dynamic support / resistance when trading using tf lower than Daily, without having to toggle between the time frames. Everything is there at a single time frame chart. I like to day trade and switch to swing trade when there is a solid setup for it. To be able to do that, I use 15mins tf together with the Daily 9EMA, 4H 34EMA and 4H 21EMA.

How to trade using this setup?

First of all, if price is below the pink line (Daily 9EMA), it means the big trend is downtrend (and vice versa). When price retrace and reach the blue (4H 21EMA) or black (4H 34EMA) or the pink (Daily 9EMA) line (look at the red arrows), if there is bearish divergence / slingshot at the MACD's histogram together with a reversal candle such as pin bar (shooting star), dark cloud cover or bearish engulf, it's a short setup. We don't need to put the Stop Loss immediately. We can wait for the price to resume in the direction of the big trend to trail the SL.

I do add up daily and weekly pivots and trendlines for additional support / resistance for greater confidence. If the above setup occurs at certain pivots and trendline, we'll have a very high probability setup. Please see the zoomed-in chart as below: 快照

When price is above the pink line, the setup is just the opposite.

My conclusion: When day trading using this setup at smaller time frames such as 15mins, we don't have to toggle between 4H and 15min time frames to see where is the EMA21 and EMA34 at 4H for the moment.

It's like we are able to see a microscopic and bird's eye views at the same time using a single time frame chart.

DivergenceExponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)multi-timeframeemaPivot Pointsslingshot

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明