Daily (Gann Pivot)Daily Gann Pivot Indicator - Description
The **Daily (Gann Pivot) Indicator** is a custom **Pine Script** tool designed to calculate and display **Gann-based pivot levels** on a price chart. It utilizes past **high, low, and close** values to determine key support and resistance levels that traders can use for potential price movement analysis.
**Features & Functionality**
1. **Customizable Inputs:**
- Select **source type** (default: `open` price).
- Adjust **lookback period** (`Days Back` setting).
- Choose from various **timeframes** (D, 2D, 3D, weekly, monthly, etc.).
2. **Pivot & Support/Resistance Levels:**
- **Main Pivot Level** (calculated as the average of previous period's HLC).
- **Standard Support & Resistance Levels (S1, S2, S3, S4, R1, R2, R3, R4)**.
- **Intermediate Levels** based on Gann calculations (`TR1`, `TS1`, `TR2`, `TS2`).
3. **Custom Display Settings:**
- Toggle visibility for **Pivot, Support, and Resistance Levels**.
- Enable **labels** for different pivot levels with adjustable text sizes.
- Choose **line style** (Solid, Dashed, Dotted) and extension direction (Left, Right, Both, None).
4. **Dynamic Updates & Auto-Plotting:**
- Automatically updates pivot levels **daily**.
- Adjusts lines when new trading periods begin.
- Labels key price levels with **Gann angles** (e.g., 90º, 180º, 270º, 360º).
---
### **How It Works**
- The script calculates the pivot point and price range from the **previous period**.
- It derives **support and resistance levels** using Gann’s pivot theory.
- If enabled, the script **plots lines and labels** for visual clarity.
- It updates dynamically with **new bars** and adjusts lines accordingly.
---
### **Who Can Use It?**
- **Day Traders & Swing Traders** looking for precise support/resistance levels.
- **Technical Analysts** applying Gann’s methodology.
- **Price Action Traders** who use pivots for trade setups.
---
This indicator helps traders **identify critical price levels** and potential turning points in the market based on **Gann’s pivot calculations**. 🚀
Cycles
TestMA-STATEOverview:
This Pine Script (version 6) is designed to generate trading events based on moving average (MA) behavior and dynamically calculated percentiles. It leverages a custom state machine library (version 7) from decrypt_capital to track and manage state transitions related to MA conditions, and it triggers alerts (and optionally, chart labels) when specific state transitions occur.
Key Components:
License & Metadata:
The script is distributed under the Mozilla Public License 2.0.
It carries copyright by decrypt_capital.
The title ("TestMA-STATE") and short title ("MA-STATE") are defined, and the script runs on an overlay with extended backtracking and drawing limits.
State Machine Integration:
The script imports the lib_statemachine_modified library (version 7) using the alias modSM.
A persistent state machine instance (MovingAverageDirection_SM) is created to manage various MA-related states.
Several state constants are defined to represent different market conditions, such as:
MA_SHORT_ABOVE_OVERBOUGHT: When the short MA low is above the overbought threshold.
MA_SHORT_CROSSUNDER_MID & MA_SHORT_CROSSUNDER_BIG: Conditions for bearish crossunders.
MA_SHORT_BELOW_OVERSOLD: When the short MA high is below the oversold threshold.
MA_SHORT_CROSSOVER_MID & MA_SHORT_CROSSOVER_BIG: Conditions for bullish crossovers.
Inputs & MA Calculation:
Users can choose the type of moving average (EMA, SMA, WMA, VWMA) and adjust lengths for short, mid, and big MAs.
Additional inputs include lookback length for percentile calculations and percentile thresholds for determining overbought and oversold boundaries.
The script computes:
Short MA Low and High: Based on the low and high series.
Mid MA and Big MA: Based on the average price (ohlc4).
Dynamic Percentile Boundaries:
Two functions (f_getPercentile() and f_getPercentileArr()) calculate dynamic percentile values from the MA data.
These functions determine the oversold and overbought boundaries used in the state transition conditions.
Timestamp & Alert Header Formatting:
A helper function (f_formatTimestamp()) formats timestamps into a human-readable form (e.g., "Tue 12 Mar 16:30").
This formatted time, along with ticker information and other details, is used to build an alert header.
State Transitions & Alerts:
The script calls the state machine’s step() method multiple times with conditions based on the relationship between MA values and the percentile boundaries.
For example:
A bullish condition is triggered when the short MA low moves above the overbought threshold.
A bearish condition is triggered when the short MA high falls below the oversold boundary.
Transitions are further refined by checking if the MA is rising or falling.
When specific state transitions occur (e.g., MA_SHORT_CROSSOVER_MID after MA_SHORT_BELOW_OVERSOLD), the script:
Checks that the transition is recent (using the barsSinceState() method).
Optionally creates a label on the chart.
Triggers an alert with a descriptive message.
Chart Plotting:
The script plots the calculated moving averages (short, mid, and optionally big) on the chart.
It also plots the dynamic percentile boundaries for visual reference.
Purpose & Usage:
Trading Signal Generation:
The primary goal is to monitor key MA conditions and trigger alerts when significant crossovers or crossunders occur. These events—such as bullish crossovers when the market recovers from oversold conditions or bearish crossunders when the market retracts from overbought conditions—can be used as trading signals.
Visualization:
Users have options to display the various moving averages and percentile boundaries directly on the chart, as well as optional labels that mark when an alert is generated.
Alerting:
When specific state transitions are detected, the script constructs and sends an alert message with a timestamp, ticker, and descriptive text, aiding traders in making timely decisions.
Minervini-O'Neil Winner Patternthis is using a few indicators and some criterias. This is taken from oneail and minervenis ideas. Not sure if this is good or not just testing so done use it like a moron
Powerful Gold & Nasdaq BotThe Powerful Gold & Nasdaq Trading Bot is a robust Pine Script strategy designed to generate strong buy and sell signals based on a combination of technical indicators. It is optimized for trading XAU/USD (Gold) and NASDAQ/USA100, leveraging a blend of trend-following and momentum-based strategies to identify high-probability trade setups.
🔹 Key Features:
✅ EMA Crossovers – Detects trend shifts using fast and slow exponential moving averages (EMA).
✅ RSI Confirmation – Ensures trades align with momentum by using the Relative Strength Index (RSI).
✅ MACD Signal Filtering – Confirms entries using MACD crossovers, reducing false signals.
✅ ATR-Based Stop Loss & Take Profit – Dynamically adjusts risk management using the Average True Range (ATR) multiplier.
✅ Long & Short Trades – Executes both buy and sell positions for full market coverage.
🔹 How It Works:
📌 Buy Entry: When the fast EMA crosses above the slow EMA, RSI is above 50, and MACD is bullish.
📌 Sell Entry: When the fast EMA crosses below the slow EMA, RSI is below 50, and MACD is bearish.
📌 Risk Management: Stop-loss and take-profit levels are set automatically based on ATR multipliers to optimize risk-reward.
🔹 Ideal for Traders Who:
✔️ Want automated, high-probability signals for Gold and Nasdaq.
✔️ Prefer dynamic risk management instead of fixed stop-loss and take-profit levels.
✔️ Need a fully structured and backtestable strategy on TradingView.
Vishal Strategy🔹 Summary of Strategy Logic
✅ Long Entry (Buy)
Supertrend must be Green (Bullish)
MACD Line must be Above Signal Line
Candle must Close Above SAR
The sequence does NOT matter – The trade enters as soon as all three conditions are met.
Uses 100% of capital for entry.
❌ Long Exit (Sell)
Exit only when 2 consecutive candles close below SAR (Prevents premature exits).
✅ Short Entry (Sell)
Supertrend must be Red (Bearish)
MACD Line must be Below Signal Line
Candle must Close Below SAR
The sequence does NOT matter – The trade enters as soon as all three conditions are met.
Uses 100% of capital for entry.
❌ Short Exit (Buy Cover)
Exit only when 2 consecutive candles close above SAR (Prevents false exits).
🔥 Why This Version is the Best
✅ Trade Entry Happens as Soon as All 3 Conditions Are Met, Regardless of Order.
✅ No Pyramiding – Uses Full Equity on Each Trade.
✅ Exit Logic Ensures That We Hold Winners Longer.
✅ Works in Both Bullish & Bearish Markets with Equal Logic.
Landry Proper OrderLandry Proper Order Indicator
The Landry Proper Order indicator visualizes the positioning of three moving averages (MAs) to indicate the current trend. The indicator is highly customizable, allowing users to select different types of MAs (Simple Moving Average or Exponential Moving Average) and adjust their lengths. The indicator works on the principle that when the MAs are in a specific order, it indicates a strong trend in the market.
Key Features:
Customizable Moving Averages: Users can select the type of moving averages (SMA or EMA) and set custom lengths for each of the three MAs:
MA1 (default: 10)
MA2 (default: 20)
MA3 (default: 30)
Landry Proper Order Conditions:
Uptrend (Landry Up): When the MAs are ordered in an ascending manner: MA1 > MA2 > MA3.
Downtrend (Landry Down): When the MAs are ordered in a descending manner: MA3 > MA2 > MA1.
Visual Representation:
Background Color: The background color changes based on the trend:
Green when the MAs are in an uptrend.
Red when the MAs are in a downtrend.
Yellow when there is no clear order.
MA Colors: The moving averages are color-coded based on the trend:
Fuchsia for MA1 (when in trend).
Lime for MA2 (when in trend).
Red for MA3 (when in trend).
Gray for neutral or no trend.
Cumulative Trend Counters:
Displays the cumulative number of days the trend has been active in either an uptrend or downtrend.
Shows the percentage change from the start price in either trend.
Screener Functionality:
Alerts for the new formation of uptrends or downtrends, signaling a shift in the market's structure.
Users can receive an alert when the "Landry Proper Order" is active in either direction.
Alerts:
Alerts for the detection of a new "Landry Proper Order Up" or "Landry Proper Order Down" condition.
Alerts when the "Landry Proper Order" is active in either an up or downtrend.
Asian Range x MNOR STDV°This script is an enhanced version of the "Fridays Asian Range" indicator, originally created by Toodegrees, with additional features inspired by ICT (Inner Circle Trader) concepts. It is designed to help traders identify key price levels and visualize building the daily power of three during the main trading sessions, incorporating quadrant levels to divide the range into meaningful zones for better decision-making.
Key Features
Asian and Midnight Opening Ranges:
Plots the high and low of the Asian session (7:00 PM - 12:00 AM EST) and Midnight Opening Range (12:00 AM - 12:30 AM EST).
Displays the range as a box on the chart, with customizable colors and styles.
Standard Deviation Levels:
Extends the range by plotting standard deviation levels above and below the high and low of the range.
These levels help identify potential support and resistance zones beyond the range.
Quadrant Levels (0.25, 0.50, 0.75):
Divides the range into four equal parts using horizontal lines at the 0.25, 0.50, and 0.75 levels.
These levels are inspired by ICT's concept of balance and imbalance, helping traders identify areas of value within the range.
Fully customizable: Users can choose the line color, style (Dashed, Dotted, Solid), and thickness (1-4).
Historical Sessions:
Allows users to display historical ranges for up to 20 sessions, providing context for price action over multiple days.
Timeframe Restriction:
Ensures the indicator is used on timeframes of 15 minutes or lower for optimal accuracy.
Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
Taka Swing Didi IndexEs un indicador de un solo me todo de entrada, hacemos entradas tan pronto salga el punto y haga un cierre de velas. Lo cual se podría combinar con otros indicadores
M2 Global Liquidity Index - 10 Week Lead
M2 Global Liquidity Index - Forward Projection (10 Weeks)
This indicator provides a 10-week forward projection of the M2 Global Liquidity Index, offering traders insight into potential future market conditions based on global money supply trends.
What This Indicator Shows
The M2 Global Liquidity Index aggregates M2 money stock data from five major economies:
- China (CNY)
- United States (USD)
- European Union (EUR)
- Japan (JPY)
- Great Britain (GBP)
All values are converted to USD and presented as a unified global liquidity metric, providing a comprehensive view of worldwide monetary conditions.
Forward Projection Feature
This adaptation displays the indicator 10 weeks ahead of the current price, allowing you to visualize potential future liquidity conditions that might influence market behavior. The projection maintains data integrity while providing an advanced view of the liquidity landscape.
Trading Applications
- Anticipate potential market reactions to changing global liquidity conditions
- Identify divergences between projected liquidity and current price action
- Develop longer-term strategic positions based on forward liquidity projections
- Enhance your macro-economic analysis toolkit
Credit
This indicator is an adaptation of the original "M2 Global Liquidity Index" created by Mik3Christ3ns3n. Full credit for the original concept and implementation goes to the original author. This version simply adds a 10-week forward projection to the existing calculations.
Disclaimer
This indicator is for informational purposes only and should be used as one of many tools in your analysis. Past performance and projections are not guarantees of future results.
Ichimoku Cloud SmoothedThis smoothed version of the Ichimoku Cloud uses exponential moving averages (EMAs) of the HL2 price (average of high and low) for calculations rather than the traditional high-low calculation method. This simple modification creates a smoother, more responsive Ichimoku Cloud that reduces noise while enhancing trend identification.
12AM & 12PM Markers Nigeria Time (500 bars)
Features:
✔️ Marks 12 AM (midnight) with a black dotted line for daily cycle tracking.
✔️ Marks 12 PM (noon) with a red dotted line for mid-day liquidity shifts.
✔️ Auto-adjusts to Nigeria Time (UTC+1) regardless of broker time.
✔️ Keeps lines on the chart for a set number of bars before auto-cleaning.
Use Cases:
✅ Helps traders track daily open-close cycles.
✅ Useful for analyzing liquidity grabs and time-based market structure shifts.
✅ Ideal for traders using time-based models in forex, stocks, and crypto.
ADX + RSI with Buy/Sell SignalsADX Calculation:
Measures trend strength.
If ADX > 25, it indicates a strong trend.
RSI Calculation:
Determines overbought/oversold conditions.
Buy signal: RSI crosses above 30 (exiting oversold) & ADX > 25.
Sell signal: RSI crosses below 70 (exiting overbought) & ADX > 25.
Visualization:
ADX (red line) and RSI (blue line) are plotted.
Thresholds at 25 (ADX), 30 (RSI oversold), and 70 (RSI overbought).
Background colors indicate overbought (red) and oversold (green) RSI zones.
Alerts & Buy/Sell Markers:
"B" appears when a buy condition is met.
"S" appears when a sell condition is met.
Alerts notify users of potential trade opportunities.
Open & Close PriceShows open and closing price; controls for extensions. Toggles for visibility.
Shades opening day gap, controls for extensions. Toggles for visibility.
Does not work for hourly or above as opening price is set to 9:30 am eastern which does not appear on the axis for hourly or above. And I'm not a coder.
But for sub hourly charts - it's an easy tool I've been looking for for a while just for myself.
It's imperfect; but sharing for anyone that was looking for something similar.
Hourly Cycle High/Low by Brijqug [ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocboc
Polynomial Multiplication using CRTMultiplies two polynomials under different moduli
Uses modular arithmetic to store intermediate results
Applies the Chinese Remainder Theorem (CRT) to reconstruct the final polynomial product
Displays the computed value on the TradingView chart
Hamilton's PrinciplePrinciple of Least Action (Hamilton's Principle) explains why cycloid patterns always seem to appear when building to major market moves.
ICT CCI ABC Signals EnhancedLa estrategia "ICT CCI ABC Signals Enhanced" es un indicador técnico diseñado para TradingView que combina conceptos inspirados en el enfoque ICT (Inner Circle Trader) con herramientas clásicas como el CCI (Commodity Channel Index) y un patrón correctivo ABC. Utiliza una media móvil exponencial (EMA) como filtro de tendencia para identificar oportunidades de compra y venta en el mercado. Este indicador está optimizado para Pine Script v6 y busca capturar reversiones o continuaciones de tendencia en puntos clave del precio.
Trend Following H4 + Pullback M15suivre trand de 4h et attendre pullback vers cette tendance en 15 minutes
NEO - Smoothed Global M2 Money Supply + Offset =This Pine Script indicator visualizes the Global M2 Money Supply, allowing traders and analysts to compare it against any financial asset on TradingView. The M2 Money Supply represents the total amount of money in circulation, including cash, checking deposits, and easily convertible near money.
Key Features:
Aggregated Global M2 Data: The indicator pulls M2 money supply data from multiple economies worldwide and adjusts it using exchange rates for a more comprehensive view.
Customizable Time Offset: Users can shift the M2 data forward or backward in time to analyze correlations with market movements.
Smoothing Option: A built-in Exponential Moving Average (EMA) filter helps reduce noise, making long-term trends more visible.
This tool is useful for identifying macroeconomic liquidity trends and their impact on asset prices.
Credit to its original designer Colin Talks Crypto