المتوسط المتحرك البسيط
Linear Regression CandlesThere are many linear regression indicators out there, most of them draw lines or channels, but this one actually draws a chart.
h4hdwm (updated)I put most importand moving avarages for most importand time frames together. When you whatching a graph you are sometimes missing another time frime very importand moving avarage and there is a reaction on price. with this multi time frame multi ma indicator you can see all of them at once. it makes a little mass if you let all of them together. so you might close some of them.
Bigger time frames Moving Avarages has ticker lines and bigger steps.
Example - Future Line DrawingExample primarily focuses on:
• creating a simple function to get a time offset value
• using the offset to set drawing locations in the future
• how to properly set up and manipulate line positions
Extras ( end of script ):
• inclusion of vertical lines for visualising start and end points using the time offsets
• inclusion of label to read out the current time offset forwards/backwards
This script publication is intended for:
• Educational Purposes
Who is it for?
• anyone who wants to learn the basics of drawing using 'time' for purposes of positioning
Monthly, Quaterly, Yearly SMA trendsIt highlights on the chart when the SMA20 crosses the SMA60 etc. for the Monthly, Quaterly, Yearly SMA trends.
Easy TrendThis signal is completely based on analysis and transformation of a single simple moving average. As with all signals and indicators, it should be combined with others.
This is how the signal is built:
1. First it takes the SMA of the closing price.
2. It then takes the ROC of that SMA using a length of 1.
3. It takes an 8-period SMA and also a 64-period SMA of that ROC.
4. These are plotted as follows:
- the ROC is plotted in green when above 0 (trending up) and red when below 0 (trending down).
- the 8-period SMA is plotted as a thin white line within the ROC signal
- the 64-period SMA is plotted as a thick white line within the ROC signal
When the trendline is green, this is a bullish zone. When the trendline is red, this is a bearish zone.
Moving averages (all types of moving averages) are inherently lagging signals. To compensate for that, I am offsetting each SMA series by half of its period. This may be confusing to some, but the end result is a mathematically accurate SMA signal, centered on the signal that it is providing the moving average of. It doesn't stop the lag, but it directly and obviously shows how lagged each signal is, which I personally find better to trade against.
Symbols on the top and bottom of indicator:
Yellow triangle at bottom of indicator shows where a downward trend is starting to bottom out and a buy/long opening may be available soon.
Green triangle at bottom of indicator shows that a downward trend has switched to an upward trend. This indicates a good time to buy.
Yellow triangle at top of indicator shows where an upward trend is starting to plateau and a sell/short opening may be available soon.
Red triangle at top of indicator shows that an upward trend has switched to a downward trend. This indicates a good time to sell.
Note: You may see multiple yellow triangles before seeing a green or red triangle. This can happen when multiple trend accelerations or decelerations occur within an overall green or red zone.
In addition there is a dotted line connecting the end of the 64-period SMA to the end of the 8-period SMA. This indicates the direction the trend is moving towards. When the dotted line crosses the zero line, this portrays a rough estimate of where the trend may switch from a downtrend to an uptrend or vice versa. This is the "best" time to buy or sell, depending on your strategy.
I recommend placing a SMA on your candles set to the same window size as this indicator, and also to offset that SMA to the left by half its window size. For example, a 90-period SMA should be offset by -45 periods. That will cause it to be correctly aligned with this trend signal.
MA Trend MonitorMA Trend Monitor base on 3 Moving Average to define and display trend status on all time frame.
1. Calculate
* Fast Moving Average apply to High Price and Low Price
* Slow Moving Average apply to Close Price
* Trend defined by rule below:
- Up trend when Moving Average of Low Price moving above Moving Average of Close Price
- Down trend when Moving Average of High Price moving below Moving Average of Close Price
- Sideway when Moving Average of Close Price moving between 2 Moving Average of High and Low Price
2. Interface
* Color:
- Up trend: green
- Down trend: red
- Sideway: gray
* Fast Moving Average
- Default period: 20
- Moving Average Type: EMA/SMA
* Slow Moving Average
- Default period: 70
- Moving Average Type: EMA/SMA
* Line Resolution
- Number of Line: 13 (from 1 minute to 1 Month)
- Resolution of each line adjustable or disable.
LedgerStatusToolbox fork3: EMA/SMA that stays on a specific timeMy (akd) radically cut down fork#3 of the "Ledger Status Toolbox"
which had included many more options that I don't need
but was missing the 4hourly, and hourly = which I added here
and yes, I kicked out the weekly. Hardly ever looking at that anyways. Shall I reintroduce it for fork4 ?
The huge advantage of this approach, over other SMA/EMA indicators:
It stays on the chosen (e.g. daily) data, and calculates the moving averages for that data. Even if you switch the chart to different time candles (like hours or weeks).
So whatever time resolution candles you look at, these indicator lines stay in the same place.
Thanks to krogsgard. Check out his "Ledger Status Toolbox" it also has Bollinger bands (but those are always on "current" I think?). A very powerful tool, just too powerful for most times for me newb. So I cut it down to this mini version. Enjoy!
Adam Khoo Moving AveragesThis indicator will plot the simple and exponential moving averages Adam Khoo is also looking at for buying opportunities.
The best timeframe to use this indicator is the daily chart . The weekly moving averages are hard coded and don't change on any other timeframe. The other moving averages will show the values of your current timeframe.
In the settings you have the option to change the values of the moving averages and to show or not show the current timeframe moving averages or the weekly moving averages.
A label will also show the current value of all moving averages. To hide this label, go into the settings and click on 'Style' and at the bottom uncheck 'Labels'.
Happy trading ;-)
TradiKator 01a Forecast SMATradiKator 01a Forecast SMA is the a visual indicator that plots forecast SMA .
Forecast SMA
The dashed line after today, it is forecast SMA .
Green Dot: The target price according to the user input.(your assumption)
3 colors' Dashed lines: The SMA based on the target price
"Days to plot forecast SMA (Max=19, SwitchOff=0)" --> Please decide how many days' SMA you 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)
The reason for this single function script.
Due to Tradingview output limit, we can only plot very limited days forecast.
Therefore we made this single function script only for forecast SMA which could output more days' forecast SMA .
There is another single function script only for forecast EMA which will only output forecast EMA ,
We have a "input" option in this indicator, so if you can use both 2 indicators (forecast SMA and forecast EMA) at same time, then you can use one of the indicator's output as the input of the other indicator.
In this way when you use both 2 indicators at same time, you only need to adjust one of the indicators' target price setting, the setting will be sync to both indicators.
Relative Strength RatioAbout this indicator:
This indicator goes under many different names such as Relative Strength Ratio, Comparative Strength, Relative Strength Comparison (RSC) etc.
It compares the strength of the current asset to another asset of your choice and displays the relative strength of the current asset. (Not RSI)
There are several comparative indicators published already here on TV but I have added some unique features that I think is really useful.
When to use it:
This is useful when you want to compare for example a stock with its sector to find out if the stock is a leadership stock in that sector or main index.
You could also use it to compare the sector to its index etc.
If you want to compare for example a stock to both its index and its sector at the same time I suggest you add 2 instances of this indicator.
In many trading systems you are supposed find the strongest tickers by identifying "layers of strength" like 1. The strongest asset class that money is flowing into (like stocks, commodities, bonds, etc.) 2. Find the strongest sectors. 3. Find the stocks outperforming those sectors. 4. Find some kind of entry signal there.
How it works:
The indicator calculates an "RS line" (Relative Strength) by dividing the current ticker with a ticker of your choice. This creates a ratio or pair similar to how currencies are related to each others like USDGBP (dollar against pound). The RS line is black by default so you might want to change its color if you use a dark theme.
If the RS line is moving up it means your current asset is stronger than the asset you are comparing it with and vice versa.
Use the simple moving average to quickly see long term strength trends.
Features
RS line
Shows the relative strength of the current asset.
SMA
This Simple Moving Average has directional coloring; green when it is angled up and red when it is angled down. You can customise the period in the settings. If you don't want the color change just make both up/down color the same.
Relative market label
This displays the market you are currently comparing with as a label next to the last data point.
Because I tried stocks in 2 different countries I want to know which index I am comparing with and this label saves me from going into the settings to check. I find it to be a life saver!
Please let me know if you find any problems or if you have any ideas for improvement
MA Crossover Alerts for Small Quick Profits on 3commas/DCA botDear fellow 3commas users,
This is a the most basic Moving Average crossover technique generating Buy Alerts.
This is especially written for those of you who want to link this basic crossover strategy with your 3commas DCA bot .
Buy Alerts
Moving averages available:
- Simple Moving Average (SMA)
- Exponential Moving Average (EMA)
- Weighted Moving Average (WMA)
- Hull Moving Average (HullMA)
- Volume Weighted Moving Average (VMWA)
- Running Moving Average (RMA)
- Triple Exponential Moving Average (TEMA)
Recommended settings for using with 3commas DCA bot:
Interval:
3m to 15m
3commas bot setup:
- TP/TTP: 0.3%/0.1%,
- Base Order: Your choice ,
- Safety Order: 1.2 * Base order
- Safety Order Volume Scale: 1.2,
- Safety Order Step Scale: 1.5,
- Max Active Deals: Your choice ,
- Price Deviation to Open Safety Order (% from initial order): 0.2%,
- Max Safety Trades Count: 7,
- Simulatenous Deals per Same Pair: 3
> Create Alert with Buy Alert and link it to your bot "Message for deal start signal"
MA Multiplier with FibonacciThis implementation of the "2-Year MA Multiplier" gives you some control over the indicator, you can change the multiplier from it's default of 5, you can change the lookback from it's default of 730 days and I've also added three fibonacci traces between the moving average and it's multiple that you can play with. Oh and you can also choose the data source ('close' or 'hl2' make most sense).
The formula for this indicator was created by Philip Swift.
Thanks to @Pladizow for pointing me to this indicator.
1D Low/High MA + Least Square Mean (3 indicators in 1)This indicator is a combination of 3 public indicators being:
* a standard Simple Moving Average with the source as the candle low & length of 2
* a standard Simple Moving Average with the source as the candle high & length of 2
* the Least Square Mean with a source of high + low /2 and length of 9
This combo was inspired by Tyler Coates who crafted EMASAR.
He regularly uses the a SMA with source of Low / High and length of 2 for defining trading daily ranges as well as the Least Square Mean for calculations in the his trading which he teaches via youtube.
I hope this indicator will reduce time spent on setting up charts.
Scalping using RSI 2 indicator with TSLThis strategy implements a simply scalping using the RSI (calculated on two periods), the slopes of two MAs ( EMA or SMA ) having different lengths (by default, I use 50 and 200).
A trailing stop loss (%) is used.
Entry conditions:
.) Fast MA > Slow MA and Price > Slow MA and RSI < Oversold Threshold ------> go Long
.) Fast MA < Slow MA and Price < Slow MA and RSI > Overbought Threshold ------> go Short
Exit conditions:
.) Long entry condition is true and (close >= TP or close <= TSL ) ----> close short position
.) Short entry condition is true and (close <= TP or close >= TSL ) ----> close long position
The strategy performed best on Bitcoin and the most liquid and capitalized Altcoins but works excellent on volatile assets, mainly if they often go trending.
Works best on 3h - 4h time frame.
There's also an optional Volatility filter, which opens the position only if the difference between the two slopes is more than a specific value, which can be set in the study inputs. The purpose is not opening positions if the price goes sideways and the noise is way > than the signal.
Note:
.) the RSI length is 2;
.) the oversold Threshold is 90%;
.) the overbought Threshold is 10%;
.) by default, the trailing stop loss per cent is 1%;
.) by default, the fast MA length is 50;
.) by default, the slow MA length is 200;
.) by default, the MA used is EMA.
Cheers.
Scalping using RSI 2 indicator with TP and TSLThis study implements a simply scalping using the RSI (calculated on two periods), the slopes of two MAs (EMA or SMA) having different lengths (by default, I use 50 and 200).
A take profit (%) and a trailing stop loss (%) are used.
Entry conditions:
.) Fast MA > Slow MA and Price > Slow MA and RSI < Oversold Threshold ------> go Long
.) Fast MA < Slow MA and Price < Slow MA and RSI > Overbought Threshold ------> go Short
Exit conditions:
.) Long entry condition is true and (close >= TP or close <= TSL) ----> close short position
.) Short entry condition is true and (close <= TP or close >= TSL) ----> close long position
The strategy performed best on Bitcoin and the most liquid and capitalized Altcoins but works excellent on volatile assets, mainly if they often go trending.
Works best on 3h - 4h time frame.
There's also an optional Volatility filter, which opens the position only if the difference between the two slopes is more than a specific value, which can be set in the study inputs. The purpose is not opening positions if the price goes sideways and the noise is way > than the signal.
Note:
.) the RSI length is 2;
.) the oversold Threshold is 90%;
.) the overbought Threshold is 10%;
.) by default, the take profit per cent is 0.5%;
.) by default, the trailing stop loss per cent is 0.5%;
.) by default, the fast MA length is 50;
.) by default, the slow MA length is 200;
.) by default, the MA used is EMA.
Cheers.
Moving Average Growth RateThis indicator measures the growth rate of any given MA from it's previous value. It defaults to the 200 period but you can plug in any value you want. I like to use this on the weekly time frame with the 200 period MA because it is such a long term moving average that it has never once gone down on the BTC chart. Even though the rate of change always looks minuscule, this indicator more precisely measures the rate of change, potentially identifying states of massive overvaluation.
I have been testing this one for a long time and ended up reconfiguring it several times. I configured it to be used on any time frame. The coloring values are hard coded as follows:
Business As Usual (Lime): Growth Rate < 2
Heating Up (Orange): Growth Rate >= 2 and Growth Rate < 3
Warning (Red): Growth Rate >= 3
If you have any comments or suggestions let me know.
Previous Period Levels - X Alerts====== ABOUT THIS INDICATOR
- A simple but highly customisable display of previous higher time-frame
OHLC values, drawn using line.new and label.new. Nothing fancy but...
- Customised resolution input which excludes time frames lower than 1 hour
while extending the common higher reference inputs to include:
• 6, and 12 Hour
• 5 Day
• 3, and 6 Month
• 1 Year
- Alert conditions using an adjustable SMA to help reduce false positive
spam.
- Full visual customisation options for (almost) every aspect, so it can be
tuned to suit most individual preferences.
- In line with the miriad visual customisation options is the ability to
change the display format of the Labels, to show more or less information,
or disable them altogether.
====== REASON FOR STUDY
- To practice advanced user input option handling to allow for a full visual
customisation experience without stepping outside of, or interfering with,
the intended function of the indicator.
- Provide reasonably clear code commenting and structure in order to be
useful as a potential learning aid for others, and future reference for
myself.
====== DISCLAIMER
Any trade decisions you make are entirely your own responsibility.
I've made an effort to squash all the bugs, but you never know!
PRIME-QUARTERS W-XsThis script applies both the Quaters theory for easy analysis of market structure, as well as a 50 and 800 SMA to be used in conjunction with the 4 and 21 SMA found in Prime-Pulse, to pin point sniper entries. $auceCamp
Combined Momentum MA (Equal-Length EMA/SMA Crossover)Overview:
This momentum and trend-following strategy captures the majority of any trending move, and works well on high timeframes.
It uses an equal-period EMA and SMA crossover to detect trend acceleration/deceleration, since an EMA places a greater weight and significance on the most recent data.
To reduce noise and optimize entries, we combined this with an overall trend bias for further confluence.
How it works:
Signals are determined by the crossover of an EMA and SMA of the same length, e.g. EMA-50 and SMA-50.
The overall trend bias is determined using a slower SMA golden/death cross, e.g. SMA-50 and SMA-100.
The signal is stronger when it occurs in confluence with the overall trend bias, e.g. when EMA-50 crosses over SMA-50, while above the SMA-100. This is analogous to only opening long positions in a bull market.
Indicator description:
GREEN: Up Trend (EMA is above SMA, while EMA is above BIAS_MA. This shows a bullish confluence.)
YELLOW: No Trend (EMA/SMA crossover and BIAS_MA are not in confluence.)
RED = Down Trend (EMA is below SMA, while EMA is below BIAS_MA. This shows a bearish confluence.)
Equal-Length EMA/SMA Crossover Momentum StrategyOverview:
This momentum and trend-following strategy captures the majority of any trending move, and works well on high timeframes.
It uses an equal-period EMA and SMA crossover to detect trend acceleration/deceleration, since an EMA places a greater weight and significance on the most recent data.
This version is optimized for longs, and designed to cut your losses quickly and let your winners run.
To reduce noise and optimize entries, we combined this with an overall trend bias for further confluence.
How it works:
Signals are determined by the crossover of an EMA and SMA of the same length, e.g. EMA-50 and SMA-50.
The overall trend bias is determined using a slower SMA golden/death cross, e.g. SMA-50 and SMA-100.
The signal is stronger when it occurs in confluence with the overall trend bias, e.g. when EMA-50 crosses over SMA-50, while above the SMA-100. This is analogous to only opening long positions in a bull market.
Signal description:
Trend Buy: EMA crosses above SMA, and overall trend bias is bullish. Buying is in confluence with the overall trend bias.
Risky Buy: EMA crosses above SMA, and overall trend bias is bearish. Buying is early, more risky, and not in confluence with the overall trend bias.
Late Buy: SMA crosses above BIAS_SLOW. This gives further confirmation of bullish trend, but signal comes later.
Sell: EMA crosses under SMA.
Strategy entry and exit conditions:
This version enters a Long when "TREND BUY" is signalled.
This version has Sell/Shorts disabled because UP ONLY.
Long entry: Strategy enters Long when EMA is above SMA, while overall trend bias is bullish.
Long exit: Close long when EMA crosses under SMA.
MrMi 3 in 1 MAThis 3 in 1 moving average script can help all of you to save your indicator use especially for free user. this script icluded 20 MA, 50 MA, and 200 MA which is important to all trader. I hope this script can assist all of you to maximize the important indicators in your trading plan.
Skrip purata bergerak 3 dalam 1 ini dapat membantu anda semua untuk menjimatkan penggunaan penunjuk anda terutama untuk pengguna percuma. skrip ini merangkumi 20 MA, 50 MA, dan 200 MA yang penting bagi semua peniaga. Saya harap skrip ini dapat membantu anda semua untuk memaksimumkan petunjuk penting dalam rancangan perdagangan anda.
يمكن أن يساعدك هذا البرنامج النصي 3 في 1 في المتوسط المتحرك جميعًا على حفظ استخدام المؤشر الخاص بك بشكل خاص للمستخدم المجاني. يتضمن هذا البرنامج النصي 20 MA و 50 MA و 200 MA وهو أمر مهم لجميع المتداولين. آمل أن يساعدك هذا البرنامج النصي جميعًا على تعظيم المؤشرات المهمة في خطة التداول الخاصة بك.
这种三合一移动平均值脚本可以帮助所有人节省指标使用量,尤其是对于免费用户而言。该脚本包括20 MA,50 MA和200 MA,这对所有交易者都很重要。我希望该脚本可以帮助大家最大化您的交易计划中的重要指标。
यह 3 इन 1 मूविंग एवरेज स्क्रिप्ट विशेष रूप से मुफ्त उपयोगकर्ता के लिए आपके संकेतक उपयोग को बचाने में आप सभी की मदद कर सकती है। इस स्क्रिप्ट में 20 एमए, 50 एमए और 200 एमए शामिल हैं जो सभी व्यापारी के लिए महत्वपूर्ण है। मुझे उम्मीद है कि यह स्क्रिप्ट आपकी ट्रेडिंग योजना में महत्वपूर्ण संकेतकों को अधिकतम करने के लिए आप सभी की सहायता कर सकती है।
이 3 in 1 이동 평균 스크립트는 특히 무료 사용자를 위해 지표 사용을 절약하는 데 도움이 될 수 있습니다. 이 스크립트에는 모든 상인에게 중요한 20 MA, 50 MA 및 200 MA가 포함되었습니다. 이 스크립트가 거래 계획의 중요한 지표를 극대화하는 데 도움이되기를 바랍니다.
この3in 1移動平均スクリプトは、特に無料ユーザーの場合、インジケーターの使用を節約するのに役立ちます。このスクリプトには、すべてのトレーダーにとって重要な20 MA、50 MA、および200MAが含まれていました。このスクリプトが、取引計画の重要な指標を最大化するのに役立つことを願っています。
TradiKator 07 Turnover Cycle MATradiKator 07 Turnover Cycle MA (TCM (HSX) 07 by TK) is a visual indicator that underlying stock's character since its participants' collected forces cause the price movement.
Here, we use turnover rate estimation to identify a possible trading level of a given underlying stock.
I hope this indicator can help traders to estimate a true market average price in the essential trading behavior.
Here is an input option to enter shares float manually in the case that a user who has quite a limited time frame financial data.
Known issue:
The share split will cause "Total float shares" inaccurate and therefore the result will be unreliable.
We are trying to find a solution.
TradiKator is Traders' indicator.
Please visit TraiKator for more free scripts.
We also support the Chinese.
Happy new year!
Wishing you a great and successful journey in the Chinese Zodiac Bull Year.