Square Lines Around customized font_RAMLAKSHMANDASSquare Lines Around customized font_RAMLAKSHMANDAS
This indicator draws dynamic horizontal lines at all integer squares around the square root of the current close price, helping traders visualize price levels with mathematical significance. Each line is labeled, and the level font size can be customized interactively through a simple “Text Size (1-5)” input, making it easy to adapt for different chart sizes or visibility needs.
Features:
Plots horizontal lines at every perfect square (i.e., 
i
2
i 
2
 ) near the rounded square root of close price.
Displays level values as labels, with user-adjustable font size (select 1 to 5, mapped to tiny up to huge).
All lines and labels (levels) are automatically updated with each new candle.
User controls for line color, line width, level range, and label font size.
Fully compatible with all TradingView intervals and symbols.
Usage:
Helps spot mathematically relevant support/resistance zones for custom strategies.
Useful for visual traders, quant experimenters, and anyone interested in market geometry.
Best suited for intraday, positional or backtest analysis where precise price levels matter.
Customizations:
Range +/- around square root (choose how many lines you want).
Line color and thickness for clarity.
Select label font size: 1 (tiny), 2 (small), 3 (normal), 4 (large), 5 (huge).
How to use:
Add to your chart, tweak settings in the input panel, and see instant updates.
Labels are sized to your preference for maximum visibility.
Поиск скриптов по запросу "gann"
TM_GANN_LEVELTM_GANN_LEVEL indicator have price values those play an important role in market structure explanation. This indicator is used with Day_Price _Level indicator with common values .
These price level must be draw with common values of swing? day levels and must be used during trading decision.
Value with " * " shows important level or a price cycle between two " * " values
Price respect to these levels if used with proper logic.
All the levels are very important . 
Use the Below Contacts to Access this Indicator 
LoveGunfire - Medium Giant (FULL)Medium Giant  is a medium trend, optimized by Love.Gunfire from Gann. Each one contains natural numbers. If you want to know the recent support and resistance, trends, read on.
Only disciples who have learned "Giant Weapons" can select VIPs to use and the version will be continuously updated.
There the usage settings:
 
 Enable/Disable signals on chart
 Enable/Disable XTV based on trend
 Enable/Disable label code to smart trade
 
 How does it work?  
Basic usage
 
 After the medium giant appears BUY, and above T line, may be you can consider the operation of buying
 After the medinum giant appears SELL, and below T line, may be you can consider the operation of selling
 
 What are the signals?  
Advanced usage
 
 The Chinese giant cooperates with the giant weapon operation to confirm the upward trend and consider buying
 The Chinese giant cooperates with the giant weapon operation to confirm the upward trend and consider buying
 
For giants to operate, no matter how to make any transaction, they must have the mind of "continuing to stop making profits is the emperor's way, and strictly guarding against erosion is a virtue."
By  Love.Gunfire 
Want to get this indicator today!
For access, please DM us or visit the link below in our Signature.
Contact: Love.Gunfire
Demonstration of indicators
US, HSI ONLY
  
------------------------------------------------------------------------------------------------------
 中巨人 是一個中型趨勢,是由 彥暉 從江恩中使用八多年來優化而來,每一個都含有自然的數字,如果想知道近來的支持和阻力,趨勢,可繼續閱讀。
只限學了「巨人兵器」的弟子,特選VIP可使用,版本會持續更新。
更新設定方法 :
 
 開啟/關閉 訊號
 開啟/關閉 XTV趨勢
 開啟/關閉 數字
 
 如何使用? 
基本使用方法 :
 
 待中巨人出現BUY後配合T線以上 ,可考慮買入的操作動作。
 待中巨人出現SELL後配合T線以下,可考慮沽出的操作動作。
 
 訊號是什麼? 
進階使用方法 :
 
 中巨人配合巨人兵器操作,確認向上的趨勢可考慮買入。
 中巨人配合巨人兵器操作,確認向上的趨勢可考慮買入。
 
巨人操作,無論做任何交易,必須要有「不斷止賺是皇道,嚴守止蝕是美德。」的心思。
By  Love.Gunfire 
今天獲取此指標 !
想獲取權限,請給本族訊息或訪問本族簽名中的以下鏈接。
請聯絡 : Love.Gunfire
指標的示範
美期顯示效果 暫時 US , HSI 
  
FIBAUS Volume Price Oscillator  [FIBAUS SKN]Really easy trade set up. Simply Buy when bars go GREEN and Sell when RED.
Works with all candle types, for crypto, forex, and commodities. 
Set a simple alert at the zero (0) line of the oscillator and follow the trades. 
Set predetermined Take profits using whatever method you are most comfortable with,,,, I use Fibonacci Targets and Gann.
Happy Trading,
FIBAUS
Fractal Circles####  FRACTAL CIRCLES  ####
I combined 2 of my best indicators Fractal Waves (Simplified) and Circles.
Combining the Fractal and Gann levels makes for a very simple trading strategy. 
 Core Functionality 
 Gann Circle Levels:  This indicator plots mathematical support and resistance levels based on Gann theory, including 360/2, 360/3, and doubly strong levels. The system automatically adjusts to any price range using an intelligent multiplier system, making it suitable for forex, stocks, crypto, or any market.
 Fractal Wave Analysis:  Integrates real-time trend analysis from both current and higher timeframes. Shows the current price range boundaries (high/low) and trend direction through dynamic lines and background fills, helping traders understand market structure.
 Key Trading Benefits 
 Active Level Detection:  The closest Gann level to current price is automatically highlighted in green with increased line thickness. This eliminates guesswork about which level is most likely to act as immediate support or resistance.
 Real-Time Price Tracking:  A customizable line follows current price with an offset to the right, projecting where price sits relative to upcoming levels. A gradient-filled box visualizes the exact distance between current price and the active Gann level.
 Multi-Timeframe Context:  View fractal waves from higher timeframes while maintaining current timeframe precision. This helps identify whether short-term moves align with or contradict longer-term structure.
 Smart Alert System:  Comprehensive alerts trigger when price crosses any Gann level, with options to monitor all levels or focus only on the active level. Reduces the need for constant chart monitoring while ensuring you never miss significant level breaks.
 Practical Trading Applications 
 Entry Timing:  Use active level highlighting to identify the most probable support/resistance for entries. The real-time distance box helps gauge risk/reward before entering positions.
 Risk Management:  Set stops based on Gann level breaks, particularly doubly strong levels which tend to be more significant. The gradient visualization makes it easy to see how much room price has before hitting key levels.
 Trend Confirmation:  Fractal waves provide immediate context about whether current price action aligns with broader market structure. Bullish/bearish background fills offer quick visual confirmation of trend direction.
 Multi-Asset Analysis:  The auto-scaling multiplier system works across all markets and timeframes, making it valuable for traders who monitor multiple instruments with vastly different price ranges.
 Confluence Trading:  Combine Gann levels with fractal wave boundaries to identify high-probability setups where multiple technical factors align.
