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!
Sma
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.
Seer by EY84This is a strategy based on Exponential Moving Averages or Volume Weighted Moving Averages against Adaptive fib resistance / support level and profit percentage which can be definetly defined by user and targeting small profits(profits will be raised by leverages).
In this strategy, there are predefined values which are collected one by one with statistical background and backtests. This gives an advantage to see which ratios are working better for each symbol.
Also this statistics are re-evaluated monthly and if there is a need they are goging to be changed with the help of libraries. Also IT IS RECOMMENDED TO USE IN HOURLY INTERVAL GRAPHICS!!!!
When we deep dive to strategy, it is based on profit percentages. it is similar to the MOST system. MOST only changes the way with default value of %2. But this hardcoded strategy is not working well with each Symbol.
So this is the point where Statistics are involved.
For Ex. while BTC is suits well with %2, it does not do wonders for RSR or RUNE which is 4-5% for each.
Library stores these values as a predefined options. Also it is allowed to change these predefined values within the settings of this strategy.
what is next ? Lets see how are we closing the positions.
Script checks cross of EMA / VWMA and adFib to decide open a position. In reversal / crosses, adFib line had been set to defined Fib. Percentage level. This sets the Full Position close / SL value for current order.
OK! we got the SL but how we get the profit ?
Now this is the place where Profit Percentage (PP) parameter involved. After the position opened it is waiting for PP to be reached. After PP had been reached, close signal had been raised for the HALF of the OPEN ORDER (with the BAR CLOSURE!!).
so tricky part has come here. Remaining position is still open and when "total available profit with remaining amount" had been reached to PP it wil raise the Close Half signal will be raised.
what happens to the SL position ? TWO possible scenarios will be raised here.
Case 1. Reversal on the adFib (short-to-long or long-to-short) will trigger full close signal.
Case 2. If the level drops the previous signal system will generate full close signal again.
Example 1:
Long Order Open : 100$
Half Close Signal : 110$
Case 1: adFib Reversal occurs : 105$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 100$ ==> Only Triggers Full Close Signal.
Example 2:
Long Order Open : 100$
Half Close Signal : 110$
2. Half Close Signal : 121$
Case 1: adFib Reversal occurs : 115$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 110$ ==> Only Triggers Full Close Signal.
Beside of these, strategy is also includes editable 4 EMA, 1 WMA, 1 AVWAP and Bollinger Bands Plotting (2.5x Multiplier) who wants to use them as a supportive statistics.
All feedbacks are welcome.
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.)
EMA Levels, Multi-TimeframeThe exponential moving average (EMA) tracks price over time, giving more importance to recent price data than simple moving average (SMA). EMAs for larger timeframes are generally considered to be stronger supports/resistances for price to move through than smaller timeframes. This indicator allows you to specify two different EMA lengths that you want to track. Additionally, this indicator allows you to display not just the EMA levels of your currently viewed timeframe on the chart, but also shows the EMA levels of up to 4 different timeframes on the same chart. This allows you to quickly see if multiple EMA levels are aligning across different timeframes, which is an even stronger indication that price is going to meet support or resistance when it meets those levels on the chart. There are a lot of nice configuration options, like:
Ability to customize the EMA lengths you want to track
Style customization (color, thickness, size)
Hide any timeframes/levels you aren't interested in
Labels on the chart so you can tell which plots are the EMA levels
Optionally display the plot as a horizontal line if all you care about is the EMA level right now
Moving Average MultitoolI made this script as a personal tool while backtesting multiple moving averages. It allows you to easily access and switch between different types of moving averages, without having to continuously add and remove different moving averages from your chart.
It also has the option to show the a 14 period average distance between the closing price of an asset and the selected moving average, as a multiple of ATR. This number can be shown by enabling the "Show ATR Between MA and Close" setting. The intention of this value is to quantify and compare the speed of different moving averages across any instrument and any timeframe. The higher the value, the slower the moving average. The lower the value, the faster the moving average.
Cloud Ribbon ++ by [JohnnySnow]Inspired by my favorite EMA ribbon - "EMA Ribbon " by fskrypt.
This Ribbon ADD the option to choose the avarage algorithm of the ribbon .
Created also to be more friendly to read along with trendlines and Fibonacci retracements.
For those like me that NOT use this ribbon to find exact price action but instead, to have a grasp of possible Support/Resistance strenght ahead.
High transparency lines and a configurable color palette for filling the background give the ribbon a look of support/ Resistance cloud Strenght.
Each MA length, line, and background color can be easily configured.
library TypeMovingAveragesLibrary "TypeMovingAverages"
This library function returns a moving average.
ma_fast
ma_slow
MA_selector()
Example
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © hapharmonic
//@version=5
indicator("Test MATYPE", overlay=true)
import hapharmonic/TypeMovingAverages/1 as MAType
xprd1 = input(title=' 💉Fast EMA period', defval=12)
ma_select1 = 'EMA'
xprd2 = input(title=' 💉Fast EMA period', defval=26)
ma_select2 = 'EMA'
xsmooth = input.int(title='🏄♂️Smoothing period (1 = no smoothing)', minval=1, defval=1)
ma_fast = MAType.MA_selector(close, xprd1, ma_select1,xsmooth)
ma_slow = MAType.MA_selector(close, xprd2, ma_select2,xsmooth)
plot(ma_fast, "INDICATOR",color.green)
plot(ma_slow, "INDICATOR",color.red)
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////
Of course, you can run these types just by adding options. 'ma_select1 ' and 'ma_select2'
SMA', 'EMA', 'WMA', 'HMA', 'JMA', 'KAMA', 'TMA', 'VAMA', 'SMMA', 'DEMA', 'VMA', 'WWMA', 'EMA_NO_LAG', 'TSF', 'ALMA'
Moving Average Gradient (MAG) The Moving Average Gradient Indicator uses multiple Moving Averages to create a gradient. It creates continually more faint MAs, filled upwards or downwards to the price at a certain opacity. It can be used efficiently for stocks, forex, crypto, and more. This indicator combines numerous Moving Averages of your choice, a few of which include:
EMA
SMA
WMA
HMA
RMA
DMA
LSMA
VAMA
TMA
MF
Using this indicator will make entries more simple because crossovers and crossovers can more easily be detected, either manually or using alerts. These multiple Moving Averages allow for a smoothed out price trend, and the filtering of irregular and odd short-term price fluctuations. Due to the ample count of price trends that are widely used, it is difficult to view the market through the eyes of all types of investors/traders. This indicator manages to counter exactly that, you will be able to see all existing trends and enter/exit positions accordingly. This indicator can be used with all chart types and works well with many other indicators. It allows for complete customization and offers easy-to-understand settings which can be designated to a certain individual. You can modify every single factor of the MAs which allows for an even more personalized and adapted Indicator that reflects your trading/ investing inquiries. Most importantly, it looks cool.
A few of the technical settings you can change are:
Moving Average Count (Select how many do you want to be displayed.)
Moving Average Type (EMA, SMA, WMA, etc.)
Source (close, open, high, low)
Separate MA Length (The length of each Moving Average, its lookback. How many previous candles should it be based on? Choose each Moving Average's lookback length.)
You can also change the style settings of the indicators like:
Progressive opacity percentage (By how much will the next MAs fill affect the other? 1st: 50%, 3rd: 30%, 4th: 20%, 5th: 10%)
Bullish Candle Color
Bearish Candle Color
This indicator is unique because it can be used for all strategies and all trading styles, for example, day trading or long-term investing, really anything if used correctly. The reason it can be used in so many instances is a result of the detailed and in-depth settings tab. This allows the indicator to be used and to be useful in various situations and allows you to dominate the market. You can either increase the MA length difference by progressively small amounts for day trading and create bigger gaps in the MA length difference for swing trading or long-term investing. Integrated alerts also enhance your efficiency while using this indicator because you can choose to be notified at the crossovers and crossunders of a pair of Moving Averages.
The technical portion of the indicator creates and plots the chosen amount or count of Moving Averages as specified in the settings tab. Then it fills each MA using the selected color and opacity. Afterward, it adapts the moving Averages to use the inputted data from the settings tab and uses it to plot them accordingly.