NoNoiseMA & SlopeHappy trade,  
This is a noise-reduced moving average — let's call it the No-Noise MA. A MA where false breakout price action should have little to no impact, while the main trend remains fully represented. In comparison to previous MAs this one's trend appear more linear, and sideways price actions becomes easier to detect thanks to it's unique two filter stages. 
In short, the No-Noise-MA (Noise-Reduced Moving Average) is calculated as the cumulative sum of the slopes derived from the center line of the last x pivot points. Let’s break it down step by step:
 Pivot Detection: 
A pivot algorithm (an adapted variant of the Bilson-Gann-Count method) identifies consecutive pivot points (high, low, high, low, etc.) in the close price series. Let's call this set of Pivots S.
 Center Line Calculation: 
Out of the set S the last x pivots are used to compute a center line (linear regression line). Always when a new pivot is confirmed, the oldest pivot in the queue is removed, and the new pivot is added.
 Slope Extraction: 
The center line is defined by its equation shown in the image below
  Image 1
 Cumulative Slope Sum: 
As shown in the image 1 the slope is a series with values around zero. The No-Noise-MA is then just the cumulative sum of the slope series and a correction term. A correction term is needed otherwise the No-Noise-MA would run away over time from the original close price. The correction term is just the deviation between close price and cumulative slope sum multiply with a factor around 0.01 added to the No-Noise-MA.
 Noise Reduction: 
The goal of noise reduction is done by two filter stages. First Filter is the reduction of the input values. As shown above not all bars close prices are use, instead it uses just the pivot points delivered by the Bilson-Gann-Count method. Favorable the Bilson-Gann-Count method delivers the Pivot points in most cases much faster as other Pivot methods. Already after two bars a new Pivot is confirmed. This takes out all ups and downs between two consecutive Pivots. This first filter stage is legit because all price action in between is hedged by the Pivots. 
The second filter stage is the done by the length of the center line. As more pivots are used to calculate the center line as smoother the slope becomes. Out liners just gets less impact if the base is bigger. So the number of involved Pivots has the same meaning as the lengths in any other MA. 
 Comparison with usual MAs: 
For a comparison with other MAs this script also calculate the average lengths of the center line, shown in the upper right chart. So choose for example SMA and set the length parameter to the average length of the center line. As shown in the following image 2.
  Image 2
This way both MAs have the same data base and can be objectively compared.
 Trend detection: 
The slope of the center line can be used for trend confirmation. A slope bigger then zero is an up trend while a slope smaller then zero is a down trend. And side way price action is indicated when the slope is around zero within a certain threshold.
  Image 3
One hint should be mentioned here. The side way section gets indicated much later. About the number of bars as the center line is long. Before that there are just up or down trend predicted. In the image 2 you see the slope is firstly tin and as more bars past by the slope becomes more thick. This should indicate the point where no side way predictions will happens anymore.
 Variation of calculation 
In the settings menu you can find the setting "Include last close to center line". With this activated  the center line is calculated with the last pivots and the last close price. The last close price is assumed as a pivot too. This gives the slope a more early reaction to volatile price action. But also brings back some noise. 
Поиск скриптов по запросу "gann"
Democratic MultiAsset Strategy [BerlinCode42]Happy Trade, 
 
 Intro
 Included Trade Concept
 Included Indicators and Compare-Functions
 Usage and Example
 Settings Menu
 Declaration for Tradingview House Rules on Script Publishing
 Disclaimer
 Conclusion
 
 1. Intro 
This is the first multi-asset strategy available on TradingView—a market breadth multi-asset trading strategy with integrated webhooks, backtesting capabilities, and essential strategy components like Take Profit, Stop Loss, Trailing, Hedging, Time & Session Filters, and Alerts.
How It Trades? At the start of each new bar, one asset from a set of eight is selected to go long or short. As long there is available cash and the selected asset meets the minimum criteria.
The selection process works through a voting system, similar to a democracy. Each asset is evaluated using up to five indicators that the user can choose. The asset with the highest overall voting score is picked for the trade. If no asset meets all criteria, no trade is executed, and the cash reserve remains untouched for future opportunities.
How to Set Up This Market Breadth Strategy: 
 Choose eight assets from the same market (e.g., cryptos or big tech stocks).
 Select one to five indicators for the voting system.
 Refine the strategy by adjusting Take Profit, Stop Loss, Hedging, Trailing, and Filters. 
 2. Voting as the included Trade Concept 
The world of financial trading is filled with both risks and opportunities, and the key challenge is to identify the right opportunities, manage risks, and do both right on time.
There are countless indicators designed to spot opportunities and filter out risks, but no indicator is perfect—they only work statistically, hitting the right signals more often than the wrong ones.
The goal of this strategy is to increase the accuracy of these  Indicators  by:
 Supervising a larger number of assets
 Filtering out less promising opportunities 
This is achieved through a voting system that compares indicator values across eight different assets. It doesn't just compare long trades—it also evaluates long vs. short positions to identify the most promising trade. 
Why focus on one asset class? While you can randomly select assets from different asset classes, doing so prevents the algorithm from identifying the strongest asset within a single class. Think about, within one asset class there is often a major trend whereby different asset classes has not really such behavior. 
And, you don’t necessarily need trading in multiple classes—this algorithm is designed to generate profits in both bullish and bearish markets. So when ever an asset class rise or fall the voting system ensure to jump on the strongest asset. So this focusing on one asset class is an integral part of this strategy. This all leads to more stable and robust trading results compared to handling each asset separately.
 3. Included Indicators and Compare-Functions  
You can choose from 17 different indicators, each offering different types of signals:
 Some provide a directional signal
 Some offer a simple on/off signal
 Some provide both 
Available Indicators: RSI, Stochastic RSI, MFI, Price, Volume, Volume Oscillator, Pressure, Bilson Gann Trend, Confluence, TDI, SMA, EMA, WMA, HMA, VWAP, ZLMA, T3MA
However, these indicators alone do not generate trade signals. To do so, they must be compared with thresholds or other indicators using specific comparison functions.
Example – RSI as a Trade Signal. The RSI provides a value between 0 and 100. A common interpretation is:
 RSI over 80 → Signal to go short or exit a long trade
 RSI under 20 → Signal to go long or exit a short trade 
Here, two comparison functions and two thresholds are used to determine trade signals.
Below is the full set of available comparison functions, where: I represents the indicator’s value and A represents the comparator’s value.
 I < A       if I smaller A then trade signal
 I > A       if I bigger A then trade signal
 I = A       if I equal to A then trade signal
 I != A      if I not equal to A then trade signal
 A <> B   if I bigger A and I smaller B then trade signal
 A >< B   if I smaller A then long trade signal or if I bigger B then short trade signal 
  
Image 1
In Image 1, you can see one of five input sections, where you define an indicator along with its function, comparator, and constants. For our RSI example, we select:
 Indicator: RSI
 Function: >< (greater/less than)
 Comparator: Constant
 Constants: A = 20, B = 80 
With these settings a go short signal is triggered when RSI crosses above 80. And a go long signal is triggered when RSI crosses below 20.
 Relative Strength Indicator:  The RSI from the public TradingView library provides a directional trade signal. You can adjust the price source and period length in the indicator settings.
 Stochastic Relative Strength Indicator:  As above the Stoch RSI offers a trade signal with direction. It is calculated out of the RSI, the stochastic derivation and the SMA from the Tradingview library. You can set the in-going price source and the period length for the RSI, for the Stochastic Derivation and for the SMA as blurring in the Indicator settings section.  
 Money Flow Indicator:  As above the MFI from the public Tradingview library offers a trade signal with direction. You can set the in-going price source and the period length in the Indicator settings section.  
 Price:  The Price as Indicator is as simple as it can be. You can chose Open, High, Low or Close or combinations of them like HLC3 or even you can import an external Indicator. The absolute price or value can later be used to generate a trade signals when certain constant thresholds or other indicators signals are crossed.
 Volume:  Similar as above the Volume as Indicator offers the average volume as absolute value. You can set the period length for the smoothing and you can chose where it is presented in the base currency $ or is the other. For example the trade pair BTCUSD you can chose to present the value in $ or in BTC.
 Volume Oscillator:  The Volume Oscillator Indicator offers a value in the range of  . Whereby a value close to 0 means that the volume is very low. A value around 1 means the volume is same high as before and Values higher as 1 means the volume is bigger then before. You can set the period length for the smoothing and you can chose where it is presented in the base currency $ or is the other. For example the trade pair BTCUSD you can chose to present the value in $ or in BTC.
 Pressure Indicator:  The Pressure is an adapted version of LazyBear's script (Squeeze Momentum Indicator)  Pressure is a Filter that highlight bars before a bigger price move in any direction. The result are integer numbers between 0 and 4 whereby 0 means no bigger price move excepted, while 4 means huge price move expected. You can set the in-going price source and the period length in the Indicator settings section.
 Bilson Gann Trend:  The Bilson Gann Trend Indicator is a specific  re-implementation of the widely known Bilson Gann Count Algorithm to detect Highs and Lows. On base of the last four Highs and Lows a trend direction can be calculated. It is based on 2 rules to confirm a local pivot candidate. When a local pivot candidate is confirmed, let it be a High then it looks for Lows to confirm. The result range is   whereby -1 means down trend, 1 means uptrend and 0 sideways.
 Confluence:  The Confluence Indicator is a simplified version of Dale Legan's "Confluence" indicator written by Gary Fritz. It uses five SMAs with different periods lengths. Whereby the faster SMA get compared with the (slower) SMA with the next higher period lengths. Is the faster SMA smaller then the slower SMA then -1, otherwise +1. This is done with all SMAs and the final sum range between  . Whereby values around 0 means price is going side way, Crossing under 0 means trend change from bull to bear. Is the value>2 means  a strong bull trend and <-2 a strong bear trend.
 Trades Dynamic Index:  The TDI is an adapted version from the "Traders Dynamic Index" of LazyBear. The range of the result is   whereby 2 means Top goShort, -2 means Bottom goLong, 0 is neutral, 1 is up trend, -1 is down trend.
 Simple Moving Average:  The SMA is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
 Exponential Moving Average:  The EMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
 Weighted Moving Average:  The WMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
 Hull Moving Average:  HMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
 Volume Weighted Average Price:  The VWAP as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source in the Indicator settings section.
 Zero Lag Moving Average:  The ZLMA by John Ehlers and Ric Way describe in their paper: www.mesasoftware.com
As the other moving averages you can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
 T3 Moving Average:  The T3MA is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source, the period length and a factor in the Indicator settings section. Keep this factor at 1 and the T3MA swing in the same range as the input. Bigger 1 and it swings over. Factors close to 0 and the T3MA becomes a center line. 
All MA's following the price. The function to compare any MA Indicators would be < or > to generate a trade direction. An example follows in the next section.
 4. Example and Usage 
In this section, you see how to set up the strategy using a simple example. This example was intentionally chosen at random and has not undergone any iterations to refine the trade results.
We use the RSI as the trade signal indicator and apply a filter using a combination of two moving averages (MAs). The faster MA is an EMA, while the slower MA is an SMA. By comparing these two MAs, we determine a trend direction. If the faster MA is above the slower MA the trend is upwards etc. This trend direction can then be used for filtering trades.
The strategy follows these rules:
 If the RSI is below 20, a buy signal is generated.
 If the RSI is above 80, a sell signal is generated. 
However, this RSI trade signal is filtered so that a trade is only given the maximum voting weight if the RSI trade direction aligns with the trend direction determined by the MA filter.
So first, you need to add your chosen assets or simply keep the default ones. In Image 2, you can see one of the eight asset input sections.
  
Image 2
This strategy offers some general trade settings that apply equally to all assets and some asset-specific settings. This distinction is necessary because some assets have higher volatility than others, requiring asset-specific Take Profit and Stop Loss levels.
Once you have made your selections, proceed to the Indicators and Compare Functions for the voting. Image 3 shows an example of this setup.
  
Image 3
Later on go to the Indicator specific settings shown in Image 4 to refine the trade results.
  
Image 4
For refine the trade results take also a look on the result summary table, development of capital plot, on the list of closed and open trades and screener table shown in Image 5.
  
Image 5
To locate any trade for any asset in the chronological and scroll-able trade list, each trade is marked with a label:
 An opening label displaying the trade direction, ticker ID, trade number, invested amount, and remaining cash reserves.
 A closing label showing the closing reason, ticker ID, trade number, trade profit (%), trade revenue ($), and updated cash reserves. 
Additionally: a green line marks each Take Profit level. An orange line indicates the (trailing) Stop Loss.
The summary table in the bottom-left corner provides insights into how effective the trade strategy is. By analyzing the trade list, you can identify trades that should be avoided.
To find those bad trades on the chart, use the trade number or timestamp. With replay mode, you can go back in time to review a specific trade in detail.
  
Image 6
In Image 6, you can see an example where replay mode and the start time filter are used to display specific trades within a narrow time range. By identifying a large number of bad trades, you may recognize patterns and formulate conditions to avoid them in the future.
This is the backtesting tool that allows you to develop and refine your trading strategy continuously. With each iteration—from general adjustments to detailed optimizations—you can use these tools to improve your strategy. You can:
 Add other indicators with trade signals and direction
 Add more indicators signals as filter
 Adjust the settings of your indicators to optimize results
 Configure key strategy settings, such as Time and Session Filters, Stop Loss, Take Profit, and more 
