Rainbow Trend IndicatorThis is an indicator based on the MA rainbow concept. It is possible to choose between 15 or 20 MA's and if all 15 MA's is picked, the calculation will be calculated on 15 MA's and if 20 is picked the calculation is calculated on 20 MA's. The indicator will then be a line which is assigned a value from the calculation based on the MA's. If the line is above the dashed zero line, meaning the line's last value is a positive value, the price is in a uptrend and if the line is below the dashed zero line, meaning the line's last value is a negative value, the price is in a downtrend.
In short
If the line is green, the price is in a uptrend. If the line is red, the price is in a downtrend.
Sma
NSDT Anchored MAThis script allows you to choose a starting point or "anchor" for a moving average. You can choose an EMA, SMA, or WMA and set the length and the source (close, open, hlc3, etc...). Keep in mind that it needs to count the number of candles you specify as the length in order to begin an accurate representation. So we suggest to start the plot earlier since it will need time to calculate the "average". For example: If you choose 20 as the length, it is going to take 20 candles to become accurate.
Triple SMA Strategy with entries based on sma price closesHi! :)
This strategy is made for intraday trades, especially on 5 sec - 5 min charts to follow the trend.
I have not tested on higher timeframes, but feel free to play with the values.
I have set a basic value for the 3 SMA at
-200
-400
-600
We will use an oscillator for entries which is not mine. Link ->
The oscillator mentioned above is just for visualization purposes, You do not need to get the signals, but You can see how scripts are generated with different values.
When the price above/below all the 3 SMA and oscillator crosses above/below "value you set" - You will get the buy or sell signal.
Your stop will be where the slowest SMA is.
Pyramiding is set for 10.
You can manually set 3 take profit and quantity levels.
Basic values are 1 %, 2 %, and 6 % for taking profits - You can change it based on how volatile the asset is.
Basic quantity values are 30 % at each level.
Hope You find it useful :)
NMK EMA 6 + MA 9 + EMA 50Conceived by Murad Khalid
Shows the GC of EMA 6 and MA 9
Shows the DC of EMA 6 and MA 9
Use EMA 50 as the dynamic support
TradiKator 01 MATradiKator 01 MA is the a visual indicator that plots market capitalized cost following moving average (SMA and EMA) , based on LEI & LoneCapital defined metrology method and includes the TradiKator creative idea to help visualize the Price action in relation to the market capitalized cost.
Q&A
Q1.Why Moving Average ?
As LEI & LoneCapital explained moving average is indicating market capitalized cost moving.
If you are a trend following trader, you should participate in upside while sidestepping downside.
You need a indicator that help you to make money while prices are rising, then exit when they are falling.
A classical approach is the moving average strategy.
Nevertheless as efficient-market hypothesis (EMH) states that asset prices will reflect all available information.
The smart trader should focus on price moving i.s.o. reading all available information which is not practical.
Q2.What is Moving Average ?
As the name implies, the moving average is an average of a price's movement over time.
The simple moving average (SMA) is a just simple average over time.
The exponential moving average (EMA) on the other hand gives greater weight to more recent price action.
Q2.What are the Period Moving Average based on ?
The default Moving Average Period setting are based on LEI & LoneCapital defined Short term 20 (days in month), Mid term 60 (days in quarter), Long term 120 (days in half year).
We use 3 colors to represent these 3 periods. Black as Short term , Red as Mid term , Blue as Long term
You will see same color scheme in our indicators.
Of cause you can change the default setting to switch to your favorite Moving Average Period. How to do it is listed in setting.
Function and Setting
1.MA period setting
"Adjust All MA Period" --> Users can increase or decrease all 3 period in the same time. For example, input "-1" , you will have 3 periods as "19","59","119"
"Fix the M_MA=3*S_MA,L_MA = 6*S_MA (overwrite below 2 settings)" --> It will fix the Mid period as 3 times of short, Long period as 6 times of short. Meanwhile the separated setting for Mid and long will be ignored.
"3 period separated settings" --> Please disable the "fix ..." setting for individual 3 periods
"Source" --> Allow user switch used source from "close" to any other data source like"hl2","hlc3" and etc.
2.Deduction price Setting
"Show deduction price label (Pls disable the angle)" --> Will show 3 deduction price. Please disable the "Show Angle ..." before enable this switch.
"Arrow on Slope (Deduction vs Today Which is higher)" --> Will show 3 arrows aim to the higher price between Deduction and Today.
Also the dashed slope line will change to solid line. It helps when Deduction is very close to Today
3.Angle for slope line ---> Killer feature
"Show Angle ..." --> As LEI & LoneCapital explained current trend can be described as "o'clock direction wise" .
By measuring current trend's "angle" we can has a fuzzy image about current trend.
Note: In fact there is real 12 o'clock or 90 degree, therefore we define our "90 degree" and all called value of "angle" is based on our defined metric.
Also everyone has different opinion about the start point of current trend.
We choose the 3 MA periods as the start point to measure the angles.
There are 3 mod prepared for the angle measure metrology.
Abs % --> "90 deg" = increase 100% in 20 days. It is the most robust mod.
1Y rel % --> "90 deg" = increase 50% of 1Y Absolute price range in 20 days. It can't be used in case of minus price.(like CL future in 2020 Mar)
1Y rel log --> "90 deg" = increase 50% of 1Y log scaled price range in 20 days. Also it can't be used in case of minus price.
4.Deduction price trail and Background color
"Show Deduction price trail" --> Enable it to show the 3 Deduction prices' trail.
"Show trail in the coming days" --> Enable : the prices' trail is showed in the coming days. Disable : the prices' trail is showed on the MA period historical days.
"MA long term Trend Background Color" --> Similar to the "fill EMA with color", fill the Background with color which represent the EMA trend.
5.High volume and Show gap
"High volume label" --> Highlight the high volume with label.
We define the volume which is higher than percentile value of 3 MA historical volume statistical metrics.
So the black label means this volume is higher than 97 percentile value of 20 days' volume. Red 60 days and Blue 120 days.
The percentile can be set by user. Also the MA period can be adjusted by user.
"Show gap" --> Highlight the gap between close and next day open.
Note: We don't measure whether the gap is closed or not.
6.Forecast SMA ---> Killer feature
As you noticed the dashed line after today, it is our killer feature: forecast SMA.
Green Dashed line: The close price according to the assumption user input.
3 colors' Dashed lines: The SMA based on the Green Dashed line's close price.
"Days to plot forecast SMA (Max=14, SwitchOff=0)" --> Please decide how many days' SMA user would like to forecast.
"Mod1 Assumed chg ratio ‰ in the every days (10=1%)" --> Mod1: User should give the change rate in the coming every days. For example, user's assumption is that price will increase 10% everyday.
"Mod2 Assumed chg % in the ?th day (1=1%)(Pls set Mod1 to 0)" --> Mod2: User should give the change rate in the future ?th days. For example, user's assumption is that price will increase 30% in the 3rd day.
"Mod2 Need ? day to reach the chg % (tomorrow = 1 day)" --> Mod2: User should give the future ?th days.
note: While using Mod2, user has to disable Mod1 by set Mod1 to 0 (default setting)
TradiKator is Traders' indicator.
Please visit TraiKator for more free script.
We also support Chinese.
Combined EMA & MA crossovers [CDI]Implementation of the strategy of moving averages crossings combining two fast and two slow that are used to confirm the entry.
The purpose is to be able to quickly see a backtesting of the strategy by easily configuring the profit / loss percentage. In this script the profit percentage is used for the loss percentage as well.
Additionally you can see the moving averages all in a single chart tool.
In the community to which I belong, this strategy is used in daily candles, especially for swing trading, but it can be used in different time frames.
WARNING:
- For purpose educate only
- The entries are used under your responsibility
Multiple Moving AveragesThis script adds up to 5 moving averages to your chart - and you can select which moving average type (and timeframe) you want to use for each.
The possible MA type options are:
EMA
SMA
HMA
WMA
DEMA
VWMA
VWAP
You can specify the length of each moving average, and you can override the type of all moving averages with the setting "ALL MA TYPE".
There is also higher-timeframe functionality, so you can select the timeframe for each moving average.
If the "Smooth HTF MA" setting is turned on then the script will fill any gaps in intraday price data by averaging the difference (giving it a regular smooth look), and if it's turned off then the HTF MAs will have a "stepped" look to them. Technically speaking, the non-smoothed setting is more accurate and so it's turned off by default.
And finally, the first option "Color MA 1" will change your first MA's color based on whether price action is above that MA's price or below it. If it's above it then the color turns green, if it's below it then it turns red.
If you set an MA's length to zero it will disable that MA.
The source code is protected but available on my website (link in my profile).
Enjoy! Good luck with your trading :) 😎
Backtest Signal To Noise This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
© HPotter 05/01/2021
The signal-to-noise (S/N) ratio.
And Simple Moving Average.
Thank you for idea BlockchainYahoo
WARNING:
- For purpose educate only
- This script to change bars colors.
SwingScalpin MA'sDefault
HMA's + Trend Signals
Default SMA's
ALMA
BarColoring
The idea behind this script was to incorporate a few different moving average types into 1 indicator so multiple trading strategies could be implemented depending on Price Action. This indicator includes 3 HMA's, 2 user defined EMA/SMA's, 1 ALMA (which also is used for the bar coloring), and Trend signals at the bottom of the chart (which are defined by the 1st MA). By default all of the Moving Averages are set to false because they aren't meant to be used together unless you so chose to. The only feauture initially being shown are the Trend signals at the bottom of the screen.
HMA's - The default lengths for the HMA's are 7, 14, and 21.
This is not Financial Advice nor am I saying this works all of the time but here are a few examples of how I've traded the HMA's... OF course thid depends on overall PA but the idea is to enter and exit when all
three HMA's turn Green or Red...
For quicker entries and exits, you could enter when the Fast HMA crosses the Medium HMA and exit when the it crosses back over/under the Medium HMA.
For more of a swing trade and when there's definitely an established trend, I would stay in the trade until Fast HMA crosses under the Slow HMA, otherwise it might just be a normal retrace prior to making another move up.
When PA is ranging but not really trending in either direction, I'll use the Slow HMA as somewhat of a Trailing SL.
The 2 user defined moving averages can either be an EMA or SMA. The 1st MA is set to the 200 SMA by default, which also triggers the Trend signals at the bottom of the chart. The 2nd MA is set to the 6 SMA by default.
The ALMA is set to 50 by default, which is also used for the bar coloring. Lastly, all of the MA's change color depending on the trend.
Custom Moving Average (EMA & SMA)This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
enable (disable) the plot of MA;
select whether the MA is an EMA or an SMA;
the length;
the source (open, close, ...);
the offset value (default is 0).
Note:
The 1st MA is an EMA with length 50.
The others MAs are SMA with length 9, 30 and 100 respectively.
Moving Average Compilation by CryptonerdsThis script contains all commonly used types of moving averages in a single script. To our surprise, it turned out that there was no script available yet that contains multiple types of moving averages.
The following types of moving averages are included:
Simple Moving Averages (SMA)
Exponential Moving Averages (EMA)
Double Exponential Moving Averages (DEMA)
Display Triple Exponential Moving Averages (TEMA)
Display Weighted Moving Averages (WMA)
Display Hull Moving Averages (HMA)
Wilder's exponential moving averages (RMA)
Volume-Weighted Moving Averages (VWMA)
The user can configure what type of moving averages are displayed, including the length and up to five multiple moving averages per type. If you have any other request related to adding moving averages, please leave a comment in the section below.
If you've learned something new and found value, leave us a message to show your support!
KISS Strategy: SMA + EMA//Hello my fellow investors
//I am creating a simple non-cluttered strategy that uses 3(+1) simple means to determine: viability, entry, and exit
//1) Has a consistent trend been maintained for several days/weeks
//2) SH SMA crossover LG SMA = Bullish entry/LG SMA crossover SH SMA = Bearish entry
//3) Use the Slope factor & Weeks in Trend (WiT) to dertermine how strong of an entry signal you are comfortable with
//4) Exit position based on next SMA cross and trend reversal or stop loss%
//3+1) For added confidence in trend detection: Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
//*)This code also allows you to determine your desired backtesting date compliments of alanaster
The chart shown has:
Starting Capital: $10,000
Investment percent per trade: 1.5%
Stop Loss: 20%
Take Profit: 100%
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi.
There are 3 MA types you can select - EMA / SMA / HMA
The colour is based on the slope.
I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at candlesticks. Turns out, I was going down the wrong road. Now I'm looking into using the real OHLC values for generating signals but watching the Heikin Ashi chart as I find it easier to see trends on it.
Hopefully its useful to some people, and if you have any suggestions for improvements I'd love to know.
[MACLEN] HODL ZONE RENKO
PLEASE READ!
Trade at your own risk. Please read about renko charts before using this indicator. This indicator is for educational purposes only.
This Indicator is only valid in renko charts with 1 second timeframe. For BTCUSDT . With the traditional method and the size box of 80.
With this indicator we can detect zones of buy and sell. Even that is not recommended to use leverage, I use it to find an entry and use only small leverages. It could be also used to accumulate and HODL bitcoin .
Please, comment anything.
POR FAVOR LEER!
Tradea bajo tu propio riesgo. Por favor lee sobre las graficas renko antes de usar este indicador. Este indicador es solamente con fines educativos.
Este indicador es válido solamente en graficas renko con un timeframe de 1 segundo. Para BTCUSDT . Con cajas del método tradicional de un tamaño de 80.
Con este indicador podemos detectar zonas de compra y venta. A pesar de que no es recomendable usar apalancamiento, yo lo uso para encontrar entradas y solo uso apalancamientos pequeños. También podría usarse para acumular y holdear bitcoin .
Por favor, escríbeme cualquier duda o comentario.
Multi Time Frame Moving Averages [Anan]Hello friends,
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
SMA
Smooth SMA
SuperSmooth MA
EMA
DEMA
TEMA
Triangular MA
QEMA
RMA
Hull MA
KAMA
WMA
VWMA
VWAP
CTI
LSMA
VIDYA
Blackman Filter
Adaptive RSI
also there is an option to see the Average of four lengths, i backtest this and found it super great !
ARI-DPO TrendThis is a new indicator that uses DPO (Detrended Price Oscillator) and calculating its HMA 200 and EMA 200 is able to show the current price direction.
if the line is below 0 the market is in a downtrend in the short term, otherwise, the market is in an uptrend.
if the line is red, the market is in a downtrend in the long term (bearish), otherwise, the market is in a long term uptrend (bullish)
a sequence of red/green lines means that the market is choppy
Currently, I'm using it with cryptocurrencies to assess if the short term price action.
How it works:
the indicator calculates the DPO (default 21 periods) and its HMA (default 200 periods) and EMA (default 200 periods) and shows if the DPO is above both HMA and SMA (indicator line above 0 and green), below both (indicator line below 0 and red) or between (the indicator line and the colour are not matching: e.g. red line above the zero or green line below zero). the latter is the classic situation of a choppy market or a possible short term reversal.
The aim of this indicator is to find a good entry point for long/short positions.
I'm still testing and improving it, please
let me know in the comments if you find this useful. Cheers!
SMA + Trend Strength + Trailing Stop LossThe 'SMA + Trend Strength + Trailing Stop Loss' indicator was designed for swing trading long positions over the course of days/weeks. The benefit of the indicator is to identify areas where the market of a given asset is showing signs of a strong uptrend, divergences, and fear. A 13-bar simple moving average is color coded to four colors based on 5 given conditions at a time, which are represented as a trend meter on the bottom right of the screen. A trailing stop loss indicator is included to secure your profits or limit your loss in case the market reverses on you unexpected. Please use this indicator responsibly with proper risk management, and never rely on the indicator by itself for buy and sell signals.
When the simple moving average color is green, it means that at least 4 of 5 conditions are confirming a move upwards, this is when you can take an entry into a trade based on your entry strategy. As the trend continues, the color will eventually change to yellow signaling a divergence. This is when you can use your exit strategy to find a good point to sell. It is wise not to take new positions when the color is trending yellow.
If the color changes from yellow to orange, that is a warning sign that the trend is about to change or has begun to change. Prices may have already fallen. However, sometimes the color will change from yellow back to green signaling a continuation of the trend. You can either keep holding or take a new position in this instance.
When the color is red, this signals fear in the market, you should stay out of the market at first. However, as the market consolidates and the color starts changing back to orange, this is an opportunity to take a long position at a reasonably low price.
Simple Moving Average (13-Bar) Color Explanation:
The colors change based on 5 market conditions represented in the trend meter.
Green: Strong Uptrend
Yellow: Divergence Present
Orange: Warning
Red: Fear
Trend Meter Explanation:
The trend meter draws 5 arrows indicating bullish or bearish presence.
LL = Lower Lows - Detects when the market is trending with lower lows.
HH = Higher Highs - Detects when the market is trending with higher highs.
MA = SMA Direction - A formula is used to determine the direction of the SMA.
DI = Directional Index - Identifies when upwards momentum is trending.
RSI = Relative Strength Index - Identifies when the RSI is in an uptrend state.
Note: For advanced users, this indicator has a hidden DMI(4, 4, 4) and RSI(14) indicator used to determine the last two conditions. The Directional Index is based on a DI Plus momentum moving average to determine a momentum trend and the RSI trending over 50 will constitute an uptrend signal as below 50 it will point down.
Trailing stop loss:
The trailing stop loss is determined based on the lowest price of the last 8 bars.
A gray step-line is drawn at the suggested stop activation price.
A red step-line is drawn at the suggested stop limit price.
When the price breaches the trailing stop, a red X will appear below the bar.
You can turn each of these features on or off based on your preference. Happy trading!
7EMA_5MA with Next Openbased on storwize's EMA/SMA script. Added a forecasting for the where the EMAs/SMAs will be in the next bar assuming a close where it currently is.
3MA with Perfect Order Alert / 移動平均線パーフェクトオーダーJapanese below / 日本語説明は下記
This indicator shows 3 sets of MA(Moving Average) and perfect order alert.
What is Perfect Order?
Perfect order means that multiple MA(s) are in ascending order from short term MA to long term MA in upward trend and in descending order from long term MA to short term MA.
e.g. Let’s say you set 3 MA like;
MA1(short term): 5MA
MA2(mid term): 20MA
MA3(long term): 50MA
and if these MA are in ascending order from 5MA to 50M in upward trend, this is perfect order.
Likewise if 3MA get in descending order from 50MA to 5MA in downward trend, this is perfect order.
What does Perfect Order mean in trading?
Perfect order means that markets move with strong trend and good opportunities to trade following trends.
Specifications
-You can set 3 MA on this indicator, however, have to set periods of MA according to the label of each MA: short term, mid term and long term or the indicators cannot judge perfect order.
-Each MA can select SMA or EMA.
-If 3MA become perfect order(PO), then signal will be shown on the chart with green triangle for ascending perfect order which suggests potential buying opportunity and red triangle for descending perfect order which suggests potential selling opportunity.
-You can control display of the signal ticking/unticking the checkbox at parameter.
Sample chart with the indicator
——————————————————————————————
3本の移動平均線(MA)とパーフェクトオーダーのシグナルを表示するインジケーターです。
パーフェクトオーダーとは?
パーフェクトオーダーとは複数の移動平均線が、以下の順番に並んだ状態のことを指します。
・上昇トレンドの場合
移動平均線が上から短期・中期・長期の順番に並んだ状態
・下降トレンドの場合
移動平均線が上から長期・中期・短期の順番に並んだ状態
パーフェクトオーダーが意味するものは?
パーフェクトオーダーが発生した状態とはマーケットが非常に強いトレンドを伴って動いていることを示します。トレーダーにとってはトレンドフォローでトレードするチャンスとなります。
機能概要
・このインジケーターでは3本の移動平均線を設定することができます。ただしパラメーター設定画面で指定された、短期・中期・長期に合うように、それぞれの移動平均線の期間を設定する必要があります。
例えば5,20,50期間の3本の移動平均線を設定する場合、短期欄に5,中期欄に20,長期欄に50と設定する必要があります。(それ以外の場合はパーフェクトオーダーのシグナルが表示されません。)
・それぞれの移動平均線はSMAかEMAを設定することができます。
・移動平均線がパーフェクトオーダーとなった場合、ローソク足の近くにシグナルが表示されます。緑が上昇パーフェクトオーダー、赤が下降パーフェクトオーダーです。
・シグナルの表示有無をチェックボックスで制御できます。
チャート表示例
Crypto EMA+MA+MACS by hobbeLeThis is an indicator that includes several EMAs and MAs (Used in Cryptotrading).
In addition, the Golden and Death Cross are also displayed.
Used MAs
MA 7 - Orange Line
MA 21 - Yellow Line
MA 25 - Grey Line
MA 99 - Blue Line
MA 200 - Green Line
Used EMAs
EMA 200 - Grey Dotted Line
EMA 222 - Pink Dotted Line
Golden Cross
Crossover MA25 + MA200
Death Cross
Crossunder MA25 + MA200
What is a Moving Average (MA) ?
A moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations.
Moving average is a trend-following, or lagging, indicator because it is based on past prices. The most common applications of moving averages are:
to identify the trend direction
to determine support and resistance levels
The two basic and commonly used moving averages are the simple moving average ( SMA ), which is the arithmetic average of a security over a defined number of time periods, and the exponential moving average ( EMA ), which gives greater weight to more recent prices.
What is a Golden Cross?
The golden cross is a candlestick pattern that is a bullish signal in which a relatively short-term moving average crosses above a long-term moving average. The golden cross is a bullish breakout pattern formed from a crossover involving a security's short-term moving average (such as the 15-day moving average) breaking above its long-term moving average (such as the 50-day moving average) or resistance level. As long-term indicators carry more weight, the golden cross indicates a bull market on the horizon and is reinforced by high trading volumes.
What Is a Death Cross?
The death cross is a technical chart pattern indicating the potential for a major selloff. The death cross appears on a chart when a stock’s short-term moving average crosses below its long-term moving average.
Source; Investopedia
Price Weighted MomentumThis indicator is a momentum indicator that is standardized by price. A.K.A (momentum / price)
The purpose of this indicator is to compare momentum between different assets regardless of price.
EX: Bitcoin will always have more momentum than XLE because it's price is $19000 (as of writing this) compared to XLE's price of $40 (as of writing this). But if you divide the momentum by price, you get a standardized value to better compare the 2.
This indicator can be used to compare everything on TradingView.
HOW TO USE/INTERPRET
Positive values denote an uptrend
Negative values denote a downtrend
A value of 0 (or very very close to 0) denotes sideways price action
WHAT'S INCLUDED
Price Weighted Momentum (Unsmoothed by default)
Optional smoothing with either a simple or exponential moving average
Side note: I only added functionality of smoothing for EMA and SMA for my personal uses, but if you want a version of this with another way of smoothing (e.g. HMA, SSMA, etc.) that you would like, the cost of me adding that for you is a follow on Twitter. Just DM me there :)