OPEN-SOURCE SCRIPT

EMA x 3 MAs

This indicator can be used for moving average strategies based on a EMA [EMA (8)] trigger over MAs (SMAs) : MA1 [MA (13)], MA2 [MA (21)], MA3 [MA (52)].

Based on those crossings, the background color will change for the upcoming candle showing green for upper crossing change (the more MA are crossed, the darker is the background). Order and priority of background colors :
1/ EMA x MA1
2/ EMA x MA2 (if EMA x MA1 confirmed)
3/ EMA x MA3 (if EMA x MA1and EMA x MA2 confirmed)

EMA and MAs can also be tuned with your own values in the parameters, therefore allowing you to try different strategies and to use the EMA and MAs as support/resistance indication.

You can set up the background and lines colors in the Style in the parameters.
Exponential Moving Average (EMA)Simple Moving Average (SMA)smasma13sma21sma52Support and Resistance

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明