HTF Candle [Custom Time Period] by JustUncleL [SOMMI 1.0 edit]This is a custom High Time Frame indicator, originally created by JustUncleL. 💚
I have edited the Pine Script to allow a custom Time Period input. 💛
In the original version, you could only select from a few time periods as your High Time Frame. 💙
In this version you can put any time frame as your reference. 🧡
Example: 6-hour HTF or 2-Day HTF
SOMMI'S SPECIAL NOTES:
-This indicator works with Heikin-Ashi candles.
-Please change your candles to Heikin-Ashi and apply the indicator.
-Advised to disable "Body Wicks"
-Advised to also refresh your page a few times a day as it doesn't update properly due to limitations of TradingView / Pinescript currently.
💙💛💚🧡
High
Daily High Low MovementIndicates the daily high and low drawn by green and red lines. Fill blocks indicate the average value movement relevant to the previous day. Green fills indicate that the value is moving higher than the previous day and red meaning lower.
NYSE:BA
[RD] LCS - line channels (basic) v3 - [republish]==================================================================
July 18 2019 - LCS - line channels (basic) by RootDuk
Version : v3 - read the notes
==================================================================
Easy script to draw channels based on ie. GANN using the following
input params
- ibback : barsback to search for high and low
- ffactor : factor to up/downscale the lines
- oextend : extend lines, left, right, both, none
- bshowline : show horizontal lines yes/no
- bsshowdown : show diag down lines yes/no
- bsshowup : show diag up lines yes/no
- bshowindm : show index marker, where is you current ibback
===================================================================
Notes
===================================================================
When you use this code, pls let me know where and how you used it
as iam always curious what some can do with it. Thanks!
===================================================================
Updates
===================================================================
v1
v2 - July 17 2019
- Removed support wallets from source code. I think the source
- has been deleted because of this, find no other clue.
v3 - July 18 2019
- Republish
Triple Coppock CurveThe Coppock Curve is a zero-centered momentum oscillator that relies primarily on rate of change calculations. The Coppock Curve in its most basic form is already a great indicator, especially for spotting shifts in momentum. But, we wanted to see how we could modify it to get some better performance out of it.
As the ‘cop’ function demonstrates, the Coppock Curve has a pretty simple calculation. The first step is to calculate the rate of change at a longer and shorter window length. Next, the sum of the two rate of change values is calculated and finally a weighted moving average of a user defined length is calculated(this is the Coppock Curve).
The ‘cop()’ function set the foundation to allow us to implement our modifications. As you can see in the graph, there are 3 different lines (2 histogram and 1 normal line) comprising the Coppock values based on the rate of change of high, low, and closing prices. We liked this layout because it allows traders to easily identify the curve’s pivots and the balance of negative vs. positive momentum.
The Coppock Curve based on high prices is plotted as the teal histogram, wile the pink histogram represents the Coppock Curve of low prices. The curve based on closing prices is the red and green alternating line plotted on top of the two histograms.
We included some notes on the chart to help with interpreting the three curves.
There are two common approaches traders can take when trading with the indicator:
1. Trade based on closing price curve: Go long when line changes from bearish(red) to bullish(green). Then, go short when same line changes from bullish to bearish.
2. Trade based on crossings of the zero-line. This could be based on the high, low, or closing price curves, but closing price is the safest bet. So, go long when it crosses from negative into positive territory and short when it crosses under the zero line from positive into negative territory.
Support/Resistance Zones x3Support and Resistance Levels + Zones for 3 time frames, based on volume at fractal levels with Zones based on wick size which is a true reflection of a Zone when compared to other S/R Zone scripts which only use a thick line not based on anything.
Original script is thanks to synapticex I have just migrated to version 3, heavily modified it and added Support and Resistance Zones.
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.
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