By doing so, you can identify a profitable strategy and its optimal settings.
 5. Settings Menu 
In the settings menu you will find the following high-lighted sections. Most of the settings have a i mark on their right side. Move over it with the cursor to read specific explanation.
 Backtest Results:  Here you can decide about visibility of the trade list, of the Screener Table and of the Results Summary. And the colors for bullish, side ways, bearish and no signal. Go above and see Image 5. 
 Time Filter:  You can set a  Start  time or deactivate it by leave it unhooked. The same with  End  Time and  Duration Days .  Duration Days  can also count from  End  time in case you deactivate  Start  time.
 Session Filter:  Here, you can chose to activate trading on a weekly basis, specifying which days of the week trading is allowed and which are excluded. Additionally, you can configure trading on a daily basis, setting the start and end times for when trades are permitted. If activated, no new trades will be initiated outside the defined times and sessions.
 Trade Logic:  Here you can set an extra time frame for all indicators. You can enable Longs or Shorts or both trades. 
The min Criteria percentage setting defines the minimum number of voices an asset has to get to be traded. So if you set this to 50% or less also weak winners of the voting get traded while 100% means that the winner of the voting has to get all possible voices.
Additionally, you have the option to delay entry signals. This feature is particularly useful when trade signals exhibit noise and require smoothing.
Enable Trailing Stop and force the strategy to trade only at bar closing. Other-ways the strategy trade intrabar, so when ever a voting present an asset to trade, it will send the alert and the webhooks.
The Hedging is basic as shown in the following  Image 7  and serves as a catch if price moves fast in the wrong direction. You can activate a hedging mechanism, which opens a trade in the opposite direction if the price moves x% against the entry price. If both the Stop Loss and Hedging are triggered within the same bar, the hedging action will always take precedence.  
  
 Image 6 
 Indicators to use for Trade Signal Generating:  Here you chose the  Indicators  and their  Compare Function  for the  Voting . Any activated asset will get their indicator valuation which get compared over all assets. The asset with the highest valuation is elected for the trade as long free cash is present and as long the minimum criteria are met. 
The  Screener Table  will show all indicators results of the last bar of all assets. Those indicator values which met the threshold get a background color to high light it. Green for bullish, red for bearish and orange for trade signals without direction. If you chose an  Indicator  here but without any  compare function  it will show also their results but with just gray background.
 Indicator Settings:  here you can setup the indicator specific settings. for deeper insights see  3. Included Indicators and Compare-Functions .
 Assets, TP & SL Settings:  Asset specific settings. Chose here the  TickerID  of all Assets you wanna trade.  Take Profit 1&2  set the target prices of any trade in relation to the entry price. The  Take Profit 1  exit a part of the position defined by the quantity value.  Stop Loss  set the price to step out when a trade goes the wrong direction. 
 Invest Settings:  Here, you can set the initial amount of cash to start with. The  Quantity  Percentage determines how much of the available cash is allocated to each trade, while the  Fee  percentage specifies the trading fee applied to both opening and closing positions.
 Webhooks:  Here, you configure the  License ID  and the  Comment . This is particularly useful if you plan to use multiple instances of the script, ensuring the webhooks target the correct positions. The  Take Profit  and  Stop Loss  values are displayed as prices.   
  
 6. Declaration for Tradingview House Rules on Script Publishing 
The unique feature of this Democratic Multi-Asset Strategy is its ability to trade multiple assets simultaneously. Equipped with a set of different standard Indicators, it's new democratic Voting System does more robust trading decisions compared to single-asset. Interchangeable Indicators and customizable strategy settings allowing for a wide range of trading strategies.
This script is closed-source and invite-only to support and compensate for over a year of development work. Unlike other single asset strategies, this one cannot use TradingView's strategy functions. Instead, it is designed as an indicator.
 7. Disclaimer 
Trading is risky, and traders do lose money, eventually all. This script is for informational and educational purposes only. All content should be considered hypothetical, selected post-factum and is not to be construed as financial advice. Decisions to buy, sell, hold, or trade in securities, commodities, and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results. Using this script on your own risk. This script may have bugs and I declare don't be responsible for any losses. 
 8. Conclusion 
Now it’s your turn! Chose an asset class and pick 8 of them and chose some indicators to see the trading results of this democratic voting system. Refine your multi-asset strategy to favorable settings. Once you find a promising configuration, you can set up alerts to send webhooks directly. Configure all parameters, test and validate them in paper trading, and if results align with your expectations, you even can deploy this script as your trading bit.
Cheers
Options Overlay [Pro] IVR IV Skew Delta Exp.mv MurreyMath Expiry
𝗧𝗵𝗲 𝗳𝗶𝗿𝘀𝘁 𝗿𝗲𝗮𝗹 𝗼𝗽𝘁𝗶𝗼𝗻𝘀 𝗱𝗮𝘁𝗮 𝗶𝗻𝗱𝗶𝗰𝗮𝘁𝗼𝗿 𝗼𝗻 𝗧𝗿𝗮𝗱𝗶𝗻𝗴𝗩𝗶𝗲𝘄, 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗳𝗼𝗿 𝗼𝘃𝗲𝗿 𝟭𝟱𝟬+ 𝗹𝗶𝗾𝘂𝗶𝗱 𝗨𝗦 𝗺𝗮𝗿𝗸𝗲𝘁 𝘀𝘆𝗺𝗯𝗼𝗹𝘀.
🔃 Auto-Updating Option Metrics without refresh!
🍒 Developed and maintained by option traders for option traders.
📈 Specifically designed for TradingView users who trade options.
 Our  indicator provides essential key metrics such as:
✅ IVRank
✅ IVx
✅ 5-Day IVx Change
✅ Delta curves and interpolated distances
✅ Expected move curve
✅ Standard deviation (STD1) curve
✅ Vertical Pricing Skew
✅ Horizontal IVx Skew
✅ Delta Skew 
like TastyTrade, TOS, IBKR etc, but in a much more visually intuitive way.  See detailed descriptions below.
If this isn't enough,  we also include a unique grid system  designed specifically for options traders. This package features our innovative dynamic grid system:
 ✅ Enhanced Murrey Math levels (horizontal scale)
✅ Options expirations (vertical scale) 
Designed to help you assess market conditions and make well-informed trading decisions, this tool is an essential addition for every serious options trader!
 Ticker Information:
 This indicator is currently implemented for more than 150 liquid US market tickers and we are continuously expanding the list: 
 SP:SPX   AMEX:SPY   NASDAQ:QQQ   NASDAQ:TLT   AMEX:GLD  
 NYSE:AA   NASDAQ:AAL   NASDAQ:AAPL   NYSE:ABBV   NASDAQ:ABNB   NASDAQ:AMD   NASDAQ:AMZN   AMEX:ARKK   NASDAQ:AVGO   NYSE:AXP   NYSE:BA   NYSE:BABA   NYSE:BAC   NASDAQ:BIDU   AMEX:BITO   NYSE:BMY   NYSE:BP   NASDAQ:BYND   NYSE:C   NYSE:CAT   NYSE:CCJ   NYSE:CCL   NASDAQ:COIN   NYSE:COP   NASDAQ:COST   NYSE:CRM   NASDAQ:CRWD   NASDAQ:CSCO   NYSE:CVNA   NYSE:CVS   NYSE:CVX   NYSE:DAL   NASDAQ:DBX   AMEX:DIA   NYSE:DIS   NASDAQ:DKNG   NASDAQ:EBAY   NASDAQ:ETSY   NASDAQ:EXPE   NYSE:F   NYSE:FCX   NYSE:FDX   AMEX:FXI   AMEX:GDX   AMEX:GDXJ   NYSE:GE   NYSE:GM   NYSE:GME   NYSE:GOLD   NASDAQ:GOOG   NASDAQ:GOOGL   NYSE:GPS   NYSE:GS   NASDAQ:HOOD   NYSE:IBM   NASDAQ:IEF   NASDAQ:INTC   AMEX:IWM   NASDAQ:JD   NYSE:JNJ   NYSE:JPM   NYSE:JWN   NYSE:KO   NYSE:LLY   NYSE:LOW   NYSE:LVS   NYSE:MA   NASDAQ:MARA   NYSE:MCD   NYSE:MET   NASDAQ:META   NYSE:MGM   NYSE:MMM   NYSE:MPC   NYSE:MRK   NASDAQ:MRNA   NYSE:MRO   NASDAQ:MRVL   NYSE:MS   NASDAQ:MSFT   AMEX:MSOS   NYSE:NCLH   NASDAQ:NDX   NYSE:NET   NASDAQ:NFLX   NYSE:NIO   NYSE:NKE   NASDAQ:NVDA   NASDAQ:ON   NYSE:ORCL   NYSE:OXY   NASDAQ:PEP   NYSE:PFE   NYSE:PINS   NYSE:PLTR   NASDAQ:PTON   NASDAQ:PYPL   NASDAQ:QCOM   NYSE:RBLX   NYSE:RCL   NASDAQ:RIOT   NASDAQ:RIVN   NASDAQ:ROKU   NASDAQ:SBUX   NYSE:SHOP   AMEX:SLV   NASDAQ:SMCI   NASDAQ:SMH   NYSE:SNAP   NYSE:SQ   NYSE:T   NYSE:TGT   NASDAQ:TQQQ   NASDAQ:TSLA   NYSE:TSM   NASDAQ:TTD   NASDAQ:TXN   NYSE:U   NASDAQ:UAL   NYSE:UBER   AMEX:UNG   NYSE:UPS   NASDAQ:UPST   AMEX:USO   NYSE:V   AMEX:VXX   NYSE:VZ   NASDAQ:WBA   NYSE:WFC   NYSE:WMT   NASDAQ:WYNN   NYSE:X   AMEX:XHB   AMEX:XLE   AMEX:XLF   AMEX:XLI   AMEX:XLK   AMEX:XLP   AMEX:XLU   AMEX:XLV   AMEX:XLY   NYSE:XOM   NYSE:XPEV   CBOE:XSP   NASDAQ:ZM 
 How does the indicator work and why is it unique?
 
This Pine Script indicator is a complex tool designed to provide various option metrics and visualization tools for options market traders. The indicator extracts raw options data from an external data provider (ORATS), processes and refines the delayed data package using pineseed, and sends it to TradingView, visualizing the data using specific formulas (see detailed below) or interpolated values (e.g., delta distances). This method of incorporating options data into a visualization framework is unique and entirely innovative on TradingView. 
The indicator aims to offer a comprehensive view of the current state of options for the implemented instruments, including implied volatility (IV), IV rank (IVR), options skew, and expected market movements, which are objectively measured as detailed below. 
The options metrics we display may be familiar to options traders from various major brokerage platforms such as TastyTrade, IBKR, TOS, Tradier, TD Ameritrade, Schwab, etc.
🟨  𝗗𝗘𝗧𝗔𝗜𝗟𝗘𝗗 𝗗𝗢𝗖𝗨𝗠𝗘𝗡𝗧𝗔𝗧𝗜𝗢𝗡 🟨
 🔶 Auto-Updating Option Metrics and Curved Lines 
 🔹 Interpolated DELTA Curves (16,20,25,30,40)
 
In our indicator, the curve layer settings allow you to choose the delta value for displaying the delta curve: 16, 20, 25, 30, or even 40. The color of the curve can be customized, and you can also hide the delta curve by selecting the "-" option.
It's important to mention that we display interpolated deltas from the actual option chain of the underlying asset using the Black-Scholes model. This ensures that the 16 delta truly reflects the theoretical, but accurate, 16 delta distance. (For example, deltas shown by brokerages for individual strikes are rounded; a 0.16 delta might actually be 0.1625.)
 🔹 Expected Move Curve (Exp.mv) 
The expected move is the predicted dollar change in the underlying stock's price by a given option's expiration date, with 68% certainty. It is calculated using the expiration's pricing and implied volatility levels. We chose the TastyTrade method for calculating expected move, as we found it to be the most expressive.
 Expected Move Calculation 
Expected Move = (ATM straddle price x 0.6) + (1st OTM strangle price x 0.3) + (2nd OTM strangle price x 0.1)
 For example , if stock XYZ is trading at 121 and the ATM straddle is 4.40, the 120/122 strangle is 3.46, and the 119/123 strangle is 2.66, the expected move is calculated as follows: 4.40 x 0.60 = 2.64; 3.46 x 0.30 = 1.04; 2.66 x 0.10 = 0.27; Expected move = 2.64 + 1.04 + 0.27 = ±3.9
In this example below, the TastyTrade platform indicates the expected move on the option chain with a brown color, and the exact value is displayed behind the ± symbol for each expiration. By default, we also use brown for this indication, but this can be changed or the curve display can be turned off.
 
 🔹 Standard Deviation  Curve (1 STD) 
One standard deviation of a stock encompasses approximately 68.2% of outcomes in a distribution of occurrences based on current implied volatility.
We use the expected move formula to calculate the one standard deviation range of a stock. This calculation is based on the days-to-expiration (DTE) of our option contract, the stock price, and the implied volatility of a stock:
 Calculation: 
