118 2 4
Remove from Favorite Scripts Add to Favorite Scripts

a = ema(close, 12)
b = ema(close, 26)
c = sma(close, 55)

long = cross(a, c) and a > c
short = cross (a, c) and a < c

plot(long, "long", color=green, linewidth=1)
plot(short, "short", color=red, linewidth=1)
Hello. How do you trade this? Thanks.
tekkzi benedictwellstood
did not mean to publish this lol but its meant to be buy green sell red as you can see it doesnt work great
was just learning to script basics
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