This tool is particularly valuable for traders who appreciate mathematical precision in their technical analysis while maintaining the flexibility to adapt to real-time market conditions.
Harmonic BloomHarmonic Bloom - Advanced Geometric Analysis
Building upon my previous Fibonacci inspired indicator "TrendZone", Harmonic Bloom is a sophisticated geometric trading indicator inspired by W.D. Gann's legendary market geometry principles. It reveals market structure through three key pivot points and dynamic angular analysis, creating powerful harmonic intersections for precision trading.
🎯 Core Features:
📍 Three-Point Gann System:
Set 3 custom pivot points to define your analysis timeframe
Automatic trend detection (bullish/bearish) between pivots
Dynamic geometric box construction following Gann's square principles
📐 Gann-Style 45° Angle Projections:
Pivot 2 Line: Follows trend direction (up if bullish, down if bearish)
Pivot 3 Line: Creates opposition (opposite direction to Pivot 2)
Corner Line: Mirrors Pivot 2 from appropriate box corner
All angles project forward using Gann's 1x1 (45°) methodology for future price targets
⚡ POWER OF HARMONIC INTERSECTIONS:
Confluence Zones: Where multiple 45° angles intersect create the strongest support/resistance
Geometric Harmony: Intersections represent natural market turning points
Time-Price Balance: Following Gann's principle that time and price must be in harmony
Multiple Timeframe Resonance: Intersection points often align across different timeframes
High-Probability Reversals: Markets frequently respect these geometric intersection levels
📊 Customizable Retracement Levels:
8 fully configurable levels (default: 0.0, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75)
Choose between 25% or 50% trendline alignment
Individual style controls for each level
🔢 Advanced Gann Analytics:
Fibonacci sequence detection in bar counts (Gann studied natural number sequences)
Numerology sum analysis on pivot prices (Gann's mystical number approach)
Special highlighting for significant numbers
Optional on-chart labels for key metrics
📈 Trading Applications:
✅ Support/Resistance: Use retracement levels for entry/exit points
✅ Gann Angles: 45° lines show momentum direction and strength following Gann's time-price theory
✅ Intersection Trading: Most powerful signals occur at harmonic intersections where multiple angles converge
✅ Price Targets: Forward projections provide future price objectives using Gann's geometric principles
✅ Market Geometry: Identify harmonic patterns and geometric confluences
✅ Time Analysis: Fibonacci-based bar counting for timing decisions (Gann emphasized time cycles)
🌟 Why Harmonic Intersections Are So Powerful:
Gann believed that markets move in geometric harmony, and when multiple angles intersect, they create "magnetic price levels" where:
Maximum Energy Convergence: Multiple geometric forces meet at one point
Natural Turning Points: Markets respect these intersections as natural support/resistance
Time-Price Synchronicity: Intersections often coincide with significant time cycles
Multi-Dimensional Confirmation: Price, time, and geometry align simultaneously
⚙️ Highly Customizable:
All colors, widths, and styles adjustable
Toggle any feature on/off independently
Extend projections beyond the analysis box
Choose your preferred visual presentation
Perfect for traders who use Gann theory, geometric analysis, harmonic patterns, and mathematical market structure. The true power lies in trading the intersection points where multiple harmonic angles converge - these represent the market's most significant geometric turning points.
NIFTY BANKNIFTY MIDCAP SENSEX FINNIFTY LEVELS)this indicator uses Gann's methods which are based on the idea that markets move in predictable geometric patterns and are influenced by time and price.
Key Concepts of Gann Levels:
Gann Angles:
Gann believed that specific angles could indicate the trend of a market. The most notable is the 45-degree angle, which he called the "1x1" or "45-degree line."
Angles are drawn from a significant price point, such as a high or low, and represent the speed or slope of the price movement.
Gann Square of 9:
A mathematical tool that calculates support and resistance levels based on the square root of numbers and their geometric relationships.
It aligns numbers in a spiral format, starting from a central point, and helps identify key price levels at certain degrees.
Gann Fan:
A series of lines drawn at specific angles from a significant high or low. Common angles include 1x1 (45°), 2x1 (26.25°), and 1x2 (63.75°).
These angles help traders identify potential areas where the trend might accelerate, decelerate, or reverse.
Gann Retracements:
Levels based on key price ratios derived from natural laws and geometric principles. Common Gann retracement levels include 12.5%, 25%, 50%, and 75%.
Time Analysis:
Gann emphasized the importance of time cycles. He believed markets move in time-based patterns, such as yearly cycles, seasonal cycles, or specific time intervals.
Enigma Unlocked 2.0Description for "Enigma Unlocked 2.0" Pine Script Indicator
Overview
Enigma Unlocked 2.0 is an advanced and highly customizable indicator designed to deliver actionable buy and sell signals by leveraging precise candlestick logic during specific market transitions. This indicator is built for flexibility, helping traders identify high-probability trade setups during key trading periods, specifically the transitions between the Asian Kill Zone and London Kill Zone as well as the London Kill Zone and New York Kill Zone on the 30-minute timeframe.
  
By combining Enigma Unlocked 2.0 with the ICT Killzones & Pivots   indicator, traders can gain a deeper understanding of the timing and location of these transitions. Waiting for signals during these defined kill zones increases the likelihood of finding high-probability trade setups.
How to Use
Follow the Kill Zone Transitions:
Use the ICT Killzones & Pivots   indicator to clearly visualize the boundaries of the Asian, London, and New York kill zones.
Focus on the signals generated by Enigma Unlocked 2.0 that align with these kill zone transitions.
Plotting Entries and Targets with Gann Box:
For Buy Signals:
Use the Gann Box tool to mark the high and low of the signal candle.
Ensure your Gann Box settings include only the 50%, 0%, and 100% levels.
Your entry zone lies between the 50% and 100% levels (discount zone). This is where buy trades are expected to offer an optimal risk-reward ratio.
For Sell Signals:
Similarly, plot the Gann Box on the high and low of the signal candle.
The 50% to 100% zone acts as the premium area for sell trades.
Setting Stop Loss and Targets:
  
To identify a safe stop loss, split the 50% zone of the Gann Box using another Gann Box.
Draw the secondary Gann Box from 50% to 100% of the initial box, then extend it to double the height.
For sell trades, place the stop loss above the extended 100% level.
For buy trades, place the stop loss below the extended 100% level.
Aim for a minimum of 1:1 risk-to-reward to ensure optimal trade management.
How It Works
Buy Logic:
Buy Logic 1: Detects a bullish candle (close > open) that:
Closes above its midpoint (50% of the candle body).
Has a low lower than the previous candle's low.
Buy Logic 2: Identifies a bearish candle (close < open) that:
Closes above its midpoint (50% of the candle body).
Has a low lower than the previous candle's low.
Sell Logic:
Sell Logic 1: Detects a bearish candle (close < open) that:
Closes below its midpoint (50% of the candle body).
Has a high higher than the previous candle's high.
Sell Logic 2: Identifies a bullish candle (close > open) that:
Closes below its midpoint (50% of the candle body).
Has a high higher than the previous candle's high.
Real-Time Alerts and Visual Cues:
Green triangles below candles indicate buy opportunities.
Red triangles above candles indicate sell opportunities.
Built-in alert conditions notify you of signals in real-time, so you never miss a trading opportunity.
Why Use Enigma Unlocked 2.0?
Precision: Advanced candlestick logic ensures that signals are generated only under optimal conditions.
Session-Based Filtering: Signals occur exclusively during the most active market sessions (kill zones), improving trade quality.
Visualization: Simple yet effective tools like Gann Box integration and clear visual signals make this indicator easy to use and highly effective.
Real-Time Alerts: Stay informed of potential trades even when you're away from your screen.
Enigma Unlocked 2.0 empowers traders to harness the power of candlestick analysis and session-based strategies for disciplined and effective trading. Pair this with a solid understanding of risk management and kill zones to achieve consistent results in your trading journey.
Seasonal PeriodsThe great trader and analyst W.D. Gann developed unique methods for forecasting market movements based on mathematical, astronomical, and geometrical principles. One of his key concepts is the use of time cycles and seasonal periods to identify potential market turning points and plan trading strategies.
Description of Seasonal Periods:
These periods are often based on astronomical events such as equinoxes and solstices, giving them symbolic significance in market analysis. Here is a brief description of each period:
1. March 20 – May 5 (1/8 year or 46 days): Spring equinox and the beginning of the active season.
2. June 21 (1/4 year or 91 days): Summer solstice – peak summer activity.
3. July 23 (1/3 year or 121 days): Stabilization period after the peak.
4. August 5 (3/8 year or 136 days): Beginning of preparation for the autumn season.
5. September 22 (1/2 year or 182 days): Autumn equinox – mid-year point.
6. November 8 (5/8 year or 227 days): Transition period to winter.
7. November 22 (2/3 year or 242 days): Intensification of winter trends.
8. December 21 (3/4 year or 273 days): Winter solstice – peak winter activity.
9. February 4 (7/8 year or 319 days): Preparation period for the spring cycle.
10. March 20 (1 year or 365 days): Completion of the full annual cycle.
Gann’s Application in Trading:
Gann used these seasonal periods to identify potential market turning points and determine optimal moments to enter or exit positions. Here's how he might have applied these periods:
1. Planning Entry and Exit Points: By analyzing previous market cycles within these periods, Gann could predict when the market might show strength or a reversal.
2. Determining Market Trends: Correlating price movements with seasonal periods helped Gann identify the prevailing trend and its strength.
3. Risk Management: Knowing which periods traditionally exhibit higher volatility or stability allowed traders to adjust position sizes and set stop-loss orders more effectively.
4. Synchronization with Astrological Cycles: Gann believed in the influence of astrological phenomena on markets, so he linked seasonal periods with astrological events for more precise forecasting.
5. Combining with Other Analytical Methods: Gann integrated seasonal periods with his famous geometric angles and price levels (e.g., 1x1, 2x1, etc.), creating a comprehensive analysis system.
Practical Examples:
- Identifying Reversals: For instance, if historically during the period from March 20 to May 5 there was an increase in price growth after a correction, Gann might use this interval to plan long positions.
- Exiting Positions: During periods when the market traditionally experiences pressure or correction (e.g., around the winter solstice), a trader might anticipate exiting long positions or opening short ones.
Conclusion:
Gann’s use of seasonal periods in trading is based on the assumption that markets move not only under the influence of current events but also recurring cycles related to the time of year and astronomical phenomena. While modern traders may use more advanced tools and analysis methods, understanding seasonal cycles and their impact on market trends remains a valuable element of technical analysis.
Fibonacci Archer Box [ChartPrime]Fibonacci Archer Box (ChartPrime)  is a full featured Fibonacci box indicator that automatically plots based on pivot points. This indicator plots retracement levels, time lines, fan lines, and angles. Each one of these features are fully customizable with the ability to disable individual features. A unique aspect to this implementation is the ability to set targets based on retracement levels and time zones. This is set to 0.618 by default but you can pick any Fibonacci zone you like. Also included are markings that show you when Fibonacci levels are met or exceeded. These moments are plotted on the chart as colored dots that can be enabled or disabled. Along with these markings are crosses that can be shown when targets are hit. Both of these markings are colored with the related Fibonacci level colors.
  
