EMA/RMA clouds by AlpachinoRE-UPLOAD
The indicator is designed for faster trend determination and also provides hints about whether the trend is strong, weaker, or if a range is expected.
It consists of an exponential moving average (EMA) and a slower smoothed moving average (RMA). I chose these because EMA is the fastest and is respected by the market, while I discovered through practice that the market often respects RMA, and in some cases, even more than EMA. Their combination is necessary because I want to take advantage of the best qualities of both averages. Displaying averages based solely on the close values creates a simple line that the market might respect. However, this is often not the case. Market makers know that many traders still believe in the theory that closing above/below an EMA signals a valid new trend. They commonly apply this belief to EMA200. Traders think that if the market closes below EMA, it signals a downtrend. That’s not necessarily true. This misconception often traps inexperienced traders.
For this reason, my indicator does not include a separate line.
I use what are called envelopes. In other words, for both EMA and RMA, the calculation uses the high and low of the selected period, which can be chosen as an input in the indicator.
Why did I choose high and low?
To stabilize price fluctuations as much as possible, especially to allow enough space for the price to react to the moving average. This reaction occurs precisely between the high and low.
Modes:
EMA Cloud – This is the most common envelope in terms of averages. It shows the best reactions with a period of 50.
What should you observe: the alignment of the envelope or its slope.
Usage:
Breakouts through the entire envelope tend to be strong, which signals that the trend may change. However, what interests you most is that the first test of the envelope after a breakout is the most successful entry point for trades in the breakout direction.
In an uptrend, the first support will be the high of the envelope, and the second (let’s call it the "ultimate support") will be the low of the envelope.
If, during an uptrend, the market closes below the low, be cautious, as the trend may reverse.
If the envelope is broken, trade the retest of the envelope.
In general, if the price is above the envelope, focus on long trades; if it’s below the envelope, focus on short trades.
Double Cloud – Since we already know that highs and lows are more relevant for price respect, I utilized this in the double cloud. Here, I use calculations for EMA and RMA highs and EMA and RMA lows.
The core idea is that since the price often reacts more to RMA than EMA, I wanted to eliminate attempts by market makers to lure you into incorrect directions. By creating more space for the price to react to the highs or lows, I made the cloud fill the area between EMA and RMA highs. This serves as the last zone where the price can hold. If the price breaks above this high cloud during a return, this doesn’t happen randomly—you should pay attention, as it’s likely signaling a range or a trend change.
The same applies to the low cloud for EMA and RMA.
The advantage of the double cloud is that you can see two clouds that may move sideways. This can resemble two walls—and they really act as such.
Usage:
Let’s say we have a downtrend. The market seems to be experiencing a downtrend exhaustion. Here's the behavior you might observe:
The price returns to the EMA/RMA low; the first reaction may still have some strength, but each subsequent return will move higher and higher into the cloud with increasingly smaller rejections downward. This indicates the absorption of selling pressure by bullish pressure. Eventually, the price may close above the cloud, significantly disrupting the downtrend and potentially signaling a reversal.
A confirmation of the reversal is usually seen with a retest of the cloud and a bounce upward into an uptrend.
The second scenario, which you’ll often see, involves sharp and significant moves through both envelopes. This kind of move is the strongest signal of a trend change. However, do not jump into trades immediately—wait for the first retest, which is usually successful. Additional tests may not work, as the breakout might not signify a trend change but rather a range.
When the clouds are far apart, it signals a weak trend or that the market is in a range. You will see that this is generally true. When the clouds cross or overlap, their initial point of contact signals the start of a stronger trend. The steeper the slope, the stronger the trend.
Smoothedmovingaverage
Gaussian Kernel Smoothing EMAGaussian Kernel Smoothing EMA
The Gaussian Kernel Smoothing EMA integrates the exponential moving average with kernel smoothing techniques to refine the trend tool. Kernel smoothing is a non-parametric technique used to estimate a smooth curve from a set of data points. It is particularly useful in reducing noise and capturing the underlying structure of data. The smoothed value at each point is calculated as a weighted average of neighboring points, with the weights determined by a kernel function.
The Gaussian kernel is a popular choice in kernel smoothing due to its properties of being smooth, symmetric, and having infinite support. This function gives higher weights to data points closer to the target point and lower weights to those further away, resulting in a smooth and continuous estimate. Since price isn't normally distributed a logarithmic transformation is performed to remove most of its skewness to be able to fit the Gaussian kernel.
This indicator also has a bandwidth, which in kernel smoothing controls the width of the window over which the smoothing is performed. It determines how much influence nearby data points have on the smoothed value. In this indicator, the bandwidth is dynamically adjusted based on the standard deviation of the log-transformed prices so that the smoothing adapts to the underlying variability and potential volatility.
Bandwidth Factor: The bandwidth factor in this indicator is used to adjust the degree of the smoothing applied to the MA. In kernel smoothing, Bandwidth controls the width of the window over which the smoothing is applied. It determines how many data points around a central point are considered when calculating a smooth value. A smaller bandwidth results in less smoothing, while a larger bandwidth smooths out more noise, leading to a broader, more general trend.
SMA Cross Dashboard | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Simple Moving Average (SMA) Cross Dashboard! This dashboard let's you select a source for the calculation of the SMA of it, then let's you enter 2 lengths for up to 5 timeframes, plotting their crosses in the chart.
Features of the new SMA Cross Dashboard :
Shows SMA Crosses Across Up To 5 Different Timeframes.
Select Any Source, Including Other Indicators.
Customizable Dashboard.
📌 HOW DOES IT WORK ?
SMA is a widely used indicator within trading community, it simply works by taking the mathematical average of a source by desired length. Crosses of SMA lines can be helpful to determine strong bullish & bearish movements of an asset. This indicator shows finds crosses across 5 different timeframes in a dashboard and plots them in your chart for ease of use.
🚩UNIQUENESS
This dashboard cuts through the hassle of manual SMA cross calculations and plotting. It offers flexibility by allowing various data sources (even custom indicators) and customization through enabling / disabling individual timeframes. The clear visualization lets you see SMA crosses efficiently.
⚙️SETTINGS
1. Timeframes
You can set up to 5 timeframes & 2 lenghts to detect crosses for each timeframe here. You can also enable / disable them.
2. General Configuration
SMA Source -> You can select the source for the calculation of the SMA here. You can select sources from other indicators as well as more general sources like close, high and low price.
Trended and BlendedWhat up guys and welcome to the CoffeeShop. This is your host and "baristo", Eric.
This is a simple little set of 3 moving averages. Smoothed moving averages that you can use in the 10 /28 strategy, or any other strategy you choose.
Among themselves there is nothing special about these moving averages, but because of their settings they will help you find entries for long and short positions and for divergence trading.
These moving averages have conditional colors built into the code, using the pinescript "color from gradient" feature.
All three moving averages, are green when they are all lined up in a bullish form.
All three are red when they're all lined up in a bearish form.
And they are colored Gray when price action and the moving averages are mixed up in any way.
But this is not enough to help you determine whether you have a true trend or not also it is not enough to tell you whether you have a strong or weak trend so there's more.
Add to this color command, the candles are colored ONLY when there is a true uptrend or downtrend.
If you believe for any reason that price action is telling you this is going to a a short term trend, you can
wait for your long or short color confirmations and then drop down to a lower timeframe to make your trades.
STRONG TREND:
for a strong uptrend you would look for the candles to close bullish above all three green moving averages that were already lined up. This would be a strong uptrend. If price action closed below all three downward lined up moving averages they were all red and your candle is red then you have a strong downtrend.
Week Trend
However if your candle closes bearish and it closes red below a mixed set of moving averages then you have a week downtrend.
The same applies if you have a bullish closing candle but your fast and medium moving average are facing up however they are below your slow moving average. You may have a green line up however if you're moving averages are mixed up then you have a weak trend.
Summary
In short a strong trend is when you close above or below moving averages that are lined up in the same direction and they are not mixed in any way. A weak trend is when you close above or below your fast and medium moving averages as they're lined up in that same direction however they are on the wrong side of your third moving average.
When you have a weak trend you should be scalping and when you have a strong trend you should be able to ride that trend more appropriately.
AIR Vortex ADXThis project started as an effort to improve the user interface of the hybrid indicator ADX of Vortex, which is, as per the name, a blend of ADX and Vortex Indicator. Plotting both indicators on the same polarity and normalising the vortex, a better interpretation of the interaction between the two is possible, and trend becomes apparent.
Basically, the Vortex provides the bright punch and ADX the continuation of the trend and momentum.
A range mixer has been added to the vortex, comprising both true and interpercentile ranges (see my previous script for a desrciption of interpercentile range). Users can activate and add amounts of each as they see fit.
Finally, there is an RSI filter, the idea of which is to filter out ranging (flat) markets, where no distinct direction is yet emerging.
Higher TimeFrame Smooth Moving AveragesScript is designed for those who dislike how plotting a moving average from a higher timeframe on a lower timeframe chart results in a choppy zigzag line when using the standard request.security(syminfo.ticker,"x",ta.sma(src,len)) method.
My more elegant solution was to translate the chart's current timeframe, and the selected higher timeframe into seconds, then check if selected timeframe is Larger than chart timeframe, but not so large that too many bars would be necessary. Then the quotient is calculated by dividing the chosen timeframe (value in seconds) by the chart's timeframe (value in seconds).
Then take that quotient and multiply it by the chosen length. This gives us how many bars of the chart's timeframe would be used in calculating the higher timeframe Moving Average
Use the value to calculate a moving average of choice (SMA,EMA,WMA,LRC,DEMA,TEMA,TRIMA,FRAMA) thanks to @TradingView 's ta library () and @alexgrover 's () for their functions supporting series as length, making this possible.
Basically, get how many of the current chart's bars are in the higher timeframe moving average and use that as the length for calculation using chart's timeframe.
If the higher timeframe relative is too large relative to chart's timeframe, due to bar referencing limits some combinations may not be possible under current limitations, but most will work by either moving chart's timeframe higher or higher timeframe lower assuming you aren't trying to do something too extreme like plotting a weekly moving average onto a 30 second chart etc.
VHF Adaptive Linear Regression KAMAIntroduction
Heyo, in this indicator I decided to add VHF adaptivness, linear regression and smoothing to a KAMA in order to squeeze all out of it.
KAMA:
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can be used to identify the overall trend, time turning points and filter price movements.
VHF:
Vertical Horizontal Filter (VHF) was created by Adam White to identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX DI. Vertical Horizontal Filter does not, itself, generate trading signals, but determines whether signals are taken from trend or momentum indicators. Using this trend information, one is then able to derive an average cycle length.
Linear Regression Curve:
A line that best fits the prices specified over a user-defined time period.
This is very good to eliminate bad crosses of KAMA and the pric.
Usage
You can use this indicator on every timeframe I think. I mostly tested it on 1 min, 5 min and 15 min.
Signals
Enter Long -> crossover(close, kama) and crossover(kama, kama )
Enter Short -> crossunder(close, kama) and crossunder(kama, kama )
Thanks for checking this out!
--
Credits to
▪️@cheatcountry – Hann Window Smoohing
▪️@loxx – VHF and T3
▪️@LucF – Gradient
Tracert Trend[s3]Variable Moving Average(VMA) with a view of the trend based on the VMA on multiple timeframes. The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility . The timeframes of the indicator must be set to a higher timeframe than whatever timeframe your chart is set to to work properly. Example(default): Trading on the 15m timeframe so have the timeframes set to: 1) Chart 2) 30m 3) 45m 4) 60m
Green line of VMA = uptrend in price action
Red line of VMA = downtrend in price action
White line of VMA = indecision in price action
Green candles = uptrend and above VMA
Red candles = downtrend and below VMA
White candles = indecision or chop in price action
Green symbol below candle = all six timeframes are above the VMA
Red symbol above candle = all six timeframes are above the VMA
No symbol above or below candle = indecision amongst the six timeframes
3SMMA + Fractal Strategy [Kintsugi Trading]What is the 3SMMA + Fractal Strategy?
This premium indicator was inspired by my desire to find and place high probability forex trades in any market, direction, or time of day.
Why Forex?
The Forex markets operate 24 hours, 5.5 days a week
Access to meaningful leverage
Ability to easily trade long or short
High liquidity
How to use it!
----- First, start by choosing Breakout Additional PIP Size, Stop Additional PIP Size, and Target Profit (TP) PIP Size. -----
- Breakout Additional PIP Size = Additional PIPs beyond the default strategy entry point.
- Stop Additional PIP Size = The default stop is above/below the signal candle, depending on trade direction. This input allows the user to target more or less PIPs as a stopping-out point.
- Target Profit (TP) PIP Size = Number of PIPs set at a target profit.
----- Next, we set the Session Filter. -----
Set the Timezone and Trade Session you desire. If no specific session is desired, simply leave the box unchecked.
----- Next, we set the Length of the 3 Smoothed Moving Averages. -----
Enter the Desired Moving Average Length:
Length 1 - Source
Length 2 - Source
Length 3 - Source
These inputs will determine whether the strategy looks for Long or Short positions.
----- Next, we set the Fractal Periods. -----
This user input re-programs the strategy to only allow for 'n' number of lower or higher candles on either side of a fractal signal.
For example: If the user inputs "5" for the number of Periods, Fractal indicator signals will only appear on candles with "5" candles higher or lower on both sides of the signal candle.
In combination with the 3 Smoothed Moving Averages, the Fractal signals help us determine when to take a trade and in what direction.
The strategy is essentially looking for trades going with the overall trend and placing potential trades after a low has been reached and is re-tested in the overall trend direction.
----- Finally, we backtest our ideas. -----
After using the 'Strategy Tester' tab on TradingView to thoroughly backtest your predictions you are ready to take it to the next level - Automated Trading!
This was my whole reason for creating the script. If you work a full-time job, live in a time zone that is hard to trade, or just don't have the patience, this will be a game-changer for you as it was for me.
Auto-Trading
When it comes to auto-trading this strategy I have included two options in the script that utilize the alert messages generated by TradingView.
*Note: Please trade on a demo account until you feel comfortable enough to use real money, and then please stick to 1%-2% of your total account value in risk per trade.*
AutoView
PineConnector
Good luck with your trading!
EMA crossover (daily TF)This strategy is only applicable for daily timeframe only. EMAs have been smoothened out to make sure to include volatility glitches that may occur. I have used following conditions:
>EMA crossover of two frames already occurred
> Significant volume in the candle
> Candles are properly bullish or bearish not doji
> price is near EMA crossover
> trading stoploss to reduce risk as price follows the trend
Positive feedbacks are welcome for incorporation.
NSE:SRF
DMA AND SMMA This "on chart" indicator is used purely as a visual sentiment to directional momentum of the pair you are looking at.
it is split into two parts, both of which i will explain below.
1, The SMA (purple and blue fading visual mas) this is used to find the directional momentum
2, the DMA (a slightly delayed Moving Average), is used to decide if the market is in a bullish or bearish move, hence determining whether or not to go long or short.
-only go long when price above DMA, and short, below.
i have found it very good at calling out bad trades, when the direction changes quickly.
same as all my other indicators this is fully adjustable in the settings.
i find, with the standard settings, it works best on the 2 hour timeframe as shown, but again, can be used on any time frame.
For access, send me a DM on TradingView
Multiple Moving AveragesThis script plots up to five Moving Averages , either Simple or Exponential (9, 20, 50, 100 and 200 days period by default).