Standard Deviation = Closing Price * Implied Volatility * sqrt(Days to Expiration / 365)
According to options literature, there is a 68% probability that the underlying asset will fall within this one standard deviation range at expiration.
If the 1 STD and Exp.mv displays are both enabled, the indicator fills the area between them with a light gray color. This is because both represent probability distributions that appear as a "bell curve" when graphed, making it visually appealing.
 Tip and Note:  
 The 1 STD line might appear jagged at times , which does not indicate a problem with the indicator. This is normal immediately after market open (e.g., during the first data refresh of the day) or if the expirations are illiquid (e.g., weekly expirations). The 1 STD value is calculated based on the aggregated IVx for the expirations, and the aggregated IVx value for weekly expirations updates less frequently due to lower trading volume. In such cases, we recommend enabling the "Only Monthly Expirations" option to smooth out the bell curve.
 
 ∑ Quant Observation:  
The values of the expected move and the 1st standard deviation (1STD) will not match because they use different calculation methods, even though both are referred to as representing 68% of the underlying asset's movement in options literature. The expected move is based on direct market pricing of ATM options. The 1STD, on the other hand, uses the averaged implied volatility (IVX) for the given expiration to determine its value. Based on our experience, it is better to consider the area between the expected move and the 1STD as the true representation of the original 68% rule.
 🔶 IVR Dashboard Panel Rows 
 🔹 IVR (IV Rank)  
The Implied Volatility Rank (IVR) indicator helps options traders assess the current level of implied volatility (IV) in comparison to the past 52 weeks. IVR is a useful metric to determine whether options are relatively cheap or expensive. This can guide traders on whether to buy or sell options. We calculate IVrank, like TastyTrade does.
 IVR Calculation: 
  IV Rank = (current IV - 52 week IV low) / (52 week IV high - 52 week IV low) 
 IVR Levels and Interpretations:
 
 
 IVR 0-10 (Green): Very low implied volatility rank. Options might be "cheap," potentially a good time to buy options.
 IVR 10-35 (White): Normal implied volatility rank. Options pricing is relatively standard.
 IVR 35-50 (Orange): Almost high implied volatility rank.
 IVR 50-75 (Red): Definitely high implied volatility rank. Options might be "expensive," potentially a good time to sell options for higher premiums.
 IVR above 75 (Highlighted Red): Ultra high implied volatility rank. Indicates very high levels, suggesting a favorable time for selling options.
 
 The panel refreshes automatically  if the symbol is implemented. You can hide the panel or change the position and size.
 🔹IVx (Implied Volatility Index) 
The Implied Volatility Index (IVx) displayed in the option chain is calculated similarly to the VIX. The Cboe uses standard and weekly SPX options to measure the expected volatility of the S&P 500. A similar method is utilized to calculate IVx for each option expiration cycle.
For our purposes on the IVR Panel,  we aggregate the IVx values specifically for the 35-70 day monthly expiration cycle . This aggregated value is then presented in the screener and info panel, providing a clear and concise measure of implied volatility over this period.
IVx Color coding:
IVx above 30 is displayed in orange.
IVx above 60 is displayed in red
 IVx on curve:  
The IVx values for each expiration can be viewed by hovering the mouse over the colored tooltip labels above the Curve. 
 IVx avg on IVR panel : 
If the option is checked in the IVR panel settings, the IVR panel will display the average IVx values up to the optimal expiration.
 Important Note: 
The IVx value alone does not provide sufficient context. There are stocks that inherently exhibit high IVx values. Therefore, it is crucial to consider IVx in conjunction with the Implied Volatility Rank (IVR), which measures the IVx relative to its own historical values. This combined view helps in accurately assessing the significance of the IVx in relation to the specific stock's typical volatility behavior.
This indicator offers traders a comprehensive view of implied volatility, assisting them in making informed decisions by highlighting both the absolute and relative volatility measures.
 🔹IVx 5 days change % 
We are displaying the five-day change of the IV Index (IVx value). The IV Index 5-Day Change column provides quick insight into recent expansions or decreases in implied volatility over the last five trading days.
Traders who expect the value of options to decrease might view a decrease in IVX as a positive signal. Strategies such as Strangle and Ratio Spread can benefit from this decrease.
On the other hand, traders anticipating further increases in IVX will focus on the rising IVX values. Strategies like Calendar Spread or Diagonal Spread can take advantage of increasing implied volatility.
This indicator helps traders quickly assess changes in implied volatility, enabling them to make informed decisions based on their trading strategies and market expectations.
 
 🔹 Vertical Pricing Skew 
At TanukiTrade, Vertical Pricing Skew refers to the difference in pricing between put and call options with the same expiration date at the same distance (at expected move). We analyze this skew to understand market sentiment. This is the same formula used by TastyTrade for calculations.
 We calculate the interpolated strike price based on the expected move , taking into account the neighboring option prices and their distances. This allows us to accurately determine whether the CALL or PUT options are more expensive.
 
 PUT Skew (red): Put options are more expensive than call options, indicating the market expects a downward move (▽). If put options are more expensive by more than 20% at the same expected move distance, we color it lighter red.
 CALL Skew (green): Call options are more expensive than put options, indicating the market expects an upward move (△). If call options are priced more than 30% higher at the examined expiration, we color it lighter green. 
 
 Vertical Skew on Curve:  
The degree of vertical pricing skew for each expiration can be viewed by hovering over the points above the curve. Hover with mouse for more information.
 Vertical Skew on IVR panel:  
We focus on options with 35-70 days to expiration (DTE) for optimal analysis in case of vertical skew. Hover with mouse for more information.
This approach helps us gauge market expectations accurately, providing insights into potential price movements. Remember, we always evaluate the skew at the expected move using linear interpolation to determine the theoretical pricing of options. 
 🔹 Delta Skew 🌪️ (Twist) 
We have a new metric that examines which monthly expiration indicates a "Delta Skew Twist" where the 16 delta deviates from the monthly STD. This is important because, under normal circumstances, the 16 delta is positioned between the expected move and the standard deviation (STD1) line (see Exp.mv & 1STD exact definitions above). However, if the interpolated 16 delta line exceeds the STD1 line either upwards or downwards, it represents a special case of vertical skew on the option chain. 
Normal case :  exp.move <  delta16  < std1 
 Delta Skew Twist:  exp.move < std1 <  delta16 
We indicate this with direction-specific colors (red/green) on the delta line.  We also color the section of the delta curve affected by the delta skew in this case, even if you choose to display a lower delta, such as 30, instead of 16.
If "Colored Labels with Tooltips" is enabled, we also display a 🌪️ symbol in the tooltip for the expirations affected by Delta Skew.
If you have enabled the display of 'Vertical Pricing Skew' on the IVR Panel, a 🌪️ symbol will also appear next to the value of the vertical skew, and the tooltip will indicate from which expiration Delta Skew is observed.
 
 🔹 Horizontal IVx Skew 
In options pricing, it is typically expected that the implied volatility (IVx) increases for options with later expiration dates. This means that options further out in time are generally more expensive. At TanukiTrade, we refer to the phenomenon where this expectation is reversed—when the IVx decreases between two consecutive expirations—as Horizontal Skew or IVx Skew. 
 Horizontal IVx Skew occurs when:   Front Expiry IVx < Back Expiry IVx 
This scenario can create opportunities for traders who prefer  diagonal or calendar strategies . Based on our experience, we categorize Horizontal Skew into two types:
 Weekly Horizontal Skew: 
When IVx skew is observed between two consecutive non-monthly expirations, the displayed value is the rounded-up percentage difference. On hover, the approximate location of this skew is also displayed. The precise location can be seen on this indicator.
 Monthly Horizontal Skew:  
When IVx skew is observed  between two consecutive monthly expirations , the displayed value is the rounded-up percentage difference. On hover, the approximate location of this skew is also displayed. The precise location can be seen on our Overlay indicator.
 The Monthly Vertical IVx skew is consistently more liquid  than the weekly vertical IVx skew. Weekly Horizontal IVx Skew may not carry relevant information for symbols not included in the 'Weeklies & Volume Masters' preset in our Options Screener indicator. 
If the options chain follows the normal IVx pattern, no skew value is displayed. 
Color codes or tooltip labels above curve:
 
 Gray - No horizontal skew; 
 Purple - Weekly horizontal skew; 
 BigBlue - Monthly horizontal skew
 
The display of monthly and weekly IVx skew can be toggled on or off on the IVR panel. However, if you want to disable the colored tooltips above the curve, this can only be done using the "Colored labels with tooltips" switch.
We indicate this range with colorful information bubbles above the upper STD line.
 🔶 The Option Trader’s GRID System: Adaptive MurreyMath + Expiry Lines
 
At TanukiTrade, we utilize Enhanced MurreyMath and Expiry lines to create a dynamic grid system, unlike the basic built-in vertical grids in TradingView, which provide no insight into specific price levels or option expirations.
These grids are beneficial because they provide a structured layout, making important price levels visible on the chart. The grid automatically resizes as the underlying asset's volatility changes, helping traders identify expected movements for various option expirations.
The Option Trader’s GRID System part of this indicator  can be used without limitations for all instruments . There are no type or other restrictions, and it automatically scales to fit every asset. Even if we haven't implemented the option metrics for a particular underlying asset, the GRID system will still function!
 🔹  SETUP OF YOUR OPTIONS GRID SYSTEM 
You can setup your new grid system in 3 easy steps!
 STEP1: Hide default horizontal grid lines in TradingView 
Right-click on an empty area of your chart, then select “Settings.” In the Chart settings -> Canvas -> Grid lines section, disable the display of horizontal lines to avoid distraction.
 SETUP STEP2: Scaling fix 
Right-click on the price scale on the right side, then select "Scale price chart only" to prevent the chart from scaling to the new horizontal lines!
 STEP3: Enable Tanuki Options Grid 
As a final step, make sure that both the vertical (MurreyMath) and horizontal (Expiry) lines are enabled in the Grid section of our indicator.
You are done, enjoy the new grid system!
 🔹 HORIZONTAL: Enhanced MurreyMath Lines 
Murrey Math lines are based on the principles observed by William Gann, renowned for his market symmetry forecasts. Gann's techniques, such as Gann Angles, have been adapted by Murrey to make them more accessible to ordinary investors. According to Murrey, markets often correct at specific price levels, and breakouts or returns to these levels can signal good entry points for trades.
 At TanukiTrade, we enhance these price levels based on our experience , ensuring a clear display. We acknowledge that while MurreyMath lines aren't infallible predictions, they are useful for identifying likely price movements over a given period (e.g., one month) if the market trend aligns.
 Our opinion: MurreyMath lines are not crystal balls (like no other tool). They should be used to identify that if we are trading in the right direction, the price is likely to reach the next unit step within a unit time (e.g. monthly expiration).
 
 One unit step  is the distance between Murrey Math lines, such as between the 0/8 and 1/8 lines. This interval helps identify different quadrants and is crucial for recognizing support and resistance levels.
Some option traders use Murrey Math lines to gauge the movement speed of an instrument over a unit time. A quadrant encompasses 4 unit steps. 
 Key levels, according to TanukiTrade, include:
 
Of course, the lines can be toggled on or off, and their default color can also be changed.
 🔹 VERTICAL: Expiry Lines
 
The indicator can display monthly and weekly expirations as dashed lines, with customizable colors. Weekly expirations will always appear in a lighter shade compared to monthly expirations.
 Monthly Expiry Lines:  
You can turn off the lines indicating monthly expirations, or set the direction (past/future/both) and the number of lines to be drawn.
 Weekly Expiry Lines: 
 You can display weekly expirations pointing to the future. You can also turn them off or specify how many weeks ahead the lines should be drawn.
Of course, the lines can be toggled on or off, and their default color can also be changed.
 TIP: Hide default vertical grid lines in TradingView 
 
Right-click on an empty area of your chart, then select “Settings.” In the Chart settings -> Canvas -> Grid lines section, disable the display of vertical lines to avoid distraction. Same, like steps above at MurreyMath lines.
 🔶 ADDITIONAL IMPORTANT COMMENTS
 
  - U.S. market only:  
Since we only deal with liquid option chains: this option indicator only works for the USA options market and do not include future contracts; we have implemented each selected symbol individually.
 - Why is there a slight difference between the displayed data and my live brokerage data?  There are two reasons for this, and one is beyond our control.
  - Brokerage Calculation Differences: 
 Every brokerage has slight differences in how they calculate metrics like IV and IVx. If you open three windows for TOS, TastyTrade, and IBKR side by side, you will notice that the values are minimally different. We had to choose a standard, so we use the formulas and mathematical models described by TastyTrade when analyzing the options chain and drawing conclusions.
  - Option-data update frequency: 
 According to TradingView's regulations and guidelines, we can update external data a maximum of 5 times per day. We strive to use these updates in the most optimal way:
(1st update) 15 minutes after U.S. market open
(2nd, 3rd, 4th updates) 1.5–3 hours during U.S. market open hours
(5th update) 10 minutes before market close.
    You don’t need to refresh your window, our last refreshed data-pack is always automatically applied to your indicator , and you can see the time elapsed since the last update at the bottom of your indicator.
  - Skewed Curves: 
 The delta, expected move, and standard deviation curves also appear relevantly on a daily or intraday timeframe. Data loss is experienced above a daily timeframe: this is a TradingView limitation.
  - Weekly illiquid expiries: 
  
