Fibonacci compressionThis script will search x-bars back, if it can find a triangle formation that meets certain Fibonacci ratios.
Based on the trend-based fib extension tool from the first high to the first low and then the 2nd high (in a bullish structure, inverse for bearish), we can predict the take profit levels.
The main target is the 0.618, first take profit is at the 0.236. In a strong trend, one can aim for the 1 fib ratio.
Once the 3 points are known, the script will already plot the take profit levels. It is better to wait until the full pattern develops with a 2nd lower high and a 2nd higher low.
The way I use it, is closing 20% at TP1, 80% of the remainder at TP2 and final close out at TP3.
Stop loss is the red line which will show up after a full pattern is formed.
Plot out the profit levels with the trend based fib extension tool, because once there's a break-out of the pattern, the script won't show the compression any more. (or use the replay button to go back in time to plot it again)
The volume label will appear once there's a divergence between the low and higher low or the high and lower high. It is based on my cumulative volume script. It only works well on timeframes above 4 hour, but volume in favor of a short, doesn't always guarantee a good short setup, so don't take it for granted.
It has around a 30 - 33% chance of hitting your TP2, so make sure the risk to reward is at least 3.
Happy trading!
Multitimeframe
ASE Supply & Demand█ 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
Live Portfolio ScreenerThe live portfolio screener indicator is a tool that help users to track the performance of their investments in real-time. The indicator provides a detailed breakdown of the user's portfolio, including the current profit and loss (P&L) for each stock that is invested in. This allows users to quickly and easily see how their portfolio is performing and make informed decisions about their investments on charts. Overall, this tool is an essential tool for anyone looking to stay on top of their investments and make data-driven decisions.
This indicator can load any symbol globally usable.
How to use this indicator ?
in this indicator firstly
you have add script name. (For example if you want to add symbol you have add in 's01 ' means the first symbol)
after that
you have to add price for each (For example if you want to add buy price for the first symbol then add the buy price in ' Bp01 ')
then the quantity comes in picture which is below price list and named here as Bq01 which means 'Buy quantity for first symbol'
Consecutive Candles lite | Multi Timeframe
Choose to display numbers from 6, 7, 8 or only 9, showing a colored dot until the last number is reached to reduce the clutter
Support and resistance
Customizable labels, several styles are available
Identifies turning point in the trending price of an asset or an index.
Consecutive Candles | Multi Timeframe
Display all numbers or choose from 6, 7, 8 and 9 to reduce the clutter
Support and resistance
Customizable labels, several styles are available
Identifies turning point in the trending price of an asset or an index.
Dual Bollinger Band Mean ReversionSimple but solid mean reversion indicator with sl and tp levels. Most of the code is based on the built in bollinger bands script. Designed for scalping 1-5 minute timeframes.
The indicator consists of two sets of bollinger bands.
Price has to close below the lower (fast) bollinger band, above the moving average of the (slower) bollinger band.
If price now closes above the lower (fast) bb, the indicator draws a label at the open of the next candle (which would be a potential entry point). Take profit becomes the upper bollinger band, stop loss the same distance below the open of the candle.
I've built in a simple backtesting function that calculates the potential win/loss-ratio. Loss and profit levels are 1:1. Exit strategy could be improved on.
Adjusting the lengths depending on the asset proves to be a good idea.
The slower bollinger bands can help to identify ranging markets and/or trends following regular bollinger bands theory.
Feel free to comment with any changes that you'd like to be made.
Round Numbers Breakouts Smart Formula Signals and AlertsThis indicator uses Round Numbers breakouts and then uses smart formula with the near Round Numbers to determine best TP (take profit)/SL (stop loss) areas. Furthermore, it calculates win percentage, shows in-profit/in-loss peaks and the price amount result over a customizable date range, which when combined well with the smart formula provides decent profitable outcome. I have decided to write my own backtesting engine as the integrated TradingView strategy one has limitations and has shown inconsistencies when compared to manual backtesting…
There are many settings you can manually change to trade any instrument, any style, any approach and there are presets included for Bitcoin(BTCUSD), FOREX(EURUSD), SPY(S&P500), so you can start trading immediately! Alerts correspond to indicator settings and are turned on with a few clicks. There are 3 tables (each can be shown/hidden) showing everything you need to see/know to calibrate the indicator as you wish.
Labels, lines, tables explanations (everything can be hidden/shown):
- LONG Labels: medium-green: position open, dark-green: SL, bright-green: TP, blue: TP2
- SHORT Labels: medium-red: position open, dark-red: SL, bright-red: TP, purple: TP2
- Gray circles: position entry area | Yellow crosses: SL area
- Green line: Long TP1, Blue line: Long TP2 | Red Line: Short TP1, Purple line: Short TP2
- Grey lines: Round Numbers (customized via “Round Number up/down measure unit” input)
- Yellow labels at end of each week: end of week OVERALL total results
- Red colored background: power segment
- 3 tables: 1) INFO | STATS, 2) SPY Options Calculator, 3) Indicator Settings
If you decide to fully customize the indicator yourself, on the very top - under “PRESETS” select “MANUAL”! NOTE: If you select any of the pre-set presets, only GLOBAL settings can be changed, the rest of the settings will be “frozen” until you switch it to “MANUAL”!
- Global Settings are self-explanatory and mainly observational, show/hide, etc.
- Manual TP2 (Multi-Take-Profit) Settings:
>>>>> Include TP2 System? Turn on/off multi-profit system, with this unchecked, every trade will either end with SL or with TP1.
>>>>> TP2 System: NEAREST/FORMULA, NEAREST – after TP1 is taken > next TP2 will be a round number price target nearest to where TP1 was taken (sometimes it can be very near, sometimes further away…), FORMULA – 2nd round number price target will be optimally selected based on the distance behind and ahead of TP1 area. For TP2 – FORMULA would be the most logical choice as with multi-take-profit setting turned on – you’d want to ride it out as far as possible.
>>>>> TP1/TP2 division type: 1) Each price target (TP1, TP2) will be ½ of the position 2) TP1 will be 2/3 of the position and TP2 will be the remaining 1/3.
>>>>> TP2 hit type: “close” > candle has to close on top/crossing the price target line, “touch” > once candle touches the price target – you will be immediately alerted to take the partial profit (if you will use such setting – you will need to take the partial profits as soon as you receive the alert.
>>>>> TP1 > Back to Entry hit type: similar to TP2, “close” > candle close, “touch” > candle touch. Please note: this is a very tricky setting as if you use “close” option – your profitable trade may become a loss if a huge candle will close against your position eliminating your TP1 profit, however often the price will touch and cross the entry area to only bounce and continue with your position direction for even bigger profits… so experiment with the date range results to see what works best for your instrument/setting/strategy.
>>>>> TP2 count towards trades count: this can be a bit confusing, but it is simply how should TP2 be treated towards trades count. The indicator will show you Win Percentage and Win % is obtained from winning trades count divided by total trades count. While TP2 is not “a new trade”, it expands the profit of the trade. This is an experimental setting to count TP2 as the whole winning trade, ½ of a trade, or not count it at all.
- Manual Signals/TP1 Settings:
>>>>> TP1/TP2 offset: this one is really cool, with this feature you can hunt these conditions when the price comes very near the profit target area, but never touches it. With this setting turned on and with a good offset amount – you will be able to catch these for TP1 and TP2!
>>>>> TP1/TP2 offset amount: just what the title says, please be careful with this as this number varies significantly depending on the instrument you will be trading. Examples: 1) For SPY 0.1 would be $0.10 offset - if TP1 is $400 and price hits $399.90 > TP1 considered taken/signal shown/alert) | 2) For EURUSD, it is very different and if wrong will show TP1 immediately at position open, typical good offset for EURUSD is: 0.0005 | 3) For BTCUSD, 10 - $10 offset, if TP is $15,000 > $14,990, etc.
>>>>> Round Number up/down measure unit (in dollars $): this one is very important if you will be using “MANUAL” selection to build your own setup as it is very different for every instrument. For SPY, round numbers are single dollars or even half-dollar 50 cent numbers: 1 or 0.5 (350, 351, 352, etc. or 350.50, 351, 351.50, 352, etc.), while for Bitcoin (BTCUSD) a single unit ($1) is too small to be a round number as Bitoin moves much faster and wider every second and it would have to be at least 50 ($50) to make sense. Similar for FOREX (EUR/USD) a single 1 unit ($1) will be too big as EURUSD will never move a whole $1 in 15 minutes or even a day.. and would have to be something like 1.05500. You can easily determine if this number makes sense for your instrument by observing the grey Round Number lines which will correspond based on this setting. You can also visually observer if the price of the instrument appreciates these round numbers.
>>>>> Close Position Before Market Closes: just what the title says. Indicator will close the position 15 minutes before market closes (US session), update backtesting stats, alert you.
>>>>> Close Position Before Power Hour: 3PM – 4PM ET is the last hour of US trading session, where sudden move in any direction can happen with huge volatility, while sometimes nothing will happen at all… Many try to avoid it, so if you wish to avoid it as well - turn this on and it will alert you to close your positions 15 minutes before Power Hour starts, backtesting/stats will be adjusted accordingly.
>>>>> Skip OVERSIZED candles in signals: turn on this setting to skip signals, which happen to fall on big candles. This is basically a protection from huge volatility moves, which usually happen during financial news/events and if you are not a fan of these – you can set this option for indicator to not open anything based on the candle size.
>>>>> Color OVERSIZED candles: this will help you calibrate the size of the OVERSIZED candles if you decide to use this setting and overall visually see them.
>>>>> OVERSIZED candle size: OVERSIZED candle size must be input as it varies significantly. Please note: for each instrument – the size number is completely different, as for SPY: 2 would mean any candle bigger than $2 distance will be considered OVERSIZED, for Bitcoin it would have to be several hundred dollars, like 400-500. For FOREX, this would have to be a decimal, for EURUSD something like 0.0005. It’s best to experiment visually with this setting depending on the instrument you will be trading while setting up the size. To see a typical huge unusual candle – look up financial calendar for something like FOMC meeting, then measure the candle input it into this setting.
>>>>> OVERSIZED candle size calculation type: this is just more flexibility for your preference. If you wish to calculate the size of the candle based on the open/close – select “BODY”, if you wish to use high/low – select “STICKS (from tip to tip)”. Hard to say which one is better, so it is up to you to decide.
>>>>> Include EMA in signal formula: LONG signals will only be shown only if above EMA, SHORT if below EMA. EMA length is of course customizable in below.
>>>>> Skip opposite candle types in signals: signals where the candle color confirms the direction of the trade, but the candle type is opposite (like a green colored bearish hammer for example) will be avoided (such candles can be very uncertain/deceptive).
>>>>> Skip doji: signals where the signal candle is doji (uncertain) will be avoided.
>>>>> TP1 hit type/system: same thing as TP2 hit type/system.
>>>>> SL hit type/system: same as TP1 and TP2 types/systems.
>>>>> Intraday Session Signals Active Time in ET: time range during the day when indicator will show signals (open trades, alert you, etc.). This is specifically for intraday trading. You can turn it off completely by selecting a BLANK option.
>>>>> Intraday TP/SL Active Time in ET: same as above, but for taking profits/stop losses.
*** To add the alerts
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
If you wish to try this out for a week or so – please write me directly and I will give you access.
Cuban's Asset ScreenerCuban's Asset Screener is a tool designed to view the health of the entire market in a single charting window, using a multi-timeframe, real-time heatmapped asset screener built natively within Tradingview.
You can use this tool to aggregate and display critical information required to identify your favorite trade ideas using other Cuban's Edge tools. Although the screener currently uses pre-built lists for over 200+ Binance and Bybit Futures pairs, the tool comes with custom watchlist support, allowing you to add as many additional assets as your screen and browser will support.
Currently tracking range positions and a custom cross asset delta function from Cuban's Pair Trading Index, the screener has an in-built sorting function which orders assets by similar market structure and colors them relative to their performance against the user's comparison asset -- their current chart ticker.
Cuban's Asset Screener is also valuable as a tool to monitor performance of your portfolio against any benchmark asset, by using the 'Asset Redenomination' option within the settings. This allows the user to redenominate the entire screener easily using their current chart ticker.
In order to setup the Asset Screener, the user will need to select an 'Asset List' and a 'Screen Location' value. This will load the screener into a set position on screen, from right to left. In order to add additional assets, multiple instances of the asset screener will need to be loaded on screen.
With this indicator, users get the option to adjust the following:
range positioning lookback
asset redenomination for range positioning
asset sorting order
screen location
multi-timeframe support
live pricing for PTI values
in-built asset lists for 200+ assets
TO DO:
add market filters to the coloring
add tradfi asset lists
ICT SM Trades PREMIUMIndicator looks for ICT & Smart Money trades on any timeframe. These types of trades reveal how the big institutions, banks and hedge funds trade with big money. If they want their very big positions to be filled they need to find areas in chart where the majority of the money is sitting. Where is it? Where is the majority of orders placed? Right below supports or right above resistance, these orders are stoplosses or stop orders. So they need to push the price to these areas, take all the available stoplosses and trigger all the available stop orders in order to fill their positions and then push the price to the opposite side to make profit (and retail to lose).
Indicator looks for support or resistance (S/R) areas which are represented by dotted lines. This S/R areas are created by minimum of 2 pivot high/low (H/L). Every pivot H/L that creates the S/R area is marked with diamond label. This S/R area is called liquidity. After liquidity is created, indicator looks for liquidity grab (mostly represented by fast spike to this area - it is labeled with x-cross) and then price should go fast to the opposite side of the created structure. Indicator considers as a created structure everything that was created on the other side of the candles from the oldest pivot H/L which creates particular liquidity. For example, if liquidity is created with 3 pivot highs, indicator looks at the oldest pivot high and from there it is looking for the lowest low. Under this lowest low is dashed line which means that this level should be broken with closed candle. This action is called market structure shift (MSS), when the price shifted very fast from highs to lows. After MSS, when the price went fast to one direction, there were some imbalances in prices, in our example selling pressure was a lot bigger than buying pressure and there were created some long untested bearish candles. This untested areas in candles are called imbalances or gaps of fair value gaps (FVG). These are labeled with rectangles. It is expected that these gaps will be tested in near future to "balance the market".
We can put limit orders into these gaps (or into order blocks in PREMIUM indicator) and await some retracement after MSS to open our positions and after the positions are opened we can expect trend continuation in the direction where market structure shift was made (away from liquidity grab). So stoplosses can be placed above/below liquidity grab candle (marked with x-cross).
Alerts can be set for MSS to Long & Short and for liquidity grabs to Long & Short.
All settings of this indicator should be self-explanatory and most of them have tooltips for better understanding.
Multi IND Dashboard [Skiploss]Multi IND Dashboard is dashboard combine with price change, RSI, ATR, Alligator and Supertrend. With a maximum of 10 timeframes, I think it's going to make your life easier. In looking at the momentum of each chart.
How it work??
Change :
It is the distance from the close price of previous candlestick and shows the movement value of the candlestick in that timeframe.
RSI :
Default setting are 14 and source close
Value >= 75 : Fill text color maximum overbought
Value >= 65 : Fill text color medium overbought
Value >= 55 : Fill text color minimum overbought
Value >= 45 : Fill text color minimum overbought
Value >= 35 : Fill text color medium overbought
Value >= 25 : Fill text color maximum overbought
ATR :
Default setting are 14 length and RMA smoothing, It like the average swing of the candlesticks.
Alligator :
Default setting are 13, 8 and 5
Bullish status is value lips > teeth and teeth > jaw
Bearish status is value lips < teeth and teeth < jaw
Neutral status status is value lips > teeth and teeth < jaw or lips < teeth and teeth > jaw
Supertrend :
Default setting are 8 and 3.0
Bullish status is uptrend
Bearish status is downtrend
True Trend Average BandsThis is the indicator I am most proud of. After reading Glenn Neely's book "Mastering Eliott Waves" / "Neowave" and chatting with @timwest who got acknowledged by Neely, we came up with the idea of an moving average which does calculate the real average price since a trend started. Addionally I adapted a method from Neely Neowave and Tim Wests TimeAtMode to not force a timeframe on a chart but instead let the charts data decide which timeframe to use, to then calculate the real average price since the trend started.
It took me a while to get this right and coded, so take a moment and dive deeper and you might learn something new.
We assume that the price is in multiple trends on multiple timeframes, this is caused by short term traders, long term traders and investors who trade on different timeframes. To find out in which timeframe the important trends are, we have to look out for significant lows and highs. Then we change the timeframe in the chart to a value so that we have 10 to 20 bars since the significant low/high. While new bars are printed, and we reach more than 20 bars, we have to switch to a higher timeframe so we have 10 to 20 bars again. In the chart you see two significant trends: a downtrend on the 3 week timeframe and an uptrend from the 2 month timeframe. Based on the logic I have described, these are the two important timeframes to watch right now for the spx (there is another uptrend in the yearly chart, which is not shown here).
Now that we understand how to find the important timeframes, let's look what the magic in this script is that tells us the real average price since a trend started.
I developed a new type of moving average, which includes only the prices since a trend started. The difference to the regular sma is that it will not include prices which happened before the significant low or high happened. For example, if a top happened in a market 10 days ago, the regular sma20 would be calculated by 10 bars which happened before the top and 10 bars which happened after the top. If we want to know the average price of the last 10 bars we manually have to change the ma20 to the ma10 which is annoying manual work, additionally even if we use the ma10 in this case, and we look at yesterday's bar the ma10 will include 9 bars from after the top and one bar before the top, so the ma10 would only show the real average price for the current bar which is not what we want.
To come up with a solution to this problem, the True Trend Average searches for the lowest/highest bar in a given period (20 bars). Then starts to calculate the average value since the low/high. For example: if the price reaches a new 20 day high and then trades below it, the day of the high will be the sma1, the day after it's the sma2, ... up to the maximum look back length.
This way, we always know what the average price would have been if someone sold/bought a little bit every bar of his investment since the high/low.
Why is this even important? Let's assume we missed selling the top or buying the low, and think it would have been at least better to buy/sell a little bit since the new trend started. Once the price reaches the true trend average again, we can buy/sell, and it would be as good as selling/buying a little bit every day. We find prices to buy the dip and sell the bounce, which are as good as scaling in/out.
There is a lot more we can learn from these price levels but I think it is better to let you figure out yourself what you can learn from the information given by this indicator. Think about how market participants who accumulate or distribute feel when prices are above or below certain levels.
Now that we understand this new type of moving average, let's look into the lines we see in the chart:
The upper red band line shows the true trend average high price since the last significant top within 20 bars.
The lower red band line shows the true trend average hl2 price since the last significant top within 20 bars.
The lower green band line shows the true trend average low price since the last significant low within 20 bars.
The upper green band line shows the true trend average hl2 price since the last significant low within 20 bars.
The centerline is the average between the upper red band and the lower green band.
The teal lines show 1 standard deviation from the outer bands.
Before today only a few people had access to this indicator, now that it is public and open source, I am curious if you will find it useful and what you will do with it. Please share your findings.
/edit: The chart only shows the 3week timeframe so here are the other two trends from the 2month and 1year timeframe
Cuban's Quick Action ChannelCuban's Quick Action Channel
Cuban's Quick Action Channel, is an indicator designed to predict likely areas of price reversion, using a tighter channel mechanism with a lower time preference in comparison to Cuban's Reversion Bands.
It has been developed through extensive research and development over the last two years and has evolved into a tool that can also identify momentum across multiple timeframes using a two-tier coloring system based on a combination of proprietary signals.
With multiple color granularity settings, this coloring can be expanded for use as a background coloring system if you wish to use it in tandem with your own channel system.
The indicator utilizes unique band logic that is highly customizable to fit your use. When price moves beyond the boundaries of the channel, it has been frequently observed to correlate with liquidations and forced buying or selling.
The band logic uses a combination of pivot points, volatility metrics, and previous periods of price over-extension.
The EQ of the channel line is calculated by using the mid of the inner most channels, this EQ can be used as confluence for determining the trend direction of lower time preference price action.
Within the user inputs, the user gains the ability to customize:
channel width
channel sensitivity
volatility lookback
pivot points source
and coloring settings
To-do for future updates:
add alerts
add tooltips to each user input
An example of the background coloring:
New Highs-New-Lows on US Stock Market - Main Chart Edition#### ENGLISH ####
This script visualizes divergences between the price and new highs and new lows in the US stock market. The indicator should be used exclusively on the US stock indices (timeframe >= D).
This is the indicator for the main chart. It should be used together with the subchart indicator of the same name. In order to get the same results between the main and subchart editions, the indicator settings must be manually adjusted equally in both charts.
The approach:
Let's take a bull market as an example. A bull market is characterized by rising highs and rising lows. We can therefore assume that with the rising prices, the number of stocks that form new highs also rises or at least remains constant. This confirms the upward trend and thus expresses that it is supported by the broad stock market. If the market forms new highs and the number of stocks forming new highs decreases at the same moment, these new index highs are no longer supported by the broad stock market but exclusively by a few highly capitalized stocks. This creates a bearish divergence between the index and the NHNL indicator. This means that the uptrend tends to be overheated and a correction becomes more likely. Stops should be drawn closer.
The approach applies conversely, of course, to downtrends as well.
The indicator itself:
The number of new highs and lows (NHNL) are determined using the data sources included in Tradingview, such as "INDEX:HIGN" for NYSE highs. This data is provided on a daily basis. For higher time units (week, month) the daily numbers are shown summed up and not only the Friday value like most other NHNL indicators.
The signal strength is determined on the basis of two factors. The stronger the signal, the clearer (less transparent) the line/arrow. The two factors are on the one hand the strength of the divergence in and of itself, and on the other hand the strength of the overriding trend. The trend strength is determined using a 50 EMA on the NHNL indicator.
To avoid displaying every small divergence and to reduce false signals, the threshold for the signal strength can be set in the indicator settings.
#### GERMAN #####
Dieses script visualisiert Divergenzen zwischen dem Preis und neuer Hochs sowie neuer Tiefs im US Aktienmarkt. Der Indikator sollte ausschließlich auf den US Aktienindizes verwendet werden (Timeframe >= D).
Dies ist der Indikator für den Hauptchart. Er sollte zusammen mit dem gleichnamigen Subchart Indikator verwendet werden. Um gleiche Ergebnisse zwischen Haupt- und Subchart Edition zu erhalten, müssen die Indikatoreistellung manuell in beiden Charts gleichermaßen eigestellt werden.
Der Ansatz:
Nehmen wir uns als Beispiel einen Bullenmarkt. Ein Bullenmarkt zeichnet sich durch steigende Hochs und steigende Tiefs aus. Man kann also annehmen, dass mit den steigenden Preisen auch die Anzahl der Aktien die neuen Hochs ausbilden steigt oder zumindest konstant bleibt. Dies bestätigt den Aufwärtstrend und drückt somit aus, dass dieser vom breiten Aktienmarkt mitgetragen wird. Wenn der Markt neue Hochs bildet und die Anzahl der Aktien, die neue Hochs bilden im selben Moment sinkt, so werden diese neuen Indexhochs vom breiten Aktienmarkt nicht mehr getragen sonder ausschließlich von wenigen hochkapitalisierten Aktien. Es entsteht eine bärische Divergenz zwischen Index und dem NHNL Indikator. Das bedeutet, dass der Aufwärtstrend tendenziell überhitzt ist und ein Korrektur wahrscheinlicher wird. Die Stops sollten näher herangezogen werden.
Der Ansatz gilt umgekehrt natürlich auch bei Abwärtstrends.
Der Indikator an sich:
Die Anzahl der neuen Hochs und Tiefs (NHNL) werden anhand der in Tradingview enthaltenen Datenquellen wie z.B. "INDEX:HIGN" für die NYSE Hochs ermittelt. Diese Daten werden auf Tagesbasis bereitgestellt. Für höher Zeiteinheiten (Woche, Monat) werden die Tageszahlen aufsummiert dargestellt und nicht wie bei den meisten anderen NHNL Indikatoren nur der Freitagswert.
Die Signalstärke wird Anhand zweier Faktoren ermittelt. Je stärker das Signal um so deutlicher (weniger transparent) die Linie/der Pfeil. Die zwei Faktoren sind zum einen die stärke der Divergenz an und für sich, sowie zum anderen die Stärke des übergeordneten Trends. Die Trendstärke wird anhand eines 50er-EMA auf den NHNL-Indikator ermittelt.
Um nicht jede kleine Divergenz anzuzeigen und um Fehlsignale zu reduzieren, kann die Schwelle für die Signalstärke in den Indikatoreinstellungen festgelegt werden.
New Highs-New-Lows on US Stock Market - Sub Chart Edition#### ENGLISH ####
This script visualizes divergences between the price and new highs and new lows in the US stock market. The indicator should be used exclusively on the US stock indices (timeframe >= D).
This is the indicator for the sub chart. It should be used together with the main chart indicator of the same name. In order to get the same results between the main and subchart editions, the indicator settings must be manually adjusted equally in both charts.
The approach:
Let's take a bull market as an example. A bull market is characterized by rising highs and rising lows. We can therefore assume that with the rising prices, the number of stocks that form new highs also rises or at least remains constant. This confirms the upward trend and thus expresses that it is supported by the broad stock market. If the market forms new highs and the number of stocks forming new highs decreases at the same moment, these new index highs are no longer supported by the broad stock market but exclusively by a few highly capitalized stocks. This creates a bearish divergence between the index and the NHNL indicator. This means that the uptrend tends to be overheated and a correction becomes more likely. Stops should be drawn closer.
The approach applies conversely, of course, to downtrends as well.
The indicator itself:
The number of new highs and lows (NHNL) are determined using the data sources included in Tradingview, such as "INDEX:HIGN" for NYSE highs. This data is provided on a daily basis. For higher time units (week, month) the daily numbers are shown summed up and not only the Friday value like most other NHNL indicators.
The signal strength is determined on the basis of two factors. The stronger the signal, the clearer (less transparent) the line/arrow. The two factors are on the one hand the strength of the divergence in and of itself, and on the other hand the strength of the overriding trend. The trend strength is determined using a 50 EMA on the NHNL indicator.
To avoid displaying every small divergence and to reduce false signals, the threshold for the signal strength can be set in the indicator settings.
#### GERMAN #####
Dieses script visualisiert Divergenzen zwischen dem Preis und neuer Hochs sowie neuer Tiefs im US Aktienmarkt. Der Indikator sollte ausschließlich auf den US Aktienindizes verwendet werden (Timeframe >= D).
Dies ist der Indikator für den Subchart. Er sollte zusammen mit dem gleichnamigen Hauptchart Indikator verwendet werden. Um gleiche Ergebnisse zwischen Haupt- und Subchart Edition zu erhalten, müssen die Indikatoreistellung manuell in beiden Charts gleichermaßen eigestellt werden.
Der Ansatz:
Nehmen wir uns als Beispiel einen Bullenmarkt. Ein Bullenmarkt zeichnet sich durch steigende Hochs und steigende Tiefs aus. Man kann also annehmen, dass mit den steigenden Preisen auch die Anzahl der Aktien die neuen Hochs ausbilden steigt oder zumindest konstant bleibt. Dies bestätigt den Aufwärtstrend und drückt somit aus, dass dieser vom breiten Aktienmarkt mitgetragen wird. Wenn der Markt neue Hochs bildet und die Anzahl der Aktien, die neue Hochs bilden im selben Moment sinkt, so werden diese neuen Indexhochs vom breiten Aktienmarkt nicht mehr getragen sonder ausschließlich von wenigen hochkapitalisierten Aktien. Es entsteht eine bärische Divergenz zwischen Index und dem NHNL Indikator. Das bedeutet, dass der Aufwärtstrend tendenziell überhitzt ist und ein Korrektur wahrscheinlicher wird. Die Stops sollten näher herangezogen werden.
Der Ansatz gilt umgekehrt natürlich auch bei Abwärtstrends.
Der Indikator an sich:
Die Anzahl der neuen Hochs und Tiefs (NHNL) werden anhand der in Tradingview enthaltenen Datenquellen wie z.B. "INDEX:HIGN" für die NYSE Hochs ermittelt. Diese Daten werden auf Tagesbasis bereitgestellt. Für höher Zeiteinheiten (Woche, Monat) werden die Tageszahlen aufsummiert dargestellt und nicht wie bei den meisten anderen NHNL Indikatoren nur der Freitagswert.
Die Signalstärke wird Anhand zweier Faktoren ermittelt. Je stärker das Signal um so deutlicher (weniger transparent) die Linie/der Pfeil. Die zwei Faktoren sind zum einen die stärke der Divergenz an und für sich, sowie zum anderen die Stärke des übergeordneten Trends. Die Trendstärke wird anhand eines 50er-EMA auf den NHNL-Indikator ermittelt.
Um nicht jede kleine Divergenz anzuzeigen und um Fehlsignale zu reduzieren, kann die Schwelle für die Signalstärke in den Indikatoreinstellungen festgelegt werden.
Tick based chart [DotH]Version 1.0 - 2nd January 2023
Hi All,
This is my first published indicator, although I have written several hundreds for private use.
Description
Tick based chart
I got intrigued while reading about tick based charts on this page (please note this link/website owner is not affiliated with me) , so I decided to see if it would be possible to recreate this type of chart in TradingView, and here's the results.
This is an implementation for displaying a tick based chart in Trading View. There are benefits to using ticks based candles, as each candle represents the same number of "price moves" rather than an unknown number of moves.
Tick based charts are charts with candles that are rendered in the same way as traditional candles. However, instead of rendering a new candle at a specific time period,tick based candles are rendered after a set number of ticks have occured. For example, in a 50 tick chart, each candle that you see represents exactly 50 ticks, i.e. 50 price changes/moves. Having a view of what happens on the tick level, may help some traders evaluate what is happening within very large candles, or even detect a change in trend, volatility or some other metric which otherwise may not be visible using a standard chart.
Please note that this indicator DOES NOT match/synchronize timewise with the main chart in TradingView. You must view it independently. If you need to see what times are represented in the tick chart, you can look at the custom time labels and X-Axis grid lines in it to get an idea what parts of the tick based chart correspond to the main chart.
Limitations/known issues:
Currently the indicator has been restricted to 100 candles. This is for limiting the line and box usage to a max of 300 objects.
On timeframes above 1 minute, the seconds values will always be 0. In order to be able to see seconds values in the chart scale you need to be on a second level chart, which requires a premium TradingView subscription.
Changing the parameters in the settings will cause the chart to empty and start redrawing from its first candle again. This is because the tick chart is being drawn from realtime data, unlike the standard TradingView charts.
TODOs & Bugs:
Add some moving average indicators (SMA, EMA as a minimum)
Add a corresponding tick based volume chart
Create RSI, MACD, BB variations of this indicator
If you have any ideas/suggestions or bug reports, please feel free to let me know, however keep in mind that I do not have too much spare time to add things, so updates are going to be sporadic.
ABOUT CODE REUSE:
The code is free to use/change. However, if you plan to use this code to make a derivative indicator or strategy, it would be nice to know, so let me know if you feel like it!
Bender Stochastic MTF With Buy & Sell SignalsA stochastic indicator is a technical analysis tool that uses random data points to forecast price changes in a financial security. It compares the closing price of a security to its price range over a set period of time. The indicator is designed to indicate when a security is overbought or oversold by comparing the closing price to the price range over a certain number of periods. A stochastic indicator can be used to identify potential buying or selling opportunities. It is often used in conjunction with other technical analysis tools to provide a more comprehensive analysis of market conditions.
Configurable Indicator Signals
Signal on k & d Stochastic Line Crosses
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal on neutral zone breach
Invalidate signal on reverse cross
Invalidate signal after a user set number of bars
Delay signal until the cross is considered strong by calculating the distance between the stochastic lines the a user set threshold
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below settings will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Close any open trade on reverse k & d Stochastic line crosses
Require any signal and Stochastic directional confluence before opening any trade
Require any signal and Stochastic pressure to be in confluence before opening any trade
Require any signal to be in directional confluence with the Stochastic signal
Trendly
╭━━━━╮╱╱╱╱╱╱╱╱╭┳╮
┃╭╮╭╮┃╱╱╱╱╱╱╱╱┃┃┃
╰╯┃┃┣┻┳━━┳━╮╭━╯┃┃╭╮╱╭╮
╱╱┃┃┃╭┫┃━┫╭╮┫╭╮┃┃┃┃╱┃┃
╱╱┃┃┃┃┃┃━┫┃┃┃╰╯┃╰┫╰━╯┃
╱╱╰╯╰╯╰━━┻╯╰┻━━┻━┻━╮╭╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
About the script:
This script is an easy-to-use trend indicator, which is based on another popular indicator called "Supertrend" . The basic idea is very simple, i.e. to compute Average True Range(ATR) and use that as the basis for trend detection. The key difference lies in a custom trend detection method, that computes trends across different timeframes and projects them in a table view. The script also tries to improve the behaviour of the existing indicator by highlighting flat regions on the chart, indicating sideways market or potential trend reversals.
How to use it:
You can use it just like any other indicator, add it to your chart and start analysing market trends. Results can be interpreted as follows.
Indicator output is currently made up of two main components:
>> Trend Table:
Appears at the bottom right of your screen
Contains trend indicator for 9 different timeframes
Timeframes can be adjusted using indicator settings panel
Green Up Arrow --> Up Trend
Red Down Arrow --> Down Trend
>> Enhanced Supertrend:
Shows up as a line plot on the chart
Green line indicates up trend
Red line indicates down trend
White regions indicates slow moving markets or a potential trend reversal
Indicator can be used on any timeframe, it provides a view of current and historical market trend
Can be used as an indicator for entering/exiting trades
Can be used to build custom trading strategies
30MIN CYCLE█ HOW DOES IT WORK?
The known 90 min cycle is used as one killzone. But actually all 18 min are relevant to search for a trade. All 18 min when a new box starts only then is the placement of an order valid. If the entry candle isn't in a box then it will probably fail. The boxes should only be used in the M1 or M5 timeframe. The best hitrate is in the M1 timeframe. Included are the last 48 "Mini-Killzones" für intraday trading and backtesting. These "Mini-Killzones" can be used with the "Liquidity Inducement Strategy".
█ WHAT MAKES IT UNIQUE?
This is the first indicator on tradingview that shows all mini-killzones for trading and backtesting a whole tradingday. The well-known killzones of ICT are from 08:00-11:00 and 14:00 - 17:00 (UTC+1) but with this indicator there is finally a refinement of the ICT Smart Money Concept killzones.
█ HOW TO USE IT?
For a proper use of this indicator we suggest to know already at least SMC or better Liquidity Indcuement Trading. This indicator is a further confluence before placing an order. After you made your setup you will have these mini-killzones as a confluence. We don't suggest to open a trade only according to this indicator.
█ ADDITIONAL INFO
This indicator is free to use for all tradingview users.
█ DISCLAIMER
This is not financial advice.
Elliot Wave Helper Table█ OVERVIEW
This indicator is intend to be helper to help Elliot Wave user to properly Elliot Wave tools according to correct degree such as 12345 or ABCWXY. The abbreviation changes according to timeframe.
█ FEATURES
1. Abbreviation degree adaptive to timeframe. Eg : Subminutte for 1 minute chart, etc.
2. Works for custom timeframe. Eg : Subminutte for 1 to 4 minute chart, etc.
3. Show reference table if necessary.
█ REFERENCE
Adaptive Elliot Wave Degree Chart
█ EXAMPLES / USAGES
Multi-timeframe Harmonic PatternsHello friends. In recent months I have been busy with my academic research and haven't had much time to publish new scripts. To fill the gap of these months, I decided to publish the indicator Multi-timeframe Harmonic Patterns . Harmonic technical chart patterns can predict the next price trend and provide traders with clues to the price direction, which is one of the indicators widely used by professional traders.
(1) Indicator description
This indicator is built on ZigZag Multi Time Frame with Fibonacci Retracement@LonesomeTheBlue . Thanks to LonesomeTheBlue for contributing the awesome indicator
The indicator supports 6 different timeframes , and 25 different harmonic patterns
This indicator supports indicating key indicator prices: entry price, stop loss price, and two take profit prices
(2) Key parameters
timeframe resolution: The timeframe of the harmonic pattern
pivot high/low source: Calculation method of high/low pivot points
timeframe pivot period: Minimum period of high/low pivot points
delay for confirmations: Wait for N candles to confirm the chart pattern
bullish/bearish colors: Bullish/bearish pattern colors
enable harmonic patterns: Enable current harmonic patterns
show harmonic patterns: Show harmonic patterns found
show trading prices of patterns: Show key prices of harmonic patterns
(3) Supported Patterns:
Gartlay
Cypher
Bat
Deepcrab
Crab
Butterfly
Shark
0-5
AB=CD
3-Drives
Anti-Gartlay
Anti-Cypher
Anti-Bat
Anti-Crab
Anti-Butterfly
Anti-Shark
Black-Swan
White-Swan
Descending-Triangle
Ascending-Triangle
Symmetrical-Triangle
Headers&Shoulders
Inverse-Headers&Shoulders
Double-Top
Double-Bottom
————————————————————————————————————————
各位朋友大家好。最近几个月我忙于自己的学术研究没有过多时间更新脚本。为弥补这几个月的空缺,我决定发布该 多时间周期的谐波指标 。谐波技术图表形态在一定程度上可以预测下一个价格走势,为交易者提供价格方向的线索,是广大专业交易人员广泛使用的指标之一。
(1) 指标说明
该指标建立于 ZigZag Multi Time Frame with Fibonacci Retracement@LonesomeTheBlue ,感谢LonesomeTheBlue贡献的出色指标
该指标支持 6种不同的时间周期 ,以及 25种不同的谐波形态
该指标支持指示关键的指标价格:入场价格、止损价格、以及两种止盈价格
(2) 关键参数
timeframe resolution: 谐波形态的时间周期
pivot high/low source: 高/低枢纽点的计算方式
timeframe pivot period: 高/低枢纽点的最小周期
delay for confirmations: 等待N个蜡烛以确认图表形态
bullish/bearish colors: 看涨/看跌的形态颜色
enable harmonic patterns: 使能当前的谐波形态
show harmonic patterns: 显示被发现的谐波形态
show trading prices of patterns: 显示谐波形态的关键价格
(3) 支持形态:
Gartlay
Cypher
Bat
Deepcrab
Crab
Butterfly
Shark
0-5
AB=CD
3-Drives
Anti-Gartlay
Anti-Cypher
Anti-Bat
Anti-Crab
Anti-Butterfly
Anti-Shark
Black-Swan
White-Swan
Descending-Triangle
Ascending-Triangle
Symmetrical-Triangle
Headers&Shoulders
Inverse-Headers&Shoulders
Double-Top
Double-Bottom
Odd_DVEnds Dividend True Value💸 True Value = Close Price + Accumulated Dividends
◆ Using only the time displayed on screen of the chart, the script will calculate the True Value of the symbol. (Calculations start from first bar you can see to the last bar you can see.)
Why do you need the true value?
Anytime an asset pays a dividend the current market price doesn't reflect the actual value you would have received over time from holding said asset. Without this price information fairly comparing assets is difficult.
🗻 Selectable themed legend
🎨 Highly Customizable
⚠️ As of the first release moving multiple charts on the same layout using sync will not always update all charts. Its recommended to use the bottom toolbar to move times if using indicator on multiple charts. Check for updates to see if this has been resolved.
SMMA slope deviation alertThis indicator alerts when the deviation of close value from SMMA is more than 30% of the average deviation for the last 14 bars. The period of SMMA can be adjusted.
This indicator has 3 hardcoded timeframes so there is almost no sense what timeframe you use. It gathers data from 15m, 1H and 4H timeframes and combines then on one chart.
The markers are drawn one over another, for example, if you set 1H timeframe on you chart green markers from 15m can be placed under the same 1h-candle where the blue one lights on 1H. The algo is made to lower the risks of traders, so if you use 15m timeframe you will see green marker but if you use 1H you will see the blue marker on 1H (and don't see the green one because the blue is over the green). This is somewhat a "hardcoded scalp screener". You can "zoom in" and "zoom out" the row of markers by toggling between 15m and 1H and 4H but conditions for the signals are the same.
Black and blue markers light when the price is too far from the SMMA . "Too far" means that deviation is greater than the average deviation (for 14 bars) multiplied by 1.3.
Red and green markers light when besides the condition mentioned above, the price change is accelarating. Acceleration is considered in terms of the speed of running from SMMA . if SMMA was crossed by the priceline less than 8 bars ago and now it went so far that the condition of 30% is triggered then red and green markers light.
Bender Money Flow Index MTF with Buy & Sell SignalsMFI = Money Flow Index
MTF = Multi Timeframe
The Money Flow Index (MFI) is a technical indicator that can generate sentiment insight or pressure using both price and volume data.
Configurable Indicator Signals
Signal on MFI line directional changes
Invalidate Signal if not in a overbought or oversold pressure zone
Invalidate signal if MFI line is not in confluence with the moving average
Invalidate signal after a defined number of bars in the opposing direction
Please Note:
This indicator is also embedded in the Bender Bot strategy script. Signals and confluence identified by this indicator can be used to autonomously mange strategies. The below features will not have any effect on this indicator's functionality when used as a stand alone indicator.
Bender Bot Strategy Confluence
Require any signal and MFI directional confluence before opening any trade
Require any signal and MFI and Moving average to be in confluence before opening any trade
Require any signal to be in directional confluence with the full MFI signal
Please feel free to contact me with any questions or concerns.