Growth DashboardThe Multi-Year Growth Dashboard provides a high-level snapshot of an asset’s historical performance directly on your chart. It calculates the total percentage growth for 1-year, 3-year, and 5-year periods based on exact calendar dates.
Unlike simple bar-counting scripts, this indicator uses a "Time-Capsule" logic:
- Calendar Precision: It calculates specific timestamps for 365, 1,095, and 1,825 days ago.
- Persistent Memory: Using the var keyword, the script scans historical bars and "captures" the closing price as it crosses those specific dates.
- Dividend Adjustment: It respects the chart's ADJ (Adjusted for Dividends) toggle, ensuring your total return figures are accurate for stocks like AAPL or MSFT.
指標和策略
Kernel Filter Histogram (RBF)The Kernel Filter Histogram (RBF) is a regime-detection and edge-confirmation tool built on Gaussian (RBF) kernel regression.
It is designed to identify when market conditions are favorable for participation and when traders should stay defensive.
Instead of reacting to price noise, this indicator measures the normalized slope of a smoothed kernel regression curve, converts it into a z-score, and displays it as a histogram representing directional edge pressure.
What It Measures
Underlying market regime (bullish, bearish, or neutral)
Strength and quality of directional momentum
Statistical edge expansion vs compression
When trend continuation is more likely vs chop
How It Works
Applies Nadaraya–Watson kernel regression using a Gaussian (RBF) kernel
Calculates the slope of the regression curve
Normalizes slope using ATR for cross-instrument consistency
Converts the result into a z-score to measure statistical deviation
Smooths the output into a readable histogram + signal line
Uses an optional threshold gate to filter low-quality conditions
Reading the Histogram
Green bars → Bullish regime / positive edge
Red bars → Bearish regime / negative edge
Gray bars → Neutral / low-edge environment
Above zero → Bullish pressure dominates
Below zero → Bearish pressure dominates
Threshold gating allows you to require minimum edge strength before treating signals as actionable.
Best Use Cases
Trade filter (only take longs when bullish, shorts when bearish)
Regime confirmation for existing strategies
Momentum quality assessment
Avoiding chop and low-probability setups
Multi-timeframe alignment tool
What This Is (and Is Not)
✔ IS: A high-quality regime and edge filter
✔ IS: Designed for professional trading systems
✔ IS: Instrument-agnostic and timeframe-agnostic
✖ NOT: A buy/sell signal generator
✖ NOT: A lagging moving average
✖ NOT: A beginner indicator
Recommended Usage
Use this indicator as a gatekeeper:
Only execute setups when the histogram confirms favorable regime conditions
Combine with your entry trigger, not instead of it
Works exceptionally well with trend-following, momentum, and mean-expansion systems
ORB Asia London NYThis script plots the highs & lows of all three market sessions Asia, London, and NY. in UTC The time frames can be adjusted to you're own ORB strategy.
The time period of opening range & the max timeframe to display it on can be adjusted from the settings.
So for eg. if want to use 15m NY ORB to trade, then set "NY time " as 14:30-14:45
Session High/Low (Last 7 Days, Auto Delete) CGNew York, London and aces session, highs and lows for seven days once price revisits The zones disappear.
Fuerza Relativa vs SPY con TablaRelative Strength vs SPY with Score (0–100)
This indicator measures the relative strength of an asset versus SPY (or any user-defined benchmark), allowing traders to quickly identify whether an asset is outperforming or underperforming the broader market.
Relative strength is calculated as the ratio between the asset’s price and the reference index price, and is accompanied by a smoothed moving average that acts as a baseline to detect changes in relative trend.
🔹 Main Features:
Relative Strength Line:
Green when the asset shows strength versus the market.
Red when it shows relative weakness.
Configurable moving average used as a dynamic reference line.
Colored cloud between the relative strength line and its moving average for quick visual interpretation.
Crossover signals (triangles) when relative strength crosses above its moving average.
🔹 Relative Strength Score (0–100)
Includes an information table displaying a normalized score based on Percent Rank, comparing the current value with its historical behavior:
Current
Previous Day
Previous Week
Previous Month
Score interpretation:
🟢 > 70 → Strong relative performance
🟠 30 – 70 → Neutral zone
🔴 < 30 → Relative weakness
🔹 Recommended Uses:
Identifying market leaders.
Trend confirmation.
Comparative analysis between assets.
Strength-based filters for swing and medium-term trading strategies.
Days of WeekSplits the days of the week by UTC 00:00 and writes the day with a customizable light gray colored text.
MACD Bounce Strategy for CryptohopperSell and Buy alerts based on MACD crossover values for automated triggers in Cryptohopper
Position Size Calc - Prime Hour Trading v2Descriptive Summary:
The tool acts as a "cockpit dashboard" for your trades, visually mapping out entry, stop-loss, and take-profit levels directly on your chart. It eliminates manual math by instantly converting your personal risk parameters—such as account balance and risk percentage (e.g., 1–2%)—into the exact number of shares, lots, or contracts required for the trade.
Core Features & Functionality
Dynamic Visual Planning: Users can drag entry and exit lines in real-time, with position sizes automatically recalculating as the distance between entry and stop-loss changes.
Automated Risk Modeling: It provides a real-time Risk-to-Reward Ratio (RRR) and precise dollar amounts for potential profit or loss, helping traders stay disciplined and avoid emotional overleveraging.
Advanced Calculation Modes:
Fixed Risk: Risking a set dollar amount or percentage of total equity.
How to Use It
Select the Tool: In the left-hand toolbar, select the Long Position or Short Position drawing tool.
Define Levels: Click on the chart to set your entry, then drag the shaded regions to set your target prices or Take Profit and then Stop Loss.
Input Account Data: Double-click the tool to open "Settings" and enter your Account Size and Risk % or Amount.
Sweep + FVG (Session + Alerts)Sweep + FVG
This indicator marks liquidity sweeps and the fair value gaps (FVGs) that form after them.
A buy-side sweep happens when price wicks above a recent high and closes back below.
A sell-side sweep happens when price wicks below a recent low and closes back above.
After a sweep, the script looks for a 3-candle fair value gap and draws it on the chart.
Features
Optional session filter (ex: NY or London)
FVG boxes do not extend forever
Choose what happens when an FVG is filled:
keep it
fade it
delete it
Alerts for sweeps and FVGs
How to use
Use this as a confluence tool, not a buy/sell signal.
Best used with market structure, higher-timeframe bias, and proper risk management.
Works well on intraday timeframes for forex, indices, and crypto.
Extreme Reversion Flag - EMA Spread + ATR Threshold (15s)Short Description
Visual indicator that flags extreme EMA divergence on the 15s chart. It plots the EMA20 − EMA4 spread, overlays a multiplied ATR threshold, and highlights bars where 20 > 9 > 4 (bear extreme) or 4 > 9 > 20 (bull extreme) and the spread ≥ mult × ATR.
Features
- Pane plot of the EMA20−EMA4 spread and the ATR‑based threshold.
- Histogram showing spread/ATR ratio for numeric tuning.
- Visual fill between spread and threshold when the extreme condition is met.
- Top/bottom markers for exact bars that meet the rule.
- Alert conditions for bull and bear extremes.
- User inputs for EMA lengths, ATR length, and multiplier for sensitivity.
D FLEX PullbackIntraday trend-following pullback scanner using EMA structure, VWAP positioning, and Fair Value Gap (FVG) logic.
Designed for fast timeframes.
Includes NO-TRADE filtering, confirmation candles, and hybrid take-profit logic (1R + nearest FVG / swing).
Best used on indices and liquid stocks.
[CT] Highest/Lowest Close Midline Candle ColorThis indicator looks back a user defined number of bars, the default is 14, and finds the highest closing price and the lowest closing price in that lookback window. Those two values form a rolling closing range. The script then calculates a midpoint of that range by averaging the highest close and the lowest close. That midpoint is plotted as “o”, and it acts like a simple, adaptive balance line for where the market is trading within its recent closing range.
On every bar, the candle color is driven by where the current close finishes relative to that midpoint. When price closes above the midpoint, the script colors the candle green, which tells you that the close is occurring in the upper half of the most recent closing range. When price closes below the midpoint, the candle is colored red, which tells you the close is occurring in the lower half of the most recent closing range. If the close lands exactly on the midpoint, the script leaves the bar uncolored, which is a quick way to spot “neutral” closes that are sitting right at the balance point.
On the chart you will see three plots. The “hi” line is the highest close over the lookback period, so it behaves like a dynamic ceiling for closes. The “lo” line is the lowest close over the lookback period, so it behaves like a dynamic floor for closes. The “o” line is the midpoint between those two, and it will move up when the rolling highest and lowest closes lift, and it will move down when they fall. Because all three are based on closing prices instead of highs and lows, they reflect where the market is actually accepting value at the end of each bar rather than momentary wicks.
In practical use, the midpoint line is your decision line and the candle colors are your bias filter. A sequence of green candles means closes are consistently happening above the midpoint, which implies bullish control of the recent closing range and can be used as a confirmation to favor long setups, trend continuation trades, or pullbacks that hold above the midpoint. A sequence of red candles means closes are consistently happening below the midpoint, which implies bearish control of the recent closing range and can be used to favor short setups or bearish continuation until price can reclaim the midpoint. When candles flip color around the midpoint repeatedly, that is a visual cue that the market is rotating and the midpoint is acting like a balance area rather than support or resistance, which often aligns with consolidation or choppier conditions.
The “hi” and “lo” lines can be treated as context levels. If price is closing above the midpoint and pressing toward the “hi” line, you are seeing strength within the closing range and the prior highest close becomes the next level where continuation may stall or break. If price is closing below the midpoint and pressing toward the “lo” line, you are seeing weakness within the closing range and the prior lowest close becomes the next level where continuation may pause or accelerate through. Breaks beyond the “hi” or “lo” line indicate that the rolling closing range is expanding, which can coincide with trend continuation or a breakout from a prior range.
This tool is simple by design and is best used as a directional filter and a structure guide rather than a standalone entry system. It does not repaint past bars because it only uses completed historical closes within the selected lookback window, and it updates normally as each new bar closes. You can increase the period to smooth it for higher time frames or more stable trends, and decrease it to make it more sensitive for faster markets or scalping, with the tradeoff that shorter periods will flip colors more often in chop.
KDJ Momentum Matrix ProKDJ Momentum Matrix Pro (Trend Filter & Structural Divergence)
Overview
This is a professional-grade KDJ indicator script designed for systematic traders. It transcends the basic KDJ logic by integrating advanced technical analysis features, including dynamic trend filtering and structural divergence alerts. The script leverages intuitive color schemes and visual markers to help traders identify high-probability setups amidst market noise.
Key Features
Dynamic J-Line Coloring: The J-line switches between Green (Bullish) and Red (Bearish) based on momentum, providing instant feedback on market strength.
Visual Overbought/Oversold Zones: Shaded 80/20 regions help traders identify market extremes and potential exhaustion points.
Structural Divergence Alerts: Built-in detection for potential Bullish Divergence, serving as a powerful confluence tool for Chan Lun (Zen Theory) Type 1 entries.
Precision Signal Markers: Identifies high-conviction Gold Crosses in oversold zones and Death Crosses in overbought zones.
Strategic Integration
Chan Lun (Zen Theory): Use KDJ divergence to validate "Central Segment" (Zhong Shu) exhaustion and identify potential trend reversals.
Turtle Trading Rules: Utilize the script to find pullbacks within a major trend for scaling in, or use J-line exhaustion as an early warning for trend exits.
Advanced Analysis: Apply the 80/20 rule combined with divergence patterns to build a robust framework for navigating both trending and ranging markets.
KDJ 进阶策略分析脚本 (趋势过滤与结构背离版)
简介
这是一个专为进阶交易者设计的 KDJ 指标脚本。它不仅完美呈现了传统的 K、D、J 三线逻辑,更融入了现代高级技术分析中的动态趋势过滤与背离预警功能。脚本通过视觉化的颜色切换与符号标记,帮助交易者在复杂的市场波动中识别高质量的入场机会。
核心功能
动态 J 线变色:J 线根据动量强弱实时切换红绿颜色,直观反映多空博弈状态。
超买/超卖视觉化:自动填充 80/20 警戒区域,辅助识别极端市场情绪。
结构性背离预警:内置逻辑可识别价格与指标间的疑似底背离,为缠论第一类买点提供辅助参考。
信号标记:精确捕捉低位金叉与高位死叉,过滤无效杂波。
交易系统结合点
缠论结合:通过 KDJ 在超卖区的背离表现,辅助确认中枢背驰或小级别转大级别的转折点。
海龟交易法:利用 KDJ 辅助寻找趋势回调后的补仓位置(顺势金叉),或作为趋势衰竭的早期预警离场参考。
高级技术分析:结合 80/20 区域规则,利用指标钝化与交叉逻辑,构建完整的震荡与趋势切换框架。
Abertura do Dia juscy# Complete Description of TradingView Code: "Daily Open + Moving Averages"
## Overview
This is an advanced TradingView indicator (Pine Script v5) that combines multiple visual elements and technical analysis tools focused on the daily opening price. The indicator is highly customizable and allows traders to quickly visualize key levels based on the daily opening price, plus includes optional moving averages.
## Structure and Main Functionalities
### 1. **Initial Settings**
- **Indicator name**: "Daily Open + Moving Averages"
- **Overlay**: True (draws directly on the price chart)
- **Maximum lines**: 500 (to avoid system overload)
### 2. **Visual Elements Based on Daily Open**
#### **Dynamic Vertical Line**
- Drawn on the first candle of each day
- Automatically adjusts its height to reflect the daily high and low
- Updated in real-time as new extremes form
- Customizable color and transparency
#### **Horizontal Opening Line**
- Dashed line marking the daily opening price
- Extends horizontally throughout the entire session
- Serves as reference for percentage movements
#### **Percentage Levels**
- Four levels calculated relative to the opening:
- +0.5% (green/up)
- +1.0% (green/up)
- -0.5% (red/down)
- -1.0% (red/down)
- Useful for identifying nearby support/resistance zones
#### **Daily VWAP (Volume Weighted Average Price)**
- Calculates volume-weighted average price for each day
- Optional (can be disabled for better performance)
- Updated in real-time during the session
### 3. **Moving Averages System**
The indicator includes 7 popular moving averages:
- **EMA 9**: 9-period exponential moving average (short-term)
- **SMA 12**: 12-period simple moving average
- **SMA 21**: 21-period simple moving average (common in strategies)
- **SMA 34**: 34-period simple moving average
- **SMA 55**: 55-period simple moving average (medium-term)
- **SMA 89**: 89-period simple moving average
- **SMA 200**: 200-period simple moving average (long-term)
Each moving average can be individually enabled/disabled and has customizable colors.
### 4. **Technical Architecture**
#### **Daily State Management**
- Uses `ta.change(time("D"))` to detect new days
- Stores key variables: `daily_open`, `daily_high`, `daily_low`
- Tracks opening bar index (`day_start_bar`)
#### **Array System for Lines**
- Uses arrays (`array.new_line()`) to store and manage graphic lines
- Allows efficient updating of visual elements
- Avoids accumulation of unnecessary graphic objects
#### **Update Logic**
- **During the day**: Updates extremes and VWAP
- **Day change**: Reinitializes variables and creates new elements
- **Last candle**: Extends horizontal lines to end of chart
#### **Performance Control**
- Use of `barstate.islastconfirmedhistory` and `barstate.isrealtime` for optimization
- Conditional creation of visual elements
- Implicit cleanup through replacement of old lines
### 5. **User Interface**
#### **Organized Configuration Groups**
1. **General Settings**: Line transparency and thickness
2. **Visual Elements**: Controls for each graphic component
3. **Moving Averages**: Enable/disable each moving average
4. **Colors**: Complete color customization for all elements
#### **Display Options**
All functionalities can be enabled/disabled:
- Vertical and horizontal lines
- Percentage levels
- VWAP
- Each moving average individually
### 6. **Practical Applications**
#### **For Day Traders**
- Quick identification of daily open as reference level
- Visualization of ±0.5% and ±1.0% zones for targets and stops
- VWAP as dynamic support/resistance level
#### **For Swing Traders**
- Multiple moving averages for trend analysis
- Daily context on important levels
- Combination of intraday and position analysis
#### **For Technical Analysis**
- Study of reactions at opening price
- Identification of daily trading ranges
- Level confluence (opening + moving averages)
### 7. **Design Advantages**
- **Modular**: Each component can be disabled
- **Efficient**: Careful management of graphic resources
- **Customizable**: Adjustable colors, thicknesses, and visibility
- **Real-time**: Automatically updates during session
- **Multi-timeframe**: Useful across various timeframes (from 1 minute to daily)
### 8. **Usage Considerations**
- Best performance on liquid assets
- Most useful in markets with defined openings (stocks, futures)
- Can be combined with other indicators
- Recommended to use alongside volume analysis
This indicator serves as a complete visual "workstation," providing multiple layers of information in a single overlay, facilitating decision-making based on key levels derived from the daily opening price.
Mo Fan Trading Indicator//@version=6
indicator("Mo Fan Trading Indicator", shorttitle="MF Indicator", overlay=false)
// Input parameters
length_A = input.int(34, "Long Period")
length_B = input.int(14, "Short Period")
length_D = input.int(4, "Medium Period")
// Calculate main indicator values
calculateA() =>
hhv_34 = ta.highest(high, 34)
llv_34 = ta.lowest(low, 34)
a_val = -100 * (hhv_34 - close) / (hhv_34 - llv_34)
ta.sma(a_val, 19)
calculateB() =>
hhv_14 = ta.highest(high, 14)
llv_14 = ta.lowest(low, 14)
-100 * (hhv_14 - close) / (hhv_14 - llv_14)
calculateD() =>
hhv_34_d = ta.highest(high, 34)
llv_34_d = ta.lowest(low, 34)
d_val = -100 * (hhv_34_d - close) / (hhv_34_d - llv_34_d)
ta.ema(d_val, 4)
// Calculate indicator lines
A_line = calculateA()
B_line = calculateB()
D_line = calculateD()
longTermLine = A_line + 100
shortTermLine = B_line + 100
mediumTermLine = D_line + 100
// Calculate signal conditions
topSignal = (mediumTermLine > 85 and shortTermLine > 85 and longTermLine > 65) and ta.cross(longTermLine, shortTermLine)
topAreaCondition = (mediumTermLine < mediumTermLine and mediumTermLine > 80) and (shortTermLine > 95 or shortTermLine > 95) and longTermLine > 60 and shortTermLine < 83.5 and shortTermLine < mediumTermLine and shortTermLine < longTermLine + 4
bottomAreaCondition = (longTermLine < 12 and mediumTermLine < 8 and (shortTermLine < 7.2 or shortTermLine < 5) and (mediumTermLine > mediumTermLine or shortTermLine > shortTermLine )) or (longTermLine < 8 and mediumTermLine < 7 and shortTermLine < 15 and shortTermLine > shortTermLine ) or (longTermLine < 10 and mediumTermLine < 7 and shortTermLine < 1)
lowGoldenCross = longTermLine < 15 and longTermLine < 15 and mediumTermLine < 18 and shortTermLine > shortTermLine and ta.cross(shortTermLine, longTermLine) and shortTermLine > mediumTermLine and (shortTermLine < 5 or shortTermLine < 5) and (mediumTermLine >= longTermLine or shortTermLine < 1)
// Plot main indicator lines
plot(longTermLine, "Long Term Line", color.rgb(153, 0, 255), 2)
plot(shortTermLine, "Short Term Line", color.gray, 1)
plot(mediumTermLine, "Medium Term Line", color.yellow, 2)
// Plot horizontal reference lines
hline(10, "10 Level", color=color.new(#CC6633, 0), linestyle=hline.style_dashed, linewidth=2)
hline(20, "20 Level", color=color.new(color.green, 0))
hline(80, "80 Level", color=color.new(#996699, 0))
hline(90, "90 Level", color=color.new(#9966FF, 0), linestyle=hline.style_dashed, linewidth=2)
// Plot signal markers
plotshape(topSignal, "Top Signal", shape.triangledown, location.top, color.red, size=size.normal)
plotshape(bottomAreaCondition, "Bottom Area", shape.triangleup, location.bottom, color.green, size=size.normal)
plotshape(lowGoldenCross, "Low Golden Cross", shape.circle, location.bottom, color.lime, size=size.normal)
// Mark areas with background color
bgcolor(topSignal or topAreaCondition ? color.new(color.red, 90) : na, title="Top Area Background")
bgcolor(bottomAreaCondition ? color.new(color.green, 90) : na, title="Bottom Area Background")
bgcolor(lowGoldenCross ? color.new(color.lime, 90) : na, title="Golden Cross Background")
// Display value labels on chart
if barstate.islast
var table signal_table = table.new(position.top_right, 2, 4, bgcolor=color.white, border_width=1)
table.cell(signal_table, 0, 0, "Long Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 0, str.tostring(longTermLine, "#.##"), text_color=color.purple, bgcolor=color.white)
table.cell(signal_table, 0, 1, "Short Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 1, str.tostring(shortTermLine, "#.##"), text_color=color.gray, bgcolor=color.white)
table.cell(signal_table, 0, 2, "Medium Line:", text_color=color.black, bgcolor=color.white)
table.cell(signal_table, 1, 2, str.tostring(mediumTermLine, "#.##"), text_color=color.orange, bgcolor=color.white)
Three pillar rule + YTD line with color coding in the info boxThe script objectively shows you whether a market should be "held" from an annual, trend and YTD point of view - or not.
The infobox summarizes all three core statements:
Component statement
Beginning of the year: Was the start of the year positive?
YTD: Is the market above last year's level?
SMA: Is the market above the long-term trend? Positive?
Representation in the info box
Arrows/symbols (configurable)
Green/Red
Freely positionable in the chart
Typical use in practice
1. As bias filter
"Am I acting more long or defensive today?"
2. For position trading
"Can I buy pullbacks or just sell them?"
3. For Investments/ETFs/Crypto
"Hold or reduce risk?"
The script is not a
❌ No entry signal
❌ No exit signal
❌ No short-term trading indicator
The script follows Andre Stagge's three-thumb rule
BogBog Session FibMarks fibs on selected session,
Current settings:
Asia Fibs
UTC -5, 20:00 -> 23:00
ES Sessions - Asia / London / NY / Break This indicator draws clean, outline-only session boxes for ES futures, covering Asia, London, New York (RTH), Overnight, and the Daily Break.
Most session indicators add too much visual noise. Heavy background shading, overlapping colors, excessive lines, or extra calculations clutter the chart and distract from price. This script is intentionally different.
Each session is displayed as a simple price range outline showing the high and low of the session, with a single label placed at the top center. There is no background shading and no unnecessary highlights or metrics.
Sessions are defined using CME Central Time so they remain accurate, while Trading View automatically converts them to your chart’s local time.
The goal is clarity. See where each session starts and ends, understand its range, and keep the focus on price action without distraction.
Ideal for traders who want structure without clutter.
Socials - @burntledger
Triangles (trade direction) + info box (SL/Entry/TP)Purpose of the programme
The program detects simple reversing candles,
defines a clearly defined stop loss in pips,
automatically calculates a CRV-based take profit and displays SL, Entry and TP clearly in an info box in the chart.
What is the program ideally suited for?
Discretionary trading
Scalping & Intraday
Liquidity sweep setups
Fakeouts/stop hunts
Structure Reversals
Preparation of trades with clearly defined risk
What the program deliberately does NOT do
❌ No Orders
❌ No backtesting
❌ No alerts
❌ No repainting
❌ No indicator mix (RSI, EMA, etc.)
It is 100% price action based.





















