Month/Month Percentage % Change, Historical; Seasonal TendencyTable of monthly % changes in Average Price over the last 10 years (or the 10 yrs prior to input year).
Useful for gauging seasonal tendencies of an asset; backtesting monthly volatility and bullish/bearish tendency.
~~User Inputs~~
Choose measure of average: sma(close), sma(ohlc4), vwap(close), vwma(close).
Show last 10yrs, with 10yr average % change, or to just show single year.
Chose input year; with the indicator auto calculating the prior 10 years.
Choose color for labels and size for labels; choose +Ve value color and -Ve value color.
Set 'Daily bars in month': 21 for Forex/Commodities/Indices; 30 for Crypto.
Set precision: decimal places
~~notes~~
-designed for use on Daily timeframe (tradingview is buggy on monthly timeframe calculations, and less precise on weekly timeframe calculations).
-where Current month of year has not occurred yet, will print 9yr average.
-calculates the average change of displayed month compared to the previous month: i.e. Jan22 value represents whole of Jan22 compared to whole of Dec21.
-table displays on the chart over the input year; so for ES, with 2010 selected; shows values from 2001-2010, displaying across 2010-2011 on the chart.
-plots on seperate right hand side scale, so can be shrunk and dragged vertically.
-thanks to @gabx11 for the suggestion which inspired me to write this
ממוצע נע פשוט (SMA)
Volume Spread for VSA CustomHey everyone, I have been using volume a lot more lately as price action can sometimes get manipulated but volume shows us the truth!
Anyways, I have enjoyed the Volume Spread for VSA indicator but wished I had the code to change a few settings. This volume indicator includes spread analysis with the ability to customize input values and I'm making it open source so you can do with it as you please.
I have made notes all throughout the code to give suggestions on a few changes or why I have written it in such a way. I have also tried to section everything off to make it easier to see where each piece of the code is used. Overall I think it is a good example of how to code cleanly and how to add useful notes when you are learning Pine for yourself :D
The indicator on the price chart is my Donchian Channel indicator, which you can also find on my profile. This is the one I use every day.
Kendall Rank Correlation NET on SMA [Loxx]Kendall Rank Correlation NET on SMA is an SMA that uses Kendall Rank Correlation to form a sort of noise elimination technology to smooth out trend shifts. You'll notice that the slope of the SMA line doesn't always match the color of the SMA line. This is behavior is expected and is the NET that removes noise from the SMA.
What is Kendall Rank Correlation?
Also commonly known as “Kendall’s tau coefficient”. Kendall’s Tau coefficient and Spearman’s rank correlation coefficient assess statistical associations based on the ranks of the data. Kendall rank correlation (non-parametric) is an alternative to Pearson’s correlation (parametric) when the data you’re working with has failed one or more assumptions of the test. This is also the best alternative to Spearman correlation (non-parametric) when your sample size is small and has many tied ranks.
Kendall rank correlation is used to test the similarities in the ordering of data when it is ranked by quantities. Other types of correlation coefficients use the observations as the basis of the correlation, Kendall’s correlation coefficient uses pairs of observations and determines the strength of association based on the patter on concordance and discordance between the pairs.
Concordant: Ordered in the same way (consistency). A pair of observations is considered concordant if (x2 — x1) and (y2 — y1) have the same sign.
Discordant: Ordered differently (inconsistency). A pair of observations is considered concordant if (x2 — x1) and (y2 — y1) have opposite signs.
Kendall’s Tau coefficient of correlation is usually smaller values than Spearman’s rho correlation. The calculations are based on concordant and discordant pairs. Insensitive to error. P values are more accurate with smaller sample sizes.
Included:
-Toggle on/off bar coloring
SMA EMA Bands [CraftyChaos]This indicator creates bands for SMA and EMA averages and adds an average of the two with the idea that price often touches one of them at support and resistance levels. Saves indicator space by combining all into one indicator
Kabalistic 36/72 SMAThe Kabalistic 36/72 SMA
This is a experimental indicator to identify potential changes in the market:
The short SMA:
If the price fall beneath the Short SMA, THEN I SHORT
The Long SMA:
If the price is found beneath the Long SMA, THEN I LONG.
Joe's Ultimate MA Ribbon (w/ Crossover Triggers)Tired of having to add multiple moving average indicators to your chart? Well, stop doing that.
Here's a sweet moving average ribbon (with 1-10 moving average lines!) that will make your charts look much cooler 😎.
Not only that, it also includes triggers for MA crossovers. So, yeah...you can pick which MA crossovers trigger for longs and shorts separately. Yup, you read that right.
Options:
Show/Hide MA Lines: Only show the lines you wanna see. No more. No less.
MA Type (can be different for each line!): EMA, SMA, SMMA (RMA), WMA, VWMA
MA Source (for each line): open, close, high, low, hl2, hlc3, ohlc4, hlcc4
MA Length (for each line): any number between 1 and 4999
Line Colors: Ooh, pretty.
Triggers: On or Off
Crossover Long Triggers: When _______ crosses over _______ on timeframe _______
Crossover Short Triggers: When _______ crosses over _______ on timeframe _______
Trigger Characters and Location
SMA RegimeProvides a color coded indicator based upon both the slope of a moving average of choice, and the asset's position in relation to that moving average. If the specified moving average is downward sloping and the asset closes below the moving average the indicator will be red. If the specified moving average is upward sloping and the asset closes above the moving average the indicator will be green. Any other combination of these two factors will color the indicator yellow indicating indecision.
Expected DCA PriceShowing the expected price of the DCA strategy in half a year / one year / two years, weighted by the USD supply (M2) by default
Trend CandlesThis indicator uses simple moving average and exponential moving average to calculate the trend of the symbols.
If the trend is BULL, the bars' color will be lime(green).
If the trend is BEAR, the bars' color will be black.
Otherwise, the bars' color will be gray.
Enjoy it!
5 Symbol screener with triple MA and RSIBelow is a simple screener script fitted with 5 different symbols in the first column and in the other 4 columns the screener displays the respective moving averages and the RSI, the user has the ability to change between timeframes and different moving averages such as the SMA, EMA, RMA and WMA .
[_ParkF]MA_PackageThis indicator is a comprehensive set of moving averages.
All settings are handled in the input menu.
1. 6 moving averages are included.
2. You can edit the source of 6 moving averages.
3. You can change the type of each moving average line.
4. You can change the period value of each moving average line.
5. You can change the color of each moving average line.
6. You can change the thickness of each moving average line.
7. The predictive value of each moving average line will be displayed as a dot, and this value will be changed according to the type of the moving average line.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 이동평균선의 종합선물세트 입니다.
모든 설정은 input 메뉴에서 다뤄집니다.
1. 6개의 이동평균선이 포함 되어 있습니다.
2. 6개의 이동평균선의 소스를 수정할 수 있습니다.
3. 각각의 이동평균선의 타입을 변경할 수 있습니다.
4. 각각의 이동평균선의 기간값을 변경할 수 있습니다.
5. 각각의 이동평균선의 색상을 변경할 수 있습니다.
6. 각각의 이동평균선의 두께를 변경할 수 있습니다.
7. 각각의 이동평균선의 예측값이 점으로 표시될 것이고 이 값은 해당 이동평균선의 타입에 맞춰 변경됩니다.
Distance to 200 SMAThis indicator shows the relative distance (in %) from the closing price to the 200 SMA.
Vegas+200+Big Vol by RSU1. Vegas channel
The Vegas channel indicator is very effective as a short, medium and long-term trend observation indicator, and it has obvious support and resistance functions.
2. EMA200+MA200
Usually ema200 or ma200 is used as a watershed for fund institutions to evaluate the long-short trend of a stock trend.
3. Big volume box
Big volume is often used as a signal of a market trend turning,if it is greater than 4 times standard deviation it is marked as a Big volume in yellow box. There will be support and resistance at this price range.
Midas Mk. II - Ultimate Crypto Swing>> This scrip is only meant to be used in 4hour crypto chart <<
How It Works - To swing trade in a 4 hr candles, which has a much larger range than shorter timeframe candles, the script utilizes a longer timeframe ema, sma and MACDs to account for such. When the ema and sma crosses and the rate of change of the MACD histogram is in favor of the direction, then the system provides a long/short signal.
How To Use - The script works the best when the signal is in par with other analyses (trend, harmonic patterns, etc.) This script does not provide any exit signals , so I recommend exiting when the candle breaks out of the structure, or other strategies.
Updates or revisions will be recorded in the comments. Good luck with this script!
Dashed Line Moving AveragesHere's a simple script which i concocted using ideas from various authors with the goal of creating a slightly better Moving Average dashed line script imo...I think i managed to do just that and a bit more.. =)
Features:
- Contains one of each VWMA SMA EMA. You can set the input length.
- Ability to set spacing between characters of the plotted moving average line
- Horizontal offset of the moving average lines (just in case)
- Can add any fancy characters that suits your taste e.g ( . , _ , -, !, *, rocket, lava, etc) to the moving average
- If you duplicate the script and modify the "Size" parameter of the plotchar() function's variables with the choices provided in the commented-out code; you can have some fun!
This script is for entertainment & educational purposes only.
HEX Risk Metric (v0.2)This indicator plots a "risk metric" based on the % increases of the following averages:
ema21, sma50, sma100, sma200, sma300, sma600.
Depending on the rolling 7-day percentage increase of this moving average, a value is assigned to each data point, then normalized to a common range.
This set of metrics attempts to represent data similar to that of a heat map.
Users can adjust filter top, filter bottom, and toggle on/off the different metrics within the set.
HEX Risk Metric (v0.1)This indicator plots a "risk metric" based on the % increases of the following averages:
ema21, sma50, sma100, sma200, sma300, sma600.
Depending on the rolling 7-day percentage increase of this moving average, a value is assigned to each data point, then normalized to a common range.
This set of metrics attempts to represent data similar to that of a heat map.
Users can adjust filter top, filter bottom, and toggle on/off the different metrics within the set.
Moving Averages With Cross AlertsA simple way to add up to 5 moving averages with optional crossover/crossunder alerts.
Available options for Moving Average Type are:
SMA
EMA (default)
HMA
RMA
WMA
VWMA
VWAP
ALMA
By default, 5 moving averages are enabled and set to the following:
MA1 set to 5
MA2 set to 13
MA3 set to 50
MA4 set to 200
MA5 set to 800
Each moving average has the following options:
Enable/Disable
Source (default is close)
Length
Color
Any 8 Moving Averages - Alerts, Clouds & PercentagesANY 8 MOVING AVERAGES WITH ALERTS, COLOR CHANGING CLOUDS AND PERCENTAGE GAPS
This is a fully customizable moving average cloud with alerts. It has 8 moving averages that can be individually set to any type such as: EMA, SMA, HMA, WMA, VWMA & RMA. Each moving average paints green when price is above it and paints red when price is below it. They include colored clouds between the price and each moving average as well.
You can individually change the length, colors, type of moving average and turn them off for those of you that only want a few moving averages on your chart at once.
There is also a percentage gap table that tells you how far away the price is from each moving average which are labeled accordingly.
You can also set alerts for when price crosses each moving average.
***HOW TO USE***
When all the moving averages are green, buy dips down to the next lower moving average. When all the moving averages are red, short the tops up to the next moving average.
Trade in the direction of the trend and wait for all lines to turn one color before taking trades in that direction.
Make sure there is a big enough percentage gap to the next moving average before taking a trade.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This moving average can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index + Fisher Price Action, Volume Profile With Buy & Sell Pressure, Auto Support And Resistance and Money Flow Index in combination with this moving average cloud. They all have unique features to help you make better and faster trading decisions.
Simple Moving Averages - XfactorUsing this script in 2 minutes chart. When 20 SMA crosses over 200 sma, it's a buy signal. Also, using 9 and 50 sma as a signal to take profit and cut loss.
For example 20 SMA crosses up 200 SMA it's a buy then if the candle closes under 9 SMA we can cut.
Relative Volume Standard DeviationThis indicator, developed by Melvin E. Dickover, calculates the difference between the volume and its simple moving average, but expressed as a ratio in standard deviations.
The plotted bars become green when the volume is unusually large (configurable).