SMA Offset StrategyThis strategy uses simple moving averages and some math to determine buy/sell points. We keep a SMA 100 day line as our basis for our offset. If the close price is below the line, we choose our open position based on how low below the line it is goes, this value (Low Offset) is a percentage and can be configured by the user. Same for closing your position, when the close is above our SMA 100 line, we determine how high above the line before selling. If we try to sell too early (while the price is still rising), the trailing stop loss will kick in. Backtested with Bitcoin and Ethereum.
Configurable variables:
SMA Fast (default is 14 days)
SMA Slow (default is 100)
SMA Reference (default is 30)
Low Offset % (default is 0.001)
High Offset % (default is 0.0164)
Order Stake % (default is 0.96)
Trailing stop loss % (default is 1.35)
Sma
_CM_Ultimate_MA_MTF_V4***For a Detailed Video Overview Showing all of the Settings...
Click HERE to View Video
New _CM_Ultimate_MA_MTF_V4 - Update - 08-24-2021
Thanks to @SKTennis for help with code
Added Ability to Plot 1 or 2 Moving Averages - Fast MA & Slow MA
Added Ability to Plot Fast MA with Multi TimeFrame
Added Ability to Plot Slow MA with Multi TimeFrame
Added Ability to Color Fast MA Based on Slope of MA
Added Ability to Color Fast MA based on being Above/Below Slow MA
Added Ability to Plot 8 Types of Moving Averages
Simple, Exponential, Weighted, Hull, VWMA, RMA, TEMA, & Tilson T3
Added Ability to Set Alerts Based on:
Slope Change in the Fast MA Or Fast MA Crossing Above/Below Slow MA.
Added Ability to Plot "Fill" if Both Moving Averages are Turned ON
Added Ability to control Transparency of Fill
Added Alerts to Settings Pane.
Customized how Alerts work. Must keep Checked in Settings Pane, and When you go to Alerts Panel, Change Symbol to Indicator (_CM_Ultimate_MA_MTF_V4)
Customized Alerts to Show Symbol, TimeFrame, Closing Price, & Moving Average Signal Name in Alert
Alerts are Pre-Set to only Alert on Bar Close
See Video for Detailed Overview
New Updates Coming Soon!!!
***Please Post Feedback and Any Feature Requests in the Comments Section Below***
Fibonacci LevelsThe 420 VWMA (Volume Weighted Moving Average) per period selected of the low price (Fib 0) and the high price (Fib 1). They are labeled in Color of the line they represent.
The other Fib lines are calculated using common fib ratios as follows:
longRange_fib2618 = highestHighperLongRange +
(highestHighperLongRange - lowestLowperLongRange) * 1.618
longRange_fib1618 = highestHighperLongRange +
(highestHighperLongRange - lowestLowperLongRange) * .618
longRange_fib786 = highestHighperLongRange -
(highestHighperLongRange - lowestLowperLongRange) * 0.236
longRange_fib618 = highestHighperLongRange -
(highestHighperLongRange - lowestLowperLongRange) * 0.382
longRange_fib50 = highestHighperLongRange -
(highestHighperLongRange - lowestLowperLongRange) * 0.500
longRange_fib382 = highestHighperLongRange -
(highestHighperLongRange - lowestLowperLongRange) * 0.618
longRange_fib236 = highestHighperLongRange -
(highestHighperLongRange - lowestLowperLongRange) * 0.764
Those lines are drawn and labeled to right of chart
The 2 heavy whites and the short range of the Fib1 (Top) and Fib0 (Bottom). Eyes on chart when it approaches one those two points. This is where I look for continuation or reversal patterns, especially near a Longterm Fib
The Red, Green, Yellow and Blue are colored ratio lines that I am experimenting with and will later combine with a multiple time frames to show discernable patterns of potential near future movements.
The prices interacts with the fib lines and each of the the colored ratio lines as you go from small to larger time frames.
I will be publishing this soon to allow the community to improve on it.
Multi Range Pivots
Multi Range Pivots works by recognizing the high and low of the timeframe selected and plotting range high to MEAN averages and range low to MEAN averages.
This is essentially the VWAP pivots updated to include not only VWAP as a MEAN, but also SMA, EMA, VWMA, DEMA, TEMA, TRIMA, KAMA, MAMA, T3, H/L basis and Donchian basis.
Also, with high and low no longer repainting, I was able to add true reliable signals.
Enjoy
Tocorin_MTF_MA7 MAs (SMA or EMA) can be displayed in each period.
MTF display is performed only at 5m, 1h, and 4h.
The upper MAs to be displayed are as follows
5m: 1h, 4h, and 1D
1h: 4h and 1D
4h: 1D
The MA line style is stepline and circles to make it easier to see.
You can change it in the settings as you wish.
--
各時間足で 7本の MA(SMA or EMA) 表示が可能です。
5m, 1h, 4h の時だけ MTF 表示を行います。
表示する上位 MA は下記の通り
5m: 1h と 4h と 1D
1h: 4h と 1D
4h: 1D
見やすくするためにMA の線のスタイルを stepline と circles にしています。
設定で任意に変更してください。
MTF Price/Volume % [Anan]Hello friends,
This is a multi-timeframe table with these features:
Display price change percentage compared with the last timeframe candle close.
Display price change percentage compared with the last timeframe candle close MA.
Displays change percentage compared with the last timeframe candle volume.
Displays change percentage compared with the last timeframe candle volume MA.
Change type/length of MA for Price/Volume.
Full control of Panel position and size.
Full control of displaying any row or column.
BTC > bull market supportPlots the natural log of the price divided by the 20w SMA and 21w EMA, color coded by the Bitcoin price (green if above, red if below). Use this when comparing Altcoins to Bitcoin's performance. Works in daily & weekly timeframes only!
FullPac4Trader (I.Denis)The script combines the three most important indicators on the chart.
1. A set of six moving averages ( EMA and SMA ), which can be turned on and adjusted at your discretion.
2. Indication of support and resistance levels, calculated according to the Bollinger scheme.
3. Pivot Point and the nearest goals using the Floor method with the possibility of selecting a time period.
The script version is v.1 (beta)
The development of this script will continue. Feedback and suggestions are welcome.
BANDSTrend indicator. It is based on a simple moving average, the maximum and minimum of this moving average for the period. When the moving average coincides with its maximum for the period , the trend is rising, when the moving average coincides with its minimum for the period, the trend is falling. The optimal periods should be selected for each timeframe and trading instrument.
3GBH - Multiple MA'sIncluded in this indicator:
- Fast/Slow EMA's
- Fast/Slow SMA's
- Fast/Slow WMA's
- Fast/Slow HMA's
- Fast/Slow RMA's
-----
Use of of the type of Moving Averages.
Or use them all.
-----
User-friendly.
You can change all the inputs, they are labelled for ease-of-use.
You can toggle On/Off any or all of the options.
Wide BarsSimple scripts show the wide range bars within in the look back period, visualizing the bigger momentum.
Added four exponential moving averages which define the trend of the instrument.
Wide range candles in the direction of overall trend on higher timeframes; give confluence of higher participation in the same direction.
Note : Decent volume above the average volume with wide range candle adds more value.
Moving Average ToolThe Moving Average Tool is the only indicator you will ever need to plot MA lines. It comes loaded with 9 different types of moving averages so traders can lay down any line at any length. There is also an option to plot a trigger line. Features: SMA , SMMA, EMA, LSMA, ZLSMA, HULL, LWMA, VWMA and ALMA. Simply pick an average type and enter the desired length.
All in One StudyHere is my All in One Strategy converted into a Study with Alert Conditions you can use for whatever purpose you wish.
Each condition is set up similarly to the way I had the strategy set up, if you pick the indicators you want to base your alerts on it will alert you only if the check box is true.
You can pick one or more of the indicators if you'd like. I only suggest to pick one at a time so you don't have overlapping buy/sell alerts.
I think everyone will find the message of the market falling alert amusing :-)
SMA 200 Ribbon MTF - Support and ResistanceThe SMA 200 is one of the most important and strongest support/resistance lines on any timeframe. This script pulls the SMA 200 line from multiple timeframes so traders can visually see price action bounce between support and resistance . The current timeframes SMA 200 is displayed in white and turns yellow to signify "pressure". Can be used on higher timeframes to find bull action. This indicator can also be used to filter out pumps and dumps as shown in example 3 and 4.
Example of indicator on 5 min timeframe. Candles bounce along SMA200 lines.
Example of indicator on daily timeframe . Lines turn green and price action pumps. Lines turn red and price action dumps.
Example 3: A clean crossover of lines usually signals a bullish pump.
Example 4: Tangled or messy lines tend to result in a dump as price action struggles to cross resistance. A pullback is required to "clean" the lines.
EMA Band can be turned on using "tickbox" in settings menu.
VWMA / SMA / TEMA DifferenceThis Study try to simulate Weakening and Strengthening trends on Bear(down) or Bull(up) movements.
It looks to VWMA - TEMA trend for Bull / Bear trend and looking for SMA - VWMA trend for Weak / Strong trends.
On default settings Line shows the difference between VWMA - TEMA and Columns show difference between SMA - VWMA. Suggesting to use this script for 5m intervals.
This is a personal work of mine. Using this script and taking decisions regarding to this script is only and only under responsibility of the trader!!!
6 EMA SMA RMA + ForecastingDescription:
Hey hi, this Script is a bit simple. Let's start with some definitions.
Moving Average (MA)
In statistics, a moving average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis . The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price . This makes this tool one of the most important for technical analysis .
Forecasting
Forecasting is the process of making predictions based on past and present data and most commonly by analysis of trends . In the same way that the moving average (MA) the forecasting is something highly desirable, in this way we opted to develop an indicator that allows the use of up to 6 moving averages combined with the forecasting.
In addition to having the option of up to 6 moving averages, these can be of different types, being able to choose between up to 3 options (it is proposed to add more options later) which are listed below.
Exponential Moving Average ( EMA )
Simple Moving Average ( SMA )
Running Moving Average (RMA)
In addition to the above, 2 prediction methods were added, which are listed and detailed below.
Repetition. Makes forecast repeating the last candle M times.
Linear Regression ( LR ). Linear Regression does N period LR forecast averaged with length-N Moving Average
Directional Matrix [LuxAlgo]Returns a dashboard showing the direction taken by 4 overlay indicators, SMA (simple moving average), TMA (triangular moving average), WMA (weighted moving average), and REG (linear regression), all using different length periods.
The user can select the minimum and maximum length of these indicators and introduce an increment.
1. Settings
Maximum Length: The end value of sequences of the indicator periods to analyze
Minimum Length: The starting value of sequences of the indicator periods to analyze
Step: Determines the spacing between each indicator periods values
Src: Data source for each of the 4 indicators
1.1 Style settings
Normalized Change Mode: Allows the user to access a different interpretation of the indicator by showing the normalized first differences of each indicator in the dashboard instead of their sign
Dashboard Location: Location of the dashboard on the chart
Dashboard Size: Size of the dashboard on the chart
Text/Frame Color: Determines the color of the frame grid as well as the text color
Bullish Cell Color: Determines the color of cell associated with a rising indicator direction
Bearish Cell Color: Determines the color of cell associated with a decreasing indicator direction
Cell Transparency: Transparency of each cell
2. Usage
Each of the indicators included in the dashboard aim to give an estimate of the underlying trend in the price. Knowing which direction they are taking can help us have a broader view regarding the direction of shorter/longer-term trends. We will later see that this is not the only kind of information that we can get from this indicator.
Rising indicators are represented by blue cells (or the color selected in the Bullish Cell Color setting) while decreasing indicators are represented by red cells (or the color selected in the Bearish Cell Color setting).
The percentage of bullish cells is given in the top-left cell of the dashboard.
2.1 Normalized change mode
Enabling the Normalized Change mode will display the normalized changes returned by the indicators over different length periods. This metric is within a range (0,1), with 1 indicating the highest change over the selected length periods, while 0 indicates the lowest one.
When enabling this mode the color of the cells makes use of a gradient with a color palette ranging from the color selected in the Bearish Cell setting to the color selected in the Bullish Cell setting.
2.1 Other Usage
The direction taken by certain indicators can give more information than one would think. Indeed, the sign of the change of one indicator can often be given by different indicators.
A positive change in a simple moving average indicates that the price is greater than the price p bars ago, where p is the period of the simple moving average.
A positive change in a triangular moving average indicates that a simple moving average of period p is above a simple moving average of period p × 2 , where p is the period of the triangular moving average (note that we assume here that the TMA is given by cascading two SMAs of period p ).
A positive change in a weighted moving average indicates that the price is above a simple moving average of period p+1 , where p is the period of the WMA.
Finally, a positive change in a linear regression indicates that a weighted moving average is above a simple moving average of period p , where p is the period of the linear regression.
Average Band by HarmanUsually, Moving Averages (Simple & Exponential) consider "close" of each candle to form a line for a particular period. In this indicator, we have considered all the parameters (Open, Close, Low & High) of each candle to form a Band or a wave which act as a zone to provide support & resistance. It works well on all the time frames. It perfectly works on lower time frames of 15 min & 5 min for intraday trades and even for scalping. There is a line that moves very near to candles known as "Candle Line" provide support & resistance to each individual candle and a leading line which moves ahead also acts as support & resistance and helps in determining trend direction.
How to use the indicator ?
Indicator consists of 3 components :
1) A Band or wave of 3 lines (upper, middle & lower line)
2) A "Candle Line" which moves along with the candles
3) A Leading line which moves ahead of the candles
Method 1 : When candles are being formed above the candle line (line near to candles) and it crosses the band or wave from below to upside, then long trade can be initiated. Similarly, When candles are being formed below the Candle line and it crosses the band or wave from upside then short trade can be initiated. Stop loss can be maintained below the band for Long trade and above the band for short trade. Candle line can be used to trail the stop loss.
Method 2: If candles moves above and below of the band very often and frequently and candle line is in the middle of candles then it is NO TRADING ZONE. If you still want to trade, then select a higher time frame and check the price movement. If there is a stability in the higher time frame, then take the trade in the higher timeframe with stable movement.
Method 3 : Candle line acts as "First line of Defence". In a uptrend, all the candles are formed above the candle line and in case of down trend, all the candles are formed below the candle line. When a newly formed candle cross the candle line then you can book profit. For Example : In uptrend , candles are being formed above the line, when a new candle started forming below the line and when the complete candle is formed below the line, profit can be booked. Vice-versa in case of downtrend.
Method 4: Direction of leading line, band and candle line helps in determining the trend. If all these three components are in upward direction, price trend is upward and if all these three components are in downward direction, then price trend is downward. When, leading line and band cross each other from opposite direction for consecutive 2-3 times, then price movement is sideways.
Method 5 : Thickness of band play an important role in determining price action. If band is narrow, it means small candles are being formed and no any huge price movement is observed in this period. When band started expanding, it signifies that big candles are begin to form and there is a more price movement than before. Similarly, If contraction of band started, it means that small candles are being formed and there is low price movement as compared to the price movement when Band was expanded. If Band is expanded (wider) and volumes are high, It means the Band will act as strong Support or Resistance than usual. In case, candles and candle line cross the expanded Band, you can enter the Long or Short trade.
Method 6: When the Band, leading line and candle line collides or meet at a single point, then it is either strong support or resistance.
Method 7 : Usage in Scalping : Select the shorter time frame of 1 min or 5 min. If the candles are crossing the band very frequently in 1 min, then select 5 min time frame or wait for few minutes for stability. Now, when candles started forming above the candle line and it crosses the band from below then take a long position and book profit after few candles above the band. Place stop loss below the Band. Similarly, when candles started forming below the candle line and it crosses the band from above, then enter into short trade and book profit after few candles. Place stop loss above the band in the case of short trade.
You can combine above methods to give a sharp edge to your trade and increase the probability of your winning in the trade.
Indicator Settings : Default period selected is 50 for both the Band and leading line. You can change the period to 26 or 100 or 200. Select the period and check the chart, if the indicator looks fine and smooth, then you can use your settings. For most of the time, default settings work perfectly.
Proudly Developed by :
Harmandeep Singh
Graduate in Computer Science with Physics & Mathematics
MBA in Business Marketing and Finance
Experienced Computer programmer & Software developer
Stock Market & Crypto Trader
TDI Hedge Strategy
This is the incomplete version but upon multiple requests, I have released it early. All of the strategy and alert functions are yet to be written and I'll get around to it soon.
This indicator aims to be the best TDI indicator on TradingView. It is a strategy or study. It will have all of the filter, entry, and exit conditions for the strategies around the TDI.
What is implemented
MFI or RSI: the MFI is a much better TDI baseline than the RSI, in my opinion, and very effective
EMA or SMA used for the moving averages on fast, slow, and volatility band
Dynamic timeframe: set a factor of current timeframe and indicator will analyse higher timeframe automatically
Manual timeframe: set a higher timeframe to analyse different to currently viewed
Features for later
conditions for TDI filters/entries/exits
Strategy functions to use built-in strategy tester
BTE signal plot for Backtesting & Trading Engine
alerts
Enjoy!
Moving Average Buy/Sell IndicatorUsing a selected Exponential Moving Average (EMA)/Simple Moving Average (SMA) range, this indicator inserts a Long/Short (buy/sell) indicator overlaid on chart depending on the following conditions:
- LONG/BUY SIGNAL = if SMA value is less than EMA, and both the SMA and EMA are less than the current average price.
- SHORT/SELL SIGNAL = if SMA value is greater than EMA, and both the SMA and EMA are greater than the current average price.
**Intended for use with the 21 and 34 weekly moving average time range. Much more useful for long-term analysis rather than short-term analysis.**
[SerDarK] SMA RSI Engulfing BarENG: This indicator includes the SMA line colored according to the price position, the RSI to identify the bearish or the bullish points, the Engulfing bars, the clock and the information panel showing the countdown to the candle closing.
SMA: default period is set to 50. It can change from the settings.
Definition of SMA line default colors: When the price is below the SMA line, its color is blue. It is green when the price is above the SMA line. It is yellow in RSI alerts and when the price hits the SMA line.
RSI: default period 14 is set. It can be changed in the settings.
🔨 Hammer Emoji: RSI is located at the overbought turnaround point. This sign does not mean that the trend will definitely return.
🚀Rocket Emoji: Tries to catch the "RSI oversold point turn".This sign does not mean that the trend will definitely return.
↗️↘️Up and Down arrows emojis. After the price crosses the SMA line, it indicates that it is closing a candle in that direction.
Engulfing candles: bullish engulfing candle is blue color. Bear engulfing candle is black in color.colors can be changed in settings.
Note that this indicator is only an indicator. It does not give advice on buying or selling.
Enjoy
TUR: Bu indikatör, fiyat konumuna göre renklendirilmiş SMA çizgisi, RSI ile düşüş veya yükseliş noktalarını belirleme, Engulfing (Yutan) barlar , saat ve mum kapanışı için geri sayım gösteren bilgi paneli içermektedir.
SMA: varsayılan periyodu 50 ayarlıdır. Ayarlardan değiştirebilir.
SMA çizgisi varsayılan renklerinin tanımı: Fiyat SMA çizgisi altında iken rengi mavidir. Fiyat SMA çizgisi üstünde iken yeşildir. RSI uyarılarında ve fiyat SMA çizgisine temas ettiğinde sarı renktedir.
RSI: varsayılan periyodu 14 ayarlanmıştır. Ayarlardan değiştirilebilir.
🔨 Çekiç Emojisi: RSI aşırı alım dönüş noktasında bulunur. Bu işaret trendin kesin döneceği anlamına gelmez.
🚀Roket Emojisi: "RSI aşırı satım noktası dönüşünü "yakalamaya çalışır. Bu işaret trendin kesin döneceği anlamına gelmez.
↗️↘️Yukarı ve Aşağı yönlü okl emojileri. Fiyat SMA çizgisini kestikten sonra, o yönde mum kapattığını gösterir.
Engulfing mumları: bullish engulfing (yutan boğa) mumu mavi renktir. Bear engulfing (yutan ayı) mumu siyah renktir. Renkler ayarlardan değiştirilebilir.
Not: Bu indikatörün yalnızca gösterge olduğunu unutmayın. Alma satma tavsiyesi vermez.
Kalan süre etiketi BIST gibi sınırlı süreli sembollerde, gün ve daha üstü periyotlarda doğru çalışmayabiliyor.
Custom Moving Average LinesHeylo!
This is a script for basic market trend analysis using moving average lines. It features eight lines with eight choices of moving averages and adjustable sources & time periods . The choice of moving averages are stated below:
1. Simple Moving Average (sma)
2. Exponential Moving Average (ema)
3. Weighted Moving Average (wma)
4. Relative Moving Average (rma)
5. Hull Moving Average (hma)
6. Sine-Weighted Moving Average (swma)
7. Volume Weighted Moving Average (vwma)
8. Volume Weighted Average Price (vwap)
Planning on including other formula based indicators soon. Let me know if there can be some improvements made / errors so I can fix it.
Cheers!
Moving Average Crossover with Shading Signals This script uses 3 moving averages (2 simple moving averages and 1 exponential moving average ) to signal long and short opportunities based on moving average crossovers.
A long SMA (Signal SMA2) is used to determine longer term trend. When the EMA crosses above the Slow SMA1 and price is above the Signal SMA2. The space between the moving averages will shade green and the Signal SMA should also be green.
A sell signal occurs when the EMA crosses below the Slow SMA1 and price is below the Signal SMA2. The space between the moving averages will turn red and the Signal SMA should also be red.
A retracement, consolidation, or reversal may be occurring if the shaded color is yellow.
Use the identifying shapes to learn when to open or close positions.