ZigCycleBarCount [MsF]Japanese below / 日本語説明は英文の後にあります。
Based on "ZigZag++" indicator by DevLucem. Thanks for the great indicator.
-------------------------
This indicator that displays the candle count (bar count) at the peaks of Zigzag .
It also displays the price of the peaks.
You can easily count candles (bars) from peak to peak. Helpful for candles (bars) in cycle theory.
This logic of the indicator is based from the mt4 zigzag indicator .
Parameter:
Depth = depth (price range)
Backstep = Period
Deviation = Percentage of how much the price has wrapped around the previous line.
Example:
Depth = 12
Backstep = 3
Deviation = 5
In this case, the price range is updated by 12 pips or more (Depth), and after 3 or more candlesticks line up (Backstep), if the price deviates from the previous line by 5% or more (Deviation), a peak is added.
-------------------------
Zigzagの頂点にローソクカウント(バーカウント)を表示するインジケータです。
頂点の価格も表示します。
頂点から頂点までのローソク(バー)を容易にカウントすることができます。
サイクル理論のローソク(バー)に役立ちます。
Zigzagロジック自体はMT4のzigzagインジケータを流用しています。
<パラメータ>
Depth=深さ(値幅)
Backstep=期間
Deviation=価格がどれだけ直前のラインの折り返したかの割合
例:
Depth=12
Backstep=3
Deviation=5
この場合、値幅を12pips以上更新し(Depth)、ローソク足が3本以上並んだ後(Backstep)、価格が直前のラインの5%以上折り返せば(Deviation)、頂点を付けます。
<表示オプション>
Label_Style = "TEXT"…テキスト表示、"BALLOON"…吹き出し表示
Elliotwellen
Channel Based Zigzag [HeWhoMustNotBeNamed]🎲 Concept
Zigzag is built based on the price and number of offset bars. But, in this experiment, we build zigzag based on different bands such as Bollinger Band, Keltner Channel and Donchian Channel. The process is simple:
🎯 Derive bands based on input parameters
🎯 High of a bar is considered as pivot high only if the high price is above or equal to upper band.
🎯 Similarly low of a bar is considered as pivot low only if low price is below or equal to lower band.
🎯 Adding the pivot high/low follows same logic as that of regular zigzag where pivot high is always followed by pivot low and vice versa.
🎯 If the new pivot added is of same direction as that of last pivot, then both pivots are compared with each other and only the extreme one is kept. (Highest in case of pivot high and lowest in case of pivot low)
🎯 If a bar has both pivot high and pivot low - pivot with same direction as previous pivot is added to the list first before adding the pivot with opposite direction.
🎲 Use Cases
Can be used for pattern recognition algorithms instead of standard zigzag. This will help derive patterns which are relative to bands and channels.
Example: John Bollinger explains how to manually scan double tap using Bollinger Bands in this video: www.youtube.com This modified zigzag base can be used to achieve the same using algorithmic means.
🎲 Settings
Few simple configurations which will let you select the band properties. Notice that there is no zigzag length here. All the calculations depend on the bands.
With bands display, indicator looks something like this
Note that pivots do not always represent highest/lowest prices. They represent highest/lowest price relative to bands.
As mentioned many times, application of zigzag is not for buying at lower price and selling at higher price. It is mainly used for pattern recognition either manually or via algorithms. Lets build new Harmonic, Chart patterns, Trend Lines using the new zigzag?
Moving Average Based Zig ZagMoving Average Based Zig Zag differs from the traditional Zig Zag indicator in that pivot points are determined by a moving average, Volume Weighted Hull Moving Average, rather than looking for the highest or lowest point in a left / right period.
Settings
Source: the source for the pivot points.
Moving Average Length: the length of the Volume Weighted Hull Moving Average, increase for longer zig zags, decrease for shorter zig zags.
Usage
Like all Zig Zag indicators, the Moving Average Based Zig Zag is not intended to be used as a live trading tool. This indicator is intended to be an alternative way of determining pivot points on your chart. Pivot points can be used for a multitude of different analytical techniques. One may use pivot points in order to draw potential support and resistance lines, trend lines or chart patterns. Additionally, pivot points can be used to determine variations of highs and lows important to market structure analysis such as break of structure or change of character.
Details
The moving average used is a Volume Weighted Hull Moving Average, this particular moving average was used due to it's relatively low-lag characteristics when compared to an Exponential Moving Average, additionally by considering volume in the moving average calculation, insignificant pivot points can be further filtered.
Rather than using built-in functions `ta.pivothigh()` and `ta.pivotlow()` to determine pivot points, this indicator waits for the moving average to pivot then searches for the highest or lowest value from the bar index of the moving average pivot to the bar index of the previous found price pivot. This method of determining pivots provides a more dynamic approach to determining pivot points.
Zig Zag Ratio Simplified█ OVERVIEW
This indicator was to show ratio between zig zag. Ideally to find Fibonacci Retracement / Projection, Harmonic Patterns, ABCD, Elliot Wave and etc.
█ CREDITS
LonesomeTheBlue
█ FEATURES
Table can positioned by any position and font size can be resized.
█ USAGE / TIPS EXAMPLES (Description explained in each image)
Davin's 10/200MA Pullback on SPY Strategy v2.0Strategy:
Using 10 and 200 Simple moving averages, we capitalize on price pullbacks on a general uptrend to scalp 1 - 5% rebounds. 200 MA is used as a general indicator for bullish sentiment, 10 MA is used to identify pullbacks in the short term for buy entries.
An optional bonus: market crash of 20% from 52 days high is regarded as a buy the dip signal.
An optional bonus: can choose to exit on MA crossovers using 200 MA as reference MA (etc. Hard stop on 50 cross 200)
Recommended Ticker: SPY 1D (I have so far tested on SPY and other big indexes only, other stocks appear to be too volatile to use the same short period SMA parameters effectively) + AAPL 4H
How it works:
Buy condition is when:
- Price closes above 200 SMA
- Price closes below 10 SMA
- Price dumps at least 20% (additional bonus contrarian buy the dip option)
Entry is on the next opening market day the day after the buy condition candle was fulfilled.
Sell Condition is when:
- Prices closes below 10 SMA
- Hard stop at 15% drawdown from entry price (adjustable parameter)
- Hard stop at medium term and long term MA crossovers (adjustable parameters)
So far this strategy has been pretty effective for me, feel free to try it out and let me know in the comments how you found :)
Feel free to suggest new strategy ideas for discussion and indicator building
Trend/Retracement - ZigZag - New wayZigZag for Trend and Retracements - New way
It's another way to plot ZigZag based on lookback period for trend and % of trend lookback period to plot retracements.
█ OVERVIEW
Plot ZigZag, Trend lines, Retracements, Support levels, Resistance levels
█ Objective:
Draw ZigZag lines along with unbroken support and resistance levels. ZigZag lines are drawn for main trend and the retracements.
Main Trend – This is calculated based on lookback period.
Retracements – Retracements are calculated as 25% of main trend.
Support and Resistance line: The indicator draws 2 types of support and resistance lines
1. Un-broken – Once formed (plotted), these are the support and resistance which are not yet broken
2. Tested – One can also choose to see support and resistance lines which are tested but not broken. Tested support/resistance are those levels which are touched by high/low price but close price has not crossed the level.
█ How main trend point is calculated:
E.g.
Chart timeframe = 15m
Lookback period = 250
Retracement = 25% of main trend ( 25% of 250 = 62 )
A price point on a chart is considered as trend point if distance between current price and previous highest price is 250 candles
A price point is considered as a retracement if distance between current price and previous highest price is 62 candles. Please note retracements are calculated only after finding a main trend point.
█ Input parameters:
Zigzag Parameters
Use predefined Lookback – If checked pre-defined timeframe-based lookback parameters are used.
Trend lookback candles – If ‘Use predefined Lookback’ is unchecked then this value is used as lookback period.
Retracement % of look back candles– If ‘Use predefined Lookback’ is unchecked then this value is used for calculating retracement lookback period
Mark retracements – If unchecked only main trend lines are plotted
Plot support/resistance – To plot support/resistance levels
Show support/resistance tested lines – If checked tested support/resistance liens are shown on the chart
█ TF based Lookback period config (Defaults are set as specified below, One can change these defaults to use different lookback periods)
The defaults set here are used based on the chart timeframe. e.g. if chart timeframe is changed from say 15m to 60m then 60m chart defaults (i.e. trend lookback = 90) are used to plot the trend and the retracements. At the bottom-right of the chart, parameters used for plotting are displayed all the time.
Timeframe in minute – Default = 5m
Trend lookback candles – Default = 375 (~ 5 days of data)
Timeframe in minute – Default = 15m
Trend lookback candles – Default = 250 (~10 days of data)
Timeframe in minute – Default = 60m
Trend lookback candles = Default = 90 (~ 15 days of data)
Trend lookback candles for timeframe 'D' – Default = 30 (~1 month data)
Trend lookback candles for timeframe 'W' – Default = 21 (~6 months data)
Trend lookback candles for timeframe 'M' – Default = 12 (~1year data)
Retracement % of look back candles – Default = 25%
█ When and where one can use this indicator (Refer to chart examples)
To view support and resistance based on lookback period
To view ZigZag lines
One can use it to find chart patterns easily
Trend and retracement lines can help in drawing Elliott waves.
█ Chart examples:
1. Chart patterns can be easily identified - One can disable the candle charts which will help to identify and draw chart patterns easily
2. Trend and retracement lines can also help is analyzing charts (e.g. Elliott Waves can be marked based on trend lines)
3. Tested but not broken support and resistance lines can be viewed
4. You can select 'NOT' to plot tested support and resistance lines
5. Uncheck the Mark retracements to plot main trend lines (Retracements are not marked)
RSI + MA, LinReg, ZZ (HH HL LH LL), Div, Ichi, MACD and TSI HistRelative Strength Index with Moving Average, Linear Regression, Zig Zag (Highs and Lows), Divergence, Ichimoku Cloud, Moving Average Convergence Divergence and True Strength Index Histogram
This script is based on zdmre's RSI script, I revamped a lot of things and added a few indicators from ParkF's RSI script.
Disable Labels in the Style tab and the histogram if you don't enlarge the indicator and it seems too small.
Look to buy in the oversold area and bounce of the support of the linear regression.
Look to sell in the overbought area and bounce of the resistance of the linear regression.
Look for retracement to the moving average or horizontal lines, and divergences for potential reversal.
RSI
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Moving Average
Moving Average (MA) is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
Linear Regression
The Linear Regression indicator visualizes the general price trend of a specific part of the chart based on the Linear Regression calculation.
Zig Zag (Highs and Lows)
The Zig Zag indicator is used to identify price trends, and in doing so plots points on the chart to mark whenever prices reverse by a larger percentage point than a predetermined variable or marker.
Divergence
The divergence indicator warns traders and technical analysts of changes in a price trend, oftentimes that it is weakening or changing direction.
Ichimoku Cloud
The Ichimoku Cloud is a package of multiple technical indicators that signal support, resistance, market trend, and market momentum.
MACD and TSI Histogram
MACD can be used to identify aspects of a security's overall trend.
The True Strength Index indicator is a momentum oscillator designed to detect, confirm or visualize the strength of a trend.
RSI TrendRSI Hull Trend is a hybrid indicator with RSI of HULL Signal. The Hull MA is combined with RSI to see if the Hull MA Buy/Sell Signal is in overbought or oversold condition. Buy Sell Signals are plotted based on settings of OB/OS or RSI. This indicator is very useful to see if the Trend is in Exhaustion or Beginning of a Trend. Entry and Exit conditions can be more precise based on OB/OS condition of price action. In addition normal RSI trend is plotted with trend color from Hull MA. Best Performance with Heiken Ashi Candles.
OB/OS Settings provided
Hull Buy/Sell Signals plotted
Double RSI FAST and DEFAULT signal with crossover
Bar Color applied based on Hull RSI Trend
Hull Trend + RSI + Price Action
PharshK RSI and Zigzag with H/LIt is with RSI level
and Zigzag Pattern that Market goes on Maximum level and Lower Level
And it is also Showing High and Law Level of last Moving Candle so it is easy to entry and Hold
PharshK RSI and Zigzag with H/LIt is with RSI level
and Zigzag Pattern that Market goes on Maximum level and Lower Level
And it is also Showing High and Law Level of last Moving Candle so it is easy to entry and Hold
CHS Zig ZagCHS ZigZag stands for Changeable Source ZigZag
The original ZigZag indicator offered by TradingView doesn't have the ability to measure the tips and troughs based on closing prices (line chart), however, this indicator is capable of receiving an input from user that determines the price source used for further calculations.
The default inputs of the original ZigZag indicator have been also changed in order to make it adapt to pivots formed on line chart but users can change arbitrarily.
Structured zigzag support&resistance [LM]Hello Traders,
I would like to introduce you Structured zigzag support&resistance. It is based on the ZigZag semafor script made by DevLucem so shout out to him
The indicator is used to spot future multi-level Supports and Resistance zones. It is also useful to spot HL or LL or HH or LH zones
I's the same zigzag indicator as my other zigzag indicator with highlight on diagonal lines(highs and lows are automatically classified and also new types of diagonal lines that connects low or highs and extends to right are drawn )
It has two settings:
Fist is to control horizontal lines and zigzag setting
Second is to control diagonal lines
I hope you will enjoy it as I enjoyed to write it.
Lukas
RSI Divergence Scanner by zdmreDivergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
If the stock is rising and making new highs, ideally the RSI is reaching new highs as well. If the stock is making new highs, but the RSI starts making lower highs, this warns the price uptrend may be weakening. This is negative divergence.
Positive divergence is the opposite situation. Imagine the price of a stock is making new lows while the RSI makes higher lows with each swing in the stock price. Investors may conclude that the lower lows in the stock price are losing their downward momentum and a trend reversal may soon follow.
Divergence is one of the common uses of many technical indicators, primarily the oscillators.
Use it at your own risk
Support and Resistance Multiperiod (Zig Zag Based)Support and Resistance Multiperiod (Zig Zag Based)
What is the indicator?
• The indicator is a multi period (up to 5 lengths) Support and Resistance indicator calculated based on Zig Zag.
Who can use?
Scalpers to Long term investors
What timeframe to use?
• Any timeframe
What are the lines?
• Green lines are Support levels.
• Orange lines are Resistance levels.
How to use?
• Buy Low and Sell High.
• Brighter zones means strong Support or Resistance.
• Weaker zones appear lighter.
• Brighter zones are formed by overlapping of lines from multiple levels of support or resistance.
Indicator Menu
• The indicator can input 5 different Lengths.
• The default settings uses 13, 21, 52, 100 & 200.
• Every option are customizable.
rzigzagLibrary "rzigzag"
Recursive Zigzag Using Matrix allows to create zigzags recursively on multiple levels. After bit of consideration, decided to make this public.
zigzag(length, ohlc, numberOfPivots, offset)
calculates plain zigzag based on input
Parameters:
length : Zigzag Length
ohlc : Array containing ohlc values. Can also contain custom series
numberOfPivots : Number of max pivots to be returned
offset : Offset from current bar. Can be used for calculations based on confirmed bars
Returns:
nextlevel(zigzagmatrix, numberOfPivots)
calculates next level zigzag based on present zigzag coordinates
Parameters:
zigzagmatrix : Matrix containing zigzag pivots, bars, bar time, direction and level
numberOfPivots : Number of max pivots to be returned
Returns: matrix zigzagmatrix
draw(zigzagmatrix, newPivot, doublePivot, lineColor, lineWidth, lineStyle, showLabel, xloc)
draws zigzag based on the zigzagmatrix input
Parameters:
zigzagmatrix : Matrix containing zigzag pivots, bars, bar time, direction and level
newPivot : Flag indicating there is update in the pivots
doublePivot : Flag containing there is double pivot update on same bar
lineColor : Zigzag line color
lineWidth : Zigzag line width
lineStyle : Zigzag line style
showLabel : Flag to indicate display pivot labels
xloc : xloc preference for drawing lines/labels
Returns:
draw(length, ohlc, numberOfPivots, offset, lineColor, lineWidth, lineStyle, showLabel, xloc)
calculates and draws zigzag based on zigzag length and source input
Parameters:
length : Zigzag Length
ohlc : Array containing ohlc values. Can also contain custom series
numberOfPivots : Number of max pivots to be returned
offset : Offset from current bar. Can be used for calculations based on confirmed bars
lineColor : Zigzag line color
lineWidth : Zigzag line width
lineStyle : Zigzag line style
showLabel : Flag to indicate display pivot labels
xloc : xloc preference for drawing lines/labels
Returns:
drawfresh(zigzagmatrix, zigzaglines, zigzaglabels, lineColor, lineWidth, lineStyle, showLabel, xloc)
draws fresh zigzag for all pivots in the input matrix.
Parameters:
zigzagmatrix : Matrix containing zigzag pivots, bars, bar time, direction and level
zigzaglines : array to which all newly created lines will be added
zigzaglabels : array to which all newly created lables will be added
lineColor : Zigzag line color
lineWidth : Zigzag line width
lineStyle : Zigzag line style
showLabel : Flag to indicate display pivot labels
xloc : xloc preference for drawing lines/labels
Returns:
NhaDuHanhFX - Gann SwingsThe swings indicator follows the smallest movements of price action. Can monitor and analyze the context of the market, trying to find bias of each timeframe.
If there is a candlestick completely above the previous swinghigh. It shows a good bullish momentum. The market is favoring the upward direction. If the candlestick is still in the previous swinghigh range, it shows a weak bullish momentum. The market is reluctant to go up.
If there is a candlestick completely below the previous swinglow. It presents a good bearish momentum. The market is favoring the downward direction. If the candlestick is still in the previous swinglow range, it shows a weak bearish momentum. The market is reluctant to go down.
FxCanli ZigZagEN - You can spot current trend and lots of patterns with FxCanli ZigZag indicator EASLY
TR - FxCanli ZigZag indikatörü mevcut trendi ve birçok formasyonu KOLAYCA bulmanızda size yardımcı olacaktır.
Harmonic Patterns / Harmonik Formasyonları
Elliott Wave / Elliott Dalgaları
AB=CD Pattern / AB=CD Formasyonu
EN - By activating the lower timeframe from the settings, you can see the lower timeframe waves.
TR - Ayarlardan alt zaman dilimini aktif ederek, alt zaman dilimi dalgalarını görebilirsiniz.
EN - By activating the higher timeframe from the settings, you can see the higher timeframe waves.
TR - Ayarlardan üst zaman dilimini aktif ederek, üst zaman dilimi dalgalarını görebilirsiniz.
[_ParkF]MDRPThis indicator indicates that 'Momentum Discrepancy Reversal Point' = 'MDRP'.
Mixing and modifying several general indicators to find support and resistance
It is created to predict the change point of the trend by overlaying it on the chart.
The 4 support and resistance lines are drawn live, and the changed support and resistance lines are
It erases the line and overlays it again with a new line.
For each support and resistance , you can modify the color or line thickness, number of expressions, etc. in the input menu.
1. _____RSI-SR
Based on Wilder's RSI formula, overbought and oversold
Changes are detected and overlaid on the chart in the form of 2 resistances and 2 supports.
2. _____STOCHRSI-SR
Using the general stochastic and Wilder's RSI calculations,
Detect changes in overbought and oversold areas
It overlays the chart in the form of 1 resistance and 1 support.
3. _____PV-SR
Pivot-based support and resistance will be overlaid on the chart,
By default, 10 pivot lines are drawn, but by modifying the count in the input menu,
You can modify the number of overlays.
4. _____FVG
'Fair value gaps' refers to gaps within consecutive candles.
This section is overlaid in the form of a box,
The default is to draw 10 FVG boxes, but set count in the input menu.
You can modify the number of overlays by editing.
5. _____ZIGZAG
This is to find MDRP by overlaying the low and high prices of the current trend on the chart.
ZIGZAG labels near supports and resistances of 1, 2, 3 and 4 can increase the reliability of the MDRP.
The default value of live in the input menu is true, but if it is false, the closing price is checked and drawn.
Reduce false signals.
6. _____ICHIMOKU
The 5 lines of ICHIMOKU were overlaid with the default values of 9, 26, 52, 26,
Lines other than LeadLine A and B that are overlaid on the chart are overlaid on the chart only as much as the period value of each line.
* The _____FVG indicator cited the source of 'makuchaku'.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 'Momentum Discrepancy Reversal Point' = 'MDRP'를
찾기 위해 여러개의 일반적 지표들을 혼합, 수정하여 지지와 저항의 형태로
차트에 overlay 시켜 트렌드의 변화 지점을 예측 하기 위해 만들어졌습니다.
4개의 지지와 저항선은 실시간으로 그려지게 되며, 변화된 지지와 저항은 기존의
선을 지우고 새로운 선으로 다시 표시 됩니다.
각 지지와 저항은 input 메뉴에서 색 또는 선의 두께, 표현할 개수 등을 수정할 수 있습니다.
1. _____RSI-SR
Wilder's RSI 계산식을 기반으로 과매수, 과매도 영역에서의
변화를 감지하여 2개의 저항과 2개의 지지의 형태로 차트에 표시 됩니다.
2. _____STOCHRSI-SR
일반적 스토캐스틱과 Wilder's RSI의 계산식을 이용하여
과매수, 과매도 영역에서의 변화를 감지하여
1개의 저항과 1개의 지지의 형태로 차트에 표시됩니다.
3. _____PV-SR
Pivot을 기반으로 한 지지와 저항을 차트에 표시 하게 되며,
기본값은 10개의 Pivot선이 그려지게 되지만 input 메뉴에서 count를 수정하여
표시할 개수를 수정할 수 있습니다.
4. _____FVG
'Fair value gaps'는 연속된 캔들 안에서의 갭 구간을 말합니다.
이 구간을 박스의 형태로 표시한 것이며,
기본값은 10개의 FVG 박스가 그려지게 되지만 input 메뉴에서 count를
수정하여 표시할 개수를 수정할 수 있습니다.
5. _____ZIGZAG
현재 트렌드의 저가와 고가를 차트에 표시하여 MDRP를 찾기 위한 것으로
1, 2, 3, 4의 지지와 저항 부근에서의 ZIGZAG 라벨은 MDRP의 신뢰도를 높혀줄 수 있습니다.
input 메뉴에서의 live 기본값은 체크되어 있지만 체크를 해제하면 종가를 확인하고 그려지기에
거짓 신호를 줄일 수 있습니다.
6. _____ICHIMOKU
ICHIMOKU의 5개의 선은 기본값인 9, 26, 52, 26으로 표시하였으며,
차트에 표시되는 선행스팬 1과 2를 제외한 전환선, 기준선, 후행스팬은 각 선의 기간값만큼만 차트에 표시 되게 하였습니다.
[_ParkF]MDRPThis indicator indicates that 'Momentum Discrepancy Reversal Point' = 'MDRP'.
Mixing and modifying several general indicators to find support and resistance
It is created to predict the change point of the trend by overlaying it on the chart.
The 4 support and resistance lines are drawn live, and the changed support and resistance lines are
It erases the line and overlays it again with a new line.
For each support and resistance, you can modify the color or line thickness, number of expressions, etc. in the input menu.
1. _____RSI-SR
Based on Wilder's RSI formula, overbought and oversold
Changes are detected and overlaid on the chart in the form of 2 resistances and 2 supports.
2. _____STOCHRSI-SR
Using the general stochastic and Wilder's RSI calculations,
Detect changes in overbought and oversold areas
It overlays the chart in the form of 1 resistance and 1 support.
3. _____PV-SR
Pivot-based support and resistance will be overlaid on the chart,
By default, 10 pivot lines are drawn, but by modifying the count in the input menu,
You can modify the number of overlays.
4. _____FVG
'Fair value gaps' refers to gaps within consecutive candles.
This section is overlaid in the form of a box,
The default is to draw 10 FVG boxes, but set count in the input menu.
You can modify the number of overlays by editing.
5. _____ZIGZAG
This is to find MDRP by overlaying the low and high prices of the current trend on the chart.
ZIGZAG labels near supports and resistances of 1, 2, 3 and 4 can increase the reliability of the MDRP.
The default value of live in the input menu is true, but if it is false, the closing price is checked and drawn.
Reduce false signals.
6. _____ICHIMOKU
The 5 lines of ICHIMOKU were overlaid with the default values of 9, 26, 52, 26,
Lines other than LeadLine A and B that are overlaid on the chart are overlaid on the chart only as much as the period value of each line.
* The _____FVG indicator cited the source of 'makuchaku'.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 'Momentum Discrepancy Reversal Point' = 'MDRP'를
찾기 위해 여러개의 일반적 지표들을 혼합, 수정하여 지지와 저항의 형태로
차트에 overlay 시켜 트렌드의 변화 지점을 예측 하기 위해 만들어졌습니다.
4개의 지지와 저항선은 실시간으로 그려지게 되며, 변화된 지지와 저항은 기존의
선을 지우고 새로운 선으로 다시 표시 됩니다.
각 지지와 저항은 input 메뉴에서 색 또는 선의 두께, 표현할 개수 등을 수정할 수 있습니다.
1. _____RSI-SR
Wilder's RSI 계산식을 기반으로 과매수, 과매도 영역에서의
변화를 감지하여 2개의 저항과 2개의 지지의 형태로 차트에 표시 됩니다.
2. _____STOCHRSI-SR
일반적 스토캐스틱과 Wilder's RSI의 계산식을 이용하여
과매수, 과매도 영역에서의 변화를 감지하여
1개의 저항과 1개의 지지의 형태로 차트에 표시됩니다.
3. _____PV-SR
Pivot을 기반으로 한 지지와 저항을 차트에 표시 하게 되며,
기본값은 10개의 Pivot선이 그려지게 되지만 input 메뉴에서 count를 수정하여
표시할 개수를 수정할 수 있습니다.
4. _____FVG
'Fair value gaps'는 연속된 캔들 안에서의 갭 구간을 말합니다.
이 구간을 박스의 형태로 표시한 것이며,
기본값은 10개의 FVG 박스가 그려지게 되지만 input 메뉴에서 count를
수정하여 표시할 개수를 수정할 수 있습니다.
5. _____ZIGZAG
현재 트렌드의 저가와 고가를 차트에 표시하여 MDRP를 찾기 위한 것으로
1, 2, 3, 4의 지지와 저항 부근에서의 ZIGZAG 라벨은 MDRP의 신뢰도를 높혀줄 수 있습니다.
input 메뉴에서의 live 기본값은 체크되어 있지만 체크를 해제하면 종가를 확인하고 그려지기에
거짓 신호를 줄일 수 있습니다.
6. _____ICHIMOKU
ICHIMOKU의 5개의 선은 기본값인 9, 26, 52, 26으로 표시하였으며,
차트에 표시되는 선행스팬 1과 2를 제외한 전환선, 기준선, 후행스팬은 각 선의 기간값만큼만 차트에 표시 되게 하였습니다.
ZigZag Channel with projection forecastThis indicator is created on top of existing Zigzag indicator .
The projection channel starts at the end of the last ZigZag line.
Disclaimer
Success in trading is all about following your trading strategy and indicators should fit into your own strategy, and not be traded purely on.
This script is for informational and educational purposes only. Use of the script does not constitute professional and / or financial advice. You are solely responsible for evaluating the outcome of the script and the risks associated with using the script. In exchange for the use of the script, you agree not to hold monpotejulien TradingView user responsible for any possible claims for damages arising out of any decisions you make based on the use of the script.
PivotsLibrary "Pivots"
This Library focuses in functions related to pivot highs and lows and some of their applications (i.e. divergences, zigzag, harmonics, support and resistance...)
pivots(srcH, srcL, length) Delivers series of pivot highs, lows and zigzag.
Parameters:
srcH : Source series to look for pivot highs. Stricter applications might source from 'close' prices. Oscillators are also another possible source to look for pivot highs and lows. By default 'high'
srcL : Source series to look for pivot lows. By default 'low'
length : This value represents the minimum number of candles between pivots. The lower the number, the more detailed the pivot profile. The higher the number, the more relevant the pivots. By default 10
Returns:
zigzagArray(pivotHigh, pivotLow) Delivers a Zigzag series based on alternating pivots. Ocasionally this line could paint a few consecutive lows or highs without alternating. That happens because it's finding a few consecutive Higher Highs or Lower Lows. If to use lines entities instead of series, that could be easily avoided. But in this one, I'm more interested outputting series rather than painting/deleting line entities.
Parameters:
pivotHigh : Pivot high series
pivotLow : Pivot low series
Returns:
zigzagLine(srcH, srcL, colorLine, widthLine) Delivers a Zigzag based on line entities.
Parameters:
srcH : Source series to look for pivot highs. Stricter applications might source from 'close' prices. Oscillators are also another possible source to look for pivot highs and lows. By default 'high'
srcL : Source series to look for pivot lows. By default 'low'
colorLine : Color of the Zigzag Line. By default Fuchsia
widthLine : Width of the Zigzag Line. By default 4
Returns: Zigzag printed on screen
divergence(h2, l2, h1, l1, length) Calculates divergences between 2 series
Parameters:
h2 : Series in which to locate divs: Highs
l2 : Series in which to locate divs: Lows
h1 : Series in which to locate pivots: Highs. By default high
l1 : Series in which to locate pivots: Lows. By default low
length : Length used to calculate Pivots: By default 10
Returns:
Zig Zag(auto Horizon lines)A guy who automatically draws a horizon from the top of the zigzag
*Gray horizon may be repainted
The horizon of the characteristic price in the past reacts well, so it is used for contrarian
ジグザクの頂点から、自動で水平線を引く奴です
※灰色の水平線はリペイントする可能性があります
過去の特徴的な価格の水平線はよく反応するので、逆張りするとかが用途です