[Multi-layers][VDT]New multi-indicator to merge together three of the most popular indicators used by traders in technical analysis:
1) Ichimoku Cloud, with parameters editable by the trader. Default parameters are: 9-26-52-26
2) 3X Simple Moving Average (SMA), with periods editable by the trader. Default periods are: 20-50-200
3) 3X Exponential Moving Average (EMA), with periods editable by the trader. Default periods are: 7-60-200
Traders can decide whether to print or to hide each indicators separately in the graph, creating three different overlays.
Simple Moving Average (SMA)
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 :)
Intraday MAs for Regular/Extended SessionThis indicator will allow you to show multiple EMA/SMAs for different timeframes on your chart. In addition, it can show you indicators calculated from regular and extended sessions, independently of the session type you have selected for your chart.
CRC.i Golden Death CrossThis is a simple reproduction of a common indicator used for analyzing the current momentum trend.
Golden Cross => 50 day simple moving average (sma) crosses over the 200 sma
Death Cross => 50 day simple moving average (sma) crosses under the 200 sma
Forecasting used in this indicator is a simple moving average, considering the price sma with length of (sma period - future bar count).
More articles at
mirror.xyz
medium.com
High-Low IndexHello All,
High-Low Index is a breadth indicator based on Record High Percent (RHP). RHP is based on new 52-week highs and new 52-week lows. RHP => 100 * (new highs) / (new highs + new lows). High-Low Index is a 10-day Simple Moving Average of the RHP, which makes it a smoothed version of RHP. You can find many articles about High-Low Index on the net.
High-Low Index above 50 indicates that there are more new highs than new lows, and considered as Bullish.
High-Low Index below 50 indicates that there are more new lows than new highs, and considered as Bearish.
High-Low Index = 0 indicates there is no new highs (0% new highs).
High-Low Index = 100 indicates that there is at least 1 new high and no new lows.
and High-Low Index = 50 indicates that new highs and new lows is equal.
by default 40 cryptos are used in the script and shows High-Low Index for these cryptos. but you can change them as you wish. for example you can set all of them as stocks and see High-Low Index for these stocks.
You can set " Time frame " and the " Length " using the options. For example; if you set " Time frame " = 1 Week and the " Length " = 52 then it finds High-Low Index for 52weeks .
or another example; if you set " Time frame " = 1 Day and the " Length " = 22 the High-Low Indexn it finds High-Low Index for 22days.
You can enable/disable Record High Percent or Simple Moving Average of High-Low Index. Some traders use High-Low Index with its SMA, for example; High-Low Index generates a buy signal when it crosses above its moving average, and a sell signal when it crosses below its moving average.
Optionally you can see the securities in a table on the left bottom, you can change table size by usşng the options.
In the Table, for each security/cell;
=> if background is green then it has New High
=> if background is red then it has New Low
=> if background is gray then no New High, no New Low
=> if background is back then Data is not available for the security
As you can see in the screenshot below, the securities were changed and stocks are used instead of cryptos, so it calculates & shows High-Low Index for these stocks.
you can also find explanation in this screenshot:
Enjoy!
Dollar cost averaging This is a testing startergy based on dollar cost averaging and sell on high points.
UK Sectors Comparison SMAProvides a chart showing SMA of UK equity indexes from CBOE www.cboe.com
Shows either percentage change from baseline, or absolute index values.
All configurable (including selected symbols), but the defaults are:
SMA 100,
Show Absolute Values = true
Baseline is set to CBOEEU:BUKAC
Sector indexes are:
UK Consumer Cyclicals = CBOEEU:BUKCONC
UK Mining and Minerals = CBOEEU:BUKMINP
UK Finance = CBOEEU:BUKFIN
UK Technology = CBOEEU:BUKTEC
UK Telecoms = CBOEEU:BUKTEL
UK Consumer Services = CBOEEU:BUKCONS
UK Healthcare = CBOEEU:BUKHLTH
UK Energy = CBOEEU:BUKENGY
UK Utilities = CBOEEU:BUKUTL
UK Business Services = CBOEEU:BUKBUS
UK Consumer Non-Cyclicals = CBOEEU:BUKCNC
UK Industrials = CBOEEU:BUKIND
UK Non-Energy Minerals = CBOEEU:BUKNIM
NOTE: takes a few seconds to load as it needs to request all the data
Check the tooltips in the settings for detailed help.
Williams % + SMAThe indicator is based on finding the price relative to the moving average (SMA). The Williams Percentage Range indicator (%R) is used to filter the signals.
В основе индикатора лежит нахождение цены относительно скользящей средней (SMA). Для фильтрации сигналов используется индикатор "процентный диапазон Вильямса" (%R).
JC blended MAs v3The best, simplest moving averages you'll find.
Well not really. But it does have SMA, WMA, and EMA in one place. Plus an additional one that averages those, that might give you a leg up because it's not really a standard thing and you won't create a massive worldwide machine-driven feedback loop that crashes the markets (instead profit from them). Or something like that.
Each moving average has their own definable averaging length.
The master time resolution is also definable, or you can use the chart's. (The latter which is not very useful for moving averages, yet so many of them on trading view don't let you specify otherwise.)
For example you can set the master resolution to 5 minutes, 1 hour, 1 day, etc. (Default is 1 hour.) The graphs don't change, only the resolution.
Note: There are a few rare, extreme edge cases where the graphs won't render, which are obvious. In which case all you need to do is choose a more sane resolution. This is more about the limits of Trading View than specific script bugs.
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.
RM Moving averageIt is the first version of the crossover function which returns an arrow with the text "LONG"
MA_Script- Entry Point : base on MA20, MA50, MA100, MA200.
- Exit Point : base on stop loss, MA and trailing stop.
Logarithmic Moving Average [TusSensei]Logarithmic moving averages involve mathematical modification of classical moving averages(EMA-RMA-SMA). Logarithmic modified averages deviate high over short time periods. For long time periods, it behaves exactly like the original moving averages. Its basic formulation is (MovingAverage x (1 + (1 / log(length))).
The most important reason for the operability of logarithmic moving averages is the time periods they use. The values used are 21-55-149-404-1098-2981. These numbers are the consecutive powers of the number "e", which is the base of the natural logarithm (rounded up to an integer).
In this script you will also see another moving average called SQRT. This moving average is equal to the square root of the product of the EMA and the RMA. In other words, it is a moving average that is the geometric mean of two averages. In this script, you can use all of the EMA-RMA-SQRT and SMA averages in the classical and modified way. For formulaic modification, it is sufficient to select "mEMA", "mRMA" forms from the setting section.
Thanks everyone!
Array to SMA/EMAThis script is to help people with converting arrays to Simple Moving Average and Exponential Moving Average arrays. It is the same as using ta.sma() or ta.ema() in v5 with series but it takes an array as input instead. Both functions have inbuilt bad-input checking logic to ensure that the period length is not too high or too low - which could give unwanted results. If such values are used, the functions will output an array of the same length with NaN values. The EMA function also has an optional argument called sma_seed , which determines whether the first value in the output array will be the SMA of the first value from the input array (true) or the first value itself (false). Both functions work independently of one another, all you have to do is copy the entire function into your code and off you go! I can add more functions such as RMA or VWMA if there is demand, let me know and leave a like! ~ if you want.
Mean Reversion Strategy v2 [KL]Description :
This strategy will enter a position when the following conditions are met:
a) Main signal: When source data (ATR) diverts from its moving average value, and
b) Confirmation: If predicted direction of trend is favorable.
Assumptions :
During periods of high price volatility, ATR diverts from its moving average value. Eventually, ATR should revert. But since just knowing the magnitude of increase/decrease of ATR does not indicate a trend signal, we need to introduce a model to predict the current trend.
In short:
• Trend Prediction : This strategy calculates the expected logarithmic return of the security (the "Drift") and considers prices to be moving in uptrend if the drift curve is upward sloping.
• Assessment of ATR diversion : To determine "yes/no" regarding whether ATR at a given point in time has diverted, this script conducts a two-tailed hypothesis test at each candlestick period. The null hypothesis (H0) is that the fast moving average value should equal the slow moving average value (say, denoted as H0: atr14 == atr28; it is assumed that atr28 is more meaningful for the purpose of describing the current trend because it has a larger sample size). Investopedia has an article summarizing this topic .
Exit Condition :
When trailing stop loss hits.
Previous version :
This strategy is based on Version 1 published back in September . This older version considers +/- one standard deviation to be the critical values relative to average ATR when testing whether ATR has diverted from the mean. This does not take Standard Error ("SE") into account. As a result, the threshold is often too wide and it generates too many entry signals.
Column XO ZoneColumn XO is an indicator in Prashant Shah's book Trading The Markets The Point & Figure Way. It counts a number of Xs and Os in every column for the length period. Both Xs and Os are calculated separately. Then, both results are divided by half the number of columns which is set by length.
I personally don't find this indicator very useful, because all it can offer is very clear in Point and Figure charts. However, it was designed to give some information on volatility as well as direction.
Good luck!
Column XOColumn XO is an indicator in Prashant Shah's book Trading The Markets The Point & Figure Way. It counts a number of Xs and Os in every column for the long period. Then, the result is divided by the number of columns which is set by length.
This indicator is designed to identify changes in volatility and works well with Wyckoff's Law of Cause and Effect. The longer the price spends in the consolidation, the more volatile and far-reaching should the expansion phase be.
Good luck!
Price Movement Trend By Alireza Phoenix (Logarithmic)hi Traders
This logarithmic indicator shows the price movement trend, which is designed based on logarithmic functions and moving averages.
The Price Movement Trend Display Composed By :
A leading line consisting of the natural logarithm of Running Moving Average with length 60 and Offset 20 , and is displayed in red line.
A signal line consisting of a natural logarithm of an exponential moving average of length 90 , and is displayed in green line.
A price line consisting of the natural logarithm of a simple moving average along 1 whose source is price close , and is displayed in blue line.
A hidden price line consisting of the natural logarithm of a simple moving average along 1 and its source being the highest and lowest average prices , and is displayed in maroon line.
Learning how to get a signal from the price Movement trend indicator:
Moving the signal line and breaking the leading line upwards to form a green cloud is a buy signal.
Moving the signal line and breaking the leading line downwards that forms a red cloud is a sell signal.
Moving the price line and breaking the trend cloud upward , is a buy signal
Moving the price line and breaking the trend cloud downwards , is a sell signal
My instagram id : @pnxf6
ترجمه فارسی :
سلام تریدرها
این اندیکاتور لگاریتمی ، نمایش دهنده روند حرکتی قیمت است ، که بر اساس توابع لگاریتمی و میانگین های متحرک قیمت طراحی شده است
این اندیکاتور تشکیل شده از :
یک خط پیشرو متشکل از لگاریتم طبیعی متحرک وزنی نمایی مورد استفاده درآر اس آی به طول 60 و انحراف 20 است
یک خط سیگنال متشکل از لگاریتم طبیعی میانگین متحرک نمایی با طول 90
یک خط قیمت که متشکل از لگاریتم طبیعی میانگین متحرک ساده در طول 1 که منبع آن بسته شدن قیمت است.
یک خط قیمت مخفی که متشکل از لگاریتم طبیعی میانگین متحرک ساده در طول 1 و منبع آن میانگین بالاترین و پایین ترین قیمت است
یک فضای ابری مابین خط پیشرو و خط سیگنال که که با "نمایش روند حرکت قیمت" مشخص شده و در رنگ های سبز و قرمز قابل مشاهده میباشد.
آموزش گرفتن سیگنال ازاندیکاتور نمایش روند قیمت :
حرکت خط سیگنال و شکستن خط پیشرو رو به بالا که تشکیل ابر سبز رنگ میدهد یک سیگنال خرید میباشد .
حرکت خط سیگنال و شکستن خط پیشرو رو به پایین که تشکیل ابر قرمز رنگ میدهد یک سیگنال فروش میباشد .
حرکت خط قیمت و شکستن ابر روند حرکت قیمت رو به بالا سیگنال خرید میباشد
حرکت خط قیمت و شکستن ابر روند حرکت قیمت رو به پایین سیگنال فروش میباشد.
Indicator: SMA/EMA (Multi timeframes)This moving average indicator will plot the SMA or EMA sourced from a different timeframe on the current chart.
Applications:
Say you are viewing an hourly chart but you also want to know the ema20 sourced from a higher timeframe (i.e daily) of the same security. The problem with using most built-in indicators is that the MA values are usually calculated from the current chart, so to do that, you will have to toggle between 1h/1D. This script will eliminate this hassle by plotting out the desired alternative timeframe on the same chart.
Dynamic settings
By default the alternative timeframe is 1D, but this can be customized further:
- 1 week chart -> plots out 1 month MA
- 1 day chart -> plots out 1 week MA
- 1 hour chart -> plots out 1 day MA
Arch1tect's New Toy (Strategy Tester Version)Description:
The version of Arch1tect's New Toy indicator with Strategy Tester added.
This indicator tries to predict market trends by simply utilising 2 moving averages crossovers.
How it works:
Buy signals are triggered when the faster MA crosses over the slower MA from the downside to the upside.
Sell signals are triggered when the faster MA crosses under the slower MA from the upside to the downside.
How to use:
Take buys when buy signal is triggered AND close existing sell position
Take sells when sell signal is triggered AND close existing buy position
Note:
Settings are optimised for XAUUSD on the M1 chart.
Extra:
Alerts are included.
You can toggle between EMA, WMA and SMA to your liking.
Indicator version:
4 SMAs & Inside Bar (Colored)SMAs and Inside Bar strategy is very common as far as Technical analysis is concern. This script is a combination of 10-20-50-200 SMA and Inside Bar Candle Identification.
SMA Crossover:
4 SMAs (10, 20, 50 & 200) are combined here in one single indicator.
Crossover signal for Buy as "B" will be shown in the chart if SMA 10 is above 20 & 50 and SMA 20 is above 50.
Crossover signal for Sell as "S" will be shown in the chart if SMA 10 is below 20 & 50 and SMA 20 is below 50.
Inside Bar Identification:
This is to simply identify if there is a inside bar candle. The logic is very simple - High of the previous candle should be higher than current candle and low of the previous candle should be lower than the current candle.
If the previous candle is red, the following candle would be Yellow - which may give some bullish view in most of the cases but not always
If the previous candle is green, the following candle would be Black - which may give some bearish view in most of the cases but not always
Be Cautious when you see alternate yellow and black candle, it may give move on the both side
Please comment if you have any interesting ideas to improve this indicator.
Moving Average Band - Taylor V1A Very Simple Strategy From Moving Average
- Price Breakout Upper Band = Long
- Price Breakout Lower Band = Short
Moving Average Type = Able to Change RMA, EMA, SMA, WMA
Moving Average Period = Able to Change
Upper Band & Lower Band Gap = Able to Change
With Stop Lose & Take Profit = Able to Change