Especially for instruments where weekly options are illiquid: the weekly expiration STD1 data is not relevant. In these cases, we recommend checking in the "Display only Monthly labels" checkbox to avoid displaying not relevant weekly options expirations.
  -Timeframe Issues: 
 Our option indicator visualizes relevant data on a daily resolution. If you see strange or incorrect data (e.g., when the options data was last updated), always switch to a daily (1D) timeframe. If you still see strange data, please contact us.
 Disclaimer: 
 Our option indicator uses approximately 15min-3 hour delayed option market snapshot data to calculate the main option metrics. Exact realtime option contract prices are never displayed; only derived metrics and interpolated delta are shown to ensure accurate and consistent visualization. Due to the above,  this indicator can only be used for decision support; exclusive decisions cannot be made based on this indicator . We reserve the right to make errors.This indicator is designed for options traders who understand what they are doing. It assumes that they are familiar with options and can make well-informed, independent decisions. We work with public data and are not a data provider; therefore, we do not bear any financial or other liability. 
The Square of NineThe Square of Nine 
 █ OVERVIEW 
This script is made to make it easy for traders to visualize the movement of price along the square of nine table. This script Places the square of nine table right infront of you in the middle of the screen, which is why it's suggested that you would use it on the side of your main chart.
This script gives you ability to adjust number of revolutions which is the number of rings making the square of nine table up to 9 revs.
You can also change the price unit ( increments ) for each step.
You can use this indicator as a visual reference to track the price action along the square of 9 and make sense of the mechanism behind turning points. It is made to complement both : 
-  Gann Static Square of 9 
-  Gann Dynamic Square of 9  
  
You can enable all of the following degrees and adjust their visual appearances on the chart :
360, 45, 90, 135, 180, 225, 270, 315
 █ Future Plans and upgrades to this script may include : 
1. Adjustable starting price.
2. Astro Integrations.
3. Visuals and matching prices.
and more! feel free to let me know what you'd like to see!
 █ How to use : 
1. Put the script on your chart
2. Selected your desired levels to activate and the number of desired revolutions.
give the script a few seconds and you should be set.
[HuD] MasterMaster is a trend indicator that uses Bollinger Band (BB) and Exponential Moving Average ( EMA ) as its main components.
1️⃣ Two EMA lines are used to create the band, which are EMA 8 and EMA 21
When EMA 8 value > EMA21 value, the band color is filled with green and when EMA 8 < EMA21, band is grey
Green means uptrend mode and grey downtrend mode.
2️⃣ EMA50 (purple color)
EMA50 act as a trend indicator, which indicates whether the chart is uptrend or downtrend
3️⃣ Simple Moving Average (SMA200), red line act as a long-term trend guide.
Chart is in strong uptrend when candles are above EMA50 and SMA200
4️⃣ There are 5 signals generated that act as signals to help traders (Bursa Malaysia) in making decisions for Long position.
🔸BUY Signal (B) and SELL (S)
- generated using ATR with default setting set to, ATR Length = 20 , and ATR Multification = 1.7
- trader can make Buy position from that candle or monitor and enter enter after few candle after BUY Signal
- SELL (S) signal is exit signal = red candle, when it break ATR Trailing stop
🔸PB Signal
- signal generated using Stochastic and when candle rebound from EMA10, EMA20 and EMA50
- this is the most safest Entry since it nearest to support area
🔸BO5 ( Light Green Candle )
- When candle breakout the highest previous five candles with significant volume
- Indicates that there's a sign of interest in buying power in the market
- Another opportunity to enter the market either at the current candle or wait for the right time when it retraces
🔸BO20 ( Green Candle )
- When candle breakout the highest previous twenty candles with significant volume
- In daily chart this candle is consider very important as it is the highest monthly candle.
v. ATOM ( Yellow Candle )
- when candle able to break the LineAtom
- LineAtom = sma (close, 20) + (1 * stdev(close, 20))
- ATOM candle indicates there is momentum for candle to move forward towards Top BB
5️⃣ Other Features from Indicator :
🔹Built-in Gann Lines
- Gann Lines is generated from the calculation and reference of Gann Square 9 Table
- It act as a guide for support and resistance .
- Exit position when it breaks the support or as Take Profit (TP) when it reaches the desired resistance.
🔹Tables
- showing the value of All Time High and 52-Week-High
- show the estimation value of current trade ( volume * close price )
- show the value of volume relative
🔹Golden Cross and Death Cross
- act as guide when there's a crossing between short EMA and long EMA lines
- Below are pair of EMAs used :
🔘EMA5 and EMA20
🔘EMA20 and EMA50
🔘EMA50 and SMA200
HiLo Screener█ OVERVIEW
This is a screener script for the  Gann Hilo Indicator . It's an excellent trend analysis indicator to spot trend reversals.
█ DESCRIPTION
The screener works by scanning through up to 10 symbols and list down symbols that are currently breaking the high or low mean averages as definied by the Gann Hilo Indicator. Once you add it, 2 panels will be added to your chart - the green panel will list the symbols reversing into a bullish trend and the red panel will show the symbols reversing into a bearish trend.
█ HOW TO USE
After adding the indicator, open the script settings and type the symbol name and length to be used on the Gann Hilo Indicator for each stock.
█ FEATURES
The screener can scan up to 10 symbols each time.
█ LIMITATIONS
The screener will scan the symbols reversing trend on the current bar, and as such, there maybe some delays depending on the stock/etf/crypto you choose. Some exchanges require an additional subscription to get realtime data.
Noya Alpha - Venus Planetary LinesOne of W.D. Gann's most powerful planetary tools was the Gann Planetary Lines. These convert planetary angles to price in order to determine areas of support and resistance. Like many of W.D. Gann's other tools, these can be very very accurate with the right settings but requires user input and tuning to refine the lines to fit each individual asset's price action.
 Inputs: 
 
 Radix:  Default is 1. This represents the price/angle scale, adjust this in multiplies of 2 for best results. Negative and decimal values are supported and encouraged for use as well.
 Angle Divisions  (stdsplit): The amount each major angle is split.
 Number of Lines:  Number of Plots to draw.
 
Featured are also crossovers for when the planet moves across each major area into a new constellation.
Noya Alpha - Mercury Planetary LinesOne of W.D. Gann's most powerful planetary tools was the Gann Planetary Lines. These convert planetary angles to price in order to determine areas of support and resistance. Like many of W.D. Gann's other tools, these can be very very accurate with the right settings but requires user input and tuning to refine the lines to fit each individual asset's price action.
 Inputs: 
 Radix:  Default is 1. This represents the price/angle scale, adjust this in multiplies of 2 for best results. Negative and decimal values are supported and encouraged for use as well.
 Angle Divisions (stdsplit):  The amount each major angle is split.
 Number of Lines:  Number of Plots to draw.
Featured are also crossovers for when the planet moves across each major area into a new constellation.
Noya Alpha - Jupiter Planetary LinesOne of W.D. Gann's most powerful planetary tools was the Gann Planetary Lines. These convert planetary angles to price in order to determine areas of support and resistance . Like many of W.D. Gann's other tools, these can be very very accurate with the right settings but requires user input and tuning to refine the lines to fit each individual asset's price action.
 Inputs: 
 Radix:  Default is 1. This represents the price/angle scale, adjust this in multiplies of 2 for best results. Negative and decimal values are supported and encouraged for use as well.
 Angle Divisions  (stdsplit): The amount each major angle is split.
 Number of Lines : Number of Plots to draw.
Featured are also crossovers for when the planet moves across each major area into a new constellation.
Bonfire 2021 by CaptBlackBeardSee original (balanced scale) chart here:  
See a local price version squared to the start of this cycle.   
Published chart is focusing on the squaring feature of Bonfire.  
Updates to Pinescript have allowed some additional options that allow a better experience.  
 If you are unfamiliar with  squaring price and time  or  finding 1:1 ratios , you should look into the subject along with the (45 degree) concept creator (W.D. Gann).  
 
 Squaring price/time is just the very first steps in setting up your Bonfire chart. 
 Once you have properly scaled the chart to your liking ->  Right Click the scale on the left  ->  Click Lock Scale to preserve the price time squaring .
 Here you see just how natural the price is to 45 degrees. Now adding additional drawings such as Gann and Fibonacci tools along with symmetry based geometry are a breeze.  
Once you have your chart setup, there are endless possibilities in building your prediction models. 
Again, this is just the first step and showing one feature of Bonfire. There's arguably more powerful and unique features included with the next layer of advanced indicators once zoomed in. 
 I'm working hard to build and release a website, forum, detailed information, guides and videos for all of Bonfire's features as well as my other indictors so stay tuned. 
 Just a few of the advantages of Bonfire squaring 
Unique square offsets and settings capture common time pivots and price level ratios that help you to align price/time 1:1  (from major pivots or the event of your choice ). 
When the price is square you have a greater chance of being accurate with trend predictions, targets, price levels, Gann tools and geometry.  
When the price and trends are truly square you have built-in confluence for your current system and indicators. 
One factor not considered by most is the massive variable of scaling charts. Finding 45 degrees is just your opinion unless you scale a chart properly. Using  a static square is not enough.  
Many people find that having a structured and consistent method for visualizing an asset helps them understand the state of the asset faster but also provides a stable way to compare assets quickly.
Aside from finding the true 45 degree trends,90 degree pivots, 0 degree levels, you can use the corners, midlines, and tangents from any and all squares to add some very powerful trendlines and pivots. 
 
This is the newest version of Bonfire with updates to make it easier to customize and adjust inputs/settings to your preference. The key is to allow adjustments while maintaining the core Bonfire parameters. 
 Some new features:  
-Lightmode and Darkmode switch. * Recommend a plain white or black background. 
-More Bonfire specific built-in sizing options
-Display options =  Squares Only | Indicators Only | Both 
-User preferances = Square line thickness
Intraday LevelsDear Investor / Trader, 
Intraday Levels is a script to identify the intraday  levels. This script is only for intraday purpose.
I am using previous day's closing price and volatility to calculate the next day's range/levels, this script is calculates the levels using Gann angles and volatility principles .
If the instrument opens gap-up or gap-down then the OPEN price is used to calculate the next day's range.
This script will only work in low timeframes. This script will not plot levels in higher timeframes from 30 minutes onwards.
 Suggested time frame:  
Intraday trading 
- 5 Min or 15 Min
 How to use? 
If you are price and action trader then trading can be done from any plotted level based on the price action principles or candlestick patterns. Otherwise according to GANN principle you can be done trading as per the direction given by the indicator.
 Additional / Unique – 
