OPEN-SOURCE SCRIPT

EMAs 20/50/200 with Trend Coloring

275
It calculates EMA 20, 50, and 200.

For each EMA, it compares the current value with the previous bar (ema > ema[1]).

If rising → green, if falling → red.

All three EMAs are plotted with different colors dynamically changing by slope.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.