When there is a zig-zag, this indicator will test to see if the zig-zag meets the criteria set up by the user before plotting a new Fibonacci box. You can pick from either higher highs or lower highs for bearish patterns, and higher lows or lower lows for bullish patterns. Both patterns can be set to use both when finding new boxes if you want to make it more sensitive. You also have the option to filter based on minimum and maximum size. If the box isn't within the selected size range, it will simply be ignored. The pivot levels can be configured to use either candle wicks or candle bodies. By default this is configured to use candle wick with a lookforward of 5 and lookback of 10.
  
We have included alerts for Fibonacci level crosses, Fibonacci time crosses, and target hits. All alerts are found in the add alert section built into tradingview to make alert creation as easy as possible. Each alert is labeled with their correct names to make navigation simple.
W.D. Gann, a renowned figure in the world of trading and market analysis, is often questioned for his use of Fibonacci levels in his strategies. However, evidence points to the fact that Gann did not directly employ Fibonacci price levels in his work. Instead, Gann had his unique approach, dividing price ranges into thirds, eighths, and other fractions, which, although somewhat aligning with Fibonacci levels, are not exact matches. It is clear that Gann was familiar with Fibonacci and the golden ratio, as references to them appear in his recommended reading list and some of his writings. Despite this awareness, Gann chose not to incorporate Fibonacci levels explicitly in his methodologies, preferring instead to use his divisions of price and time. Notably, Gann's emphasis on the 50% level—a marker not associated with Fibonacci numbers—further illustrates his departure from Fibonacci usage. This level, despite its popularity among some Fibonacci enthusiasts, does not stem from Fibonacci's sequence. This is why we opted to call this indicator  Fibonacci Archer Box  instead of a  Gann Box  as we didn't feel like it was appropriate. 
  
In summary, the  Fibonacci Archer Box (ChartPrime)  is a tool that incorporates Fibonacci retracements and projections with an automated pivot point-based plotting system. It allows for customization across various features including retracement levels, timelines, fan lines, and angles, and integrates visual cues for level crosses and target hits. While it acknowledges the methodologies of W.D. Gann, it distinctively utilizes Fibonacci techniques, providing a straightforward tool for market analysis. We hope you enjoy using this indicator as much as we enjoyed making it!
 Enjoy
PrasiGanFanFibntroduction
This is a combination of Fibonacci and Gann fan /retracements.
The script can automatically draw as many:
Fibonacci Retracements
Fibonacci Fan
Gann Retracements
Gann Fan
as the user requires on the chart. Each level set or fan consists of 7 lines based on the most important ratios of Fibonacci/ Gann .
Basics
What are Fibonacci retracements?
Fibonacci retracement levels are horizontal lines that indicate where support and resistance are likely to occur. They stem from Fibonacci’s sequence. Each level is associated with a percentage which is how much of a prior move the price has retraced. The Fibonacci retracement levels are 23.6%, 38.2%, 61.8%, and 78.6%. While not officially a Fibonacci ratio, 50% is also used. The indicator is useful because it can be drawn between any two significant price points, such as a high and a low. The indicator will then create the levels between those two points.
What are Gann retracements?
A developer of technical analysis and trading was W.D. Gann . Gann theory expects a normal retracement of 50 percent. This means that under normal selling pressure, the stock price will decline half the amount of its most recent rise, and vice versa. It also suggests that retracements occur at the halfway point of a move, such as 25 percent (half of 50 percent), 12.5 percent (half of 25 percent), and so on.
What is Fibonacci fan?
Fibonacci fan is a set of sequential trend lines drawn from a trough or peak through a set of points dictated by Fibonacci retracements. The first step to create it is to draw a trend line covering the local lowest and highest prices of a security. To reach retracement levels, the trader divides the difference in price at the low and high end by ratios determined by the Fibonacci series. The lines formed by connecting the starting point for the base trend line and each retracement level create the Fibonacci fan.
What is Gann fan?
A Gann fan consists of a series of lines called Gann angles. These angles are superimposed over a price chart to show potential support and resistance levels. The resulting image is supposed to help technical analysts predict price changes. Gann believed the 45-degree angle to be most important, but the Gann fan also draws angles at degrees like 75, 63.75, 26.25 and 15. The Gann fan originates at a low or high point. The resulting lines show areas of potential future support and resistance . The 45-degree line is known as the 1:1 line because the price will rise or fall at a 45-degree angle when the price moves up/down one unit for each unit of time. All other lines in the Gann fan are drawn above and below the 1:1 line. The other angles are associated with 2:1, 3:1, 4:1, 8:1 and 1:8, 1:4, 1:3, and 1:2 time-to-price moves.
Challenges
The most of the time I dedicated to writing this script has been spent on handling these problems:
1. Finding Local Highest/Lowest Prices
In order to draw Fibonacci and Gann fan /retracements, it's necessary to find local highest and lowest price points (Extrema) on the chart. As this could be so challenging, most traders and coders draw the lines covering the low and high prices over a given period of time or a limited number of bars back instead. I already wrote an indicator using this approach (Auto Fibonacci Combo).
In this new script I tried to find the exact highest and lowest prices based on this idea that: if a high point is formed lower than previous high which was after a lowest point, then that previous one was the local highest point, and vice versa if a low point is formed higher than previous low which was after a highest point, then that previous one was the local lowest point. So logically an extremum price on the chart won't be found until the next high/low point is formed.
2. Finding Proper Chart Scale for Gann Fan
Based on the theory, Gann angles are sensitive to the chart price scale and in order to have the right angles, the chart must be made with the proper scale. J.A. Hyerczyk in his book "Pattern, Price & Time - Using Gann Theory in Technical Analysis" suggests that the easiest way to determine the scale of a market is by taking the difference between top-to-top and bottom-to-bottom and dividing it by the time it took the market to move from top to top and bottom to bottom.
Thus on a properly constructed chart, the basic equation for calculating Gann angles is: Price * Time.
3. Drawing Fans and Relocating Fan Labels at Each New Bar in Pine (A Programming-Related Subject)
To do this, I used linear equations and line slopes. Of course it was so complicated and exhausting, but finally I overcame that thanks to my genius cousin.
Settings and Usage
By default, the script shows detected extremum points plus 1 Fibonacci fan, 1 Gann fan , 1 set of Fibonacci retracements and no Gann retracements on the chart. All of these could be changed in the indicator settings beside the color and transparency of each line.
Feel free to use this and send me your thoughts!
Track Highest/Lowest last[n] CandlesThis indicator will track the last , (defval=8), Highest and Lowest and previous close price by placing LINES. I created this to make it easier to place lines in the 25%, 50%, 75% , and 100% of take profits depending if I'm going Long or Short using MTT or MMS. Part of the auto -GannBox i'm trying to finish. Anyways, this makes it easier. I hope everyone can benefit from it. 
SQ9+ : A Index Trading System(Intraday) By TruStoxHi Fellow Traders,
Around 6 months back I launched Excel based SQ9 Index Trading System(Intraday)  here , With the feedback from our users the SQ9 System is updated to Tradingview for ease of charting, efficient trailing & some more fantastic features that  no normal trader can have .
Please Note:  SQ9+ is a full fledged trading system with defined rules to entry , exits & risk to reward management ( Check Reviews )
 To know more & register for SQ9 : Click Here! 