Besides Gann angles and volatility calculation we will get VWAP and EMA’s. Some many traders are using EMA’s and VWAP as an additional confirmation factor which increase their wining probabilities. So there is no need to add additional indicators for VWAP & EMA’S.  
Astraea: Plantary Line Indicator (BennuQuants.net]BennuQuants presents:  
Astrea: The Planetary Longitudinal Indicator
DOCUMENTATION: bennuquants.net
"Astraea is our version Gann’s planetary line indicator, and shows the longitude of a given planet. These lines can be used as harmonic pivot points. This is the first and only astro trading instrument available on TradingView at this time.
As a disclaimer, this is one of the most intensive indicators and areas we have found to in TA. We cannot determine the probability of success with any of these systems, but are providing the framework with which to find profitable systems. This system has been back tested against other experts and works in the same manner, bringing Astrotrading to TradingView for the first time."
This indicator was created from replicating and improving upon Gann based techniques which were somewhat hidden in nearly 1000 pages of writing and text.  We strongly recommend reading the books found at the back of the documenation. 
If you want a 7-day free trial, please join the Discord.  There will also be a new channel available to astro-traders who are interested in learning more about Gann and harmonic trading. The asking price for the indicator currently is $100.  If you have financial issues or a proposal, please feel free to reach out.  If the quantity is an issue and you wish to make a charitable donation, that is also an option.  
Legal Disclaimer: By using this indicator you agree that BennuQuants is not liable for any losses that may occur while trading financial assets.  Trading is a risky endeavor and losses may occur. Your decisions are your own. 
You are entitled to a copy of Astraea  as long as TradingView as a platform exists.  If for any unseen reason the hosting account is banned, we will restore access as soon as possible.  If you are transferring TradingView accounts, we will work with you to assist the transition process.  
More information can be found here: bennuquants.net
✨ Time × Price Complete Square — XAUUSD 3min✨ Time × Price — XAUUSD 3min
🧩 Overview
The Time × Price indicator visualizes the relationship between price movement and time cycles to help identify potential confluence zones.
By detecting pivot points (swing highs and lows) and applying a geometric cycle structure inspired by the Square of 9 / Gann methodology, it highlights where price and time harmonize.
This tool is designed for traders who want to observe market rhythm and cyclical symmetry rather than simple trend signals.
⚙️ Features
Automatic pivot detection (adjustable sensitivity)
Dynamic Time × Price rings showing cycle evolution
🟦 Blue → new cycle starts
🟨 Yellow → equilibrium phase
🟥 Red → cycle completion
Optional alert when a cycle completes
Time and price axis guides for clearer confluence visualization
🔍 Parameters
Parameter	Description
pivotLen	Length for detecting swing points. Higher values smooth out smaller fluctuations.
baseCycle	Base cycle period that defines the ring spacing.
alertOn	Enables or disables alert on cycle completion.
💡 How to Use
Apply on XAU/USD 3-minute to 15-minute charts for optimal responsiveness.
Observe when a new blue ring forms — it marks the start of a new cycle.
As rings shift toward red, a time-price cycle is approaching completion.
Combine with RSI, MACD, or momentum indicators to confirm possible reversals near ring intersections.
Use alerts to monitor key cycle completions automatically.
⚠️ Disclaimer
This script is for educational and analytical purposes only.
It does not provide financial advice or trade recommendations.
All trading decisions should be made at your own discretion and risk.
🧠 Concept
The concept is based on the idea that “time and price resonance drives market turning points.”
By adapting Gann-style time-price geometry to intraday timeframes, the indicator provides a visual structure to interpret rhythm and balance in market motion.
✅ Compliant with TradingView House Rules
No investment or profitability claims
No use of third-party or proprietary code
Transparent explanation of features and logic
Educational purpose clearly stated
Murrey Math SMA up to 32s Murrey Math SMA up to 32s   is a highly advanced Pine Script v5 indicator that combines Murrey Math Lines (MML) with a customizable moving average (MA) — including a non-repainting Rolling VWAP (RVWAP) — and dynamic color-coded support/resistance bands up to 1/32 subdivisions.  It projects octave-based geometric price levels (like Gann) centered on your chosen MA, with adaptive scaling, angle-based trend coloring, and absolute/extended MML bands. Includes 1/8, 1/16, and 1/32 grid lines, shaded zones, labels, and a live increment display.Core FeaturesFeature
Description
MA Types
SMA, VWMA, VWAP, Period VWAP, RVWAP (rolling VWAP over fixed or adaptive time window)
Murrey Math Grid
Auto-scaled 0/8 to 8/8 + extensions (±3/8), with 1/16 & 1/32 subdivisions
Dynamic Coloring
Bands colored by MA slope angle (bullish/bearish) or absolute MML shift
RVWAP Engine
Non-repainting volume-weighted average over user-defined or adaptive time steps
Wick Filtering
Optional ignore wicks for cleaner MML framing
Resolution Support
Works with higher timeframe data via request.security()
Key Use Cases Use Case
How to Use
1. Precision Support & Resistance
Treat 4/8 (mid) as pivot, 0/8 & 8/8 as extremes. Price often reverses or accelerates at these levels.
2. Mean Reversion Trades
Buy near 0/8–1/8 (oversold), sell near 7/8–8/8 (overbought) when MA is flat or sloping mildly.
3. Trend Continuation
When MA angle > threshold and price breaks 5/8, expect move to 8/8. Confirm with volume.
4. Breakout Entries
Watch for close beyond 8/8 or 0/8 + MA angle steep → strong momentum breakout.
5. Scalping with 1/32 Grid
Use 1/32 lines as micro-targets in ranging markets or after news spikes.
6. Volume-Weighted Fair Value
RVWAP = true average price paid over time → anchor for institutional fair value.
Visual Layout (MA-Centered)
+3/8   ───┐
+2/8   ───┤  ← Strong resistance
+1/8   ───┤
8/8    ███┤  ← Overbought (red zone)
7/8    ───┤
6/8    ███┤
5/8    ───┤
4/8    ███┤  ← Midline (pivot)
3/8    ───┤
2/8    ███┤
1/8    ───┤
0/8    ███┤  ← Oversold (green zone)
-1/8   ───┤
-2/8   ───┤
-3/8   ───┘
Shaded: 0/8–1/8 (buy), 7/8–8/8 (sell), 3/8–5/8 (neutral/consolidation)  
MA Line: Orange (RVWAP) or hidden  
Labels: Bottom, 1/4, Mid, 3/4, Top (offset to the right)  
Table: Shows current Increment size
Best For  Swing & scalp traders on stocks, forex, crypto  
Volume-based strategies (RVWAP shines in high-volume moves)  
Gann/Murrey Math enthusiasts wanting automation + modern MA anchoring
MM-Auto SQ9 V1.0MM-Auto SQ9 V1.0 — Automatic Square-of-9 levels from a selected pivot (Bottom/Top). Choose base shape or Custom Angle, optional half-angles, cycles, and full color/style control. 
Disclaimer: Educational purposes only — not financial advice.
**What it is**
A visual Gann Square-of-9 level engine. It projects horizontal SQ9 price levels from a single pivot using root/square transforms, with selectable geometric bases (90°/60°/72°/120°/45°) or a **Custom Angle**, optional **Sub-Angles (half-angles)**, multi-cycle expansion, full styling control, and a **draggable 0-line** pivot.
**Key features**
* **Draggable 0-line:** Drag the pivot line on the chart and drop it on any swing high/low — no need to type the reference price. Levels recalc instantly.
* **Bottom/Top modes** for projection direction.
* **Shapes or Custom Angle** (Square/Octagon/Hexagon/Triangle/Pentagon or your own).
* **Sub-Angles (½)** with separate style/color.
* **Cycles** to extend the grid.
* **Clean UI**: labels (size/distance), line thickness/style/colors, pivot line style.
**Inputs (quick guide)**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle Value • Number of Cycles • Show Sub-Angles & Line Style • Colors & Line Thickness • Labels (on/size/distance).
**Workflow**
1. Drag the **0-line** to your pivot (any swing high/low) or set **Pivot Price** and **Bottom/Top**.
2. Pick shape or **Custom Angle**; increase **Cycles** if needed.
3. Tune **Space Multiplier** to align levels with historical reactions.
4. (Optional) Enable **Sub-Angles** for finer structure.
5. Observe **bounce / break / retest** around levels and combine with your system.
**Pro tips**
* Use a **structural swing** as pivot.
* Reduce clutter by lowering cycles or disabling sub-angles.
* Pair with **market structure / volume / ATR / fractals** for decision support.
* Adjust label size/distance to keep charts clean.
**Troubleshooting (dragging)**
If the 0-line doesn’t move, ensure drawings are **unlocked** and “Move drawings” is enabled in chart settings.
**Disclaimer & Rights**
Educational purposes only — **not financial advice**.
Script programmed by **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **All rights reserved.** No unauthorized copying, distribution, or resale.
## 🇸🇦/🇸🇾 الوصف العربي
**ما هو المؤشّر؟**
محرّك مستويات جان **Square-of-9** يعرض مستويات سعرية أفقية من **Pivot** واحد باستخدام تحويل الجذر/التربيع، مع اختيار شكل زاوي جاهز (90°/60°/72°/120°/45°) أو **زاوية مخصّصة**، وخيار **أنصاف الزوايا**، ودورات متعددة، وتحكّم كامل بالمظهر، وميزة **سحب خط الصفر** لتغيير المحور بسرعة.
**أهم الميزات**
* **سحب خط الصفر:** اسحب خط الـ0 (Pivot) وضعه على أي قاع/قمة — بدون إدخال السعر يدويًا. تُعاد الحسابات فورًا.
* وضعا **Bottom/Top** لتحديد اتجاه الإسقاط.
* **أشكال جاهزة أو زاوية مخصّصة**.
* **أنصاف الزوايا (½)** بنمط/لون مستقلين.
* **الدورات (Cycles)** لتوسعة الشبكة.
* **تحكّم بصري كامل**: عناوين بحجم/مسافة، سماكة/نمط/ألوان الخطوط، ونمط خط المحور.
**الإعدادات باختصار**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle • Number of Cycles • Sub-Angles & Line Style • الألوان والسماكات • إعدادات العناوين (إظهار/حجم/مسافة).
**طريقة الاستخدام**
1. اسحب **خط الصفر** إلى القاع/القمة المطلوبة أو حدّد **Pivot Price** واختر **Bottom/Top**.
2. اختر الشكل أو **زاوية مخصّصة**؛ وفعّل **Cycles** إذا لزم.
3. عدّل **Space Multiplier** حتى ترى احتراماً تاريخياً للمستويات.
4. (اختياري) فعّل **أنصاف الزوايا** للدقة.
5. راقب **الارتداد/الاختراق/إعادة الاختبار** وادمجها مع نظامك.
**نصائح**
* اختر Pivot بنيوي واضح (Swing).
* لتقليل الزحمة: خفّض الدورات أو عطّل أنصاف الزوايا.
* دمجها مع **بنية السوق/الفوليوم/ATR/الفراكتلات** يدعم القرار.
* تحكّم بحجم/مسافة العناوين للحفاظ على نظافة الشارت.
**حلّ مشكلة السحب**
إذا ما تحرّك خط الصفر: تأكّد أن الرسومات **غير مقفولة** وأن خيار تحريك الرسومات مفعّل في إعدادات الشارت.
**إخلاء مسؤولية وحقوق**
لأغراض تعليمية فقط — **ليست نصيحة مالية**.
السكربت مبرمج بواسطة **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **جميع الحقوق محفوظة.** يُمنع النسخ/التوزيع/البيع دون إذن.
#Gann #SquareOf9 #SQ9 #Angles #CustomAngle #SupportResistance #PineScript #TradingView
通貨強弱メーター [DoN]This indicator is a tool that applies the Gann trend analysis method to multiple currency pairs, extracts the individual strength and weakness of each currency, and scores them. It helps you understand at a glance which currencies are being bought and which are being sold across the entire market. This allows you, for example, to identify the pair of the "strongest currency" and the "weakest currency" and utilize this as reference information when formulating your trading strategy.
このインジケーターは、Gann トレンド分析手法を複数の通貨ペアに適用し、そこから各通貨単体の強弱を抽出してスコア化するツールです。市場全体でどの通貨が買われていて、どの通貨が売られているのかを一目で把握するのに役立ちます。これにより、例えば「最も強い通貨」と「最も弱い通貨」のペアを見つけ出し、トレード戦略を立てる際の参考情報として活用できます。
Wolfe Wave Auto+ManualWolfe Wave Auto+Manual Indicator
Description 
The "Wolfe Wave Auto+Manual" indicator is a powerful tool for identifying and analyzing Wolfe Wave patterns on TradingView charts. It supports both automatic pattern detection based on Gann pivots and manual point configuration for precise pattern construction. This indicator is ideal for traders looking to leverage Wolfe Waves to predict market reversals and set take-profit targets.
The indicator displays the pattern with lines, zones (Sweet Zone), and labels, offering three take-profit calculation methods: ETA (intersection of lines 1-3 and 2-4), Line 1-4 (projection of the 1-4 trendline), and Flat (Point 4 price level). Users can customize visualization and calculations, including support for linear and logarithmic price scales.
Key Features
 Auto and Manual Modes:  Choose between automatic pattern detection using pivots or manual input of points 1-5.
 Flexible Take-Profit Options:  Supports three TP methods (ETA, Line 1-4, Flat) with customizable line and label colors.
 Logarithmic Scale Support:  Accurate calculations for charts with linear or logarithmic price scales.
 Customizable Visualization:  Enable/disable pattern lines, display the Sweet Zone, and show point labels positioned on the outer edges of the pattern for better readability.
 Gann Pivots:  Auto mode uses pivot detection for precise identification of key points.
User-Friendly Settings: All parameters include tooltips for easy configuration.
 How to Use
Add the Indicator: 
Find "Wolfe Wave Auto+Manual" in the TradingView indicator library and add it to your chart.
 Select Mode: 
 Auto:  The indicator automatically detects patterns based on pivots. Adjust "Swing Length" and "Pivot Offset" to control sensitivity.
 Manual:  Specify the time and price for points 1-5 in the settings to build a specific pattern.
 Customize Visualization: 
Enable/disable pattern lines using "Show Pattern Lines."
Adjust pivot and take-profit colors in their respective setting groups.
 Choose Price Scale: 
Set "Price Scale" to "Linear" or "Logarithmic" based on your chart type.
 Configure Take-Profits: 
Enable desired TP methods (ETA, Line 1-4, Flat) and customize their colors.
Use "TP Decimal Precision" to control the precision of displayed prices.
 Analyze the Pattern: 
Look for entry points near Point 5, using the Sweet Zone as a confirmation area.
Use TP levels to set profit targets.
 Recommendations 
Timeframes: The indicator works on all timeframes, but Auto mode is recommended for H1 and higher for more reliable pivots.
Instruments: Suitable for stocks, forex, cryptocurrencies, and other assets. Use logarithmic scale for long-term charts with high volatility.
Additional Filters: Combine with RSI, MACD, or support/resistance levels to enhance signal accuracy.
Testing: Experiment with "Swing Length" in Auto mode to optimize pattern detection for your trading style.
 Notes 
Ensure prices in Manual mode are positive when using logarithmic scale to avoid errors.
Disable "Show Pattern Lines" to focus on labels and TP levels for a cleaner chart.
Verify settings when switching between linear and logarithmic scales.
The "Wolfe Wave Auto+Manual" indicator is a versatile addition to your trading toolkit, helping you identify high-probability reversal patterns and plan trades with clear profit targets. Try it today to elevate your market analysis!
 Индикатор "Wolfe Wave Auto+Manual"
