High
MACD Divergence Tops + BottomsMACD Indicator which plots local peaks and troughs in divergence.
"Classic" Divergence is specified as:
- A higher price, with reduced MACD high --> Potential Sell Point
- A lower price, with higher MACD low --> Potential Buy Point
"Alternative" Divergence is specified as:
- A higher MACD high, with reduced price --> Potential Sell Point
- A lower MACD low, with higher price --> Potential Buy Point
MACD Divergence should be used in combination with other indicators. This indicator identifies local tops and bottoms, with potential for macro trend shifts.
Charles Recession WatchThe “Recession Watch” indicator tracks 7 key economic metrics which have historically preceded US recessions. It provides a real-time indication of incoming recession risk.
This indicator gives a picture of when risk is increasing, and therefore when you might want to start taking some money out of risky assets.
All of the last seven recessions were preceded by a risk score of 3 or higher. Six of them were preceded by a risk score of 4 or higher. Unfortunately data prior to 1965 was inconsistent and prior recessions could not be considered.
Based on the indicator hit rate at successfully flagging recessions over the last 50 years, risk scores have the following approximate probabilities of recession:
- 0-1: Low
- 2: 25% within next 18 months
- 3: 30% within next 12 months
- 4-7: 50% within next 12 months
Note that a score of 3 is not necessarily a cause for panic. After all, there are substantial rewards to be had in the lead up to recessions (averaging 19% following yield curve inversion). For the brave, staying invested until the score jumps to 4+, or until the S&P500 drops below the 200day MA, will likely yield the best returns.
Notes on use:
- use MONTHLY time period only (the economic metrics are reported monthly)
- If you want to view the risk Score (1-7) you need to set your chart axis to "Logarithmic"
Enjoy and good luck!
Multiple SMAs + X-Bar High/LowWhen starting my daily analysis, I typically open a daily chart and check where the price is compared to several SMAs, as well as check the high/low of today and the 10-day high/low. This indicator was designed to save chart space as well as make finding the highs and lows more efficient. Everything is adjustable, so you don't have to stick with my 10-bar rule.
Function : Pivots High and Low WARNING: The toil of this script is not mine . In order to avoid disrespect for work, I deleted some extensions only pure pivots , that is, only the information this script needed. I liked the fact that high and low pivots were in one function. I found this command by chance on stackoverflow. I don't know the authors and the nicknames because they are the stackoverflow nicknames. I hope it will help your adaptive periods. Finally, the length of the pivot must be at least 3 to be available.If the author reaches me, I will give his/her Tradingview name as a reference.
Pivot Points High Low (HH/HL/LH/LL) [Anan]Hello Friends,
This is my own version of ( Pivot Hilo Support n Resistance Levels R3-3 by JustUncleL )
- V4 Pinescript
- Removed MA dependency filters
- Add some arrows
Timelines-Buschi
English:
This is a little, simple script I made upon request from a user.
It shows the highs ad lows of up to three custom timelines (e. g. 60 min, 30 min and 15 min) within a chart.
Deutsch:
Dies ist ein kleines, einfaches Skript, das ich auf Anfrage eines Nutzers erstellt habe.
Es zeigt die Hochs und Tiefs von bis zu drei individueller Zeitreihen (z. B. 60 min, 30 min und 15 min) innerhalb eines Charts.
Previous OHLC LevelsQuick dirty code for personal use. Plots previous OHLC levels based on a selected time-frame on the chart.
Not bad if you want to see different time-frame levels.
Fill function can serve to highlight the daily range (high-low or open-close) on non-standard charts
Uses base code from JayRogers
High and lows round vs full numbersLiterally the name, just checks if a high or low is a full number or decimal (i.e 100.5) then shows the percentage of full number highs vs percentage of full number lows.
I couldn't really find anything useful with it but maybe someone else can
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.
💙💛💚🧡
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