LOGICLOGIC
Uniqueness
LOGIC is the core mathematical engine of our system. Built from multiple engines and advanced logic layers, it condenses real-time data into a structured output. Unlike traditional tools that only show what has already happened, LOGIC is focused on the present candle’s direction and momentum.
How It Works
LOGIC monitors intrabar data and updates continuously as new price information comes in. Once the bar closes, the output resets to prepare for the next candle. This ensures a transparent real-time record of how momentum is behaving during each candle without confusion or excess clutter.
Usefulness
LOGIC provides a foundational readout of market conditions. It’s most useful for seeing the immediate directional bias of the active candle, helping traders interpret short-term shifts with clarity.
How to Use It
Apply LOGIC directly to your chart on any timeframe. Use it to observe live candle-by-candle behavior as it develops. In practice, L4, L5 and L6 serve as the system’s most selective filters, designed to trigger only when refined streams point in the same direction.
Disclaimer
This indicator produces visual and informational outputs only. It does not generate trade signals, entry/exit rules, or backtestable strategies. The tool is intended purely as an educational resource to help users interpret market behavior. It does not constitute financial advice, and past performance does not guarantee future results. Trading involves risk, and you may lose some or all of your investment.
Release Notes:
v1.0 (Initial Release)
Educational
ForecastsForecasts
Uniqueness
Forecasts condenses the rapid complexity of our core mathematical engines into simple, easy-to-read markers that reflect anticipated candle behavior.
How It Works
Forecast markers appear in real time as candles develop. They may shift intrabar, but once the candle closes, the forecast is fixed and will not repaint. This design provides continuous updates while maintaining consistency and transparency.
Usefulness
Forecasts makes the core logic more accessible and digestible. Instead of reading the rapid raw engine output, users see straightforward markers that summarize projected direction and contextual levels.
How to Use It
Use the markers to see how momentum is expected to behave on the current bar, and observe how levels adapt as conditions change. Forecasts can also be paired with other momentum or pressure-based tools for additional context.
Disclaimer
This indicator produces visual and informational outputs only. It does not generate trade signals, entry/exit rules, or backtestable strategies. The tool is intended purely as an educational resource to help users interpret market behavior. It does not constitute financial advice, and past performance does not guarantee future results. Trading involves risk, and you may lose some or all of your investment.
Release Notes:
v1.0 (Initial Release)
Bull-Bear PressureBULL-BEAR PRESSURE
Uniqueness
Bull-Bear Pressure measures the live tug-of-war between bullish and bearish momentum by transforming internal engine data into a visual gauge of market pressure.
How It Works
The indicator processes dual data feeds — one representing bullish pressure and the other bearish pressure. These values update in real time showing how pressure dynamics are currently distributed and highlighting areas where momentum dynamics may be adjusting.
Usefulness
By monitoring pressure dynamics, traders gain context on whether moves are supported by strong participation or fading momentum. It adds depth to directional bias especially when viewing multiple timeframe charts side by side.
How to Use It
Overlay Bull-Bear Pressure on your chart and compare shifts in bullish vs bearish strength. Use it underneath multi-timeframe or forecast-style indicators for added context.
Disclaimer
This indicator produces visual and informational outputs only. It does not generate trade signals, entry/exit rules, or backtestable strategies. The tool is intended purely as an educational resource to help users interpret market behavior. It does not constitute financial advice, and past performance does not guarantee future results. Trading involves risk, and you may lose some or all of your investment.
Release Notes:
v1.0 (Initial Release)
Data Highs & Lows [TakingProphets]DATA HIGHS AND LOWS
What it does
Data Highs & Lows visualizes the price level left by macro news events that release at 8:30 AM New York. It examines the 1-minute bars 8:29, 8:30, 8:31 and, if the 8:30 candle forms a valid swing low/high with a wick ≥ your threshold (points), it draws a horizontal level from that 8:30 price and labels it:
DATA.L when the 8:30 bar is a swing low
DATA.H when the 8:30 bar is a swing high
The line auto-extends until price’s wick touches/mitigates the level. On touch, you can either freeze the final segment and park the label beneath it or delete the visual immediately (toggle).
How it works
-Timezone: America/New_York.
-Detection runs on 1-minute data; visualization shows on minute charts up to 15m.
Swing rule:
-Swing-low if low(8:30) < low(8:29) and < low(8:31)
-Swing-high if high(8:30) > high(8:29) and > high(8:31)
-Wick rule: the relevant wick of the 8:30 candle must be ≥ threshold (points).
-One event/level per day; state resets daily.
Inputs & styling
Detection
-Wick Size Threshold (points).
Visualization
-Line Color, Line Style (Solid/Dashed/Dotted).
-Label Size (Tiny…Huge), Label Text Color.
-Label Vertical Offset (ticks) when parked.
-Line width is fixed at 1.
Behavior
Delete on Mitigation (remove line+label immediately on first touch) or keep the frozen level with a centered label.
Auto-cleanup after bars (optional).
Notes
-Designed to highlight levels specifically tied to 8:30 AM data releases (e.g., CPI, PPI, Jobless Claims, etc.).
-Works only if the symbol trades around that time; always consider session liquidity and instrument behavior.
-Labels: while active, they sit at the right end of the line; after mitigation they move to bottom-center with a small offset.
Disclaimer
This is an educational tool for chart annotation. It does not provide signals, guarantees, or financial advice. Always do your own analysis and manage risk appropriately.
ST Market StructureStructure
MTUIP Main Trend Upward Inflection Point
MTDIP Main Trend Downward Inflection Point
KR + KEY Range Inflection for the Main trend (+/-)
KRI - KEY Range Inflection for the Main trend (+/-)
MS Market Sentiment
UT#1 New trend leg up target 1
BOC Breakout Confirmation
IB Intraday Bias
BDC Breakdown Confirmation
DT#1 New trend leg down target 1
Contrarian Period High & LowContrarian Period High & Low
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Contrarian Period High & Low" indicator is a powerful technical analysis tool designed for traders seeking to identify key support and resistance levels and capitalize on contrarian trading opportunities. By tracking the highest highs and lowest lows over user-defined periods (Daily, Weekly, or Monthly), this indicator plots historical levels and generates buy and sell signals when price breaks these levels in a contrarian manner. A unique blue dot counter and action table enhance decision-making, making it ideal for swing traders, trend followers, and those trading forex, stocks, or cryptocurrencies. Optimized for daily charts, it can be adapted to other timeframes with proper testing.
How It Works
The indicator identifies the highest high and lowest low within a specified period (e.g., daily, weekly, or monthly) and draws horizontal lines for the previous period’s extremes on the chart. These levels act as dynamic support and resistance zones. Contrarian signals are generated when the price crosses below the previous period’s low (buy signal) or above the previous period’s high (sell signal), indicating potential reversals. A blue dot counter tracks consecutive buy signals, and a table displays the count and recommended action, helping traders decide whether to hold or flip positions.
Key Components
Period High/Low Levels: Tracks the highest high and lowest low for each period, plotting red lines for highs and green lines for lows from the bar where they occurred, extending for a user-defined length (default: 200 bars).
Contrarian Signals: Generates buy signals (blue circles) when price crosses below the previous period’s low and sell signals (white circles) when price crosses above the previous period’s high, designed to capture potential reversals.
Blue Dot Tracker: Counts consecutive buy signals (“blue dots”). If three or more occur, it suggests a stronger trend, with the table recommending whether to “Hold Investment” or “Flip Investment.”
Action Table: A 2x2 table in the bottom-right corner displays the blue dot count and action (“Hold Investment” if count ≥ 4, else “Flip Investment”) for quick reference.
Mathematical Concepts
Period Detection: Uses an approximate bar count to define periods (1 bar for Daily, 5 bars for Weekly, 20 bars for Monthly on a daily chart). When a new period starts, the previous period’s high/low is finalized and plotted.
High/Low Tracking:
Highest high (periodHigh) and lowest low (periodLow) are updated within the period.
Lines are drawn at these levels when the period ends, starting from the bar where the extreme occurred (periodHighBar, periodLowBar).
Signal Logic:
Buy signal: ta.crossunder(close , prevPeriodLow) and not lowBroken and barstate.isconfirmed
Sell signal: ta.crossover(close , prevPeriodHigh) and not highBroken and barstate.isconfirmed
Flags (highBroken, lowBroken) prevent multiple signals for the same level within a period.
Blue Dot Counter: Increments on each buy signal, resets on a sell signal or if price exceeds the entry price after three or more buy signals.
Entry and Exit Rules
Buy Signal (Blue Circle): Triggered when the price crosses below the previous period’s low, suggesting a potential oversold condition and buying opportunity. The signal appears as a blue circle below the price bar.
Sell Signal (White Circle): Triggered when the price crosses above the previous period’s high, indicating a potential overbought condition and selling opportunity. The signal appears as a white circle above the price bar.
Blue Dot Tracker:
Increments blueDotCount on each buy signal and sets an entryPrice on the first buy.
Resets on a sell signal or if price exceeds entryPrice after three or more buy signals.
If blueDotCount >= 3, the table suggests holding; if >= 4, it reinforces “Hold Investment.”
Exit Rules: Exit a buy position on a sell signal or when price exceeds the entry price after three or more buy signals. Combine with other tools (e.g., trendlines, support/resistance) for additional confirmation. Always apply proper risk management.
Recommended Usage
The "Contrarian Period High & Low" indicator is optimized for daily charts but can be adapted to other timeframes (e.g., 1H, 4H) with adjustments to the period bar count. It excels in markets with clear support/resistance levels and potential reversal zones. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other technical tools (e.g., moving averages, Fibonacci levels) for stronger trade confirmation.
Adjust barsPerPeriod (e.g., ~120 bars for Weekly on hourly charts) based on the chart timeframe and market volatility.
Monitor the action table to guide position management based on blue dot counts.
Customization Options
Period Type: Choose between Daily, Weekly, or Monthly periods (default: Monthly).
Line Length: Set the length of high/low lines in bars (default: 200).
Show Highs/Lows: Toggle visibility of period high (red) and low (green) lines.
Max Lines to Keep: Limit the number of historical lines displayed (default: 10).
Hide Signals: Toggle buy/sell signal visibility for a cleaner chart.
Table Display: A fixed table in the bottom-right corner shows the blue dot count and action, with yellow (Hold) or green (Flip) backgrounds based on the count.
Why Use This Indicator?
The "Contrarian Period High & Low" indicator offers a unique blend of support/resistance visualization and contrarian signal generation, making it a versatile tool for identifying potential reversals. Its clear visual cues (lines and signals), blue dot tracker, and actionable table provide traders with an intuitive way to monitor market structure and manage trades. Whether you’re a beginner or an experienced trader, this indicator enhances your ability to spot key levels and time entries/exits effectively.
Tips for Users
Test the indicator thoroughly on your chosen market and timeframe to optimize settings (e.g., adjust barsPerPeriod for non-daily charts).
Use in conjunction with price action or other indicators for stronger trade setups.
Monitor the action table to decide whether to hold or flip positions based on blue dot counts.
Ensure your chart timeframe aligns with the selected period type (e.g., daily chart for Monthly periods).
Apply strict risk management to protect against false breakouts.
Happy trading with the Contrarian Period High & Low indicator! Share your feedback and strategies in the TradingView community!
Iron Condor Pro v6 – Full EngineIronCondor Engine v6.6 is a multi-mode options strategy tool for planning and managing iron condors, straddles, strangles, and butterflies. It supports both setup planning and live trade tracking with modeled delta, risk-based strike selection, IV rank estimation, and visual breach alerts.
Use Setup Mode to preview strike structures based on IV proxy, ATR, delta targeting, and risk tier (High/Mid/Low/Delta). Use Live Mode to track real trades, enter strike/premium data, and monitor live P&L, delta drift, and range status.
This script does not connect to live option chains. Volatility and delta are modeled using price history. All strikes and premiums must be confirmed using your broker before placing trades. Best used with strong support/resistance levels and high IV rank (30%+).
For educational purposes only.
Workflow Guide
Use this flow whether you're setting up on Sunday night or any day before placing a trade.
Step 0: Pre-Script Preparation
Before using the script:
Identify major support and resistance zones on your chart. Define the expected range or consolidation area. Use this context to help evaluate strike placement
1. Setup Phase (Pre-Trade Planning)
Step 1 – Load the Script
Add: IronCondor Engine v6.6 – Full Risk/Decay Edition to your chart
Step 2 – Set Mode = Setup
This enables planning mode, where the engine calculates strike combinations based on:
Your selected risk profile (High, Mid, Low, or Delta)
Historical volatility (20-day log return)
ATR (Average True Range)
Target short delta (adjustable)
Step 3 – Review Setup Table
Enable Show Setup Table to view calculated strikes and width by risk tier.
Adjust any of the following as needed:
Target Short Delta
Strike Interval ($)
Width multipliers (High/Mid/Low)
Risk tier under Auto-Feed Choice
Step 4 – Evaluate the Setup
Is the net credit at least 1.5–2.0x your max risk?
Are the short strikes clearly outside support/resistance zones?
Are the short deltas between 0.15 and 0.30?
Is the range wide enough to handle normal price movement?
Step 5 – Prep for Execution
Enable Auto-Feed Setup → Live to carry Setup strikes into Live mode
Or disable it if you prefer to manually enter strikes later
2. Trade Execution (Live Tracking Mode)
Step 1 – Place the Trade with Your Broker
Use your brokerage (TOS, Tasty, IBKR, etc.) to place the iron condor or other structure
Step 2 – Set Mode = Live
In Live mode:
If Auto-Feed is ON, the Setup strikes auto-populate
If Auto-Feed is OFF, manually enter:
Short and long strikes (Call and Put)
Premiums collected/paid per leg
Total net credit (Entry Credit)
Optional: Input current mid prices for each leg in the "Live Chain" section to track live mark-to-market P&L
Once all required fields are valid, the script activates:
Real-time profit/loss tracking
Max risk estimate
Delta monitoring on short legs
IV Rank estimate
Breach detection system
Chart visuals (if enabled)
3. Trade Management (During the Week)
While the trade is active, use the dashboard and visuals to monitor:
Key Metrics:
Unrealized P/L %
Mark-to-market value vs entry credit
Daily decay (theta)
Days until expiration
Breach status:
In Range
Near Breach
Breached
Alerts:
Price near short strike → suggests roll
Price breaches long strike → breach alert
50% or 75% profit → optional exit signal
Delta exceeds threshold → exposure may need adjustment
Management Tips:
At 50–75% profit: consider closing early
If price nears a short leg: roll, hedge, or manage
If nearing expiry: decide whether to hold or close
If IV collapses: may accelerate time decay or reduce exit value
4. End-of-Week or Expiration Management
If Profit Target Hit
Close early to reduce risk and lock gains
If Still Open Near Expiry
Close the position or
Hold through expiration only if you're fully prepared for pinning/gamma/assignment scenarios
Avoid holding open spreads over the weekend unless part of a defined strategy
Reference Notes
Strike Width
Defined as:
Width = Distance between Short and Long strike
Used for calculating max loss and breach visuals
Delta Guidelines
0.15–0.20 = safer, wider range, lower credit
0.25–0.30 = more aggressive, tighter range, higher credit
Use Target Short Delta input to adjust auto-selected strikes accordingly
Credit Example
Sell Call: $1.04
Sell Put: $0.23
Buy Call + Put wings: $0.14
Net Credit = $1.13 = $113 per contract (max profit)
This is the max profit if price stays between short strikes through expiration
IV Rank (Estimated)
This script does not use options chain IV data.
Instead, it calculates a volatility proxy:
ivRaw = ta.stdev(log returns, 20) * sqrt(252)
IV Rank is then calculated as the percentile of this value within the last 252 bars.
High IV Rank (30%–100%) → better premium-selling conditions
Low IV Rank (<30%) → lower edge for condors
Ideal to sell premium when IV Rank is above 30–50%
Disclosures and Limitations
This script is for educational use only
It does not connect to live option chains
All strikes, deltas, and premiums must be validated through your broker
Always confirm real-time IV, delta, and pricing before placing a trade
Watermark with Session Boxes (by Rufi)Watermark & Session Boxes - Chart Branding Tool
What it does: Combines professional chart watermarking with automated trading session visualization for clean, branded analysis.
Key Features:
Smart Session Boxes: Auto-draws boxes around Asia (8PM-11:59PM), London (2AM-5AM), and NY (7AM-10AM) sessions using high/low detection
Custom Watermark: Professional text overlay with your brand/tagline
Full Customization: Adjustable colors, transparency (0-100%), and display limits (1-30 days)
How it works: Uses Pine Script's time() function to detect session periods, tracks price extremes during each session, then draws filled rectangles from session high to low. Perfect for identifying key support/resistance levels from major trading periods.
Best for: Intraday traders who want branded charts with clear session-based S/R levels. Ideal for forex, indices, and crypto on lower timeframes.
RK RSI Stochastic ADX Ver1.0Version 1.0
Instead of viewing RSI, Stochastic and ADX on different panel; I bought them together in one panel.
Included price divergence of RSI and Stochastic in the chart.
ADX can be viewed as line chart and/or as an option to color grade the background instead of too many line drawn on the chart.
Cycle-Synced Channel Breakout📌 Cycle-Synced Channel Breakout – Detect Breakouts Confirmed by Candles and Momentum Cycles
📖 Overview
The Cycle-Synced Channel Breakout indicator is a precision breakout detection tool that combines the power of:
• Adaptive Keltner Channels
• Dominant Cycle Period Analysis (Ehlers-inspired)
• Candlestick Pattern Recognition (Engulfing)
This multi-layered approach helps identify true breakout opportunities by filtering out noise and false signals, making it ideal for swing traders and intraday traders seeking high-probability directional moves.
⚙️ How It Works
1. Keltner Channel Envelope
A dynamic volatility channel based on the EMA and ATR defines the upper and lower bounds of price movement.
2. Engulfing Candle Detection
The script detects strong bullish and bearish engulfing patterns, which often signal trend reversals or momentum continuations.
3. Dominant Cycle Momentum (Ehlers-inspired)
Using a smoothed power oscillator derived from a detrended price series, the indicator assesses whether momentum is accelerating during the breakout — filtering out weak moves.
4. Signal Confirmation Logic
A signal is only shown when:
• An engulfing pattern is detected, and
• Price breaks out of the Keltner Channel, and
• Momentum (cycle power) is rising
5. Visual Feedback
• Breakout signals are plotted with “BUY” or “SELL” labels
• Faded green/red background highlights confirmed breakouts
• Optional display of engulfing candles with triangle markers
⸻
🛠️ Key Features
• ✅ Adaptive Keltner Channels
• ✅ Bullish/Bearish Engulfing Candle Recognition
• ✅ Ehlers-style Cycle Momentum Confirmation
• ✅ Background highlights for confirmed breakouts
• ✅ Optional candle pattern visualization
• ✅ Lightweight and Pine v6 compatible
⸻
🧪 Inputs
• Keltner Length – EMA period for channel basis
• Multiplier – Multiplied with ATR to determine band width
• Cycle Lookback – Used to calculate smoothed cycle power
• Show Engulfing Candles? – Toggles candlestick signals
• Show Breakout Signals? – Toggles breakout labels and backgrounds
⸻
🧠 How to Use
• Look for “BUY” or “SELL” labels when:
• An engulfing candle breaks through the Keltner Channel
• Cycle momentum confirms strength behind the move
• The background color will faintly highlight the breakout direction.
• Use in combination with other trend or volume indicators for added confluence.
🔒 Notes
• This indicator is not repainting.
• It is designed for educational and research purposes only.
• Works across all timeframes and asset classes (stocks, crypto, forex, etc.)
LQ sweep (DeadCat)This indicator provides a streamlined approach to Smart Money Concepts (SMC) market structure analysis, focusing on identifying liquidity sweep patterns at key structural levels. The script tracks price action to detect when institutional liquidity is being targeted through systematic structure breaks.
Core Methodology:
The indicator employs a dual-pivot system (20/2 bars) to identify market structure points internally, then monitors for liquidity sweeps at these levels:
Trend Continuation Sweeps: When price breaks above Higher Highs (uptrend) or below Lower Lows (downtrend)
Trend Reversal Sweeps: When price breaks below Higher Lows (uptrend) or above Lower Highs (downtrend)
Market Structure Engine:
Automatically establishes initial trend direction from first two pivot points
Tracks structure progression internally without visual clutter
Requires 2-candle confirmation (bullish/bearish) before finalizing new structure levels
Maintains pending structure states until proper confirmation occurs
Liquidity Sweep Detection:
The indicator identifies four distinct liquidity sweep scenarios:
Bullish Continuation: HH break in established uptrend
Bearish Continuation: LL break in established downtrend
Bullish Reversal: LH break signaling potential uptrend resumption
Bearish Reversal: HL break signaling potential downtrend resumption
Key Features:
Simplified Interface: Single settings group for all liquidity sweep configurations
Flexible Label Positioning: Choose where sweep labels appear on lines
Consistent Visual Style: All sweeps use the same color/style for clarity
Minimal Chart Clutter: No market structure labels, only essential sweep markers
Unique Implementation:
Unlike traditional SMC indicators that display all structure points, this tool focuses exclusively on actionable liquidity sweeps. It maintains the mathematical rigor of structure tracking internally while presenting only the critical sweep levels where institutional activity is likely concentrated.
Usage:
Liquidity sweeps often precede significant moves as they represent areas where stop-losses accumulate. Traders can use these levels to:
- Identify potential reversal zones after sweep completion
- Spot continuation patterns when sweeps align with trend
- Time entries after liquidity has been collected
- Set stop-loss levels beyond recent sweep points
This indicator simplifies complex SMC concepts into actionable liquidity sweep signals, making it suitable for traders who want to focus on key institutional levels without overwhelming chart analysis.
Hide Out“Hide Out is a leading quant trading indicator that identifies the trending direction, calculates the base and target prices, and plots the Day Opening Range with labels for structured intraday analysis.
Ultra Simple ReversalThis is a simple script that combines Key Features:
✅ No plotting - Only text labels and candle color changes
✅ Reversal candle detection - Changes candle color on high-probability signals
✅ BUY/SELL text labels - Clear directional signals
✅ Four-module confluence - SSL + Squeeze + MTF Pivots + ORB Breakout
✅ Non-repainting - Reliable signals using proper security calls
✅ Pine Script v6 compatible - All syntax errors fixed
Fetti Fields Header (Presets)This is for individuals that like to customize their charts and add some style and motivation
Cost Basis of DCA Strategy (Enhanced)“Cost Basis of DCA Strategy (Enhanced): An Analytical Tool for Smarter DCA Investing”
The indicator designed here serves as a comprehensive analytical tool for evaluating a Dollar-Cost Averaging (DCA) strategy. Instead of merely recording scattered buy transactions, it integrates all purchases into a clear framework that reveals the real cost basis, portfolio performance, and capital allocation. Its primary function is to transform the concept of DCA from a mechanical process into a measurable and strategic decision-making system.
At the foundation of its operation, the user provides essential inputs such as the initial capital, the price and size of each buy transaction, and an optional sell price for hypothetical exit scenarios. With these inputs, the indicator calculates how many units were acquired in total, how much money was spent, and what the average cost per unit—the cost basis—truly is. This cost basis acts as the anchor for evaluating whether the market price has moved in favor or against the investor’s average entry point.
Beyond this, the indicator goes further by calculating both realized and unrealized dimensions of performance. It presents the current market value of holdings based on live price data and contrasts it with the total cost to derive unrealized profit or loss in both absolute terms and percentages. If the user sets a sell price, the tool simulates a full liquidation scenario, displaying the expected profit or loss should all holdings be sold at that level. This dual perspective enables the user to examine their strategy both from a present-value standpoint and a forward-looking one.
In addition, the indicator keeps track of remaining capital—the portion of initial funds not yet deployed into purchases—thus bridging the gap between portfolio construction and financial planning. It also reports the number of buy transactions, reinforcing awareness of execution discipline in DCA.
For visualization, the system is not confined to numbers alone. It marks each buy price directly on the price chart with distinct horizontal lines, labeled for clarity. This allows the trader to see not just statistics in a table but also the spatial relationship between historical entry points and ongoing market dynamics.
In essence, this indicator reframes the practice of DCA into a structured analytical exercise. It empowers investors to understand the true average entry cost, evaluate ongoing performance, and simulate future outcomes under different price scenarios. By doing so, it elevates DCA from a passive habit into an active, data-driven investment methodology, allowing users to make more informed, confident, and strategically grounded decisions.
RSI: alternative derivationMost traders accept the Relative Strength Index (RSI) as a standard tool for measuring momentum. But what if RSI is actually a position indicator?
This script introduces an alternative derivation of RSI, offering a fresh perspective on its true nature. Instead of relying on the traditional calculation of average gains and losses, this approach directly considers the price's position relative to its equilibrium (moving average), adjusted for volatility.
While the final value remains identical to the standard RSI, this alternative derivation offers a completely new understanding of the indicator.
Key components:
Price (Close)
Utilizes the closing price, consistent with the original RSI formula.
normalization factor
Transforms raw calculations into a fixed range between -1 and +1.
normalization_factor = 1 / (Length - 1)
EMA of Price
Applies Wilder’s Exponential Moving Average (EMA) to the price, serving as the anchor point for measuring price position, similar to the traditional RSI formula.
myEMA = ta.rma(close,Length)
EMA of close-to-close absolute changes (unit of volatility)
Adjusts for market differences by applying a Wilder’s EMA to absolute price changes (volatility), ensuring consistency across various assets.
CC_vol = ta.rma(math.abs(close - close ),Length)
Calculation Breakdown
DISTANCE:
Calculate the difference between the closing price and its Wilder's EMA. A positive value indicates the price is above the EMA; a negative value indicates it is below.
distance = close - myEMA
STANDARDIZED DISTANCE
Divide the distance by the unit of volatility to standardize the measurement across different markets.
S_distance = distance / CC_vol
NORMALIZED DISTANCE
Normalize the standardized distance using the normalization factor (n-1) to adjust for the lookback period.
N_distance = S_distance * normalization_factor
RSI
Finally, scale the normalized distance to fit within the standard RSI range of 0 to 100.
myRSI = 50 * (1 + N_distance)
The final equation:
RSI = 50 ×
What This Means for RSI
Same RSI Values, Different Interpretation
The standard RSI formula may obscure its true measurement, whereas this approach offers clarity.
RSI primarily indicates the price's position relative to its equilibrium, rather than directly measuring momentum.
RSI can still be used to analyze momentum, but in a more intuitive and well-informed way.
KD The ScalperWe have to take the trade when all three EMAs are pointing in the same direction (no criss-cross, no up/down, sideways). All 3 EMAs should be cleanly separated from each other with strong spacing between them; they are not tangled, sideways, or messy. This is our first filter before entering the trade. Are the EMAs stacked neatly, and is the price outside of the 25 EMA? If price pulls back and closes near or below the 25 or 50 EMA and breaks the 100 EMA, we don't trade. Use the 100 EMA as a safety net and refrain from trading if the price touches or falls below the 100 EMA.
1. Confirm the trend- All 3 EMAs must align, and they must spread
2. Watch price pull back to the 25th or the 50 EMA
3. Wait for the price to bounce - And re-approach the 25 EMA
Why is this powerful?
Removes 80% of the low-probability Trades
It keeps you out of choppy markets
Avoids Reversal Traps
Anchors us to momentum
We take the entry when the price moves up again and touches the 25 EMA from below, and then when it breaks above the 25 EMA, or even better, when a lovely green bullish candle forms. A bullish candle indicates good momentum. When a bullish candle closes in green, it means the momentum has increased significantly. This is when we enter a long trade, with the stop-loss just below the 50 EMA and the profit target being 1.5 times the stop-loss.
The same rule applies to the bearish trade.
RK Scalper V1.0Version 1.0
Scalper Indicator
Use multiple options to decide the best possible scalping possibilities on 1, 3, 5 and 15 min timeframes
1. 3 different EMA trend lines to decide direction and reversal; option to include EMA crossover to take entry and exit positions
2. Show signal when price cross VWAP with huge volume
3. Show SuperTrend and identify possible reversal when price touches the SuperTrend line
4. Show VWAP line
5. Show SuperTrend VWAP crossover with an option to either include volume spike or not
6. Show VWMA line to decide exit points when price moves below at buy and above at sell positions
7. Show Open=High / Open-Low to see the buy and sell pressure and buyer seller dominance
8. Show Volume spike indication on Volume for NIFTY, BANK NIFTY and MIDCAP NIFTY futures volume on their respective underlying asset
9.
Note: It is batter to use scalp indicator along with trend and momentum indicators to have better results.
RK CPR Buy/Sell Setup Ver1.0Version 1.0
CPR based Buy and Sell Indicator
First option is to show the Buy and Sell indicators, in which multiple options given to users to adjust the buy and sell setup.
1. Include Trend direction
2. Include candlestick touching the EMA 20 / EMA 50 / EMA 100 / VWAP trend lines
3. Include Momentum check
4. Include candlestick patterns to decide buy or sell
5. Exclude Wide CPR day for trading
Second option is the identify the different possible reversal indicators and same are as follows
1. Extreme Reversal
2. Outside Reversal
3. Doji Reversal
4. Triple/Double wick Reversal
5. Pulllback Reversal
Note: It is batter to use reversal indicator along with trend and momentum to have better results.
Global M2 Money SupplyThis indicator calculates and plots an aggregated estimate of the Global M2 money supply, expressed in U.S. dollar terms. It combines M2 data from major economies and regions—including the U.S., Eurozone, Canada, the U.K., Switzerland, China, Japan, India, Brazil, and others—and adjusts each by its respective FX rate to USD. By summing these series, the script provides a broad view of worldwide liquidity conditions in one line.
A user-defined offset in days allows you to shift the global M2 line forward or backward, making it easier to visually compare liquidity trends against asset prices such as Bitcoin, gold, or equities. This tool is designed for traders and macro observers who want to study how global money supply growth or contraction correlates with financial markets over time.
이 지표는 전 세계 주요 국가와 지역의 M2 통화량을 달러 기준으로 합산하여 글로벌 유동성 지표로 보여줍니다. 미국, 유로존, 캐나다, 영국, 스위스, 중국, 일본, 인도, 브라질 등 여러 지역의 M2 데이터를 각 통화의 환율(USD 환산)로 조정한 뒤 합산해 하나의 흐름으로 표현합니다. 이를 통해 글로벌 차원의 통화 공급 변화를 한눈에 파악할 수 있습니다.
또한 사용자가 지정한 일 단위 오프셋 기능을 통해 글로벌 M2 라인을 앞뒤로 이동시켜, 비트코인·금·주식 등 다양한 자산 가격과의 시차적 관계를 직관적으로 비교할 수 있습니다. 거시경제 환경과 자산시장 간의 상관성을 연구하거나 시장 유동성 추이를 모니터링하려는 투자자에게 유용한 도구입니다.
Gold Lagging (N days)This indicator overlays the price of gold (XAUUSD) on any chart with a customizable lag in days. You can choose the price source (open, high, low, close, hlc3, ohlc4), shift the series by a set number of daily bars, and optionally normalize the values so that the first visible bar equals 100. The original gold line can also be displayed alongside the lagged series for direct comparison.
It is especially useful for analyzing delayed correlations between gold and other assets, observing shifts in safe-haven demand, or testing hypotheses about lagging market reactions. Since the lag is calculated on daily data, it remains consistent even if applied on intraday charts, while the indicator itself can be plotted on a separate price scale for clarity.
이 지표는 금(XAUUSD) 가격을 원하는 차트 위에 N일 지연된 형태로 표시합니다. 가격 소스(시가, 고가, 저가, 종가, hlc3, ohlc4)를 선택할 수 있으며, 지정한 일 수만큼 시리즈를 뒤로 이동시킬 수 있습니다. 또한 첫 값 기준으로 100에 맞춰 정규화하거나, 원래 금 가격선을 함께 표시해 비교할 수도 있습니다.
금과 다른 자산 간의 지연 상관관계를 분석하거나 안전자산 수요 변화를 관찰할 때 유용하며, 시장 반응의 시차 효과를 검증하는 데에도 활용할 수 있습니다. 지연은 일봉 데이터 기준으로 계산되므로 단기 차트에 적용해도 일 단위 기준이 유지되며, 별도의 가격 스케일에 표시되어 가독성을 높일 수 있습니다.