Variable Power Weighted Moving AverageThe Variable Power Weighted Moving Average was created by RedKTrader so make sure you follow them! This is a very handy indicator where you can change the weights of the weighted moving average yourself!
For an easy guide here are common values to use to convert this indicator into other indicators:
Power = 0 = Simple Moving Average
Power = 0.5 = Square Root Weighted Moving Average
Power = 1 = Weighted Moving Average
Power = 2 = Squared Weighted Moving Average
Try it out and let me know what you think!
Let me know if you have other ideas for me or if you want something custom done!
Sma
CBG PaintBarsUses a linear regression of averages to paint bars.
Average types include SMA, EMA, Weighted, Hull, Symmetrical, Volume Weighted, Wilder, and Linear Regression.
Monthly MA Close Generates buy or sell signal if monthly candle closes above or below the signal MA.
Long positions only.
Inputs:
-Change timeframe MA
-Change period MA
-Use SMA or EMA
-Display MA
-Use another ticker as signal
-Select time period for backtesting
This script is not necessarily written to maximize profits, but to minimize losses.
Although it can outperform 'Buy & Hold' on some occasions when there is a multiple month bearisch trend.
You can optimise this strategy by changing the signal MA inputs.
I would suggest aiming for the best Profit Factor starting from the monthly ("M") setting.
You can always fine-tune the results at a lower timeframe.
The option to use another ticker for providing signals can give you a more stable and unified results.
For example using AMEX:SPY as signal with default parameters gives better results with NASDAQ:AAPL than if you would use NASDAQ:AAPL itself.
I used the anti-repainting function from PineCoders to prevent repainting.
This script is best used for multi-month trading positions & Daily or 4H setting of your chart.
Trend Analysis IndicatorThe Trend Analysis Indicator was created by Adam White (Stocks & Commodities V. 10:8 (358-360)) and this is not to be confused with the Trend Analysis Index which was also created by Adam White. The stock is trending when it is above the signal and loses steam when it falls below the signal. Generally you should buy when it is above it's signal and sell when it goes below the signal.
Let me know if you would like me to write more scripts!
MA * Fibo levels (auto)A few updates to the previous post.
In order to catch more exact points of TP and SL, the scrypt takes "high" as the source of SMA if the percentage is greater than 0 ( > 0), and "low" as the source when the given percentage is less than 0 ( < 0).
So there are two basic SMA line ( one with "high", the other one with "low"), and the other lines would be results of multiplying either the higher base or the lower one.
Good luck in trading!
If the scrypt was useful let me know!
Any feedbacks and ideas are welcomed!
CBG Keltner ChannelsKeltner Channel with the following Moving Average types: SMA, EMA, Weighted, Hull, Symmetrical, Volume Weighted, Wilder and Linear Regression. Plus 2 bands with full color shading.
The picture shows the Keltner channels with the Wilder MA, my favorite. See how easy it would have been to stay in the move down? Excellent indicator.
Variable Length Moving AverageThe Variable Length Moving Average was created by George R. Arrington Ph.D. (Stocks & Commodities V. 9:6 (219-223)) and I'm really loving this indicator. It is a great moving average that hugs the price very closely and it is fully adjustable to your needs. It detects signals extremely well and I have color coded the moving average line to make it very easy to interpret.
This is not to be confused with the Variable Moving Average created by Tushar S. Chande and as of now I haven't seen any other script for this moving average out there yet.
Please let me know if you would like me to write any other scripts for indicators you would like to see!
SMA & EMA Simple CrossoverTracks and highlights trends by using a simple SMA and EMA indicator. When a shorter SMA (default set to 10 periods) and a longer EMA (default set to 20 periods) cross over, a cross is placed upon the chart at the crossover point. Defaults settings for the periods and colours can be changed the user to meet their own preferences using the settings button (i.e. without having to edit the script).
Bollinger Channels / EMA and SMAThis is written as a system to replace the BB strategy.
I think it will work well.
It looks pretty stylish.
Description / Usage:
Adjust the length and multiplier based on your location with Bollinger Bands.
The multiplier of 1 provides you with a basic channel with high and low-source EMA (or SMA).
And with the 8-day exponential moving average, you can observe short entries and exits.
I wish good luck to the friends who will use it.
You can support and track new indicators.
Bu, BB stratejisinin yerini alacak bir sistem olarak yazılmıştır.
Oldukça şık görünüyor.
Kullanım
Bollinger Bantları ile bulunduğunuz yere göre uzunluk ve çarpanı ayarlayın.
1 çarpanı size yüksek ve düşük kaynaklı EMA (veya SMA) içeren temel bir kanal sağlar.
Ve 8 günlük üstel hareketli ortalama ile kısa giriş ve çıkışları gözlemleyebilirsiniz.
Kullanacak arkadaşlara bol kazançlar diliyorum.
Yeni indikatör için destek olabilir ve takip edebilirsiniz.
SMA Cross strategyThis is a simple strategy which is always profitable and trades better than most premium channels and I give it out for free :)
Working very good on ETHUSDT futures on binance :)
Triple SMA/EMAThis indicator displays the 50, 100 and 200 period SMA and EMA and shades the area between the corresponding SMAs and EMAs
EMA / Fibonacci / Bollinger Indicator for Market Sniper SuiteHello all,
this script was created to be used in conjunction with Market Sniper - Trading/Scalping Suite . It was put together to make instrument analysis faster and less convoluted.
It includes
9 Fibonacci Exponential moving averages + 2 Simple moving averages
Auto Fibonacci levels - Tradingviews Auto Fib Retracement - with some modifications
Bollinger Bands - To faster spot squeeze momentum
Moving Average RibbonMoving Average Ribbon:
-----------------------------------------------------------
A series of moving averages of different lengths to create a ribbon-like indicator. Traders can determine trend strength by the distance between the moving averages, the overall balance of the coloured lines and determine price points. Price movements through the ribbon can be used to identify trend changes.
SMA, EMA, WMA with user defined length, starting plot, number of plots to show, theme choice and colour calculation toggle.
Inputs:
-----------------------------------------------------------
Source: input value for MAs (close)
Type: moving average type (ema)
Theme: multiple colours/themes (theme 2)
Length: MA length (13)
Start: MA plot number to start ribbon on (1)
No. of MAs: number of plots to show; maximum 32 (32)
Colour option: unchecked then line colour is based on the source value crossing current MA otherwise the moving average below (false)
Example:
-----------------------------------------------------------
multiple MAs overlaid with different values give interesting results e.g.
Ribbon1 :
length: 13
start: 1
Ribbon2:
length:1
start: 26
Notes:
-----------------------------------------------------------
if increasing the length beyond around 150 results in "references too many candles in history" error then reduce the no. of MAs value to show less MA plots; the longer length MAs will go beyond the 5k max candle history..
Moving Average Compendium===========
Moving Average Compendium (16 MA Types)
===========
A selection of the most popular, widely used, interesting and most powerful Moving Averages we can think of. We've compiled 16 MA's into this script, and allowed full access to the source code so you can use what you need, as you need it.
-----------
From very simple moving averages using built-in functions, all the way through to Fractal Adaptive Averages, we've tried to cover as much as we can think of! BUT, if you would like to make a suggestion or recommendation to be added to this compendium of MA's please let us know! Together we can get a complete list of many dozens of types of Moving Average.
Full List (so far)
---
SMA - Simple Moving Average
EMA - Exponential Moving Average
WMA - Weighted Moving Average
VWMA - Volume Weighted Moving Average
DEMA - Double Exponential Moving Average
TEMA - Triple Exponential Moving Average
SMMA - Smoothed Moving Average
HMA - Hull Moving Average
ZLEMA - Zero-Lag Exponential Moving Average
KAMA - Kaufman Adaptive Moving Average
JMA - Jurik Moving Average
SWMA - Sine-Weighted Moving Average
TriMA - Triangular Moving Average
MedMA - Moving Median Average
GeoMA - Geometric Mean Moving Average
FRAMA - Fractal Adaptive Moving Average
Line color changes from green (upward) to red (downward) - some of the MA types will "linger" without moving up or down and when they are in this state they should appear gray in color.
Thanks to all involved -
Good Luck and Happy Trading!
Historical Volatility Percentile + SMAHistorical Volatility Percentile tells you the percentage of the days from the past year (252 trading days) that have lower volatility than the current volatility.
I included a simple moving average as a signal line to show you how volatile the stock is at the moment.
I have included simple colors to let you know when to enter or exit a position.
Buy when price higher than EMA & historical volatility higher than SMA
Sell when price lower than EMA & historical volatility higher than SMA
Please let me know if you would like me to publish any other indicators! I always love to hear from you guys.
Moving Average SlopeA simple calculation and plotting of the slope of a Moving Average.
You'll be amazed looking at how accurate it is signaling early entries and exits from trend follower positions, just by applying some basic TA to it (support, resistance, trend lines).
Have a look:
In the settings, you can choose to use it on EMA on SMA, and the length of the MA involved.
I recommend using it on a medium-long sampling MA, to minimize noise.
6 SMA&look back 20SMA strategy6 SMA&look back 20SMA strategy
The moving average is calculated based on historical prices and is a backward indicator,Unable to forcast future prices.
But the moving average still represents the price trend, so we can forcast by moving average.
Each point of the 20-day SMA is calculated based on the closing price of the past 20 days.
Therefore, we can know that the closing price of the first 20 days directly affects the latest point of SMA.
The last 20 days are the prices included in the calculation, which directly affect the trend of the latest points.
For example,if the day before the 20th is a sharp fall, the latest SMA becomes an upward trend;If the day before the 20th is a sharp rise, the latest SMA becomes a downward trend,it showing the opposite trend
Recommended to use the daily trend.
Good Luck
移動平均線是根據歷史價格計算,屬於落後指標
但是移動平均線仍代表價格趨勢,因此我們可以通過移動平均線進行預測。
20天均線的每個點都是基於過去20天的收盤價計算的。
因此,我們可以知道前20天的收盤價直接影響SMA的最新點。
最近20天是計算中包括的價格,它直接影響最新點的趨勢。
例如,如果20日之前的一天是急劇下跌,則最新的SMA成為上升趨勢;如果20日之前的一天是急劇上漲,則最新的SMA成為下降趨勢,呈現相反的趨勢。
參考老王對SMA扣抵值的簡易版應用
使用20MA的扣抵蹺蹺板來判斷今日可能是UP或DOWN
建議使用日線
祝好運
CBG MultiAverages ColorsThe latest version of my multiple moving averages. Now includes up to 14 moving averge lines plus a separate slow and fast moving average that can be assigned a different MA type.
In the screen shot is the fast/slow set to Hull with 15/50 periods. It is overlaid on top of my Key Numbers indicator.
7 moving averages in 1 indicator, including the Hull Moving Average .
SMA
EMA
Weighted
Hull
Symetrical
Volume Weighted
Wilder
Linear Regression
Lots of other features like background shading and paint bar colors.
Multi Timeframe Moving Averages This indicator allows you to view a moving average ( EMA or SMA ) of your choosing on other time frames than what you are currently on. You just need to edit the script and plot MAs that you want to see.
This is based on awesome work of @millerrh at but now instead of read inputs, I just plot what I desire with correct labels.
The reason I used that was that I wanted to see daily MAs in 15min, 5min and 1min charts.
To use the script add to your chart and edit it, you can add or remove any MA you want at end of file and then add it to your chart again.
The code off course is open source.
ScalpyScalpy is made up of a 2 main parts.
- The cloud comprising of a 10 period SMA and a 30 period SMA.
- When the cloud is green you should be looking for long entries.
- When the cloud is red you should be looking for short entries.
- Price is most bullish above a green cloud and most bearish below a red cloud.
- Being within the cloud indicates indecision.
The blue and white lines on the indicator show the relationship between price and momentum.
They can be used to spot reversals in two ways:
- The first is a divergence between price (blue line) and RSI (white line)
- If the price makes a lower low but the RSI makes a higher low this shows the trend is weakening and may be reversing soon (as can be seen by the two yellow lines on the chart).
The second is a simple crossover:
- When the white line crosses the blue line to the upside this signals a long entry.
- When the white line crosses the blue line to the downside this signals a short entry.
ZLMA - Low-Lag Moving Average Based On An Alternative SMA DesignThere can be many ways to make a simple moving average, you can either sum the current and the n-1 previous data points and divide the result by n , or you can do it more efficiently by first taking the cumulative sum of your data points, and subtracting the current cumulative sum result with the cumulative sum results n bars ago, then divide the result by n . This can be described by the following formulas:
a(t) = a(t-1) + price(t)
b(t) = (a(t) - a(t-n))/n
This method is the one used in order to allow the user to use a series as SMA period, more info here:
Today we use this design in order to provide a pretty efficient low-lag moving average where the amount of lag of the moving average can be increased/decreased by the user.
THE INDICATOR
length control the period of the moving average, with larger value of length returning larger filtering amount. The lag setting in the other hand control the amount of lag of the moving average, with larger value of lag returning a moving average with less lag. The lag setting can't be lower than 1 or greater than 2, but values lower than 1 and greater than 0 would just return a moving average with larger filtering amount while values greater than 2 would create crazy wild overshoots.
In blue lag = 1.8, in red lag = 1.4, when lag = 1 the moving average is equal to a simple moving average of period length. Remember that larger values of lag will return greater over/undershoots.
Approximate amplitude response of the moving average, like all low-lag moving averages you can see frequencies amplified (the ones on the left greater than 1) .
SUMMARY
We proposed a low-lag moving average based on the cumulative/change SMA design where the lag of the moving average can be controlled by the user. There are tons of low-lag moving averages already, and they don't necessarily provide different results from each others, however this one is still relatively interesting as you can switch from a simple MA from a low-lagging one, other indicators are ready using this design and will be posted soon.