Trend Following MAs 3DHello All,
This is Moving Averages Trend Following 3D indicator. The idea is based on direction of MAs and relation between 20 moving averages (5 to 100 period).
Option to show different type of MAs: EMA, SMA, RMA, WMA, VWMA.
As I haved tested it looks succesful at calculating trend direction and trend strength.
For a better look I tried to make it 3D, it looks good I think, waiting comments ;)
Some screenshots:
By using RMA type:
When it gets tiny it means there is no trend:
An example for down trend:
ENJOY!
Trendreversal
Gann Trend OscillatorDeveloped by Robert Krausz, the Gann Trend Oscillator is a trend-following indicator used to determine the financial instruments long-term price direction.
Divergence for many indicator v3Hello Everyone. Almost one year later, with Pine version 4, I developed new version of the Divergence for many Indicator.
It analyses divergences for 10 predefined indicators and then draws line on the graph. Red for negatif divergence (means prices may go down or trend reversal), Lime for positive divergences (means prices may go up or trend reversal)
Divergences version 2 has latency because it waits higher time frame completion. in this new version the script uses Pivot Points and on every bar it checks divergence between last Pivot point and current bar and if it finds any then immediately draws line and removes old one. so there is no latency with this version.
There are predefined 10 indicators in the script, you have option to choose which indicators the script would analyse for divergence. (RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, Diosc, VWMACD and CMF)
In replay mode you can see how the script puts new divergence line and removes old one. you better see it for yourself by using replay mode.
Hope you Enjoy!
Trend Following or Mean RevertingThe strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.
Pivot Reversal Strategy - FIGS & DATES 2.0Simple Pivot Reversal Strategy with some adding settings.
Date Range: To test over specific market conditions.
Initial Capitol: $10K - This is a more realistic representation of funds used this strategy (for me anyway). The default of $100K can give different results (usually better) than when using a smaller balance.
Order Size: 100% Equity - These trend following strategies typically used this way, going all in each direction.
Commission: .075% - It's always disheartening to think you've found a ridiculously good setting, and then realize you forgot to add the commission.
All of these settings can be changed, but it's easier for me (and more fool proof) to have them set as default.
Multi-Pair Trend Reversal WidgetThis is a multi-currency-pair trend reversal widget, which picks currency pairs by overbought/oversold level and can be used in pair trading strategy. It shows tradable currency pairs as well as anticipates corresponding trend direction. Currency pairs (CPs) are ordered by importance. The first 5 CPs are highlighted (with blue bars) as majors. The additional 5 CPs are minors (in gray bars) and may be omitted. Orange star indicates crossover of the middle line, the mean, with red and green stars being early warning signals of a forthcoming uptrend and downtrend, correspondingly.
Mind that this widget is computationally intensive, having to calculate 10 assets. Nonetheless, please look at it as my proposal for future developments of Pinescript, i.e. embedding widgets in the chart. ;)
VWMA Trend FilterHere's a simple tool for determining long term trend direction using two Volume Weighted Moving Averages (VWMA). The VWMA's emphasis on volume often makes it a better measurement for trend direction than the more popular Exponential Moving Average (EMA).
Trend direction is determined by comparing a fast and slow VWMA. The default length for the fast VWMA is 50 periods, while the slow uses a default length of 200. Both of these lengths can be modified in the input options menu. The default source for the VWMA's is HLC3((high + low + close) / 3).
If the fast VWMA is greater than the slow VWMA, then the trend is bullish and the background color is green. If the fast VWMA is less than the slow VWMA, then it is bearish and the background color is red.
We included an option to change the candle color based on whether the VWMA's indicate a bullish or bearish trend as well.
Overall, this is one of those utility tools that we like to use as an overlay over the main price chart and in conjunction with other signal generating indicators. Its purpose isn't to generate buy and sell signals, but it works well as a visual confirmation tool to help traders gauge trend direction.
Vortex Trend TrackerThough it may sound complex, the Vortex Indicator is essentially an uptrend line and a downtrend line. The vortex indicator can be used for a variety of purposes, including tracking the strength of trends, identifying/anticipating reversals, and generating entry/exit signals. It’s calculation is shown in the open-source code below.
To reduce the number of whipsaws produced by the indicator, we used an Exponential Moving Average of vmPlus and vmNegative values with a default length of 10. Decreasing this length will result in a more responsive vortex at the cost of more whipsaws and false signals.
The chart shows the absolute value of the difference between the uptrend and downtrend line displayed as the main histogram.
If the uptrend line is greater than the downtrend (thus indicating positive movement), then the histogram bars will be either light green or dark green. If the uptrend line has just now crossed the downtrend line, then the bar will be dark green. Bars will also be dark green when the uptrend line is greater than the downtrend line and the uptrend line is increasing. This means the trend is increasing in strength still. If the uptrend line is greater than the downtrend line, but is decreasing, then the bars will be light green. This means that the upwards trend is losing strength.
If the downtrend line is greater than the uptrend line, then there is a negative trend occurring and the bars will be either red or light red. If the downtrend line has just crossed over the uptrend line or is increasing in value, then the bar will be red. If the downtrend line is greater than the uptrend line, but is decreasing in value, then the bars will be light red (meaning the downtrend is weakening).
One way to trade using this vortex is to enter a long position when the bar color changes from red to light red. This would mean that the downtrend is decreasing in strength and an upwards reversal is likely to occur soon. Then, traders can exit their long position when the bars change from dark green to light green. When that color change occurs it means that the uptrend is running out of steam and price is unlikely to continue its upwards climb.
Traders can also choose to have the uptrend and downtrend lines plotted as well in the input menu. This may make it easier to visualize the Vortex and its usefulness in identifying reversals.
Volume ImpactVolume Impact (The area)
Average Volume (The thick line, xTrigger)
Volume Impact = Volume Chance - Average Volume
It provides very reliable buy sell signals. Buy(green) when increasing, sell(red) when decreasing. Volume Impact might drop before the actual price so it has an early warning potential.
Before trend changes volume average diverges from the prices. It moves reverse to the prices.
Also before trend changes, volume impact peaks diverges from price peaks. So you know a big drop is coming.
Klinger Volume Oscillator inspired this indicator... This data is there but it is more difficult to interpret.
In summary, you can foresee trend changes.
2 Week Low/2 Week HighScript used to identify the 2 week high and low. This helps in identifying trend reversals.
Mass IndexThis indicator was originally developed by Donald Dorsey (Stocks & Commodities, V.10:6 (June, 1992): "The Mass Index").
Specially for @AlexMayorov :
If indicator reaches 27 and then falls to below 26.5 then it could be a signal of potential trend reversal.
Fractals and Pattern MandelbrotThis indicator show classic fractals and patterns of force long or short if they are on the top or on the low of a x candles, so they try to anticipate the inversion of the trend.
The purple arrow indicate the fractals and the blue indicate the pattern for the inversion of the trend.
For the targets and the stop we need to use Fibonacci extentions modificate with this values:
-1.64
-0.64
1.5563
2.422
3.5699
4.669
5.8664
9.1299
14.208
and use this A,B,C points:
For long positions A is the LAST RED CLOSE, B is the GREEN CLOSE just before the blue arrow, C is B.
the -1.64 is the stop loss, if price close under that
the -0.64 is the best level to enter long
For short positions A is the LAST GREEN CLOSE, B is the RED CLOSE just before the blue arrow, C is B.
the -1.64 is the stop loss, if price close above that
the -0.64 is the best level to enter short
Big Snapper Alerts R2.0 by JustUncleLThis is a diversified Binary Option or Scalping Alert indicator originally designed for lower Time Frame Trend or Swing trading. Although you will find it a useful tool for higher time frames as well.
The Alerts are generated by the changing direction of the ColouredMA (HullMA by default), you then have the choice of selecting the Directional filtering on these signals or a Bollinger swing reversal filter.
The filters include:
Type 1 - The three MAs (EMAs 21,55,89 by default) in various combinations or by themselves. When only one directional MA selected then direction filter is given by ColouredMA above(up)/below(down) selected MA. If more than one MA selected the direction is given by MAs being in correct order for trend direction.
Type 2 - The SuperTrend direction is used to filter ColouredMA signals.
Type 3 - Bollinger Band Outside In is used to filter ColouredMA for swing reversals.
Type 4 - No directional filtering, all signals from the ColouredMA are shown.
Notes:
Each Type can be combined with another type to form more complex filtration.
Alerts can also be disabled completely if you just want one indicator with one colouredMA and/or 3xMAs and/or Bollinger Bands and/or SuperTrend painted on the chart.
Warning:
Be aware that combining Bollinger OutsideIn swing filter and a directional filter can be counter productive as they are opposites. So careful consideration is needed when combining Bollinger OutsideIn with any of the directional filters.
Hints:
For Binary Options try ColouredMA = HullMA(13) or HullMA(8) with Type 2 or 3 Filter.
When using Trend filters SuperTrend and/or 3xMA Trend, you will find if price reverses and breaks back through the Big Fat Signal line, then this can be a good reversal trade.
Some explanation about the what Hull Moving average and ideas of how the generated in Big Snapper can be used:
tradingsim.com
forextradingstrategies4u.com
Inspiration from @vdubus
Big Snapper's Bollinger OutsideIn Swing filter in Action:
SuperTrend Oscillator v3Version 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock , just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock , the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).
SuperTrend OscillatorVersion 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock, just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock, the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).