[RS]Triangular Moving Average Slope Indicator V0

request for IvanLabrie, MichaelMccallum
Remove from Favorite Scripts Add to Favorite Scripts
study(title="[RS]Triangular Moving Average Slope Indicator V0", shorttitle="[RS]TMASI.V0", overlay=false)
length = input(8)
source = close
tma = sma(sma(source, length), length)
tmaslope = change(tma, 1)
signalcolor = tmaslope > tmaslope[1] ? green : maroon
plot(tmaslope, style=columns, color=signalcolor)
Thank you very much. Now that you coded it yourself and have a better understanding; I would be interested in seeing it also working with the Tradingview code:

"swma (Built-in function)"

"Symmetrically weighted (triangular) moving average."

+1 Reply
+1 Reply
ChartArt RicardoSantos
Thank you!
+1 Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out