Staple MAsThis is a useful indicator which allows you to plot multiple common predefined Moving Averages (Ema and Sma). Here are some of its features:
Ability to quickly display many common EMAs and SMAs.
Multiple timeframes.
Descriptive labels to avoid misreading.
Simple and well-organized Input Tab.
Sma
Bogdan Ciocoiu - CoordinatorDescription
The Coordinator is an indicator developed on the back of the RSI algorithm, modified substantially to form a cloud. In addition, the Coordinator uses EMA/SMA to compare the location of the RSI cloud with the chosen moving averages (EMA vs SMA).
This indicator is helpful as it confirms when a trader should enter a position or exit based on the proximity of the RSI cloud to the relevant MA.
Uniqueness
The Coordinator provides unique benefits, including:
It shows the strength of the RSI in the shape of the RSI cloud, using two sets of dimensions (one more long term and one more short-term oriented).
It indicates the positioning of the RSI cloud in conjunction with the relevant moving averages to help traders remain in positions for longer.
It shows the RSI 14 (useful when spotting divergences aligned with the price action).
Open-source
The Coordinator uses the following open-source scripts:
www.tradingview.com
Ichimoku VariationsThe Ichimoku cloud is traditionally constructed from the highest high and lowest low for a number of periods. This script allows for it to be transformed and calculated like more traditional moving averages (e.g. simple moving average, exponential moving average). Since the Ichimoku is normally a system of moving average-like lines, maybe someone out there will learn something from being able to switch to sma, ema, etc etc.
In general, I think no TA indicator is a magic bullet, and you should just use what you like!
Credit: This script utilizes the "Color Gradient Framework" tutorial by LucF (PineCoders) to create gradient visuals, which are also customizable for the user.
Recommended modes:
default
SMA
EMA
SMMA
WMA
VWMA
Tillson T3
Not Recommended (These moving averages are too fast, and probably will require adjusting settings to something like the 20-60-120-30 to make more sense):
HMA
EHMA
TEMA
ALMA
LSMA
Uptrend and Oversold Index Swing Trading System 8H--- Foreword ---
The Overbought and Oversold Index Swing Trading System or short: I11L Hypertrend primarily uses money management Strategies, EMA and SMA and my momentum Ideas for trying to produce satisfactory Alpha over a timespan of multiple years.
--- How does it Work? ---
It uses 20 different EMA's and SMA's to produce a score for each Bar.
It will credit one Point If the EMA is above the SMA.
A high score means that there is a strong Uptrend.
Spotting the strong Uptrend early is important.
The I11L Hypertrend System trys to spot the "UPTREND" by checking for a crossover of the Score(EMA) / Score(SMA).
A low score means that there is a strong Downtrend.
Its quite common to see a reversal to the mean after a Downtrend and spotting the bottom is important.
The System trys to spot the reversal, or "OVERSOLD" state by a crossunder of the Score(EMA) / Score(SMA).
--- What can i customize? ---
-> Trading Mode: You can choose between two different trading modes, Oversold and Overbought(trend) and Random Buys to check if your systems Profitfactor is actually better then market.
-> Work with the total equity: The system uses the initial capital per default for Backtesting purposes but seeing the maximum drawdown in a compounding mode might help!
-> Use a trailing SL: A TSL trys to not lose too much if the trade goes against your TP
-> Lookbackdistance for the Score: A higher Lookbackdistance results in a more lagging indicator. You have to find the balance between the confirmation of the Signal and the frontrunning.
-> Leverage: To see how your strategie and your maximum Drawdown with the total equity mode enabled would have performed.
-> Risk Capital per Trade unleveraged: How much the underlying asset can go against your position before the TSL hits, or the SL if no TSL is set.
-> TPFactor: Your risk/reward Ratio. If you risk 3% and you set the ratio to 1.2, you will have a TP at 3 * 1.2 = 3.6%
-> Select Date: Works best in the 8H Timeframe for CFD's. Good for getting a sense of what overfitting actually means and how easy one can fool themself, find the highest Profitfactor setting in the first Sector (Start - 2012) and then see if the second Sector (2012 - Now) produces Alpha over the Random Buy mode.
--- I have some questions about the System ---
Dear reader, please ask the question in the comment Section and i will do my best to assist you.
MTF 3 Moving Averages (EMA & SMA)Hi, for those of you that like trading with Moving averages, here's a script to view 3 of them at once on MTF scale.
I added the option to switch between EMA and SMA or to view all of them at the same time.
I use the 1D moving averages to look for support and resistance levels on smaller timeframes (1H,4H)
Enjoy!
MM :)
Double Basics - Identify Overbought & Oversold - MultitimeframeI believe that everyone should monitor the basic indicators; EMA/SMA cross, BB and RSI on at least TWO timeframes before making any trading decisions. And because that is only possible on paid subscriptions, I created this indicator for people just getting started.
It allows you to plot all of the mentioned AND 2 weeklies of your choice on 1 chart INCLUDING a higher timeframe, using only 1 indicator.
The EMA's are plotted as ORANGE and the SMA's as BLACK, you can distinguish them by the line size, thin is current chart, thick is higher timeframe.
Same for the Bollinger Bands, Upper lines are red (overbought = sell signal) and bottom lines are green (oversold = buy signal)
The RSI, normally plotted in its own window, are plotted on the scale of the BB of the 2nd timeframe, where the bottom line = 0, upper line = 100 and middle (think black) line = 50. The thin purple line is the RSI of the chart resolution, the thicker purple line is the RSI of the 2nd timeframe.
Finally, the two weeklies are plotted as thick black lines.
Enjoy, and let me know your feedback!
Momentum RibbonThe Momentum Ribbon is a collection of Moving Averages which indicate the severity of pull-backs in a given market.
As the ribbon spreads apart, it indicates more and more significant support/resistance for a trending market. As it is compressed back together, it displays a blue colour to indicate a "cooling" of trend momentum.
Adjustable Moving Average periods and types! You can customize the parameters of your ribbon to your heart's content!
rsisma imkind dailyrsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
Find Best Performing MA For Golden CrossHello!
This script calculates the performance of any asset following a golden cross of two moving averages of any length!
The calculated moving averages are: SMA, EMA, HMA, VWMA, WMA, LSMA, and ALMA
The best performing moving average for the selected data series is listed first, followed by a descending order.
The indicator works on any timeframe, any asset, and can even be used on indicators such as RSI, %b, %k, etc.
The Moving Average Length and Source Are Customizable!
The Moving Averages Can Be Plotted on Most Data Series, Such As:
Close, Open, Low, hlc3, RSI, %B, %K, Etc.
The Script Will Recalculate for the Timeframe (1m, 5m, D, etc.)!
The (XX Candles) Indicates the Average Number of
Sessions the Shorter Ma Remains Above the Longer Ma Following an Upside Cross!
The Percentages (XX.XX%) Indicate the Average
Percentage Price Gain/Loss Following a Golden Cross,
Until the Shorter Ma Crosses Back Under the Longer Ma!
In This Example I Am Using a 63 Session Length for the
Shorter Ma for All Listed Ma Types for Closing Prices, and a 196 Candle Length for the Longer Ma!
Triple MA Buy SellThis simple script show potentiel trade entry points using 3 MA, can be switch by EMA and SMA type.
Adjust the MA(s) Length depending pairs and timeframe you use.
Buy & Sell labels can be display by input settings.
Action are take by the following rule:
Long signal:
MA3 > MA2 > MA1
Short signal:
MA1> MA2 > MA3
Add some filters is really needed to make this usable.
using my "Flat Detect By Bollinger Bands" indicator can be a debut
Mix1 : Ema Cross + Trend Channel [Gu5] - BacktestBacktest of the indicator "Mix1: Ema Cross + Trend Channel "
Trend indicator, by the crossing of moving averages
SMA200 with a channel as a filter confirms the trend.
The crossing of two moving averages, give alert only in trend.
MTF Custom Moving AveragesThis user-friendly indicator allows up to 8 moving averages ( EMA or SMA ) from any timeframe, on any time frame. There are plenty of other MTF MA indicators, each with their own pros and cons. I wanted to make one without the cons:
- Independently set each MA to Exponential or Simple
- No preset lengths
- No preset timeframes
- Optional labels to help keep track of the period/length/type of each plot
- Clean, intuitive input layout
- More than enough MAs available to use one indicator for several use cases... just check/uncheck the ones that are relevant to each chart
Watch for death crosses on the 4hr while monitoring the "Bull Market Support band" (Weekly 21 EMA and 20 SMA ) and checking the Monthly 10 EMA for major support or resistance. Toggle between half of the available MAs for long term BTC trends and use the others for your alts. Use this one indicator to support multiple strategies.
Please leave a comment if you find it useful or have suggestions!
Inspired by the first MTF indicator I found: Weekly Moving Average by TommyTompsen.
NSDT HAMA Candles STRATThis is a STRATEGY based on our popular HAMA Candles Indicator.
It is an "Always On" strategy, meaning it will stay in a Long position until the Short criteria shows up, and then it will close the Long position and immediately enter a Short position.
Since this is a strategy, we added a few more components. The most notable one is the grid at the top right that shows the statistics of whatever the current settings are. The user can change the MA lengths and see the potential results update in real time.
Since this is Always On and uses Moving Averages, we added an ADX setting to help filter our trades in a ranging/choppy market.
The settings will need to be adjusted to find the best fit for your instrument, chart time, and risk management plan.
NSDT HAMA CandlesHAMA (Heiken-Ashi Moving Average) Candles are built using different moving average lengths for the open, high, low, and close. Those levels are then run through the Heiken-Ashi Candle formula to create a new hybrid candle on the chart. There is an additional Moving Average plotted as well for overall direction.
This may be used best for identifying trending markets. By referencing the HAMA Candle indicator, it may help guide you to stay in a trade a bit longer, or wait a bit longer before entering at the beginning of a potential trend.
We added a Gradient Color scheme option for a more colorful view of potential trend directional changes. The gradient code is taken from the Pinecoders Gradient Framework (Pro Advance/Decline Gradient example) at
There are three different Moving Average types to choose from. (EMA, SMA, WMA). All MA lengths can be modified. All colors can be modified. All options can be turned on or off.
This was previously an "invite-only" indicator, but we decided to publish it publicly and open source.
Moving Average CombinationsThis moving average indicator is used to plot either EMA or SMA as per users choice. User also has the options to choose different type of sources for each of the moving average lines like high, low, close etc. Again, flexibility is added to plot moving averages of different timeframe than the current timeframe of the chart. By doing so in daily chart user can plot averages of different timeframe like hourly, weekly or monthly and vice versa. Length is also as per the choice of the user.
So for a example, in a daily timeframe chart you can plot 9SMA High Daily, 200EMA Close 1Hr, 200EMA Close 2Hr, 200EMA Close Daily, 9SMA High Weekly and so on. This will help in play moving average crossovers and contractions.
Label for each moving average line is also added.
Higher TF Moving AveragesScript showing up to 5 different Moving Averages of a Higher Timeframe.
User can select the MA type (EMA or SMA) and its length.
Default are 10, 20, 50, 100 and 200 period SMAs.
The script will also plot optional labels with price display.
All plots and color are configurable.
Moving Average - 365/2/2/2/2 - @DaviG117BITSTAMP:BTCUSD
5 Moving Averages based off 365 period moving average, each iteration half of the previous MA Period Length.
Moving Average Period Length 1 = 365
Moving Average Period Length 2 = 365/2 = 182.5
Moving Average Period Length 3 = 365/2/2 = 91.25
Moving Average Period Length 4 = 365/2/2/2 = 46.625
Moving Average Period Length 5 = 365/2/2/2/2 = 22.8125
Each moving average's type can be changed from
EMA
SMA
RMA
WMA
VWMA
Moving Averages Different Type & SourceThis is a indicator to plot moving averages. User has the option to choose whether to plot SMA (simple moving average) or EMA (exponential moving average). Length of the averages also can be changed by user. The main feature also is use of different source for different length of MAs. Like you can plot 9SMA High with 20EMA Close etc. So, you can plot different types of combinations with type of MA (sma and ema) and Source type (high, low, open, close etc.).
A table also added in the right top to show the values of MA in selected timeframe. The red color indicate current price is below that ma and green color indicate current price is above that ma. Same feature added in plot of ma line by checking toggle color feature option on. It will show green color ma when price is above it and red color ma lines when price is below it.
Pocket Pivots and standard SMA/EMA'sThis script shows Pocket Pivots, up-days with higher volume than the last 9 down-days, directly on the chart below current and historic candles. Pocket pivots can be used to find early entry points within a base since it marks institutional buying. Pocket pivots are marked as black dots below the candle for easier identification.
The script is largely based on Gil Morales and Chris Kacher's method from their books "Trade Like an O'Neil Disciple" and "In The Trading Cockpit with the O'Neil Disciples". Other than pocket pivots, this script also includes the most common Simple and Exponential Moving Averages, and support/resistance lines as well as 3-weeks tight markup on the weekly chart.
This script contains:
- Pocket Pivots, black dots below the candles on all timeframes (Pocket Pivot = an up-day with greater volume than the last 9 down-days)
- Caution marks, red dots below the candles on all timeframes (Caution mark = close below the 10EMA)
- Simple moving averages
- Exponential moving averages
- Support/resistance lines
- 3-weeks tight markup on the weekly chart
Simple moving averages (editable):
- SMA 10
- SMA 20
- SMA 50
- SMA 200
Exponential moving averages (editable):
- EMA 4
- EMA 6
- EMA 10
- EMA 12
- EMA 21
MA VisualizerThe MA Visualizer is made up of 5 Moving Averages (MA)
All MA change color when the price closes above or below the MA line.
The background between the MA line and price will also change color, this creates the Visualizer.
When two or more MA are selected the two visualizer's will combine and create a gradient effect.
Each MA can be adjusted with 6 source selection's to choose from (SMA , EMA , WMA , HMA , RMA , WVMA).
The Visualizer can be turned off while leaving the MA lines turned on and vice versa.
Their is also a MA Cross indicator built-in.
Time Locked Moving AverageSuccinct Description
Generates moving average that stays locked to users desired time preference.
Verbose Description
The default moving average indicator does not stay locked to the chart timeframe. Meaning, if you want to see a 1 day SMA on a 15 minute chart, you have to do math and adjust the moving average length to 96.
Needing to do this constantly (especially while flipping through multiple time frames) was really annoying, so I codded up this script to do it for me... and now it can for you too!
Error Handling
If you receive a 'study error' that says, "function sma references too many candles in history".
Go to the Time Locked Moving Average settings and increase the timeframe interval until error goes away.
Furthermore, UNCHECK gaps, to show real-time approximated moving average values.
Enjoy :)
Kijun Trend IndicatorName: Kijun Trend Indicator
Category: Trend Analysis
Timeframe: All timeframes
Suggested usage: In a trending market, to understand when it is good to enter short (red line) and when to enter long (blue line).
Technical Analysis: The original idea was taken from Larry Williams: an uptrend is identified when the price is above an 18-period simple moving average (SMA) and when at least two candles do not touch the simple moving average with their lows. The opposite is true for a downtrend.
Corrado Rondelli has therefore reinterpreted with Ichimoku aka "ichimokized" replacing the 18-period Simple Moving Average with the 26-period Kijun - as per the original Ichimoku settings.
In order to make the indicator more flexible an Exponential Moving Average (EMA) has also been added.
The indicator plots the chosen line that becomes red when it is good to enter short and blue when it is good to enter long.
Configuration:
- Length: period to be used to calculate the line.
- Type: the line type that can be the Kijun (26-period) or SMA/EMA (18-period)
JC Log($/SMA)Simple script with user-definable:
• SMA denominator days.
• A handy and subtle smoothing function for the numerator, in EMA days. Set to 0 to just use the standard current price. (Defaults to 3 for barely noticeable lag and smoothing.)
• User-definable time resolution, independent of the chart. (Or you can set to use the same as the chart.)