High
Japanese Correlation CoefficientIntroduction
This indicator was asked and named by a trading meetup participant in Sevilla. The original question was "How to estimate the correlation between the price and a line as easy as possible", a question who got little attention. I previously proposed a correlation estimate using a modification of the standard score (see at the end of the post) for the estimation of a Savitzky-Golay moving average (LSMA) of order 1, however something faster could maybe be done and this is why i accepted the challenge.
Japanese Correlation
Correlation is defined as the linear relationship between two variables x and y , if x and y follow the same direction then the correlation increase else decrease. The correlation coefficient is always equal or below 1 and equal or above -1, it also have to be taken into account that this coefficient is quite smooth. Smoothing is not a problem, scaling however require more attention, high price > closing price > low price, therefore scaling can be done. First we smooth the closing/high/low price with a simple moving average of period p/2 , then we take the difference of the smoothed close with the smoothed close p/2 bars back, this result is then divided by the difference between the highest smoothed high's with the lowest smoothed low's over period p/2 .
Since we use information provided by candlesticks (close/high/low) i have been asked to publish this estimator with the name Japanese correlation coefficient , this name don't imply the use of data from Japanese markets, "Japanese" is used because of the candlestick method coming from Japan.
Comparison
I compare this estimation with the correlation coefficient provided in pinescript by the correlation function.
The estimation in orange with the original correlation coefficient using n as independent variable in blue with both length = 50.
comparison with length = 200.
Conclusion
I have shown that it is possible to roughly estimate the correlation coefficient between price and a linear function by using different price information. Correlation can be further estimated by using homogeneous bridge OHLC volatility estimators thus making able the use of different independent variables. I really hope you like this indicator and thanks to the meetup participant asking the question, i had a lot of fun making the indicator.
An alternative method
High Performance Candlestick Patterns Colors//Candle Patterns Ranked by Performance THOMAS N. BULKOWSKI
//1. Bearish Three Line Strike +Up 67.38%
//2. Bullish Three Line Strike -Down 65.23%
//3. Bearish Three Black Crows -Down 59.83%
//4. Bearish Evening Star -Down 55.85%
//5. Bullish Upside Tasuki Gap +Up 54.44%
//6. Bullish Inverted Hammer -Down 51.73%
//7. Bullish Matching Low -Down 50.00%
//8. Bullish Abandone Baby +Up 49.73%
//9. Bearish Two Black Gapping -Down 49.64%
//10. Brearish Breakaway -Down 49.24%
//11. Bullish Morning Star +Up 49.05%
//12. Bullish Piercing Line +Up 48.37%
//13. Bullish Stick Sandwich +Up 48.20%
//14. Bearish Thrusting Line During Dowtrend +Up 48.10%
//15. Bearish Meeting Line +Up 48.07%
//Down=Yellow Bar Color and Black Text
//Up=Blue Bar Color and Blue Text
//High Performance Candlestick Patterns Colors Top 15
High Performance Candlestick Patterns//Candle Patterns Ranked by Performance THOMAS N. BULKOWSKI
//1. Bearish Three Line Strike +Up 67.38%
//2. Bullish Three Line Strike -Down 65.23%
//3. Bearish Three Black Crows -Down 59.83%
//4. Bearish Evening Star -Down 55.85%
//5. Bullish Upside Tasuki Gap +Up 54.44%
//6. Bullish Inverted Hammer -Down 51.73%
//7. Bullish Matching Low -Down 50.00%
//8. Bullish Abandone Baby +Up 49.73%
//9. Bearish Two Black Gapping -Down 49.64%
//10. Brearish Breakaway -Down 49.24%
//11. Bullish Morning Star +Up 49.05%
//12. Bullish Piercing Line +Up 48.37%
//13. Bullish Stick Sandwich +Up 48.20%
//14. Bearish Thrusting Line During Dowtrend +Up 48.10%
//15. Bearish Meeting Line +Up 48.07%
//Down=Yellow Bar Color and Black Text
//Up=Blue Bar Color and Blue Text
//High Performance Candlestick Patterns Top 15
Range: OHLC vs Previous OHLCThis will plot your choice of OHLC (or any of the averaging choices) of the current candle compared to the previous candle.
For example if you choose "high" for the input and set the chart to daily, you'll see the currently daily high vs the previous daily high.
Green candle represent a higher high and the length of the candle represents how much higher.
Red candles represent a lower high than the previous day and the length is by how much lower.
This indicator is pretty straight forward, look for me to build on this with something a little more elaborate in the near future.
HTF High/LowThis simple script draws the previous higher timeframe candle high/low to your chart.
You can also make the script paint the zone between the low/open and the high/close.
High Low LinesThis script allows you to see a line graph of the highs and lows. Useful for drawing trend lines.
Powerfull strategy MACD + RSI + Stoch buy on High exit on ATRMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
High-Low RangeThis script just shows a histogram of the daily range. You can change the interval to view the high/low range of any period, but I use it just to see what the day's range is and how it compares to prior days. Simple and straightforward.
New Highs-Lows AMEX-Buschi
English:
This indicator shows the AMEX's up volume (green) and down volume (red).
Extreme trading days with more than 90 % up or down volume are marked via lines (theoretically values) and triangles (breaches).
Deutsch:
Dieser Indikator zeigt das Aufwärts- (grün) und Abwärts-Volumen (rot) der AMEX.
Extreme Handelstage mit mehr als 90 % Aufwärts- oder Abwärts-Volumen ist gekennzeichnet über Linien (theoretische Werte) und Dreiecke (Überschreitungen).
New Highs-Lows NASDAQ-Buschi
English:
This indicator shows the NASDAQ's new highs (green) and new lows (red).
Extreme trading days with more than 99 % new highs relative to new lows vice versa are marked via lines (theoretically values) and triangles (breaches).
Deutsch:
Dieser Indikator zeigt die neuen Hochs (grün) und neuen Tiefs (rot) der NASDAQ.
Extreme Handelstage mit mehr als 99 % neuen Hochs relativ zu den neuen Tiefs und andersherum sind gekennzeichnet über Linien (theoretische Werte) und Dreiecke (Überschreitungen).
New Highs-Lows NYSE-Buschi
English:
This indicator shows the NYSE's new highs (green) and new lows (red).
Extreme trading days with more than 99 % new highs relative to new lows vice versa are marked via lines (theoretically values) and triangles (breaches).
Deutsch:
Dieser Indikator zeigt die neuen Hochs (grün) und neuen Tiefs (rot) der NYSE.
Extreme Handelstage mit mehr als 99 % neuen Hochs relativ zu den neuen Tiefs und andersherum sind gekennzeichnet über Linien (theoretische Werte) und Dreiecke (Überschreitungen).
Middle-High-Low Moving AverageThis indicator was originally developed by Vitali Apirine (Stocks & Commodities , V.34:9 (August, 2016): "The Middle-High-Low Moving Average").
You can use it to create a crossover trading system in conjuction with EMA/SMA.
Good luck!
Sector High/LowHighlights which S&P SPDR Sector ETFs are at highs of day (green letter) or lows of day (red letter)
The first candle of the day is always all-green because by default the first candle of the day has the high of the day. So this indicator is more meaningful later in the day when sectors are making repeated highs/lows
ZigZag Repaint Examplesimple example showing how to use na to create straight lines that "repaint" as the latest bars update.
Swing Highs and LowsSimple script to overlay swing highs and lows.
A Swing High (SH): a price bar high preceded by two lower highs (LH) and followed by two lower highs (LH).
Daily High/Lowmodified version of Mike Witts Daily High/Low indicator.
This is a simple change that removes the 1-day offset from the indicator.
Prev HHLL Round NumbersDisplays previous highs and lows. Added Round numbers.
Modified Chris Moody script.