Reversal Signals [LuxAlgo]The Reversal Signals indicator is a technical analysis tool that aims to identify when a trend is fading and potentially starting to reverse.
As a counter-trend tool, the Reversal Signals indicator aims to solve the problem of several technical analysis indicators that perform well during trending markets but struggle in ranging markets. By understanding the key concepts and applications of the tool, traders can enhance their market timing and improve their trading strategies.
Note: It's important to explore the settings of the indicator to customize to your own usage & display as there are various options available as covered below.
🔶 USAGE
The Reversal Signals indicator is comprised of two main phases: Momentum Phase and Trend Exhaustion Phase . These phases help identify potential trend reversals in bullish, bearish, and ranging markets.
🔹The Momentum Phase
The momentum phase consists of a 9-candle count and in rare cases 8-candle count. In a bullish trend, a starting number ‘1’ is plotted if a candle closes higher than the close of a candle four periods ago. In a bearish trend, a starting number ‘1’ is plotted if a candle closes lower than the close of a candle four periods ago.
The following numbers are plotted when each successive candle satisfies the four-period rule. The potential reversal point comes when the Reversal Signals plot a label on top of a candle in a bullish trend or at the bottom of a candle in a bearish trend. The momentum phase is immediately canceled if, at any point, a candle fails to satisfy the four-period rule.
Based on the extremes of the momentum phase, the Reversal Signals generate support & resistance levels as well as risk/stop levels.
🔹 The Trend Exhaustion Phase
The trend exhaustion phase starts after completing the momentum phase and consists of a 13-candle count. In a bullish trend exhaustion phase, each candle’s close is compared to the close of two candles earlier, and the close must be greater than the close two periods earlier. In a bearish trend exhaustion phase, each candle’s close is compared to the close of two candles earlier, and the close must be lower than the close two periods earlier.
The trend exhaustion phase does not require a consecutive sequence of candles; if the order of candles is interrupted, the trend exhaustion phase is not canceled. The trend exhaustion phase generates stronger trading signals than the momentum phase, with the potential for longer-lasting price reversals.
🔹 Trading Signals
The Reversal Signals script presents an overall setup and some phase-specific trade setup options, where probable trades might be considered. All phase-specific trade setups, presented as options, are triggered once the selected phase is completed and followed by a price flip in the direction of the trade setup.
Please note that those setups are presented for educational purposes only and do not constitutes professional and/or financial advice
- Momentum: Enter a trade at momentum phase completion, and search for buy (sell) when the bullish (bearish) momentum phase pattern is complete. Ideally, the momentum phase completion should close near its support/resistance line but shall not be above them, which indicates continuation of the trend
- Exhaustion: Enter a trade on trend exhaustion phase completion, and search for buy (sell) when the bullish (bearish) trend exhaustion phase is complete
- Qualified: Buy (sell) when a bullish (bearish) trend exhaustion phase combined with another bullish (bearish) momentum phase sequence is complete
Long trade setups are presented with "L" label and short trade setups with "S" label, where the content of the label displays details related to the probable trade opportunity
Once a phase-specific trade setup is triggered then the Reversal Signals script keeps checking the status of the price action relative to the phase-specific trade setups and in case something goes wrong presents a caution label. Pay attention to the content of the caution labels as well as where they appear. A trade signal, followed immediately by a warning indication can be assumed as a continuation of the underlying trend and can be traded in the opposite direction of the suggested signal
It is strongly advised to confirm trading setups in conjunction with other forms of technical and fundamental analysis, including technical indicators, chart/candlestick pattern analysis, etc.
🔶 DETAILS
The Reversal Signals script performs the detection of the phases by counting the candlestick meeting the specific conditions, which includes:
- Detection of the 8th and 9th candle perfection during the momentum phase
- In some cases, the 8th count will be assumed as momentum phase completion
- Trend exhaustion phase counting stops in case any type of momentum phase completion is detected during the counting process
- Postponing the last count of the trend exhaustion phase, the 13th candle must be below/above the 8th candle and if not the candles will be indicated with '+' sign under them and the script continues to search for a 13th candle at the next ones until the conditions are met
🔶 ALERTS
When an alert is configured, the user will have the ability to be notified in case;
Momentum / Trend Exhaustion phase completion
Support & Resistance level cross detection
Stop / Risk level cross detection
Long / Short Trade Setups are triggered
Please note, alerts are available with 'any alert() function call' and the alerts will be received only for the features that are enabled during alert configuration
🔶 SETTINGS
🔹 Momentum Phase
Display Phases: displays the momentum phases, where the Completed option allows the display of only completed momentum phases. The detailed option allows the display of the entire process of the momentum phase processes
Support & Resistance Levels: Toggles the visibility of the Support & Resistance Levels and Line Styling options
Momentum Phase Risk Levels: Toggles the visibility of the momentum phase Stop/Risk Levels and Line Styling options
For color options please refer to the options available under the style tab
🔹 Trend Exhaustion Phase
Display Phases: displays the trend exhaustion phases, where the Completed option allows the display of only completed trend exhaustion phases. The detailed option allows the display of the entire process of the trend exhaustion phase processes
Trend Exhaustion Phase Risk Levels: Toggles the visibility of the trend exhaustion phase Stop/Risk Levels
Trend Exhaustion Phase Target Levels: Toggles the visibility of the trend exhaustion phase Target Levels
For color options please refer to the options available under the style tab
🔹 Trade Setups
Overall Trend Direction & Trade Setup: displays the overall trend and probable trade setup levels, the users should search for a price flip and confirm with other means of technical and fundamental analysis for the trade setups once the label is plotted
Phase-Specific Trade Setup Options
Momentum: Searches for a trade setup after momentum phase completion
Exhaustion: Searches for a trade setup after trend exhaustion phase completion, stronger trend reversal possibility compared to momentum phase setup
Qualified: Searches for a trade setup after the trend exhaustion phase followed by a momentum phase completion
None: No trade setups are presented
Price Flips against the Phase Specific Trade Setups: enables checking the price action relative to the phase-specific trade setups
🔶 RELATED SCRIPTS
Here are the scripts that may add additional insight during potential trading decisions.
Buyside-Sellside-Liquidity
Support-Resistance-Classification
在腳本中搜尋"liquidity"
Volatility Weighted Moving Average + Session Average linesHi Traders !
Just finished my Y2 university finals exams, and thought I would cook up a quick and hopefully useful script.
VWAP + Session Average Lines :
Volatility Weighted Average Price in the standard case is a trading indicator that measures the average trading price for the user defined period, usually a standard session (D timeframe), & is used by traders as a trend confirmation tool.
This VWAP script allows for altering of the session to higher dimensions (D, W, M) or those of lower dimension (H4, or even H1 timeframes), furthermore this script allows the lookback of data to be switched from the standard session to a user defined amount of bars (e.g. the VWAP of 200 bars as opposed to the VWAP of a standard session which contains 95 bars in M15 timeframe for 24/7 traded assets e.g. BTCUSD), lastly this script plots Session VWAP Average Lines (if true in settings) so tradaes can gauge the area of highest liquidity within a session, this can be interpreted as the fair price within a session. If Average lines are increasing and decreasing consistently like a monotonic function this singles traders interest is at higher / lower prices respectively (Bullish / Bearish bias respectively ?), However if Average lines are centered around the same zones without any major fluctuations this signals a ranging market.
VWAP calculation :
VWAP is derived from the ratio of the assets value to total volume of transactions where value is the product of typical price (Average of high, low and close bars / candles) and corresponding bar volume, value can be thought of as the dollar value traded per bar.
How is VWAP used by Institutions / Market movers :
For some context and general information, VWAP is typically used by Market movers (e.g. Hedge funds, Mutual funds ,..., ...) in their trade execution, as trading at the VWAP equals the area of highest market volume, trading in line with the volume of the market reduces transaction costs by minimizing market impact (extra liquidity lowers spreads and lag time between order fills), this overall improves market efficiency.
In my opinion the script is best used with its standard settings on the M15 timeframe, note as of now the script is not functional on certain timeframes, however this script is not intended to be used in these timeframes, i will try fix this code bug as soon as possible.
Inside Bars (Multiple / Consecutive)Description
When an inside bar is found, the indicator remembers the high and low (= range) of the candle before the inside bar.
As long as price moves within the range, every bar is highlighted as an inside bar to the range.
Purpose
The indicator can assist when identifying valid pullbacks and buy-side liquidity (BSL) / sell-side liquidity (SSL).
QQQ Fair Value BandsThis is similar to the SPX Fair Value Bands indicator, but for QQQ.
It is based on the Net Liquidity model:
Net Liquidity = FED - RRP - TGA
Detect BOS in Five Candles with MTF - Alert [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
*This indicator is based on azmathshah's "Last Three Candles each of Two HTF".
It's a very cool indicator. thank you.
You can detect trend reversal with candlesticks.
It's MTF compatible and can display up to 2 sets of 5 candles of any time frame on the right side of the chart.
By displaying the candles of the upper time frame bars, you can check the trend change and measure the entry timing with the lower time frame bars.
There are two types of alerts.
"Liquidity Sweep": This is an alert when the upper beard (high) of ③ is touched with the next foot.
"Candle Close": An alert when the upper whisker (high) of ③ is exceeded by the closing price of the next bar (generally a strong signal)
-------------------------
ローソク足でトレンド転換を検知するインジケーターです。
MTF対応となっておりチャートの右側に任意タイムフレームのローソク5本を最大2セット表示できます。
上位足のローソクを表示することにより、トレンド転換確認しながら、下位足でエントリータイミングを計ることができます。
アラートは2種類あります。
"Liquidity Sweep":③の上ヒゲ(high)を次の足でタッチした場合のアラートです
"Candle Close":③の上ヒゲ(high)を次の足の終値で上回った場合のアラートです(一般的には強力なシグナルとなります)
Stock Data Table█ OVERVIEW
This is a table that shows some information about stocks. It is divided into four sections:
1) Correlation
2) Shares
3) Daily Data
4) Extended Session Data
The table is completely modular, which means you can add or remove each element from the settings menu, and it will automatically rearrange its spaces.
It is also highly customizable, to the extent that you can change almost any color, remove or change titles, invert section rows, and much more.
1) Correlation
The script checks if the stock is listed on NASDAQ, and if so, uses the QQQ (Nasdaq-100 ETF) as the reference index in the first cell; otherwise, it uses the SPY (S&P 500 ETF). The length of the correlation is shown in the second cell. The table then displays the correlation between the reference index and the other index, and the correlation between the reference index and the stock.
To make it easier to interpret the correlation values, each row's last cell is color-coded with a gradient to highlight the type of correlation, and the direction of the gradient can be customized.
The correlation coefficient is a statistical measure that quantifies the strength and direction of the relationship between two variables, indicating how changes in one variable are associated with changes in the other variable, so it can be used to identify patterns and trends.
If you are interested in correlation, I suggest taking a look at my dedicated indicator:
2) Shares
This feature provides you with quick access to key information about shares and market capitalization.
On one row, you can view the total shares outstanding and the market capitalization for the fiscal year or the quarterly year. The total shares outstanding represents the total number of shares of the stock that have been issued and are currently outstanding, regardless of whether they are held by insiders or public investors. The market capitalization is a widely used measure of the company's value as determined by the stock market, calculated by multiplying its current stock price with the total number of outstanding shares.
The other row shows the float, which is the number of shares of a company that are available for public trading, and the corresponding free-float market cap, calculated by multiplying the company's current stock price with the float. Because Pine Script does not allow retrieving information about quarterly year float, you can view the float and the free-float market cap of the fiscal year only. The data can be displayed at all times or only when the difference between the total shares outstanding and the float is significant enough to result in a difference between the market cap and free-float market cap.
The classification for market cap and free-float market cap is set in this way:
Mega Cap: $200 billion or more
Large Cap: between $10 billion and $200 billion
Mid Cap: between $2 billion and $10 billion
Small Cap: between $300 million and $2 billion
Micro Cap: less than $300 million
Penny Stocks: less than $5 (customizable)
Comparing the free-float market cap to the market cap can provide insights into the liquidity of a stock. In fact, if the float is relatively small compared to the total shares outstanding, it may be more difficult to find buyers or sellers, which could lead to increased volatility. On the other hand, a larger float indicates that the stock is more liquid and may be easier to trade, potentially resulting in lower volatility. However, market conditions can change quickly and significantly, especially for intraday traders, and the free-float can also change as insiders or other large shareholders buy or sell shares. Therefore, comparing the data of the fiscal year with that of the quarterly year may not provide the most up-to-date and accurate information for making trading decisions. This limitation can be mitigated by combining those data with other indicators and tools, such as technical analysis or news events, to gain a better understand of the stock's performance and potential trading opportunities.
3) Daily Data
This section is available on daily charts only due to the lack of accuracy of real-time daily data on other time frames. Here, you can view the Average Daily Volume (ADV) over a preferred time range (20 days by default), and the Daily Change, which represents the percentage difference between the closing price on two consecutive trading days.
ADV is useful in measuring the stock's volatility, as it provides an indication of how much trading activity there is in it. Generally speaking, stocks with higher trading volume tend to be less volatile than stocks with lower trading volume. High trading volume means there are more buyers and sellers actively trading the stock, which makes it easier for investors to buy and sell shares at fair prices. This increased liquidity can help to stabilize the stock price, reducing the potential for large swings in either direction. On the other hand, stocks with lower trading volume may experience greater volatility, as there are fewer buyers and sellers actively trading the stock. This can result in larger price swings, as it may be more difficult for investors to buy or sell shares at fair prices.
The daily percentage change can provide an indication of the stock's volatility, with larger values indicating greater volatility and risk. It can also be compared to that of a benchmark such an index or other stocks in the same sector, helping to determine whether the stock is outperforming or underperforming relative to them.
4) Extended Session Data
The fourth section is available on intraday charts only. This section provides two pieces of information: the Extended Session Change and the Pre-Market Volume.
The Extended Session Change indicates the percentage difference between the previous day's closing price and the latest price in the extended session. This gives you the extent and the direction of the price gap that occurred during extended trading hours.
The Pre-Market Volume shows the sum of all shares traded during the pre-market session. This can be helpful in understanding how much interest the stock gained before the market opened.
By default, the two rows will be visible at all times. They will stop updating after the end of their respective time range, and resume updating when it starts again. However, you can choose to automatically hide them outside of their time ranges.
Both the extended session and pre-market time ranges can be customized. Please note that if you select time ranges outside of the regular market session (as set by default), you must enable the extended session to view the corresponding rows.
█ GENERAL NOTES
• Total Shares Outstanding, Float, Average Daily Volume and Pre-Market Volume cells use a customizable color system based on two thresholds, to help you quickly identify whether the value is "too low/acceptable/too high" or "too low/not enough high/acceptable".
• If you cannot see certain data, that simply means it is not available.
Central Bank Dark Energy TracerCentral Bank Dark Energy Tracer (CBDE Tracer)
What makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The CBDE Tracer is a tool that tracks currency assets in US dollars that can be scaled to fit other assets on TradingView.
The example provided is QQQ with scale factors and offsets applied that best curve fit to the most recent price action.
The white line is non-US assets from the following central banks:
-JPY (Japan)
-CNY (China)
-UK (British Pound)
-SNB (Swiss National Bank)
-ECB (European Central Bank )
The lime green line is for US Federal Reserve data including a midpoint of WRESBAL and the fed liquidity calculation (WALCL - WTREGEN) and then subtracting RRPONTSYD
The purple line is the average of the two, US assets, and non-US.
The settings can be configured so that only the average is showing, which should the closest aggregate of all liquidity data.
30MIN CYCLE█ HOW DOES IT WORK?
The known 90 min cycle is used as one killzone. But actually all 18 min are relevant to search for a trade. All 18 min when a new box starts only then is the placement of an order valid. If the entry candle isn't in a box then it will probably fail. The boxes should only be used in the M1 or M5 timeframe. The best hitrate is in the M1 timeframe. Included are the last 48 "Mini-Killzones" für intraday trading and backtesting. These "Mini-Killzones" can be used with the "Liquidity Inducement Strategy".
█ WHAT MAKES IT UNIQUE?
This is the first indicator on tradingview that shows all mini-killzones for trading and backtesting a whole tradingday. The well-known killzones of ICT are from 08:00-11:00 and 14:00 - 17:00 (UTC+1) but with this indicator there is finally a refinement of the ICT Smart Money Concept killzones.
█ HOW TO USE IT?
For a proper use of this indicator we suggest to know already at least SMC or better Liquidity Indcuement Trading. This indicator is a further confluence before placing an order. After you made your setup you will have these mini-killzones as a confluence. We don't suggest to open a trade only according to this indicator.
█ ADDITIONAL INFO
This indicator is free to use for all tradingview users.
█ DISCLAIMER
This is not financial advice.
Day Trading Booster by DGTTiming when day trading can be everything
In Stock markets typically more volatility (or price activity) occurs at market opening and closings
When it comes to Forex (foreign exchange market), the world’s most traded market, unlike other financial markets, there is no centralized marketplace, currencies trade over the counter in whatever market is open at that time, where time becomes of more importance and key to get better trading opportunities. There are four major forex trading sessions, which are Sydney , Tokyo , London and New York sessions
Forex market is traded 24 hours a day, 5 days a week across by banks, institutions and individual traders worldwide, but that doesn’t mean it’s always active the entire day. It may be very difficult time trying to make money when the market doesn’t move at all. The busiest times with highest trading volume occurs during the overlap of the London and New York trading sessions, because U.S. dollar (USD) and the Euro (EUR) are the two most popular currencies traded. Typically most of the trading activity for a specific currency pair will occur when the trading sessions of the individual currencies overlap. For example, Australian Dollar (AUD) and Japanese Yen (JPY) will experience a higher trading volume when both Sydney and Tokyo sessions are open
There is one influence that impacts Forex matkets and should not be forgotten : the release of the significant news and reports. When a major announcement is made regarding economic data, currency can lose or gain value within a matter of seconds
Cryptocurrency markets on the other hand remain open 24/7, even during public holidays
Until 2021, the Asian impact was so significant in Cryptocurrency markets but recent reasearch reports shows that those patterns have changed and the correlation with the U.S. trading hours is becoming a clear evolving trend.
Unlike any other market Crypto doesn’t rest on weekends, there’s a drop-off in participation and yet algorithmic trading bots and market makers (or liquidity providers) can create a high volume of activity. Never trust the weekend’ is a good thing to remind yourself
One more factor that needs to be taken into accout is Blockchain transaction fees, which are responsive to network congestion and can change dramatically from one hour to the next
In general, Cryptocurrency markets are highly volatile, which means that the price of a coin can change dramatically over a short time period in either direction
The Bottom Line
The more traders trading, the higher the trading volume, and the more active the market. The more active the market, the higher the liquidity (availability of counterparties at any given time to exit or enter a trade), hence the tighter the spreads (the difference between ask and bid price) and the less slippage (the difference between the expected fill price and the actual fill price) - in a nutshell, yield to many good trading opportunities and better order execution (a process of filling the requested buy or sell order)
The best time to trade is when the market is the most active and therefore has the largest trading volume, trading all day long will not only deplete a trader's reserves quickly, but it can burn out even the most persistent trader. Knowing when the markets are more active will give traders peace of mind, that opportunities are not slipping away when they take their eyes off the markets or need to get a few hours of sleep
What does the Day Trading Booster do?
Day Trading Booster is designed ;
- to assist in determining market peak times, the times where better trading opportunities may arise
- to assist in determining the probable trading opportunities
- to help traders create their own strategies. An example strategy of when to trade or not is presented below
For Forex markets specifically includes
- Opening channel of Asian session, Europien session or both
- Opening price, opening range (5m or 15m) and day (session) range of the major trading center sessions, including Frankfurt
- A tabular view of the major forex markets oppening/closing hours, with a countdown timer
- A graphical presentation of typically traded volume and various forext markets oppening/clossing events (not only the major markets but many other around the world)
For All type of markets Day Trading Booster plots
- Day (Session) Open, 5m, 15m or 1h Opening Range
- Day (Session) Referance Levels, based on Average True Range (ATR) or Previous Day (Session) Range (PH - PL)
- Week and Month Open
Day Trading Booster also includes some of the day trader's preffered indicaotrs, such as ;
- VWAP - A custom interpretaion of VWAP is presented here with Auto, Interactive and Manual anchoring options.
- Pivot High/Low detection - Another custom interpretation of Pivot Points High Low indicator.
- A Moving Average with option to choose among SMA, EMA, WMA and HMA
An example strategy - Channel Bearkout Strategy
When day trading a trader usually monitors/analyzes lower timeframe charts and from time to time may loose insight of what really happens on the market from higher time porspective. Do not to forget to look at the larger time frame (than the one chosen to trade with) which gives the bigger picture of market price movements and thus helps to clearly define the trend
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
J1 - Glassnode Metrics ToolkitTV announced that you can now pull data from Glassnode!
Here you can find every metric available to compare blockchain data from different coins.
How to use:
- Select your Coin
- Select your Metric
Then you can enable another coin or the same one to compare data.
As per TV's post:
Coins:
BTC, ETH, LTC, AAVE, ABT, AMPL, ANT, ARMOR, BADGER, BAL, BAND, BAT, BIX, BNT, BOND, BRD, BUSD, BZRX, CELR, CHSB, CND, COMP, CREAM, CRO, CRV, CVC, CVP, DAI, DDX, DENT, DGX, DHT, DMG, DODO, DOUGH, DRGN, ELF, ENG, ENJ, EURS, FET, FTT, FUN, GNO, GUSD, HEGIC, HOT, HPT, HT, HUSD, INDEX, KCS, LAMB, LBA, LDO, LEO, LINK, LOOM, LRC, MANA, MATIC, MCB, MCO, MFT, MIR, MKR, MLN, MTA, MTL, MX, NDX, NEXO, NFTX, NMR, Nsure, OCEAN, OKB, OMG, PAX, PAY, PERP, PICKLE, PNK, PNT, POLY, POWR, PPT, QASH, QKC, QNT, RDN, REN, REP, RLC, ROOK, RPL, RSR, SAI, SAN, SNT, SNX, STAKE, STORJ, sUSD, SUSHI, TEL, TOP, UBT, UMA, UNI, USDC, USDK, USDT, UTK, VERI, WaBi, WAX, WBTC, WETH, wNMX, WTC, YAM, YFI, ZRX.
Metrics:
ACTIVEADDRESSES — Number of Active Addresses
SENDINGADDRESSES — Number of Sending Addresses
RECEIVINGADDRESSES — Number of Receiving Addresses
NEWADDRESSES — Number of New Addresses
ADDRESSES — Number of Addresses
BLOCKS — Block Height
BLOCKSMINED — Number of Blocks Mined
BLOCKMEANINTERVAL — Mean Block Interval
BLOCKMEDIANINTERVAL — Median Block Interval
TOTALBLOCKSIZE — Total Block Size
MEANBLOCKSIZE — Mean Block Size
TOTALTXFEES — Total Transaction Fees
MEANTXFEES — Mean Transaction Fees
MEDIANTXFEES — Median Transaction Fees
TOTALTXFEESUSD — Total Transaction Fees in USD
MEANTXFEESUSD — Mean Transaction Fees in USD
MEDIANTXFEESUSD — Median Transaction Fees in USD
TOTALGASUSED — Total Gas Used
MEANGASUSED — Mean Gas Used
MEDIANGASUSED — Median Gas Used
MEANTXGASPRICE — Mean Transaction Gas Price in gwei
MEDIANTXGASPRICE — Median Transaction Gas Price in gwei
MEANTXGASPRICEUSD — Mean Transaction Gas Price in USD
MEDIANTXGASPRICEUSD — Median Transaction Gas Price in USD
MEANGASLIMIT — Mean Transaction Gas Limit
MEDIANGASLIMIT — Median Transaction Gas Limit
MARKETCAP — Market Cap
DIFFICULTY — Mining Difficulty
HASHRATE — Mean Hash Rate
ATHDRAWDOWN — Price Drawdown from ATH
SOPR — Spent Output Profit Ratio (SOPR)
NEWDEPOSITS — Number of New Deposits
NEWSTAKED — Amount of New Value Staked
NEWSTAKEDUSD — Amount of New Value Staked in USD
NEWVALIDATORS — Number of New Validators
DEPOSITS — Total Number of Deposits
STAKED — Total Value Staked
STAKEDUSD — Total Value Staked in USD
VALIDATORS — Total Number of Validators
PHASE0GOAL — Phase 0 Staking Goal
ACTIVE1Y — Percent of Supply Last Active 1+ Years Ago
TXS — Number of Transactions
TXSPS — Number of Transactions per Second
TFSPS — Number of Transfers per Second
TOTALTXSIZE — Total Size of Transactions
MEANTXSIZE — Mean Size of Transfers
TOTALVOLUME — Total Transfer Volume
TOTALVOLUMEUSD — Total Transfer Volume in USD
MEANVOLUME — Mean Transfer Volume
MEANVOLUMEUSD — Mean Transfer Volume in USD
MEDIANVOLUME — Median Transfer Volume
MEDIANVOLUMEUSD — Median Transfer Volume in USD
UTXOCREATED — Number of Created UTXOs
UTXOSPENT — Number of Spent UTXOs
UTXOTOTAL — Total Numbers of UTXOs in the Network
UTXOVALUETOTAL — Total Value of Created UTXOs
UTXOVALUETOTALUSD — Total Value of Created UTXOs in USD
UTXOVALUEMEAN — Mean Value of Created UTXOs
UTXOVALUEMEANUSD — Mean Value of Created UTXOs in USD
UTXOVALUEMEDIAN — Median Value of Created UTXOs
UTXOVALUEMEDIANUSD — Median Value of Created UTXOs in USD
UTXOVALUETOTALSPENT — Total Value of Spent UTXOs
UTXOVALUETOTALSPENTUSD — Total Value of Spent UTXOs in USD
UTXOVALUEMEANSPENT — Mean Value of Spent UTXOs
UTXOVALUEMEANSPENTUSD — Mean Value of Spent UTXOs in USD
UTXOVALUEMEDIANSPENT — Median Value of Spent UTXOs
UTXOVALUEMEDIANSPENTUSD — Median Value of Spent UTXOs in USD
UNISWAPTXS — Number of Transactions on Uniswap
UNISWAPTOTALVOLUME — Total Volume Traded on Uniswap
UNISWAPTOTALVOLUMEUSD — Total Volume Traded on Uniswap in USD
UNISWAPLIQUIDITY — Total Liquidity on Uniswap
UNISWAPLIQUIDITYUSD — Total Liquidity on Uniswap in USD
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!
DOJI FU IndicatorIndicator is designed to paint a doji, the size of which can be adjusted in settings.
Provided there is a valid doji, the following candle is a 'FU candle' or an 'Institution' candle. This candle wicks above/below the doji and takes liquidity from above or below.
Colours can be changed
Red = Doji candle
Yellow = FU candle
Example shown on the 1hr chart, red doji indicating a change of trend upwards, the FU candle (yellow) takes liquidity from above and sweeps down.
Multi-Exchange Volume (30 Tickers) by kurtsmock + BV + rVolauthor: kurtsmock
Fully Customizable ticker set. Up to 30 Tickers. Bitcoin set as default.
-- IMPORTANT NOTE: --
30 Exchanges are a lot. It can take a while to load. You can fully customize this indicator to your liking. Here's how:
1. Load indicator
2. Open Settings
3. Uncheck the switch box for exchanges you want unincluded
4. At the bottom of the settings menu click "Defaults" and hit "Save as Default"
5. To turn them all back on, hit "Reset Settings" in that same "Defaults" menu and click "Save as Default" again.
Also, you don't have to use this with Bitcoin. This works with any asset, just change the ticker in the settings.
There's a lot going on with this indicator so the following is descriptions and instructions to help you better understand what's going on here. Thanks!
Goal:
- To provide a mechanism for assets on multiple exchanges to have their volume evaluated together
Edge:
- Having better and more complete volume information
Notes:
- The Default Exchanges for this indicator are highest volume bitcoin exchanges, but may contain "fake volume"
- Indicator is set for Bitcoin by default. However, you can change the tickers to reflect any asset you want
////// rVol //////
Goal:
- To understand how much volume is being executed relative to the same candle on previous days/periods
Edge:
- Higher rVol implies higher volatility and market interest.
- High rVol = higher than average volume . Markets move on volume so higher than average volume indicates increased market activity/volatility
- rVol is an indirect measure of active or anticipated volatility
Definitions:
- rVol: The volume of a period compared to the Average Volume of that same period in past sessions
- Important to note it does NOT add up the last 10 (default) candles, but rather the last 10 candles at session intervals.
- Example:
-- On a Tuesday, 1h chart it will add up the last ten Tuesday, 9:00 am candles, not including the current, active candle.
-- It then averages those lookback candles.
-- It then plots the percentage relationship between the most recent candle and the average of the lookback candles
-- Avg Vol of Lookback candles = 5000,
-- Volume of most recent candle = 4000: Output = rVol = 80:
-- Volume of most recent candle was 80% of the average volume in the 9 am time period of the last ten Tuesdays in the 9 am, 1h period
Notes:
- rVol does not add current candle volume into lookback sum. So, you set lookback to be: (not including the current day)
- rVol is on a switch. So, if you want to see rVol instead of volume, hit the switch in the settings
- If you want to see both, load 2 instances of the indicator.
////// Better-er Volume //////
Goal:
To Identify:
- When a candle closes at the highest volume * range relative to the lookback period and close > open
- When a candle closes at the highest volume * range relative to the lookback period and close < open
- When a candle closes at the highest volume / price relative to the lookback period
Edge:
- Identifies beginnings of price expansion, climax of price expansion, breakouts, pivots, and take profit points on the volume chart
Notes:
- Based generally on Barry Taylor's "Better Volume" indicator and ideas from Pascal Willain's book "Value in Time."
- Better-er Volume rules are applied to both Total Volume or rVol.
-- When rVol is displayed Better-er Volume is applied to rVol
-- When Total Volume is displayed Better-er Volume is applied to Total Volume
// Plot Key: //
Green Triangle Up = Often marks the beginning and/or end of price expansion to the upside
Red Triangle Up = Often marks the beginning and/or end of price expansion to the downside
Yellow Square = High Volume but Tight Range. Implies a Battle of Bulls and Bears. High Liquidity area. Provided Liquidity is not enough to move price. Thick Limit Order Book.
Purple Triangle Up or Down = Implies high market participation. Typically at the end of expansion when very significant s/r is hit
category: volume Volatility
tags: Volume rVol relativevolume Bitcoin cryptocurrency bettervolume
Many More Volume Indicators Coming Out Soon!
Previous Day High/LowPrevious day high and low liquidity tracker. It is used to set up sweep and mean reversion trades.
Scalping Trend Power for MT5 - Updated### **Scalping Trend Power for MT5 – Full Technical Documentation**
> **Asset class:** FX · CFDs · Futures
> **Style:** Intraday trend-following / scalping
> **Script type:** Pine v5 *strategy* with optional PineConnector execution
> **Author:** AlgoSystems – released for educational & non-commercial use
> **Warning:** No script can guarantee profits; live results may differ from back-tests.
---
## 1. High-Level Idea
Scalping Trend Power couples a **fast/slow EMA crossover** with an **RSI exhaustion filter** to time impulsive pullbacks **inside a dominant short-term trend**.
Unlike classic MA cross systems, it waits for *N consecutive bars* of confirmation, then layers in **ATR-scaled risk, adaptive trailing stops, volume-aware stop tightening,** and *three* optional partial-profit targets.
An **upper-time-frame RSI check** acts as an early-warning exit to avoid overstaying.
---
## 2. Signal Stack in Detail
| Layer | Purpose | Formula / Condition |
| ----------------------- | ------------------ | ----------------------------------------------------------------------------------------- |
| **Trend Bias** | Detect micro-trend | `emaShort > emaLong` ⇒ bullish bias, else bearish |
| **Momentum Health** | Prevent chasing | *Long* trades allowed only if `RSI < RSI_OB`; *Short* only if `RSI > RSI_OS` |
| **Bar Confirmation** | Noise filter | Both rules must hold for `Confirmation Bars` candles in a row |
| **Entry Trigger** | Market order | The candle that completes the confirmation window |
| **Initial Stop** | Volatility sizing | `ATR × TrailingStopMultiplier`, then divided by `(volume / avgVolume × VolumeMultiplier)` |
| **Trailing Logic** | Lock profit | Max( pivot-based stop, ATR-base stop ) for longs; Min(..) for shorts |
| **Higher-TF RSI Guard** | Context exit | Flat if higher-TF RSI breaches OB/OS levels |
| **TP Grid (opt.)** | Incremental exits | TP1/TP2/TP3 at `ATR × {1.0, 1.5, 2.0}` (default multipliers) |
| **Trade Throttle** | Over-trading brake | Max `baseLongTrades – TradeDecreaseFactor` longs per trend leg |
| **Connector Hooks** | MT5 routing | All alerts follow PineConnector’s `risk=` (lots) syntax |
---
## 3. Inputs Explained
| Category | Parameter | Effect |
| -------------------- | -------------------------------------- | ------------------------------------------------------ |
| **Sizing** | `Lot Size` · `Lot Multiplier` | Base lot × multiplier ⇒ *final* `risk=` lots |
| | `Risk/Reward Ratio` | Scales `dynamicTP = ATR × R/R` |
| | `Trailing-Stop Multiplier` | Wider ⇒ looser stop, lower ⇒ tighter |
| **Indicators** | `EMA Short / Long` | 9 & 21 default – suitable for 1-5 min TFs |
| | `RSI Length` | 14 by default |
| | `RSI OB / OS` | OB=70, OS=30 (lower = more entries; higher = stricter) |
| **Exit Context** | `Higher TF` | Any higher timeframe string (e.g. “30”, “60”) |
| | `Higher-TF RSI OB / OS` | Exits when breached |
| **Volume & Pivots** | `Volume Look-Back` | SMA length for avg volume |
| | `Volume Multiplier` | < 1.0 tightens SL in thin liquidity |
| | `Pivot Look-Back` | Bars left/right for swing pivots |
| **Partial Exit** | Toggle + TP multipliers + % lot splits | 0–3 targets; if disabled, single full exit |
| **Execution Limits** | `Confirmation Bars` | 1–n candles |
| | `Trade Decrease Factor` | Reduce # allowable longs as trend matures |
| **Connector** | Activate + License Code | Enables webhook output of orders |
All inputs are **tool-tipped** inside the script for quick reference.
---
## 4. Alert & PineConnector Workflow
1. **Add script to chart** → set inputs.
2. **Create an alert**
* *Condition*: **Any alert() call**
* *Webhook*: `https://webhook.pineconnector.com`
* *Message*: **leave blank** (script fills each alert).
3. In **MT5**, attach PineConnector EA to the **same symbol**; keep *VolumeType = Lots*.
4. Copy-paste your **License ID** into the script and tick **Activate PineConnector**.
5. Script now pushes:
* `buy` / `sell` with `risk=` (entries)
* `closelongvol` / `closeshortvol` with proportional lots (TP1-TP3)
* `closelong` / `closeshort` (full exit or stop)
> **Latency note:** Webhook round-trip ≈ 100-300 ms. Use on liquid 1-M, 5-M, 15-M charts; avoid sub-second scalps.
---
## 5. Best-Practice Checklist
| ✔︎ Do | ✘ Avoid |
| --------------------------------------------------------------------------- | ------------------------------------------------------------- |
| Walk forward-test on *new* data, not in-sample optimisation. | Optimising every input – will over-fit. |
| Calibrate *only* money-management (lot multiplier / TP %) per account size. | Running with fixed lots on variable leverage accounts. |
| Increase ATR multipliers if trading high-spread pairs (exotics, crypto). | Using the same ATR factor across radically different symbols. |
| Re-check higher-TF filter values before volatile sessions (NFP, CPI). | Trading news spikes with confirmation bars = 1. |
| Keep **PineConnector EA** running 24/5 on a VPS (if auto-trading). | Expecting alerts to fire with TradingView tab closed. |
---
## 6. Limitations & Warnings
* Strategy **assumes constant spread** in back-test; real P/L will differ.
* Sub-minute charts may repaint pivots during live candles.
* Over-leveraged lot sizes can wipe accounts quickly – risk strictly!
* PineConnector routing is “fire-and-forget”; EA must handle slippage / rejects.
---
## 7. License & Attribution
Released under the **MIT License** – keep the copyright header if you remix.
If you publish derivatives, please link back to this original post.
---
## 8. Disclaimer
This publication is **NOT** investment advice. Use on demo accounts first, understand all parameters, and comply with your jurisdiction’s regulations. AlgoSystems is **not liable** for any financial loss arising from the use of this code.
---
**Ready to trade?**
Copy the script ⇨ set your risk ⇨ run an alert ⇨ connect PineConnector – and monitor results responsibly. Feedback & pull-requests welcome!
Institution Spotter (Lite)This free version detects 100k+ volume spike candles — useful for spotting institutional interest and sudden inflows.
✅ Highlighted candles
✅ Volume threshold input
✅ Alert-ready
🔒 Want more?
Upgrade to the full version to unlock:
Institutional candle detection (150k+ vol + long wick filter which are key in spotting large positions being added)
Auto-drawn institutional supply/demand zones
Gap Up / Gap Down labeling
Advanced session filters and custom colors
➤ DM us your Trading View username to request access to the premium version. You will receive a link to purchase and gain access to this powerful and versatile indicator!
💡 This tool is built for active intraday as well as swing traders looking to run with institutional moves and identify potential key liquidity levels in real-time.
“You can’t follow the smart money unless you know what to look for.”
Trend Impulse Channels (Zeiierman)█ Overview
Trend Impulse Channels (Zeiierman) is a precision-engineered trend-following system that visualizes discrete trend progression using volatility-scaled step logic. It replaces traditional slope-based tracking with clearly defined “trend steps,” capturing directional momentum only when price action decisively confirms a shift through an ATR-based trigger.
This tool is ideal for traders who prefer structured, stair-step progression over fluid curves, and value the clarity of momentum-based bands that reveal breakout conviction, pullback retests, and consolidation zones. The channel width adapts automatically to market volatility, while the step logic filters out noise and false flips.
⚪ The Structural Assumption
This indicator is built on a core market structure observation:
After each strong trend impulse, the market typically enters a “cooling-off” phase as profit-taking occurs and counter-trend participants enter. This often results in a shallow pullback or stall, creating a slight negative slope in an uptrend (or a positive slope in a downtrend).
These “cooling-off” phases don’t reverse the trend — they signal temporary pressure before the next leg continues. By tracking trend steps discretely and filtering for this behavior, Trend Impulse Channels helps traders align with the rhythm of impulse → pause → impulse.
█ How It Works
⚪ Step-Based Trend Engine
At the heart of this tool is a dynamic step engine that progresses only when price crosses a predefined ATR-scaled trigger level:
Trigger Threshold (× ATR) – Defines how far price must break beyond the current trend state to register a new trend step.
Step Size (Volatility-Guided) – Each trend continuation moves the trend line in discrete units, scaling with ATR and trend persistence.
Trend Direction State – Maintains a +1/-1 internal bias to support directional filters and step tracking.
⚪ Volatility-Adaptive Channel
Each step is wrapped inside a dynamic envelope scaled to current volatility:
Upper and Lower Bands – Derived from ATR and band multipliers to expand/contract as volatility changes.
⚪ Retest Signal System
Optional signal markers show when price re-tests the upper or lower band:
Upper Retest → Pullback into resistance during a bearish trend.
Lower Retest → Pullback into support during a bullish trend.
⚪ Trend Step Signals
Circular markers can be shown to mark each time the trend steps forward, making it easy to identify structurally significant moments of continuation within a larger trend.
█ How to Use
⚪ Trend Alignment
Use the Trend Line and Step Markers to visually confirm the direction of momentum. If multiple trend steps occur in sequence without reversal, this typically signals strong conviction and trend persistence.
⚪ Retest-Based Entries
Wait for pullbacks into the channel and monitor for triangle retest signals. When used in confluence with trend direction, these offer high-quality continuation setups.
⚪ Breakouts
Look for breakouts beyond the upper or lower band after a longer period of pause. For higher likelihood of success, look for breakouts in the direction of the trend.
█ Settings
Trigger Threshold (× ATR) - Defines how far price must move to register a new trend step. Controls sensitivity to trend flips.
Max Step Size (× ATR) - Caps how far each trend step can extend. Prevents runaway step expansion in high volatility.
Band Multiplier (× ATR) - Expands the upper and lower channels. Controls how much breathing room the bands allow.
Trend Hold (bars) - Minimum number of bars the trend must remain active before allowing a flip. Helps reduce noise.
Filter by Trend - Restrict retest signals to those aligned with the current trend direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Trendline Breakouts With Volume Strength [TradeDots]Trendline Breakouts With Volume Strength is an innovative indicator designed to identify potential market turning points using pivot-based trendline detection and volume confirmation. By merging dynamic trendline analysis with multi-tiered volume filters, this tool helps traders quickly spot breakouts or breakdowns that may signal significant shifts in price action.
📝 HOW IT WORKS
1. Pivot-Based Trendline Detection
The script automatically scans for recent pivot highs and lows over a user-defined lookback period.
When it finds higher pivot lows, it plots green uptrend lines; when it finds lower pivot highs, it plots red downtrend lines.
These dynamic lines update as new pivots form, providing continuously refreshed trend guidance.
2. Volume Ratio Analysis
A moving average of volume is compared against the current bar’s volume to calculate a ratio (e.g., 1.5×, 2×).
Higher ratios suggest above-average volume, often interpreted as stronger participation.
The script applies color-coded cues to highlight the intensity of volume surges.
3. Breakout & Breakdown Detection
Each trendline is monitored for a defined “break threshold,” which helps avoid minor penetrations that can trigger premature signals.
When price closes beyond a threshold below an uptrend line, the indicator labels it a “BREAKDOWN.” If it closes above a threshold on a downtrend line, it labels it a “BREAKOUT.”
Volume surges accompanying these breaks are highlighted with contextual emojis and distinct color gradients for quick visual reference.
4. Trend Direction Table
A small on-chart table provides a snapshot of the current market trend—Uptrend, Downtrend, or Sideways—based on a simple moving average slope and the number of active uptrend or downtrend lines.
This table also displays quick stats on how many lines are actively tracked, helping traders assess the broader market posture at a glance.
🛠️ HOW TO USE
1. Choose a Timeframe
This script works on multiple timeframes. Intraday traders can monitor minute or hourly charts for frequent pivot updates, while swing and position traders may prefer daily or weekly intervals to reduce noise.
2. Observe Trendlines & Labels
Watch for newly drawn green/red lines connecting pivots.
When you see a “BREAKOUT” or “BREAKDOWN” label, confirm whether volume was abnormally high based on the ratio or color-coded bars.
3. Consult the Trend Table
Use the table in the bottom-right corner to quickly check if the market is trending or range-bound.
Look at the count of active uptrend vs. downtrend lines to gauge broader sentiment.
4. Employ Additional Analysis
Combine these signals with other tools (e.g., candlestick patterns, oscillators, or fundamental analysis).
Validate potential breakouts using standard techniques like retests or support/resistance checks.
❗️LIMITATIONS
Delayed Pivots: Trendlines only adjust once new pivot highs or lows form, which can introduce a slight lag in highly volatile environments.
Choppy Markets: Rapid, back-and-forth price moves may produce conflicting trendline signals and frequent breakouts/breakdowns.
Volume Data Reliability: Gaps in volume data or unusual market conditions (holidays, low-liquidity sessions) can skew ratio readings.
RISK DISCLAIMER
Trading any financial instrument involves substantial risk, and this indicator does not guarantee profits or prevent losses. All signals and visual cues are for educational and informational purposes only; past performance does not assure future outcomes. You retain full responsibility for your trading decisions, including proper risk management, position sizing, and the use of additional confirmation methods. Always consider the possibility of losing some or all of your original investment.
My script//@version=5
indicator("XAUUSD High Win-Rate Strategy", shorttitle="XAUUSD HWR", overlay=true)
// ============================================================================
// XAUUSD HIGH WIN-RATE STRATEGY INDICATOR
// Based on Dual-Phase Momentum Filter System
// Designed for M1, M5 timeframes with H1/H4 bias confirmation
// ============================================================================
// Input Parameters
ma_length = input.int(55, title="MA Channel Length", minval=1, maxval=200)
atr_length = input.int(14, title="ATR Length", minval=1, maxval=50)
atr_multiplier = input.float(2.5, title="ATR Stop Loss Multiplier", minval=1.0, maxval=5.0, step=0.1)
rr_ratio = input.float(1.5, title="Risk:Reward Ratio", minval=1.0, maxval=3.0, step=0.1)
htf_bias = input.timeframe("60", title="Higher Timeframe for Bias")
show_levels = input.bool(true, title="Show Entry/Exit Levels")
show_signals = input.bool(true, title="Show Buy/Sell Signals")
show_channel = input.bool(true, title="Show MA Channel")
// ============================================================================
// CORE CALCULATIONS
// ============================================================================
// Moving Average Channel (55-period High/Low)
ma_high = ta.sma(high, ma_length)
ma_low = ta.sma(low, ma_length)
// Heiken Ashi Calculations
ha_close = (open + high + low + close) / 4
var float ha_open = na
ha_open := na(ha_open ) ? (open + close) / 2 : (ha_open + ha_close ) / 2
ha_high = math.max(high, math.max(ha_open, ha_close))
ha_low = math.min(low, math.min(ha_open, ha_close))
// Higher Timeframe Bias (200 SMA)
htf_sma200 = request.security(syminfo.tickerid, htf_bias, ta.sma(close, 200), lookahead=barmerge.lookahead_off)
// ATR for Stop Loss Calculation
atr = ta.atr(atr_length)
// RSI for Additional Confirmation
rsi = ta.rsi(close, 14)
// ============================================================================
// SIGNAL LOGIC
// ============================================================================
// Channel Filter - No trades when price is within the channel
in_channel = close > ma_low and close < ma_high
outside_channel = not in_channel
// Heiken Ashi Color
ha_bullish = ha_close > ha_open
ha_bearish = ha_close < ha_open
// Higher Timeframe Bias
htf_bullish = close > htf_sma200
htf_bearish = close < htf_sma200
// Entry Conditions
long_condition = outside_channel and close > ma_high and ha_bullish and htf_bullish
short_condition = outside_channel and close < ma_low and ha_bearish and htf_bearish
// Entry Signals (only on bar close to avoid repainting)
long_signal = long_condition and not long_condition
short_signal = short_condition and not short_condition
// ============================================================================
// TRADE LEVELS CALCULATION
// ============================================================================
var float entry_price = na
var float stop_loss = na
var float take_profit = na
var string trade_direction = na
// Calculate levels for new signals
if long_signal
entry_price := close
stop_loss := close - (atr * atr_multiplier)
take_profit := close + ((close - stop_loss) * rr_ratio)
trade_direction := "LONG"
if short_signal
entry_price := close
stop_loss := close + (atr * atr_multiplier)
take_profit := close - ((stop_loss - close) * rr_ratio)
trade_direction := "SHORT"
// ============================================================================
// VISUAL ELEMENTS
// ============================================================================
// MA Channel - Store plot IDs for fill function
ma_high_plot = plot(show_channel ? ma_high : na, color=color.blue, linewidth=1, title="MA High")
ma_low_plot = plot(show_channel ? ma_low : na, color=color.red, linewidth=1, title="MA Low")
// Fill the channel
fill(ma_high_plot, ma_low_plot, color=color.new(color.gray, 90), title="MA Channel")
// Higher Timeframe SMA200
plot(htf_sma200, color=color.purple, linewidth=2, title="HTF SMA200")
// Entry Signals
plotshape(show_signals and long_signal, title="Long Signal", location=location.belowbar,
style=shape.triangleup, size=size.normal, color=color.green)
plotshape(show_signals and short_signal, title="Short Signal", location=location.abovebar,
style=shape.triangledown, size=size.normal, color=color.red)
// Trade Levels
entry_plot = plot(show_levels and not na(entry_price) ? entry_price : na,
color=color.yellow, linewidth=2, style=line.style_dashed, title="Entry Price")
stop_plot = plot(show_levels and not na(stop_loss) ? stop_loss : na,
color=color.red, linewidth=2, style=line.style_dotted, title="Stop Loss")
target_plot = plot(show_levels and not na(take_profit) ? take_profit : na,
color=color.green, linewidth=2, style=line.style_dotted, title="Take Profit")
// ============================================================================
// ALERTS
// ============================================================================
// Alert Conditions
alertcondition(long_signal, title="Long Entry Signal",
message="XAUUSD Long Entry: Price={{close}}, SL=" + str.tostring(stop_loss) + ", TP=" + str.tostring(take_profit))
alertcondition(short_signal, title="Short Entry Signal",
message="XAUUSD Short Entry: Price={{close}}, SL=" + str.tostring(stop_loss) + ", TP=" + str.tostring(take_profit))
// ============================================================================
// INFORMATION TABLE
// ============================================================================
if barstate.islast and show_levels
var table info_table = table.new(position.top_right, 2, 8, bgcolor=color.white, border_width=1)
table.cell(info_table, 0, 0, "XAUUSD Strategy Info", text_color=color.black, text_size=size.normal)
table.cell(info_table, 1, 0, "", text_color=color.black)
table.cell(info_table, 0, 1, "Current Price:", text_color=color.black)
table.cell(info_table, 1, 1, str.tostring(close, "#.##"), text_color=color.black)
table.cell(info_table, 0, 2, "ATR (14):", text_color=color.black)
table.cell(info_table, 1, 2, str.tostring(atr, "#.##"), text_color=color.black)
table.cell(info_table, 0, 3, "RSI (14):", text_color=color.black)
table.cell(info_table, 1, 3, str.tostring(rsi, "#.##"), text_color=color.black)
table.cell(info_table, 0, 4, "HTF Bias:", text_color=color.black)
table.cell(info_table, 1, 4, htf_bullish ? "BULLISH" : "BEARISH",
text_color=htf_bullish ? color.green : color.red)
table.cell(info_table, 0, 5, "In Channel:", text_color=color.black)
table.cell(info_table, 1, 5, in_channel ? "YES" : "NO",
text_color=in_channel ? color.red : color.green)
if not na(trade_direction)
table.cell(info_table, 0, 6, "Last Signal:", text_color=color.black)
table.cell(info_table, 1, 6, trade_direction,
text_color=trade_direction == "LONG" ? color.green : color.red)
table.cell(info_table, 0, 7, "Risk/Reward:", text_color=color.black)
table.cell(info_table, 1, 7, "1:" + str.tostring(rr_ratio, "#.#"), text_color=color.black)
// ============================================================================
// BACKGROUND COLORING
// ============================================================================
// Color background based on trend and channel status
bg_color = color.new(color.white, 100)
if htf_bullish and not in_channel
bg_color := color.new(color.green, 95)
else if htf_bearish and not in_channel
bg_color := color.new(color.red, 95)
else if in_channel
bg_color := color.new(color.yellow, 95)
bgcolor(bg_color, title="Background Trend Color")
// ============================================================================
// STRATEGY NOTES
// ============================================================================
// This indicator implements the Dual-Phase Momentum Filter System:
// 1. MA Channel Filter: Avoids trades when price is between 55-period high/low MAs
// 2. Heiken Ashi Confirmation: Requires momentum alignment for entries
// 3. Higher Timeframe Bias: Uses 200 SMA on higher timeframe for direction
// 4. ATR-based Risk Management: Dynamic stop losses based on volatility
// 5. Fixed Risk:Reward Ratio: Consistent 1:1.5 profit targets
//
// Usage Instructions:
// 1. Apply to M1 or M5 timeframe for optimal signals
// 2. Set higher timeframe to H1 or H4 for bias confirmation
// 3. Wait for signals outside the MA channel
// 4. Enter trades only when all conditions align
// 5. Use provided stop loss and take profit levels
// 6. Risk no more than 0.5% of account per trade
//
// Best Trading Sessions: Asian and New York
// Avoid: Low liquidity periods and major news events
TBL Session Highs&LowsBL Session Highs&Lows is a versatile intraday tool that highlights key price levels within up to 11 configurable trading sessions. It displays session highs, lows, and optional open levels, with customizable lines, labels, and boxes — perfect for tracking price behavior across sessions like Asia, London, and New York.
🔧 Key Features
🧩 Up to 11 fully customizable sessions
📍 High, Low, and Open lines with adjustable color, style, and width
🧱 Optional boxes showing session range, dynamically colored based on price movement
🏷️ Session labels for visual orientation
🔁 Extendable lines to project levels beyond the session
🌐 Custom time zone support for each session
🎨 Fully customizable visuals for clear chart integration
📈 Designed for:
Intraday session tracking (e.g., Asia, London, NY)
Session-based strategies (breakouts, reversals, liquidity zones)
Open-level reference (e.g., NY open)
Visual separation of trading periods
Example Scenarios:
🟦 "Asia" session: 18:00–00:00 GMT-4 with full box and lines
🟩 "London" session: 00:00–06:00 with high/low lines only
🟥 Segmented NY sessions (Q1–Q4) for fine-grained intraday tracking
✅ Tip: Enable only the sessions you need to keep your chart clean and focused.
Trapper Market Structure (HH, HL, LH, LL)This script is designed to visually identify price action market structure in real time using pivot-based logic. It highlights the key components of trend direction by labeling:
- **HH** – Higher Highs
- **HL** – Higher Lows
- **LH** – Lower Highs
- **LL** – Lower Lows
These labels help traders track evolving market conditions and spot trend continuations, breaks in structure, or potential reversals — all without guessing.
**How It Works**
The script detects local swing highs and lows based on a customizable pivot strength. Once a valid pivot is confirmed, it’s classified in context with the previous relevant pivot to determine its structural significance.
For example:
- If a pivot high is higher than the previous, it’s marked as a **HH**.
- If a pivot low is lower than the previous, it’s marked as a **LL**, and so on.
This running analysis helps traders anticipate shifts between bullish and bearish structures.
**Customizable Features**
- Adjust **Pivot Strength** to increase or reduce sensitivity (more reactive or more stable)
- Toggle **Labels** on/off for cleaner charts
- Toggle **Connecting Lines** between pivots to visualize structure flow
**Use Case**
This indicator is ideal for:
- Price action traders
- Market structure analysis
- Identifying entry zones during pullbacks (e.g., buying at HLs during uptrends)
- Confirming trend reversals or break-of-structure (BoS)
You can use this tool as a foundation for more advanced systems such as CHoCH/BOS detection, liquidity zones, or sniper-style entry frameworks.
**Concepts Used**
- Swing High/Low detection using `ta.pivothigh` and `ta.pivotlow`
- Market structure labeling logic
- Visual flow to reinforce trader psychology on trend states
Disclaimer
This script is provided for educational purposes only. It is not financial advice and should not be relied upon for trading decisions. Always conduct your own analysis and risk management.
#marketstructure #priceaction #technicalanalysis #tradingviewopen #pivotpoints