SMA_EMA_CPR_PivotThis Script can do multiple jobs in single indicator.
Like -:
Plot 3 SMA as per your inputs.
Plot 3 EMA as per your inputs.
Plot CPR Levels.
Plot Pivot Levels.
Plot Previous Day High Low.
Indicator can used in Intraday stock trading, Positional Trading and options trading.
Please Enjoy.
Moving_average
Moving Average Compendium RefurbishedThis is my effort to bring together in a single script the widest range of moving averages possible.
I aggregated the calculation of averages within a library.
For more information about the library follow the link:
Basically this indicator is the visual result of this library.
You can choose the moving average and the script updates the chart as per the type.
The unique parameters of certain moving averages remain at their default values.
To have a rainbow of moving averages I also made an indicator:
Available moving averages:
AARMA = 'Adaptive Autonomous Recursive Moving Average'
ADEMA = '* Alpha-Decreasing Exponential Moving Average'
AHMA = 'Ahrens Moving Average'
ALMA = 'Arnaud Legoux Moving Average'
ALSMA = 'Adaptive Least Squares'
AUTOL = 'Auto-Line'
CMA = 'Corrective Moving average'
CORMA = 'Correlation Moving Average Price'
COVWEMA = 'Coefficient of Variation Weighted Exponential Moving Average'
COVWMA = 'Coefficient of Variation Weighted Moving Average'
DEMA = 'Double Exponential Moving Average'
DONCHIAN = 'Donchian Middle Channel'
EDMA = 'Exponentially Deviating Moving Average'
EDSMA = 'Ehlers Dynamic Smoothed Moving Average'
EFRAMA = '* Ehlrs Modified Fractal Adaptive Moving Average'
EHMA = 'Exponential Hull Moving Average'
EMA = 'Exponential Moving Average'
EPMA = 'End Point Moving Average'
ETMA = 'Exponential Triangular Moving Average'
EVWMA = 'Elastic Volume Weighted Moving Average'
FAMA = 'Following Adaptive Moving Average'
FIBOWMA = 'Fibonacci Weighted Moving Average'
FISHLSMA = 'Fisher Least Squares Moving Average'
FRAMA = 'Fractal Adaptive Moving Average'
GMA = 'Geometric Moving Average'
HKAMA = 'Hilbert based Kaufman\'s Adaptive Moving Average'
HMA = 'Hull Moving Average'
JURIK = 'Jurik Moving Average'
KAMA = 'Kaufman\'s Adaptive Moving Average'
LC_LSMA = '1LC-LSMA (1 line code lsma with 3 functions)'
LEOMA = 'Leo Moving Average'
LINWMA = 'Linear Weighted Moving Average'
LSMA = 'Least Squares Moving Average'
MAMA = 'MESA Adaptive Moving Average'
MCMA = 'McNicholl Moving Average'
MEDIAN = 'Median'
REGMA = 'Regularized Exponential Moving Average'
REMA = 'Range EMA'
REPMA = 'Repulsion Moving Average'
RMA = 'Relative Moving Average'
RSIMA = 'RSI Moving average'
RVWAP = '* Rolling VWAP'
SMA = 'Simple Moving Average'
SMMA = 'Smoothed Moving Average'
SRWMA = 'Square Root Weighted Moving Average'
SW_MA = 'Sine-Weighted Moving Average'
SWMA = '* Symmetrically Weighted Moving Average'
TEMA = 'Triple Exponential Moving Average'
THMA = 'Triple Hull Moving Average'
TREMA = 'Triangular Exponential Moving Average'
TRSMA = 'Triangular Simple Moving Average'
TT3 = 'Tillson T3'
VAMA = 'Volatility Adjusted Moving Average'
VIDYA = 'Variable Index Dynamic Average'
VWAP = '* VWAP'
VWMA = 'Volume-weighted Moving Average'
WMA = 'Weighted Moving Average'
WWMA = 'Welles Wilder Moving Average'
XEMA = 'Optimized Exponential Moving Average'
ZEMA = 'Zero-Lag Exponential Moving Average'
ZSMA = 'Zero-Lag Simple Moving Average'
Moving Average Directional IndexMADX is ADX-inspired indicator with moving averages that determines strength of a trend, as well as its direction. Indicator works following:
As the value of MADX increases, so does the strength of a trend
If MADX+ ( green line - bullish MADX ) crosses above MADX- ( red line - bearish MADX ) we consider trend as bullish and vice versa..
There will be situations where MADX- and MADX+ cross multiple times in a short period of time -> that will mean that market indecision is happening and big move will most likely happen after it.
For the calculation of MADX+ and MADX- we need Moving Averages or Exponential Moving Averages with three specific sources ( high, close, low ).
Now, the calculation of each MADX will differ
=> for MADX+: Moving Average (high) / Moving Average (close)
=> for MADX-: Moving Average (close) / Moving Average (low)
Length of Moving Average is editable.
RSI with Slow and Fast MA Crossing Strategy (by Coinrule)This strategy utilises 3 different conditions that have to be met to buy and 1 condition to sell. This strategy works best on the ETH/USDT pair on the 4-hour timescale.
In order for the strategy to enter the trade, it must meet all of the conditions listed below:
ENTRY
RSI increases by 5
RSI is lower than 70
MA9 crosses above MA50
To exit a trade, the below condition must be met:
EXIT
MA50 crosses above MA9
This strategy works well on LINK/USDT on the 1-day timeframe, MIOTA/USDT on the 2-hour timeframe, BTC/USDT on the 4-hour timeframe, and BEST/USDT on the 1-day timeframe (and 4h).
Back-tested from 1 January 2020.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
Signal Moving Average [LuxAlgo]The following script returns a moving average designed to be used as a signal line in a moving average crossover system. The moving average will diverge from the price during ranging markets and reach the value of a regular moving average during trending markets.
Settings
Length: Moving average period
Src: Source input of the indicator
Usage
Moving average crossover strategies often rely on a "signal" line, a slower moving average used to determine a general trend. This signal line is paired with a faster moving average to filter out potential whipsaw trades that would have been given from crosses between the regular price and the signal line.
The proposed indicator will avoid crossing the price by diverging from it during more ranging periods, thus effectively reducing the number of crosses produced between the price and the signal line.
The color of the area between the price and the signal line is determined by the position of the price relative to the signal line, with a green color indicator a price superior to the signal line.
The color of the signal line, however, is taking into account whether market is trending or ranging, only changing once the market is trending.
The chart above shows the cumulated number of crosses between the price and the signal line (green) and a regular simple moving average of the same period (red) on AMD 15m, a lowered number of crosses can effectively reduce the impact of frictional costs introduced by whipsaw trades.
The Hummingbird - MA Ribbon by Joe (EMA, SMA, SMMA, WMA, VWMA)Tired of having to add multiple moving average indicators to your chart? Well, stop doing that. No, really. Listen. Adding duplicate indicators is totally not cool. And, it won't go over well at the next HOA meeting if you keep doing it.
Here's the sweet moving average ribbon you've been waiting for (with 1-10 moving average lines!). It will make your charts look much cooler 😎. And you'll gain the respect of all your neighbors if you add it to your charts.
In all seriousness, this is a slimmed-down version of my other super-awesome script with a stupid name, "Joe's Ultimate MA Ribbon (w/ Crossover Triggers)."
Basically, I removed the crossover signals from it and changed the name to a much superior name, "The Hummingbird."
Yeah. Right on. So, if you don't want or need the crossover signals, go right on humming with "The Hummingbird."
Enjoy, friends. 🍻
If you still want the original ribbon with crossover signals, get it here .
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.
Tide Finder (TiFi)Very helpful for price-action trading. Works excellently with 1-hour time frames and below.
See Tide Finder Plus (TiFi+) if you want help from this indicator in higher time frames.
See also: Adaptive Rebound Line (ARL) .
The idea for this indicator was brought on by the concept of high and low tides and everything related to the concept.
Adaptive Rebound Line (ARL)The Adaptive Rebound Line (ARL) focuses on the rebound of price action according to the trend.
While it does not focus on showing the trend, it does help in anticipating price rebounds.
It achieves this by adapting quickly and by reducing lag.
It is recommended to use this with a trend-identifying indicator.
It was inspired by the Hull Moving Average and the KAMA.
Additional indicator show in the chart is Tide Finder Plus .
RSI + MA, LinReg, ZZ (HH HL LH LL), Div, Ichi, MACD and TSI HistRelative Strength Index with Moving Average, Linear Regression, Zig Zag (Highs and Lows), Divergence, Ichimoku Cloud, Moving Average Convergence Divergence and True Strength Index Histogram
This script is based on zdmre's RSI script, I revamped a lot of things and added a few indicators from ParkF's RSI script.
Disable Labels in the Style tab and the histogram if you don't enlarge the indicator and it seems too small.
Look to buy in the oversold area and bounce of the support of the linear regression.
Look to sell in the overbought area and bounce of the resistance of the linear regression.
Look for retracement to the moving average or horizontal lines, and divergences for potential reversal.
RSI
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Moving Average
Moving Average (MA) is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
Linear Regression
The Linear Regression indicator visualizes the general price trend of a specific part of the chart based on the Linear Regression calculation.
Zig Zag (Highs and Lows)
The Zig Zag indicator is used to identify price trends, and in doing so plots points on the chart to mark whenever prices reverse by a larger percentage point than a predetermined variable or marker.
Divergence
The divergence indicator warns traders and technical analysts of changes in a price trend, oftentimes that it is weakening or changing direction.
Ichimoku Cloud
The Ichimoku Cloud is a package of multiple technical indicators that signal support, resistance, market trend, and market momentum.
MACD and TSI Histogram
MACD can be used to identify aspects of a security's overall trend.
The True Strength Index indicator is a momentum oscillator designed to detect, confirm or visualize the strength of a trend.
displaced wmaHi,
This is WEIGHTED MOVING AVERAGE (WMA) Displaced .
How To Trade Using this indicator:
This moving average may help a person while locking maximum profit when ever a security is falling or rising very fast.
As this is moving along with the candles, very close to them, you can easily see and gauge the momentum of fall or rise...
I have taken help from © RedKTrader and credit goes to him for this script.
Faytterro EstimatorWhat is Faytterro Estimator?
This indicator is an advanced moving average.
What it does?
This indicator is both a moving average and at the same time, it predicts the future values that the price may take based on the values it has taken before.
How it does it?
takes the weighted average of data of the selected length (reducing the weight from the middle to the ends). then draws a parabola through the last three values, creating a predicted line.
How to use it?
it is simple to use. You can use it both as a regression to review past prices, and to predict the future value of a price. uptrends are in green and downtrends are in red. color change indicates a possible trend change.
MTFA - Multi Time Frame Analysis - Moving AveragesThis indicator will help you make better informed trading decisions by showing higher time frame moving averages overlaid on a single chart. You can customise 4 moving averages.
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).
TradingCube : Moving Average : Data tablePlots moving average both EMA as well as SMA on Multiple timeframes at once in a Tabular Format
for rapid indication of momentum shift as well as slower-moving confirmations.
Displays EMA/SMA 5 8, 13, 21,34,55,89,100,200,400 by default as well as provide the users the flexibility to choose the timeframe as per their set up.
SUPRESHi Dears!
I hope that you enjoyed my "FLEX KDJ IND" till today!
Here, I want to publish one of my other golden indicators for you!
Contents:
+ SUPRES
+ SUPERTREND
+ T.O Line
- SUPRES (SUPPORT/RESISTANCE) is sensitive to trading volumes and with "BACHWARD" you can adjust the length of previous indices in investigation and "MEMORY" is an argument for calling maximum lines that have to be kept for "SUPPORT" and "RESIST".
- SUPERTREND is the normal prepared indicator which is defined in "TRADING VIEW"
-T.O is my suggestion instead of "EMA" to check the phase of session.
I hope that you enjoy this Indicator, please do not forgot to "Warm-It-UP"!
Happy trading,
Shakib
SMAs DistancesThis indicator shows 5 configurable SMAs. It also shows a table with the distance of each one with respect to the last closing price. It also shows if the RSI is in the overbought or oversold zone. You can add alerts if you wish.
SMAs by Default 8, 20, 50, 100 and 200
Swing Trend StrategyThis script is a trend following system which uses a long term Moving Average to spot the trend in combination with the Average True Range to filter out Fakeouts, limiting the overall drawdown.
Default Settings and Calculation:
- The trend is detected using the Exponential Moving Average on 200 periods.
- The Average True Range is calculated on 10 periods.
- The Market is considered in an Uptrend when the price closes above the EMA + ATR.
- The Market is considered in a Downtrend when the price closes below the EMA - ATR.
- The strategy will open a LONG position when the market is in an Uptrend.
- The strategy will close its LONG positions when the price closes below the EMA.
- The strategy will open a SHORT position when the market is in a Downtrend.
- The strategy will close its SHORT positions when the price closes above the EMA.
This script is best suited for the 4h timeframe, and shows good results on BTC and ETH especially.
The options allow to modify the type of moving average to use, the period of the moving average, the ATR multiplier to add as well as the possibility to open short trades or not.
EMAs DistancesThis indicator shows 4 configurable EMAs and the distances (values and percentages) to the last price of the stock, etf or index.
Moving Average Converging [LuxAlgo]This indicator returns a moving average converging toward the price the more a trend makes new higher-highs or lower-lows depending on the detected trend.
Settings
Length: Controls the initial moving average smoothing factor ( 2 / (Length + 1) ), as well as the period of rolling maximums/minimums.
Increment: Smoothing factor increment ( 2 / (Increment+ 1) ) for new higher-high/lower-low, lower values would return a faster converging moving average.
Fast: Fast moving average smoothing factor.
Usage
The proposed moving average can be used like most slow moving averages.
Having a moving average able to converge closer to the price the longer a trend lasts allows users to obtain more timely crosses. This practice can remind us of the Parabolic SAR or our TRAMA indicator:
Notice on the chart above how the moving average converges at an increasing rate with the occurrence of new high-highs/lower-lows.
Fibonacci Moving AverageFibonacci moving averages are a more reactive form of EMA utilizing the Fibonacci sequence (1 2 3 5 8 13 ... etc) to weight values.
This method gives several advantages of EMAs: they respond much sooner to price action while still weighting for past values and longer MAs (200 candle, 800 candle) etc moving averages can be calculated from candle 1 - handy for newly listed cryptocurrencies, equities, ETFs, etc.
The script allows for up to 5 moving averages. They can also be set as WMAs which weight older values more than recent to create slow/fast MAs.
They can be used the same way regular EMAs/WMAs are used: crossovers give trade entry/exit points, can indicate trend by alignment with other MAs and by their angle up/down, and - less useful for FMAs since no one else uses them - they can provide resistance.
MA cloud + divergence tensionI noticed how well BTC often bounces off the 200 Moving Averages on the 4HR so started investigating ways of visualising the ongoing relationship between price and MAs.
Firstly, this draws a cloud which is made up of the SMA and the EMA, and it colours the cloud based on how far the price is diverging from the middle of the cloud. If the price is the most extreme distance out of the set (by default, the past 200) the cloud will be coloured dark blue. If it's the closest, it will be transparent.
I then looked at plotting these extremes. If the price passes the sensitivity threshold (default 99 - I will look at adding more sensitivity in the future), and by that I mean the price is more divergent than that percentage of other prices inspected in the range, it plots a circle - green if it's oversold, red if it's overbought.
These signal maximum tension between the price and the moving averages. Though when I say maximum, I'm only referring to the historic range! As you can see, often price diverges even further and so more signals are placed. But usually, this tension is resolved, either by the MA cloud moving towards the price or the price moving towards the cloud. With confluence from other indicators, these could be good points to start taking dollar cost averaging, or start taking profits.
Once that tension is released, and the price and cloud converge closely again, we get a blue "relief signal", which could signal that the price action is about to rebound again.
Please be careful with this, it's only for fun. Not investment advice!
If you have any suggestions, comments, criticism, I'd love to hear them,
Thanks
Colorful RegressionColorful Regression is a trend indicator. The most important difference of it from other moving averages and regressions is that it can change color according to the momentum it has. so that users can have an idea about the direction, orientation and speed of the graph at the same time. This indicator contains 5 different colors. Black means extreme downtrend, red means downtrend, yellow means sideways trend, green means uptrend, and white means extremely uptrend. I recommend using it on the one hour chart. You can also use it in different time periods by changing the sensitivity settings.
Bollinger Bands + Keltner Channel Refurbished█ Goals
This is an indicator that brings together Bollinger Bands and Keltner's Channels in one thing.
Both are very similar, so I decided to make a merge of the best features I found out there.
Here there is the possibility of choosing one of these two as needed.
In addition, I added the following resources:
1. Pre-Defined intermediate bands with Fibonacci values;
2. Detachment of the bands in which the price was present;
3. Choice of Moving Average:
"Simple", "Exponential", "Regularized Exponential", "Hull", "Arnaud Legoux", "Weighted Moving Average", "Least Squares Moving Average (Linear Regression)", "Volume Weighted Moving Average", "Smoothed Moving Average", "Median", "VWAP");
4. Statistics: bars count within the bands.
█ Concepts
Keltner Channels vs. Bollinger Bands
"These two indicators are quite similar.
Keltner Channels use ATR to calculate the upper and lower bands while Bollinger Bands use standard deviation instead.
The interpretation of the indicators is similar, although since the calculations are different the two indicators may provide slightly different information or trade signals."
(Investopedia)
Bollinger Bands (BB)
"Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s.
Bollinger Bands consist of a band of three lines which are plotted in relation to security prices.
The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular).
The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price.
Typically the Upper and Lower Bands are set to two standard deviations away from the SMA (The Middle Line); however the number of standard deviations can also be adjusted by the trader."
(TradingView)
Keltner Channels (KC)
"The Keltner Channels (KC) indicator is a banded indicator similar to Bollinger Bands and Moving Average Envelopes.
They consist of an Upper Envelope above a Middle Line as well as a Lower Envelope below the Middle Line.
The Middle Line is a moving average of price over a user-defined time period.
Either a simple moving average or an exponential moving average are typically used. The Upper and Lower Envelopes (user defined) are set a range away from the Middle Line.
This can be a multiple of the daily high/low range, or more commonly a multiple of the Average True Range."
(TradingView)
█ Examples
Bollinger Bands with 200 REMA:
Keltner Channel with 200 REMA:
Bollinger Bands with 55 ALMA:
Keltner Channel with 55 ALMA:
Bollinger Bands with 55 Least Squares Moving Average:
█ Thanks
- TradingView (BB, KC, ATR, MA's)
- everget (Regularized Exponential Moving Average)
- TimeFliesBuy ("Triple Bollinger Bands")
- Rashad ("Fibonacci Bollinger Bands")
- Dicargo_Beam ("Is the Bollinger Bands assumption wrong?")