ZigZag++Hey Awesome Traders
I noticed people were so happy with my ZigZag lucemanb script and so I made one that is more user-friendly and customizable
Please note the original one is dedicated to developers, The code is very minimal for fast understanding when anyone wants to use it in their development
In this script, I have included several features like multi-timeframe and alerts. Do take a look and enjoy
If you are using the indicator, please comment down the link to your script
If you would love to support my work through donations, Am so happy to receive them
ADDITIONAL FEATURES
Do u have an idea or a feature that you want to be added,
You can ping me or ask about it here, I can always update
Check out some of the best works i have done with this script
1. Angle trading
2. Harmonic Patterns
ピボットポイント
CPRFibonacciPivots By EquityDuraiThe Central Pivot Range (CPR) is one of the most versatile price-based indicators available to traders. ... At any given time, the range can be support or resistance, it can forecast trending or sideways price behavior, dictate the day's direction, or serve as an integral part of a trend.
Keep in mind that depending on the market’s behavior, the formula for TC may in fact create the level for BC, and vice versa. I always refer to the highest level as TC, and the lowest level as BC, regardless of which formula led to the level’s creation.
ZFelds Fib PivotsPivot Points Based on Fibonacci numbers. Based on the Pivot indicator on NinjaTrader.
RVC-Weekly-Pivots-GANN-LevelsPurpose:
Weekly - Fibonacci pivot levels and Gann levels calculation and marking on Chart automatically.
Mainly expected to use for trading on NIFTY and BankNifty
Kindly share your comments and suggestions to improve
Semi Variance signals - KentDO ModelThe indicator generated by measuring the difference in yield volatility in two directions up and down, is called a Semi-measure of risk. A change in the sign of the difference between two halves of volatility produces a buy and sell signal.
The indicator can customize the number of observations.
The indicator adds reference Pivot Point level points for a larger time frame. Can edit the number of decimals, so suitable for Indices, Curencies, Futures, Crypto, Bonds
TFi Pivot Reversal StudyThe Pivot Reversal Study script uses pivot points to create a support and resistance level; based on this levels the script creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A configurable trailing-stop and stop-loss is being used to exit an open position.
The entry and exit points are visualized in the chart via green arrows and crosses; the position follows the exact behavior of the strategy script.
The study also creates alerts, which follow the exact position of the entry/exit markers. Via the input parameter "Alert Message Type" it is possible to select a predefined alertcondition message; right now the script supports a generic default message and a trading setup for Alertatron.
How to use
The study works with all timeframes; the current chart setting is using a 15min timeframe. The strategy enters about 10 trades per day, depending on the used settings.
I'm also providing a "strategy" version of this study, which can be used to backtest the strategy.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy ; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of alerts:
'Enter Long' ... Enter long position
'Enter Short' ... Enter short position
'Exit Long PT' ... Exit long position - profit-target reached
'Exit Short PT' ... Exit short position - profit-target reached
'Exit Long SL' ... Exit long position - stop-loss
'Exit Short SL' ... Exit short position - stop-loss
Full list of parameters:
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot/peak detection
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot/peak detection
"Entry Offset " ... Entry price offset after crossing pivot line (in %)
"Trailing Activation Level " ... Trailing stop activation level above/below average price (in %)
"Trailing Offset " ... Trailing stop price (in %)
"Stop Loss " ... Absolute stop-loss (in %)
"Alert Message Type" ... Alert message type: generic or Alertatron
"Backtest ..." ... Backtest timeframe; area outside this timeframe will be grayed out
I'm looking forward to any feedback, reviews and change requests!
Pivot AverageThis is an interesting application of Tradingview's basic Pivot HL indicator.
Pivot Average Indicator takes N number of the most recent Pivot Points (for both High and Low) and computes the average of the pivot points. The average price is then plotted on the chart.
The number of pivot points to average is a user defined variable that can be adjusted in the settings.
One can develop his/her own strategy by using this. One way to use this indicator is to buy when the price breaks above the average of High Pivot points and to sell when the price breaks below the average of Low Pivot points.
RVC-Daily_PivotsPurpose: Fibonacci Pivot levels + Gann levels calculation and display on Chart automatically.
Mainly expected to use these for intraday trading on NIFTY and BankNifty
Display R1/R2/R3 - Pivot - S1/S2/S3 levels
Also display GANN Levels of
720- / 540- / 360- / 270-/ 180- / 90- / 45-
45+ / 90+ / 180+ / 270+ / 360+ /540+ /720 +
Same pivot levels are useful for any equity - support and resistance levels.
Levels indicated are only for reference and not meant for trading purpose.
Divergence for many indicator v3Hello Everyone. Almost one year later, with Pine version 4, I developed new version of the Divergence for many Indicator.
It analyses divergences for 10 predefined indicators and then draws line on the graph. Red for negatif divergence (means prices may go down or trend reversal), Lime for positive divergences (means prices may go up or trend reversal)
Divergences version 2 has latency because it waits higher time frame completion. in this new version the script uses Pivot Points and on every bar it checks divergence between last Pivot point and current bar and if it finds any then immediately draws line and removes old one. so there is no latency with this version.
There are predefined 10 indicators in the script, you have option to choose which indicators the script would analyse for divergence. (RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, Diosc, VWMACD and CMF)
In replay mode you can see how the script puts new divergence line and removes old one. you better see it for yourself by using replay mode.
Hope you Enjoy!
Trend LinesHello Everyone! This is my new trend lines script (after beta version that was published almost one year ago)
The idea is to find Pivot Highs (PH) and Pivot Lows(PL) first.
Then, If current PH is smaller then previous PH (means no new higher high and possible downtrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Same idea when using Pivot Lows, If current PL is higher then previous PL (means no new lower low and possible uptrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Optionally style of old trend lines drawn as dashed.
Hope you enjoy it!
Trend StepTrend Follow Indicator
HTF "Auto" setting is:
< 4Hour : "240"
>= 4Hour and Intraday : "D"
D: Weekly
W: Monthly
M: Yearly
Pivots MTF [LucF]Pivots detected at higher timeframes are more significant because more market activity—or work—is required to produce them. This indicator displays pivots calculated on the higher timeframe of your choice.
Features
► Timeframe selection
— The higher timeframe (HTF) can be selected in 3 different ways:
• By steps (15 min., 60 min., 4H, 1D, 3D, 1W, 1M, 1Y). This setting is the default.
• As a multiple of the current chart's resolution, which can be fractional, so 3.5 will work.
• Fixed.
— The HTF used can be displayed near the last bar (default).
— Note that using the HTF is not mandatory. If it is disabled, the indicator will calculate on the chart's resolution.
— Non-repainting or repainting mode can be selected. This has no impact on the display of historical bars, but when no repainting is selected, pivot detection in the realtime bar will be delayed by one chart bar (not one bar at the HTF).
► Pivots
— Three color schemes are provided: green/red, aqua/pink and coral/violet (the default).
— Both the thickness and brightness of lines can be controlled separately for the hi and lo pivots.
— The visibility of the last hi/lo pivots can be enhanced.
— Prices can be displayed on pivot lines and the text's size and color can be adjusted.
— The number of bars required for the left/right pivot legs can be controlled (the default is 4).
— The source can be selected individually for hi and lo pivots (the default is hlc3 and low .
— The mean of the hi/lo pivot values of the last few thousand chart bars can be displayed. Pivots having lasted longer during the mean's period will weigh more in the calculation. The mean can be displayed in running mode and/or only showing its last level as a long horizontal line. I don't find it very useful; maybe others will.
► Markers and Alerts
— Markers can be configured on breaches of either the last hi/lo pivot levels, or the hi/lo mean. Crossovers and crossunders are controlled separately.
— Alerts can be configured using any of the marker combinations. As is usual for my indicators, only one alert is used. It will trigger on the markers that are active when you create your alert. Once your markers are set up the way you want, create your alert from the chart/timeframe you want the alert to run on, and be sure to use the “Once Per Bar Close” triggering condition. Use an alert message that will remind you of the combination of markers used when creating the alert. If you use multiple markers to trigger one alert, then having the indicator show those markers will be important to help you figure out which marker triggered the alert when it fired.
A quick look at the pattern of these markers will hopefully convince you that using them as entry/exit signals would be perilous, as they are prone to whipsaw. I have included them because some traders may use the markers as reminders.
Using Pivots
These pivots can be used in a few different ways:
— When using the high / low sources they will show extreme levels, breaches of which should be more significant.
— Another way to use them is with hlc3 (the average of the high , low and close ) for hi pivots and low for the lo pivots. This accounts for my personal mythology to the effect that drops typically reach previous lows more easily than rallies make newer highs.
— Using low for hi pivots and high for lo pivots (so backward) can be a useful way to set stops or to detect weakness in movements.
You will usually be better served by pivots if you consider them as denoting regions rather than precise levels. The flexibility in the display options of this indicator will help you adapt it to the way you use your pivots. To indicate areas rather than levels, for example, try using a brightness of 1 with a line thickness of 30. The cloud effect generated this way will show areas better than fine lines.
Realize that these pivot lines are positioned in the past, and so they are drawn after the fact because a given number of bars need to elapse before calculations determine a pivot has occurred. You will thus never see a pivot top, for example, identified on the realtime bar. To detect a pivot, it takes a number of bars corresponding to the dilation of the higher timeframe in the current one, multiplied by the number of bars you use for your pivots' right leg. Also note that the Pine native function used to detect pivots in this indicator considers a summit to be a top when the number of bars in each leg are lower or equal to that top. Bars in legs do not need to be progressively lower on each side of the pivot for a pivot to be detected.
If you program in Pine
— See the Pinecoders MTF Selection Framework for an explanation of the functions used in this script to provide the selection mechanism for the higher timeframe.
— This code uses the Pine Script Coding Conventions .
Thanks
— To the Pine coders asking questions in the Pine Script chat on TV ; your questions got me to write this indicator.
PivotPoints with Momentum confirmation by PeterOWho wouldn't like to be able to tell when the market actually reverses instead of just faking it? Every trader who has tried pivothigh/pivotlow functions for that, surely bumped into so many meaningless reversal signals, that probably got discouraged with this concept entirely.
Yet, pivot points are very important. Only they need to be confirmed at least a little bit (you'll never know for sure, you understand that right?)
This script enhances pivot-points mechanism with by confirming potential pivot point with actual reversal in momentum. If momentum reversal is also noticed in synch with the pivothigh/pivotlow, then you've got yourself a reversal - marked on the chart with red or green triangle. You can visually compare where those triangles are marked as compared to those small black ones, meaning the standard pivothigh(high,1,1)/pivotlow(low,1,1). Check yourself how many times this method would save us from pre-mature entry. On average 2/3 pivot points are filtered out.
This is a non-delayed confirmation - there is no waiting for another candle to close, just looking to another indicator for a match.Trader needs to take a decision immediately because if he hesitates, he will be late for sure. Also sometimes this script produces signal even before a full pivot-point is formed, as pin-bar analysis is also included here.
What this script IS NOT:
- a complete trading map. Don't take trade on each green or red triangle. You still need to do your homework on market direction, trend, phase, wave, etc. But at least you have the "trigger" part done.
- these pivot points are still not "guaranteed". You never know the future even as close as the very next candle, so the market can continue its trend right after it produces reversal signal. The aim of this indicator was only to filter out those potential pivot points, which didn't really look like reversals.
If you think this method could be improved somehow or would like to share your thoughts or approach, don't hesitate to reach out to me or write down in comments.
P.S. Credit goes to UCSGEARS for his Top&Bottom candle script. Amazing work. I used the momentum calculation from there.
IntraDay Pivot Lines, 30min IBThe script draws critical lines for IntraDay traders:
1) High/Low of the last Month - in Red/Green thick line
2) High/Low of the last Week - in Red/Green
3) High/Low of the first 30minute of the current trading day - in Yellow
4) High/Low of the first 5min of the trading day - in Grey
Triangles and Wedges finder 2 [Dereek69]This scripts helps you identify Triangles and Wedges patters on all charts.
The Right and Left settings can be increased to find bigger triangles and decreased to identify smaller ones
If nothing shows up try increasing the following settings
"Max slope of diags"
"Lenght of line"
"Max candles crossed"
"Max distance between starting points"
If the chart is too clogged try decreasing "Max slope of diags" and "Max distance between starting points" until comfortable
MultiTimeFrame Fractals D W M [xdecow]This indicator shows fractals in different timeframes. With the possibility of coloring the bars with any combination of current, daily, weekly and monthly timeframes.
The return points are calculated as follows:
high > last 3 highs and close above highest low
low < last 3 lows and closes below lowest high
The direction of higher timeframes fractals tend to be more durable and reliable. This indicator helps to find the fractal alignment of different timeframes, so that you can look for trade opportunities in the same direction as the higher timeframes and improve your chances.
AB=CD Pattern_ULTRA V1 [NXT2017] Autodrawing Harmonic PatternPrivate indicator.
HI BIG PLAYERS AROUND THE WORLD,
this script allows to draw automatically lines of AB=CD Pattern . The AB=CD Pattern is part of Harmonic Pattern .
Parallel to the automatic drawing, the indicator can give signals as soon as the typically Fibonacci extension immediately reached or has been reached. This allows the indicator AB=CDPattern_ULTRA V1 to give early signals. In the default settings, the signals are displayed with a blue background on the chart.
NO REPAINT
As soon as the most points of the pattern are developed, the last point is a fix prediction without any repaints!
AB=CDPattern_ULTRA V1 is offered for sale. More information can be found below in the signature.
In the settings it is possible to change the degree of details. This is sometimes necessary because TradingView limited only 55 lines per indicator in Pinescript Version 4.
Furthermore, you can set a range how much bars back you want go from current bar for the automatic drawings. As default is setting 2000 bars back.
In extreme cases it is possible to change the settings to "lite" that the AB=CD Pattern represent waves only with 2 lines. This allows the indicator to detect far more AB=CD Pattern on the same chart.
For more great indicators everyone is invited to follow me on TradingView.
Kind regards
NXT2017
CypherPattern_ULTRA V1 [NXT2017] Autodrawing Harmonic PatternPrivate indicator.
HI BIG PLAYERS AROUND THE WORLD,
this script allows to draw automatically lines of Cypher Pattern . The Cypher Pattern is part of Harmonic Pattern .
Parallel to the automatic drawing, the indicator can give signals as soon as the typically Fibonacci extension immediately reached or has been reached. This allows the indicator CypherPattern_ULTRA V1 to give early signals. In the default settings, the signals are displayed with a blue background on the chart.
NO REPAINT
As soon as the most points of the pattern are developed, the last point is a fix prediction without any repaints!
CypherPattern_ULTRA V1 is offered for sale. More information can be found below in the signature.
In the settings it is possible to change the degree of details. This is sometimes necessary because TradingView limited only 55 lines per indicator in Pinescript Version 4.
In extreme cases it is possible to change the settings to "lite" that the Cypher Pattern represent waves only with 2 lines. This allows the indicator to detect far more Cypher Pattern on the same chart.
For more great indicators everyone is invited to follow me on TradingView.
Kind regards
NXT2017
5-0 Pattern ULTRA V1 [NXT2017] Autodrawing Harmonic PatternPrivate indicator.
HI BIG PLAYERS AROUND THE WORLD,
this script allows to draw automatically lines of 5-0 Pattern . The 5-0 Pattern is part of Harmonic Pattern .
Parallel to the automatic drawing, the indicator can give signals as soon as the typically Fibonacci extension immediately reached or has been reached. This allows the indicator 5-0Pattern_ULTRA V1 to give early signals. In the default settings, the signals are displayed with a blue background on the chart.
NO REPAINT
As soon as the most points of the pattern are developed, the last point is a fix prediction without any repaints!
5-0Pattern_ULTRA V1 is offered for sale. More information can be found below in the signature.
In the settings it is possible to change the degree of details. This is sometimes necessary because TradingView limited only 55 lines per indicator in Pinescript Version 4.
In extreme cases it is possible to change the settings to "lite" that the 5-0 Pattern represent waves only with 2 lines. This allows the indicator to detect far more 5-0 Pattern on the same chart.
For more great indicators everyone is invited to follow me on TradingView.
Kind regards
NXT2017
Crab Pattern ULTRA V1 [NXT2017] Autodrawing Harmonic PatternPrivate indicator.
HI BIG PLAYERS AROUND THE WORLD,
this script allows to draw automatically lines of Crab Pattern . The Crab Pattern is part of Harmonic Pattern .
Parallel to the automatic drawing, the indicator can give signals as soon as the typically Fibonacci extension immediately reached or has been reached. This allows the indicator CrabPattern_ULTRA V1 to give early signals. In the default settings, the signals are displayed with a blue background on the chart.
NO REPAINT
As soon as the most points of the pattern are developed, the last point is a fix prediction without any repaints!
CrabPattern_ULTRA V1 is offered for sale. More information can be found below in the signature.
In the settings it is possible to change the degree of details. This is sometimes necessary because TradingView limited only 55 lines per indicator in Pinescript Version 4.
In extreme cases it is possible to change the settings to "lite" that the Crab Pattern represent waves only with 2 lines. This allows the indicator to detect far more Crab Pattern on the same chart.
For more great indicators everyone is invited to follow me on TradingView.
Kind regards
NXT2017
NenStar Pattern ULTRA V1 [NXT2017] Autodrawing Harmonic PatternPrivate indicator.
HI BIG PLAYERS AROUND THE WORLD,
this script allows to draw automatically lines of NenStar Pattern . The NenStar Pattern is part of Harmonic Pattern .
Parallel to the automatic drawing, the indicator can give signals as soon as the typically Fibonacci extension immediately reached or has been reached. This allows the indicator NenStarPattern_ULTRA V1 to give early signals. In the default settings, the signals are displayed with a blue background on the chart.
NO REPAINT
As soon as the most points of the pattern are developed, the last point is a fix prediction without any repaints!
NenStarPattern_ULTRA V1 is offered for sale. More information can be found below in the signature.
In the settings it is possible to change the degree of details. This is sometimes necessary because TradingView limited only 55 lines per indicator in Pinescript Version 4.
In extreme cases it is possible to change the settings to "lite" that the NenStar Pattern represent waves only with 2 lines. This allows the indicator to detect far more NenStar Pattern on the same chart.
For more great indicators everyone is invited to follow me on TradingView.
Kind regards
NXT2017
Another example: