SemiQuant

Moving Averages (SMA and EMA)

SemiQuant מעודכן   
Plot the simple moving averages (SMA) and/or exponential moving averages (EMA).
The length of the lookback period and the type of moving average can be changed in the inputs tab of the indicator.
Line-weight and colours can be edited in the style tab of the indicator.

The default is to plot the SMAs using a length of 20, 50, 100 and 200.
הערות שחרור:
Added options to select the source of prices to use in the calculation ("close", "open", "high", "low", "(high + low + close + open)/4", "(high + low)/2", "(high + low + close)/3")
הערות שחרור:
Added more options.
Now you can select from:
  • Simple Moving Averages
  • Exponential Moving Averages
  • Symmetrically Weighted Moving Average
  • Weighted Moving Averages
  • Volume-weighted Moving Averages
  • Moving average used in RSI
  • Arnaud Legoux Moving Averages
הערות שחרור:
Simplified the inputs tab.
הערות שחרור:
Streamlined and simplified the inputs.
הערות שחרור:
Missed a few before. Temp update to fix errors.
הערות שחרור:
Reverted to the previous version as TView fixed bug.
הערות שחרור:
Fixed mistake on the source price code.
הערות שחרור:
Added an option for double exponential moving averages (DEMA).
הערות שחרור:
I have added an option to plot a moving average ribbon.
You can customize all features and can plot the colour based on whether the line if sloping up (green), down (red) or "flat" (orange).
הערות שחרור:
Added an option to plot an envelope around one of the moving averages using a user input percentage.
הערות שחרור:
V2.01
-Fixed an error with the color when using position relative to the price (had them flipped by accident)
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

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

רוצה להשתמש בסקריפ זה בגרף?