Описание 
Индикатор "Wolfe Wave Auto+Manual" — мощный инструмент для выявления и анализа паттернов волн Вульфа на графиках TradingView. Этот индикатор поддерживает как автоматическое обнаружение паттернов на основе пивотов Ганна, так и ручную настройку точек для точного построения. Он идеально подходит для трейдеров, которые хотят использовать волны Вульфа для прогнозирования разворотов рынка и определения целей тейк-профита.
Индикатор отображает паттерн с линиями, зонами (Sweet Zone) и метками, а также предлагает три метода расчёта тейк-профита: ETA (пересечение линий 1-3 и 2-4), Line 1-4 (проекция линии 1-4) и Flat (уровень точки 4). Пользователь может гибко настраивать визуализацию и расчёты, включая поддержку линейной и логарифмической шкал цен.
Ключевые особенности
 Автоматический и ручной режимы:  Выбирайте между автоматическим обнаружением паттернов на основе пивотов или ручным заданием точек 1-5.
 Гибкие настройки тейк-профита:  Поддержка трёх методов TP (ETA, Line 1-4, Flat) с настраиваемыми цветами линий и меток.
 Поддержка логарифмической шкалы:  Корректные расчёты для графиков с линейной или логарифмической шкалой цен.
 Настраиваемая визуализация:  Включайте/отключайте линии паттерна, отображайте Sweet Zone и метки точек, расположенные на внешних углах конструкции для лучшей читаемости.
 Пивоты Ганна:  В автоматическом режиме используются пивоты для точного определения ключевых точек.
 Интуитивные настройки:  Все параметры сопровождаются всплывающими подсказками для удобства.
 Как использовать 
 Добавьте индикатор: 
Найдите "Wolfe Wave Auto+Manual" в библиотеке индикаторов TradingView и добавьте на график.
 Выберите режим: 
Auto: Индикатор автоматически определяет паттерны на основе пивотов. Настройте "Swing Length" и "Pivot Offset" для контроля чувствительности.
Manual: Задайте время и цену для точек 1-5 в настройках для построения конкретного паттерна.
 Настройте визуализацию: 
Включите/отключите линии паттерна через "Show Pattern Lines".
Настройте цвета пивотов и тейк-профитов в соответствующих группах настроек.
 Выберите шкалу цен: 
Установите "Price Scale" в "Linear" или "Logarithmic" в зависимости от типа графика.
 
Настройте тейк-профиты: 
Включите нужные методы TP (ETA, Line 1-4, Flat) и настройте их цвета.
Используйте "TP Decimal Precision" для контроля точности отображаемых цен.
 Анализируйте паттерн: 
Ищите точки входа вблизи точки 5, используя Sweet Zone как зону подтверждения.
Ориентируйтесь на уровни TP для фиксации прибыли.
 
Рекомендации 
Таймфреймы: Индикатор работает на любых таймфреймах, но для Auto-режима рекомендуется использовать таймфреймы от H1 и выше для более надёжных пивотов.
Инструменты: Подходит для акций, форекса, криптовалют и других активов. Для долгосрочных графиков с высокой волатильностью используйте логарифмическую шкалу.
Дополнительные фильтры: Комбинируйте с индикаторами RSI, MACD или уровнями поддержки/сопротивления для повышения точности сигналов.
Тестирование: Протестируйте настройки в Auto-режиме с разными значениями "Swing Length" для оптимизации обнаружения паттернов.
 Примечания 
Убедитесь, что цены в Manual-режиме положительные при использовании логарифмической шкалы, чтобы избежать ошибок.
Для отключения линий паттерна используйте настройку "Show Pattern Lines", чтобы сосредоточиться на метках и уровнях TP.
Регулярно проверяйте настройки при переключении между линейной и логарифмической шкалами.
Этот индикатор станет отличным дополнением к вашей торговой стратегии, помогая выявлять высоковероятные разворотные паттерны и планировать сделки с чёткими целями прибыли. Попробуйте "Wolfe Wave Auto+Manual" и улучшите свой анализ рынка!
Murrey Math Lines v6Murrey Math Lines v6  
This is not just another Murrey Math indicator. It's a complete, ground-up modernization of the classic concept, rebuilt with the latest Pine Script features for unparalleled performance, accuracy, and usability. While preserving the core mathematical genius of T.H. Murrey's system, this version introduces a suite of modern tools designed for today's trader.
What are Murrey Math Lines?
Murrey Math Lines (MML) are a powerful system of support and resistance based on geometric formulas developed by T.H. Murrey. As a derivation of W.D. Gann's observations, Murrey's geometry simplifies Gann's theories into a more accessible application. The core principle is that price action tends to trend and retrace in 1/8th intervals.
These intervals create a "trading octave" with distinct levels, each having its own characteristic behavior:
  &   - Ultimate Resistance & Support: These lines are the hardest to break. They represent the top and bottom of the expected price range and are prime areas for reversals.
  - Major Pivot: This is the most significant level, offering the strongest support and resistance within the octave. Price has a high probability of stopping and reversing here.
  &   - Strong Pivot/Reversal: These are strong, secondary pivot points where price often struggles to pass through.
  &   - The Trading Range: The price tends to consolidate between these two lines about 50% of the time. A decisive break outside this range often signals the start of a new trend.
  &   - Weak Support/Resistance: These levels are weaker, but when price moves too quickly towards them, they can act as initial stopping points or areas for a minor reversal.
  &   - Extended Octave: These lines show extreme overbought and oversold conditions beyond the primary 0/8 to 8/8 octave.
Modern Enhancements in This Version
Session-Locked Precision: Anchor the Murrey Lines to the start of a specific trading session (e.g., NYSE open). The levels remain constant for the entire session, providing a stable and reliable framework for your daily analysis.
Visual Trading & Reversal Zones: Instead of just lines, this indicator can fill the key trading range (3/8 to 5/8) and reversal zones (0/8-1/8 & 7/8-8/8) with color, giving you an instant visual reference of market sentiment.
Dynamic "Closest Price" Labels: Declutter your chart! The indicator can intelligently display only the label for the Murrey level closest to the current price, keeping your view clean while providing critical information at a glance.
Integrated Alert System: Never miss a key level touch again. Set up alerts for when the price approaches major lines, the trading range, or all lines, customized to your trading style.
Advanced Pine Script Engine: Built on a modern codebase using User-Defined Types and dynamic drawing objects (line, box, label). This ensures the indicator is fast, efficient, and non-repainting, even on lower timeframes.
Intuitive User Interface: Settings are neatly organized into collapsible groups with clear tooltips, making it incredibly easy to customize every aspect of the indicator, from calculation parameters to colors.
A Note on Accuracy
Some of the other Murrey Math indicators on TradingView use different formulas and therefore produce varying results. This version has been carefully checked against MML indicators on other professional platforms to ensure its calculations are accurate and reliable.
Credits
This indicator is a complete overhaul and modernization of the original "MM Lines  " script. Full credit for the original calculation logic and concept goes to its author, JRL_6.
Radial Root AngleDescription: 
Radial Root Angle is a precision geometric tool that calculates the angular trajectory of any price leg using a square-rooted price compression model. By selecting two anchor points on a move (typically swing low to swing high or vice versa), the tool computes the true angle of the leg in degrees.
 Important Notes: 
On low-priced assets or instruments with tight price ranges, the output angle may appear very small, with multiple decimal places.
This is a natural result of square-rooted price compression applied over time, especially when volatility is low.
In such cases, you may choose to round, scale, or interpret the angle proportionally when comparing across other legs or instruments.
 Use Cases: 
 
 Identify price compression, trend exhaustion, or swing energy
 Compare angular velocity across legs, assets, or timeframes
 Integrate with Gann tools, harmonic cycles, or radial timing models
 Build square-outs, circular projections, or geometry-based entries
 
 Ideal For: 
 Traders exploring: 
 
 Gann angles and time/price geometry
 Square root and harmonic market models
 Sacred or astro-geometric analysis
 Energetic mapping of price structure
Physics CandlesPhysics Candles embed volume and motion physics directly onto price candles or market internals according to the cyclic pattern of financial securities.  The indicator works on both real-time “ticks” and historical data using statistical modeling to highlight when these values, like volume or momentum, is unusual or relatively high for some periodic window in time.  Each candle is made out of one or more sub-candles that each contain their own information of motion, which converts to the color and transparency, or brightness, of that particular candle segment.  The segments extend throughout the entire candle, both body and wicks, and Thick Wicks can be implemented to see the color coding better.  This candle segmentation allows you to see if all the volume or energy is evenly distributed throughout the candle or highly contained in one small portion of it, and how intense these values are compared to similar time periods without going to lower time frames.  Candle segmentation can also change a trader’s perspective on how valuable the information is.  A “low” volume candle, for instance, could signify high value short-term stopping volume if the volume is all concentrated in one segment.
The Candles are flexible.  The physics information embedded on the candles need not be from the same price security or market internal as the chart when using the Physics Source option, and multiple Candles can be overlayed together.  You could embed stock price Candles with market volume, market price Candles with stock momentum, market structure with internal acceleration, stock price with stock force, etc.  My particular use case is scalping the SPX futures market (ES), whose price action is also dictated by the volume action in the associated cash market, or SPY, as well as a host of other securities.  Physics allows you to embed the ES volume on the SPY price action, or the SPY volume on the ES price action, or you can combine them both by overlaying two Candle streams and increasing the Number of Overlays option to two.  That option decreases the transparency levels of your coloring scheme so that overlaying multiple Candles converges toward the same visual color intensity as if you had one. The Candle and Physics Sources allows for both Symbols and Spreads to visualize Candle physics from a single ticker or some mathematical transformation of tickers.
Due to certain TradingView programming restrictions, each Candle can only be made out of a maximum of 8 candle segments, or an “8-bit” resolution.  Since limits are just an opportunity to go beyond, the user has the option to stack multiple Candle indicators together to further increase the candle resolution.  If you don’t want to see the Candles for some particular period of the day, you can hide them, or use the hiding feature to have multiple Candles calibrated to show multiple parts of the trading day.  Securities tend to have low volume after hours with sharp spikes at the open or close.  Multiple Candles can be used for multiple parts of the trading day to accommodate these different cycles in volume. 
The Candles do not need be associated with the nominal security listed on the TV chart.  The Candle Source allows the user to look at AAPL Candles, for instance, while on a TSLA or SPY chart, each with their respective volume actions integrated into the candles, for instance, to allow the user to see multiple security price and volume correlation on a single chart. 
The physics information currently embeddable on Candles are volume or time, velocity, momentum, acceleration, force, and kinetic energy.  In order to apply equations of motion containing a mass variable to financial securities, some analogous value for mass must be assumed.  Traders often regard volume or time as inextricable variables to a securities price that can indicate the direction and strength of a move.  Since mass is the inextricable variable to calculating the momentum, force, or kinetic energy of motion, the user has the option to assume either time or volume is analogous to mass.  Volume may be a better option for mass as it is not strictly dependent on the speed of a security, whereas time is.
Data transformations and outlier statistics are used to color code the intensity of the physics for each candle segment relative to past periodic behavior. A million shares during pre-market or a million shares during noontime may be more intense signals than a typical million shares traded at the open, and should have more intense color signals. To account for a specific cyclic behavior in the market, the user can specify the Window and Cycle Time Frames. The Window Time Frame splits up a Cycle into windows, samples and aggregates the statistics for each window, then compares the current physics values against past values in the same window.  Intraday traders may benefit from using a Daily Cycle with a 30-minute Window Time Frame and 1-minute Sample Time Frame.  These settings sample and compare the physics of 1-minute candles within the current 30-minute window to the same 30-minute window statistics for all past trading days, up until the data limit imposed by TradingView, or until the Data Collection Start Date specified in the settings.  Longer-term traders may benefit from using a Monthly Cycle with a Weekly Time Frame, or a Yearly Cycle with a Quarterly Time Frame.
Multiple statistics and data transformation methods are available to convey relative intensity in different ways for different trading signals.  Physics Candles allows for both Normal and Log-Normal assumptions in the physics distribution.  The data can then be transformed by Linear, Logarithmic, Z-Score, or Power-Law scoring, where scoring simply assigns an intensity to the relative physics value of each candle segment based on some mathematical transformation.  Z-scoring often renders adequate detection by scoring the segment value, such as volume or momentum, according to the mean and standard deviation of the data set in each window of the cycle. Logarithmic or power-law transformation with a gamma below 1 decreases the disparity between intensities so more less-important signals will show up, whereas the power-law transformation with gamma values above 1 increases the disparity between intensities, so less more-important signals will show up.  These scores are then converted to color and transparency between the Min Score and the Max Score Cutoffs.  The Auto-Normalization feature can automatically pick these cutoffs specific to each window based on the mean and standard deviation of the data set, or the user can manually set them.  Physics was developed with novices in mind so that most users could calibrate their own settings by plotting the candle segment distributions directly on the chart and fiddling with the settings to see how different cutoffs capture different portions of the distribution and affect the relative color intensities differently.  Security distributions are often skewed with fat-tails, known as kurtosis, where high-volume segments for example, have a higher-probabilities than expected for a normal distribution.  These distribution are really log-normal, so that taking the logarithm leads to a standard bell-shaped distribution.  Taking the Z-score of the Log-Normal distribution could make the most statistical sense, but color sensitivity is a discretionary preference.
Background Philosophy
This indicator was developed to study and trade the physics of motion in financial securities from a visually intuitive perspective. Newton’s laws of motion are loosely applied to financial motion:
“A body remains at rest, or in motion at a constant speed in a straight line, unless acted upon by a force”.  
Financial securities remain at rest, or in motion at constant speed up or down, unless acted upon by the force of traders exchanging securities.  
“When a body is acted upon by a force, the time rate of change of its momentum equals the force”.
Momentum is the product of mass and velocity, and force is the product of mass and acceleration.  Traders render force on the security through the mass of their trading activity and the acceleration of price movement. 
“If two bodies exert forces on each other, these forces have the same magnitude but opposite directions.”  
Force arises from the interaction of traders, buyers and sellers.  One body of motion, traders’ capitalization, exerts an equal and opposite force on another body of motion, the financial security.  A securities movement arises at the expense of a buyer or seller’s capitalization.
Volume 
The premise of this indicator assumes that volume, v, is an analogous means of measuring physical mass, m.  This premise allows the application of the equations of motion to the movement of financial securities.  We know from E=mc^2 that mass has energy.  Energy can be used to create motion as kinetic energy.   Taking a simple hypothetical example, the interaction of one short seller looking to cover lower and one buyer looking to sell higher exchange shares in a security at an agreed upon price to create volume or mass, and therefore, potential energy.  Eventually the short seller will actively cover and buy the security from the previous buyer, moving the security higher, or the buyer will actively sell to the short seller, moving the security lower.  The potential energy inherent in the initial consolidation or trading activity between buy and seller is now converted to kinetic energy on the subsequent trading activity that moves the securities price.  The more potential energy that is created in the consolidation, the more kinetic energy there is to move price.  This is why point and figure traders are said to give price targets based on the level of volatility or size of a consolidation range, or why Gann traders square price and time, as time is roughly proportional to mass and trading activity.  The build-up of potential energy between short sellers and buyers in GME or TSLA led to their explosive moves beyond their standard fundamental valuations.  
Position
Position, p, is simply the price or value of a financial security or market internal.
Time
Time, t, is another means of measuring mass to discover price behavior beyond the time snapshots that simple candle charts provide.  We know from E=mc^2 that time is related to rest mass and energy given the speed of light, c, where time ≈ distance * sqrt(mass/E).  This relation can also be derived from F=ma. The more mass there is, the longer it takes to compute the physics of a system.  The more energy there is, the shorter it takes to compute the physics of a system.  Similarly, more time is required to build a “resting” low-volatility trading consolidation with more mass.   More energy added to that trading consolidation by competing buyers and sellers decreases the time it takes to build that same mass.  Time is also related to price through velocity.
Velocity = (p(t1) – p(t0)) / p(t0)
Velocity, v, is the relative percent change of a securities price, p, over a period of time, t0 to t1.  The period of time is between subsequent candles, and since time is constant between candles within the same timeframe, it is not used to calculate velocity or acceleration.  Price moves faster with higher velocity, and slower with slower velocity, over the same fixed period of time.  The product of velocity and mass gives momentum.
Momentum = mv
This indicator uses physics definition of momentum, not finance’s.  In finance, momentum is defined as the amount of change in a securities price, either relative or absolute.  This is definition is unfortunate, pun intended, since a one dollar move in a security from a thousand shares traded between a few traders has the exact same “momentum” as a one dollar move from millions of shares traded between hundreds of traders with everything else equal.  If momentum is related to the energy of the move, momentum should consider both the level of activity in a price move, and the amount of that price move.  If we equate mass to volume to account for the level of trading activity and use physics definition of momentum as the product of mass and velocity, this revised definition now gives a thousand-times more momentum to a one-dollar price move that has a thousand-times more volume behind it. If you want to use finance’s volume-less definition of momentum, use velocity in this indicator.
Acceleration = v(t1) – v(t0)
Acceleration, a, is the difference between velocities over some period of time, t0 to t1.  Positive acceleration is necessary to increase a securities speed in the positive direction, while negative acceleration is necessary to decrease it.  Acceleration is related to force by mass.
Force = ma
Force is required to change the speed of a securities valuation.  Price movements with considerable force have considerably more impact on future direction.  A change in direction requires force.
Kinetic Energy = 0.5mv^2
Kinetic energy is the energy that a financial security gains from the change in its velocity by force.  The built-up of potential energy in trading consolidations can be converted to kinetic energy on a breakout from the consolidation.
Cycle Theory and Relativity
Just as the physics of motion is relative to a point of reference, so too should the physics of financial securities be relative to a point of reference.  An object moving at a 100 mph towards another object moving in the same direction at 100 mph will not appear to be moving relative to each other, nor will they collide, but from an outsider observer, the objects are going 100 mph and will collide with significant impact if they run into a stationary object relative to the observer.  Similarly, trading with a hundred thousand shares at the open when the average volume is a couple million may have a much smaller impact on the price compared to trading a hundred thousand shares pre-market when the average volume is ten thousand shares.  The point of reference used in this indicator is the average statistics collected for a given Window Time Frame for every Cycle Time Frame.  The physics values are normalized relative to these statistics.
Examples
The main chart of this publication shows the Force Candles for the SPY.  An intense force candle is observed pre-market that implicates the directional overtone of the day.  The assumption that direction should follow force arises from physical observation.  If a large object is accelerating intensely in a particular direction, it may be fair to assume that the object continues its direction for the time being unless acted upon by another force.
  
