ZigZag OrderBlock Retracement█ INTRODUCTION
What is an OrderBlock? It is simply Price where Banks (or Large Financial Entities) have Bought or Sold heavily (Support or Resistance Institutional Zone).
Our job as a trader is to monitor what the Banks and/or Large Investors are doing then patiently wait and have the opportunity to surf in their direction.
Large Financial Entities Buy during Price drops to get the best purchase Price. The Bank are acting a bit like us in our everyday life,
When we want Buying something, we always try to Buy it at the best price. And when we Sell, take the example of a used Car, we will systematically
try to Sell it at the highest possible Price. The Price of convertible Cars goes down during the Winter and goes up during the Summer.
So to make the best operation, if you Buy a second-hand convertible you will prefer to Buy it during the Winter and Sell it immediately in the Summer
and not Vice versa. So the way Large Institution act is exactly the same, it will expect the Price to Buy the fall and they will wait until
the Price rises in order to Sell. This is how the Profits will be made. The mistake that many Traders makes when they Trade emotionally is to act
in the opposite way of what they will do in everyday life. When we trade emotionally, we see the Price fall, instead of Buying while the Price drops we Sell.
In a similar emotional based act when the Price goes up we Buy, while when the Price goes up it's the best opportunity to Sell. So all the big moves
that you can watch on your different Instruments are the result of Banks or other Large Financial Entities. As Individuals, we do not have the necessary
“Strike Force” to create this type of movement. However, it is important to note that when Banks or Large Entities create this type of movement,
they do so despite theirs willing, they would love to be able to hide but luckily for us they can’t. When Billions of Dollars are Invested in Trades,
the effect can’t be concealed and as a result we will observe the impact on the market then as an Individual we’ll be able to see that on our Charts.
There are many ways to locate these areas of interest. But as they say, all roads lead to Rome. The purpose remains the Price Study
and in particular the movements of strong amplitude on the Chart. Large Financial Entities will keep acting in the same Price areas, Or at least we can say
that there's a high probability for them to intervene in these zones. Therefore, rather than chasing the Price moves and then to endure a counter move,
we will patiently wait until the Price returns to these areas on the basis that Banks and, or Large Entities will accumulate on their Positions
and are going to Sell and Buy in the same Price areas. Keep in mind that this logic works no matter what TimeFrame is used. However when the have Analysis
on Small TimeFrame (between M15 and H1) will make the movements observed between 20 and 50 Pips. Whereas if we look at H4 or Daily,
we can really see movements of 100 or even 200 Pips.
█ OVERVIEW
The ZigZag Indicator is used to illustrate Trend Lines without taking into account intermediate Retracements.
In a way, it allows you to get to the point by giving a simplified view of the evolution of Prices by eliminating "parasitic" movements, and thus to Position
and unwind Positions at the appropriate times. It is part of the category of Trend Indicators. We will simply define a Level of Price variation below which
they will not be taken into account by the indicator. This will eliminate all minor fluctuations, depending on the desired sensitivity.
The Indicator can only have 2 directions, Up or Down. For example, setting the Indicator to 5% (ZigZag Length ) will eliminate all variations below 5%.
If the Trend is Bullish and the Indicator therefore oriented in the same direction, Prices will have to fall by at least 5% for the direction
of the ZigZag to reverse Downward. Why using ZigZag to search for our OrderBlock? ZigZag makes it possible to clearly identify the current Trend as well
as significant Reversals and therefore have a much clearer vision of the actions carried out by Banks / Large Entities. However, it is drawn up
a posteriori and therefore does not make it possible to predict the evolution of Prices. The turning points are Indicated with a delay proportional
to the chosen sensitivity. The indicator calculates the Lowest Price over the given Period and eliminates Prices that are below the minimum requested
Array Size. Then, it calculates the Highest Price over the given Period and eliminates the Prices that are below the minimum requested Array Size.
Finally, it draws the Trend Line that connects the High and Low points determined previously and use the sum of the two to determinate the Range area.
█ HOW TO INTERPRET?
• The Indicator creates Lines that demonstrate past Retracements and current Pivots Levels to get a clearer view of the next Retracement area
using the Lines from the Last High and Low Pivots to determine which Take-Profit or Stop-Loss set.
• The "OrderBlocks" are detected based on the Pivots founds. You can display the Prices and use theses to help you set your Take-Profit during Retracement.
• Possibility to display the Levels of detected Pivots point. This can permit to dispense with the use of Elliot Waves or the use of a Fibonacci.
• Donchian ZigZag Channels to be sure to always have seen the extremities of the Top, Bottom and Range area.
• The ZigZag Length is set to 5 by default. You will have to adjust it according to selected TimeFrame or Financial Instrument used.
• The ZigZag has 3 adjustable colors:
-Green = Bullish Trend
-Red = Bearish Trend
-Orange = Range Zone
It is not advisable to enter Position when the ZigZag color indicates a Range Zone.
- OrderBlocks
- ZigZag + Pivots Point
- Donchian ZigZag Channel
█ ALERTS
Following the request of many users on our other script concerning the late arrival of Alerts for detected OrderBlocks (on Institutional OrderBlock Pressure), we fixed this problem here with the arrival INSTAN and CONFIRM ALERTS .
█ NOTES
- This script is not beginner's Level and is intended for Traders with advanced knowledge of ZigZag and the work of Michael j. Huddleston on the OrderBlocks.
Good Trade everyone and remember, risk management remains the most important!
樞軸點
[Crypto] Dow theory strategy - Commission: 0.06 = Binance future fee.
- Autotrade by webhook to Binance future options:
1. Trend Identification:
a. UPTRENDTREND:
- HH_Trend: Higher High trend.
- HL_Trend: Higher Low trend.
b. DOWNTREND:
- LL_Trend: Lower Low trend.
- LH_Trend: Lower Low trend.
2. Open trades conditions:
a. LONG OPEN CONDITION: Điều kiện MUA.
- HH_E: Higher High entries.
- HL_E: Higher Low entries.
b. SHORT OPEN CONDITION: Điều kiện BÁN.
- LL_E: Lower Low entries.
- LH_E: Lower Low entries.
3. Stop loss and Take profit:
Stoploss, Profit = Entry Price +- ATR(20) * 5
4. Summary every year:
- 2021 to 15 Dec, 2021
- 2020 to 2021:
- 2019 to 2020:
- 2018 to 2019:
- 2017 to 2018:
- 2016 to 2017:
- 2015 to 2016:
- 2014 to 2015:
- 2013 to 2014:
5. Summary long-range:
- 2019 to 15 Dec, 2021:
- 2016 to 2019:
- 2013 to 2016:
6. List of other pairs:
Monthly Returns with BenchmarkI keep working on trying to make TradingView strategies look fancier.
A few months ago I published the first version of the Monthly Returns for Strategies in Pine Script. I received quite a lot of good feedback and quite a lot of requests to update it.
This is a more advanced version of the Monthly Returns, in it, you can:
Display monthly returns of your strategy, benchmark, and alpha over this benchmark.
Select benchmark to be another instrument
Select the date from which you want to compute monthly returns
Show/hide benchmark and alpha
Choose colors for gradient for gain/loss values
Use it with any type of strategy
Use it with replay
I hope it will be useful for you.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
The Divergent - Advanced Divergence IndicatorAutomated divergence detection with unparalleled customizability for any market on TradingView.
This is the Basic (Free) version of The Divergent - Advanced Divergence Indicator .
Features :
1. Divergence detection for any market & any timeframe
Bitcoin? Tesla? Gold? You name it. The Divergent will spot divergences for you on any market and any timeframe.
2. Choose from 2 built-in oscillators
The Basic version of The Divergent comes with 2 built-in oscillators: MACD and RSI
3. Automated detection of Regular Bullish and Regular Bearish divergences
The Basic version of The Divergent can detect two types of divergences: Regular Bullish and Regular Bearish
4. Complete control over every aspect of divergence detection
The Divergent exposes over 40 different settings to allow you fine tune the divergence detection algorithm.
- Oscillator (MACD / RSI)
- Detect Regular Bullish Divergences
- Detect Regular Bearish Divergences
- Pivot Detection Source (Price / Oscillator)
- Source smoothing
- Candle Pivot Detection Mode (Bodies / Wicks)
- Pivot Lookback Right
- Pivot Lookback Left
- Divergence Max. Length
- Divergence Min. Length
- Number of Historic Pivots to Compare
- Pivot Correction
- Restrict Starting Pivot to a Single Divergence
- Allow Early Detection of Divergences
- Line of Sight filter
- Minimum Pivot Change filter
- Pivot Candle Color filter
- Moving Average Filter
- MACD settings
- RSI settings
5. Divergence statistics
6. Fully documented
The Divergent has each and every of its inputs documented via tooltips inside the settings panel. Simply hover your mouse over the ( i ) icon next each the input field to learn more about the purpose of the configuration.
---
Dynamic Fibonacci Pivot Points & EMA CrossoversI have created this script for those who face difficulties drawing Fibonacci levels as this script is Dynamic so it automatically calculates the ranges based on current High and Lows. I have also added Standard Fibonacci Pivot Points so that we can easily see the confluences between Dynamic and Standard pivot points. Apart from this I have also added EMA Crossovers so that we can easily identify trend changes. You can modify this script as per your own.
Daily Settlement (BM&FBOVESPA B3 FUTURES)This script is simple designed to plot the daily settlement to any Securities traded on B3, Brazilian stock exchange.
The daily settlement is an important price where position traders are adjusted every day. This adjustment is defined by the exchange itself every day at approximately 4 pm, with an average of all trades in this window.
We consider that the settlement is a region of "money spent", where every day, some player "woke up" in long or in short at that price. As this is a region of "money spent", traders should give significant attention when traded at this price.
Spartan Trade Master 1.0Dear Traders/investors,
Make use of the Trade setup for intraday/Scalping/Swing Trading using Pivot Points , Along with CPR , EMA And Zone confirmation.
Advantages and Top Features:
-> CPR
-> Camarilla and standard Pivot Points
-> 20/50/100/200 EMA
-> Boring Candle
-> Next Day CPR & Camarilla
-> Multi Timeframe Analysis Using single chart
-> Previous Day High And Low
-> Supply and Demand Zones Based on Timeframes
How to Use?
Camarilla Trade Setup:
Green Zone: Reversal Buy Zone
Red Zone: Reversal Sell Zone
CPR Trade Setup:
1. Narrow CPR indicates Trending market
2. Wide CPR indicates sideways market
CPR + Camarilla confirmation:
Whenever there is a Narrow CPR we need to look for Breakout Trades.
Whenever there is a Wide CPR we need to look for Reversal Trade.
EMA : Exponential moving average tries to reduce confusion and noise of everyday price action.
Boring candle: Helps to identify any explosive or non-explosive moves, during marking of demand and supply zones.
Weekly Fibonacci MatrixThe weekly Fibonacci Matrix builds a matrix based on specific time and price criteria. It is paired with higher and lower timeframe matrices to identify key entry and exit points for day trades and intraweek swing trades.
This is part of a full suite of tools I have developed for matrix analysis and ORB breakouts.
Central Pivot Ranges (CPR) & 3 x VWAP & BarcolorsThis Script Combines daily, weekly and monthly VWAP (Volume Weighted Average Price) with a intraday, daily, weekly and monthly CPR (Central Pivot Range) - which is considered by some traders as the bread and butter of the market for a reason. A combination of Multiple CPRs and VWAPs from different timeframes can provide you with interesting confluences that can give you more confidence in performing your trades.
CPR Features:
- The option to look at current or developing CPRs.
- A resolution selector for all 4 CPRs
- Options to hide and show Tops, Bottoms and Pivots separately
- Various Styling options
- Alerts
VWAP Features:
- 3 x preset VWAPs set to daily, weekly and monthly
- VWAP Lines from the daily O&C or H&L
- Previous VWAP for S/R
- Line Styling options
General Features:
- Barcolors by pivots crossed or daily, weekly and monthly VWAP.
- Barcolors by daily VWAP additionally contain an O and C check instead of just taking the price above or below the VWAP into consideration.
Pivot Support & ResistanceHere signals are based on the pivot high and pivot lows. Factors taken into account in understanding the breakout or breakdown are:
volume
candle bar is not opening candle
must be near pivot high or low
Recommendation:
Use once candle closes else you might get trapped in certain cases so be careful
Deribit Options█ OVERVIEW
This script is designed to plot some essential option parameters in the chart, such as the expiry, your Break-even point and the strike price. Having these plotted on the chart can make your trading journey much more easier. It's always better to visualize the data/points on the chart than have it only as a foggy picture on your head. This script will also show tell the the distance from the current price to your Break-even, and the distance from Strike Price to break-even. All simple and easy to do on a piece of paper, but that for sure could take some time to plot correctly on the chart. The script will also show you an on-time PnL.
█ Future Plans and upgrades to this script may include :
1. Graphic chart to represent your PnL at every level.
2. Additional extra parameters
█ How to use :
1. Open the settings.
2. Select the period, then input your option details and you'll see it on the chart.
3. Activate the information box, to see some extra details.
Disclaimer : This script may contain errors as this is the first version. I would recommend double checking the results on a different tool before starting a trade.
Higher order Orderblocks + Breakerblocks + Range + AlertsThis script identifies Orderblocks, Breakerblocks and Range using higher order pivots and priceaction logic.
I tried to reduce the number of blocks to make the chart cleaner, for this purpose I use only second order pivots for both MSB lines and supply/demand boxes, I also tried to filter out shifts in MS and false breakouts.
Any box has GRAY color until it gets tested.
After successful test box gets colors:
RED for Supply
GREEN for Demand
BLUE for any Breakerblocks
For cleaner chart and script speed all broken boxes deletes from chart.
It gives comparatively clean chart on any TF, even on extra small (5m, 3m, 1m).
For Range there is option to plot 0.25, 0.5, 0.75 lines.
I usually use log scale on charts and there is an option to use it for proper range mean.
In previous my scripts i have requests to make alerts and this time i made it.
It has customizable alert catching all needed alerts into one output:
- Alert MSB - when market structure changes alert will inform you about its direction, MSB line and new Demand/Supply.
- Alert Orderblock or Breakerblock test - alerts when block was tested and it holds (in other words when it get RED/GREEN/BLUE colors)
- Alert New Range - when new range detected
- Alert Range test - alerts when range top or botoom was tested and it holds.
some examples :
AG FX - Pivot PointsPivot Points High Low
Definition
The Pivot Points High Low indicator is used to determine and anticipate potential changes in market price and reversals. The Highs referred to in the title are created based on the number of bars that exhibit lower highs on either side of a Pivot Point High, whereas the Lows are created based on the number of bars that exhibit higher lows on either side of a Pivot Point Low.
Calculations
As mentioned above, Pivot Point Highs are calculated by the number of bars with lower highs on either side of a Pivot Point High calculation. Similarly, Pivot Point Lows are calculated by the number of bars with higher lows on either side of a Pivot Point Low calculation.
Takeaways and what to look for
A Pivot Point is more significant or noteworthy if the trend is extended or longer than average. This can mean if a trader selects a higher period for before and after the Pivot Point, the trend could be longer and therefore prove the Pivot Point itself more notable.
Additionally, Pivot Points can help a trader assess where would be best to draw. By analyzing price changes and reversals, a trader has more of an ability to determine and predict price patterns and general price trends.
Summary
The Pivot Points High Low indicator can predict and determine price changes and potential reversals in the market. Pivot Points can also help traders identify price patterns and trends, depending on the period and significance of the Pivot Point value.
NSK CRPIndicator Daily CPR, daily/weekly/monthly Pivot points, daily/weekly/monthly high and low and EMA for self use prepared by picking up stuff from collaborators here. Thanks for the community.
All-Time High with Percentage Drops for ETF's and Large CapsPlots the percentage drop levels from the All-Time High of any ticker. You can use this within a pullback trading system. For example, if you historically look at the average pullback of large cap stocks and ETF's, you can use this indicator to plot the levels it could pullback to for an entry to go long. It can be used as potential targets when trading a ticker short. Another use for this is to backtest the set percentage targets using TradingView's bar replay feature to see how ETF's and large cap stocks have reacted at these levels.
Currently percentage levels are statically set to 1, 2, 3, 5, 7, 10, & 20% levels below the All-Time High.
*Not financial advice but in my opinion the current percentage levels set (see above) are best used for ETF's and Large Cap Stocks.
Higher Time Frame Chart OverlayHello All,
This script gets OHLC values from any security and Higher/Same time frame you set, then creates the chart including last 10 candles. it shows Symbol name, Time Frame, Highest/Lowest level of last 10 candles and Close Price at the right side of the chart as well. Closing price text color changes by the real-time candle of the related symbol and time frame. The all this was made using the Tables in Pine and the chart location doesn't change even if you change the size of main chart window.
Almost everything can be change as you want. You can change/set:
- Colors of Body and Top/Bottom Wicks separately
- The Height of each Cell
- The Width of Body and Wicks
- The Background and Frame color
- Enable/disable Status Panel (if you disable Status Panel then only candle chart is shown)
- Location of Status Panel
- Text color and Text size
- The Background color of Status Panel
Some examples:
The info shown in Status Panel:
You can change The Height of each Cell and The Width of Body and Wicks
You can change colors:
You can change location of the chart:
If you add the script more than once then you can see the charts for different symbols and time frames: (This may slow down your chart)
If you right-click on the script and choose "Visual Order" => "Bring to front" then it will be better visually:
P.S. Using this script may slow down your chart, especially if you add it more than once
Enjoy!
PivotPointsDailyTraditionalLibrary "PivotPointsDailyTraditional"
Provides the traditional daily pivot values and a pivot vacinity function.
P(level, daysPrior) Returns the P value.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
R(level, daysPrior) Calculates the R value for a given pivot level.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
S(level, daysPrior) Calculates the S value for a given pivot level.
Parameters:
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
vacinity(value, daysPrior, maxLevel) Returns a value representing where the provided value is in relation to each pivot level.
Parameters:
value : The value to compare against.
daysPrior : The number of days in the past to do the calculation.
maxLevel : The maximum number of pivot levels to include.
Isolated PivotsThis script identifies potential price reversals at pivot high/low points using sets of 3 candles.
Pivot High: The middle candle must have a higher high and a higher low than the two outer candles.
Pivot Low: The middle candle must have a lower low and a lower high than the two outer candles.
Potential usage: When a market is moving higher in an uptrend, if a pivot low is identified then that might be a sign of price weakness.
[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic LevelsINTRODUCTION:
Compared to all the Pivot Indicators available on Trading View Public Library, this Floor Pivots Indicator differentiates itself in two major original ways:
Dilates the Pivot Support/Resistance Levels into Support/Resistance Bands based on volatility
Displays the S/R Levels Dynamically , that is, only those levels will be shown that are close enough to the price resulting in much cleaner looking charts.
There were a few features whose logic I had figured out, but I could not implement them due Pine Script’s Limitation (they should really work on increasing Pine Script’s capacity instead of adding more and more features to the language in order to make it look ‘better’):
Showing multiple timeframe pivots at the same time (not possible due to Pine Script’s limitation on the ‘Max Number of Outputs’ )
Automatic Detection of highly profitable Double Hot Pivot Zones (DPZ), also due to the ‘Max Number of Outputs’ limit
GENERAL USER INPUTS:
Most of the settings are self-explanatory, however, a few of them need some explanation:
Show Floor Pivots Dynamically – This will turn ON the dynamic pivot levels, please note that this function will work ONLY IN INTRADAY timeframes.
Dynamic Pivot ATR Period – Period over which the ATR value is calculated to show the pivots dynamically.
ATR Threshold for Dynamic Floor Pivots – Simply put, the indicator will start displaying Pivot Levels if they fall within the 2*ATR distance (default value) of the price. You can increase this number if the volatility increases and vice-versa.
Use ATR to Dilate Intraday Pivot Levels – This will turn ON Floor Pivot Dilation, turning pivot ‘lines’ into ‘bands’ .
ATR Dilation Factor – This number decides the width of the Pivot bands. Larger this number, thicker the bands. Typically, high volatility stocks will require a higher number.
ATR Period – Same as Dynamic Pivot ATR Period, but for Pivot Level Dilation.
INDICATOR USAGE EXAMPLES:
This indicator works great in conjunction with my Pivot Boss Candlestick Scanner indicator.
There are a lot of optimizations I have done in the code, although it looks trivial at first glance, but it's fairly complex.
Feel free to use it and modify it as you wish.
Here are a few examples where the indicator has shown great entries and exits, with the default settings:
NIFTY 5m Chart
Reliance 5m Chart
Tesla 5m Chart
Bitcoin-USDT 15m Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Once you start using floor pivots, you will realize that a lot of days simply don’t give any high probability setups and you will simply sit out of the market and do nothing (which is a good thing).
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Indicators OverlayHello All,
This script shows the indicators in separate windows on the main chart. Included indicators are RSI, CCI, OBV, Stochastic, Money Flow Index, Average True Range and Chande Momentum Oscillator. indicator windows are located at the top or bottom of the chart according to last moves of the Closing price. Different colors are used for each indicator. Horizontal levels are shown as dashed line and label as well.
Using the options;
You can enable/disable the indicators you want to see or not
You can change source and length for each indicator
You can set window length. using this length indicator windows are located on the chart
After you added this indicator to your chart I recommend: right click on any of the indicator windows => "Visual Order" => "Bring to front" as seen screenshot below:
in this example only 3 indicators enabled and period is set as 80:
indicator windows moves to the top or bottom of the chart according to the close price:
P.S. if you want to see any other indicator in the options then leave a comment under the indicator ;)
Enjoy!
Anchored VWAP Hand-OffBrian Shannon's "VWAP hand off" strategy, Has been my "go to" for some time now. Version 5 makes this much easier, with drag and drop placement.
When price taps the base anchored VWAP, a second VWAP is plotted at that point. When price taps the second, a third is plotted, and so on.
Each consecutive VWAP can be used to identify trend and future pivot points as trend continues.
IF the VWAPS look messy, price action is choppy and a trend hasnt yet started.
Order BlocksThis is experimental Indicator is to help identifying Order Blocks.
It uses not confirmed higher order pivots as Higher Highs (HH) and Lower Lows (LL), finds high/lows that created most recent LL/HH and in case if this high/low are broken it notes candle that broke structure, market structure broke line (MSB) and demand box (candle that created liquidity for the move that broke structure).
Concepts and parts of code used in this study:
1) @rumpypumpydumpy - Higher Order Pivots
2) @MarkMiddleton2020 - Order Blocks