PVSRA Volume Price - Some people say "Price Action is King". I say, we cannot know how the MMs (Market Makers) will move price next, period. But price tends to consolidate above key SR when MMs are filling short orders for SM (Smart Money) and long orders for DM (Dumb Money), and price tends to consolidate below key SR when MMs are filling long orders for SM and short orders for DM. The MMs are also "SM", and they tend to do the other SMs "one better"! This means that after the MMs fill the SM/DM orders, they might move price a bit further in an attempt to stop out some of those SM executed orders and sucker in more DM; both giving liquidity for the MMs to add to their own SM side position. Yes, the MMs are bastards. But the point is that could leave price not "nicely" above or below a SR anymore, yet more consolidation can occur.
Volume - Increases in activity denote increase in interest. But, is it long or short interest? Where is price in the bigger picture when this is happening? Is it at relative highs, or lows in the overall price action? And if a high volume bar is for a candle which you can examine by going to lower TF charts, you might see where in the spread of that candle the most volume occurred, high or low! Using volume is about taking note of relative increases in volume and what price is doing at the same time. Are the better volumes favoring the lower or the higher prices, as the MMs waffle price up and down? And do the volumes get particularly notable when the MMs take price above or below key SR?
S&R - Read all about S&R at "Baby Pips.com". What I want you to realize here is that the whole, half and quarter numbered price levels (hereinafter referred to as "Levels") are the most important SR of all in this market! Not because price stops, pauses, proceeds or reverses there, but because it is above or below these levels that important consolidation (MMs filling SM orders) takes place. Once SM long orders are filled, they become interested in placing orders to close them at higher prices, and hence the MMs will be moving price higher, eventually. Once SM short orders are filled, they become interested in placing orders to close them at lower prices, and hence the MMs will be moving price lower, eventually.
PVSRA - If we can spot consolidations above/below key SR, examine the overall price action on various TF charts, and take note of where the notable increases in volume have most recently occurred (did volume favor relative highs or lows), then we can build a consensus about what kind of orders the MMs have most recently been filling; buying to open longs or close shorts, or selling to open shorts or close longs. And we can get a better idea if things will next become bullish or bearish. And once PA confirms our bullish or bearish PVSRA results, by recognizing the importance of Levels we can look beyond current PA in the direction it is going and look to historic PA S&R (consolidation around key Levels) to come up with candidates for where the price might be headed. And bull or bear swings typically run in terms of 100+, 150+, 200+ pips, .....etc. And now you know why.
Okay. Now, if this is your first introduction to PVSRA, and having just read the above, you are likely scratching your head and still confused. That is normal. I will tell you a secret about the market and why you have a right to be confused. The secret is this. The market cannot be defined by mathematics nor by immutable logic. This is why the most advanced mathematicians over a century have never even come close to cracking the market. It cannot be done. Something else, other than math and immutable logic is the fundamental operand in the market. Have you ever watched a child attempt a jigsaw puzzle for the first time? And watched as that child grew and attempted more of them, and more complex ones? What is at work in the market I will elaborate on later, but for now trust me in this. We need to apply ourselves to learning how to do PVSRA just as a child attacks learning how to do jigsaw puzzles. And we must continue doing PVSRA, because in time our mind will "learn" when we have just picked up an important piece of the puzzle, and that we know where it goes! Developing the skill of PVSRA is an art form. We must not allow ourselves to feel badly if we miss clues. PVSRA is an art form that takes time to perfect. Over time our skill will grow and our "read" of the unpredictable market will improve. We must take to ongoing learning and application of PVSRA.
Introduction to How the Market Really Works
Does anybody remember the "lil' Abner" cartoons in the Sunday papers? Let me draw for you a mental picture of how the market really works.....
Imagine Daddy Yokum ferociously racing a buckboard wagon up and down the steep inclines and declines in the rough, rocky mountain road that has sharp turns and a sheer cliff on one side. The wagon wheels are spewing rocks off the side of the cliff! Even Daddy Yokum's shotgun is going off due to the jolting of the buckboard! Daddy Yokum has a demented look on his face, but he is smiling! The horse has a wild look in it's eyes and is frothing at the mouth. There are two passengers being tossed around in the back of the buckboard, terror stricken! Now, let's pan back from this cartoon picture and place the labels needed. On the side of the wagon is the sign "Market Pricing". The demented, smiling Daddy Yokum, is the Market Maker. The passengers being tossed around are the buyers and sellers.
.....Got it? Market prices are not determined by the buyers and sellers. They are determined by the Robber Bank Market Makers (MMs).
MMs are Market Manipulators of Price, and Thieves!
The "market" is the sole creation of the Robber Banks that "make the market". While it serves the world of commerce, they run it to make profits. And they opened the market up to foster prolific currency trading by others for the sole purpose of making more profits. They move prices up and down to "create liquidity" to fill the orders of SM (Smart Money) and DM (Dumb Money), for the commissions they make by filling the orders. When they have some orders above the current price and some below the current price, who do you think determines the sequence of direction and distance the price is going to move so these orders can be filled? And always - since they know how they are going to move price next - they take positions themselves to make additional profits.
They do this by:
1. Manipulating price to sucker into the market DM that is taking the wrong side position.
2. Manipulating price to sucker into the market SM that is taking the right side position, but too soon, and later manipulating price to hit their stops.
They have total control of pricing, and by these actions they effectively "steal" from others the money to fill their own "right side" positions before moving the price to the next area they have decided on for filling orders, and for taking profit on their positions built beforehand. Don't get me wrong. I do not object to the market volatility these thieving Robber Banks create. We need it. But we also need to understand what these people are like, the cloth they are cut from. They are crooks, and we have to be extra careful about trading in the market they operate. On some special days you can see them in their true colors. We should witness it. Take note of it. Speak of it. And remember it!
Wyszukaj w skryptach "price action"
MoonFlag AI Cloud (JWTainsh)This is a cloud that is based on a novel overshoot algo and also provides a 'central line' which represents to some degree an average moving in the direction of the trade (as indicated by the cloud).
Most indicators are based on moving averages which lag the price action.
This indicator uses a predictive overshoot algo that is different to a moving average. The algo overshoots the price action by following momentum. The cloud is made from multiple overshoot algo's all at different lengths (number of lookback bars).
In comparison to a moving average, the moving average will never give a reading greater than the price action in an up-trend. A moving average will lag the price action and eventually the price will come down and intersect with the moving average. In this overshoot algo (that forms the cloud), the parts of the algo with the shorter length will shoot way above the price action as the uptrend weakens.
The cloud is made from multiple overshoots algo's all with a different length. So when an uptrend weakens, the overshoot algo's with the longer length will still be below the price action and the price action will dip below the base of cloud - thus indicating an end to the uptrend - and possibly the start of a downwards momentum if the price action persists into the red.
So, when the price action dips below the cloud, it forms a line whereby below the line the cloud is colored red - indicating a possible downturn in the trend as the up momentum has receded. There is still a green part to the cloud above the lower line, as the up momentum could re-establish if the price action stays about the red.
Similarly, if in a down trend (price action in a red part of the cloud) and the price action breaks above the top of the cloud, the cloud will go green - until the price action falls below the cloud again.
There is also a half-way average line (although this is not entirely correct - it does describe what the mid-line does with some understanding). This mid-line only moves up when in an upward momentum. Similarly, the mid-line only moves down in a down momentum. Its interesting to see when the price action crosses the mid-line as this can indicate a change in momentum early on.
For example, if the price action remains above the mid-line, this can show a pump is still in progress.
If the price action just bounces above the cloud, then below, then above - it means the could length is not great enough - and the price action is probably governed more by RSI on a relatively fast timeframe.
When the cloud gets thin - this generally means the price action is in line with a steady momentum and has been for a while. This can be thought of as all the moving averages converging and this sometimes can indicate a biggish move is about to happen (and thus throw the cloud into a wider state - and get all the traders excited).
I started coding this cloud when trying to intersect with the start of shorts or to locate the end of a long trend cycle. Shorts generally happen on a faster timeframe than longs so I generally use separate cloud timeframes (or lengths) for longs or shorts.
I also find that market conditions change considerably every few weeks or months - so the cloud is best reliable on recent data.
Also use in conjunction with other indicators such as OCC, 1D ATR Trend or VRSI/MACD Confluence - as this is a predictive indicator based on price action overshoot from momentum information. This is not - a moving average - this cloud does not lag price action - it kind of predicts where the price action will go if the present momentum remains - and then detects when a change in this momentum occurs due to price action intersection.
Please get in touch for more information or, if you would like to see the webhooks bot strategy I linked to the code.
Sincerely,
Moonflag (Josef Tainsh PhD)
LT Elliott Wave AddendumLT Elliott Wave Addendum Indicator:
According to Elliott Wave Theory, price moves in 5 waves in the direction of the major trend and moves in 3 waves (ABC) when it moves against the major trend. The key purpose and value of elliott wave theory (EWT) is to provide context for chart analysis. According to the book The Elliott Wave Principle by Frost & Prechter: “This context provides both a basis for disciplined thinking and a perspective on the market's general position and outlook.” The benefit of having context is that one can identify and anticipate changes in direction.
In Elliott Wave theory, waves 1, 3, 5 and C are impulse waves (a five wave pattern that makes progress) whereas waves 2, 4, A and B are corrective waves (a three wave pattern – or combination of three waves - that moves against the direction of the larger trend). Although wave A can also be formed of 5 waves, it is commonly formed of 3 waves. Here is a brief summary of the waves:
Wave 3 tends to be the strongest and most dynamic wave – it is usually (but not always) the longest wave but it is never the shortest. Wave 4 is a corrective wave that is typically composed of 3 smaller waves (ABC) and is notorious for being messy and unpredictable in nature. Wave 5 is the final wave before a significant correction or reversal in trend and is often accompanied by divergences (e.g. negative divergences in an uptrend) and exhaustions in momentum. It is also possible for a wave 5 to form after a “blow-off top” pattern. Wave 2 is composed of 3 smaller waves (ABC) and is a retracement of wave 1 – the retracement can be shallow to moderate (23.6% to 38.2%) or deep (50%, 61.8% to 78.6%). Wave 1 is the first wave of a trend and is composed of 5 smaller waves – it usually occurs after divergences (in the prior move) and extremes in both sentiment and momentum. For example, the wave 1 of an uptrend can often begin after capitulation in the price (after a major decline), extremely pessimistic sentiment, extremely oversold momentum readings, positive divergences and sometimes accompanied by a volume breadth thrust. Waves A and C are often equal in measure. Wave A can be formed of either 5 waves or 3 waves - but more commonly it is composed of 3 waves. Wave B is always corrective and composed of 3 smaller waves. Wave C is a five wave impulse pattern.
The Elliott Wave indicator (and elliott wave addendum) seeks to simplify elliott wave theory (EWT) in that its main purpose is to identify the potential major trends and corrections. The indicator takes a more simple and direct approach to EWT in that it focuses more on trying to identify whether price is trending or not and if so, the probable wave pattern. It does this by mainly using the structure of the price chart and sometimes other factors such as divergences, momentum and the relationship of price to its key averages. The indicator then takes its best guess at whether price is in a trending environment, and if so, which wave it is probably forming. The wave count can therefore depend on the chart timeframe chosen. For example, what may appear as a major downtrend on a lower timeframe chart may potentially be a corrective drop on a much higher timeframe, due to the different price structure of the charts. To keep things simple and to avoid complexity, the indicator does not display the minor sub-waves within the major waves (probably with the exception of wave 4).
The main feature and benefit of the Elliott Wave indicator is that it can remove subjectivity in chart and wave analysis. It also for flexibility in that it allows the chartist to alter the wave count and the position of the wave counts if they choose to do so (within the parameters and rules set by the indicator). As with all of technical analysis, the wave counts shown by the elliott wave indicator are NOT certain – they are only a possibility or a probability. So the risk always exists of an alternative wave count. It is for the chartist to determine the probable wave counts and limit or control the risks based on their knowledge of technical analysis and risk management.
The LT Elliott Wave addendum indicator is meant to be used in combination with the main LT Elliott Waves indicator, so in this sense they supplement each other.
The settings of the LT Elliott Wave Addendum indicator (“EW addendum”) are fairly self-explanatory but here is a brief summary:
The Elliott Wave indicator has options in the settings to change the positions of certain wave counts based on the structure of the chart. This is achieved by choosing the different major and minor structures based on the zigzag patterns of the chart. So the user can alter the positions of certain wave counts (if needed) by modifying the zigzag structure on the chart.
The lookback period in the settings can be increased (or decreased) to include more data on the chart, when needed. In the majority of situations the lookback period can remain at the default setting of 200 bars – but the user can decide to take into account more (or less) data by changing the lookback period to 300 (or 100 if less data is required).
In the elliott wave addendum indicator, the most recent probable ABC waves are shown in pink and the probable 123 wave counts are shown in dark blue. The position of the wave counts can be changed and modified to a reasonable degree in the settings.
In certain circumstances where there are volatile conditions and charts, it is possible that the elliott wave addendum indicator may show an “unusual” wave count. For example, it is possible that the positions of certain wave counts (such as waves 1, 2, 3 and 5) may be in the “wrong” order. This happens rarely so it is not an issue that happens very often. However, if this issue occurs, the chartist can rectify the matter by first increasing the lookback period (e.g. to 300) to see if this resolves the issue. If it does not, then Alt9 “temporary wave shift” in the elliott wave addendum (EW addendum) can be enabled as this can usually resolve the issue and show the wave counts in a “proper” manner. Changing to a slightly lower timeframe can also usually resolve this issue. If Alt9 is enabled, care should be taken to unselect this option at a later date (as it is only a temporary solution).
The aggressive wave count setting (called “Aggressive 123”) is mainly for the addendum of the elliott wave indicator (i.e. EW addendum). Enabling this option can often change the wave count from an ABC to a 123 provided this is permitted by the parameters of the indicator. For example, if the elliott wave addendum indicator is showing an ABC wave count, it may be possible to change this wave count to a 123 wave count by enabling the “Aggressive 123” setting in the indicator. The other option is to change the wave count at the very top of the settings (where it says “Change recent ABC to 123”). This option as well as others are included for further flexibility in the wave count.
The user can also choose to enable the zigzags of the waves to be shown on the chart. This can display the minor and major wave structures and zigzags, if enabled. By default, it is set to off.
It may also be a good idea to reset the settings of the indicators whenever a new chart or timeframe is chosen. This then refreshes the settings back to its default.
It is important to appreciate that the elliott wave indicator generally requires between 1,500 to 2000 bars of data on the chart in order to display the wave counts adequately and appropriately. So if a chart or timeframe has less than the minimum number of historical data or bars on the chart, the wave counts may not display properly or not appear at all. Certain chart symbols and timeframes (such as the monthly timeframe) may have very limited amount of data on them. Therefore, the elliott wave indicator will likely not appear on these charts or may not display properly. In these situations, a different chart symbol or a lower timeframe with more data on it can be chosen. For example, instead of a monthly timeframe, a weekly or daily timeframe can be chosen.
The Elliott Wave Addendum indicator (“EW Addendum”) displays the most recent and “immediate” probable wave counts – usually after a potential wave 3 or a wave 5 of the main elliott wave indicator (i.e. LT Elliott Waves). So in this sense the EW addendum is more short term in that it focuses on the most recent price action (e.g. after a wave 5) in what may be either a possible corrective pattern (ABC) or the development of a potential new trend (123).
For example, let’s say the price has been trending up and we are seeing a probable wave 5 in the main elliott wave indicator (LT Elliott Waves), and then the price starts to reverse lower. The decline in price could either be an ABC correction or it may possibly be the beginning of a reversal or downtrend. The elliott wave addendum indicator (EW addendum) starts by showing the probable waves A, B and C of a correction (shown in pink). The EW addendum waits for the structure of the chart to develop before making its best guess at what may be an ABC pattern. However, if the price action begins to break support levels and the probability of a downward trend increases, then the wave count may change from ABC to 123 (shown in dark blue). The same principle can apply in the opposite direction: if the price has been trending down in a likely wave 5 and then suddenly price begins to reverse and move higher, at first we may see a potential ABC corrective pattern on the EW addendum indicator. However, if price continues to move up by a certain degree and break resistance levels the wave count may change on the EW addendum to a probable 123 uptrend.
The reason for why the possible ABC wave count may change to a possible 123 trending wave count is because the elliott wave indicator is programmed to look for and identify potential trending patterns (as well as corrective patterns). In this sense, we are looking to simplify elliott wave theory by taking a more flexible and common-sense approach to the wave patterns. So if the price action has broken key levels of support or resistance, momentum is increasing and price is moving deliberately in a specific direction, it becomes more likely that price is in a trending environment (rather than just a correction).
If the main elliott wave indicator (i.e. LT Elliott Waves) is showing a probable wave 3, and price begins to pullback or move in the opposite direction to the main trend of the wave 3, the EW addendum may be used to display the probable ABC wave counts. These ABC wave counts could be for the likely wave 4 correction. However, if price starts to break key support levels (e.g. after an uptrend) and then reverse lower in the opposite direction (to the mentioned wave 3), then it is likely that the main indicator will change the wave count from a wave 3 to a wave 5. This can indicate that the main uptrend may have probably ended and that we are in either a large correction or a trend reversal, as shown by the EW addendum. This example can also apply in reverse for downtrends (e.g. if price starts to break resistance levels and move higher after a downtrend).
We have allowed for further flexibility in the main elliott wave indicator (LT Elliott Waves) – including the EW addendum – so that the user can change the wave counts from a 123 to ABC (or vice versa) if they choose to do so. For example, if the EW addendum is showing a probable 123 wave count (in dark blue), the chartist can choose to change the wave counts to an ABC wave count from within the settings. Please allow up to minute or more for the change to take place as it can sometimes take some time for the modification to take effect.
The position of the wave counts (ABC or 123) can be changed as well to a reasonable degree. In the settings of the EW addendum the positions of the wave counts can be changed by applying Alt3 or by modifying the minor or major structure of the waves (or zigzags). There is also the option to modify or move the position of wave 2 (or Wave B) in Alt2 of the indicator. Please allow up to a minute or more for the change to take place as it can sometimes take some time for the modification to take effect.
The EW addendum indicator also has the option to show a probable projection for wave 4 by enabling this in the settings. This does not mean that the price has to move in the direction of that “wave 4” projection, but it is merely a guide on the basis of probabilities. The chartist can apply other methods of chart analysis – such as trendline breaks, oscillators, regression channels, breaks of support/resistance – to determine when a probable wave 4 has likely completed. However, confirmation that the probable wave 4 has completed will not come until price has taken out the highs prior to the decline (i.e. the highs before the pullback in the probable “wave 4” correction). The same applies in reverse for a downtrend: confirmation that the probable wave 4 has completed will not come until price has taken out the lows prior to the rally (in a probable wave 4 correction).
Here is a brief summary of the “aggressive 123” option in the EW addendum settings: the aggressive wave count setting is mainly for the EW addendum. Enabling this option can often change the wave count from an ABC to a 123 provided this is permitted by the parameters of the indicator. For example, if the elliott wave addendum indicator is showing an ABC wave count, it may be possible to change this wave count to a 123 wave count by enabling the “Aggressive 123” setting in the indicator. The other option is to change the wave count at the very top of the settings (where it says “Change recent ABC to 123”). This option as well as others are included for further flexibility in the wave count.
It should be remembered that the appearance of the most recent wave counts (or wave labels) shown by the indicator, by themselves do NOT mean that the specific waves in question have definitely completed or finished. Nothing in chart analysis is certain or definite. The wave label itself is simply an indication that the most recent wave is probably still in progress, not necessarily that it has completed. Chartists can apply other technical analysis tools and methods (e.g. trend lines, support/resistance breaks, moving averages and regression channels etc.) to increase the probability of when a specific wave has probably completed. The same also applies to past or “completed” wave counts (or past wave labels): they do NOT mean that the specific waves have definitely completed or finished – it is merely a possibility or probability. So the risk always exists that the wave counts may potentially be wrong, and that an alternative wave count interpretation may exist.
Price action, markets and their charts are non-linear and chaotic, which means that they are subject to uncertainty, variable change and being unpredictable in nature. So we must maintain a probabilistic mindset and attitude to technical analysis. Nothing is certain. Therefore, no wave count is certain or “set in stone”. Wave counts, just like the actions and emotions of human beings, are subject to change. Elliott Wave theory, just like all of technical analysis is about what is possible, what is probable and what the risks are of a particular outcome. The advantage of elliott wave theory, as explained previously, is about gaining an understanding of context and the likely big picture. The indicator is provided in good faith but we do not vouch for its accuracy.
As mentioned previously, chartists should be aware of the probabilistic and uncertain nature of price action and the markets, and therefore prepare to limit and control any potential risks.
The indicator can be used on the charts of the majority of markets (e.g. stocks, indices, ETFs, currencies, cryptocurrencies, precious metals, commodities etc.) and any timeframe. Nothing in this indicator, its signals or labels should be construed as a recommendation to buy or sell any market (e.g. stocks, securities, indices, ETFs, currencies, cryptocurrencies, metals, commodities etc.). The indicator is provided solely for educational purposes, to gain a better understanding of technical analysis and elliott wave theory. It should be noted that the degree of noise and randomness increases significantly on lower timeframes. So the lower the timeframe that is chosen (e.g. 15-min or lower) the greater the degree of noise and randomness and therefore the higher the frequency of false signals or whipsaws. The indicator can be applied to candlestick charts and bar charts.
If you would like access, please send me a PM on Tradingview.
TradeChartist Trend Splitter ™TradeChartist Trend Splitter is a visual Trend spotting script based on two simple models fused together - Dynamic Volatility Bands and Dynamic Mean Bands. The fusion of these two models based on user defined parameters of length, Volatility Risk and Mean Bands type, along with optional Trend Splitter color bars and Trend background split will make it visually engaging for any trader to understand the price action.
===================================================================================================================
Trend Splitter User Manual
========================
Trend Splitter settings has option to enable and disable the Volatility Bands and also the Mean Bands.
Under each heading, user can adjust the parameters to suit the trading style, based on time-frame traded.
Volatility Bands track the price action based on volatility trend lookback (Default - 55, MIn - 5, Max - 337) and also uses a Detector plot based on user defined risk (Default is 2.618, Min - 0.618, Max - 5) to continuously track the price action.
Mean Bands track the Mean values of the price action based on TradeChartist's original Mean Reversion Model based on one of 4 time tested Fib Lengths (Default - 55, Options - 55, 89, 144, 233, 337) and detects the price testing of Mean using Orange touchpoints.
Using Price Action in relation to both Volatility Bands and the Mean Bands, the script creates Mean Bands filtered Trend splits that plot Bull or Bear Trend background.
The Mean Bands Filter can be disabled for Trend Splits by just disabling Mean Bands from the settings. Also the option to display Trend Split background can also be enabled or disabled from the settings.
The settings also includes a useful feature to enable or disable coloured price bars using one of 3 colour themes.
Users can create alerts for Price testing mean, Bull and Bear trends using Long or Short from Trend Splitter's Alert Condition.
The indicator doesn't repaint even though a potential repaint warning appears when creating alerts. This can be confirmed by doing bar replay with vertical lines at various lines and trend change zones to get confidence using the indicator. The vertical lines will stay in the same place on both current time and when running a bar replay.
===================================================================================================================
Example Charts
1. 5m chart of BINANCE:AXSUSDTPERP using Trend Splitter (144, 2.618, Normal, 55) and TradeChartist Momentum Drift Oscillator (144 with Drift Visualizer). The Trend Splitter and MDO combo work brilliantly on Lower Time Frames and even on 15s/30s charts with MDO length of 144.
Best Practice - Always wait for a very long trend (over 337 bars on both MDO and Trend Splitter before taking a reverse trend trade at either Exhaustion or Super OB/OS zones of MDO) when using very low time-frames.
2. 5m chart of NYSE:PLTR using Trend Splitter (144, 3.618, Normal, 55) connected to TradeChartist Fib Master to plot Automatic Fibs. Just use Trend Identifier of Trend Splitter from Fib Master signal dropdown from settings, having both scripts active on chart.
3. Daily chart of OANDA:XAUUSD using Trend Splitter (using only Mean Bands - Weighted/144) to spot areas of support and resistance at Mean Bands.
Best Practice - Mean Bands can also act as confirmation indicator when used with other Trading View Indicators like RSI, Stohastic, Bollinger Bands etc.
4. Daily chart of COINBASE:ETHUSD using Trend Splitter (55, 0.618, Weighted, 55) connected to TradeChartist Plug and Trade to show Trend Splitter based Entries with Targets and Past Performance to assess the settings parameters in Trend Splitter. Just use Trend Identifier of Trend Splitter from Plug and Trade signal dropdown from settings, having both scripts active on chart.
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
TRADE WAR ZONESAbout the Indicator:
This indicator is includes moving average ribbons, signal line, unique price action and support and resistance. I will explain a bit about everything.
Moving average ribbons:
We take 2 inputs from user. One is the length of minimum moving average line and other is length of maximum moving average line. We plot total 8 ema in between these 2 lengths, with equal distribution. User can control the min and max length but he cannot change its color or shade.
Signal Line:
Here different combination of multiple ema’s are used. And its outcome is this signal line. This signal line color tells you the strength of the trend. Darker the color, higher the trend. When the trend changes, color also changes slowly from green to red or vice versa. This signal line is used to identify the trend and its momentum. We take “EMA length” as a input from user. This input is used to calculate signal lines.
Price action:
A Unique price action method is used here , to identify the price momentum. If it indicates the price momentum to be upside then whole candle color will become blue, if it indicates down then candle color becomes red and if it indicates sideways then color becomes black. We don’t take anything as input here. This price action works in any timeframe.
Support and resistance:
We take “Number of candles on left” and “number of candles on right” as input. We take highs and lows of n candle to left and n candle to right. And plot dotter lines. All highs are blue colored dotted line and lows are red colored dotted line. When high or low is broken, a new dotted line starts forming. This helps you to find higher highs and lower lows. And these lines work as support and resistance.
Apart from this you can find green and red colored arrows:
-Whenever signal line crosses above Slow ema , a dark green color arrow below candle is formed
--Whenever signal line crosses below Slow ema , a dark red color arrow above candle is formed
--When ema of (least length MA) crosses above ema of (max length MA) , a light green color arrow below candle is formed
--When ema of (least length MA) crosses below ema of (max length MA) , a light red color above below candle is formed
DM-130 EDGE SignalThe DM-130 EDGE is a price action trading signal indicator. There is no need for downloading nor installing. It is an effective signal indicator that has proven to be successful in trading. We will help you set it up within minutes so that you can start trading immediately. It works in trading most markets!
How To Use The DM-130 EDGE:
For a BUY, the signal will display a blue arrow below the candle stick facing upwards when there is a buying opportunity, a pullback or a bullish move in the market.
For a SELL, the signal will display a red arrow above the candle stick facing downwards when there is a selling opportunity, a pullback or a bearish move in the market.
Tradingview Account Level: All Users
The indicator appears once or twice during the UK trading sessions and works best in at confluence points:
1. A Trend Line
2. A Support or Resistant Level
3. Supply or Demand Zone
4. Off Pivots
5. Off a Fibonacci Level
6. In Trend Direction
Best Pair: GBP/USD
Best Trading Times: UK Sessions
How To Set Alerts:
Click on the Alerts button on the charts
Under 'Condition', change from the currency pair displayed to 'DM-130 EDGE Signal'
Then under 'Option' click on 'Once Per Bar'.
Make sure that the you tick the boxes that appeal to you under the 'Alert Actions' part (usually 'Notify on App' and 'Show Popup') and then click the 'Create' button at the bottom.
If you tick the 'Notify on App' box under 'Alerts Actions' the alerts would appear on your smart device if you have the Tradingview App set on the device.
Amongst many great benefits you will 1. Have the confidence to enter trades 2. Have the ability to enter trades after a pullback (something only experienced traders can spot that) and even more importantly 3. You can trade profitably with consistency even if you get stopped out a few times because the wins are usually bigger!
This strategy signal will analyse price action automatically when there is a high probability of a profitable trade to enter.
It does work on most markets. We recommend using the 30m charts as it works best with this indicator. This signal is ideal for intraday/day trading.
This signal allows you to enter trades with confidence.
Use the link below to obtain access to this indicator or you can send us a private message on Tradingview.
The SetUpps Strategy EDGE SignalThe SetUpps Trading Strategy HM-415 EDGE, DM-130 EDGE and MD-11 are price action trading signal indicators. There is no need for downloading nor installing. It is an effective signal indicator that has proven to be successful in trading. We will help you set it up within minutes so that you can start trading immediately. It works in trading most markets!
How To Use SetUpps Strategy Signals:
For a BUY, the SetUpps Signal will display a blue arrow below the candle stick facing upwards when there is a buying opportunity, a pullback or a bullish move in the market.
For a SELL, the SetUpps Signal will display a red arrow above the candle stick facing downwards when the is a selling opportunity, a pullback or a bearish move in the market.
The indicator works best in at confluence points:
1. A Trend Line
2. A Support or Resistant Level
3. Supply or Demand Zone
4. Off Pivots
5. Off a Fibonacci Level
How To Set Alerts:
Click on the Alerts button on the charts
Under 'Condition', change from the currency pair displayed to 'The SetUpps Strategy EDGE Signal'
Then under 'Option' click on 'Once Per Bar'.
Make sure that the you tick the boxes that appeal to you under the 'Alert Actions' part (usually 'Notify on App' and 'Show Popup') and then click the 'Create' button at the bottom.
If you tick the 'Notify on App' box under 'Alerts Actions' the alerts would appear on your smart device if you have the Tradingview App set on the device.
Amongst many great benefits you will 1. Have the confidence to enter trades 2. Have the ability to enter trades after a pullback (something only experienced traders can spot that) and even more importantly 3. You can trade profitably with consistency even if you get stopped out a few times because the wins are usually bigger!
The SetUpps Trading Strategy signals will analyse price action automatically when there is a high probability of a profitable trade to enter.
It does work on most markets on all time charts but we will give you our recommended time frames that works best with this indicator.
The SetUpps Strategy signal is ideal for scalping, intraday and for swing trading.
This signal allows you to enter trades with confidence.
Disclaimer:
Previous performances are not an indication of any future performances. We are not investment adviser nor do we advice you on trading. All our opinions, information, analysis, prices and/or market commentary are not advice about investments. Any SetUpps™ Trading staff or partners or representatives can not warrant the completeness, accuracy or timeliness of any information we have supplied and we shall not be liable for any losses or damages, consequential or otherwise, incurred by the use of our products which may be the result of relying on the SetUpps™ Trading strategy. © 2020 SetUpps™ Trading.
The SetUpps™ Trading indicator is built for use on Tradingview. SetUpps™ Trading is not part of Tradingview.
Price & Volume Action_KMThis Indicator is a volume indicator but with price action ...
Dark Blue = Price and Volume both increasing
Light Blue = Price is increasing and Volume is decreasing
Dark Pink = Price and Volume both decreasing
Light Pink = Price is decreasing and Volume is increasing
[KICK] NutshellThe Nutshell indicator gives you a true read of the market at quick glance – “in a nutshell”. The indicator contains components for volatility, momentum, trend strength, volume flow, price divergence detection, and impulsive move detection. This allows you to discern improved entry and exit points and accommodates many trading styles, systems, and strategies. It will work with most instruments and timeframes (though a few of the components do require volume, so some things like indexes won't work). The specific components of the indicator are:
Price action volatility indicator (the background zig-zags that are purple, orange, red, and pink). We are using a percentile ranking of ATR which gives a broader picture of the price volatility intra-bar than something like historical volatility percentile because it encompasses the range of price action and not simply the close of each bar. It is typically best to enter trades in the purple zone and “ride them out” through the higher volatility intervals.
Low volatility warning indicator (the bright green background highlights). When the ATR-PR is critically low, that means price volatility can only go on way (expand). These warnings are key to volatility strategies where knowing large moves are imminent is critical. While these warnings do not indicate the direction of the imminent move, there are plenty of other directional indicators present.
Gravity Tunnel Squeeze indicator (the yellow dots down the center-line, culminating in a yellow background highlight upon release). This is a slightly different take on the Momentum Squeeze indicator. In the traditional implementation a squeeze occurs when Keltner Channels move inside Bollinger Bands. In our implementation we use the Center of Gravity as a basis and measure when the Z-Score Deviation moves inside an ATR multiple. At the point of release you typically see an expansion of volatility, though often the signal presents earlier than an ATR-PR expansion. The longer the price action was under the squeeze the longer/farther the released price action is likely to go.
Swing Momentum indicator (white line with various red/green dots on it). The swing momentum indicator uses stochastic oscillators in the style of the ever-popular “Wave Trend” indicator to give a responsive read on the price action momentum. Green and Red dots indicate a change in direction of the momentum and when these occur in the extreme the center of the dot will be a black cross. Usually these extreme direction changes denote larger trend changes.
Momentum velocity indicator (blue area fill). This indicator can be used with the swing momentum line to determine how close/far the next direction change is away (every time the blue line crosses the zero-line a direction change occurs). The steeper the slope of this line also gives an indication of how fast the swing momentum is accelerating or decelerating.
Volatility Adjusted Volume Waves (the red/green dots across the top of the indicator) denote the current direction of price action based on cumulative volume weighted based on the ATR of the associated price action. While they are slower to respond than some of the other directional momentum components of this indicator, they can be treated as a pretty strong (conservative) confirmation of trend direction.
Strength of Trend (the blue/orange dots across the bottom of the indicator) is indicated with a Leaf-West variant of the ADX. Basically, if you see orange the price action is considered choppy and if it’s blue it’s trending. Depending on your time frame you can interpret these a bit differently. On smaller time frames you might consider the orange areas no-trade zones and wait until it turns blue.
Topping or Bottoming moves (Red triangles at the top or Green triangles at the bottom). We use a series of methods to detect likely reversal points (including checks for 10+ oscillator/price divergences). Since divergence is only confirmed after new local price highs/lows are established these reversal points won’t always be accurate, but we want to provide the earliest warning possible. Keep this in mind when taking action on them and wait a few bars for confirmation to be more conservative.
Pump and Dump warnings (red/green spirals that appear in the center of the indicator). Using 3rd generation moving average stochastics we get a very sensitive read on when they form patterns that typically precede large price action movements. These patterns work better for some markets than others so you will have to test with your instrument and timeframe to see how accurate they are for you. If you get one of these in conjunction with a red/green triangle and/or just after a low volatility or GT-Sqz release highlight, then buckle up.
The indicator also includes a number of custom alert conditions (all related to the above indicator components) that can be used to create alerts.
Use the link below to watch a tutorial video, request a trial, or purchase for access.
Main Indicators @ MadnessCryptoInspired by veteran contributors of tradingview
Indicators list:
1. Main indicators: Moving average collection, Ichimoku, Bollinger Bands, fibonanci, simplize candlestick price action...
2. Price Action indicators: Candlesticks of (almost) any kinds. Harmonic Patterns: ABCD, Alt Bat, Butterfly, Crab, Wolf Wave, Head and Shoulders, Triangle...
3. Advanced indicators: top/bot finder, breakout detector, unpopular indicators
4. Signal & backtest tools: focus on two main factors: percent profitable & profit factor
Cheers,
Madness Crypto
-----------------------------------------------------------
Incase if those's scripts are useful, you can buy me a coffee
ETH & ERC20 tokens: 0xA2F57Cc46A5268F16A0224a81EDe7154218Ce890
Bitcoin: 1PTSbWK6snVSULBXhfx5TD9pJkkYCDe4PC
Binance & BEP2 tokens: bnb1tlxgpnguzq0w3w6myhd0t3d2j9wqd2pzpkudpc
AutoUFOs (patented)█ OVERVIEW:
AutoUFOs is a cutting-edge trading tool designed to enhance your trading precision and to save you trading time. With its unique patented technology, AutoUFOs analyzes various financial markets, identifying potential Un-Filled Orders (UFOs) and plotting them on your charts. By leveraging these UFOs, you can define precise entry, stop, and target points, giving you a strategic edge in your trading decisions.
█ CONCEPTS:
AutoUFOs identifies price regions with pending buy and sell orders
UFOs on the charts represent these regions and indicate potential upcoming turning points
UFOs help define more precise entry, stop, and target points
Enhances trading precision and improves performance
Useful for all styles: long-term, intermediate-term, short-term
Powerful for commercial hedging strategies
Time interval flexibility for different trading styles
Benefits options traders in identifying powerful strike prices
Empowers users to make informed trading decisions
█ WITH MORE DETAIL:
AutoUFOs goes beyond simple technical analysis and plots UFO Bands on your charts. These UFO Bands visually represent the price regions where potential buy and sell orders are waiting to be executed. The intensity of the color within the bands provides a valuable indication of the potential strength of the unfulfilled orders in those regions.
In addition to UFO Bands, AutoUFOs introduces round Flying Saucers to enhance your understanding of market dynamics. These Flying Saucers highlight the areas on the chart with the highest concentration of UFOs. By pinpointing these areas, you gain deeper insights into where the market is likely to react and experience significant movement.
The combination of UFO Bands and Flying Saucers provides a comprehensive visual representation of potential order flow and market sentiment. Traders can leverage this information to make more informed decisions about entry and exit points, allowing for greater precision in their trading strategies.
Whether you're a technical analyst seeking to identify price levels where the market is likely to bounce or a trend follower looking for confirmation of market momentum, AutoUFOs empowers you with detailed visuals to support your trading decisions.
█ BEHIND THE SCENES:
AutoUFOs employs a unique and patented approach to identifying Un-Filled Orders (UFOs) in the market. Unlike traditional methods that rely on current order book data, AutoUFOs takes into account the intricate nuances of market dynamics, considering the intentions and strategies of larger market players who employ sophisticated algorithms to execute their orders, such as iceberg algos. By doing so, AutoUFOs uncovers potential UFOs that are likely to remain in the market based on the underlying reasons behind their placement.
One key aspect of AutoUFOs' analysis is the recognition of price levels that hold significance due to the presence of UFOs. These levels represent areas where market makers, for instance, strategically hedge their positions in response to large orders that were only partially filled upon injection into the marketplace. AutoUFOs diligently identifies these signs, allowing traders to gain insights into the potential existence of unfulfilled orders that can significantly impact market behavior.
AutoUFOs operates on a distinctive methodology that sets it apart from traditional approaches. Notably, it eschews the use of order book information, relying solely on level 1 data for its analysis. This unconventional approach seeks out subtle indications that hint at the existence of Un-Filled Orders (UFOs). By examining these signs, AutoUFOs uncovers potential price levels where UFOs may be lurking.
Consider, for instance, a scenario where a market experiences a sudden and pronounced price movement. In such cases, AutoUFOs directs its attention to the origin of the movement, recognizing it as a crucial area to investigate. The underlying rationale is simple yet profound: if all orders had been filled at the origin, the price would have stagnated, resulting in a sideways price action. However, the occurrence of a significant movement suggests that the market encountered a scarcity of buyers (for a downward movement) or sellers (for an upward movement) at that specific price level. This scarcity implies the presence of Un-Filled Orders that remained unfilled from the outset. By diligently identifying such scenarios, AutoUFOs initiates additional analytical processes that consider factors such as volume ratios, tick ratios range ratios, etc., providing an evaluation of the expected quantity of potential UFOs.
This example illuminates the essence of the concept previously mentioned—AutoUFOs diligently "looks for signs" that point towards the potential existence of UFOs. By systematically examining various market dynamics, AutoUFOs unravels hidden opportunities that arise from unfulfilled orders, leveraging metrics like volume ratios and tick ratios to gauge the anticipated abundance of UFOs. Through this meticulous and sophisticated analysis, AutoUFOs empowers traders with invaluable insights into the market, enabling them to make more informed decisions based on these hidden signals.
Once this initial analysis is complete and multiple relevant price points are identified based on the UFOs detected, AutoUFOs delves further by employing its advanced technology to retrospectively evaluate the UFO Performance. This evaluation assesses the characteristics and attributes that contributed to the effectiveness of specific UFOs in the past. By unraveling these statistical insights, AutoUFOs identifies the most relevant UFOs that are likely to retain their predictive power into the future.
Through its scientific and technical methodology, AutoUFOs offers traders a powerful way to navigate the complexities of the market for informed decision-making.
█ FEATURES:
Precise Trade Entries: Utilize the power of UFOs to identify optimal moments/prices to enter trades with confidence
Strategic Exits: Plan your exits by leveraging the UFOs' reaction points, maximizing your profits and minimizing risk
Flexible Time Intervals: Apply AutoUFOs to different time intervals, from seconds to monthly bars, range bars, etc. tailoring it to your preferred trading style
Options Trading Advantage: For options traders, AutoUFOs helps identify price levels that are unlikely to be reached, allowing you to profit from selling out-of-the-money options and collecting premiums
█ HOW TO USE:
Follow the author’s instructions to request access to this invite-only script or follow the links in the vendor’s signature field that appears under this description
Add AutoUFOs to your TradingView chart by clicking on Indicators > Invite-only scripts > AutoUFOs
Select the market and timeframe you want to analyze and make sure you have adjusted the calibration settings to your liking
For long trades, you may consider buying within a Green UFO and sell within a Red UFO
For short trades, you may consider selling within a Red UFO and buy within a Green UFO
Options traders can utilize UFOs to identify areas for selling options with limited risk or to select their strike prices
Consider the color intensity of UFOs for potential trade strength
Enhance your current trading methodology by combining UFOs with what you currently do
Plan your trades based on the Un-Filled Orders identified by AutoUFOs and the rules of your trading plan
We strongly recommend you to read the HOW-TO idea on " HOW-TO Add Precision To Entries & Exits With AutoUFOs (patented) " which is linked below as a related idea
█ LIMITATIONS:
AutoUFOs should not be used as the sole basis for trading decisions
The tool is not infallible and should be used in conjunction with other market analysis tools, especially when it comes to defining the current market condition, for which we prefer AutoClimate
Thank you for considering AutoClimate as your ultimate market environment indicator. We hope it enhances your trading experience and leads to greater success in your trades
═════════════════════════════════════════════════════════════════════════
Disclaimer: Trading involves risk and each investor/trader must determine if it is a suitable investment. Past performance is not indicative of future results. You accept responsibility for your actions and agree not to hold the author/developer liable for any outcomes.
No Service Guarantee: The author/developer makes no guarantee that the TradingView indicators and services will be uninterrupted, timely, secure, accurate, or error-free. The market data may be delayed, inaccurate, or contain errors, and the developer is not liable for any issues that arise.
Calibration: The user is responsible for calibrating the indicator as different parameters can produce different results. The author/developer is not responsible for any outcomes resulting from the user's calibration.
Testimonials: Testimonials are subjective and not independently verified.
Kernel Market Dynamics🔍 Kernel Market Dynamics Pro - Advanced Distribution Divergence Detection System
OVERVIEW
Kernel Market Dynamics Pro (KMD Pro) is a revolutionary market regime detection system that employs Maximum Mean Discrepancy (MMD) - a cutting-edge statistical technique from machine learning - to identify when market behavior diverges from its recent historical distribution patterns. The system transforms complex statistical divergence analysis into actionable trading signals through kernel density estimation, regime classification algorithms, and multi-dimensional visualization frameworks that reveal hidden market transitions before traditional indicators can detect them.
WHAT MAKES IT ORIGINAL
While conventional indicators measure price or momentum divergence, KMD Pro analyzes distribution divergence - detecting when the statistical properties of market returns fundamentally shift from their baseline state. This approach, borrowed from high-frequency trading and quantitative finance, uses kernel methods to map market data into high-dimensional feature spaces where regime changes become mathematically detectable. The system is the first TradingView implementation to combine MMD with real-time regime visualization, making institutional-grade statistical arbitrage techniques accessible to retail traders.
HOW IT WORKS (Technical Methodology)
1. KERNEL DENSITY ESTIMATION ENGINE
Maximum Mean Discrepancy (MMD) Calculation:
The core innovation - measures distance between probability distributions:
• Maps return distributions to Reproducing Kernel Hilbert Space (RKHS)
• Computes empirical mean embeddings for reference and test windows
• Calculates supremum of mean differences across all RKHS functions
• MMD = ||μ_P - μ_Q||_H where H is the RKHS induced by kernel k
Three Kernel Functions Available:
RBF (Radial Basis Function) Kernel:
• k(x,y) = exp(-||x-y||²/2σ²)
• Gaussian kernel with smooth, infinite-dimensional feature mapping
• Bandwidth σ controls sensitivity (0.5-10.0 user configurable)
• Optimal for normally distributed returns
• Default choice providing balanced sensitivity
Laplacian Kernel:
• k(x,y) = exp(-|x-y|/σ)
• Exponential decay with heavier tails than RBF
• More sensitive to outliers and sudden moves
• Ideal for volatile, news-driven markets
• Faster regime shift detection at cost of more false positives
Cauchy Kernel:
• k(x,y) = 1/(1 + ||x-y||²/σ²)
• Heavy-tailed distribution from statistical physics
• Robust to extreme values and fat-tail events
• Best for cryptocurrency and emerging markets
• Most stable signals with fewer whipsaws
Implementation Details:
• Reference window: 30-300 bars of baseline distribution
• Test window: 10-100 bars of recent distribution
• Double-sum kernel matrix computation with O(m*n) complexity
• EMA smoothing (period 3) reduces noise in raw MMD
• Real-time updates every bar with incremental calculation
2. REGIME DETECTION FRAMEWORK
Three-State Regime Classification:
STABLE Regime (MMD < threshold):
• Market follows historical distribution patterns
• Mean-reverting behavior dominates
• Low probability of breakouts
• Reduced position sizing recommended
• Visual: Subtle background coloring
SHIFTING Regime (threshold < MMD < 2×threshold):
• Distribution divergence detected
• Transition period with directional bias emerging
• Optimal entry zone for trend-following
• Increased volatility expected
• Visual: Yellow/orange zone highlighting
EXTREME Regime (MMD > 2×threshold):
• Severe distribution anomaly
• Black swan or structural break potential
• Maximum caution required
• Consider hedging or exit
• Visual: Red/magenta warning zones
Adaptive Threshold System:
• Base threshold: 0.05-1.0 (default 0.15)
• Volatility adjustment: ±30% based on ATR ratio
• Regime persistence: 20-bar minimum for stability
• Cooldown periods prevent signal clustering
3. DIRECTIONAL BIAS DETERMINATION
Multi-Factor Direction Analysis:
Distribution Mean Comparison:
• Recent mean = SMA(normalized_returns, test_window)
• Reference mean = SMA(normalized_returns, reference_window)
• Direction = sign(recent_mean - reference_mean)
Momentum Confluence:
• Price momentum = close - close
• Volume momentum = volume/SMA(volume, reference_window)
• Weighted composite direction score
Trend Alignment:
• Fast EMA vs Slow EMA positioning
• Slope analysis of regression line
• Multi-timeframe bias confirmation (optional)
4. SIGNAL GENERATION ARCHITECTURE
Entry Signal Logic:
Stage 1 - Regime Shift Detection:
• MMD crosses above threshold
• Sustained for minimum 2 bars
• No signals within cooldown period
Stage 2 - Direction Confirmation:
• Distribution mean aligns with momentum
• Volume ratio > 1.0 (optional)
• Price above/below VWAP (optional)
Stage 3 - Risk Assessment:
• Calculate ATR-based stop distance
• Verify risk/reward ratio > 1.5
• Check for nearby support/resistance
Stage 4 - Signal Generation:
• Long: Regime shift + bullish direction
• Short: Regime shift + bearish direction
• Extreme: MMD > 2×threshold warning
5. PROBABILITY CLOUD VISUALIZATION
Adaptive Confidence Intervals:
• Standard deviation multiplier = 1 + MMD × 3
• Inner band: ±0.5 ATR × multiplier (68% probability)
• Outer band: ±1.0 ATR × multiplier (95% probability)
• Width expands with divergence magnitude
• Real-time adjustment every bar
Interpretation:
• Narrow cloud: Low uncertainty, stable regime
• Wide cloud: High uncertainty, shifting regime
• Asymmetric cloud: Directional bias present
6. MOMENTUM FLOW VECTORS
Three-Style Momentum Visualization:
Flow Arrows:
• Length proportional to momentum strength
• Width indicates confidence (1-3 pixels)
• Angle shows rate of change
• Frequency: Every 5 bars or on events
Gradient Bars:
• Vertical lines from price
• Height = momentum/ATR ratio
• Opacity based on strength
• Continuous flow indication
Momentum Ribbon:
• Envelope around price action
• Expands in momentum direction
• Color intensity shows strength
7. SIGNAL CONNECTION SYSTEM
Relationship Mapping:
• Links consecutive signals with lines
• Solid lines: Same direction (continuation)
• Dotted lines: Opposite direction (reversal)
• Maximum 10 connections maintained
• Distance limit: 100 bars
Purpose:
• Identifies signal clusters
• Shows trend development
• Reveals regime persistence
• Confirms directional bias
8. REGIME ZONE MAPPING
Unified Zone Visualization:
• Main zones: Full regime periods (entry to exit)
• Emphasis zones: Specific trigger points
• Historical memory: Last 20 regime shifts
• Color gradient based on intensity
• Border style indicates zone type
Zone Analytics:
• Duration tracking
• Maximum excursion
• Retest probability
• Support/resistance conversion
9. DYNAMIC RISK MANAGEMENT
ATR-Based Position Sizing:
• Stop loss: 1.0 × ATR from entry
• Target 1: 2.0 × ATR (2R)
• Target 2: 4.0 × ATR (4R)
• Volatility-adjusted scaling
Visual Target System:
• Entry pointer lines
• Target boxes with prices
• Stop boxes with invalidation
• Real-time P&L tracking
10. PROFESSIONAL DASHBOARD
Real-Time Metrics Display:
Primary Metrics:
• Current MMD value and threshold
• Risk level (MMD/threshold ratio)
• Velocity (rate of change)
• Acceleration (second derivative)
Signal Information:
• Active signal type and entry
• Stop loss and targets
• Current P&L percentage
• Bars since signal
Market Metrics:
• Directional bias (BULL/BEAR)
• Confidence percentage
• Win rate statistics
• Signal count tracking
Visual Design:
• Four position options
• Three size modes
• Five color themes
• Gauge visualizations
• Status banners
11. MMD INFO PANEL
Floating Statistics:
• Compact 3×4 table
• MMD vs threshold comparison
• Velocity with direction arrows
• Current bias indication
• Always-visible reference
FIVE COLOR THEMES
Quantum: Cyan/Magenta/Yellow - Modern, high contrast, optimal visibility
Matrix: Green/Red - Classic terminal aesthetic, traditional
Fire: Orange/Gold/Red - Warm spectrum, energetic feel
Aurora: Northern lights palette - Unique, beautiful gradients
Nebula: Deep space colors - Purple/Blue, futuristic
HOW TO USE
Step 1: Select Your Kernel
• RBF for normal markets (stocks, forex majors)
• Laplacian for volatile markets (small-caps, news-driven)
• Cauchy for fat-tail markets (crypto, emerging markets)
Step 2: Configure Bandwidth
• 0.5-2.0: Scalping (high sensitivity)
• 2.0-5.0: Day trading (balanced)
• 5.0-10.0: Swing trading (smooth signals)
Step 3: Set Analysis Windows
• Reference: 3-5× your holding period
• Test: Reference ÷ 3 approximately
• Adjust based on timeframe
Step 4: Calibrate Threshold
• Start with 0.15 default
• Increase if too many signals
• Decrease for earlier detection
Step 5: Enable Visuals
• Probability Cloud for volatility assessment
• Momentum Flow for direction confirmation
• Regime Zones for historical context
• Signal Connections for trend visualization
Step 6: Monitor Dashboard
• Check MMD vs threshold
• Verify regime state
• Confirm directional bias
• Review confidence metrics
Step 7: Execute Signals
• Wait for triangle markers
• Verify regime shift confirmed
• Check risk/reward setup
• Enter at close or next open
Step 8: Manage Position
• Place stop at calculated level
• Scale out at Target 1 (2R)
• Trail remainder to Target 2 (4R)
• Exit if regime reverses
OPTIMIZATION GUIDE
By Market Type:
Forex Majors:
• Kernel: RBF
• Bandwidth: 2.0-3.0
• Windows: 100/30
• Threshold: 0.15
Stock Indices:
• Kernel: RBF
• Bandwidth: 3.0-4.0
• Windows: 150/50
• Threshold: 0.20
Cryptocurrencies:
• Kernel: Cauchy
• Bandwidth: 2.5-3.5
• Windows: 100/30
• Threshold: 0.10-0.15
Commodities:
• Kernel: Laplacian
• Bandwidth: 2.0-3.0
• Windows: 200/60
• Threshold: 0.15-0.25
By Timeframe:
Scalping (1-5m):
• Test Window: 10-20
• Reference: 50-100
• Bandwidth: 1.0-2.0
• Cooldown: 5-10 bars
Day Trading (15m-1H):
• Test Window: 30-50
• Reference: 100-150
• Bandwidth: 2.0-3.0
• Cooldown: 10-20 bars
Swing Trading (4H-Daily):
• Test Window: 50-100
• Reference: 200-300
• Bandwidth: 3.0-5.0
• Cooldown: 20-50 bars
ADVANCED FEATURES
Multi-Timeframe Capability:
• HTF MMD calculation via security()
• Regime alignment across timeframes
• Fractal analysis support
Statistical Arbitrage Mode:
• Pair trading applications
• Spread divergence detection
• Cointegration breaks
Machine Learning Integration:
• Export signals for ML training
• Regime labels for classification
• Feature extraction support
PERFORMANCE METRICS
Computational Complexity:
• MMD calculation: O(m×n) where m,n are window sizes
• Memory usage: O(m+n) for kernel matrices
• Update frequency: Every bar (real-time)
• Optimization: Incremental updates where possible
Typical Signal Frequency:
• Conservative settings: 2-5 signals/week
• Balanced settings: 5-10 signals/week
• Aggressive settings: 10-20 signals/week
Win Rate Expectations:
• Trend following mode: 40-50% wins, 2:1 reward/risk
• Mean reversion mode: 60-70% wins, 1:1 reward/risk
• Depends heavily on market conditions
IMPORTANT DISCLAIMERS
• This indicator detects statistical divergence, not future price direction
• MMD measures distribution distance, not predictive probability
• Past regime shifts do not guarantee future performance
• Kernel methods are descriptive statistics, not AI predictions
• Requires minimum 100 bars historical data for stability
• Performance varies significantly across market conditions
• Not suitable for illiquid or heavily manipulated markets
• Always use proper risk management and position sizing
• Backtest thoroughly on your specific instruments
• This is an analysis tool, not a complete trading system
THEORETICAL FOUNDATION
The Maximum Mean Discrepancy was introduced by Gretton et al. (2012) as a kernel-based statistical test for comparing distributions. In financial markets, we adapt this technique to detect when return distributions shift, indicating potential regime changes. The mathematical rigor of MMD provides a robust, non-parametric approach to identifying market transitions without assuming specific distribution shapes.
SUPPORT & UPDATES
• Questions or configuration help via TradingView messaging
• Bug reports addressed within 48 hours
• Feature requests considered for monthly updates
• Video tutorials available on request
• Join our community for strategy discussions
FINAL NOTES
KMD Pro represents a paradigm shift in technical analysis - moving from price-based indicators to distribution-based detection. By measuring statistical divergence rather than price divergence, the system identifies regime changes that precede traditional breakouts. This anticipatory capability, combined with comprehensive visualization and risk management, provides traders with an institutional-grade toolkit for navigating modern market dynamics.
Remember: The edge comes not from the indicator alone, but from understanding when market distributions diverge from their normal state and positioning accordingly. Use KMD Pro as part of a complete trading strategy that includes fundamental analysis, risk management, and market context.
CHOCH + FVG Signals [30m Optimized]CHOCH + FVG Signals
🎯 What It Does:
This script automatically scans your chart for high-probability Smart Money Concepts (SMC) setups based on two key institutional trading principles:
Change of Character (CHOCH) – A shift in market structure signaling potential reversal
Fair Value Gap (FVG) – An imbalance zone where price moved too fast, often acting as support/resistance
When both conditions align, the script plots clear Buy (▲) and Sell (▼) signals directly on your chart — ideal for intraday trading on the 30-minute timeframe (but works on any timeframe).
✅ Key Features:
🔹 Visual Fair Value Gaps
Green shaded zones = Bullish FVGs (potential support)
Red shaded zones = Bearish FVGs (potential resistance)
Toggle on/off in settings
🔹 Smart CHOCH Detection
Detects breaks of recent swing highs/lows with proper context
Avoids false signals by confirming prior price structure
🔹 Clear Trade Signals
Green ▲ below bar = Buy signal (Bullish CHOCH + FVG confluence)
Red ▼ above bar = Sell signal (Bearish CHOCH + FVG confluence)
🔹 Customizable Filters
Option to require FVG for a signal (recommended for higher accuracy)
Adjust sensitivity via swing detection settings (default optimized for 30m)
🔹 Alert-Ready
Built-in alert conditions for instant notifications on TradingView mobile/desktop
⚙️ How to Use:
Apply to a 30-minute chart (e.g., EURUSD, Gold, NAS100, BTC)
Wait for at least 50–100 bars to load (so swing points appear)
Look for:
A green triangle (▲) → consider long entry near FVG support
A red triangle (▼) → consider short entry near FVG resistance
Confirm with price action: Wait for a strong candle close or rejection at the FVG zone
Use stop-loss below/above the FVG and target recent liquidity pools
💡 Pro Tip: Best used during high-volume sessions (e.g., London Open 7–10 AM UTC, NY Open 12:30–3:30 PM UTC).
🛠️ Settings (Inputs):
Show Fair Value Gaps
✅ Enabled
Visualize FVG zones
Max FVG History
100 bars
Prevent chart clutter
Require FVG for Signal?
✅ Enabled
Higher-quality setups (disable to test CHOCH-only)
⚠️ Important Notes:
This is a signal generator, not financial advice. Always manage risk.
Works best in trending or breaking markets — avoid during low-volatility ranges.
FVGs may get filled (tested) before price continues — patience improves results.
Backtest on historical data before live trading.
📣 Ideal For:
Retail traders learning Smart Money Concepts (SMC)
Price action traders seeking institutional-level confluence
Intraday scalpers & swing traders on 30m–1H timeframes
MESA Adaptive Ehlers Flow | AlphaNattMESA Adaptive Ehlers Flow | AlphaNatt
An advanced adaptive indicator based on John Ehlers' MESA (Maximum Entropy Spectrum Analysis) algorithm that automatically adjusts to market cycles in real-time, providing superior trend identification with minimal lag across all market conditions.
🎯 What Makes This Indicator Revolutionary?
Unlike traditional moving averages with fixed parameters, this indicator uses Hilbert Transform mathematics to detect the dominant market cycle and adapts its responsiveness accordingly:
Automatically detects market cycles using advanced signal processing
MAMA (MESA Adaptive Moving Average) adapts from fast to slow based on cycle phase
FAMA (Following Adaptive Moving Average) provides confirmation signals
Dynamic volatility bands that expand and contract with cycle detection
Zero manual optimization required - the indicator tunes itself
📊 Core Components
1. MESA Adaptive Moving Average (MAMA)
The MAMA is the crown jewel of adaptive indicators. It uses the Hilbert Transform to measure the market's dominant cycle and adjusts its smoothing factor in real-time:
During trending phases: Responds quickly to capture moves
During choppy phases: Smooths heavily to filter noise
Transition is automatic and seamless based on price action
Parameters:
Fast Limit: Maximum responsiveness (default: 0.5) - how fast the indicator can adapt
Slow Limit: Minimum responsiveness (default: 0.05) - maximum smoothing during consolidation
2. Following Adaptive Moving Average (FAMA)
The FAMA is a slower version of MAMA that follows the primary signal. The relationship between MAMA and FAMA provides powerful trend confirmation:
MAMA > FAMA: Bullish trend in progress
MAMA < FAMA: Bearish trend in progress
Crossovers signal potential trend changes
3. Hilbert Transform Cycle Detection
The indicator employs sophisticated DSP (Digital Signal Processing) techniques:
Detects the dominant cycle period (1.5 to 50 bars)
Measures phase relationships in the price data
Calculates adaptive alpha values based on cycle dynamics
Continuously updates as market character changes
⚡ Key Features
Adaptive Alpha Calculation
The indicator's "intelligence" comes from its adaptive alpha:
Alpha dynamically adjusts between Fast Limit and Slow Limit based on the rate of phase change in the market cycle. Rapid phase changes trigger faster adaptation, while stable cycles maintain smoother response.
Dynamic Volatility Bands
Unlike static bands, these adapt to both ATR volatility AND the current cycle state:
Bands widen when the indicator detects fast adaptation (trending)
Bands narrow during slow adaptation (consolidation)
Band Multiplier controls overall width (default: 1.5)
Provides context-aware support and resistance
Intelligent Color Coding
Cyan: Bullish regime (MAMA > FAMA and price > MAMA)
Magenta: Bearish regime (MAMA < FAMA and price < MAMA)
Gray: Neutral/transitional state
📈 Trading Strategies
Trend Following Strategy
The MESA indicator excels at identifying and riding strong trends while automatically reducing sensitivity during choppy periods.
Entry Signals:
Long: MAMA crosses above FAMA with price closing above MAMA
Short: MAMA crosses below FAMA with price closing below MAMA
Exit/Management:
Exit longs when MAMA crosses below FAMA
Exit shorts when MAMA crosses above FAMA
Use dynamic bands as trailing stop references
Mean Reversion Strategy
When price extends beyond the dynamic bands during established trends, look for bounces back toward the MAMA line.
Setup Conditions:
Strong trend confirmed by MAMA/FAMA alignment
Price touches or exceeds outer band
Enter on first sign of reversal toward MAMA
Target: Return to MAMA line or opposite band
Cycle-Based Swing Trading
The indicator's cycle detection makes it ideal for swing trading:
Enter on MAMA/FAMA crossovers
Hold through the detected cycle period
Exit on counter-crossover or band extremes
Works exceptionally well on 4H to Daily timeframes
🔬 Technical Background
The Hilbert Transform
The Hilbert Transform is a mathematical operation used in signal processing to extract instantaneous phase and frequency information from a signal. In trading applications:
Separates trend from cycle components
Identifies the dominant market cycle without curve-fitting
Provides leading indicators of trend changes
MESA Algorithm Components
Smoothing: 4-bar weighted moving average for noise reduction
Detrending: Removes linear price trend to isolate cycles
InPhase & Quadrature: Orthogonal components for phase measurement
Homodyne Discriminator: Calculates instantaneous period
Adaptive Alpha: Converts period to smoothing factor
MAMA/FAMA: Final adaptive moving averages
⚙️ Optimization Guide
Fast Limit (0.1 - 0.9)
Higher values (0.5-0.9): More responsive, better for volatile markets and lower timeframes
Lower values (0.1-0.3): Smoother response, better for stable markets and higher timeframes
Default 0.5: Balanced for most applications
Slow Limit (0.01 - 0.1)
Higher values (0.05-0.1): Less smoothing during consolidation, more signals
Lower values (0.01-0.03): Heavy smoothing during chop, fewer but cleaner signals
Default 0.05: Good noise filtering while maintaining responsiveness
Band Multiplier (0.5 - 3.0)
Adjust based on instrument volatility
Backtest to find optimal value for your specific market
1.5 works well for most forex and equity indices
Consider higher values (2.0-2.5) for cryptocurrencies
🎨 Visual Interpretation
The gradient visualization shows probability zones around the MESA line:
MESA line: The adaptive trend center
Band expansion: Indicates strong cycle detection and trending
Band contraction: Indicates consolidation or ranging market
Color intensity: Shows confidence in trend direction
💡 Best Practices
Let it adapt: Give the indicator 50+ bars to properly calibrate to the market
Combine timeframes: Use higher timeframe MESA for trend bias, lower for entries
Respect the bands: Price rarely stays outside bands for extended periods
Watch for compression: Narrow bands often precede explosive moves
Volume confirmation: Combine with volume for higher probability setups
📊 Optimal Timeframes
15m - 1H: Day trading with Fast Limit 0.6-0.8
4H - Daily: Swing trading with Fast Limit 0.4-0.6 (recommended)
Weekly: Position trading with Fast Limit 0.2-0.4
⚠️ Important Considerations
The indicator needs time to "learn" the market - avoid trading the first 50 bars after applying
Extreme gap events can temporarily disrupt cycle calculations
Works best in markets with detectable cyclical behavior
Less effective during news events or extreme volatility spikes
Consider the detected cycle period for position holding times
🔍 What Makes MESA Superior?
Compared to traditional indicators:
vs. Fixed MAs: Automatically adjusts to market conditions instead of using one-size-fits-all parameters
vs. Other Adaptive MAs: Uses true DSP mathematics rather than simple volatility adjustments
vs. Manual Optimization: Continuously re-optimizes itself in real-time
vs. Lagging Indicators: Hilbert Transform provides earlier trend change detection
🎓 Understanding Adaptation
The magic of MESA is that it solves the eternal dilemma of technical analysis: be fast and get whipsawed in chop, or be smooth and miss the early move. MESA does both by detecting when to be fast and when to be smooth.
Adaptation in Action:
Strong trend starts → MESA quickly detects phase change → Fast Limit kicks in → Early entry
Trend continues → Phase stabilizes → MESA maintains moderate speed → Smooth ride
Consolidation begins → Phase changes slow → Slow Limit engages → Whipsaw avoidance
🚀 Advanced Applications
Multi-timeframe confluence: Use MESA on 3 timeframes for high-probability setups
Divergence detection: Watch for MAMA/price divergences at band extremes
Cycle period analysis: The internal period calculation can guide position duration
Band squeeze trading: Narrow bands + MAMA/FAMA cross = high-probability breakout
Created by AlphaNatt - Based on John Ehlers' MESA research. For educational purposes. Always practice proper risk management. Not financial advice. Always DYOR.
Historical Matrix Analyzer [PhenLabs]📊Historical Matrix Analyzer
Version: PineScriptv6
📌Description
The Historical Matrix Analyzer is an advanced probabilistic trading tool that transforms technical analysis into a data-driven decision support system. By creating a comprehensive 56-cell matrix that tracks every combination of RSI states and multi-indicator conditions, this indicator reveals which market patterns have historically led to profitable outcomes and which have not.
At its core, the indicator continuously monitors seven distinct RSI states (ranging from Extreme Oversold to Extreme Overbought) and eight unique indicator combinations (MACD direction, volume levels, and price momentum). For each of these 56 possible market states, the system calculates average forward returns, win rates, and occurrence counts based on your configurable lookback period. The result is a color-coded probability matrix that shows you exactly where you stand in the historical performance landscape.
The standout feature is the Current State Panel, which provides instant clarity on your active market conditions. This panel displays signal strength classifications (from Strong Bullish to Strong Bearish), the average return percentage for similar past occurrences, an estimated win rate using Bayesian smoothing to prevent small-sample distortions, and a confidence level indicator that warns you when insufficient data exists for reliable conclusions.
🚀Points of Innovation
Multi-dimensional state classification combining 7 RSI levels with 8 indicator combinations for 56 unique trackable market conditions
Bayesian win rate estimation with adjustable smoothing strength to provide stable probability estimates even with limited historical samples
Real-time active cell highlighting with “NOW” marker that visually connects current market conditions to their historical performance data
Configurable color intensity sensitivity allowing traders to adjust heat-map responsiveness from conservative to aggressive visual feedback
Dual-panel display system separating the comprehensive statistics matrix from an easy-to-read current state summary panel
Intelligent confidence scoring that automatically warns traders when occurrence counts fall below reliable thresholds
🔧Core Components
RSI State Classification: Segments RSI readings into 7 distinct zones (Extreme Oversold <20, Oversold 20-30, Weak 30-40, Neutral 40-60, Strong 60-70, Overbought 70-80, Extreme Overbought >80) to capture momentum extremes and transitions
Multi-Indicator Condition Tracking: Simultaneously monitors MACD crossover status (bullish/bearish), volume relative to moving average (high/low), and price direction (rising/falling) creating 8 binary-encoded combinations
Historical Data Storage Arrays: Maintains rolling lookback windows storing RSI states, indicator states, prices, and bar indices for precise forward-return calculations
Forward Performance Calculator: Measures price changes over configurable forward bar periods (1-20 bars) from each historical state, accumulating total returns and win counts per matrix cell
Bayesian Smoothing Engine: Applies statistical prior assumptions (default 50% win rate) weighted by user-defined strength parameter to stabilize estimated win rates when sample sizes are small
Dynamic Color Mapping System: Converts average returns into color-coded heat map with intensity adjusted by sensitivity parameter and transparency modified by confidence levels
🔥Key Features
56-Cell Probability Matrix: Comprehensive grid displaying every possible combination of RSI state and indicator condition, with each cell showing average return percentage, estimated win rate, and occurrence count for complete statistical visibility
Current State Info Panel: Dedicated display showing your exact position in the matrix with signal strength emoji indicators, numerical statistics, and color-coded confidence warnings for immediate situational awareness
Customizable Lookback Period: Adjustable historical window from 50 to 500 bars allowing traders to focus on recent market behavior or capture longer-term pattern stability across different market cycles
Configurable Forward Performance Window: Select target holding periods from 1 to 20 bars ahead to align probability calculations with your trading timeframe, whether day trading or swing trading
Visual Heat Mapping: Color-coded cells transition from red (bearish historical performance) through gray (neutral) to green (bullish performance) with intensity reflecting statistical significance and occurrence frequency
Intelligent Data Filtering: Minimum occurrence threshold (1-10) removes unreliable patterns with insufficient historical samples, displaying gray warning colors for low-confidence cells
Flexible Layout Options: Independent positioning of statistics matrix and info panel to any screen corner, accommodating different chart layouts and personal preferences
Tooltip Details: Hover over any matrix cell to see full RSI label, complete indicator status description, precise average return, estimated win rate, and total occurrence count
🎨Visualization
Statistics Matrix Table: A 9-column by 8-row grid with RSI states labeling vertical axis and indicator combinations on horizontal axis, using compact abbreviations (XOverS, OverB, MACD↑, Vol↓, P↑) for space efficiency
Active Cell Indicator: The current market state cell displays “⦿ NOW ⦿” in yellow text with enhanced color saturation to immediately draw attention to relevant historical performance
Signal Strength Visualization: Info panel uses emoji indicators (🔥 Strong Bullish, ✅ Bullish, ↗️ Weak Bullish, ➖ Neutral, ↘️ Weak Bearish, ⛔ Bearish, ❄️ Strong Bearish, ⚠️ Insufficient Data) for rapid interpretation
Histogram Plot: Below the price chart, a green/red histogram displays the current cell’s average return percentage, providing a time-series view of how historical performance changes as market conditions evolve
Color Intensity Scaling: Cell background transparency and saturation dynamically adjust based on both the magnitude of average returns and the occurrence count, ensuring visual emphasis on reliable patterns
Confidence Level Display: Info panel bottom row shows “High Confidence” (green), “Medium Confidence” (orange), or “Low Confidence” (red) based on occurrence counts relative to minimum threshold multipliers
📖Usage Guidelines
RSI Period
Default: 14
Range: 1 to unlimited
Description: Controls the lookback period for RSI momentum calculation. Standard 14-period provides widely-recognized overbought/oversold levels. Decrease for faster, more sensitive RSI reactions suitable for scalping. Increase (21, 28) for smoother, longer-term momentum assessment in swing trading. Changes affect how quickly the indicator moves between the 7 RSI state classifications.
MACD Fast Length
Default: 12
Range: 1 to unlimited
Description: Sets the faster exponential moving average for MACD calculation. Standard 12-period setting works well for daily charts and captures short-term momentum shifts. Decreasing creates more responsive MACD crossovers but increases false signals. Increasing smooths out noise but delays signal generation, affecting the bullish/bearish indicator state classification.
MACD Slow Length
Default: 26
Range: 1 to unlimited
Description: Defines the slower exponential moving average for MACD calculation. Traditional 26-period setting balances trend identification with responsiveness. Must be greater than Fast Length. Wider spread between fast and slow increases MACD sensitivity to trend changes, impacting the frequency of indicator state transitions in the matrix.
MACD Signal Length
Default: 9
Range: 1 to unlimited
Description: Smoothing period for the MACD signal line that triggers bullish/bearish state changes. Standard 9-period provides reliable crossover signals. Shorter values create more frequent state changes and earlier signals but with more whipsaws. Longer values produce more confirmed, stable signals but with increased lag in detecting momentum shifts.
Volume MA Period
Default: 20
Range: 1 to unlimited
Description: Lookback period for volume moving average used to classify volume as “high” or “low” in indicator state combinations. 20-period default captures typical monthly trading patterns. Shorter periods (10-15) make volume classification more reactive to recent spikes. Longer periods (30-50) require more sustained volume changes to trigger state classification shifts.
Statistics Lookback Period
Default: 200
Range: 50 to 500
Description: Number of historical bars used to calculate matrix statistics. 200 bars provides substantial data for reliable patterns while remaining responsive to regime changes. Lower values (50-100) emphasize recent market behavior and adapt quickly but may produce volatile statistics. Higher values (300-500) capture long-term patterns with stable statistics but slower adaptation to changing market dynamics.
Forward Performance Bars
Default: 5
Range: 1 to 20
Description: Number of bars ahead used to calculate forward returns from each historical state occurrence. 5-bar default suits intraday to short-term swing trading (5 hours on hourly charts, 1 week on daily charts). Lower values (1-3) target short-term momentum trades. Higher values (10-20) align with position trading and longer-term pattern exploitation.
Color Intensity Sensitivity
Default: 2.0
Range: 0.5 to 5.0, step 0.5
Description: Amplifies or dampens the color intensity response to average return magnitudes in the matrix heat map. 2.0 default provides balanced visual emphasis. Lower values (0.5-1.0) create subtle coloring requiring larger returns for full saturation, useful for volatile instruments. Higher values (3.0-5.0) produce vivid colors from smaller returns, highlighting subtle edges in range-bound markets.
Minimum Occurrences for Coloring
Default: 3
Range: 1 to 10
Description: Required minimum sample size before applying color-coded performance to matrix cells. Cells with fewer occurrences display gray “insufficient data” warning. 3-occurrence default filters out rare patterns. Lower threshold (1-2) shows more data but includes unreliable single-event statistics. Higher thresholds (5-10) ensure only well-established patterns receive visual emphasis.
Table Position
Default: top_right
Options: top_left, top_right, bottom_left, bottom_right
Description: Screen location for the 56-cell statistics matrix table. Position to avoid overlapping critical price action or other indicators on your chart. Consider chart orientation and candlestick density when selecting optimal placement.
Show Current State Panel
Default: true
Options: true, false
Description: Toggle visibility of the dedicated current state information panel. When enabled, displays signal strength, RSI value, indicator status, average return, estimated win rate, and confidence level for active market conditions. Disable to declutter charts when only the matrix table is needed.
Info Panel Position
Default: bottom_left
Options: top_left, top_right, bottom_left, bottom_right
Description: Screen location for the current state information panel (when enabled). Position independently from statistics matrix to optimize chart real estate. Typically placed opposite the matrix table for balanced visual layout.
Win Rate Smoothing Strength
Default: 5
Range: 1 to 20
Description: Controls Bayesian prior weighting for estimated win rate calculations. Acts as virtual sample size assuming 50% win rate baseline. Default 5 provides moderate smoothing preventing extreme win rate estimates from small samples. Lower values (1-3) reduce smoothing effect, allowing win rates to reflect raw data more directly. Higher values (10-20) increase conservatism, pulling win rate estimates toward 50% until substantial evidence accumulates.
✅Best Use Cases
Pattern-based discretionary trading where you want historical confirmation before entering setups that “look good” based on current technical alignment
Swing trading with holding periods matching your forward performance bar setting, using high-confidence bullish cells as entry filters
Risk assessment and position sizing, allocating larger size to trades originating from cells with strong positive average returns and high estimated win rates
Market regime identification by observing which RSI states and indicator combinations are currently producing the most reliable historical patterns
Backtesting validation by comparing your manual strategy signals against the historical performance of the corresponding matrix cells
Educational tool for developing intuition about which technical condition combinations have actually worked versus those that feel right but lack historical evidence
⚠️Limitations
Historical patterns do not guarantee future performance, especially during unprecedented market events or regime changes not represented in the lookback period
Small sample sizes (low occurrence counts) produce unreliable statistics despite Bayesian smoothing, requiring caution when acting on low-confidence cells
Matrix statistics lag behind rapidly changing market conditions, as the lookback period must accumulate new state occurrences before updating performance data
Forward return calculations use fixed bar periods that may not align with actual trade exit timing, support/resistance levels, or volatility-adjusted profit targets
💡What Makes This Unique
Multi-Dimensional State Space: Unlike single-indicator tools, simultaneously tracks 56 distinct market condition combinations providing granular pattern resolution unavailable in traditional technical analysis
Bayesian Statistical Rigor: Implements proper probabilistic smoothing to prevent overconfidence from limited data, a critical feature missing from most pattern recognition tools
Real-Time Contextual Feedback: The “NOW” marker and dedicated info panel instantly connect current market conditions to their historical performance profile, eliminating guesswork
Transparent Occurrence Counts: Displays sample sizes directly in each cell, allowing traders to judge statistical reliability themselves rather than hiding data quality issues
Fully Customizable Analysis Window: Complete control over lookback depth and forward return horizons lets traders align the tool precisely with their trading timeframe and strategy requirements
🔬How It Works
1. State Classification and Encoding
Each bar’s RSI value is evaluated and assigned to one of 7 discrete states based on threshold levels (0: <20, 1: 20-30, 2: 30-40, 3: 40-60, 4: 60-70, 5: 70-80, 6: >80)
Simultaneously, three binary conditions are evaluated: MACD line position relative to signal line, current volume relative to its moving average, and current close relative to previous close
These three binary conditions are combined into a single indicator state integer (0-7) using binary encoding, creating 8 possible indicator combinations
The RSI state and indicator state are stored together, defining one of 56 possible market condition cells in the matrix
2. Historical Data Accumulation
As each bar completes, the current state classification, closing price, and bar index are stored in rolling arrays maintained at the size specified by the lookback period
When the arrays reach capacity, the oldest data point is removed and the newest added, creating a sliding historical window
This continuous process builds a comprehensive database of past market conditions and their subsequent price movements
3. Forward Return Calculation and Statistics Update
On each bar, the indicator looks back through the stored historical data to find bars where sufficient forward bars exist to measure outcomes
For each historical occurrence, the price change from that bar to the bar N periods ahead (where N is the forward performance bars setting) is calculated as a percentage return
This percentage return is added to the cumulative return total for the specific matrix cell corresponding to that historical bar’s state classification
Occurrence counts are incremented, and wins are tallied for positive returns, building comprehensive statistics for each of the 56 cells
The Bayesian smoothing formula combines these raw statistics with prior assumptions (neutral 50% win rate) weighted by the smoothing strength parameter to produce estimated win rates that remain stable even with small samples
💡Note:
The Historical Matrix Analyzer is designed as a decision support tool, not a standalone trading system. Best results come from using it to validate discretionary trade ideas or filter systematic strategy signals. Always combine matrix insights with proper risk management, position sizing rules, and awareness of broader market context. The estimated win rate feature uses Bayesian statistics specifically to prevent false confidence from limited data, but no amount of smoothing can create reliable predictions from fundamentally insufficient sample sizes. Focus on high-confidence cells (green-colored confidence indicators) with occurrence counts well above your minimum threshold for the most actionable insights.
ZynAlgo S&R ProZynAlgo S&R Pro™ automatically identifies high-probability support and resistance zones by detecting swing highs and lows, visualizing liquidity areas where large market participants are likely active.
The indicator dynamically draws and updates these levels in real time, providing traders with an instant map of market structure — where price is most likely to react, reverse, or break through.
It’s built for traders who rely on structure-based trading, smart money concepts (SMC), and liquidity-based analysis, offering a clean, efficient, and objective way to view market levels without manual charting.
⚙️ CORE CONCEPT
Markets move through cycles of liquidity — sweeping previous highs and lows before establishing new structure.
S&R Pro captures these key points automatically, creating clear horizontal levels that represent potential liquidity zones and high-probability reaction areas.
Every zone is drawn dynamically using confirmed swing highs and lows, ensuring that the indicator adapts to evolving price action while keeping your charts clean and uncluttered.
🧩 FEATURES
Automatic Detection of swing highs/lows based on user-defined sensitivity
Liquidity Pool Visualization for both buy-side and sell-side zones
Dynamic Extension Lines that update until new structure forms
Customizable Styling: color, line width, and line type
Candle Coloring System to enhance visual clarity of price action
Smart Alerts for liquidity sweeps and swing confirmations
Lightweight & Fast Rendering — optimized for all market types
🧠 HOW TO USE
Add the indicator to your chart and adjust “Left/Right Bar” to control how sensitive swing detection is.
Liquidity lines (red for buy-side, blue for sell-side) will automatically appear and extend until new structure is formed.
Watch how price interacts with these lines — reactions often occur near recent liquidity zones.
Combine with your existing confluence tools such as trend dashboards or volume filters to refine entries and exits.
Set alerts for when liquidity zones are reached or when new swing points form.
📊 INTERPRETATION
🟥 Red Lines: Previous highs, representing buy-side liquidity (potential stop hunts above).
🟦 Blue Lines: Previous lows, representing sell-side liquidity.
🟢 Candle Color Change: Visualizes shifts in short-term momentum relative to previous close.
These levels help traders spot where liquidity sweeps may occur — a key concept in institutional trading and SMC methodology.
⚙️ CUSTOMIZATION
Adjust bar sensitivity to detect major or minor structures
Modify line color, style, and thickness
Toggle swing labels and liquidity visualization
Control candle color behavior (body, border, wick)
🔶 CONCLUSION
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that. The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making. You can see the Author's instructions below to get instant access to this indicator
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
QUANTUM MOMENTUMOverview
Quantum Momentum is a sophisticated technical analysis tool designed to help traders identify relative strength between assets through advanced momentum comparison. This cyberpunk-themed indicator visualizes momentum dynamics between your current trading symbol and any comparison asset of your choice, making it ideal for pairs trading, crypto correlation analysis, and multi-asset portfolio management.
Key Features
📊 Multi-Asset Momentum Comparison
Dual Symbol Analysis: Compare momentum between your chart symbol and any other tradable asset
Real-Time Tracking: Monitor relative momentum strength as market conditions evolve
Difference Visualization: Clear histogram display showing which asset has stronger momentum
🎯 Multiple Momentum Calculation Methods
Choose from four different momentum calculation types:
ROC (Rate of Change): Traditional percentage-based momentum measurement
RSI (Relative Strength Index): Oscillator-based momentum from 0-100 range
Percent Change: Simple percentage change over the lookback period
Raw Change: Absolute price change in native currency units
📈 Advanced Trend Filtering System
Enable optional trend filters to align momentum signals with prevailing market direction:
SMA (Simple Moving Average): Classic trend identification
EMA (Exponential Moving Average): Responsive trend detection
Price Action: Identifies trends through higher highs/lows or lower highs/lows patterns
ADX (Average Directional Index): Measures trend strength with customizable threshold
🎨 Futuristic Cyberpunk Design
Neon Color Scheme: Eye-catching cyan, magenta, and matrix green color palette
Glowing Visual Effects: Enhanced visibility with luminescent plot lines
Dynamic Background Shading: Subtle trend state visualization
Real-Time Data Table: Sleek information panel displaying current momentum values and trend status
How It Works
The indicator calculates momentum for both your current chart symbol and a comparison symbol (default: BTC/USDT) using your selected method and lookback period. The difference between these momentum values reveals which asset is exhibiting stronger momentum at any given time.
Positive Difference (Green): Your chart symbol has stronger momentum than the comparison asset
Negative Difference (Pink/Red): The comparison asset has stronger momentum than your chart symbol
When the trend filter is enabled, the indicator will only display signals that align with the detected market trend, helping filter out counter-trend noise.
Settings Guide
Symbol Settings
Compare Symbol: Choose any tradable asset to compare against (e.g., major indices, cryptocurrencies, forex pairs)
Momentum Settings
Momentum Length: Lookback period for momentum calculations (default: 14 bars)
Momentum Type: Select your preferred momentum calculation method
Display Options
Toggle visibility of current symbol momentum line
Toggle visibility of comparison symbol momentum line
Toggle visibility of momentum difference histogram
Optional zero line reference
Trend Filter Settings
Use Trend Filter: Enable/disable trend-based signal filtering
Trend Method: Choose from SMA, EMA, Price Action, or ADX
Trend Length: Period for trend calculations (default: 50)
ADX Threshold: Minimum ADX value to confirm trend strength (default: 25)
Best Use Cases
✅ Pairs Trading: Identify divergences in momentum between correlated assets
✅ Crypto Market Analysis: Compare altcoin momentum against Bitcoin or Ethereum
✅ Stock Market Rotation: Track sector or index relative strength
✅ Forex Strength Analysis: Monitor currency pair momentum relationships
✅ Multi-Timeframe Confirmation: Use alongside other indicators for confluence
✅ Mean Reversion Strategies: Spot extreme momentum divergences for potential reversals
Visual Indicators
⚡ Cyan Line: Your chart symbol's momentum
⚡ Magenta Line: Comparison symbol's momentum
📊 Green/Pink Histogram: Momentum difference (positive = green, negative = pink)
▲ Green Triangle: Bullish trend detected (when filter enabled)
▼ Red Triangle: Bearish trend detected (when filter enabled)
◈ Yellow Diamond: Neutral/sideways trend (when filter enabled)
Pro Tips
💡 Look for crossovers between the momentum lines as potential trade signals
💡 Combine with volume analysis for stronger confirmation
💡 Use momentum divergence (price making new highs/lows while momentum doesn't) for reversal signals
💡 Enable trend filter during ranging markets to reduce false signals
💡 Experiment with different momentum types to find what works best for your trading style
Technical Requirements
TradingView Pine Script Version: v6
Chart Type: Works on all chart types
Indicator Placement: Separate pane (overlay=false)
Data Requirements: Needs access to comparison symbol data
Free Stock ScreenerMissing great trade opportunities is annoying, and unless you have 12 screens or only trade one market, you are missing a lot of trades. To fix that, we created this free stock screener so you get notified instantly of potential great trading conditions in real time, right on your chart.
You get notified of trading benchmarks being met by the value being displayed on the scanner as well as a color change so that it grabs your attention and makes you aware that you should take a look at the other market and look for a potential trade. It also has built in alerts so you can have an alert notification go off when any of your trading conditions are met instead of needing to watch the scanner for color changes.
The screener will change the ticker symbol background color to red green when price is above or below the previous daily range and above or below both VWAPs. This signals that the ticker is trending, which typically means it is a great time to trade that market and follow the trend.
This free stock screener allows you to scan up to 10 different markets at the same time for various different conditions so you always know what is going on with your favorite trading symbols. If you want to scan more tickers, just add the indicator to your chart again and change the table position to the other side of the screen and update the tickers on the 2nd screener, allowing you to have 20 tickers at a time.
The scanner can be fully customized by changing the markets that it screens and turning on or off as many of them as you would like. You can also turn on or off any of the different data sets so that you only get information about trading conditions that matter to you.
The screener can provide data on any type of market, such as stocks, crypto, futures, forex and more. Each ticker can be adjusted to whatever market you would like it to scan for data in the settings panel, the only limitation is that it will not provide data for the VWAP and volume trend score if the ticker you are screening does not provide volume data.
Screener Features
The scanner will provide the following types of data for each ticker that is turned on:
Volume - Provides a volume score compared to the average volume and notifies you of higher than normal volume and volume spikes on individual bars by changing colors.
Volatility - Provides a volatility score compared to the average volatility and notifies you of higher than normal volatility by changing colors.
Oscillator - Choose between the RSI or CCI. The value of that oscillator will be displayed and will notify you when values are in extreme ranges such as overbought or oversold conditions according to the threshold values you enter in the settings panel. When those thresholds have been breached, you will be notified by it changing color.
Big Candles - Compares the current candle to average previous candle sizes, and changes color to notify you of big candles including a big top wick, big bottom wick, big candle body and big candle high to low range.
Daily Level Touches & Trends - Calculates and displays various daily candle and intraday open price levels that act as support and resistance. Notifies you when price is touching any of the daily levels that are turned on. The levels you can have on are as follows: previous day high, previous day low or previous day open. It also will notify you when price is touching the current day’s open, NY 930am open, Asia 8pm open, London 2am open and NY midnight 12am open. It will also say “Above” if price is above the previous day’s high or it will say “Below” if price is below the previous day’s low. The color of the cell will also change when a level touch is happening or price is above the previous day high or below the previous day low.
VWAP - Choose from 2 different VWAP lengths, default settings are daily and weekly VWAPs. You will get notified if price touches either of the VWAPs and they will also say “Above” or “Below” if price is currently above or below each VWAP.
How To Use The Screener To Help You Trade
The main purpose of the screener is to scan other markets and notify you of potential good trading opportunities such as price bouncing off of the daily levels or VWAPs. It can also be used to know when price is trending according to the VWAPs and daily levels. Lastly, you can use it to know how the volume and volatility trends are currently which gives you more confidence in taking a trade with this data when volume and volatility are present.
Volume Score
When volume is high, this represents a good time to trade because there are many market participants and price is likely to be volatile while there is high volume which can present a lot of good trade setups for you to take.
The volume score shown on the screener measures the current volume trend compared to previous volume trends and calculates that into a score based on 100 being the same as the previous volume trend. So any value above 100 means it is high volume and any value less than 100 means it is lower volume than normal.
In the settings panel, you can adjust the volume threshold that needs to be met for a volume notification to show up. The default setting is at 120, so you will get notified when the current volume trend score is 120 or higher or you can adjust that threshold value to whatever value you prefer.
It also will notify you when there is a volume spike on the current bar. This is determined by calculating an average of the recent volume totals and then checking to see if the current bar is greater than or equal to that average multiplied by 3. So if a single bar has volume that is greater than 3 times what the average volume is, then you will get a notification that says “Spike” to make you aware of that volume spike.
The volume trend threshold, volume spike multiplier and lookback length for the average volume used in volume spike calculations can all be adjusted in the settings panel to fit your desired preferences.
Volatility Score
High volatility can mean it is a great time to trade because the market is moving quickly and providing large enough movements that you can get in and out in a short amount of time, while still accruing decent sized trade PnL.
The volatility score will calculate the current volatility for each market compared to previous conditions and then divide the current volatility by the average volatility to give you a volatility score. Anything over 100 means the market is decently volatile and you should look at that market to find potential trade setups to execute on. Anything below 100 means the market is not very volatile and it is usually best to just wait until volatility returns before you start trading again.
The screener will notify you when the volatility score is above the threshold you set. The default value is set to 90, but can be adjusted to your preference. Pay attention to any market that shows an alert and take a look at that chart because the high volatility may present a good trade setup for you in the near future.
Oscillator Score
The oscillator data can be switched between Relative Strength Index(RSI) and Commodity Channel Index(CCI).
The RSI provides a value between 0 and 100 that indicates the momentum and strength of the recent price action. Many traders use the extremes of the 0-100 range to signal overbought or oversold conditions and use that as a sign to look for price to reverse in the near future. The typical values used for this and the default settings to provide notifications are: 70 for overbought and 30 for oversold. The scanner will notify you when the RSI value is considered overbought or oversold so you know to take a look at the chart and analyze if it is ready for a trade to be taken.
The CCI provides a value that can be used to determine the trend strength of the underlying asset when the oscillator moves above 100 or below -100. These extreme values are outside of the normal accumulation range and signify that price is moving strongly in that direction so it may be a good time to take a trade in the direction of the trend. The scanner will show you the value of the CCI for each market and notify you if that value is above 100 or below -100.
Both RSI and CCI settings can be adjusted in the settings panel to your desired settings so you have the exact oscillator settings you prefer to use as well as the exact values that you want to use for being notified.
Big Candles
Big candles can mean that many traders are buying or selling at the same time and many times indicate a good signal to trade in that same direction. That is why we included this calculation in the screener, so you are always aware when a large candle prints.
It calculates the average size of the recent candles and then uses that average as the benchmark to determine if the current candle is considered big and worthy of notifying you to take a look at that chart.
You can adjust the multiplier used for the big candle threshold to whatever you desire, but the default setting is 3 which means the candle will be considered big and notify you if it is 3 times as large as an average candle.
The big candles data will track the following candle values and notify you with these labels:
High to Low candle size = HL
Candle Body from open to close candle size = OC
Top Wick size = TW
Bottom Wick size = BW
Daily Level Touches & Trend
Daily level touches are excellent levels to watch for price to bounce because they often act as support and resistance levels for intraday trading. The scanner will track each market and notify you when the current candle is touching any of the daily levels that you have turned on in the settings panel.
The main levels that are turned on by default and are useful for all markets and how they will be labeled on the scanner are as follows:
Previous Day High = High
Previous Day Low = Low
Previous Day Open = < Open
Previous Day Close = Close
Current Day Open = Open
We also included some extra levels that are useful for futures traders. They are as follows:
NY 930am Open = 930am
NY 12am Midnight Open = 12am
Asia Open at 8pm NY time = Asia
London Open at 2am NY Time = London
Watch how price reacts to these levels and then trade the bounces off of these levels if the price action confirms that it is going to respect that level.
When price is currently above the previous day high, the scanner will say “Above” and show a green color, indicating a bullish trend and that price is above the previous daily candle’s high.
When price is currently below the previous day low, the scanner will say “Below” and show a red color, indicating a bearish trend and that price is below the previous daily candle’s low.
Pay attention to when price is trending above or below the previous daily candle as those trends can provide excellent trend trading opportunities.
The daily levels that you have turned on in the settings will also show as lines on the chart and include a label next to them, identifying each level so you know what each line represents. You can turn on or off all of the lines shown on the chart in the main settings or turn them off one by one in the style panel of the settings. Labels can also be turned on or off for all of the lines in the main settings panel. You can adjust the label positioning in the Label Offset section of the settings panel.
VWAP Touches & Trend
VWAP stands for volume weighted average price and is a very popular tool that traders use to determine trend direction based on volume as well as an excellent level to trade price bounces off of.
The typical VWAP time period used is Daily, which means the volume weighted average price will reset at the beginning of a new day. We set the first VWAP to be the daily VWAP by default and the second one to be the weekly VWAP. You can adjust both of the time periods to be any of the provided time lengths that you choose.
The screener will show “Above” with a green background color when price is above the VWAP, indicating a bullish trend. It will show “Below” with a red background color when price is below the VWAP, indicating a bearish trend. When both VWAPs are showing Above or Below, you can expect price to trend in that direction, so look for pullbacks you can trade in the direction of the trend. If the VWAPs are showing different directions, then you should expect to bounce back and forth between the VWAPs, but be careful and watch out for price to break beyond either one and start a trend.
When the current candle is touching the VWAP, the scanner will change colors and say VWAP to notify you that price is touching the VWAP and you should look at that chart and analyze the market for a potential bounce off of the VWAP to trade.
Trending Market Signals
Strong trends are excellent markets to trade and can many times provide excellent trading opportunities that don’t require expert price action reading skills to be able to take winning trades from. That is why we included a signal to notify you of a strong trending market.
The strong trending market will show up as a green or red background color for the ticker name. If the color of the ticker name is green, it is notifying you that the price is above the previous daily high, above VWAP 1 and above VWAP 2 and is a good market to look for bullish trend trades. If the color of the ticker name is red, it is notifying you that the price is below the previous daily low, below VWAP 1 and below VWAP 2 and is a good market to look for bearish trend trades.
Changing The Tickers It Scans
To change the tickers that the indicator scans, scroll near the bottom of the settings panel and select the ticker symbol you want to update and then search for the exact symbol you want to use. If you want to scan less tickers, then just turn some of the tickers off that you don’t need.
Scanning More Than 10 Tickers
If you want to scan more than 10 tickers, you can add the scanner to your chart again and then just change the table position to the other side of the screen. This will allow you to scan 10 more tickers that will show up separately. Then if you want even more, just add the indicator to your chart again and update the table position until you have as many markets as you want. The table position setting can be found at the bottom of the main settings panel.
Alerts
The screener has alerts that can be used to notify you when any of the data set thresholds have been met or if price is touching one of the levels. You can set alerts for the following events:
Bullish Trend Alert - Price is above the previous daily high and above both VWAPs.
Bearish Trend Alert - Price is below the previous daily low and below both VWAPs.
High Volume Alert - Volume is higher than the threshold or a volume spike is detected.
High Volatility Alert - Volatility is higher than the threshold.
Oscillator Is Extended Alert - Oscillator value has exceeded the upper or lower threshold.
Big Candle Alert - A big candle has been detected.
Daily Level Touch Alert - One of the daily levels that is turned on is being touched.
VWAP Touch Alert - One of the 2 VWAPs are being touched.
An alert will trigger when any one of tickers on your scanner meets the alert conditions, so when you see the alert, you will need to go to your chart and look at the scanner to see which ticker it was and then navigate to that chart to look for potential trade setups.
The alerts will use the exact same settings you have configured in the settings panel to send you alert notifications. With normal settings, this could give you a lot of alerts, so if you only want alerts to fire when abnormal conditions are being met, try setting up a second screener on your chart that has very high threshold values and only has the most important level touches on. Then turn the setting "Do Not Show The Screener On The Chart" to off so the calculations will still run and fire alerts, but won't clog up your charts. This way you can only get alert notifications when major events happen but still have your normal screener settings available on your chart.
Markets This Can Be Used On
This screener uses the price action and volume data so you can use it to scan any type of market you would like as long as the ticker you are scanning has price and volume data feeds. If a market does not have volume data, then it will just show NaN in the volume row and the VWAP rows will not show anything.
50% Fib Trend Cloud + ATR BandsThis indicator plots two structural 50% fibonacci midpoints from recent confirmed 'left/right' swings that form a *cloud* of equilibrium, then adds a rolling 50% fibonacci range midpoint based on a lookback window that's wrapped in ATR bands. Importantly, it solves a specific trading problem:
Structural midpoints (macro context) are powerful but can lag when price escapes prior ranges. Enter rolling 50% fib + ATR ➡️ which restores real-time balance & tolerance (micro context). Together they show where price is balanced structurally, where it’s balanced right now, and how much volatility to tolerate before acting.
➖➖➖
🔑 Why this is different
Most tools either draw a single midpoint (ex., daily 50%) or ATR bands around a moving average. This script fuses dual swing-based 50% midpoints (structure) + a rolling 50% with ATR (flow), so you don’t lose context when price escapes prior ranges. The cloud tells you who’s in control (fast vs. slow structure). The rolling 50% + ATR tells you how far is “too far” now.
➖➖➖
🧠 What it does (at a glance)
🔸Structural Equilibrium × 2 (Fib1/Fib2)
Two independent 50% midpoints formed from swing pivots (configurable Left/Right bars + optional smoothing). Their gap is the Midpoint Cloud = structural “fair value” zone.
🔸Rolling 50% + ATR Bands
A rolling highest/lowest window computes an always-current 50% rolling midpoint plot; ±ATR × length envelopes define a soft value area and over-stretch boundaries.
🔸Actionable Visuals
Optional fill between Fib1/Fib2, labels, and candle-overlay modes to instantly read regime (above both / below both / between).
🔸Smart Defaults
Timeframe-aware presets for L/R pivots & smoothing; full manual overrides available.
➖➖➖
⚙️ Calculations (plain-English)
🔸Pivot midpoints (Fib1 & Fib2):
1) Detect a swing using `Left/Right` bars
2) Take the swing’s high/low → compute 50%
3) (Optional) Smooth the line (SMA) to stabilize on noisy TFs
4) Repeat with a different sensitivity to get two distinct midpoints
🔸Rolling midpoint:
Highest High / Lowest Low over the last *N* bars → (HH + LL) / 2
🔸ATR levels:
`Upper = Rolling50 + ATR × Mult`, `Lower = Rolling50 − ATR × Mult`
(Typical: ATR length 14–21; Multipliers 2.236 for L1, 5.382 for L2)
➖➖➖
🤖 Auto-Configured Presets (with Manual Override)
💡Goal: make the midpoints “just work” on common timeframes while still letting you dial them in.
💡How Auto Presets work
When Auto Presets = ON, the script picks sensible L/R/S (Left bars / Right bars / Smoothing) for Fib Trend 1 and Fib Trend 2 based on chart timeframe.
🔸Fib 1 (fast) emphasizes *micro-structure* for quicker bias shifts.
🔸Fib 2 (slow) emphasizes *macro-structure* for anchor/bias context.
These defaults keep Fib 1 responsive without jitter and Fib 2 stable without lag.
➡️ Turn Auto Presets = OFF to take full control with the manual inputs described below.
➖➖➖
🛠 Manual Fib Midpoint Settings (when Auto = OFF)
💡Each midpoint uses three knobs:
🔸Pivot Left (L): bars to the left that must be lower/higher to qualify a swing
🔸Pivot Right (R): bars to the right that must be lower/higher to confirm the swing
🔸Smoothing (S): SMA period applied to the raw 50% midpoint (stabilizes noise)
5-Minute optimized defaults
🔸Fib Trend 1: `L21 / R5 / S55` → responsive local structure (entries/exits, re-balancing zones)
🔸Fib Trend 2: `L55 / R13 / S89` → broader structure (trend context, anchors/stops)
Timeframe guidance
🔸1m–3m: may feel a touch laggy → consider ~`L13 / R3 / S34`
🔸15m–1h: defaults remain strong → optionally ~`L34 / R8 / S89`
🔸4h+ : increase span for stability → `L89–144 / R13–21 / S144–233`
➡️ Rule of thumb: shorter L/R = faster detection, longer S = smoother line. Tune until Fib 1 captures the “active swing” and Fib 2 captures the “dominant swing” without whipsaw.
➖➖➖
🎛 Inputs (quick reference)
🔸Fib Trend 1/2: Source (High/Low/Close), Left/Right bars, Smoothing length, Show/Hide, Cloud fill toggle
🔸Rolling 50%: Lookback length, Price basis (Wicks/Close/HLC3/OHLC4), Plot scope (Full / Last N / None)
🔸ATR Bands: ATR length, Multipliers (L1/L2), Plot scope, Line width/colors
🔸Overlay & Labels: Candle overlay mode, Label padding/size, 50% centerline toggle, Plot widths
➖➖➖
🖍️ Candle Coloring & Overlay Modes
💡Purpose: make trend instantly visible on the candles and ATR levels.
1) Color Logic (dropdown)
🔸 Fib Midpoints — Colors by position of price vs. Fib 1 & Fib 2
🔸ATR Zones — Colors by which ATR zone price is in relative to the Rolling 50%
➡️ Price Reference: Choose the input used for the decision (Close, HL2, OHLC3, OHLC4).
➡️Tip: Close is crisp; HL2/OHLC variants are smoother.
2) Overlay Style (dropdown)
🔸 None — No visual change to candles
🔸 Bar Color — Uses `barcolor()` to tint built-in candles (this takes into account your Trading View settings, for instance if you have wicks set to white, they will show up as white with this setting)
🔸 PlotCandles — Draws unified custom candles (body, wick, border) with the same color for maximum clarity
💡Practical use
🔸 Pick Fib Midpoints to read structural bias at a glance (above/below/between the cloud).
🔸 Pick ATR Zones to read value vs. stretch around the Rolling 50% (mean-reversion vs. trend extension).
➖➖➖
📘 How to use
A) Trend confirmation
- Strong bullish bias when price holds above both structural mids; strong bearish when below both.
- Use the Rolling 50% + ATR as a dynamic re-entry zone: pullbacks that respect ATR(L1) often continue the prevailing trend.
B) Transition / mean reversion
- Inside the Cloud (between Fib1 & Fib2) treat behavior as neutralization/re-balancing; range tactics tend to outperform momentum plays.
- In ranges, fades near ±ATR around the rolling 50% can mark short-term edges.
C) Breakout context
- When price leaves the Cloud, the Rolling 50% keeps you anchored so price never feels “floating.” A clean hold outside ATR(L1/L2) suggests regime strength; quick re-entries hint at traps.
➖➖➖
🖼 Chart examples
➡️ Each snapshot shows how the Cloud (structure) and the Rolling 50% + ATR (flow) work together.
1) 1-Minute Downtrend – Cloud as Dynamic Ceiling
- The Cloud slopes down; pullbacks repeatedly fail under the Cloud’s underside.
- Rolling 50% (dashed mid) + ATR(L1) act as a reversion band: rallies stall near upper ATR and rotate lower.
2) 15-Minute Persistent Drift – Structure Guides, Flow Times Entries
- Long drift lower with Cloud overhead.
- Consolidations near the rolling mid resolve in the trend direction; ATR bands frame risk on each attempt.
3) 15-Minute Uptrend (BTC) – From Cloud Escape to Value Stair-Step
- After escaping the prior Cloud, rolling 50% + ATR establish a new higher value area.
- Pullbacks into ATR(L1) produce orderly stair-steps; Cloud remains supportive on deeper dips
4) 5-Minute BTC – Pullback to Value then Rotate
- Strong leg up; retrace tags lower ATR band and rotates back toward the rolling mid.
- Labels (Fib1/Fib2) make the structural context explicit for decision-making.
➖➖➖
🧪 Starter presets
- Intraday (5–15m): Fib1 ~ L21/R5 (smooth 5), Fib2 ~ L55/R13 (smooth 9) • Rolling = 55 • ATR = 14 • L1 = 2.5x, L2 = 5.0x
- Scalping: Shorten lookbacks & smoothing; keep ATR multipliers similar, or tighten L1.
- Swing: Lengthen all lookbacks; consider ATR length 21–28.
➖➖➖
🏁Final Word
This script is not just a visual tool, it’s a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning signs of a reversal, this system is tuned to help you react with confidence — not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
---
💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.
Triple Gaussian Smoothed Ribbon [BOSWaves]Triple Gaussian Smoothed Ribbon – Adaptive Gaussian Framework
Overview
The Triple Gaussian Smoothed Ribbon is a next-generation market visualization framework built on the principles of Gaussian filtering - a mathematical model from digital signal processing designed to remove noise while preserving the integrity of the underlying trend.
Unlike conventional moving averages that suffer from phase lag and overreaction to volatility spikes, Gaussian smoothing produces a symmetrical, low-lag curve that isolates meaningful directional shifts with exceptional clarity.
Developed under the Adaptive Gaussian Framework, this indicator extends the classical Gaussian model into a multi-stage smoothing and visualization system. By layering three progressive Gaussian filters and rendering their interactions as a gradient-based ribbon field, it translates market energy into a coherent, visually structured trend environment. Each ribbon layer represents a progressively smoothed component of price motion, producing a high-fidelity gradient field that evolves in sync with real-time trend strength and momentum.
The result is a uniquely fluid trend and reversal detection system - one that feels organic, adapts seamlessly across timeframes, and reveals hidden transitions in market structure long before traditional indicators confirm them.
Theoretical Foundation
The Gaussian filter, derived from the Gaussian function developed by Carl Friedrich Gauss in 1809, operates on the principle of weighted symmetry, assigning higher importance to central price data while tapering influence toward historical extremes following a bell-curve distribution. This symmetrical design minimizes phase distortion and smooths without introducing lag spikes — a stark contrast to exponential or linear filters that sacrifice temporal accuracy for responsiveness.
By cascading three Gaussian stages in sequence, the indicator creates a multi-frequency decomposition of price action:
The first stage captures immediate trend transitions.
The second absorbs mid-term volatility ripples.
The third stabilizes structural directionality.
The final composite ribbon reflects the market’s dominant frequency - a smoothed yet reactive trend spine - while an independent, heavier Gaussian smoothing serves as a reference layer to gauge whether the primary motion leads or lags relative to broader market structure.
This multi-layered Gaussian framework effectively replicates the behavior of a signal-processing filter bank: isolating meaningful cyclical movements, suppressing random noise, and revealing phase shifts with minimal delay.
How It Works
Triple Gaussian Core
Price data is passed through three successive Gaussian smoothing stages, each refining the trend further and removing higher-frequency distortions.
The result is a fluid, continuously adaptive baseline that responds naturally to directional changes without overshooting or flattening key inflection points.
Adaptive Ribbon Architecture
The indicator visualizes its internal dynamics through a five-layer gradient ribbon. Each layer represents a progressively delayed Gaussian curve, creating a color field that dynamically shifts between bullish and bearish tones.
Expanding ribbons indicate accelerating momentum and trend conviction.
Compressing ribbons reflect consolidation and volatility contraction.
The smooth color gradient provides a real-time depiction of energy buildup or dissipation within the trend, making it visually clear when the market is entering a state of expansion, transition, or exhaustion.
Momentum-Weighted Opacity
Ribbon transparency adjusts according to normalized momentum strength.
As trend force builds, colors intensify and layers become more opaque, signifying conviction.
When momentum wanes, ribbons fade - an early visual cue for potential reversals or pauses in trend continuation.
Candle Gradient Integration
Optional candle coloring ties the chart’s candles to the prevailing Gaussian gradient, allowing traders to view raw price action and smoothed wave dynamics as a unified system.
This integration produces a visually coherent chart environment that communicates directional intent instantly.
Signal Detection Logic
Directional cues emerge when the smoother, broader Gaussian curve crosses the faster-reacting Gaussian line, marking structural inflection points in the filtered trend.
Bullish shifts : short-term momentum transitions upward through the long-term baseline after a localized trough.
Bearish shifts : momentum declines through the baseline following a local peak.
To maintain integrity in choppy markets, the framework applies a trend-strength and separation filter, which blocks weak or overlapping conditions where movement lacks conviction.
Interpretation
The Triple Gaussian Smoothed Ribbon provides a layered, intuitive read on market structure:
Trend Continuation : Expanding ribbons with deep color intensity confirm directional strength.
Reversal Phases : Color gradients flip direction, indicating a phase shift or exhaustion point.
Compression Zones : Tight, pale ribbons reveal equilibrium phases often preceding breakouts.
Momentum Divergence : Fading color intensity despite continued price movement signals weakening conviction.
These transitions mirror the natural ebb and flow of market energy - captured through the Gaussian filter’s ability to represent smooth curvature without distortion.
Strategy Integration
Trend Following
Engage during strong directional expansions. When ribbons widen and color gradients intensify, the trend is accelerating with high confidence.
Reversal Identification
Monitor for full gradient inversion and fading momentum opacity. These conditions often precede transitional phases and early reversals.
Breakout Anticipation
Flat, compressed ribbons signal low volatility and energy buildup. A sudden gradient expansion with renewed opacity confirms breakout initiation.
Multi-Timeframe Alignment
Use higher timeframes to establish directional bias and lower timeframes for entry during compression-to-expansion transitions.
Technical Implementation Details
Triple Gaussian Stack : Sequential smoothing stages produce low-lag, high-purity signals.
Adaptive Ribbon Rendering : Five-layer Gaussian visualization for gradient-based trend depth.
Momentum Normalization : Opacity dynamically tied to trend strength and volatility context.
Consolidation Filter : Suppresses false signals in low-energy or range-bound conditions.
Integrated Candle Mode : Optional color synchronization with underlying gradient flow.
Alert System : Built-in notifications for bullish and bearish transitions.
This structure blends the precision of digital signal processing with the readability of visual market analysis, creating a clean but information-rich framework.
Optimal Application Parameters
Asset Recommendations
Cryptocurrency : Higher smoothing and sigma for stability under volatility.
Forex : Balanced parameters for cycle identification and reduced noise.
Equities : Moderate Gaussian length for responsive yet stable trend reads.
Indices & Futures : Longer smoothing periods for structural confirmation.
Timeframe Recommendations
Scalping (1 - 5m) : Use shorter smoothing for fast reactivity.
Intraday (15m - 1h) : Mid-length Gaussian chain for balance.
Swing (4h - 1D) : Prioritize clarity and opacity-driven trend phases.
Position (Daily - Weekly) : Longer smoothing to capture macro rhythm.
Performance Characteristics
Most Effective In :
Trending markets with recurring volatility cycles.
Transitional phases where early directional confirmation is crucial.
Less Effective In:
Ultra-low volume markets with erratic tick data.
Random, micro-chop conditions with no structural flow.
Integration Guidelines
Pair with volatility or volume expansion tools for enhanced breakout confirmation.
Use ribbon compression to anticipate volatility shifts.
Align entries with gradient expansion in the dominant color direction.
Scale position size relative to opacity strength and ribbon width.
Disclaimer
The Triple Gaussian Smoothed Ribbon – Adaptive Gaussian Framework is designed as a signal visualization and trend interpretation tool, not a standalone trading system. Its accuracy depends on appropriate parameter tuning, contextual confirmation, and disciplined risk management. It should be applied as part of a comprehensive technical or algorithmic trading strategy.
Trend Candle CounterComplete Tutorial: Trend Candle Counter Pine ScriptTable of Contents
Installation Guide
Understanding the Indicator
How It Works
Customization Options
Trading Strategies
Setting Up Alerts
Troubleshooting
1. Installation Guide {#installation}Step-by-Step Installation:Step 1: Open TradingView
Go to www.tradingview.com
Log in to your account
Step 2: Access Pine Editor
Click on "Pine Editor" tab at the bottom of the chart
Or press Alt + E (Windows) or Option + E (Mac)
Step 3: Create New Indicator
Click "Open" → "New blank indicator"
Delete any default code
Step 4: Paste the Script
Copy the entire Trend Candle Counter script
Paste it into the editor
Step 5: Save and Apply
Click "Save" (or Ctrl + S)
Give it a name: "Trend Candle Counter"
Click "Add to Chart"
✅ Done! The indicator should now appear on your chart.2. Understanding the Indicator {#understanding}What Does It Do?This indicator numbers each candle based on the current trend: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Trend TypeNumberingVisualUptrend+1, +2, +3, +4...🟢 Green labelsDowntrend-1, -2, -3, -4...🔴 Red labelsTrend ChangeResets to ±1Label color switchesVisual Components:
Candle Labels - Numbers above each candle
Trend Line (EMA) - Green (up) / Red (down)
Background Shading - Light green/red tint
Info Table - Top-right corner showing:
Current trend direction
Current candle number
Current price
3. How It Works {#how-it-works}Trend Detection Logic:IF Close > EMA → UPTREND (positive counting)
IF Close < EMA → DOWNTREND (negative counting)
Counting Mechanism:Example Uptrend:Candle 1: Close > EMA → Label: +1
Candle 2: Close > EMA → Label: +2
Candle 3: Close > EMA → Label: +3
Candle 4: Close < EMA → Label: -1 (trend changed!)
Example Downtrend:Candle 1: Close < EMA → Label: -1
Candle 2: Close < EMA → Label: -2
Candle 3: Close < EMA → Label: -3
Candle 4: Close > EMA → Label: +1 (trend changed!)
Key Insight:The higher the absolute number, the longer the trend has been running!4. Customization Options {#customization}Accessing Settings:
Click the gear icon ⚙️ next to the indicator name
Go to "Inputs" tab
Available Parameters: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}ParameterDefaultDescriptionRecommendationTrend Detection Length14EMA period for trend5-10: Scalping14-20: Day trading50-200: Swing tradingShow Candle Numbers✅ YesDisplay labelsDisable for cleaner chartLabel SizeSmallSize of numbersTiny: Multi-timeframeLarge: Focus on one chartUptrend ColorGreenPositive number colorCustomize to preferenceDowntrend ColorRedNegative number colorCustomize to preferenceOptimization by Trading Style:For Scalpers (1m - 5m charts):Trend Detection Length: 5-10
Label Size: Tiny
Show Labels: Optional (can be cluttered)
For Day Traders (15m - 1h charts):Trend Detection Length: 14-20
Label Size: Small
Show Labels: Yes
For Swing Traders (4h - Daily charts):Trend Detection Length: 50-100
Label Size: Normal
Show Labels: Yes
5. Trading Strategies {#strategies}Strategy 1: Trend Reversal TradingEntry Signals:
Buy: When counter changes from negative to +1
Sell: When counter changes from positive to -1
Confirmation:
Wait for +2 or -2 to confirm trend strength
Use additional indicators (RSI, MACD) for validation
Example:Candle: -5, -6, -7, -8, +1, +2 ← BUY HERE
Stop Loss: Below the -8 candle low
Target: When counter reaches +8 to +10
Strategy 2: Trend Continuation TradingEntry Signals:
Buy: Enter on pullbacks during uptrend (e.g., at +3, +5, +7)
Sell: Enter on bounces during downtrend (e.g., at -3, -5, -7)
Risk Management:
Avoid entering at high numbers (+15, -15) - trend may be exhausted
Example:Candle: +1, +2, +3 ← Small pullback, BUY
Continue: +4, +5, +6, +7
Exit: When counter resets to -1
Strategy 3: Trend Exhaustion DetectionWarning Signs:
Counter reaches +10 or higher → Uptrend may be overextended
Counter reaches -10 or lower → Downtrend may be overextended
Action:
Tighten stop losses
Take partial profits
Watch for reversal patterns (doji, engulfing)
Strategy 4: Multi-Timeframe AnalysisSetup:
Add indicator to 3 timeframes (e.g., 15m, 1h, 4h)
Look for alignment
Best Trades:15m: +1 (new uptrend)
1h: +5 (established uptrend)
4h: +3 (strong uptrend)
→ HIGH PROBABILITY BUY
6. Setting Up Alerts {#alerts}Built-in Alert Conditions:The script includes 2 automatic alerts:
"Uptrend Started" - Triggers when counter = +1
"Downtrend Started" - Triggers when counter = -1
How to Set Up Alerts:Step 1: Right-click on chart
Select "Add Alert"
Step 2: Configure Alert
Condition: Select "Trend Candle Counter"
Choose: "Uptrend Started" or "Downtrend Started"
Options:
Once per bar close (recommended)
Webhook URL (for automation)
Step 3: Notification Settings
✅ Popup
✅ Send email
✅ Push notification (mobile app)
✅ Play sound
Step 4: Create Alert
Click "Create"
Custom Alert Ideas:Alert for Specific Candle Numbers:
Notify when counter reaches +5 or -5
Notify when counter exceeds +10 or -10 (exhaustion)
7. Troubleshooting {#troubleshooting}Common Issues & Solutions:Issue 1: Labels are too cluttered
Solution:
Disable "Show Candle Numbers" in settings
Use larger timeframe
Reduce label size to "tiny"
Issue 2: Too many false signals
Solution:
Increase "Trend Detection Length" (e.g., 20, 50)
Wait for +2 or -2 confirmation
Combine with other indicators
Issue 3: Trend line doesn't match price action
Solution:
Adjust EMA length to match your trading style
Consider using different trend detection (SMA, HMA)
Issue 4: Indicator not showing on chart
Solution:
Check if it's in a separate pane - move to main chart
Refresh the page
Re-add the indicator
Issue 5: Counter seems delayed
Solution:
This is normal - indicator confirms on candle close
For faster signals, use lower timeframe
Reduce EMA length (but expect more noise)
8. Advanced Tips 💡Combining with Other Indicators:Best Combinations:
RSI + Trend Candle Counter
Buy at +1 when RSI > 50
Sell at -1 when RSI < 50
MACD + Trend Candle Counter
Confirm +1 with MACD bullish crossover
Confirm -1 with MACD bearish crossover
Volume + Trend Candle Counter
Strong trends (+1) should have increasing volume
Low volume at high numbers (+10) = exhaustion
Reading Market Psychology: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Counter ValueMarket Psychology+1 to +3Early adopters entering+4 to +7Momentum building+8 to +12FOMO phase+13+Extreme greed - caution!-1 to -3Early sellers-4 to -7Panic building-8 to -12Capitulation-13+Extreme fear - reversal likely9. Real Trading Example 📊Scenario: BTC/USD 1H ChartTime | Counter | Action
--------|---------|----------------------------------
10:00 | -8 | Downtrend established
11:00 | -9 | Still falling
12:00 | -10 | Exhaustion zone - watch closely
13:00 | +1 | ✅ BUY SIGNAL - Trend reversal!
14:00 | +2 | Confirmation - trend valid
15:00 | +3 | Hold position
16:00 | +4 | Add to position (optional)
17:00 | +5 | Move stop loss to breakeven
...
22:00 | +11 | Take partial profits
23:00 | +12 | Tighten stop loss
00:00 | -1 | ❌ EXIT - Trend reversed
ICT Multi-Timeframe Market Structure Tracker [SwissAlgo]ICT Multi-Timeframe Market Structure Tracker
Tracks the ICT market structure across three core timeframes (1-Week, 1-Day, 1-Hour) simultaneously.
----------------------------------------------------------------------
Why this Indicator?
You know market structure matters, whether you trade stocks, Forex, commodities, or crypto.
You've studied ICT concepts - " Change of Character ", " Break of Structure ", " Premium/discount zones ". You understand that multi-timeframe alignment is where the edge lives.
But here's what's probably happening while you apply the ICT concepts for your trading decisions:
You're manually drawing structural highs and lows across three timeframes
You're calculating Fibonacci retracements by hand for each timeframe
You're switching between weekly, daily, and hourly charts, trying to remember where each pivot was, trying to detect the critical events you're waiting for
By the time you've mapped it all out, the setup is gone. Or worse, you missed that the 1-hour just broke the structure while you were checking the weekly bias.
What about seeing all three timeframes at once instead? You need to know immediately when the price enters a premium or discount zone. You need alerts that fire when structure breaks or character changes - across all timeframes - without babysitting your screen.
----------------------------------------------------------------------
The Indicator, at a Glance
This indicator:
tracks ICT market structure across three core timeframes (1-Week, 1-Day, 1-Hour) simultaneously .
automatically plots Fibonacci retracement levels from your defined structural pivots
monitors price position (during retracements) in real-time
sends consolidated alerts when actionable events occur on any timeframe
The 1-Week View: Mid-Term Trend Bias for lower timeframes
The 1-Day View: Swings nested within the 1-Week Structure
The 1-Hour View: Swings nested within the 1-Day Structure
One glance tells you:
* Current trend direction per timeframe
* Exact Fib zone price is trading right now
* Whether the structure just broke or the character changed
* If you're in a potential long/short setup zone
The indicator helps you reduce chart-hopping, manual calculations, and minimize the missed structural shifts.
----------------------------------------------------------------------
Who is this for?
This tool is built for day traders who understand ICT concepts and need efficient multi-timeframe structure tracking. If you know what a Change of Character is, why 0.382-0.5 retracements matter in uptrends, and how to trade external structure, this indicator eliminates the manual structure tracking so you can focus on confirming and executing your trading tactics.
New to ICT? This indicator assumes foundational knowledge of the Inner Circle Trader methodology developed by Michael J. Huddleston. Before using this tool, familiarize yourself with concepts like market structure breaks, premium/discount arrays, and liquidity engineering. The ICT framework offers a unique perspective on institutional order flow and price action - but this indicator is designed for those already applying these concepts, not learning them for the first time.
Critical Skill Required : You must understand the difference between external structure (key swing highs/lows that define market direction) and internal structure (minor fluctuations within the range).
Selecting incorrect pivots - such as marking internal noise instead of true structural points - will generate false signals and undermine the entire analysis. This indicator tracks structure based on YOUR inputs. If those inputs are wrong, every Fibonacci level, alert, and bias signal will be wrong. Learn to identify clean structural breaks before using this tool.
Trading Experience Matters: This tool tracks structure and fires alerts, but interpreting those signals requires understanding context, confluences, and risk management. If you're early in your trading journey, consider this a professional-grade instrument that becomes powerful once you have the conceptual foundation to use it effectively.
----------------------------------------------------------------------
How It Works
Step 1: Define Your Structure
You, the ICT expert or student, define the structural high and low for each timeframe, with their exact dates. This empowers you to control the analysis.
Based on your entries, the indicator establishes trend direction by timeframe and calculates Fibonacci retracement levels automatically.
* Structural High/Low: Key swing points that define external structure per ICT methodology
* Auto-Validation: Built-in autoscan feature confirms your pivot entries match actual price extremes
* Deterministic Behavior: Date stamps ensure the indicator behaves consistently across all sessions
Step 2: Monitor The Tables
Two tables provide a structural context:
Multi-Timeframe Analysis Table (top-right):
Current close, high, low, and 0.5 Fib for all three timeframes
Trend direction (↑/↓)
Days since structure established (i.e., "age" or maturity)
Current Fibonacci zone
Real-time alerts: Trend changes, breakouts, and trade bias signals
Detailed Fibonacci Table (middle-right):
All nine Fib retracement levels (1.0 to 0.0) for the selected timeframe
Exact price at each level
Percentage distance from current price
Visual marker showing current position
Step 3: Monitor The Chart
Visual elements show structure at a glance:
Fibonacci Retracement Zones: Color-coded bands show premium (red), discount (green), and equilibrium (gray) areas based on trend direction
Structural Lines: Red (high) and green (low) horizontal lines mark your defined pivots with automatic fill showing the current range (based on higher timeframe pivots)
Pivot Dots: Optional small markers highlight potential structural turning points on your current timeframe (reference only - always validate pivots yourself)
Trend Indicator: Top-center banner displays the selected timeframe's current trend
Auto-pivot points
Step 4: Get Alerts and Decide the Way Forward
Set one alert on the 1-hour chart only (if you set the alert on other timeframes, you may get delayed feedback).
You'll receive notifications when ANY of these events occur on ANY timeframe:
* Change of Character (ChoC): Trend reversal confirmed by price breaking the opposite structural level
* Break of Structure (BoS): Continuation confirmed by price breaking the same-direction structural level
* Trade Bias Signals: Price entering key Fibonacci zones (0.382-0.5 for longs in uptrend, 0.5-0.618 for shorts in downtrend, with + and ++ variants for deeper retracements)
* Reversal Warnings: Price entering extreme zones (0.882-1.0 or 0.0-0.118), suggesting potential trend exhaustion and reversal towards the opposite direction
All alerts fire once per bar close with a consolidated message showing which timeframes triggered and what conditions were met.
----------------------------------------------------------------------
Understanding the 3 Timeframes Hierarchy
The three timeframes may be conceived as nested layers of structure:
* 1-Week (Macro Bias) : May help you determine your core directional bias (long/short) in a mid-term perspective. The 1-Week TF may operate as your highest-conviction filter and help you contextualize shorter-term market moves (which may align or misalign with the trend appearing on such a timeframe).
* 1-Day (Swing Structure) : Operates within the weekly range. The daily structure can contradict the weekly structure temporarily (due to retracements, consolidations). This is where you may identify intermediate swing opportunities.
* 1-Hour (Execution Structure) : Operates within the daily range. It may help you identify entry timing and short-term bias. Can show opposite trends during retracements, and some traders look for alignment with higher timeframes as part of their setup criteria.
Example: Weekly uptrend (bullish bias) → Daily pulls back into downtrend (retracement phase) → Hourly shows uptrend resumption (this may be interpreted as an entry signal). All three trends can differ simultaneously, but when all three align (in one direction or another), you may start evaluating your moves.
----------------------------------------------------------------------
Using the Tool effectively
When this indicator signals a potential setup (entering key Fibonacci zones, structure breaks, or bias shifts), treat it as a starting point for deeper analysis, not a direct entry signal.
Before executing, consider using additional tools to refine timing:
Fair Value Gaps (FVG) : Identify imbalances where the price moved too quickly, leaving potential fill zones
Order Blocks : Locate the last opposing candle before a strong move - often institutional entry points
Liquidity Zones : Map where stop losses likely cluster (equal highs/lows, round numbers)
Premium/Discount Confirmation: Verify you're buying at a discount or selling at a premium relative to the current range
Session Timing/Kill Zones : Align entries with high-liquidity sessions (London/New York opens)
This indicator shows you where the structure sits and when it shifts. Your job is to combine that context with precise entry models. The alerts narrow your focus to high-probability zones - then you apply your edge within those zones.
----------------------------------------------------------------------
How to Set Up Alerts
This indicator monitors all three timeframes simultaneously and fires consolidated alerts when any condition triggers. Follow these steps to configure alerts properly:
Step 1: Set Your Chart to the 1-Hour Timeframe
Alerts must be created on the 1-hour chart for optimal timing
Do not use higher timeframes (4H, 1D, 1W) or alerts may be delayed
Lower timeframes (15M, 5M) will work but may generate more frequent notifications
Step 2: Open the Alert Menu
Click the "Alert" button (clock icon) in the top toolbar
Or use keyboard shortcut: Alt+A (Windows) / Option+A (Mac)
Step 3: Configure Alert Settings
Condition: Select "ICT Multi-Timeframe Market Structure Tracker "
Alert Type: Choose "Any alert() function call"
Options: Select "Once Per Bar Close"
Expiration: Set to "Open-ended alert" (no expiration)
Alert Name: Choose a descriptive name (e.g., "BTC Market Structure Alerts")
Step 4: Configure Notifications
Notification Methods: Check your preferred channels (app notification, email, webhook, etc.)
Sound: Optional — choose alert sound if desired
Step 5: Create Alert
Click the "Create" button
Alert is now active and will monitor all three timeframes
Important Notes:
You only need ONE alert setup total — it monitors 1W, 1D, and 1H simultaneously
Alert messages show which timeframe(s) triggered and what conditions were met
Alerts fire once per bar close to avoid mid-bar noise
If you change your structural pivot inputs, the alert continues working with new parameters
Example Alert Message:
BTC Market Structure Alert:
🟢 1D Bullish BoS
📈 1H Long Setup (0.382-0.5)
This tells you the 1-Day broke structure bullishly AND the 1-Hour entered a long setup zone — both events happened on the same bar close.
----------------------------------------------------------------------
Key Features
* Tracks 1-Week, 1-Day, and 1-Hour structure simultaneously
* Automatic Fibonacci retracement calculation (9 levels + extensions up or down, depending on timeframe trend)
* Real-time Change of Character and Break of Structure detection
* Color-coded premium/discount zone visualization
* Multi-condition alerts across all timeframes (single alert setup required)
* Autoscan validation to confirm manual pivot entry accuracy
* Timezone-adjustable for global markets
----------------------------------------------------------------------
Important Notes
* Requires ICT Knowledge: This is not a plug-and-play system. Understanding market structure, liquidity concepts, and Fibonacci confluence is essential for effective use.
* Manual Structure Definition: You define the structural pivots. The indicator tracks and alerts - it doesn't make trading decisions.
* Chart Timeframe: Set alerts on the 1-hour chart for optimal timing across all three monitored timeframes.
----------------------------------------------------------------------
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial, investment, or trading advice.
The indicator:
* Makes no guarantees about future market performance
* Cannot predict market movements with certainty
* May generate false indications
* Relies on historical patterns that may not repeat
* Should not be used as the sole basis for trading decisions
Users are responsible for:
* Conducting independent research and analysis
* Understanding the risks of trading
* Making their own investment/divestment decisions
* Managing position sizes and risk exposure appropriately
Trading involves substantial risk and may not be suitable for all investors. Past performance does not guarantee future results. Users should only invest what they can afford to lose and consult qualified professionals before making financial decisions. The indicator’s assumptions may be invalidated by changing market conditions.
By using this tool, users acknowledge these limitations and accept full responsibility for their trading decisions.
Relative Performance Indicator - TrendSpider StyleRelative Performance Indicator - TrendSpider Style
📈 Overview
This Relative Performance (RP) indicator measures how your stock is performing compared to a benchmark index, displayed as a percentile ranking from 0-100. Based on TrendSpider's methodology, it answers the critical question: "Is this stock a leader or a laggard?"
Unlike simple ratio charts, this indicator uses percentile ranking to normalize relative performance, making it easy to identify when a stock is showing exceptional strength (>80) or concerning weakness (<20) compared to its historical relationship with the benchmark.
✨ Key Features
Three Calculation Modes:
Quarterly: 3-month relative performance for swing trading
Yearly: Weighted 4-quarter performance for position trading
TechRank: Composite of 6 technical indicators for multi-factor analysis
Clean Visual Design:
Green fills above 80 (strong outperformance)
Red fills below 20 (significant underperformance)
Dotted median line at 50 for quick reference
Current value label for instant reading
Flexible Benchmarks:
Compare against major indices (SPY, QQQ, IWM)
Sector ETFs for within-sector analysis
Custom symbols for specialized comparisons
Built-in Alerts:
Strong performance zone entry (>80)
Weak performance zone entry (<20)
Median crossovers (50 level)
📊 How To Use
Buy Signals:
RP crosses above 80: Stock entering leadership status
RP holding above 60: Maintaining relative strength
RP rising while price consolidating: Accumulation phase
Sell/Avoid Signals:
RP drops below 50: Losing relative strength
RP below 20: Significant underperformance
RP falling while price rising: Bearish divergence
Sector Rotation:
Compare multiple assets to find strongest sectors
Rotate into high RP assets (>70)
Exit low RP positions (<30)
🎯 Reading The Values
80-100: Exceptional outperformance - Strong buy/hold
60-80: Moderate outperformance - Hold positions
40-60: Market perform - No edge
20-40: Underperformance - Caution/reduce
0-20: Severe underperformance - Avoid/exit
⚙️ Calculation Method
Calculates percentage performance of both your stock and the benchmark
Finds the performance differential
Ranks this differential against historical values using percentile analysis
Normalizes to 0-100 scale for easy interpretation
This percentile approach adapts to different market conditions and volatility regimes, providing consistent signals whether in trending or choppy markets.
💡 Pro Tips
For Growth Stocks: Use quarterly mode with QQQ as benchmark
For Value Stocks: Use yearly mode with SPY as benchmark
For Small Caps: Compare against IWM, not SPY
For Sector Analysis: Use sector ETFs (XLK, XLF, XLE, etc.)
Combine with Price Action: High RP + price breakout = powerful signal
⚠️ Important Notes
RP is relative, not absolute - stocks can fall with high RP if the market falls harder
Choose appropriate benchmarks for meaningful comparisons
Best used in conjunction with price action and volume analysis
Historical lookback period affects sensitivity (adjustable in settings)
🔧 Customization
Fully customizable visual settings, thresholds, calculation periods, and smoothing options. Adjust the normalization lookback period (default 252 days) to fine-tune sensitivity to your trading timeframe.
📌 Credit
Inspired by TrendSpider's Relative Performance implementation, adapted for TradingView with enhanced customization options and Pine Script v6 optimization.
Tags to include: relativeperformance, relativestrength, percentile, ranking, sectorrotation, benchmark, outperformance, trendspider, marketbreadth, strengthindicator
Category: Momentum Indicators / Trend Analysis
Feel free to modify this description to match your style or add any specific points you want to emphasize!






