The second example shows a similar Force Candle for the SPY that counters the assumption made in the first example and emphasizes the importance of both motion and context.  While it’s fair to assume that a heavy highly accelerating object should continue its course, if that object runs into an obstacle, say a brick wall, it’s course may deviate.  This example shows SPY running into the 50% retracement wall from the low of Mar 2020, a significant support level noted in literature.  The example also conveys Gann’s idea of “lost motion”, where the SPY penetrated the 50% price but did not break through it.  A brick wall is not one atom thick and price support is not one tick thick.   An object can penetrate only one layer of a wall and not go through it.  
  
The third example shows how Volume Candles can be used to identify scalping opportunities on the SPY and conveys why price behavior is as important as motion and context.  It doesn’t take a brick wall to impede direction if you know that the person driving the car tends to forget to feed the cats before they leave. In the chart below, the SPY breaks down to a confluence of the 5-day SMA, 20-day SMA, and an important daily trendline (not shown) after the bullish bounce from the 50% retracement days earlier.   High volume candles on the SMA signify stopping volume that reverse price direction. The character of the day changes.  Bulls become more aggressive than bears with higher volume on upswings and resistance, whiles bears take on a defensive position with lower volume on downswings and support.  High volume stopping candles are seen after rallies, and can tell you when to take profit, get out of a position, or go short.  The character change can indicate that its relatively safe to re-enter bullish positions on many major supports, especially given the overarching bullish theme from the large reaction off the 50% retracement level.
  
The last example emphasizes the importance of relativity.  The Volume Candles in the chart below are brightest pre-market even though the open has much higher volume since the pre-market activity is much higher compared to past pre-markets than the open is compared to past opens.  Pre-market behavior is a good indicator for the character of the day.  These bullish Volume Candles are some of the brightest seen since the bounce off the 50% retracement and indicates that bulls are making a relatively greater attempt to bring the SPY higher at the start of the day.
  
Infrequently Asked Questions
Where do I start?
The default settings are what I use to scalp the SPY throughout most of the extended trading day, on a one-minute chart using SPY volume.  I also overlay another Candle set containing ES future volume on the SPY price structure by setting the Physics Source to ES1! and the Number of Overlays setting to 2 for each Candle stream in order to account for pre- and post-market trading activity better.  Since the closing volume is exponential-like up until the end of the regular trading day, adding additional Candle streams with a tighter Window Time Frame (e.g., 2-5 minute) in the last 15 minutes of trading can be beneficial.  The Hide feature can allow you to set certain intraday timeframes to hide one Candle set in order to show another Candle set during that time.  
How crazy can you get with this indicator?
I hope you can answer this question better.  One interesting use case is embedding the velocity of market volume onto an internal market structure.  The PCTABOVEVWAP.US is a market statistic that indicates the percent of securities above their VWAP among US stocks and is helpful for determining short term trends in the US market.  When securities are rising above their VWAP, the average long is up on the day and a rising PCTABOVEVWAP.US can be viewed as more bullish. When securities are falling below their VWAP, the average short is up on the day and a falling PCTABOVEVWAP.US can be viewed as more bearish.  (UPVOL.US - DNVOL.US) / TVOL.US is a “spread” symbol, in TV parlance, that indicates the decimal percent difference between advancing volume and declining volume in the US market, showing the relative flow of volume between stocks that are up on the day, and stocks that are down on the day.  Setting PCTABOVEVWAP.US in the Candle Source, (UPVOL.US - DNVOL.US) / TVOL.US in the Physics Source, and selecting the Physics to Velocity will embed the relative velocity of the spread symbol onto the PCTABOVEVWAP.US candles.  This can be helpful in seeing short term trends in the US market that have an increasing amount of volume behind them compared to other trends.  The chart below shows Volume Candles (top) and these Spread Candles (bottom).  The first top at 9:30 and second top at 10:30, the high of the day, break down when the spread candles light up, showing a high velocity volume transfer from up stocks to down stocks.
  
How do I plot the indicator distribution and why should I even care?
The distribution is visually helpful in seeing how different normalization settings effect the distribution of candle segments.  It is also helpful in seeing what physics intensities you want to ignore or show by segmenting part of the distribution within the Min and Max Cutoff values.  The intensity of color is proportional to the physics value between the Min and Max Cutoff values, which correspond to the Min and Max Colors in your color scheme.  Any physics value outside these Min and Max Cutoffs will be the same as the Min and Max Colors.
Select the Print Windows feature to show the window numbers according to the Cycle Time Frame and Window Time Frame settings.  The window numbers are labeled at the start of each window and are candle width in size, so you may need to zoom into to see them.  Selecting the Plot Window feature and input the window number of interest to shows the distribution of physics values for that particular window along with some statistics.  
A log-normal volume distribution of segmented z-scores is shown below for 30-minute opening of the SPY.  The Min and Max Cutoff at the top of the graph contain the part of the distribution whose intensities will be linearly color-coded between the Min and Max Colors of the color scheme.  The part of the distribution below the Min Cutoff will be treated as lowest quality signals and set to the Min Color, while the few segments above the Max Cutoff will be treated as the highest quality signals and set to the Max Color.
   
What do I do if I don’t see anything?
Troubleshooting issues with this indicator can involve checking for error messages shown near the indicator name on the chart or using the Data Validation section to evaluate the statistics and normalization cutoffs.  For example, if the Plot Window number is set to a window number that doesn’t exist, an error message will tell you and you won’t see any candles.  You can use the Print Windows option to show windows that do exist for you current settings.  The auto-normalization cutoff values may be inappropriate for your particular use case and literally cut the candles out of the chart.  Try changing the chart time frame to see if they are appropriate for your cycle, sample and window time frames. If you get a “Timeframe passed to the request.security_lower_tf() function must be lower than the timeframe of the main chart” error, this means that the chart timeframe should be increased above the sample time frame.  If you get a “Symbol resolve error”, ensure that you have correct symbol or spread in the Candle or Physics Source.  
How do I see a relative physics values without cycles?
Set the Window Time Frame to be equal to the Cycle Time Frame.  This will aggregate all the statistics into one bucket and show the physics values, such as volume, relative to all the past volumes that TV will allow.
How do I see candles without segmentation?
Segmentation can be very helpful in one context or annoying in another.  Segmentation can be removed by setting the candle resolution value to 1.
Notes
 
  I have yet to find a trading platform that consistently provides accurate real-time volume and pricing information, lacking adequate end-user data validation or quality control.   I can provide plenty of examples of real-time volume counts or prices provided by TradingView and other platforms that were significantly off from what they should have been when comparing against the exchanges own data, and later retroactively corrected or not corrected at all.  Since no indicator can work accurately with inaccurate data, please use at your own discretion.
  The first version is a beta version.  Debugging and validating code in Pine script is difficult without proper unit testing.  Please report any bugs with enough information to reproduce them and indicate why they are important.  I also encourage you to export the data from TradingView and verify the calculations for your particular use case.  
  The indicator works on real-time updates that occur at a higher frequency than the candle time frame, which TV incorrectly refers to as ticks.  They use this terminology inaccurately as updates are really aggregated tick data that can take place at different prices and may not accurately reflect the real tick price action.  Consequently, this inaccuracy also impacts the real-time segmentation accuracy to some degree.  TV does not provide a means of retaining “tick” information, so the higher granularity of information seen real-time will be lost on a disconnect.
  TV does not provide time and sales information.  The volume and price information collected using the Sample Time Frame is intraday, which provides only part of the picture.  Intraday volume is generally 50 to 80% of the end of day volume.  Consequently, the daily+ OHLC prices are intraday, and may differ significantly from exchanged settled OHLC prices.
  The Cycle and Window Time Frames refer to calendar days and time, not trading days or time.  For example, the first window week of a monthly cycle is the first seven days of the month, not the first Monday through Friday of trading for the month.
   Chart Time Frames that are higher than the Window Time Frames average the normalized physics for price action that occurred within a given Candle segment.  It does not average price action that did not occur.
  One of the main performance bottleneck in TradingView’s Pine Script is client-side drawing and plotting.  The performance of this indicator can be increased by lowering the resolution (the number of sub-candles this indicator plots), getting a faster computer, or increasing the performance of your computer like plugging your laptop in and eliminating unnecessary processes. 
  The statistical integrity of this indicator relies on the number of samples collected per sample window in a given cycle. Higher sample counts can be obtained by increasing the chart time frame or upgrading the TradingView plan for a higher bar count.  While increasing the chart time frame doesn’t increase the visual number of bars plotted on the chart, it does increase the number of bars that can be pulled at a lower time frame, up to 100,000.
  Due to a limitation in Pine Scripts request_lower_tf() function, using a spread symbol will only work for regular trading hours, not extended trading hours.  
  Ideally, velocity or momentum should be calculated between candle closes.  To eliminate the need to deal with price gaps that would lead to an incorrect statistical distributions, momentum is calculated between candle open and closes as a percent change of the price or value, which should not be an issue for most liquid securities.
 
