jma + dwma crossoverThis crossover system was originally conceptualized by Jurik Research and made public to the world on their website .
The indicator consists of the faster Jurik Moving Average (JMA) and the slower Double Weighted Moving Average (DWMA). A long signal is shown when the JMA line crosses above the DWMA line (indicating a possible reversal in trend). A short signal is shown when the JMA line crosses below the DWMA line. Take profit signals are shown when the JMA line reverses directions. Alerts for signals are included in this indicator.
The default settings are not optimized for any timeframe. Both JMA and DWMA lines are defaulted to hidden.
Credit to @everget for the re-creation of the Jurik Moving Average in pinecsript.
Crossovers
RSI Moving Average CrossoversThis script is an improved version of the RSI indicator, using a moving average on the RSI itself, as well as two other moving averages used to determine the current trend.
A small screener indicating the current movement is displayed in the bottom-left zone of the chart: trend (Bullish/Bearish/Uncertain) and status (Impulse or Correction)
Trends are simply based on moving averages crossovers, coupled to the fact that the current candle closes above the fast MA in a bull trend, and under the fast MA in a bear trend. In other cases, the trend and the movement are considered as "Uncertain" by the indicator.
Options
Various types of moving averages for the RSI and trend MA
Show/Hide crossovers between the RSI and its MA
Color the RSI normal zone with the current trend/movement colors
Show/Hide the screener indicating the current movement
Defaults Parameters
Fast MA 20
Slow MA 50
MA source: Close
RSI Length 14
RSI MA: SMMA (RMA)
RSI MA Length: 20
Don't hesitate to suggest any idea which could improve this indicator.
{Gunzo} Heiken Ashi RibbonsHeiken Ashi Ribbons is a trend-following indicator which gives entry and exit points for short-term, medium-term and long term trading (using Exponential Moving Averages and Heiken Ashi formulas).
OVERVIEW :
The Heiken Ashi Ribbons indicator is composed of 3 moving average ribbons (slow, normal and fast) that are computed using the Heiken Ashi formulas. The 3 ribbons give a clear vision of the current trend as they use moving averages that smooth out the price and filter noise from short term fluctuations. In a simplified way, you can consider each ribbon as a moving average with a larger body size.
If the price is above the slow ribbon, we consider the asset as trending up in the short term (trending down otherwise). If the price is above the fast ribbon, we consider the asset as trending up in the long term (trending down otherwise).
CALCULATION :
First of all, to compute a ribbon for this indicator we calculate a moving average (EMA by default) for common sources (OHLC) :
EMA (open), EMA (high), EMA (low), EMA (close)
We then apply the Heiken Ashi formulas to the moving averages calculated previously.
HA (open) = HA (open) previous + HA (close) previous
HA (close) = ( EMA (open) + EMA (high) + EMA (low) + EMA (close) ) / 4
HA (high) = max( EMA (open), EMA (close), EMA (high) )
HA (low) = min ( EMA (open), EMA (close), EMA (low) )
The ribbon displayed (by default) on the chart is the area between HA (open) and HA (close).
SETTINGS :
1st Moving average length : Length of the slow moving average
2nd Moving average length : Length of the normal moving average
3rd Moving average length : Length of the fast moving average
Moving average method : Moving average calculation method (EMA : Exponential Moving Average, SMA : Simple Moving Average, WMA : Weighted Moving Average)
Ribbon type : standard ribbon uses the area between HA (open) and HA (close). Large ribbon uses the area between HA (low) and HA (high)
Display ribbon as candles : change the type of visualization between area and candles
Display short term buy/sell signals : Display short term buy/sell signals (crosses) when the fast moving average and normal moving average are crossing
Display long term buy/sell signals : Display long buy/sell signals (circles) when the fast moving average and slow moving average are crossing
Display ribbon trending up signals : Display ribbon direction change (triangle up) when the trend of the ribbon changes to trending up
Display ribbon trending down signals : Display ribbon direction change (triangle down) when the trend of the ribbon changes to trending down
VISUALIZATIONS :
This indicator has 2 possible visualizations :
Ribbons : the ribbons can be considered as enhanced moving averages for trading purposes. They represent the area between the Heiken Ashi of the moving average of the open and closing price. The color of the moving average line is green when the ribbon is trending up and red when the ribbon is trending down.
Signals : Various signals can be displayed at the bottom of the chart (Buy/Sell signals, Ribbon direction changes signals).
USAGE :
This indicator can be used in many strategies, just like when you are using multiple moving averages. You should test these strategies and use the one that best fits your trading style.
Strategy based on crossovers :
When the fast ribbon crosses above the normal ribbon, it is a short term buy signal (it is recommended to wait for a confirmation)
When the fast ribbon crosses under the normal ribbon, it is a short term sell signal (it is recommended to wait for a confirmation)
When the fast ribbon crosses above the slow ribbon, it is a long term buy signal
When the fast ribbon crosses over the slow ribbon, it is a long term buy signal
Strategy based on price position :
When the prices closes above the ribbon, it is a buy signal (long term if above slow ribbon, short term if above fast ribbon)
When the prices closes below the ribbon, it is a sell signal (long term if below slow ribbon, short term if below fast ribbon)
Strategy based on price bouncing :
When the price decreases and reaches the green long term ribbon, the price candles may not be able to cross the ribbon. If the price increases, we consider that move as a bounce on the ribbon, which is a buy signal
When the price increases and reaches a red long term ribbon, the price candles may not be able to cross the ribbon. If the price decreases, we consider that move as a bounce on the ribbon, which is a sell signal
Strategy based on ribbon direction :
When the direction of the ribbon changes, the trend of the asset is changing which may lead to a crossover to the next candles if the trend is continuing in that direction (it is recommended to validate the entry points with a second indicator as this strategy may have some false signals).
MACD Hybrid BSHMACD = Moving Average Convergence and Divergence
Hybrid = Combining the two main MACD signals into one indicator
BSH = Buy Sell Hold
This indicator looks for a crossover of the MACD moving averages (12ema and 26ema) in order to generate a buy/sell signal and a crossover of the MACD line (12ema minus 26ema) and MACD signal line (9ema of MACD line) in order to generate a completely seperate buy/sell signal. The two buy/sell signals are combined into a hybrid buy/sell/hold indicator which looks for one, neither, or both signals to be "buys." If both signals are buys (fast crossed above slow), a "buy" signal is given (green bar color). If only one signal is a buy, a "hold" signal is given (yellow bar color). If neither signal is a buy, a "sell" signal is given (red bar color). Note: MACD moving averages crossing over is the same thing as the MACD line crossing the zero level in the MACD indicator.
It makes sense to have the MACD indicator loaded as a reference when using this but it isn't required. The lines plotted on the chart are the 12ema and a signal line which is the MACD signal line shown relative to the 12ema rather than the MACD line. The 26ema is not plotted on the chart because the chart becomes cluttered, plus the moving averages crossing over is indicated with the MACD indicator.
This indicator should be used with other indicators such as ATR (1), RSI (14), Bollinger bands (20, 2), etc. in order to determine the best course of action when a signal is given. One way to use this as a strict system is to take a neutral cash position when a yellow "hold" signal is given, to go long when a
green "buy" signal is given, and to go short when a red "sell" signal is given. It can be observed that for many tickers and timeframes that green-yellow-green and red-yellow-red sequences are stronger signals than green-yellow-red and red-yellow-green signals.
Note: Chart type must be "bars" in order for the bar colorization to work properly
VWMA CrossesThis is a simple tool that gives traders a simple visual representation of Volume-Weighted Moving Average ( VWMA ) crossovers that is pretty similar to the MACD . We don't typically trade solely based on the VWMA , but it is definitely one of our go-to tools when combining multiple indicators.
When trading with VWMA's, it is common to enter a position when the fast VWMA crosses over the slow VWMA . In other words, the fast VWMA was previously less than the slow VWMA and is now greater in value than the slow VWMA . Conversely, traders often exit their positions when the fast VWMA crosses under the slow VWMA .
This tool plots the absolute value of the difference between the fast and slow VWMA's as a histogram. When the difference between the fast and slow VWMA's is greater than zero (meaning fast > slow), then the bars are green. The bars then turn red when the fast VWMA is less than the slow VWMA . The blue circle-line is a Simple Moving Average of the difference between the two lines.
Here's a quick guide to interpreting the chart:
if (fast VWMA > slow VWMA ) and (difference < sma of differences)
then color = lime green
if (fast VWMA > slow VWMA ) and (difference > sma of differences)
then color = dark green
if (fast VWMA < slow VWMA ) and (difference < sma of differences)
then color = light red
if (fast VWMA < slow VWMA ) and (difference > sma of differences)
then color = dark red
~Happy Trading~
MA Crossover TypeDraws the up and down crossovers of a specified MA Type.
# Inputs
- MA Type: "sma", "ema", "swma", "vwma", "wma"
- Length >=1
- Source
- Offset >= 0
- Show cross Up?
- Show cross Down?
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
Aroon w/ crossovers highlightedThis is the basic aroon, with a vertical green or red band to highlight bullish or bearish crossovers
On Balance VolumeThis indicator was originally described by Joseph E. Granville in his book "Granville's New Key To Stock Market Profits" (1963).
Trend Continuation FactorTrend Continuation Factor indicator script.
This indicator was originally developed by M.H. Pee (Stocks & Commodities V. 20:3 (58-64): Trend Continuation Factor).