pietherrieck

MultiMADirection [pietherrieck]

451 2 47
this indicator looks for the direction of multiple moving averages (pointing up/down). if all show the same signal it is colored red (sell) or green (buy). if there are different signals it will turn gray (neutral). it should be used on the 4h or 1d timeframe. use the atr-value (small number next to the indicator name (MMAD)) as stop-loss. for example on eur/usd             0.0144 means a 144 pip stop-loss. if the color changes close the postition.
Remove from Favorite Scripts Add to Favorite Scripts
study("MultiMADirection [pietherrieck]", shorttitle="MMAD")
c=iff(ema(close,233)>ema(close[1],233) and ema(close,144)>ema(close[1],144) and ema(close,89)>ema(close[1],89) and ema(close,55)>ema(close[1],55) and ema(close,34)>ema(close[1],34) and ema(close,21)>ema(close[1],21), green, 
  iff(ema(close,233)<ema(close[1],233) and ema(close,144)<ema(close[1],144) and ema(close,89)<ema(close[1],89) and ema(close,55)<ema(close[1],55) and ema(close,34)<ema(close[1],34) and ema(close,21)<ema(close[1],21), red, gray))
plot(atr(14), style=columns, color=c)
Hi

Want to use indicator but unable to create the actual LUA indicator for this to import into marketscope 2 ...
Reply
i can't help you with marketscope. this is pine-script (only for tradingview.com). sorry.
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 繁體中文
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