ASE Supply & Demand

AseAlgo Updated   
█ Introduction
ASE Supply & Demand is a multi-timeframe Supply and Demand zone indicator based on the Order Block concept. Order Blocks are a price action concept defined as a basing candle followed by a breakout candle (as seen in the chart below). A basing candle typically shows a slowing down in price action, foreshadowing a reversal and initial institutional activity. The breakout candle then confirms institutional activity with a displacement candle in the opposite direction of the basing candle. Additionally, there is an advanced feature called “Potentials,” which allows us to see price action forming S&D zones beforehand & trapped positions live through the same Order Block concept.

█ Supply and Demand Zones
The Supply & Demand zones are plotted on 8 timeframes (5m, 15m, 30m, 1hr, 2hr, 3hr, 4hr, D). In addition, there are custom settings that allow the trader to filter for the most significant zones and to cohere to their trading style:

Range Multiplier
Filters the creation of a zone based on the basing candle of Supply/Demand(0-5)
The size of the basing candle must be smaller than 0-5 times the True Range Index to create Supply/Demand.
If the basing candle range is smaller than the True Range Index, this can foreshadow the potential of institutional activity as price slows down, and a potential reversal might occur.

True Range Index
The number of bars to calculate the True Range in Range S+D mode.

Displacement Sensitivity
Filters the creation of a zone based on the displacement from the base (0-20)
Calculated by taking the breakout range (as seen in the chart below) divided by the range of the basing candle
0 = less significant, more zones
20 = more significant, fewer zones

Zone Strength Filter %
Filter out current zones based on how strong they are (0-100)
Calculated by the amount of fill within a zone. By changing the Zone Strength Filter, you can display zones that have not breached the filter % you select. For example, if you choose 80% Zone Strength, that means it will only show zones that are 20% filled or less; in other words, zones that have 80% or more yet to be filled.
0 = All Zones
100 = Completely unused zones

With these advanced filters and plotting on multiple timeframes, we have created the best Supply and Demand Indicator. In addition, these filters help to eliminate insignificant zones and noise in the market, leaving us a clean chart.

█ Potentials
Potentials foreshadow the possibility of a Supply or Demand Zone forming, the possibility of a Trapped concept, and it works great as targets or influence in our trades.
Potentials are calculated by the same Order Block concept, which allows us to see Supply & Demand/Order Blocks forming in real-time.
When a potential is triggered and holds, the line turns solid. If it continues to hold, it has the potential of forming a Supply/Demand zone based on the trader's Zone Filters. If the price pulls back and fails to hold, it will go back to dotted. Inferring it used the potential as liquidity and is potentially trapping market participants at that potential.

█ How To Use:
Supply and Demand Zones are the ‘Where’ to our trade but not the ‘Why.’ This means that the zones are our POI (Point of Interest) and ‘Where’ we want to be looking for a trade. It is not our ‘Why’ because we do not enter just because we are in a zone. This is because we expect pivots or reversals inside our Supply & Demand zones, and this rarely happens quickly.

What we want to look for in our zones is a solid base for our reversals. Simply put, we want to see new demand forming at our Demand Zones and new supply forming at our Supply Zones. This can be achieved by observing the ‘Potentials’ feature which allows us to see new Order Blocks or ‘Base Candles’ forming. With a trained eye, the ‘Potentials’ feature is highly effective in addition to its ‘Trapped’ logic which can offer entries on their own. The "Trapped" label on potentials shows potential trapped buyers or sellers after we reach that level. Observing and understanding how price action facilitates, especially around the zones, is crucial to its usability. In addition, other strategies or indicators can be used in confluence to support bounces out of demand and rejections out of supply.

Ultimately once we find a viable entry, we want to see a complete cycle. For example, if we caught a bounce out of demand with new demand forming, we would want to see the cycle complete and us reach the next supply or manufacture new supply. The ‘Potentials’ feature is the easiest way to gather multiple targets and at the same time offers stop loss management.

█ Settings:
Enable Supply/Demand/ Zones and Potential Liquidity
  • STF S&D Zones - Enables 5 minute and 15 minute timeframe for zones
  • LTF S&D Zones - Enables 30 minute and 1 hour timeframe for zones
  • HTF S&D Zones - Enables 2 hour, 3 hour, and 4 hour timeframe for zones
  • Daily S&D Zones - Enables Daily timeframe for zones
  • Enable Potentials
Supply Demand Zone Models
  • Range - Filters zones based on the range of candles before supply/demand
  • Displacement - Filters zones based on the displacement of the breakout candle
  • Range + Displacement - Filters zones based on the displacement of breakout candle and range of the candles before supply/demand
Supply Demand Zone Filters (see “Supply and Demand Zones” section for usage)
  • Range Multiplier
  • True Range Index
  • Displacement Sensitivity
  • Zone Strength Filter %
Deletion Conditions
  • Confirmed - Deletes zone upon time-frame close above supply or below demand
  • On Break - Deletes zone upon break above the top of supply or break below bottom of demand
  • On Tap - Deletes zone upon the touch of supply or demand
Other Settings
  • Price Labels - Turns on Zone Price Levels
  • Supply/Demand Color Input - Customize color of zones to your liking
  • Supply Demand Border Width - Change the border width of zones (0 would be completely borderless zones)
  • Supply Demand Transparency - Change transparency of zones (0 is completely solid zones, 100 is completely transparent)
  • Transparency Input - "Normal" Transparency stays at the level that's set; "Decrease with price" as price moves through, the zones become more transparent
  • Default Color - Changes color of any text/labels (default is gray)
  • Text size - Change size of text on labels
Release Notes:
Update 1
You asked, we delivered!
We added the ability to alert the supply and demand zone formation. To add the alerts, simply adjust the settings of the indicator on your chart, go to the alerts tab on TradingView and create an alert with this script.

We also adjusted the potentials label from "Trap Con" to "Trap" to make the chart more look cleaner.

If there are any questions or bugs, please feel free to leave a comment, or message us directly!
Release Notes:
Release Notes:
Added Weekly and Monthly Zones and Potentials
Fixed Zone Strength Filter by adding a delete toggle at end of day
Release Notes:
Update Chart Image

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?