Gap Day Stats TableDescription:
This Pine Script helps you analyze gap up and gap down days using a user-defined gap percentage threshold. It generates a real-time statistics table that tracks:
📈 Number of Gap Up Days
🔻 How many of those days closed lower (Open > Close)
🧮 Total points lost on such gap up days (Open - Close)
📉 Number of Gap Down Days
🔺 How many of those days closed higher (Close > Open)
🧮 Total points gained on such gap down days (Close - Open)
🔧 Customization:
Gap threshold is adjustable via input
Automatically updates stats daily
Ideal for spotting behavioral edge in gaps
This tool is useful for traders building gap trading systems, mean reversion models, or studying post-gap behavior in equities and indices.
Penunjuk dan strategi
BONK 1H Long Volatility StrategyGrok 1hr bonk strategy:
Key Changes and Why They’re Made
1. Indicator Adjustments
Moving Averages:
Fast MA: Changed to 5 periods (from, e.g., 9 on a higher timeframe).
Slow MA: Changed to 13 periods (from, e.g., 21).
Why: Shorter periods make the moving averages more sensitive to quick price changes on the 1-hour chart, helping identify trends faster.
ATR (Average True Range):
Length: Set to 10 periods (down from, e.g., 14).
Multiplier: Reduced to 1.5 (from, e.g., 2.0).
Why: A shorter ATR length tracks recent volatility better, and a lower multiplier lets the strategy catch smaller price swings, which are more common hourly.
RSI:
Kept at 14 periods with an overbought level of 70.
Why: RSI stays the same to filter out overbought conditions, maintaining consistency with the original strategy.
2. Entry Conditions
Trend: Requires the fast MA to be above the slow MA, ensuring a bullish direction.
Volatility: The candle’s range (high - low) must exceed 1.5 times the ATR, confirming a significant move.
Momentum: RSI must be below 70, avoiding entries at potential peaks.
Price: The close must be above the fast MA, signaling a pullback or trend continuation.
Why: These conditions are tightened to capture frequent volatility spikes while filtering out noise, which is more prevalent on a 1-hour chart.
3. Exit Strategy
Profit Target: Default is 5% (adjustable from 3-7%).
Stop-Loss: Default is 3% (adjustable from 1-5%).
Why: These levels remain conservative to lock in gains quickly and limit losses, suitable for the faster pace of a 1-hour timeframe.
4. Risk Management
The strategy may trigger more trades on a 1-hour chart. To avoid overtrading:
The ATR filter ensures only volatile moves are traded.
Trading fees (e.g., 0.5% on Coinbase) reduce the net profit to ~4% on winners and -3.5% on losers, requiring a win rate above 47% for profitability.
Suggestion: Risk only 1-2% of your capital per trade to manage exposure.
5. Visuals and Alerts
Plots: Blue fast MA, red slow MA, and green triangles for buy signals.
Alerts: Trigger when an entry condition is met, so you don’t need to watch the chart constantly.
How to Use the Strategy
Setup:
Load TradingView, select BONK/USD on the 1-hour chart (Coinbase pair).
Paste the script into the Pine Editor and add it to your chart.
Customize:
Adjust the profit target (e.g., 5%) and stop-loss (e.g., 3%) to your preference.
Tweak ATR or MA lengths if BONK’s volatility shifts.
Trade:
Look for green triangle signals and confirm with market context (e.g., volume or news).
Enter trades manually or via TradingView’s broker tools if supported.
Exit when the profit target or stop-loss is hit.
Test:
Use TradingView’s Strategy Tester to backtest on historical data and refine settings.
Benefits of the 1-Hour Timeframe
Faster Opportunities: Captures shorter-term uptrends in BONK’s volatile price action.
Responsive: Adjusted indicators react quickly to hourly changes.
Conservative: Maintains the 3-7% profit goal with tight risk control.
Potential Challenges
Noise: The 1-hour chart has more false signals. The ATR and MA filters help, but caution is needed.
Fees: Frequent trading increases costs, so ensure each trade’s potential justifies the expense.
Volatility: BONK can move unpredictably—monitor broader market trends or Solana ecosystem news.
Final Thoughts
Switching to a 1-hour timeframe makes the strategy more active, targeting shorter volatility spikes while keeping profits conservative at 3-7%. The adjusted indicators and conditions balance responsiveness with reliability. Backtest it on TradingView to confirm it suits BONK’s behavior, and always use proper risk management, as meme coins are highly speculative.
Disclaimer: This is for educational purposes, not financial advice. Cryptocurrency trading, especially with assets like BONK, is risky. Test thoroughly and trade responsibly.
Daily LevelsOverview:
The Daily Levels indicator plots key price levels from the previous trading day, including the high, low, median (pivot), and projected extensions. These levels help traders identify potential support/resistance zones and anticipate breakout or reversal opportunities.
Key Features:
✅ Previous Day High & Low – Visualizes the prior day’s high and low as dynamic support/resistance levels.
✅ Median (Pivot) Line – Calculates the midpoint between the previous day’s high and low, acting as a key intraday reference.
✅ Projected Levels – Extends the high/low range symmetrically above and below the median, highlighting potential breakout zones.
✅ Customizable Display – Toggle visibility, adjust colors, and modify line styles (solid, dotted, dashed).
✅ Price Labels – Clear on-chart labels showing exact price values for quick reference.
✅ Built-in Alerts – Get notified when price crosses any of the key levels.
How to Use:
Trend Identification: If price holds above the median, the bias is bullish; below suggests bearish momentum.
Breakout Trading: Watch for moves beyond the projected levels for potential continuation.
Mean Reversion: Fade moves toward the previous day’s high/low if the median holds as support/resistance.
Ideal For:
Day Traders – Intraday support/resistance levels.
Swing Traders – Context for multi-day trends.
Breakout/Reversal Strategies – Clear levels for trade triggers.
Settings Recommendations:
High/Low Lines: Use semi-transparent colors (e.g., green/red) for clarity.
Projections: Helpful for anticipating extended moves (e.g., teal for upper, orange for lower).
Alerts: Enable notifications for key crosses (e.g., median or high/low breaks).
DTFX Time based range candle box [Wang Indicators]DTFX Time based range candle box
Overview : This indicator highlights HTF Candles in specified timeframe within boxes and extend them until they are mitigated. Allowing traders to use them as zones from which you could find some turn-around or scalp
How does it works ?
Users can setup up to 8 desired timeframe with the hour/minute of the HTF candle
Be carrefull when you chose the time. You must put something coherent with the timeframe (e.g : you can't put 'minutes' = 45 if your timeframe is '1h')
Everyday, the indicator will draw a box around the specified candle for it timeframe
Once the price close above or bellow this candle in the same timeframe, the Zone become "active"
As long as the price doesn't came back into the zone, the retracements will extends
Once the price came back into the zone (in the current timeframe), it stops the expension
Exemple
Here we have those settings :
timeframe : 1 hour
time : 9am
mitigation : 10%
fibs : visible & dashed
The box highlights the 9am 1H candle (9am to 10am)
We now wait for the price to close in the same timeframe (1h here) above or bellow the price
At 11am we close above - the zone is now "active"'
Now we wait for the price to go back in this zone in the current timeframe (here 5min)
12:40am : we put a low above the 10% of the zone -> we stop the retracements, the zone is considered as "mitigated"
Settings
Hour : The hour of the begiging of the candle
Minute : Combined with hour (default 0)
Timeframe : In whichtimeframe we are looking for the candle
% Mitigation : % of the box in wich the price must go back-in in order to "mitigate" the box and stop the expension of the fibs/box (if settings enabled)
Retracements style : Hidden, dashed, dotted or lines for the fibs
Extend Box : extend the box itself until it get mitigated
Number of unmitigated zones : Max unmitigated zone drawed on the chart PER CONFIG
Timezone : Must be set to reflect your needs. (preferably the chart timezone)
How does it helps users ?
Once a Candle is "active" it can be used as a Zone
Fibonnacis levels (30, 50 and 70%) are displayed (if enabled)
Users can customize their apparence and the boxes as they see fit
The 30 - 50 - 70 levels are possible support/resistance that the price tend to bounce of off
You might find some success looking for an entry inside the zone at a level if price gives further confirmations such as a lower time frame flip.
Tactical FlowTactical Flow – Altcoin Swing Strategy with Trend Logic & Dynamic TP System
(Built for 1H timeframe altcoin trading)
🎯 Purpose
Tactical Flow is a swing trading strategy purpose-built for altcoins on the 1-hour timeframe. It targets clean trend continuation setups by combining non-repainting filters for direction, momentum, and volume with a real-time execution engine that strictly avoids same-bar reversals. It includes a dynamic take-profit system with real-time trade tracking and an integrated visual dashboard.
⚙️ Strategy Core Components
Each module was chosen for precision, trend clarity, and altcoin-specific price behavior.
🔹 1. White Line Bias
Defines market structure using the midpoint of recent high/low range.
→ Keeps you trading with the dominant structure.
🔹 2. Tether Trend Engine
Two mid-range bands (Fast & Slow Tether) act like a dynamic trend cloud.
→ Ensures trend direction is confirmed with structural layering.
🔹 3. ZLEMA Gradient Filter
A Zero Lag EMA of price that’s compared to its previous value for momentum slope.
→ Confirms the trend has actual energy behind it.
🔹 4. TEMA Micro-Flow
A smoothed directional signal to confirm price is accelerating, not just trending.
→ Filters out late or fading entries.
🔹 5. Volume Spike Filter
Confirms that breakouts are real by requiring volume > 1.5× median of previous candles.
→ Designed for altcoins to avoid fakeouts during random volatility.
🔹 6. RMI Trend Memory
Keeps track of the trend state over time, allowing for smoother transitions and fewer whipsaws.
→ Helps the strategy stay in trend longer and only reverse when confirmation is strong.
🔹 7. Reversal Cooldown Logic
Exits a trade, then waits 1 full bar before taking a reversal entry.
→ Avoids common backtest false positives where entries and exits occur on the same candle.
💸 Trade Management – TP1/TP2 Logic
TP1 = 50% closed when price hits target 1
TP2 = full exit
Exits early if trend weakens
Supports dynamic reentry after TP2 if trend resumes
→ Keeps risk controlled while allowing position scaling in volatile altcoin swings.
📊 Strategy Dashboard
Visual interface shows:
Current Position (Long / Short / Flat)
Entry Price
TP1 and TP2 hit status
Bars since entry
Real-time Win Rate
Profit Factor
🧪 Backtesting & Execution Compliance
✅ Fully non-repainting
✅ Compatible with TradingView's deep backtesting
✅ Uses strategy.exit with limit logic for accurate TP tracking
✅ No stop-loss — closes trades on trend weakening only
🔥 Best Use Case
Altcoin swing trades on 1H chart
Works well during trending periods with volume
Not designed for choppy or sideways conditions
Pairs well with watchlist scanners and heatmaps
Retirement Portfolio Dashboard1. Set It Up
Paste the script into the Pine Script editor in TradingView
Add to chart (use a daily chart for any TSX ticker)
Configure the inputs on the right panel:
Choose your ETF tickers (default: VFV, XAW, XIC)
Enter your target allocations (U.S., Global, Canada, Cash)
Set your current portfolio value and contribution plan
Adjust your expected return and rebalance trigger
📊 2. What It Tracks
💼 Allocation Overview
Target vs. actual % for each asset class
CAD value of each component
Performance YTD based on Jan 2nd start
Drift % to see how far each asset has deviated
📈 Growth Forecast
Future value projection with contributions
Weighted return (based on typical historical returns)
Inflation-adjusted real return (assuming 2% inflation)
⚠ Rebalancing
If any drift exceeds your set threshold (e.g., 5%), the script:
Highlights the issue in red
Displays "⚠ Rebalance Suggested"
Triggers a TradingView alert if you've activated it
🔔 3. Set Up Alerts
Go to Alerts > Create Alert
Choose your script from the dropdown
Under Condition, select "Rebalance Alert"
Choose your desired alert type (popup, email, webhook, etc.)
✅ 4. How to Use It Effectively
Task What to Do
Monitor allocations Check dashboard weekly or monthly
Spot imbalances Use Drift % and Status (green/red)
Forecast retirement growth Adjust contributions, return rate, and horizon
Prepare to rebalance Use alerts when drift > threshold
Tune assumptions Change expected returns or inflation rate as needed
💡 Tips
You can edit return assumptions (e.g., make Global equity more conservative)
Use this on a “blank” ticker (like TSX:XIC) so you don't overlay the chart
Copy values from your broker or retirement account to update real allocations
Quarterly Cycle Theory with DST time AdjustedThe Quarterly Theory removes ambiguity, as it gives specific time-based reference points to look for when entering trades. Before being able to apply this theory to trading, one must first understand that time is fractal:
Yearly Quarters = 4 quarters of three months each.
Monthly Quarters = 4 quarters of one week each.
Weekly Quarters = 4 quarters of one day each (Monday - Thursday). Friday has its own specific function.
Daily Quarters = 4 quarters of 6 hours each = 4 trading sessions of a trading day.
Sessions Quarters = 4 quarters of 90 minutes each.
90 Minute Quarters = 4 quarters of 22.5 minutes each.
Yearly Cycle: Analogously to financial quarters, the year is divided in four sections of three months each:
Q1 - January, February, March.
Q2 - April, May, June (True Open, April Open).
Q3 - July, August, September.
Q4 - October, November, December.
S&P 500 E-mini Futures (daily candles) — Monthly Cycle.
Monthly Cycle: Considering that we have four weeks in a month, we start the cycle on the first month’s Monday (regardless of the calendar Day):
Q1 - Week 1: first Monday of the month.
Q2 - Week 2: second Monday of the month (True Open, Daily Candle Open Price).
Q3 - Week 3: third Monday of the month.
Q4 - Week 4: fourth Monday of the month.
S&P 500 E-mini Futures (4 hour candles) — Weekly Cycle.
Weekly Cycle: Daye determined that although the trading week is composed by 5 trading days, we should ignore Friday, and the small portion of Sunday’s price action:
Q1 - Monday.
Q2 - Tuesday (True Open, Daily Candle Open Price).
Q3 - Wednesday.
Q4 - Thursday.
S&P 500 E-mini Futures (1 hour candles) — Daily Cycle.
Daily Cycle: The Day can be broken down into 6 hour quarters. These times roughly define the sessions of the trading day, reinforcing the theory’s validity:
Q1 - 18:00 - 00:00 Asia.
Q2 - 00:00 - 06:00 London (True Open).
Q3 - 06:00 - 12:00 NY AM.
Q4 - 12:00 - 18:00 NY PM.
S&P 500 E-mini Futures (15 minute candles) — 6 Hour Cycle.
6 Hour Quarters or 90 Minute Cycle / Sessions divided into four sections of 90 minutes each (EST/EDT):
Asian Session
Q1 - 18:00 - 19:30
Q2 - 19:30 - 21:00 (True Open)
Q3 - 21:00 - 22:30
Q4 - 22:30 - 00:00
London Session
Q1 - 00:00 - 01:30
Q2 - 01:30 - 03:00 (True Open)
Q3 - 03:00 - 04:30
Q4 - 04:30 - 06:00
NY AM Session
Q1 - 06:00 - 07:30
Q2 - 07:30 - 09:00 (True Open)
Q3 - 09:00 - 10:30
Q4 - 10:30 - 12:00
NY PM Session
Q1 - 12:00 - 13:30
Q2 - 13:30 - 15:00 (True Open)
Q3 - 15:00 - 16:30
Q4 - 16:30 - 18:00
S&P 500 E-mini Futures (5 minute candles) — 90 Minute Cycle.
Micro Cycles: Dividing the 90 Minute Cycle yields 22.5 Minute Quarters, also known as Micro Sessions or Micro Quarters:
Asian Session
Q1/1 18:00:00 - 18:22:30
Q2 18:22:30 - 18:45:00
Q3 18:45:00 - 19:07:30
Q4 19:07:30 - 19:30:00
Q2/1 19:30:00 - 19:52:30 (True Session Open)
Q2/2 19:52:30 - 20:15:00
Q2/3 20:15:00 - 20:37:30
Q2/4 20:37:30 - 21:00:00
Q3/1 21:00:00 - 21:23:30
etc. 21:23:30 - 21:45:00
London Session
00:00:00 - 00:22:30 (True Daily Open)
00:22:30 - 00:45:00
00:45:00 - 01:07:30
01:07:30 - 01:30:00
01:30:00 - 01:52:30 (True Session Open)
01:52:30 - 02:15:00
02:15:00 - 02:37:30
02:37:30 - 03:00:00
03:00:00 - 03:22:30
03:22:30 - 03:45:00
03:45:00 - 04:07:30
04:07:30 - 04:30:00
04:30:00 - 04:52:30
04:52:30 - 05:15:00
05:15:00 - 05:37:30
05:37:30 - 06:00:00
New York AM Session
06:00:00 - 06:22:30
06:22:30 - 06:45:00
06:45:00 - 07:07:30
07:07:30 - 07:30:00
07:30:00 - 07:52:30 (True Session Open)
07:52:30 - 08:15:00
08:15:00 - 08:37:30
08:37:30 - 09:00:00
09:00:00 - 09:22:30
09:22:30 - 09:45:00
09:45:00 - 10:07:30
10:07:30 - 10:30:00
10:30:00 - 10:52:30
10:52:30 - 11:15:00
11:15:00 - 11:37:30
11:37:30 - 12:00:00
New York PM Session
12:00:00 - 12:22:30
12:22:30 - 12:45:00
12:45:00 - 13:07:30
13:07:30 - 13:30:00
13:30:00 - 13:52:30 (True Session Open)
13:52:30 - 14:15:00
14:15:00 - 14:37:30
14:37:30 - 15:00:00
15:00:00 - 15:22:30
15:22:30 - 15:45:00
15:45:00 - 15:37:30
15:37:30 - 16:00:00
16:00:00 - 16:22:30
16:22:30 - 16:45:00
16:45:00 - 17:07:30
17:07:30 - 18:00:00
S&P 500 E-mini Futures (30 second candles) — 22.5 Minute Cycle.
Forever Model [Pro+] (Sniper)Introduction
Forever Model (Sniper) is a clean, structured framework for visualizing internal liquidity to external liquidity rotations. It identifies shifts in market delivery by combining internal liquidity zones (Fair Value Gaps), divergence between correlated markets (Smart Money Technique), and lower timeframe orderflow changes (Orderblocks).
Designed for repeatability, the model helps analysts build confidence through familiarity, not complexity.
Rather than attempting to forecast direction, this model focuses on recognizing recurring patterns in delivery behavior across Timeframes. It presents a structured visual logic that can support manual analysis, with the aid of alerts that prompt analysts to investigate and validate potential price rotations.
The model is non-repainting, thoughtfully built to highlight past rotations once formed. It offers flexibility across assets and Timeframes, adapting to analysts' preferences while remaining consistent in its components.
Description
The model is organized into a three-part sequence. These three conditions form the visual foundation of the model. All parameters can be customized to match your preferred timeframe, session, and market:
Internal Range Liquidity Tag (IRL)
Price must interact with a defined internal inefficiency—typically a Fair Value Gap (FVG), which is an area between a three candle structure where price moves rapidly, leaving an imbalance that may later be revisited to be filled for efficiency.
Smart Money Technique Divergence Detected (SMT)
SMT transpires as a crack in correlation between two assets – this divergence is used to indicate potential shifts in price delivery.
SMT can be observed between two correlated assets, where one makes a lower low while the other holds a higher low (or conversely, one makes a higher high while the other forms a lower high).
Similarly, SMT can also occur between inverse correlated assets, where one makes a lower low while the other holds a lower high (or conversely, one makes a higher high while the other forms a higher low).
Change in State of Delivery (CISD)
After SMT occurs, the model identifies a CISD—a strong close engulfing the body of a previous directional candle that sweeps a short-term high or low. This suggests that price may be shifting from one delivery regime to another. The candle is labelled as an Orderblock (OB) candidate, with optional projected measures for better range of opportunity estimation.
Key Features
Model History Control
Controls how many past model formations appear on the chart, with a maximum of 40. Analysts may use shorter history for live charting or increase the count when studying past performance or recurring conditions.
When History is equal to 0, it will only show only live models in development, or nothing if no models are currently active.
Note: historical invalidated rotations are visualized through small markers, and may not display the model's components unless reviewed in Replay Mode. This mechanism keeps the chart clean, and allows the analyst to focus on the confirmed rotations.
Directional Bias Filter
Filters whether the model shows formations in only one direction or both. For example, selecting “Bullish” displays only internal range zones and divergence setups that meet criteria for upside movement. This feature is crucial for allowing analysts to align with higher Timeframe bias or studying unidirectional structures.
SMT Pair Input
The model compares your active chart with a second asset to detect SMT Divergence. You may manually enter a symbol (e.g., ES1!, BTCUSD, NZDUSD) or use Automatic SMT Pair Detection , which selects the most relevant correlated market. Inverse SMT inverts the logic, useful for negatively correlated pairs (e.g., gold vs dollar).
For example, although the Automatic SMT Pair Detection for CME_MINI:NQ1! is CME_MINI:ES1! , one may decide to use a leading stock in the NASDAQ such as NASDAQ:NVDA :
Timeframe Alignment
Defines which higher Timeframe the IRL is drawn from, and which lower Timeframe is used to evaluate the Model's conditions. These Timeframe Alignments can be selected individually to only showcase a specific combination of IRL and LTF Conditions; for a more dynamic approach, the "Automatic" option adjusts these pairings based on the current chart Timeframe. By selecting the "Custom" option, analysts can define and monitor their own preferred Timeframe Alignment.
Example: 5m Conditions ➞ 1H IRL vs. 4H Conditions ➞ Weekly IRL
Fair Value Gap (FVG) Visualization
Fair Value Gaps are areas where price moved quickly between two candles without overlap—these areas represent the IRL of the model, and are often revisited before continuing. Optionally, the analyst can decide to showcase the Consequent Encroachment (CE), the midpoint where price begins to fill the imbalance. Further, the analyst can maintain a cleaner chart by only showing FVG where SMT occurs, substantially limiting the number of drawings on the chart.
SMT Visualization
Draws visual lines connecting SMT points between the HTF reference points of the current chart's asset, and the SMT Pair asset. Helps analysts confirm divergence location and relationship at a glance, especially when reviewing multiple correlated pairs.
Liquidity Sweep Visualization
Most recent short-term liquidity swept, which resulted in a CISD. Marking this liquidity pool—a high or low that has been taken out—provides context and can give additional insight to evaluate the current market rotation.
Orderblock + Projections (OB)
When a CISD is recognized, an OB candidate is plotted. Projections from the OB can be displayed at customizable distances, serving as measurements for better range of opportunity estimation.
External Range Liquidity (ERL)
External Range Liquidity refers to price levels that sit beyond internal structures—typically local highs or lows that may be revisited after a retracement, for continuation.
Session Filters + Timezone Control
Define up to four time blocks (e.g., London Open, NY AM, PM session, Asia) for when the model is active. Timezones are fully customizable, supporting global use cases and precise filtering of formations to sessions with expected volume or cleaner structure.
Information Table
A compact, floating panel is available to display key model parameters in real time: Timeframe Alignment, Bias Direction, Active SMT Pair, Time Filter Conditions, Date.
This feature provides immediate context under which the model is operating — especially useful during active chart review or multi-pair monitoring. The table can be repositioned, resized, or disabled entirely depending on visual preference.
Model Markers & Backtest Support
The model includes a visual marker system to support chart review and backtesting. These overlays provide reference points for past structure, showcasing the following:
Reaching an OB Projection after revisiting the OB
Reaching the External Range Liquidity after revisiting the OB
Reaching an OB Projection without revisiting the OB
Reaching the External Range Liquidity without revisiting the OB
Invalidating the detected OB
Fully Automated Framework: all these components, when put together in the Forever Model ($niper), yield a clean and simple approach to studying and observing market rotations, empowering analysts in seeing the market through $niper's point of view. Each component is customizable to the analyst's liking to match their unique visual and technical preferences.
Usage Guidance:
Add Forever Model ($niper) to your TradingView chart.
Select your preferred SMT Pair, Timeframe Alignments, Model Style, and Time Filters.
Automate your analysis process with Forever Model (Sniper) and leverage it into your existing strategies to fine-tune your view through Sniper's point of view.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Candle PercentageThis script calculates the percentage movement of the candle body from open to close and displays it as a label on the chart. The label color changes based on the candle's direction:
Green for bullish (price closes higher than it opened),
Red for bearish (price closes lower than it opened).
The script also allows you to select the label size, with the following options:
Tiny (very small text)
Small (small text)
Normal (default text size)
Large (large text)
Huge (giant text)
By default, the label size is set to Normal.
The percentage is calculated using the formula:
(Body Size / Open Price) * 100
This is helpful for traders who want to quickly assess the magnitude of price movement within each candle and analyze market sentiment based on the size of the body.
NYCSessionLibrary "NYCSession"
Library for New York trading session time functions
@author abneralvarado
@version 1.0
isInNYSession(sessionStart, sessionEnd)
Determines if the current bar is within New York trading session
Parameters:
sessionStart (simple int) : Starting time of NY session in 24hr format (HHMM) like 0930 for 9:30 AM ET
sessionEnd (simple int) : Ending time of NY session in 24hr format (HHMM) like 1600 for 4:00 PM ET
Returns: True if current bar is within the NY session time, false otherwise
getNYSessionStartTime(lookback, sessionStart)
Gets the start time of NY session for a given bar
Parameters:
lookback (simple int) : Bar index to check (0 is current bar)
sessionStart (simple int) : Starting time of NY session in 24hr format (HHMM)
Returns: Unix timestamp for the start of NY session on the given bar's date
getNYSessionEndTime(lookback, sessionEnd)
Gets the end time of NY session for a given bar
Parameters:
lookback (simple int) : Bar index to check (0 is current bar)
sessionEnd (simple int) : Ending time of NY session in 24hr format (HHMM)
Returns: Unix timestamp for the end of NY session on the given bar's date
isNYSessionOpen(sessionStart)
Checks if current bar opens the NY session
Parameters:
sessionStart (simple int) : Starting time of NY session in 24hr format (HHMM)
Returns: True if current bar marks the session opening, false otherwise
isNYSessionClose(sessionEnd)
Checks if current bar closes the NY session
Parameters:
sessionEnd (simple int) : Ending time of NY session in 24hr format (HHMM)
Returns: True if current bar marks the session closing, false otherwise
isWeekday()
Determines if the current day is a weekday (Mon-Fri)
Returns: True if current bar is on a weekday, false otherwise
getSessionBackgroundColor(sessionStart, sessionEnd, bgColor)
Gets session background color with transparency
Parameters:
sessionStart (simple int) : Starting time of NY session in 24hr format (HHMM)
sessionEnd (simple int) : Ending time of NY session in 24hr format (HHMM)
bgColor (color) : Background color for session highlighting
Returns: Color value for background or na if not in session
XX Swing TraderThe "XX Swing Trader" indicator is a versatile tool for TradingView that helps traders spot trends and manage risk directly on the price chart. Here’s a thorough explanation of its stop-loss strategy, described in plain terms as if you’re looking at the chart without knowing the code details.
### Stop-Loss Strategy Overview
This indicator gives you a clear way to set and adjust your stop-loss as a trade unfolds. It starts with fixed yellow lines marking key price levels and then uses two sets of moving trend lines—one tight and one loose—to trail your stop-loss as the trend grows.
1. **Initial Stop-Loss: Yellow Lines**
- **What You See**: Horizontal yellow lines appear on the chart—one above the price (a peak high) and one below (a peak low).
- **What They Mean**:
- The yellow line below the price is a major support level—a price where buyers have stepped in before.
- The yellow line above the price is a major resistance level—a price where sellers have pushed back.
- **How to Use Them**:
- For a **buy trade (long)**: Place your initial stop-loss just below the yellow line under the price. If the price drops below this support, it’s a sign the trade might be failing.
- For a **sell trade (short)**: Set your initial stop-loss just above the yellow line over the price. If the price climbs past this resistance, the trade could be going against you.
- **Why It Works**: These lines act as your first safety net, locking in a fixed point to exit if the price moves the wrong way early on.
2. **Moving Trend Lines: Tight and Loose Stop Areas**
- **What You See**: Two sets of colored lines appear as the price starts trending:
- **Green Lines** show an uptrend (price moving up).
- **Red Lines** show a downtrend (price moving down).
- Each trend has two lines: one closer to the price (tight) and one further away (loose).
- **First Trend Line (Tight Stop Area)**:
- **Appearance**: This is the green or red line nearest to the price.
- In an uptrend, it’s a green line below the price.
- In a downtrend, it’s a red line above the price.
- **What It Means**: This tight line follows the price closely, adjusting to recent ups and downs. It’s like a shadow that sticks near the action.
- **How to Use It**:
- For a **buy trade**: Once the price starts climbing and the green tight line appears, move your stop-loss from the yellow support line to just below this green line. It keeps your risk small while letting the trade develop.
- For a **sell trade**: When the price drops and the red tight line forms, shift your stop-loss from the yellow resistance line to just above this red line.
- **Why It Works**: The tight line is your cautious trailing stop—it protects profits early and gets you out fast if the trend stalls.
- **Second Trend Line (Loose Stop Area)**:
- **Appearance**: This is the green or red line farther from the price.
- In an uptrend, it’s a green line lower than the tight one.
- In a downtrend, it’s a red line higher than the tight one.
- **What It Means**: This loose line moves with the price but gives it more breathing room, tracking the bigger trend rather than every little wiggle.
- **How to Use It**:
- For a **buy trade**: As the uptrend gains steam and the price keeps rising, adjust your stop-loss to just below this green loose line. It lets the trade ride longer without getting stopped out by normal dips.
- For a **sell trade**: As the downtrend strengthens, move your stop-loss to just above the red loose line, allowing the price to bounce a bit without ending the trade.
- **Why It Works**: The loose line is your patient trailing stop—it’s great for bigger moves, giving the trend space to grow while still keeping you safe.
### How It Plays Out on the Chart
- **Starting a Trade**: You might enter a buy when the price bounces off the yellow support line or a sell when it rejects the yellow resistance line. Little yellow dots might also pop up to hint at trend changes.
- **Early Trend**: Once the trend kicks in (green lines for up, red for down), shift your stop-loss to the tight line. This keeps you close to the action.
- **Strong Trend**: As the price keeps trending, slide your stop-loss to the loose line. This locks in more profit while letting the trade run.
### Visual Guide
- **Yellow Lines**: Fixed high and low markers—your starting stop-loss.
- **Green Tight Line**: Close below the price in an uptrend—your early trailing stop.
- **Green Loose Line**: Further below in an uptrend—your longer-term stop.
- **Red Tight Line**: Close above the price in a downtrend—your early trailing stop.
- **Red Loose Line**: Further above in a downtrend—your longer-term stop.
This step-by-step system—yellow lines to tight trend lines to loose trend lines—helps you manage risk smartly, from the trade’s first moments to its full potential.
OverUnder Yield Spread🗺️ OverUnder is a structural regime visualizer , engineered to diagnose the shape, tone, and trajectory of the yield curve. Rather than signaling trades directly, it informs traders of the world they’re operating in. Yield curve steepening or flattening, normalizing or inverting — each regime reflects a macro pressure zone that impacts duration demand, liquidity conditions, and systemic risk appetite. OverUnder abstracts that complexity into a color-coded compression map, helping traders orient themselves before making risk decisions. Whether you’re in bonds, currencies, crypto, or equities, the regime matters — and OverUnder makes it visible.
🧠 Core Logic
Built to show the slope and intent of a selected rate pair, the OverUnder Yield Spread defaults to 🇺🇸US10Y-US2Y, but can just as easily compare global sovereign curves or even dislocated monetary systems. This value is continuously monitored and passed through a debounce filter to determine whether the curve is:
• Inverted, or
• Steepening
If the curve is flattening below zero: the world is bracing for contraction. Policy lags. Risk appetite deteriorates. Duration gets bid, but only as protection. Stocks and speculative assets suffer, regardless of positioning.
📍 Curve Regimes in Bull and Bear Contexts
• Flattening occurs when the short and long ends compress . In a bull regime, flattening may reflect long-end demand or fading growth expectations. In a bear regime, flattening often precedes or confirms central bank tightening.
• Steepening indicates expanding spread . In a bull context, this may signal healthy risk appetite or early expansion. In a bear or crisis context, it may reflect aggressive front-end cuts and dislocation between short- and long-term expectations.
• If the curve is steepening above zero: the world is rotating into early expansion. Risk assets behave constructively. Bond traders position for normalization. Equities and crypto begin trending higher on rising forward expectations.
🖐️ Dynamically Colored Spread Line Reflects 1 of 4 Regime States
• 🟢 Normal / Steepening — early expansion or reflation
• 🔵 Normal / Flattening — late-cycle or neutral slowdown
• 🟠 Inverted / Steepening — policy reversal or soft landing attempt
• 🔴 Inverted / Flattening — hard contraction, credit stress, policy lag
🍋 The Lemon Label
At every bar, an anchored label floats directly on the spread line. It displays the active regime (in plain English) and the precise spread in percent (or basis points, depending on resolution). Colored lemon yellow, neither green nor red, the label is always legible — a design choice to de-emphasize bias and center the data .
🎨 Fill Zones
These bands offer spatial, persistent views of macro compression or inversion depth.
• Blue fill appears above the zero line in normal (non-inverted) conditions
• Red fill appears below the zero line during inversion
🧪 Sample Reading: 1W chart of TLT
OverUnder reveals a multi-year arc of structural inversion and regime transition. From mid-2021 through late 2023, the spread remains decisively inverted, signaling persistent flattening and credit stress as bond prices trended sharply lower. This prolonged inversion aligns with a high-volatility phase in TLT, marked by lower highs and an accelerating downtrend, confirming policy lag and macro tightening conditions.
As of early 2025, the spread has crossed back above the zero baseline into a “Normal / Steepening” regime (annotated at +0.56%), suggesting a macro inflection point. Price action remains subdued, but the shift in yield structure may foreshadow a change in trend context — particularly if follow-through in steepening persists.
🎭 Different Traders Respond Differently:
• Bond traders monitor slope change to anticipate policy pivots or recession signals.
• Equity traders use regime shifts to time rotations, from growth into defense, or from contraction into reflation.
• Currency traders interpret curve steepening as yield compression or divergence depending on region.
• Crypto traders treat inversion as a liquidity vacuum — and steepening as an early-phase risk unlock.
🛡️ Can It Compare Different Bond Markets?
Yes — with caveats. The indicator can be used to compare distinct sovereign yield instruments, for example:
• 🇫🇷FR10Y vs 🇩🇪DE10Y - France vs Germany
• 🇯🇵JP10Y vs 🇺🇸US10Y - BoJ vs Fed policy curves
However:
🙈 This no longer visualizes the domestic yield curve, but rather the differential between rate expectations across regions
🙉 The interpretation of “inversion” changes — it reflects spread compression across nations , not within a domestic yield structure
🙊 Color regimes should then be viewed as relative rate positioning , not absolute curve health
🙋🏻 Example: OverUnder compares French vs German 10Y yields
1. 🇫🇷 Change the long-duration ticker to FR10Y
2. 🇩🇪 Set the short-duration ticker to DE10Y
3. 🤔 Interpret the result as: “How much higher is France’s long-term borrowing cost vs Germany’s?”
You’ll see steepening when the spread rises (France decoupling), flattening when the spread compresses (convergence), and inversions when Germany yields rise above France’s — historically rare and meaningful.
🧐 Suggested Use
OverUnder is not a signal engine — it’s a context map. Its value comes from situating any trade idea within the prevailing yield regime. Use it before entries, not after them.
• On the 1W timeframe, OverUnder excels as a macro overlay. Yield regime shifts unfold over quarters, not days. Weekly structure smooths out rate volatility and reveals the true curvature of policy response and liquidity pressure. Use this view to orient your portfolio, define directional bias, or confirm long-duration trend turns in assets like TLT, SPX, or BTC.
• On the 1D timeframe, the indicator becomes tactically useful — especially when aligning breakout setups or trend continuations with steepening or flattening transitions. Daily views can also identify early-stage regime cracks that may not yet be visible on the weekly.
• Avoid sub-daily use unless you’re anchoring a thesis already built on higher timeframe structure. The yield curve is a macro construct — it doesn’t oscillate cleanly at intraday speeds. Shorter views may offer clarity during event-driven spikes (like FOMC reactions), but they do not replace weekly context.
Ultimately, OverUnder helps you decide: What kind of world am I trading in? Use it to confirm macro context, avoid fighting the curve, and lean into trades aligned with the broader pressure regime.
Stoch_RSI_ChartEnhanced Stochastic RSI Divergence Indicator with VWAP Filter for Charts
This custom indicator builds upon the classic Stochastic RSI to automatically detect both regular and hidden divergences. It’s designed to help traders spot potential market reversals or continuations using two methods for divergence detection (fractal‑ and pivot‑based) while offering optional VWAP filtering for confirmation.
Key Features
Stoch RSI Calculation
The indicator computes a smoothed Stoch RSI using configurable parameters for RSI length, stochastic length, and smoothing periods. An option to average the K and D lines provides a cleaner momentum view.
Divergence Detection via Fractals & Pivots
Fractal-Based Divergences:
Looks for 4-candle patterns to identify higher-highs or lower-lows in the price that are not confirmed by the oscillator, signaling potential reversals.
Pivot-Based Divergences:
Utilizes TradingView’s built-in pivot functions to find divergence conditions over adjustable pivot ranges.
Regular vs. Hidden Divergences:
Regular Divergence: Occurs when price makes a new extreme (higher high or lower low) while the Stoch RSI fails to follow suit.
Hidden Divergence: Indicates potential trend continuations when the oscillator diverges against the established price trend.
Optional VWAP Filtering
The script includes two optional VWAP filters that work as follows:
VWAP Filter on Regular Divergences:
Only confirms regular divergence signals if the current price satisfies the VWAP condition (e.g., price is above VWAP for bullish signals, below VWAP for bearish signals).
VWAP Filter on Hidden Divergences:
Similarly, hidden divergence signals are validated only when the price meets specific VWAP conditions, adding an extra layer of trend confirmation.
Customizable Alerts and Visual Labels
Easily configure divergence labels (“B” for bullish, “S” for bearish) and enable up to four alert conditions for real‑time notifications when a divergence occurs.
Credits & History:
Log RSI by @fskrypt
Divergence Detection originally by @RicardoSantos (with edits from @JustUncleL)
Further Edits by @NeoButane on August 8, 2018
Latest Edits by @FYMD on June 1, 2024
DI+/- Cross Strategy with ATR SL and 2% TPDI+/- Cross Strategy with ATR Stop Loss and 2% Take Profit
📝 Script Description for Publishing:
This strategy is based on the directional movement of the market using the Average Directional Index (ADX) components — DI+ and DI- — to generate entry signals, with clearly defined risk and reward targets using ATR-based Stop Loss and Fixed Percentage Take Profit.
🔍 How it works:
Buy Signal: When DI+ crosses above 40, signaling strong bullish momentum.
Sell Signal: When DI- crosses above 40, indicating strong bearish momentum.
Stop Loss: Dynamically calculated using ATR × 1.5, to account for market volatility.
Take Profit: Fixed at 2% above/below the entry price, for consistent reward targeting.
🧠 Why it’s useful:
Combines momentum breakout logic with volatility-based risk management.
Works well on trending assets, especially when combined with higher timeframe filters.
Clean BUY and SELL visual labels make it easy to interpret and backtest.
✅ Tips for Use:
Use on assets with clear trends (e.g., major forex pairs, trending stocks, crypto).
Best on 30m – 4H timeframes, but can be customized.
Consider combining with other filters (e.g., EMA trend direction or Bollinger Bands) for even better accuracy.
@ZB MTF Nadaraya-Watson: Rational Quadratic Kernel Regression@ZB MTF Nadaraya-Watson: Rational Quadratic Kernel Regression
Elevate your trading analysis with this advanced indicator that unifies seven timeframe perspectives into a single, coherent view. By combining multi-timeframe trend evaluation with a robust, non-parametric regression technique, this tool not only highlights market direction but also signals periods of alignment and choppiness.
Key Features
Integrated Multi-Timeframe Analysis:
Simultaneously analyze trends across seven timeframes in one chart. This unified approach provides a clear snapshot of whether different market horizons are in agreement or if the market is experiencing indecision and choppiness.
Customizable Regression Settings:
Fine-tune the regression model to suit your trading strategy with several adjustable parameters:
Source Price:
Define which price (typically the close) is used as the foundation for regression analysis.
Lookback Window (h):
Set the number of bars included in the calculation. A broader lookback smooths the trend line by incorporating more historical data, while a shorter window increases responsiveness to recent market moves.
Relative Weighting (r):
Adjust the influence of past price data through a relative weighting factor within the kernel function. This controls how sharply the weight decays with time, ensuring that both recent and older price movements are appropriately balanced.
Start Regression at Bar (x₀):
Specify the bar from which the regression should commence, allowing you to disregard early data and concentrate on the most relevant market activity.
Lag:
Apply a customizable lag to smooth the output further. This lag helps in identifying more reliable crossovers and reducing noise in the trend detection process.
Dynamic Visual Cues:
Adaptive Trend Colors:
The indicator employs customizable bullish and bearish colors that shift dynamically based on market conditions, giving you immediate visual insights into the prevailing trend.
Fill and Markers:
Optional visual enhancements such as fills between trend lines and crossover markers accentuate key alignment shifts and potential reversal points.
Comprehensive Trend Summary:
A built-in trend table summarizes the directional momentum across all seven timeframes. With adjustable positioning, this table offers an at-a-glance overview, making it easier to assess overall market sentiment.
About the Regression Methodology
At the heart of this indicator lies the Nadaraya-Watson estimator—a non-parametric regression technique that calculates a weighted average of historical price data. In this implementation, the estimator leverages a rational quadratic kernel:
Nadaraya-Watson Estimator:
This method computes a smooth trend line by averaging past data points, assigning weights that diminish with time. It adapts flexibly to changes without imposing a rigid model structure.
Rational Quadratic Kernel:
The kernel function, which is a form of quadratic (but with a rational formulation), assigns weights based on the squared differences of historical data. This approach effectively balances the influence of recent price movements against longer-term trends, reducing the likelihood of overfitting and capturing the true underlying market dynamics.
How It Works
Regression Calculation:
The script calculates a kernel regression for each timeframe by applying the Nadaraya-Watson estimator. It uses user-defined settings (source price, lookback window, relative weighting, starting bar, and lag) to generate a smooth trend line that reflects current market behavior.
Trend Analysis:
By comparing sequential regression values and incorporating the lag parameter, the indicator detects periods of alignment or divergence across timeframes. These signals are visualized with dynamic colors, fills, and markers—highlighting clear trends as well as moments when the market becomes choppy.
Consolidated View:
The integrated trend table and unified chart presentation enable traders to quickly assess the multi-timeframe consensus, essential for making informed trading decisions.
Customization and Flexibility
Tailored Analysis:
Adjust key regression parameters to align the indicator with your trading strategy. Whether you prefer a more reactive or smooth trend line, the flexibility provided by the customizable settings ensures that you can optimize the tool for various market conditions.
Enhanced Visualizations:
Personalize the visual output—choose your own colors for bullish and bearish states, and decide whether to enable fills or markers—to make the indicator seamlessly integrate with your charting style.
Comprehensive Market Insight:
Whether you’re tracking clear directional trends or identifying choppy markets across multiple timeframes, this indicator provides a multi-layered perspective, empowering you to fine-tune your strategy and make proactive decisions.
Harness the advanced power of multi-timeframe analysis combined with the precision of Nadaraya-Watson and rational quadratic kernel regression to gain a deeper, clearer view of the markets.
Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Stoch_RSIStochastic RSI – Advanced Divergence Indicator
This custom indicator is an advanced version of the Stochastic RSI that not only smooths and refines the classic RSI input but also automatically detects both regular and hidden divergences using two powerful methods: fractal-based and pivot-based detection. Originally inspired by contributions from @fskrypt, @RicardoSantos, and later improved by developers like @NeoButane and @FYMD, this script has been fully refined for clarity and ease-of-use.
Key Features:
Dual Divergence Detection:
Fractal-Based Divergence: Uses a four-candle pattern to confirm top and bottom fractals for bullish and bearish divergences.
Pivot-Based Divergence: Employs TradingView’s built-in pivot functions for an alternate view of divergence conditions.
Customizable Settings:
The inputs are organized into logical groups (Stoch RSI settings, Divergence Options, Labels, and Market Open Settings) allowing you to adjust smoothing periods, RSI and Stochastic lengths, and divergence thresholds with a user-friendly interface.
Visual Enhancements:
Plots & Fills: The indicator plots both the K and D lines with corresponding fills and horizontal bands for quick visual reference.
Divergence Markers: Diamond shapes and labeled markers indicate regular and hidden divergences on the chart.
Market Open Highlighting: Optional histogram plots highlight the market open candle based on different timeframes for stocks versus non-forex symbols.
CandelaCharts - Premium & Discount 📝 Overview
Premium and Discount are key concepts in ICT (Inner Circle Trader) trading strategies, used to pinpoint ideal entry and exit points in the market. These concepts are based on an understanding of market structure and the behavior of institutional traders, commonly referred to as Smart Money.
To understand the Premium and Discount zones, it's crucial to first grasp the concept of the equilibrium level, also known as the basic or fair value. The equilibrium represents the midpoint of a given price range and acts as a reference point, dividing the range into Premium and Discount zones.
The equilibrium reflects the "fair value" of the price within the considered range. Traders use this as a benchmark to assess whether the current price is in the Premium or Discount zone.
The Premium zone lies above the equilibrium level, while the Discount zone is located below it within the price range.
📦 Features
Swing-based detection
Custom detection
Modes
Styling
⚙️ Settings
Range: Determines how you will identify Premium and Discount, either by swing points or by custom date.
Mode: Controls what UI will be displayed
Premium: Sets the Premium color
Discount: Sets the Discount color
Equilibrium: Sets the Equilibrium color
Labels: Controls the labels visibility
⚡️ Showcase
Pro Mode
Solid Mode
Outlined Mode
Flat Mode
The Indicator can be effortlessly applied in replay mode to highlight premium and discount zones based on the most prominent market swings.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
NY ORB, VWAP & EMAsIndicator is designed to display key technical analysis tools on your Trading View chart. It includes:
One of the key benefits of this indicator is that it allows Basic Trading View users to set VWAP, EMAs, and ORB in a single indicator. This is particularly useful for users who are limited to a single indicator on their Basic plan, as it provides a comprehensive view of market sentiment, trend, and potential breakouts without the need for multiple indicators.
Features
New York Opening Range Breakout (ORB): Plots the high and low of the first 15 minutes (configurable) of the New York trading session.
Volume Weighted Average Price (VWAP): Displays the VWAP line, which can be toggled on or off.
Exponential Moving Averages (EMAs): Plots four EMAs (9, 21, 50, and 200 periods), which can also be toggled on or off.
Customization
ORB Length: Choose from 5 or 15 minutes for the ORB calculation.
Show VWAP and EMAs: Toggle the visibility of the VWAP and EMA lines on or off.
Usage
This indicator is designed to help traders identify key market levels, trends, and potential breakouts during the New York trading session. The ORB can be used to gauge market sentiment, while the VWAP provides a benchmark for average price action. The EMAs offer additional trend analysis and can be used to identify potential support and resistance levels.
TrendTwisterV1.5 (Forex Ready + Indicators)A Precision Trend-Following TradingView Strategy for Forex**
HullShiftFX is a Pine Script strategy for TradingView that combines the power of the **Hull Moving Average (HMA)** and a **shifted Exponential Moving Average (EMA)** with multi-layered momentum filters including **RSI** and **dual Stochastic Oscillators**.
It’s designed for traders looking to catch high-probability breakouts with tight risk management and visual clarity.
Chart settings:
1. Select "Auto - Fits data to screen"
2. Please Select "Scale Price Chart Only" (To make the chart not squished)
### ✅ Entry Conditions
**Long Position:**
- Price closes above the 12-period Hull Moving Average.
- Price closes above the 5-period EMA shifted forward by 2 bars.
- RSI is above 50.
- Stochastic Oscillator (12,3,3) %K is above 50.
- Stochastic Oscillator (5,3,3) %K is above 50.
- Hull MA crosses above the shifted EMA.
**Short Position:**
- Price closes below the 12-period Hull Moving Average.
- Price closes below the 5-period EMA shifted forward by 2 bars.
- RSI is below 50.
- Stochastic Oscillator (12,3,3) %K is below 50.
- Stochastic Oscillator (5,3,3) %K is below 50.
- Hull MA crosses below the shifted EMA.
---
## 📉 Risk Management
- **Stop Loss:** Set at the low (for long) or high (for short) of the previous 2 candles.
- **Take Profit:** Calculated at a risk/reward ratio of **1.65x** the stop loss distance.
---
## 📊 Indicators Used
- **Hull Moving Average (12)**
- **Exponential Moving Average (5) **
- **Relative Strength Index (14)**
- **Stochastic Oscillators:**
- %K (12,3,3)
- %K (5,3,3)
Long Short Momentum with Signals
Long and Short momentum
WHEN SHORT MOMENTUM CHANGES 2.0 POINTS and long term changes 5 points on day basis write A for Bullish and B for Bearish on Main Price chart
WHEN SHORT MOMENTUM CHANGES .30 per hour POINTS and long term changes 1 points on 1 hour basis. Put a green dot for Bull and red for bear in short term and for long termRespectively on price chart
TS- Multitimeframe📊 The Trend Synchronizer – Multitimeframe Scalper 🔁
Indicator added at the of the chart. - Just in case anyone is confused, and one on chart as overlay is our own Delta zones indicator - as usual available to use for everyone.
🚀 Precision Aligned, Momentum Enhanced
Welcome to the Trend Synchronizer (TS) – a custom-built, multitimeframe momentum indicator developed for active traders looking to scalp lower timeframes (1–5 min) while staying in sync with broader market direction.
🔍 What Is It?
The Trend Synchronizer is an advanced momentum oscillator designed to identify entry opportunities only when multiple timeframes align.
It overlays real-time momentum signals from higher aggregations to ensure your trade is moving with the market, not against it.
✅ When short-term momentum aligns with higher timeframe direction, opportunities are clearer, stronger, and more reliable.
🧠 How to Use It (No Settings Needed)
This tool is ready to go out of the box.
It uses three internal timeframes (default: 1m, 5m, 30m) and processes their behavior to create momentum signals. Here's how to trade it:
📈 Entries
Buy Bias: When histogram bars turn bullish colors across layers and align positively.
Sell Bias: When histogram bars shift to bearish tones, confirming momentum is to the downside.
Avoid Signals when higher timeframe momentum and lower timeframe are diverging – that's when chop often occurs.
⏳ Timeframes
Default is tuned for scalping (1–5m charts), but can be adjusted.
You can change TF1, TF2, and TF3 to experiment with your preferred layers (e.g., 5m/15m/1H for intraday swing entries).
🟢 Color Cues
The color scheme helps you spot bullish and bearish dominance quickly.
Histograms are visually synced: above 0 = strength, below 0 = weakness.
⚙️ Settings
You don’t need to tweak anything unless you want to. The inputs are exposed only for fine-tuners.
TS1, TS2, TS3: Toggle momentum layers on/off.
Custom colors available for personalization.
Clean histogram-style display for clear, fast decision-making.
📌 Best Practices
Combine with price action and volume for higher conviction.
Always look for trend confirmation on your chart before executing.
It’s ideal for:
Momentum scalpers
Order flow traders
High-frequency setups
Trend pullbacks & breakouts
⚠️ Disclaimer
This indicator is for educational purposes only. It is not financial advice and does not guarantee profitability. Always do your own research and use proper risk management. You are solely responsible for your trading decisions.
✨ Final Word
The Trend Synchronizer is a tool designed to help you align with the flow of the market – not fight it. It simplifies the complexity of multiple timeframes into a visual format any trader can interpret.
If you find it useful, don’t forget to ⭐ it and drop a comment with your feedback!
Happy trading and stay in sync!
PMO + Daily SMA(55)PMO + Daily SMA(55)
This script plots the Price Momentum Oscillator (PMO) using the classic DecisionPoint methodology, along with its signal line and the 55-period Simple Moving Average (SMA) of the daily PMO.
PMO is a smoothed momentum indicator that measures the rate of change and helps identify trend direction and strength. The signal line is an EMA of the PMO, commonly used for crossover signals.
The 55-period SMA of the daily PMO is added as a longer-term trend filter. It remains based on daily data, even when applied to intraday charts, making it useful for aligning lower timeframe trades with higher timeframe momentum.
Ideal for swing and position traders looking to combine short-term momentum with broader trend context.