[VC] Wave Chart Index V1.0V.C Wave Chart Index 
Richard D. Wyckoff created the first wave chart, and he instructed students to think in waves. He was an early 20th-century pioneer in the technical approach to studying the stock market and is considered one of the five "titans" of technical analysis, along with Dow, Gann, Elliott and Merrill.
V.C Wave Chart Index is the most comprehensive version of Wyckoff's theory. It is used to measure the strength & weakness of each market move by comparative data analysis. It draws waves on the chart based on Gann Swing theory. At the end of each wave, a label shows all the cumulative data & information of the wave.
With the help of this indicator, You can measure each swing or high/low movement of the market by comparing it with previous high/low price movements. The comparison can be made by using the following data of each wave.
 Price Change
Volume Change
Delta Change
Delta % Change
Buy Volume
Sell Volume
Time Spent (Bar Counter) 
V.C Wave Chart Index is not only an indicator but itself a unique & comprehensive tool kit to measure & compare each move of the market. This tool enables you to see deep inside each movement of the market. It allows you to observe the nitty-gritty data of each wave at the micro-level with your nacked eyes. With the help of Delta &  (C.C) Close to Close Price Change, it is now easy to apply effort & result and cause & effect theory to your analysis. (total volume, buy volume, sell volume & delta % can also be used for comparative analysis)
 V.C Wave Chart Index Properties 
 Price Change or (P.C):  Shows the price Change of the Wave
 Buy Volume (B.V):  Shows the Cumulative Buy Volume of the Wave
 Sell Volume (S.V):  Shows the Cumulative Sell Volume of the Wave
 Delta Volume (∆):  Shows the Cumulative Buy - Sell Volume of the Wave
 Delta % ∆ :  Shows the Cumulative Delta % of the wave
 Total Volume (T.V):  Shows the Cumulative Total Volume of the Wave
 Bar Count (B.C):  Shows how much time it took to Complete the Wave
 Swing Price:  Shows the Reversal Price of the Wave
 V.C Wave Chart Index Settings & Inputs Explained 
 Sensitivity (%):  This input helps you adjust to the wave's steepness. 0.001 is my recommended value for all time frames.
 Cumulation:  This input helps you to control the length & formation of the wave: ( the fewer values = more wave formations & vice versa)
 Wave Color:   Allow you to change the color of the wave
 Draw to Latest Candle:  Allow you to show/hide the latest or real-time wave & data.
 Divisor:  Allow you to divide extensive numeric data into small numbers to read it easily.
 Align Text:  Allow you to align the text.
 Size Text:  Allow you to change the size of the text.
 Display Toal Delta:  Allow you to show or hide total Delta (∆).
 Display Percentage Delta (%):  Allow you to show or hide  Delta (∆) %.
 Color Wave Buy:  Allow you to change the color.
 Color Wave Sell:  Allow you to change the color.
 Display Total Volume (T.V):  Allow you to show/hide total volume
 Display Buy Volume (B.V):  Allow you to show/hide buy volume
 Display Sell Volume (S.V):  Allow you to show/hide sell volume
 Display Swing Price:  Allow you to show/hide swing price
 Display Swing  Price Change (P.C):  Allow you to show/hide price change 
 Display Close to Close Price Change (C.C):  Allow you to show/hide close to close price changes. (previous wave close to current wave close) (recommended for comparative analysis) 
 P.C Format:  Allow you to select the price formate
 C.C Format:  Allow you to select the price formate
 Display Bar Counter (B.C):  Allow you to show/hide the bar counter
  
 Comparative Data Analysis Example in the light of Effort & Result Theory 
  
 A short explanation of the above analysis 
 On  Wave A , the close to close price change (C.C) is  $354 .  (its the distance of price that price travelled from the low of the previous wave) 
and price travelled this distance with  632 Delta    (Delta is an effort which is used to travel the price) 
On  Wave B , close to close price change (C.C) is  -$359 , almost the same distance as the previous wave. But for this distance price used  47%  more Delta than the last wave.  ( previous Delta is  632 , but current Delta is  931  that is  47%  extra) 
It indicates that sellers have put more effort in  Wave B  than  Wave A . However, they got similar results as the previous wave. In other words
 More Effort & Less Result = Reversal Sign 
(that's why in the above example price reversed from a support level)
 * Notice that Wave B is also on a key support area/level. And on key support or resistance area, this kind of comparative analysis can give an extra edge in your analysis. 
 Disclaimer Note: 
V.C Wave Chart Index is not a BUY/SELL signal based indicator or a holy grail trading system. 
It is purely Volume, Delta and comparative analysis based indicator. Before applying this indicator to your analysis, you should know about V.S.A, Volume, Delta & Spread.
Some basic understanding of Sir Richerd Wyckoff's Theory can also be helpful. 
Trading Sign 
<< Trading Sign Documents >> (Revision: 1193)
This is a guide for trading timing.
It is not a guarantee of profit.
The Trading Sign script displays a combination of SMAs, trendlines, channel lines, etc., but this combination part is not the core of the script.
These are all about finding resistance and support prices and creating an array.
The concept of this script is to draw the lines automatically by the program, not by discretion, and to show Buy and Sell signs in order to establish a stable trading rule.
'N Theory' is applied to the automatically drawn trendlines.
 
Interval Multiple:
  Specifies the trade interval in multiples.
  If you decrease the multiple, the number of trades will increase and the trades will be short term.
  If you increase the multiple, the number of trades will decrease and you will be trading in the medium term.
  Adjust according to the market atmosphere and your own trading interval.
MA(Fast)(Midd)(Slow):
  Specify the SMA period.
  Depending on this setting, the trade timing will change.
N Length:
  This is the period of time to search for the starting point of a trend line, etc. in the past.
- (Example) When N Length = 100
- The bar position obtained by searching for the lowest price in the 100-bar period is set to Low1.
- The bar position obtained by searching for the highest price in the period up to Low1 is called High1.
- The bar position obtained by searching for the lowest price in the period up to High1 is called Low2.
- The bar position obtained by searching for the highest price in the period up to Low2 is called High2.
- Since the line connecting Low1, High1, Low2, and High2 resembles the shape of N, it is called N Length.
- A trend line is drawn by connecting Low1-Low2 and High1-High2.
- Channel lines are also drawn based on this.
Target Band Multiple:
  This is the standard deviation multiple that is used as a guide for the target price for profit booking.
Predict one future:
  Specifies whether the trendline, Gann Fan, is calculated using the most recent bar or one previous bar.
  Usually, it is calculated with one previous bar to confirm the breakout.
  This is used to predict the next day's trade after the market closes.
Show TradingSign:
  Toggles between showing and hiding the trading sign.
Show TradingZone:
  Toggles between showing and hiding the trading range.
Show TrendLine:
  Toggles between showing and hiding the trendline.
  See also the explanation of N Length.
Show ChannelLine:
  Toggles between showing and hiding the channel line.
  Channels are drawn based on the trendline.
+(Channel Multiple):
  Allows you to specify an interval based on the slope of the trendline.
  The specified range is -3.0 to +3.0.
  Normally, the interval is equal (0.25, 0.50, 0.75, 1.00).
  It can be set to Fibonacci (0.382, 0.500, 0.618, 1.000) or
  It can also be used as an extension (1.0, 1.382, 1.500, 1.618).
Show AngleLine:
  Toggles between showing and hiding the Gann Fan.
Plan Range Offset:
  This is the number of ticks to extend from resistance and support prices.
  Losscut can be adjusted.
Loose TrendLine:
  Toggles the rule for drawing trend lines.
Plan Position (Top/Bottom)(Left/Right):
  Specifies the display position of the Plan table.
Alert Freq on Bar close:
  Toggles the timing of alert notifications.
  (True: Alert will be sent after the bar is closed.)
  (False: Notify the first time a condition is met)
Alert on *:
  Notifies you when to buy or sell.
  After setting this, you need to set up the alert dialog in TradingView.
Thank you very much.
QuadropocketJe vous présente Quadropocket ( Script avec config par default pour cross Leverage  ) a vous d'adaptez vos leviez ou vos holds
Il ce compose de :
- Retracement Gann pour s'adapter plus facilement au grosse réactions de marché comparé au fibonacci qui sont plus adapté a des mouvement de vagues , a cela est adapté du LSMA pour l'indication claire et net de la tendance lors du cross .
- Oscillateur de prix moyen pondéré en fonction du volume .
- ATR 14 pour calculer la tendance de la journée par rapport a la volatilité en cas de changement de tendance ou cassure Resistance/Support .
- RSX de Jurik pour évitez les bruit de mèches du RSI qui n'ont pas leurs place dans une stratégie de tendance .
- RSX-D pour les safe stop en petites UTs .
- BULL BEAR power trend en suppléments pour les confirmations de changements de tendance , ou confirmations de tendance .
- Indice d'agitation (CHOP) pour voir si les loups sont agités et si le scalp en vos le coup compte tenu de la volatilité , pour une compréhension de l'indicateur ; les valeurs plus élevées indiquent une consolidation, tandis que les valeurs moins élevées indiquent des tendances directionnelles .
-Slow Stochastic pour les entrée en tendance .
- Confiance du marché par rapport a la journée précédentes 0 = manque de confiance du marché , 100 = confiance en ce marché (volumes de transactions constant) .
- Bandes de Bollinger .
- Pivots courts(200 périodes ) , moyens(500 périodes ) , longs thermes (1400 périodes ) .
- Jurik MA pour éviter les bruits et les décalages temporaires des MA qui peuvent nous faire perdre un temps précieux sur un retournement de tendance .
- Volume Delta pour le calcul de l'offre et la demande suivant les zones de distributions .
- Klinger Volume pour déterminer la tendance haussière ou baissière des prix en intraday produit par la pression des acheteurs ou vendeurs et retenir les points haut/bas .
- Moyennes mobiles 55/200/400/800/1200 .
- Ichimoku spécial crypto 20-60-120-30 .
- Nuage Supertrend double setup (2-44 4-144) pour les invalidations (3-10 6-10) pour les entrées .
Tout cela accompagné d'un label pour un aperçu du trade en un coup d'œil
Tout compléments ou back testing que ce soit BTCUSDT / ETHUSDT est toujours le bienvenue
===================================================================================================================
Note: Testé avec différentes UT en PaperTrading avant tout trades en argent Réel 
- Unité de temps préféré = m3 
- Paires preféré = BTC_USDTPerp 
===================================================================================================================
                                                       For english community 
I present to you Quadropocket (Script with config by default for cross Leverage) to you to adapt your levies or your holds
It consists of:
- Retracement Gann to adapt more easily to large market reactions compared to fibonacci which are more adapted to wave movements, this is adapted from LSMA for the clear and clear indication of the trend during the cross.
- Volume weighted average price oscillator.
- ATR 14 to calculate the trend of the day in relation to the volatility in the event of a trend change or Resistance / Support breakout.
- Jurik's RSX to avoid the noise of RSI bits that have no place in a trend strategy.
Jurik RSX
- RSX-D for safe stops in small UTs.
RSX-D  
- BULL BEAR power trend in supplements for confirmations of trend changes, or confirmations of trend.
Bull Bear Power Trend
- Agitation index (CHOP) to see if the wolves are agitated and if the scalp in your shot given the volatility, for an understanding of the indicator; higher values indicate consolidation, while lower values indicate directional trends.
-Slow Stochastic for entry into trend.
- Market confidence compared to the previous day 0 = lack of confidence in the market, 100 = confidence in this market (constant transaction volumes).
Excel Confidence%
- Bollinger bands.
- Short pivot (200 periods), medium (500 periods), long thermal baths (1400 periods).
- Jurik MA to avoid noise and temporary shifts in MA which can waste precious time on a trend reversal.
Jurik Moving Average
- Delta volume for the calculation of supply and demand according to the distribution zones.
- Klinger Volume to determine the upward or downward trend in intraday prices produced by pressure from buyers or sellers and retain high / low points.
- Moving averages 55/200/400/800/1200.
- Special crypto Ichimoku 20-60-120-30.
- Nuage Supertrend double setup (2-44 4-144) for invalidations (3-10 6-10) for entries.
All this accompanied by a label for an overview of the trade at a glance
Any additions or back testing whether BTCUSDT / ETHUSDT is always welcome
=================================================== =================================================== ===============
Note: Tested with different TUs in PaperTrading before any real money trades
- Preferred unit of time = m3
- Preferred pairs = BTC_USDTPerp
=================================================== =================================================== ===============






