I hope this simply advanced trading system assists you in trading.
Do Visit Us @  TruStox 
Enjoy & Happy Trading
#A Happy Note : SQ9+ for scripts will be launched soon..
Momentum Master v1Momentum Master v1 - Unified Multi-Strategy Trading System
SCRIPT OVERVIEW
Momentum Master v1 is a unified multi-strategy trading system that integrates 6 distinct trading methodologies within a single, integrated framework. Unlike simple indicator mashups, this script implements a unified architecture where all strategies share the same sophisticated risk management system, adaptive position sizing, and comprehensive performance analytics.
---
CORE INNOVATION: UNIFIED MULTI-STRATEGY ARCHITECTURE
What Makes This Unique
Most trading scripts either focus on one strategy or combine indicators without integration. Momentum Master v1 implements a unified trading system where:
1. 6 Independent Strategies operate within the same framework:
   - EMA Crossover (trend-following)
   - RSI Mean Reversion (contrarian)
   - Breakout (momentum)
   - MACD Crossover (momentum/trend hybrid)
   - Bollinger Bands (mean reversion)
   - Volume Breakout (institutional flow)
2. Shared Risk Management System: All strategies use the same ATR-based stop loss calculation, multi-level take profit system (TP1-TP6), and win rate tracking regardless of which strategy generated the signal.
3. Universal Filter System: Technical filters (RSI, ADX, Volume, Divergence, Order Blocks) work identically across all strategies, allowing traders to fine-tune any strategy with the same filter combinations.
4. Adaptive Confidence Scoring: Each signal receives a confidence score (0-100%) based on multiple confluence factors. Higher confidence signals receive wider stops (1.2x multiplier), lower confidence receive tighter stops (0.9x multiplier), creating adaptive position sizing.
---
DETAILED METHODOLOGY
Signal Confidence Calculation
The script calculates signal confidence using a weighted scoring system:
Base Confidence: 50 points (strategy signal)
+ Volume Confirmation: +20 points (if volume > threshold)
+ Volume Trend: +10 points (if volume increasing)
+ RSI Confirmation: +10 points (if RSI in neutral zone, not extreme)
= Total Confidence Score (0-100%)
Confidence-Based Stop Loss Adjustment:
- 80%+ confidence: 1.2x stop distance (allows more room for volatility)
- 70-79% confidence: 1.1x stop distance
- 60-69% confidence: 1.0x stop distance (baseline)
- <60% confidence: 0.9x stop distance (tighter risk control)
This adaptive approach recognizes that high-confidence setups with strong volume and confluence can withstand wider stops, while weaker setups need tighter risk control.
Multi-Level Take Profit System
Instead of a single exit, the script implements 6 progressive take profit levels:
- TP1: 1:2 Risk/Reward (conservative partial exit)
- TP2: 1:4 Risk/Reward (moderate profit)
- TP3: 1:6 Risk/Reward (strong trend continuation)
- TP4: 1:8 Risk/Reward (extended move, optional)
- TP5: 1:10 Risk/Reward (parabolic moves, optional)
- TP6: 1:12 Risk/Reward (extreme extensions, optional)
Unique Feature: Each TP level maintains independent win rate statistics. The Performance Stats Table shows:
- Win rate for TP1 hits
- Win rate for TP2 hits (from trades that didn't stop out at TP1)
- Win rate for TP3 hits (from trades that reached TP2)
- And so on...
This allows traders to optimize which TP levels to enable based on actual market behavior. For example, if TP1 shows 65% win rate but TP2 shows 45%, the trader might disable TP2+ and focus on TP1 exits.
Universal Filter Integration
All filters work across all strategies using the same logic:
RSI Filter: Prevents entries when RSI is extreme (>70 or <30), recognizing that even trend-following strategies perform better when momentum isn't overextended.
ADX Filter: Only allows trades when ADX > threshold, ensuring trades occur in trending markets (not choppy conditions). This works identically for EMA crossovers, breakouts, and mean reversion strategies.
Volume Confirmation: Requires volume > (average × multiplier) for all strategies, ensuring institutional participation.
Divergence Filter (optional): Waits for RSI or MFI divergence confirmation within the lookback period before allowing entries, adding confluence to any strategy.
Order Block Filter: Aligns trade direction with the most recent Order Block direction, ensuring trades follow institutional flow.
Trade Management Architecture
The script implements a multiple concurrent trades system:
- Trade Cooldown: Minimum 5 bars between entries (prevents over-trading)
- Signal Reset Logic: Waits for signal condition to go false before allowing new entry (prevents re-entry on same signal)
- Trade Tracking Arrays: Maintains separate arrays for entry price, stop loss, each TP level, direction, and hit status
- Visual Management: Each trade gets colored lines (entry, SL, TP1-6) that update dynamically as price moves
---
STRATEGY DETAILS
1. EMA Crossover Strategy
Entry Logic:
- Long: Fast EMA crosses above Slow EMA
- Short: Fast EMA crosses below Slow EMA
Unique Implementation:
- 4 Speed Modes: Standard (9/21), Fast (7/17), Slow (13/26), Custom (user-defined)
- RSI Boundary Check: Prevents entries when RSI is extreme (Long: RSI < 70, Short: RSI > 30)
- Enhanced Entry: Adds RSI boundary check to base crossover, preventing entries at momentum extremes
Why This Works: EMA crossovers are reliable but can generate false signals during choppy markets. The RSI boundary check prevents entries when momentum is already overextended, improving win rate.
2. RSI Mean Reversion Strategy
Entry Logic:
- Long: RSI < oversold threshold (default 30) + bullish candle + volume confirmation + (optional) price near recent low
- Short: RSI > overbought threshold (default 70) + bearish candle + volume confirmation + (optional) price near recent high
Unique Filters:
- Strong Candle Filter (optional): Requires candle body > 50% of range (ensures conviction)
- Price Level Filter (optional): Requires price to be in bottom/top quartile of 10-bar range (ensures entry near support/resistance)
Why This Works: Mean reversion works best when price is truly at extremes AND showing reversal candles with volume. The optional filters add confluence, significantly improving win rate at the cost of fewer signals.
3. Breakout Strategy
Entry Logic:
- Long: Close > highest high of last N bars (default 20) + volume confirmation
- Short: Close < lowest low of last N bars (default 20) + volume confirmation
Why This Works: Breakouts signal momentum continuation. The volume confirmation ensures institutional participation, filtering false breakouts.
4. MACD Crossover Strategy
Entry Logic:
- Long: MACD line crosses above signal line AND MACD < 0 (oversold entry)
- Short: MACD line crosses below signal line AND MACD > 0 (overbought entry)
Why This Works: Entering MACD crossovers only when MACD is in oversold (long) or overbought (short) zones catches reversals rather than late trend entries, improving risk/reward.
5. Bollinger Bands Strategy
Entry Logic:
- Long: Price hits lower band + RSI < 40 + bullish candle
- Short: Price hits upper band + RSI > 60 + bearish candle
Why This Works: BB mean reversion works best when combined with RSI confirmation and reversal candles. The RSI filter (40/60 instead of extreme 30/70) prevents entries only at absolute extremes, allowing earlier entries.
6. Volume Breakout Strategy
Entry Logic:
- Long: Volume surge (2x average) + price strength (>0.5 ATR movement) + bullish candle + RSI < 70
- Short: Volume surge (2x average) + price strength (>0.5 ATR movement) + bearish candle + RSI > 30
Why This Works: Institutional moves require both volume AND price movement. The ATR-based price strength filter ensures the move has momentum, not just volume noise.
---
ADVANCED MARKET ANALYSIS TOOLS
Fair Value Gaps (FVG)
Detection Method:
- Bullish FVG: Low > High  (gap in price between 3-candle sequence)
- Bearish FVG: High < Low  (gap in price between 3-candle sequence)
Size Filtering: FVGs smaller than (ATR × multiplier) are filtered out, showing only significant gaps that represent institutional order flow imbalances.
Display Logic: FVG boxes extend until filled (price returns to gap zone), then remain visible (if enabled) to show historical liquidity zones.
How This Helps: FVGs represent price levels where institutional orders were not filled, creating future price targets or support/resistance zones.
Order Blocks
Detection Method:
- Identifies the last strong candle before a directional move
- Bullish OB: Strong bullish candle before upward move
- Bearish OB: Strong bearish candle before downward move
- Strong candle = body > 50% of range
Order Block Filter: When enabled, only allows trades in the direction of the most recent Order Block, ensuring alignment with institutional positioning.
How This Helps: Order Blocks show where institutions placed large orders. Price tends to return to these zones for additional liquidity or to test institutional support/resistance.
Liquidity Zones
Detection Method:
- Identifies swing highs/lows over lookback period
- Buy-side liquidity = swing highs (stop losses above)
- Sell-side liquidity = swing lows (stop losses below)
How This Helps: These zones represent where retail traders have stop losses. Price often moves to "sweep" these zones (liquidity grabs) before reversing or continuing the trend.
Point of Control (POC) Levels
4 Calculation Methods:
1. Volume POC: Price level with highest volume in lookback period
2. Session POC: (High + Low + Close) / 3 of previous session
3. Daily POC: (High + Low + Close) / 3 of previous day
4. Weekly POC: (High + Low + Close) / 3 of previous week
How This Helps: POC levels represent price levels where the most trading activity occurred. Price often returns to these levels, making them key support/resistance zones.
Fibonacci Extensions
Calculation Method:
- Measures swing low to swing high (uptrend) or swing high to swing low (downtrend)
- Calculates extension levels beyond 100%: 123.6%, 138.2%, 161.8%, 261.8%, etc.
- Calculates negative retracement levels: -0.236, -0.382, -0.5, -0.618, etc.
Golden Zone: Highlights the zone between 127.2% and 138.2% extensions, where many reversals occur.
Color-Coded by Importance: Critical levels (0%, 100%, 161.8%) get brighter colors, intermediate levels get muted colors, allowing traders to focus on key zones.
How This Helps: Fibonacci extensions identify potential reversal zones where price often completes wave patterns or finds resistance/support.
Divergence Detection
RSI Divergence:
- Bullish: Price makes lower low, RSI makes higher low
- Bearish: Price makes higher high, RSI makes lower high
MFI Divergence:
- Same logic as RSI but using Money Flow Index (volume-weighted RSI)
- Confirms RSI divergence or provides independent signals
Threshold System: Divergences must meet minimum price and indicator thresholds to filter weak signals.
How This Helps: Divergences signal weakening momentum, often preceding reversals. The filter ensures trades align with momentum shifts.
Gann Fan Analysis
Calculation Method:
- Identifies pivot high/low using configurable lookback
- Draws 9 Gann angles from pivot: 1x1, 1x2, 1x3, 2x1, 3x1, 4x1, 8x1, 1x4, 1x8
- Angle steepness = ATR multiplier × market volatility factor
Auto-Adjustment Features:
- Timeframe Detection: Automatically adjusts lookback for multi-day timeframes (2D=120, 3D=150, 4D=160, 5D=180 bars)
- Market Type Detection: Auto-adjusts angle steepness based on instrument type:
  - Crypto: 15.0 (flatter angles for volatile markets)
  - Forex: 12.0
  - Stock: 10.0 (steeper angles for calmer markets)
  - Index: 12.0
  - CFD: 13.0
Pivot Initialization: If strict pivot detection hasn't confirmed, falls back to recent swing high/low from historical data, ensuring lines appear immediately.
How This Helps: Gann Fans identify support/resistance angles based on price-time relationships. The auto-adjustment ensures optimal performance across different markets and timeframes.
---
PERFORMANCE ANALYTICS
Three Integrated Display Tables
1. Performance Stats Table
- Win rate for each TP level (TP1-TP6)
- Total trades tracked
- Helps optimize which TP levels to enable
2. Signal Overview Table
- Current RSI value and status (Overbought/Oversold/Neutral)
- Current ATR value
- Current ADX value (trend strength)
- Volume status (High/Low)
- Signal confidence score
- Volume trend direction
- Real-time technical snapshot
3. Risk Management Table
- Current trade direction (Long/Short/None)
- Consecutive losses counter
- Overall win rate
- Last 20 trade outcomes (visual W/L history)
Unique Feature: All tables update in real-time and work identically regardless of which strategy is active, providing consistent analytics across all trading methods.
---
USAGE INSTRUCTIONS
Quick Start
1. Select Strategy: Choose from 6 strategies in "Strategy Mode" dropdown
2. Configure Risk: Set ATR length and stop loss multiplier
3. Enable TP Levels: Choose which TP levels to track (TP1-TP3 recommended for beginners)
4. Add Filters (optional): Enable RSI/ADX filters to reduce false signals
5. Configure Display: Enable/disable tables and chart elements as needed
Recommended Settings by Market Type
Scalping (1m-5m charts):
- Strategy: EMA Crossover (Fast mode)
- Filters: Enable RSI and ADX filters
- TP Levels: Enable TP1-TP3
- Risk: SL multiplier 0.8-1.0 (tighter stops)
Swing Trading (15m-4H charts):
- Strategy: EMA Crossover (Standard) or Breakout
- Filters: Enable all filters for quality
- TP Levels: Enable TP1-TP6 (let winners run)
- Risk: SL multiplier 1.0-1.5 (wider stops)
Trend Following (Daily+ charts):
- Strategy: EMA Crossover (Slow) or MACD Crossover
- Filters: Enable ADX filter (ensure trending markets)
- TP Levels: Enable TP4-TP6 (capture extended moves)
- Risk: SL multiplier 1.5-2.0 (very wide stops for volatility)
Advanced Configuration
Signal Confidence Optimization: 
- Monitor Signal Overview Table for confidence scores
- If low confidence signals (<60%) perform poorly, consider enabling more filters
- If high confidence signals (80%+) perform well, consider increasing SL multiplier for those trades
TP Level Optimization:
- Monitor Performance Stats Table
- Disable TP levels with <40% win rate
- Focus on TP levels with >55% win rate
- Example: If TP1=65%, TP2=45%, TP3=55%, disable TP2
Filter Tuning:
- RSI Filter: Set overbought/oversold based on market volatility (trending markets: 75/25, choppy: 65/35)
- ADX Filter: Higher threshold (25-30) for stronger trends, lower (15-20) for more signals
- Volume Multiplier: Higher (1.5-2.0) for more selective signals, lower (1.1-1.2) for more opportunities
---
TECHNICAL IMPLEMENTATION DETAILS
Pine Script Architecture
Version: Pine Script v6
Max Bars Back: 5000 (allows deep historical analysis)
Max Labels: 500 (tracks up to 500 individual trades)
Data Structures:
- Arrays for trade tracking (entry, SL, TP1-6, direction, active status)
- Arrays for visual elements (lines, labels, boxes)
- State variables for signal processing and trade management
Performance Optimizations:
- Volume POC recalculated every 5 bars (not every bar) for efficiency
- FVG/Order Block arrays limited to recent items (configurable)
- Line extension system prevents excessive line creation
Calculation Methods
ATR-Based Stop Loss: Uses Average True Range (14-period default) multiplied by user-defined multiplier. This creates stops that adapt to market volatility automatically.
Confidence Multiplier: Calculated dynamically based on confluence factors, affecting stop distance in real-time.
TP Level Calculations: Each TP is calculated as Entry ± (Stop Distance × TP Ratio), ensuring consistent risk/reward ratios regardless of market volatility.
---
WHY THIS SCRIPT IS ORIGINAL
1. Unified Architecture: Unlike scripts that simply combine indicators, this implements a true unified system where strategies share risk management, filters, and analytics.
2. Adaptive Confidence System: The confidence-based stop loss adjustment is not found in standard indicator combinations. It creates dynamic position sizing based on signal quality.
3. Multi-Level TP Analytics: Independent win rate tracking per TP level allows data-driven optimization, not just multiple exit levels.
4. Universal Filter Integration: Filters work identically across all strategies, creating a modular system where traders can test filter combinations on any strategy.
5. Auto-Adjusting Gann Fan: The timeframe and market-type detection for Gann Fan is not standard implementation. It adapts automatically to different trading environments.
6. Integrated Institutional Flow Analysis: FVG, Order Blocks, and Liquidity Zones are integrated into the filtering system, not just displayed separately.
---
COMPARISON TO SIMILAR SCRIPTS
vs. Simple EMA Crossover Scripts: This adds 5 additional strategies, unified risk management, confidence scoring, multi-level TPs, and comprehensive analytics.
vs. Indicator Collections: This integrates indicators into a trading system with shared risk management, not just displaying multiple indicators separately.
vs. Strategy Testers: This provides real-time trading signals with visual management and performance tracking, not just backtesting.
vs. Signal Aggregators: This uses a unified framework where all components work together (confidence affects stops, filters work universally), not just combining independent signals.
---
CONCLUSION
Momentum Master v1 is not a simple indicator combination. It's a unified trading system that provides:
- Flexibility: 6 strategies to choose from
- Sophistication: Adaptive confidence-based risk management
- Intelligence: Multi-level TP optimization through analytics
- Integration: Universal filters and shared risk management
- Transparency: Real-time performance tracking and signal confidence
The script allows traders to:
1. Test multiple trading methodologies within one framework
2. Optimize TP levels based on actual performance data
3. Fine-tune any strategy with the same filter combinations
4. Understand signal quality through confidence scoring
5. Track performance across all strategies consistently
This integration and unified architecture makes Momentum Master v1 a comprehensive trading solution, not just a collection of indicators.
LA - EMA Bands with MTF DashboardDetailed Explanation of the LA - EMA Bands with MTF Dashboard Indicator 
This custom Pine Script v6 indicator, designed for Trading View, overlays EMA-based price channels on the chart while incorporating a multi-timeframe (MTF) dashboard for broader market context. It focuses on visualizing trend direction and momentum through three sets of EMA bands, each representing different time horizons, and extends this with a tabular dashboard that summarizes signals across user-selected timeframes. The bands help identify support, resistance, and trend shifts, while the dashboard provides at-a-glance alignment across multiple periods, aiding in confirming trades or spotting divergences. Unlike volatility-based channels (e.g., Bollinger or Keltner), it relies solely on EMAs for simplicity and lag-reduced responsiveness.
 Inputs Section 
 
 The script begins with user-configurable options grouped for ease. A timeframe input allows specifying a resolution for the EMA bands' data fetching, defaulting to the chart's timeframe if left empty—this enables higher-timeframe overlays on lower charts for context.
 Next, a shared source input defines the price data for all midlines, defaulting to the midpoint of high and low (hl2) but customizable to close, open, or others.
 The EMA bands have dedicated toggles and length inputs for each of the three sets: the first (long-term) defaults to 144 periods, the second (medium-term) to 72, and the third (short-term) to 12. These are inlined for compact settings panels, with minimum lengths of 1 to prevent errors.
 A boolean toggle controls the visibility of the MTF dashboard. Following this are nine pairs of inputs for dashboard timeframes: each pair includes a show/hide toggle and an editable timeframe string (e.g., '1' for 1-minute, 'D' for daily). Defaults progress from short (1, 3, 5 minutes) to longer (15, 30, 60 minutes, daily, weekly, monthly), grouped in inlines for organization. Only enabled and non-empty timeframes appear in the dashboard.
 
 Helpers Section 
 
 Two utility functions are defined here. The first computes an EMA on any source series over a specified length using Trading View's built-in function, reused throughout for midlines and bands.
 The second function generates a signal string ("B" for buy/bullish, "S" for sell/bearish, or "-" for neutral) based on the direction of an EMA applied to high prices. It compares the current EMA value to the previous one, mirroring the band fill logic for consistency in the dashboard.
 
 Core Components per Band Set: 
 
 Midline:  An EMA calculated on a user-selectable source price (default: hl2, which is the midpoint between high and low prices). This acts as the central trend line.
 Upper Band:  An EMA applied directly to the high prices of each bar.
 Lower Band:  An EMA applied to the low prices of each bar.
 
These form a channel that captures the smoothed range of price action, highlighting potential support (lower band), resistance (upper band), and overall trend direction (midline).
Multiple Band Sets: The indicator includes three independent EMA band sets, each with its own length parameter for customization:
 
 EMA1 (default length: 144) – Focuses on long-term trends.
 EMA2 (default length: 72) – Targets medium-term trends.
 EMA3 (default length: 12) – Emphasizes short-term momentum.
 
Each set can be toggled on or off via input checkboxes, allowing users to reduce chart clutter if needed.
 Visual Elements: 
 
 Midline Plot:  Displayed as a line colored based on its direction compared to the previous bar: green for rising (bullish), red for falling (bearish), and black for neutral (flat).
 Band Fill:  The area between the upper and lower bands is filled with a semi-transparent color indicating the trend of the upper band: light green for rising (suggesting expanding highs/upward momentum) and light pink for falling (contracting highs/downward pressure). The bands themselves are plotted in blue with a thin linewidth.
 
 Multi-Timeframe Support:  Users can input a custom timeframe (e.g., 'D' for daily), and the indicator fetches data from that resolution. This enables higher-timeframe context on lower-timeframe charts, such as viewing daily EMA bands on a 1-hour chart.
 Calculation Mechanics:
 
 
 All EMAs are computed using Trading View's built-in ta.ema() function.
 Data is retrieved in a single request.security() call for efficiency, with lookahead enabled to avoid repainting.
 No multipliers or volatility adjustments are included, making it a simple EMA-based envelope rather than a true volatility channel.
 
In practice, this indicator helps traders identify trend strength, potential breakouts (price crossing bands), or mean-reversion opportunities (price bouncing within bands). It's particularly useful for swing or position trading where multi-period alignment (e.g., all midlines green) signals conviction.
  
  
  
 Pros 
 
 Multi-Period Insight:  By combining short (12), medium (72), and long (144) periods, it offers a layered view of trends across time horizons, helping confirm alignments or divergences without needing multiple separate indicators.
 Visual Clarity:  Color-coded trends and fills make it easy to spot bullish/bearish shifts at a glance, reducing analysis time.
 Flexibility:  Custom timeframe input allows for multi-timeframe analysis, while shared source and toggles provide user control.
 Simplicity and Efficiency:  Purely EMA-based, it's computationally light and avoids overcomplication, making it accessible for beginners while still useful for spotting channel-based setups like squeezes or expansions.
 No Repainting:  With lookahead, plots are stable once bars close.
 
 Cons 
 
 Lagging Nature:  EMAs inherently lag price action, especially longer ones like 144-period, which may cause delayed signals in fast-moving or ranging markets.
 Lack of Volatility Adjustment:  Unlike Keltner Channels or Bollinger Bands, it doesn't incorporate ATR or standard deviation, so bands may not accurately reflect true volatility—potentially leading to false breakouts in high-volatility environments.
 Chart Clutter:  Displaying all three band sets simultaneously can overcrowd the chart, particularly on lower timeframes or volatile assets.
 Subjective Interpretation:  Color changes and band interactions require trader discretion; there's no built-in alerting or quantitative signals, which might lead to inconsistent results.
 Market Dependency:  Defaults may not suit all assets (e.g., stocks vs. crypto); shorter periods like 12 could whipsaw in noisy markets, while 144 might be too slow for intraday trading.
 
 Justification for Default Values (12, 72, and 144) 
The default lengths of 12, 72, and 144 are not arbitrary but draw from established trading principles, particularly W.D. Gann's geometric and numerical theories, as well as Fibonacci sequences, to create a harmonic progression for short-, medium-, and long-term analysis. Here's the rationale:
 
 12 (Short-Term):  This is a common period for capturing recent momentum in technical indicators, often seen in setups like the MACD (which uses 12- and 26-day EMAs). It aligns with natural cycles, such as the 12 months in a year, and in Gann theory, 12 serves as a base unit for squaring price and time (e.g., in the "Square of 12" where multiples like 12, 24, etc., measure cycles in days, weeks, or months). At 12 periods, the EMA reacts quickly to price changes without excessive noise, making it ideal for short-term trend detection.
 72 (Medium-Term):  This acts as an intermediate bridge, derived from Gann's divisions of the 360-degree circle (a key Gann concept representing a full cycle). Specifically, 72 is 360/5 (relating to pentagonal geometry and natural harmonics) and appears in Gann's time cycle measurements (e.g., as a multiple in the Square of 12: 12×6=72). It's roughly half of 144, providing a balanced midpoint for medium-term trends without overlapping too closely with the others. In practice, 72 periods smooth out short-term fluctuations while still responding to developing trends.
 144 (Long-Term):  This is a powerhouse number in trading lore, being both 12 squared (12×12=144, central to Gann's "Square of 144" for monthly charts and major cycle turns, as there are 12 months in a year) and a Fibonacci sequence value (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...). Fibonacci periods are popular in moving averages for their alignment with natural growth patterns in markets, and 144 is often used for long-term regime definition (e.g., confirming trends over 144 bars). It helps identify major support/resistance in extended cycles.
 
Overall, these values form a geometric/harmonic series (12, 72=12×6, 144=12×12), promoting alignment with market cycles as per Gann and Fibonacci principles, rather than generic lengths like 50 or 200. They can be adjusted based on the asset or timeframe, but the defaults provide a starting point rooted in time-tested trading numerology for balanced multi-period analysis.
Please use this along with other indicators (eg. Pivot, MACD, etc) for better results.
MastersCycleSignal(Mastersinnifty)Overview 
MastersCycleSignal is a high-precision market timing and projection indicator for trend-following and swing traders.
It combines an adaptive cycle detection algorithm, forward-looking sine wave projections, dynamic momentum confirmation, and Gann Square of 9-based geometric targets into a complete structured trading framework.
The script continuously analyzes price oscillations to detect dominant cycles, projects expected price behavior with future-facing sine approximations, and generates buy/sell signals once confirmed by adaptive momentum filtering.
Upon confirmation, it calculates mathematically consistent Gann-based target levels and risk-managed stop-loss suggestions.
Users also benefit from auto-extending targets as price action unfolds — helping traders anticipate rather than react to market shifts.
---
 Uniqueness 
MastersCycleSignal stands apart through a unique fusion of techniques:
- Dynamic Cycle Detection
    - Detects dominant cycles using a cosine correlation maximization method between detrended price (close minus SMA) and theoretical cosine curves, dynamically recalibrated across a sliding window.
- Sine Wave Future Projection
    - Smooths and projects future price paths by approximating a forward sine wave based on the real-time detected dominant cycle.
- Adaptive Momentum Filtering
    - Volatility is scaled by divergence between normalized returns and a 5-period EMA, further adjusted by an RSI(2) factor.
    - This makes buy/sell signal confirmation robust against noise and false breakouts.
- Gann-Based Target Computation
    - Uses a square-root transformation of price, incremented by selectable Gann Square of 9 degrees, for calculating progressive and dynamically expanding price targets.
- Auto-Extending Targets
    - As price achieves a projected target, the system automatically draws subsequent new targets based on the prior target differential — providing continuous guidance in trending conditions.
---
 Usefulness 
MastersCycleSignal is built to help traders:
- Identify early trend reversals through cycle shifts.
- Forecast probable price paths in advance.
- Plan systematic target and stop-loss zones with geometric accuracy.
- Reduce guesswork in trend-following and swing trading.
- Maintain structured discipline across intraday, swing, and positional strategies.
It works seamlessly across stocks, indices, forex, commodities, and crypto markets — on any timeframe.
---
 How to Use 
- Attach the indicator to your desired chart.
- When a Buy Signal or Sell Signal appears (green or red markers):
    - Use the attached stop-loss labels to manage risk.
    - Monitor the automatically plotted target lines for partial exits or full profits.
- The orange projected sine wave illustrates the expected future market path.
- Customization Options:
    - Cycle Detection Length — adjust to fine-tune cycle sensitivity.
    - Projection Length — modify the forward distance of sine wave forecast.
    - Gann Square of 9 Degrees — personalize target increments.
    - Toggle Signals and Target visibility as needed.
---
 Disclaimer 
- MastersCycleSignal uses no future data or lookahead bias.
- All projections are based on geometric extrapolations from historical price action — not guaranteed predictions.
- Trading involves risks, and historical cycle behavior may differ in future conditions.
Dynamic Horizontal Lines
 
 Gann levels (squares of 9)  have multiple levels. Adding lines at all these levels would add too much noise on the chart.
 This indicator adds horizontal lines as per the Gann levels (Squares of 9) closest to the days close.
 The current indicator add horizontal lines at the Gann level closest to the days close. It also adds 4 lines above & below the closest Gann level
 I have considered Gann levels from 1 to 10000. You can append the Gann levels based on your requirements.
Liquidity tool [Influxum]One of the most widespread concepts that can give you an edge when trading in the markets is liquidity. There are several ways to identify and plot liquidity. This indicator aims to show how liquidity can be plotted entirely objectively, thus laying the foundation for a consistent trading system.
 Pivot 
One of the ways to identify liquidity is using pivots. Pivots are candles that are locally the highest or the lowest. We identify them using strength, which is a number that determines how many candles to the left and right of the pivot candle are lower for a pivot high and higher for a pivot low. It is important to keep in mind that a pivot candle is only confirmed when the last candle to the right closes. If I have the pivot number set to 10, it means that a pivot high is a candle that has 10 lower candles on the left and 10 lower candles on the right. Only after the 10th candle to the right closes is the pivot candle confirmed as a pivot high. Within this indicator, the liquidity line is drawn at this moment.
 Tip for traders:  
If you work with liquidity from both lower and higher timeframes, try adding two Liquidity Tool indicators to your chart: set a lower pivot number, for example, 5 for one, and a higher pivot number, for example, 20 for the other. At the same time, adjust the line width for liquidity with a higher pivot number to a higher value. This way, you achieve a combination of liquidity from significant higher timeframe structures and lower timeframe structures.
 Gann Swing 
The Gann swing is another objective way to mark liquidity in the market. Unlike pivot liquidity, which is based on the highest highs or lowest lows of candles, the Gann swing is based on the highest or lowest closes. We then mark liquidity when the current candle closes above the highest close of the last few candles or below the lowest close of the last few candles. While a pivot high might only show a local extreme in price development, the Gann swing deals with the actual closing of the price. Liquidity points determined by the Gann swing may thus be more indicative of where the price actually wants to go, not just where it was at a particular moment before sharply rebounding (as with pivot liquidity).
 Percent Change 
One of the most objective ways to identify liquidity is the percentage change in price. We plot liquidity only in places where there has been a sufficiently large swing/significant price movement. This can be particularly relevant for filtering out moments when the price is moving within a narrow range. In such a situation, many pivot highs and lows or Gann swings can occur, which may be only a few pips or fractions of a percent apart. If you set it so that you want liquidity to be plotted only on a swing of 0.1% (for forex, where this is a sufficiently large movement), you can easily filter out moments when the price was moving in a narrow range.
 Liquidity Session 
For Pivot, Gann, and Percentage liquidity, you have the option to set a trading session. This determines the time period for which you want liquidity to be plotted. You might want to see only the liquidity from the Asian session, for example. Check the checkbox with BG. This will display the background for the currently selected session. You can then check if you are working only with the liquidity of your intended session.
 Note:  
Sometimes you may notice that liquidity lines start even outside the selected session. This is not a mistake. As mentioned above with pivot liquidity, if the pivot number (strength) is 10, we wait for the tenth candle to close before liquidity is confirmed. The pivot candle itself is thus located 10 candles back, and that is where the liquidity line also begins. However, the crucial moment for this indicator is when the liquidity point is confirmed.
 Visual Settings 
To customize the indicator to your preferences as much as possible, you have the option to set the style of the liquidity line, its color, and its thickness. The analyses you share will then match your exact vision.
 Delete Grabbed Liquidity 
Check this option when you want to see only uncrossed liquidity on the charts, meaning liquidity lines that have not yet been crossed by the price.
 Display Liquidity Grab Point 
When you check this option, it highlights the points on the candles where liquidity was grabbed.
 Liquidity Duration 
Some strategies require that only internal liquidity be taken, meaning liquidity that was created recently. To accommodate this, we have embedded several options in the indicator to work with the validity duration of liquidity.
 Delete Liquidity End of Day 
This option deletes the liquidity line at the end of the calendar day. This way, you can display only intraday liquidity. 
 Tip for traders:  If you check both "delete liquidity end of day" and "delete grabbed liquidity," only the liquidity of the current day will be displayed on the chart.
 Delete Liquidity End of Next Day 
This option works similarly to the above. By deleting liquidity only at the end of the next day, you can work with yesterday's liquidity. Many strategies use the liquidity of the previous day (or the high and low of the previous day), allowing you to focus exclusively on yesterday's and today's liquidity.
 Liquidity Duration in Bars 
The final option allows you to delete liquidity after a certain time has elapsed. For the purposes of the indicator, we have set the time in terms of the number of bars. So, if you are on a 5-minute timeframe and want liquidity to be deleted after an hour, set the liquidity duration to 12 bars (12 x 5 minutes is 60 minutes).
Angles v3 [Med]Greetings,
This indicator is about Gann Angles, based on the idea that the market is geometric and cyclical in nature, it consists of a series of lines and shapes (ex: Gann Angles) to illustrate  potential support/resistance levels and price cycles. The resulting image is supposed to help technical analysts predict price changes and shifts over time. this is v3 of the indicator, with so many changes and additions.
The indicator contains:
- Price/time grid
- Three types of Gann fans
- Gann star
- Squares that englobe the price direction (with future support and resistance and possible direction change dates)
- Channels
- Two types of diagonal Grids
- Price Angles
- Time cycles
- Alerts
and many more helpful and interactive features!
* All of the above using two different ways of calculations, Gann and Fibo-Gann,
* The indicator projects different lines into the future to help predict future price changes
* Total control of everything in the chart (colorings, size, place ..etc.)
This is a paid indicator, Only available to selected people. Use the links below to contact us or for more information about how you can gain access.
Good luck!
Angles 540 By MedHello All,
This indicator is about Gann Angles, it consist of a series of horizontal lines ( Gann Angles), time vertical levels along with Gann Star to show potential support and resistance levels. The resulting image is supposed to help technical analysts predict price changes and shifts over time.
The indicator contains:
- Price/time grid
- Gann star
- Price Angles
* All of the above using Gann calculations and methods
* The indicator projects different lines into the future to help predict future price changes
* Total control of line coloring and styles!
This is a paid indicator, Only available to the 540 R&D team, and 540 Group
(Use the links below to contact me for more information about how you can obtain access to this indicator
Good luck!
[VIP] Trading ToolkitIndicator includes:
 
  Auto fibonacci retracement
  Auto Gannfan (modified)
  Linear Regression
  Buy and Sell Signal
  Fibonacci extension
  Moving averages
 
Alert includes:
 
  When Buy signal appear
  When Sell signal appear
  Touch Top Linear Regression
  Touch Bottom Linear Regression
  Crossunder Middle Linear Regression
  Crossover Middle Linear Regression
 
Disclaimer:
 
  Chart colours and styles are dedicated for Dark template (soon for bright version)
  More question or request trial? check links below
Square of natural number_RAMLAKSHMANDASThis indicator draws horizontal lines at square-number price levels around the square root of the current closing price. Inspired by Gann’s geometric approach, these lines serve as potential support and resistance levels. Each line is labeled with its price for easy identification. Traders can use it to visualize mathematically significant zones, identify reversal points, and enhance numerical trading strategies.
Pine Script Indicator: Odd Square Levels
This Pine Script indicator, designed for TradingView v6, plots dynamic horizontal support and resistance levels on the chart based on the square root of the current close price. It adheres to the specific principles of Gann theory, focusing exclusively on odd square numbers.
How it Works:
The indicator first calculates a base number by taking the square root of the current bar's close price and rounding it. This base number acts as the center of a user-defined range. The script then iterates through all the natural numbers within this range.
For each number in the range, it performs a check:
If the number is odd, the script calculates its square and plots a horizontal line at that price level.
If the number is even, the script adds 1 to the number before squaring it and plotting the line. This ensures that only levels corresponding to odd squares are ever drawn.
Key Features:
Dynamic Levels: The levels automatically adjust as the market price changes, providing real-time support and resistance zones.
Customizable Range: The user can specify an offset (e.g., ±10) around the square root of the price to control the number of levels displayed.
Visual Customization: Users can modify the color and width of the lines to suit their preference.
On-Chart Labels: The indicator can be configured to display a label next to each line, showing the number squared and the resulting price level (e.g., 3² = 9).
Performance Optimization: The indicator is designed to run efficiently by deleting old drawings on each new bar, preventing chart clutter and ensuring a smooth experience.
Ideal Usage:
This indicator is a powerful tool for traders who follow Gann theory or are looking for unconventional support and resistance levels. The levels are particularly useful for identifying potential trend reversals or areas of strong confluence with other trading strategies. It is recommended to use the indicator on volatile asset classes where price movements are significant, such as cryptocurrencies, as these assets tend to follow these types of mathematical relationships.
PSP Gyani Baba 9 Number [Good for all types of trading]The PSP Gyani Baba 9 Number indicator is a powerful tool based on the Gann Square of 9 methodology, designed to identify key support and resistance levels on your chart. This indicator calculates dynamic price levels using the square root of the current price, incorporating Gann's incremental adjustments to plot up to 10 customizable support and resistance lines. It features:
Support/Resistance Levels: Automatically displays bullish (green) and bearish (red) levels with adjustable line styles (solid, dashed, or dotted).
Cardinal Points: Highlights critical North, South, East, and West cardinal levels in orange for high-impact trading zones.
Trading Signals: Generates buy and sell signals based on price crossing cardinal East and West levels, with visual alerts and optional notifications.
Info Table: Provides a real-time summary of current price, square root, and next support/resistance levels.
Customization: Offers adjustable inputs for level count, colors, and alert preferences.
Ideal for traders seeking Gann-based insights, this indicator enhances decision-making with clear visual cues and actionable alerts. Perfect for all timeframes and markets!






















