Custom Opening Range Breakout (IST)This indicator allows you to define your own Opening Range (OR) window based on Indian Standard Time (IST),
calculate breakout levels above and below the range with a custom percentage buffer,
and plot the OR and breakout levels clearly on your intraday charts.
Indicators and strategies
Quater PointsThis is my personal indicator that marks the quater points and also the 100 points. These are all valuable and strong support and resistance levels for NQ not tested on any other ticker.
Daily Target & Consistency Tracker (Fixed)This allows you to add in your consistency and profit goals for any prop firm.
Enhanced TotT Heuristics Inspired IndicatorTrend analysis with emas that showws break and structure change
RVOL Relative Volume – Intraday (v5 with Zones)RVOL Relative Volume – Intraday (v4)
Traffic light colour system allows Trade/No trade decision making at a glance!
Quickly spot the volume spikes that matter on your intraday charts
What it is
This indicator measures the current bar’s volume against its historical average for the same minute-of-day over the past N_ days. It helps you see at a glance whether today’s volume is below average, “cautionary,” or truly elevated—so you can focus only on the bars that matter for high-probability setups.
How it works
1.Historical buffer
Collects cumulative volume for each minute-of-day across the last N_ full trading days (plus the current session).
2.Relative Volume (rvol)
rvol = (volume so far this minute) / (average volume seen at this minute over prior N days).
3.Color coding
-Red (bar skipped) = rvol < 0.60 × average
-Yellow (caution) = 0.60 ≤ rvol < 1.25 × average
-Green (go) = rvol ≥ 1.25 × average
How to use
-Green bars are your actionable volume spikes—ideal for entries on breakouts, reversals, or key levels.
-Yellow bars flag mild pickup in activity—treat them as “watch and wait.”
-Red bars indicate low-interest periods; best to sit out until volume returns.
Inputs
Lookback Days (N) – how many prior full trading days to average (1–60).
DST Adjustment – ±1 if daylight-saving shift occurred last weekend (usually 0).
Display
Plots a histogram of rvol in its own pane.
Horizontal guides at 1.0× (average) and 2.0×.
Why it’s useful
Filters out noise during thin volume periods.
Highlights true “fuel injection” moments.
Works on any intraday timeframe (1 min–<1 day).
Entropy Bands (TechnoBlooms)Entropy Bands — A New Era of Volatility and Trend Analysis
Entropy Bands is our next indicator as a part of the Quantum Price Theory (QPT) Series of indicators.
🧠 Overview
Entropy Bands are an advanced volatility-based indicator that reimagines traditional banded systems like Bollinger Bands.
Built on entropy theory, adaptive moving averages, and dynamic volatility measurement, Entropy Bands provide deeper insights into market randomness, trend strength, and breakout potential.
Instead of only relying on price deviation (like Bollinger Bands), Entropy Bands integrate chaos theory principles to create smarter, more responsive dynamic bands that adapt to real market behavior.
🚀Why is Entropy Bands Different — and Better
Dynamic Band Width : Adjusts using both entropy and ATR, creating smarter expansion/contraction.
Multi-Moving Average Core : Choose between SMA, EMA, or WMA for optimal centerline behavior.
Noise and Breakout Filtering : Filters fake breakouts by analyzing candle body size and entropy conditions.
Visual Clarity : Background and candle coloring highlight chaotic/noisy zones, trend zones, and breakout moments.
Entropy Bands don't just react to price — they analyze the underlying market behavior, offering superior decision-making signals.
📚 Watch Band Behavior:
Bands expand during volatility spikes or chaotic conditions.
Bands contract during low volatility or tight consolidation zones.
📚 Analyze Candle Coloring:
Green = Bullish breakout (closing above upper band).
Pink = Bearish breakout (closing below lower band).
Gray = Inside bands (neutral/random noise).
✨ Key Features of Entropy Bands:
Entropy-Based Band Width Calculation: A scientific edge over pure price deviation methods.
Dynamic Background Coloring: Highlights high entropy areas where randomness dominates.
Candle Breakout Coloring: Easy-to-spot trend breakouts and strength moves.
Multi-MA Flexibility: Adapt the bands’ core to trending, ranging, or volatile markets.
Body Size Filter: Protects against fake breakouts by requiring meaningful candle body moves.
Custom Time Session Background (Amsterdam Time, DST Safe)This indicator highlights two custom intraday time ranges with background colors on your chart. The times are set based on your local Amsterdam time and automatically adjust for Daylight Saving Time (DST).
📌 Features:
- Define two separate time ranges (Start & End) in local Amsterdam time
- Background color highlighting for each range
- Fully DST-aware using the "Europe/Amsterdam" timezone
- Works across all intraday timeframes
🎯 Use Cases:
- Highlight key market sessions (e.g., EU open, NY overlap)
- Visually segment your trading hours
- Eliminate manual DST adjustments
Developed with Pine Script v5.
Made for traders who want clarity during specific time zones, without worrying about time shifts across the year.
Equity Hedge AlertFind momentum stocks, and use options to hedge. Best in high volatility scenarios.
3 Candle Rules -PJThis script is to identify the change in trend by simply applying 3 rules on candle sticks. These three rules are applied by comparing HLC of current candle with previous candle.
[blackcat] L3 Cloud PioneerOVERVIEW
The L3 Cloud Pioneer indicator combines elements of the Ichimoku Kinko Hyo system with Donchian Channels to provide a robust trend-following tool. This enhanced version includes detailed trade signal labels and alerts, helping traders identify potential entry and exit points more clearly. By plotting dynamic cloud areas and providing visual cues, this indicator aids in making informed trading decisions 📊📉↗️.
FEATURES
Calculates key Ichimoku components using custom Donchian Channel logic:
Conversion Line (based on highest/highest values over specified periods).
Base Line.
Leading Spans.
Lagging Span 2.
Plots a dynamic cloud area between Leading Span 1 and Leading Span 2, colored based on trend direction 🎨.
Identifies trend changes and provides clear entry/exit signals:
LE: Long Entry (when trend turns bullish).
SE: Short Entry (when trend turns bearish).
XL: Exit Long (price crosses below Leading Span 1 during an uptrend).
RL: Re-enter Long (price crosses above Leading Span 1 during an uptrend).
XS: Exit Short (price crosses above Leading Span 1 during a downtrend).
RS: Re-enter Short (price crosses below Leading Span 1 during a downtrend).
Displays corresponding labels on the chart for easy visualization, complete with tooltips for additional information 🏷️.
Generates alerts for each signal event to keep users informed about potential trades 🔔.
Supports customizable input parameters for conversion line, base line, and lagging span periods ⚙️.
HOW TO USE
Add the indicator to your TradingView chart by selecting it from the indicators list.
Adjust the input parameters (Conversion Line Periods, Base Line Periods, Lagging Span 2 Periods) to fit your preferences.
Observe the plotted cloud and labels for trend direction and potential trade opportunities.
Set up alerts based on the generated signals to receive notifications when conditions are met 📲.
Combine this indicator with other tools for confirmation before making trading decisions.
DETAILED SIGNAL LOGIC
Trend Determination:
The script determines the trend direction by comparing leading_line1 and leading_line2.
If leading_line1 is above leading_line2, the trend is considered bullish (isBullish). Otherwise, it's bearish (isBearish).
Signal Conditions:
Long Entry (LE): Triggered when the trend turns bullish from bearish.
Short Entry (SE): Triggered when the trend turns bearish from bullish.
Exit Long (XL): Triggered when the price crosses below leading_line1 during an uptrend.
Re-enter Long (RL): Triggered when the price crosses above leading_line1 during an uptrend.
Exit Short (XS): Triggered when the price crosses above leading_line1 during a downtrend.
Re-enter Short (RS): Triggered when the price crosses below leading_line1 during a downtrend.
Label Styling:
Labels are color-coded for quick identification:
Green for long entries and re-entries.
Red for short entries and exits.
Blue for exiting long positions.
Orange for re-entering short positions.
Tooltips provide additional context for each label.
Alert Configuration:
Alerts are generated for each signal condition, ensuring traders are notified promptly.
Users can set up these alerts within TradingView by creating new alerts and selecting the appropriate conditions.
LIMITATIONS
The indicator may lag behind price action due to its use of moving averages and channel calculations 🕒.
False signals can occur in choppy or sideways markets 🌪️.
Users should always confirm signals with other forms of analysis.
NOTES
Ensure that you have sufficient historical data available for accurate calculations.
Test the indicator thoroughly on demo accounts before applying it to live trading 🔍.
Customize the appearance and parameters as needed to fit your trading strategy.
For better risk management, consider integrating stop-loss and take-profit levels into your trading plan.
To optimize performance, manage old labels by deleting them after a certain period to avoid clutter on the chart.
Key Levels and EMAs StrategyThis script plots the following lines on the chart:
1. Previous day highs, mids and lows
2. Pre-market high, mids and lows
3. Current day high, mids and lows
3 Key EMAs (13, 48, 200)
Alpha Breakout Dashboard™This script identifies intraday breakout trading opportunities on the Nifty (or any other instrument), using technical indicators like EMA, VWAP, and recent highs/lows, and displays clean buy/sell signals along with a top-right dashboard showing live trade status and Risk:Reward (RR).
Core Logic
1. Breakout Detection
A Bullish Breakout occurs when:
Price breaks above the highest high of the past N bars (excluding the current bar).
Price is above the 20 EMA and VWAP.
A Bearish Breakout occurs when:
Price breaks below the lowest low of the past N bars.
Price is below the 20 EMA and VWAP.
These conditions are configurable via inputs.
2. Trend Filter (Optional)
When enabled, long entries are only allowed if the price is above EMA and VWAP, and short entries if it's below.
This helps align trades with the dominant market trend.
3. Trade Entry & Tracking
Once a breakout is detected:
A Buy/Sell signal is plotted on the chart.
The script sets an entry price , a stoploss (with a buffer), and a target based on a fixed Risk:Reward Ratio (default 2:1).
The script keeps track of whether a long or short trade is currently active.
4. Live Risk:Reward Calculation
While in a trade:
The Live RR is updated on each candle.
RR is calculated dynamically using the latest close, stoploss, and target.
If no trade is active, RR shows “Waiting...”.
5. Dashboard Panel (Top-Right Corner)
Shows:
Current Trend: Bullish 🟢 / Bearish 🔴 / Neutral ⚪
Entry Price: Shows real-time entry or "Waiting..."
Live RR: Dynamic Risk:Reward ratio or "Waiting..."
6. Visuals
Signals: Clearly marked BUY (green label) or SELL (red label).
EMA & VWAP: Plotted for trend context.
No SL/TP lines: Chart remains clean.
7. Alerts
Alerts are triggered on new Buy/Sell signals.
Alert conditions are also defined for use in TradingView alert setup.
Customization Options
EMA Length
Breakout Lookback Bars
Stoploss Buffer (in points)
Risk:Reward Ratio
Trend Filter On/Off
Ideal Use
For intraday traders looking to catch strong breakouts in trending conditions.
Best used on 5min to 15min charts.
Can be paired with volume or momentum indicators.
WaveTrend Matrix (1m-1w) – Custom ThresholdsA visual control panel for momentum exhaustion across ten key time-frames.
—
🧬 DNA
This is a fork of LazyBear’s original WaveTrend Oscillator .
The oscillator logic is 100 % intact; I simply stream the values into a compact table so that day- and swing-traders can see the “bigger picture” at a glance.
📈 What does it do?
Calculates WaveTrend on ten granularities: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w.
Displays the current oscillator print in a color-coded matrix.
• Red = overbought (≥ high threshold)
• Green = oversold (≤ low threshold)
• Gray = neutral / in-range
All thresholds are user-adjustable.
Built on Pine v5, zero repainting, works on any symbol.
🛠 Parameters
Channel Length – WT “n1” (default 10)
Average Length – WT “n2” (default 21)
Red from – overbought cut-off (default +60)
Green under – oversold cut-off (default –60)
🚀 How to use it
1. Apply the indicator to your chart – no extra setup required.
2. Read the matrix top-down before every entry:
• Multiple deep-green rows → market broadly oversold → watch for longs.
• Multiple deep-red rows → market broadly overbought → watch for shorts or stay flat.
3. Combine with your trend filter (EMA-stack, VWAP, structure) to avoid counter-trend trades.
EMA Crossover Strategy with AlertsEMA Crossover Strategy with Alerts
Overview
The EMA Crossover Strategy is a popular trend-following trading strategy that utilizes two Exponential Moving Averages (EMAs) to identify potential buy and sell signals. This strategy is designed to help traders capture significant market trends by generating alerts when a crossover or crossunder occurs between the short-term and long-term EMAs.
Strategy Details
Short EMA Length: 9 periods
Long EMA Length: 21 periods
How It Works
Calculation of EMAs:
The strategy calculates two EMAs: a short-term EMA (9 periods) and a long-term EMA (21 periods).
Crossover and Crossunder Conditions:
Crossover Condition: A buy signal is generated when the short-term EMA crosses above the long-term EMA.
Crossunder Condition: A sell signal is generated when the short-term EMA crosses below the long-term EMA.
Buy and Sell Signals:
Buy Signal: Plotted below the bar with a green label when the crossover condition is met.
Sell Signal: Plotted above the bar with a red label when the crossunder condition is met.
Alerts:
Alerts are set up to notify traders when a buy or sell signal is generated:
Buy Alert: Triggered when the short-term EMA crosses above the long-term EMA.
Sell Alert: Triggered when the short-term EMA crosses below the long-term EMA.
Strategy Execution:
Buy Entry: The strategy enters a long position when the buy condition is met.
Sell Entry: The strategy enters a short position when the sell condition is met.
Benefits
Trend Identification: Helps traders identify and follow strong market trends.
Clear Signals: Provides clear buy and sell signals based on EMA crossovers.
Alerts: Keeps traders informed with real-time alerts for buy and sell signals.
Usage
This strategy is suitable for various markets and timeframes. Traders can customize the EMA lengths to fit their specific trading style and market conditions.
COT3 - Flip Strength Index - Invincible3This indicator uses the TradingView COT library to visualize institutional positioning and potential sentiment or trend shifts. It compares the long% vs short% of commercial and non-commercial traders for both Pair A and Pair B, helping traders identify trend strength, market overextension, and early reversal signals.
🔷 COT RSI
The COT RSI normalizes the net positioning difference between non-commercial and commercial traders over (N=13, 26, and 52)-week periods. It ranges from 0 to 100, highlighting when sentiment is at bullish or bearish extremes.
COT RSI (N)= ((NC - C)−min)/(max-min) x100
🟡 COT Index
The COT Index tracks where the current non-commercial net position lies within its 1-year and 3-year historical range. It reflects institutional accumulation or distribution phases.
Strength represents the magnitude of that positioning bias, visualized through normalized RSI-style metrics.
COT Index (N)= (NC net)/(max-min) x100
🔁 Flip Detection
Flip refers to the crossovers between long% and short%, indicating a change in directional bias among trader groups. When long positions exceed shorts (or vice versa), it signals a possible market flip in sentiment or trend.
For example, Pair B commercial flip is calculated as:
Long% = (Long/Open Interest)×100
Short% = (Short/Open Interest)×100
Flip = Long%−Short%
A bullish flip occurs when long% overtakes short%, and vice versa for a bearish flip. These flips often precede price trend changes or confirm sentiment breakouts.
Flip captures how far current positioning deviates from historical norms — highlighting periods of institutional overconfidence or exhaustion, often leading to significant market turns.
This combination offers a multi-layered edge for identifying when smart money is flipping direction, and whether that flip has strong conviction or is likely to fade.
..........................................................................................................................................................
Multi Candle Engulfing Detector🔍 Multi Candle Engulfing Detector
This indicator identifies powerful engulfing candles that consume three or more previous candles — a signal often tied to strong market reversals or continuation moves.
🧠 Features
Detects candles that fully engulf the previous 3 or more candles
Optional filtering: only trigger when the engulfed candles are of the opposite color
Customizable engulf count for greater pattern control
Clear bullish and bearish signal labels on the chart
Alerts integrated: get notified the moment a setup forms
Background highlighting for enhanced visibility
⚙️ Settings
Minimum Number of Candles to Engulf: Default is 3, but can be adjusted
Require Opposite Color: When enabled, the engulfing candle must be opposite in color to the engulfed ones (e.g., green engulfing red)
📈 Use Cases
Spot strong reversal signals at tops and bottoms
Confirm breakout momentum on trend continuation
Use in confluence with other tools like volume or support/resistance
🚨 Alerts
Alerts fire when a bullish or bearish engulfing pattern is detected, allowing for mobile, email, or webhook notifications.
✅ Notes
This script is fully customizable and can be extended into a strategy or scanning tool. Feedback and suggestions are always welcome!
CYCLE BY RiotWolftradingDescription of the "CYCLE" Indicator
The "CYCLE" indicator is a custom Pine Script v5 script for TradingView that visualizes cyclic patterns in price action, dividing the trading day into specific sessions and 90-minute quarters (Q1-Q4). It is designed to identify and display market phases (Accumulation, Manipulation, Distribution, and Continuation/Reversal) along with key support and resistance levels within those sessions. Additionally, it allows customization of boxes, lines, labels, and colors to suit user preferences.
Main Features
Cycle Phases:
Accumulation (1900-0100): Represents the phase where large operators accumulate positions.
Manipulation (0100-0700): Identifies potential manipulative moves to mislead retail traders.
Distribution (0700-1300): The phase where large operators distribute their positions.
Continuation/Reversal (1300-1900): Indicates whether the price continues the trend or reverses.
90-Minute Quarters (Q1-Q4):
Divides each 6-hour cycle (360 minutes) into four 90-minute quarters (Q1: 00:00-01:30, Q2: 01:30-03:00, Q3: 03:00-04:30, Q4: 04:30-06:00 UTC).
Each quarter is displayed with a colored box (Q1: light purple, Q2: light blue, Q3: light gray, Q4: light pink) and labels (defaulted to black).
Support and Resistance Visualization:
Draws boxes or lines (based on settings) showing the high and low levels of each session.
Optionally displays accumulated volume at the highs and lows within the boxes.
Daily Lines and Last 3 Boxes:
How to Use the Indicator
Step 1: Add the Indicator to TradingView
Open TradingView and select the chart where you want to apply the indicator (e.g., UMG9OOR on a 5-minute timeframe, as shown in the screenshot).
Go to the Pine Editor (at the bottom of the TradingView interface).
Copy and paste the provided code.
Click Compile and then Add to Chart.
Step 2: Configure the Indicator
Click on the indicator name on the chart ("CYCLE") and select Settings (or double-click the name).
Adjust the options based on your needs:
Cycle Phases: Enable/disable phases (Accumulation, Manipulation, Distribution, Continuation/Reversal) and adjust their time slots if needed.
90-Minute Quarters: Enable/disable quarters (Q1-Q4).
Step 3: Interpret the Indicator
Identify Cycle Phases:
Observe the red boxes indicating the phases (Accumulation, Manipulation, etc.).
The high and low levels within each phase are potential support/resistance zones.
If volume is enabled, pay attention to the accumulated volume at highs and lows, as it may indicate the strength of those levels.
Use the 90-Minute Quarters (Q1-Q4):
The colored boxes (Q1-Q4) divide the day into 90-minute segments.
Each quarter shows the price range (high and low) during that period.
Use these boxes to identify price patterns within each quarter, such as breakouts or consolidations.
The labels (Q1, Q2, etc.) help you track time and anticipate potential moves in the next quarter.
Analyze Support and Resistance:
The high and low levels of each phase/quarter act as support and resistance.
Daily lines (if enabled) show key levels from the previous day, useful for planning entries/exits.
The "last 3 boxes below price" (if enabled) highlight potential support levels the price might target.
Avoid Manipulation:
During the Manipulation phase (0100-0700), be cautious of sharp moves or false breakouts.
Use the high/low levels of this phase to identify potential traps (as explained in your first question about manipulation candles).
Step 4: Trading Strategy
Entries and Exits:
Support/Resistance: Use the high/low levels of phases and quarters to set entry or exit points.
For example, if the price bounces off a Q1 support level, consider a buy.
Breakouts: If the price breaks a high/low of a quarter (e.g., Q2), wait for confirmation to enter in the direction of the breakout.
Volume: If accumulated volume is high near a key level, that level may be more significant.
Risk Management:
Place stop-loss orders below lows (for buys) or above highs (for sells) identified by the indicator.
Avoid trading during the Manipulation phase unless you have a specific strategy to handle false breakouts.
Time Context:
Use the quarters (Q1-Q4) to plan your trades based on time. For example, if Q3 is typically volatile in your market, prepare for larger moves between 03:00-04:30 UTC.
Step 5: Adjustments and Testing
Test on Different Timeframes: The indicator is set for a 5-minute timeframe (as in the screenshot), but you can test it on other timeframes (e.g., 1-minute, 15-minute) by adjusting the time slots if needed.
Adjust Colors and Styles: If the default colors are not visible on your chart, change them for better clarity.
---
📌 1. **Accumulation: Strong Institutional Activity**
- During the **accumulation phase, we see **high volume: 82.773K, which suggests strong buying interest**, likely from institutional players.
- This sets the base for the following upward move in price.
---
📌 2. **Manipulation: False Breakout with Lower Volume**
- Later, there's a manipulation phase where price breaks above previous highs, but the volume (71.814K) is **lower than during accumulation**.
- This implies that buyers are not as aggressive as before—no real demandbehind the breakout.
- It’s likely a bull trap, where smart money is selling into the breakout to exit their positions.
---
### 📌 3. Distribution: Weakness and Lack of Demand
- The market enters a distribution phase, and volume drops even further (only 7.914K).
- Price struggles to go higher, and you start seeing rejections at the top.
- This shows that demand is drying up, and smart money is offloading positions**—not accumulating anymore.
---
### 💡 Why Take the Short Here?
- Volume is not increasing with new highs—showing weak demand**.
- The manipulation volume is weaker than the accumulation volume, confirming the breakout was likely false.
- Structure starts to break down (Q levels falling), which confirms weakness.
- This creates a high-probability short setup:
- **Entry:** after confirmation of distribution and structural breakdown.
- **Stop loss:** above the manipulation high.
- **Target:** down toward previous lows or value zones.
---
### ✅ Conclusion
Since the manipulation volume failed to exceed the accumulation volume, the breakout lacked real strength. Combined with decreasing volume in the distribution phase, this indicates fading demand and supply taking control—which justifies entering a short position.
DCA Strategy TesterBacktest DCA method. Choose start and end date, monthly amount and see graph, buys orders and stats.
Opening Range High/Low with VWAP and EMAsopenrange high low, and the range adjusts as day progresses, VWap with Ema 9 @ chart time frame, 5min and 15mins, cross over of ema and vwap can be used as guide for intraday trades
ORB-X v6 (Dashed OR Lines)ORB-X v6 – 15-Minute Opening-Range Breakout Helper by Opskie.
WHAT THE SCRIPT DOES
• Draws the opening range: tracks the highest high and lowest low from 09:30 to 09:45 ET (or any custom window you set) and projects two yellow dashed lines across the rest of the session.
• Alerts:
– “ORB Breakout Up” fires when price closes above the OR-High.
– “ORB Breakout Down” fires when price closes below the OR-Low.
• Screener-ready output: a hidden series called ORB_Long_OK equals “1” on bars where the long breakout is valid. Add this column in TradingView’s Stock Screener and filter “≠ NA” to see a live list of breakouts.
• Fully editable: change session start, opening-range length, colours and line styles in the settings.
QUICK-START GUIDE
Add the script to any chart (Indicators → My Scripts → ORB-X v6).
Wait for the first 15-minute window to close; two dashed yellow lines will appear.
(Optional) Set an alert:
• Alerts → Create Alert → Condition = “ORB Breakout Up” (or Down) → choose “Once per bar close”.
Build a Stock Screener watch-list:
• Open Stock Screener.
• Filters: Exchange = NASDAQ + NYSE, set any price band you like (for example 3 to 6 USD).
• Columns (gear icon) → Indicators → tick ORB_Long_OK.
• Hover the ORB_Long_OK header → funnel icon → choose “≠ NA”.
Now the table lists only tickers whose latest closed bar has broken above their 15-minute OR-High.
USER INPUTS
• Session Start Hour / Minute (default 09:30 ET) – first bar of the range
• Range Length (minutes) (default 15) – how long to measure highs/lows
• Line colours and styles – purely cosmetic
TYPICAL WORKFLOW
Premarket: scan for liquid gappers and momentum names.
09:30–09:45 ET: let ORB-X mark the range; no trades yet.
After 09:45: trade only symbols that close above their OR-High (ORB_Long_OK = 1) using your own risk rules (e.g. stop just below the high).
End of day: journal the results and refine.
DISCLAIMER
This indicator is for educational purposes only and is not financial advice. Test on a demo account first and always use proper risk management.
Schaff Trend Cycle (STC) - t0rdn3Schaff Trend Cycle (STC)
By t0rdn3 (original STC by , now with more descriptive naming)
Description
The Schaff Trend Cycle (STC) is a momentum-based oscillator that combines the speed of a fast EMA crossover with cyclical normalization. Developed by Doug Schaff, it identifies market turning points more responsively than MACD or RSI.
How It Works
1. EMA Difference : Calculates the difference between two EMAs of the source series (default: close).
2. Cycle Percentage : Normalizes that difference to a 0–100 range over the cycle period.
3. Smoothing : Applies exponential smoothing twice—first to the cycle percentage, then to its normalized cycles—to reduce noise.
4. Final STC Line : Produces a smoothed oscillator oscillating between 0 and 100.
Alerts
- "STC turned down above 75" : Fires once when STC makes a local peak above the upper threshold ( 75 ).
- "STC turned up below 25" : Fires once when STC makes a local trough below the lower threshold ( 25 ).
Inputs
Cycle Period : 12 — Lookback in bars for normalization
Fast EMA Length : 26 — Period of the fast EMA
Slow EMA Length : 50 — Period of the slow EMA
Smoothing Factor : 0.5 — Exponential smoothing coefficient (0–1)
Usage
Readings above 75 indicate an overbought cycle; readings below 25 indicate an oversold cycle. Crossings of the 50 midline can confirm trend direction:
- STC rising through 50 → bullish shift
- STC falling through 50 → bearish shift
Combine STC with price action or other trend filters to improve signal quality. You can adjust the cycle period and EMA lengths to match different timeframes or instruments.
3+ Consecutive Higher or Lower Closes (Full Highlight)This indicator identifies 3 or more sequential bars of higher/lower candle closes and highlights them on the chart.
Candle colour is adjustable.
This is the first edition and has a small issue where it only starts highlighting from the 3rd bar in the sequence.
I'll continue working on this to try to debug