Percent above or Below Moving Average Candle colourFilter:
If green candle is 'x' % above moving average than colour of candle is turn in blue colour.
If red candle is 'x' % below moving average than colour of candle is turn in orange colour.
ממוצע נע פשוט (SMA)
MFTA - Multi Timeframe AnalysisThis indicator plots moving averages from higher timeframes for increasing the probability of a successful trade without using multiple charts for the same ticker.
You can configure the desired higher timeframe (i.e. if you are using a 1 min chart you can plot the 5 Min time frame moving averages).
CL PMAThis is and indicator Using SMAs of the High+Low+Close/3 pivot point strategy outlines by Mark Fisher. This indicator is meant to be used as another layer adding confirmation to the ACD system. I mostly use this script to track Crude Oil ( CL ) but it can be used for many other products . However, this indicator is most useful in volatile markets.
This is not meant to be used as a primary indicator but rather third level of confirmation after ACD and Number lines outlined by Mark Fishers system.
CL PMAPivot moving averages useing SMA's. This study is just a tweak from the study already done by @QUANTCT. I just cleaned it up and used SMAs instead of EMAs so he deserves most credit.
Simple and Exponential Moving Averages (20, 50, 200)Displays the 20, 50, and 200 simple and exponential moving averages in 1 indicator.
Simple Moving Averages (20, 50, 200)Allows you to plot 20 day, 50 day, and 200 day simple moving averages using only 1 indicator.
München's Momentum WaveMUNICH'S MOMENTUM WAVE:
This momentum tracker has features sampled from Madrid's moving average ribbon but has differentiated many values, parameters, and usage of integers. It is derived using momentum and then creates moving averages and mean lengths to help support the strength of a move in price action, and also has the key mean length that helps determine HL/LH or rejections into trend continuation. This indicator works on ALL TIME FRAMES, ALL ASSET CLASSES ON ALL SETTINGS!!
HOW DO I USE IT?
*First off, I have arranged the input settings into groups based on the parts of the indicator it affects.
*You want to use the aqua/white/yellow (Munich's line) as your leading indicator, this is a combined average of the MoM indicator.
* When using Munich's line you want to look at the relation to the mean line (the flat line that adjusts based on price action. You will often see rejections of this line into trend continuation. I personally have caught perfect LH/HL bounce trades off of this indicator.
* Use the Background and other colored moving averages to help pre-determine moves based on the -3 offset value of Munich's line. This was by design not to create 'accurate' results, but to help predict momentum swings based on sharper moves in price action better than if all values lined up to the current bar.
Cheat Code's Notes:
I hope you guys find this indicator to be useful, this is most likely the best indicator that I have written. Simply for the fact it is useful on any chart, any timeframe with any setting. If you guys have any issues with it, shoot me a pm or drop a comment. Thanks!
-CheatCode1
BINANCE:BTCUSDT BITSTAMP:ETHUSD BITSTAMP:BTCUSD PEPPERSTONE:JPYX TVC:DXY TVC:NDQ AMEX:SPY
Short Term RSI and SMA Percentage ChangeThis strategy utilises common indicators like RSI and moving averages in order to enter and exit trades. The Relative Strength Index (RSI) is a momentum indicator that has a value between 0 and 100, where a value greater than 70 is considered overbought and a value less than 30 is oversold. If the RSI value is above or below these values, then it can signal a possible trend reversal.
The second indicator used in this strategy is the Simple Moving Average (SMA). A SMA is an arithmetic moving average calculated by adding recent prices and then dividing that figure by the number of time periods in the calculation average. For example, one could add the closing price of a coin for a number of time periods and then divide this total by that same number of periods. Short-term averages respond quickly to changes in the price of the underlying coin, while long-term averages are slower to react.
Long/Exit orders are placed when three basic signals are triggered.
Long Position:
RSI is greater than 50
MA9 is greater than MA100
MA9 increases by 6%
Exit Position:
Price increases 5% trailing
Price decreases 5% trailing
The script is backtested from 1 May 2022 and provides good returns.
A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
This script also works well on AVAX 45m/1h, MATIC 15m/45m/1h and ETH 4h.
Stochastic Rsi+Ema - Auto Buy Scalper Scirpt v.0.3Simple concept for a scalping script, written for 5 minute candles, optimized for BTC.
1st script I've created from scratch, somewhat from scratch. Also part of the goal of this one is to hold coin as often as possible, whenever it's sideways or not dropping significantly.
Designed to buy on the stochastic bottoms (K>D and rising, and <17)
Then and sell after 1 of 3 conditions;
a. After the price goes back up at least 1 % and then 1-2 period ema reversal
b. After the rsi reversal (is dropping) and K<D Flip
c. Stop loss at -1.5%
Moving Averages Ribbon (7 EMAs/SMAs)This Indicator provides a combination which is suitable for visualizing many Simple Moving Averages (SMAs) and Exponential Moving Averages (EMAs). There are 7 possible periods 5,9,20,50,100,200,250. There is a possibility to show only EMAs or only SMAs or both. EMAs have thinner curves by default, to be able to distinguish them from SMAs. Additionally, there are highlighted channels between the MAs of the highs and the MAs of the lows, showing a channel of specific moving averages. It comes with a presetting showing EMAs 5,9,20,50,200 and SMAs 9,20,50,200, while the MA channels are only visible for 9 and 50.
EMAs:
SMAs:
Both
Multi Type RSI [Misu]█ This Indicator is based on RSI ( Relative Strength Index ) & multiple type of MA (Moving Average) to show different variations of RSI.
The relative strength index (RSI) is a momentum indicator used in technical analysis to evaluate overvalued or undervalued conditions in the price of that security.
█ Usages:
The purpose of this indicator is to obtain the RSI calculated with different MAs modes instead of the classic RMA.
The red and green zones indicate the oversold and overbought zones.
Buy or sell signals are marked by the green and red circles
We have 2 different signal modes : when the different size RSIs cross and when the fast RSI crosses the extreme bands.
Alerts are setup.
█ Parameters:
Lenght RSI: The lenght of the RSI. (14 by default)
RSI MA Type: The type of MA with which the rsi will be calculated. ("SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA")
Fast Lenght MA: The fast lenght smoothing MA.
Slow Lenght MA: The Slow lenght smoothing MA.
Lower Band: The lenght of the lower band. (25 by default)
Upper Band: The lenght of the upper band. (75 by default)
Signal Type: The mode with which buy and sell signals are triggered. ("Cross 2 Mas", "Cross Ma/Bands")
Moving Averages Proximity Oscillator [LuxAlgo]This indicator returns the percentage or count of prices greater than simple moving averages with periods in a user set range, as well as the moving average period that is the closest to price values.
Settings
Minimum Length: Minimum SMA period
Maximum Length: Maximum SMA period
Smooth: Control the degree of smoothness of the indicator outputs
Normalized: Normalize the indicator outputs in a range (0, 100)
Src: Input source of the indicator
Usage
The indicator returns two outputs.
The "Price Above MA's" output returns for a current price value the number of times this one is greater than simple moving averages with periods ranging from Minimum Length to Maximum Length . This oscillator can be expressed as a percentage if Normalized is selected.
This oscillator allows identifying the direction of an underlying trend in the price. Higher Minimum Length and Maximum Length settings will return indications regarding longer term price variations, while shorter ranges will return less detailed outputs. This can be seen in the chart above where Minimum Length = 80 to Maximum Length = 100 .
The "Proximity Index" output on the other end does not return information regarding the direction of an underlying trend but the period of the simple moving average with periods ranging from Minimum Length to Maximum Length that is the closest to the current price value.
For various simple moving averages of differing periods, we can see that SMA's with shorter periods will tend to stay closer to the price, when price start reverting it will reach higher periods moving averages.
As such, this second indicator output can help identify the start of new trends, with higher values indicating price is reverting toward longer-term moving averages, suggesting a new trend forming.
Multiple Moving Avg MTF TableThis script replaces the other script that was just the SMAs that where in a Multi Time Frame Table as this was a redo of that one and this one is SO MUCH MORE!!!!
Not only does this one do the Simple Moving Avg 5, 10, 20, 50, 120, 200 into a table that shows Current/Hourly/Daily/Weekly/Monthly/Quarterly ( 3M )/ Yearly. It now does Exponential Moving Avg , Weighted Moving Avg , and Volume Weight Moving Avg along with Simple Moving Avg.
I still use this script so that you can quickly capture the values so that short-term, and long-term resistance and support can be determined during market hours. Even better now you can select between SMA / EMA / WMA /or VWMA .
imgur.com
The table will change to the values based on the Choice of the type of Moving Avg and if you change the default values.
Now it will take a little bit for the table to show up, so please be patient. I have tested it with stocks, forex, and crypto.
Qullamaggie Daily with ADR% and Compression RangeQullamaggie Daily
This Indicator is a Combination of Moving Averages (Simple and Exponential) as definied from Qullamaggie and used in his TC2000 Setup
Moving Averages:
- The Moving Averages are Guidelines for the current Trend and are not decive for the Entry
- They shall be a quick view and visual assistance to find strong momentum stock that are currently in a Phase of a "Flag Pattern"
ADR% 20 Day:
- Average Daily Range in % should indicate the Momentum of the Stock. It is similar but still works different as the Volalitily indicators.
- A stock is recommend to a have a ADR% above 5-6 to be considered a Momentum Leading Stock.
Consolidation Range:
- This Indicator should help to define Ranges in which the Volumen get compressed(increase) while the price movement is minimal
- A strong breakout is to be expected. The Range should be easier to be identified with this indication.
SMA Multi Time Frame Table V1.5Since I couldn't find a script like this I made one so here is what it does.
The script will plot on the chart as well as post the related data into the table.
The default Simple Moving Avg are 5, 10, 20, 50, 120, 200 which can also be changed to whatever SMA you would like. The SMA values are then plotted on the charts so that quickly check to see where they are and how the candles are reacting to the SMAs.
Not only does the script plot the SMAs but it also places higher time frames into the table that is in the script, from current price, to daily, weekly, monthly, quarterly (3 months if you don't have it added) and yearly. The reason why was it price action of the stock does interact and can be rejected or find support from SMA on a higher time frames.
I still use this script so that you can quickly capture the values so that short-term, and long-term resistance and support can be determined during market hours.
Another good thing is that when you change the values in the script settings it also applies those settings to the table as well.
Now it will take a little bit for the table to show up, so please be patient. I have tested it with stocks, forex, and crypto.
I wanted to get this published and I am still working on the background to try and get EMAs. Where you can flip over to EMA to also see the EMA plots and table values for the MTF.
Triple Weekly Moving AverageTriple Weekly Moving Average
The default settings plot 3 weekly moving averages for 13, 26 and 52 weeks, for analyzing Short (Quarterly), Medium (Semester) and long term (Yearly) view.
Idea is when the three moving averages are aligned, the security is in trend and when they crisscross the security may be either turning, slowing down or stalling, however, this must be correlated with other studies.
Started observing half yearly moving average after reading Stan Weinstein's Secrets For Profiting in Bull and Bear Markets .
The settings of the indicator are pretty self explanatory. The indicator gives an option to select lookahead , however, change it only when you are well aware of the consequences, the default setting is Turned Off , please follow TV user guide for a detailed explanation on lookahead. I added it as I was plotting this script on Daily timeframe and wanted to observe the changes.
EMA ON MA SETSOORY FOR MY EINGLISH
ITS NOT MY NATIVE AND IM NOT GOING TO GOOGLE TRANSLATE THIS
this is a beuaitful indicator that plot EMA that gat is calc from another ma and length for your choise so you will get an = 'ema on ma '
it can plot you more beautiful results and more smoothing results
i added golden/death cross for all ma
enjoy !
היי חברים זה בעצם אינדיקטור של ממוצע נע על ממוצע נע לנוחיכותכם
הפלט הראשי הוא EMA
הוא לוקח את החישוב שלו ממוצע אחר והאורך שתגדירו
נותן תוצאה יותר חלקה של ממוצעים נעים
הוספתי חתיוכים בין ההמוצעים
תהנו.
pickle financialversion 1.0
A multi-use indicator
FEATURES:
1) Robust VWAP with up to 3 deviations that can be adjusted for Session, Week, Month, Quarter, Year, Decade, Century, Earnings , Dividend, & Split intervals
2) 20 customizable Moving Averages that can be changed to EMAs, SMAs , WMAs, SMMAs, and VWMAs; can also be adjusted to Candle Closes, Highs, Lows, Opens, HLC3, HL2 , OHLC4, & HLCC4
-Praise be lady VWAP
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
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