Trade Position Sizing | OpusTrade Position Sizing | Opus
Technical Indicator Overview
The Trade Position Sizing | Opus is a versatile trading tool designed to optimize position sizing and risk management directly on your chart. By integrating user-defined entry, stop-loss, and take-profit levels with a customizable risk amount, this indicator calculates precise position sizes and visualizes trade setups with dynamic lines, gradient fills, and an insightful dashboard. Ideal for traders seeking to balance risk and reward with a visually engaging interface.
Key Features 🌟
Risk-Based Position Sizing: Calculates position size based on a fixed risk amount and the distance between entry and stop-loss prices.
Dynamic Price Level Visualization: Plots entry, stop-loss, and take-profit lines with customizable lengths and gradient-filled areas for clear trade zones.
Real-Time Trade Dashboard: Displays critical metrics like position size, risk-reward ratio, and profit/loss progress in a sleek, customizable table.
Themeable Aesthetics: Offers multiple color themes (e.g., Synthwave, Outrun, Lush) with vibrant long (profit) and short (loss) colors for intuitive analysis.
Gradient Fill Effects: Enhances chart readability with optional multi-step gradient fills between price levels, reflecting trade direction and intensity.
Usage Guidelines 📋
Long Trades: Set an entry price above the stop-loss; the indicator sizes the position and highlights potential profit (long color) and loss (short color) zones.
Short Trades: Set an entry price below the stop-loss; the tool adjusts visuals and calculations accordingly for downward moves.
Risk Management: Input your desired risk amount to ensure position size aligns with your risk tolerance, monitored via the dashboard.
Trade Monitoring: Use the dashboard to track current price progress toward take-profit or stop-loss, with real-time profit/loss updates.
Customizable Settings ⚙️
Risk Amount: Define the dollar amount you’re willing to risk per trade (default: $100).
Price Levels: Set entry, stop-loss, and take-profit prices to match your strategy.
Line Length: Adjust the duration (in bars) of the plotted price lines (default: 50).
Color Theme: Choose from Synthwave, Outrun, Lush, Eighties, Sapphire, Scarlet Blues, or Origins for a personalized look.
Visual Options: Toggle gradient fills, adjust table position (top_right, top_left, etc.), and set label offsets for a tailored display.
Applications 🌍
The Trade Position Sizing | Opus is perfect for traders who prioritize disciplined risk management and clear trade visualization. Whether you’re scalping, swing trading, or planning long-term positions, this tool simplifies position sizing, enhances trade planning, and provides real-time insights—all under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital.
Technical Methodology (Bonus Section) 🔍
. Position Sizing Calculation: Divides the risk amount by the absolute difference between entry and stop-loss prices to determine units.
. Risk-Reward Analysis: Computes the risk-reward ratio based on percentage distances to stop-loss and take-profit levels.
. Visualization Logic: Draws price lines with theme-based colors (e.g., cyan for profit, magenta for loss in Synthwave) and applies gradient fills with 20 opacity steps.
. Dashboard Metrics: Updates real-time data including profit/loss percentages, progress to take-profit, and trade direction, adapting to chart background for optimal contrast.
All under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital.
Statistics
Statistical Price Bands with MTF Bands by QTX Algo SystemsStatistical Price Bands with MTF Bands by QTX Algo Systems
Overview
This indicator builds on the original Statistical Price Bands with Trend Filtering script by introducing Multi-Timeframe (MTF) Band Visualization. While the base version calculated adaptive price bands using statistical percentiles, trend filtering, and volatility adjustments, this enhanced version adds support/resistance bands from multiple timeframes onto the current chart.
This is not a minor cosmetic update. The MTF version includes additional request.security() logic and significantly increases context by allowing traders to reference band extremes from longer or shorter timeframes without switching charts. For this reason, the original and MTF versions are maintained separately, as this script requires a Pro+ or Premium TradingView plan to function correctly.
What’s New in This Version
Multi-Timeframe Band Support: Fetches and displays upper and lower bands from other timeframes (e.g., 30min, 1H, 4H, 1D, 1W, 1M).
Chart-Based MTF Labels: Each band is labeled with its source timeframe (e.g., “1D U” = 1-Day Upper Band) for easy visual reference.
Custom Timeframe Control: Users can toggle specific timeframes on/off depending on their preferences and strategy.
Core Calculation Method (Unchanged)
Statistical Percentile Calculation:
Determines upper and lower thresholds using a historical percentile method applied to price deviations from a VWMA anchor.
Volatility Adjustment:
Dynamically scales the percentile thresholds based on a volatility factor (standard deviation vs. moving average).
Trend Filtering:
Adds a directional bias based on whether price is above or below its VWMA, pushing the bands higher in uptrends and lower in downtrends.
MTF Band Integration
This version calculates additional statistical bands using the same logic as the chart’s timeframe, but applies it to other timeframes selected by the user. These values are fetched using request.security() and then plotted onto the current chart using lines and labels.
This functionality allows traders to:
See if current price is extended compared to higher timeframe extremes.
Spot trend continuation or exhaustion relative to intraday or macro levels.
Identify areas of confluence for trade entries, exits, or stop placement.
Inputs & Customization
Statistical Percentile (default: 95)
Controls how extreme the bands are. Higher values = wider bands.
Lookback Period (default: 350)
Number of bars used to calculate percentiles. Longer = smoother bands.
VWMA Length (default: 20)
Sets the moving average anchor for calculating relative price deviation.
Volatility Factor Multiplier (default: 1.0)
Scales the influence of market volatility on band width.
Trend Strength Multiplier (default: 10.0)
Adjusts how far bands shift in the direction of the trend.
Timeframe Toggles (MTF)
Select which timeframes (e.g., 1H, 4H, 1D, 1W) to show on the chart.
Label Offset
Controls how far right MTF labels appear on the chart.
Use Case Scenarios
Overextension Detection:
Price touching or breaching an MTF band may suggest exhaustion, especially if confirmed by confluence or divergence.
Trend Confirmation:
Bands tilting in one direction across multiple timeframes can suggest strong trend alignment.
Risk Management:
Use bands from higher timeframes as trailing stops or invalidation zones.
Why This Is a Separate Script
This version uses request.security() to retrieve values from multiple timeframes, which:
Requires an upgraded TradingView plan (Pro+ or higher).
May impact performance on lower-tier plans.
Provides a major functional difference from the original, not a minor tweak or cosmetic upgrade.
To maintain compatibility and accessibility for all users, both versions are published separately:
The original for single-timeframe users.
This version for those using a multi-timeframe workflow.
Disclaimer
This script is for educational purposes only. It is intended to support your analysis—not to predict outcomes or replace risk management. Past performance is not indicative of future results. Always perform your own analysis and trade responsibly.
Shisha Prop Price LimitsSimple indicator to help you know where the price limits are from CME.
How to use:
On the chart two lines are plotted. 5% and 7%.
At 5% all prop firms stops you from trading or you fail
at 7% the market itself will halt and all trading will stop.
Do not trade after price hits 5%.
Chonky ATR Levels 2.0Show ATR based high/low projections.
Choose a custom ATR calculation in the indicator's settings.
The default is a 20day RMA based ATR.
----------How projections are calculated----------
To project the ATR High, the ATR value is added to the low of the current candle that matches the ATR's timeframe.
To project the ATR Low, the ATR value is subtracted from the high of the current candle that matches the ATR's timeframe.
Example:
If a 20day RMA ATR is used:
- the ATR High will be the current day's low + the ATR value.
- the ATR Low will be the current day's high - the ATR value.
*However*, if the price action exceeds either ATR projection, the opposite ATR level will be fixed to the extreme of the period.
See the AUDUSD screenshot above for an example.
The ATR Low was exceeded, so the ATR High projection is capped at the high of day.
If the ATR High is exceeded, the ATR Low would be capped at the low of day.
SmallCapToLargecapRatioThis Ratio Shows when to shift your allocation from Small Cap to Large Cap before a potential crash. So that you can protect your wealth.
Ex. When the ratio is around 2 (1.6-1.8) (Shift from SMALL CAP to LARGE CAP )
When the ratio is 1 or below (Shift from LARGE CAP to SMALL CAP )
Aim hack - Ultra-precise scalping Sniper indicator📌 **Aim hack – Ultra-Precision Scalping Signal Indicator**
🔐 Invite-only access (Premium Indicator)
---
### 🎯 Overview
Aim hack is a scalping-optimized signal indicator designed for **5-minute chart trading**.
It detects highly precise long/short entries based on internal momentum dynamics —
refined through extensive live testing and real-world execution.
---
### 💥 What makes Aim hack different?
Most indicators either lag or repaint. Aim hack does neither.
Instead of reacting to trends too late or relying on smoothed historical behavior,
it **calculates in real time** and may show or retract signals as the candle evolves.
Only when a signal **remains at candle close**, it is considered valid and actionable.
Unlike most systems that follow price, Aim hack actively anticipates sharp turns
by highlighting reversal conditions **even on red (long) or green (short) candles**.
---
### 🔬 How it works (Core Principle)
Aim Hack identifies potential reversal points by combining:
- A fast-reacting internal oscillator to detect micro shifts in overbought/oversold behavior
- A proprietary **smoothed sentiment curve**, derived from real-time price pressure and positioning
→ This acts as a “market thermometer,” reflecting emotional tension building beneath the surface
Signals only appear when **multiple internal filters align**,
ensuring high-confidence entries during sentiment imbalance zones.
Final validation occurs **only at candle close**,
preventing repainting while maintaining responsiveness.
---
### 📌 Signal Types
Aim hack provides **entry signals only**.
Exit timing is left to your trading plan and discretion.
It includes two signal types:
- 🔺 **Triangle** → Strict conditions, high conviction
- 🔷 **Diamond (Check)** → Looser conditions for early warning or confirmation
---
### ⚙️ Sensitivity Control
Aim hack includes **5 adjustable sensitivity levels** for both Long and Short setups.
| Level | Behavior |
|-------|----------|
| 1 | More frequent signals, faster triggers, more noise
| 3 | Balanced default
| 5 | Minimal signals, strict triggers, higher precision
Customize your levels to match your strategy and risk tolerance.
---
### 🧠 Suggested Use
Optimized for **5-minute scalping**, with solid performance on **3 to 10-minute charts**.
Not recommended for higher timeframes.
Aim hack shows you **where to enter**,
but deciding **whether** to enter — and more importantly, **when to exit** — is where supporting tools help.
> 💡 This is why we recommend using **Stochastic RSI and/or Map hack** alongside Aim Hack.
- **Stochastic RSI** gives fast feedback on momentary overbought/oversold conditions
→ Great for spotting when a strong move is nearing exhaustion
- **Map hack** offers a broader emotional context —
showing if the market is building pressure, overheated, or resetting sentiment
Using Aim Hack together with these tools helps you answer:
- ❓ *Is this signal forming at the end of a real move — or in the middle of noise?*
- ❓ *Is the emotional tension aligned with my entry?*
- ❓ *Should I hold, exit, or wait?*
Together, they form a **scalping ecosystem** —
with entries, sentiment, and exit filtering all covered.
---
### ⚠️ Important Notes
Aim Hack is a **scalping tool**, not a guarantee of profit.
It is designed to help reduce the burden of entry timing in fast-moving markets.
However, **it does not ensure 100% win rate**,
and cannot fully react to sudden moves caused by major macroeconomic events or black swan volatility.
Please always combine it with solid risk management and broader market awareness.
We recommend using Aim Hack **only for lower timeframes (3–10 minute charts)**.
For higher timeframes such as 1-hour or 4-hour, it should be treated as **reference-only**, not for execution.
---
### ✅ Features
- Real-time Long/Short signal detection
- Dual-mode signal output (Strict / Check)
- 5-level sensitivity configuration
- Zero repainting — all signals confirmed at candle close
---
### 🔐 Access Instructions
This script is **Invite-only**.
To gain access, please complete your subscription first,
then send your TradingView username via direct message.
Access is usually granted within 24 hours,
but please allow for extra time if necessary due to manual processing.
Metatrader CalculatorThe “ Metatrader Calculator ” indicator calculates the position size, risk, and potential gain of a trade, taking into account the account balance, risk percentage, entry price, stop loss price, and risk/reward ratio. It supports the XAUUSD, XAGUSD, and BTCUSD pairs, automatically calculating the position size (in lots) based on these parameters. The calculation is displayed in a table on the chart, showing the lot size, loss in dollars, and potential gain based on the defined risk.
Saeki Hisoka's Crypto Market SessionsSaeki Hisoka’s Crypto Trading Sessions Indicator Documentation
🚨 Attention Crypto Traders : Timing is everything in the market. 🚨
Crypto markets are active 24/7, but specific regions experience more liquidity and volatility at certain times. Knowing these active periods can be the difference between successful trades and missed opportunities. That's why we developed **Saeki Hisoka’s Crypto Trading Sessions Indicator**—to help you track when the major market sessions are active.
💡 Purpose of This Indicator
The Crypto market never sleeps. However, certain regions like Asia, Europe, and the US have distinct active hours that influence volatility and liquidity. This indicator helps you easily visualize these timeframes so you can align your trading strategy with peak market activity.
🌍 T rading Sessions Covered :
- Asia Session (00:00 - 09:00 UTC) :
- Key Hubs: Tokyo, Hong Kong, Singapore, Shanghai, Seoul
- Asia sets the tone for the day's price action with high liquidity and institutional movements.
- Europe Session (07:00 - 16:00 UTC) :
- Key Hubs: London, Frankfurt, Zurich, Paris, Amsterdam
- Europe drives significant volatility, especially during overlaps with the Asia session.
- US Session (13:00 - 22:00 UTC) :
- Key Hubs: New York, Chicago, Toronto, San Francisco
- The US session is often where the final big moves happen, driven by major institutional players.
🔧 Setup Instructions
This indicator is plug-and-play and easy to use! Once added to your chart, the indicator will automatically highlight the three key trading sessions with corresponding labels:
- Asia : Light blue background with an "Asia" label
- Europe : Light green background with a "Europe" label
- US : Light red background with a "US" label
How to Add :
Follow these simple steps to add the Crypto Trading Sessions Indicator to your TradingView chart:
1. Open TradingView :
- Log into your TradingView account or create one if you haven’t already.
- Open the chart of your choice.
2. Go to the Pine Script Editor :
- At the top of your TradingView chart, click on the **Pine Editor** tab.
3. Copy and Paste the Provided Code :
- Copy the code provided for the **Saeki Hisoka’s Crypto Trading Sessions Indicator**.
- Paste the code into the Pine Script Editor window.
4. Add to Chart :
- After pasting the code, click on **Add to Chart** at the top of the editor.
- The indicator will now be applied to your chart, automatically highlighting the trading sessions for Asia, Europe, and the US with corresponding labels and background colors.
5. Adjust and Customize (Optional) :
- You can customize the appearance of the indicator by modifying the color settings or label positions directly in the script.
- If you wish to modify time settings for the trading sessions, adjust the times in the session definitions within the code.
6. Verify :
- Once the indicator is added, the chart will automatically show the regions with background colors and labels for Asia , Europe , and US trading sessions.
- The sessions will be clearly marked, giving you insight into when liquidity and volatility are expected to be highest.
Important Note:This version of the indicator is currently restricted to timeframes up to 8 hours . Future updates and versions will enable support for all timeframes.
How to Use
* Strategic Entry & Exit Points : With the indicator showing you the exact active times for each session, you can time your entries and exits around periods of high liquidity and volatility.
* Identify Key Breakouts & Volatility Shifts : The Asia session often opens with slower movements, the Europe session may bring consolidation or reversals, and the US session typically results in more volatile moves. Use this information to plan your trades effectively.
* Risk Management : During volatile periods (such as the overlap between the European and US sessions), manage your risk by setting stop losses and take profits before sharp price movements.
Key Takeaways:
- Crypto markets never sleep**, but each region has its most active time periods.
- Timing your trades** around these sessions can give you a competitive edge.
- This indicator helps align your strategy with the market’s natural flow, reducing emotional trading and increasing profitability.
Conclusion: A Strategic Edge for Every Trader
By knowing when the major trading regions are active, you gain a tactical advantage in your trading. This tool isn't just for retail traders—it's how the major institutional players navigate the market.
Stay ahead. Trade smart. Leverage the Saeki Hisoka’s Crypto Trading Sessions Indicator.
-
Disclaimer:
The system is rigged, but we can play the game better.* This indicator is a tool for precision. It’s not just about speculation—it’s about control. Follow Saeki Hisoka for more insights on the markets.
Feel free to share this documentation with your audience. The tool is ready for plug-and-play use, and future updates will ensure more functionality across all timeframes.
CME Price LimitCalculates the CME Price Limit
The reference price is obtained from the previous day's closing settlement price
(data pulled from the asset's daily chart with settlement enabled)
Percentage limit can be modified in settings
Buffer can be enabled (for example, 2% buffer on a 7% limit, so a line gets drawn at 5% too)
Alert can be enabled for price crossing a certain percentage from reference on the day
You can choose to plot the historical lines on every day, or the current day only
The reference price output can be found in the data window, or in the indicator status line if enabled in the settings.
Before placing real trades with this, you should compare the indicator's reference price to what's shown on CME's website, to double check that TradingView's data matches for your contract.
www.cmegroup.com
MULTI-SESSION GLM🎯 "MULTI-SESSION GLM" Indicator
Highlight 3 customizable trading sessions directly on your chart, each with unique colors—ideal for spotting market overlaps or key trading hours.
✨ Features:
✅ 3 independent sessions (adjust time ranges & colors).
✅ Transparent overlay (non-intrusive to price action).
✅ Perfect for Forex, Futures, and Stock traders.
✅ Easy setup (configure in seconds).
⚙️ How to Use:
Open the indicator settings.
Set your sessions (e.g., "0800-1200").
Pick colors for each zone.
VNIndex Over 6.5% Downside Drop Indicator with TableOverview: The VNIndex 6.5% Downside Drop Indicator is a powerful tool designed to help traders and investors identify significant market drops on the VNIndex (or any other asset) based on a 6.5% downside threshold. This Pine Script® indicator automatically detects when the price of an asset drops by more than 6.5% within a single day, and visually marks those events on the chart.
Key Features:
6.5% Downside Drop Detection: Automatically calculates the daily percentage drop and identifies when the price falls by more than 6.5%.
Table Display: Displays the dates and corresponding percentage drops of all identified instances in a convenient table at the bottom right of the chart.
Markers: Red down-pointing markers are plotted above bars where the price drop exceeds the 6.5% threshold, making it easy to spot critical drop events at a glance.
Easy-to-Read Table: The table lists the date and drop percentage, updating dynamically as new drops are detected. This allows for easy tracking of significant downside moves over time.
How to Use:
Install the Script: Add this indicator to your TradingView chart.
Monitor Price Drops: The indicator will automatically detect when the price drops by over 6.5% from the previous close and display a marker on the chart and the table in the bottom right corner.
View the Table: The table displays the date and the percentage drop of each detected event, making it easy to track past significant moves.
Alerts: You can set an alert for 6.5% drops to receive notifications in real-time.
Customization Options:
The drop percentage threshold (6.5%) can be adjusted in the script to fit other market conditions or assets.
The table can be resized or styled based on user preference for better visibility.
Why Use This Indicator? This indicator is perfect for traders looking to spot large, significant price movements quickly. Large downside drops can signal potential market reversals or trading opportunities, and this tool helps you track such events effortlessly. Whether you're monitoring the VNIndex or any other asset, this indicator provides crucial insights into volatile price action, helping you make more informed decisions.
Open Source License: This indicator is open source and free to use under the Mozilla Public License 2.0. You are welcome to modify, distribute, and contribute to the project.
Contributions: Feel free to contribute improvements, fixes, or new features by creating a pull request. Let’s collaborate to make this indicator even better for the community!
IBAC Strategy - ZygoraIBAC - Intrinsic Binary Averaging based Contrarian
A contrarian scalping strategy in the futures market, designed to stabilize market efficiency by capitalizing on price reversals. The strategy has no stop loss, instead employing a cascading approach—adding to the position size each time the price moves in the wrong direction—and closes the full position when the target profit is reached. Without delving into intricate details, the strategy adheres to the following basic rules:
Position sizing is determined by a customized indicator based on cumulative reversal probability, which also contributes to identifying the signal’s direction.
Direction is determined by the Moving Average: price above the Moving Average signals a Short position, while price below it signals a Long position.
The threshold for entries and exits is adjusted based on the range between extremes (highest high minus lowest low) over the past 100 historical bars.
The next limit entry is placed at a distance equal to the threshold length below (for Long) or above (for Short) the current average price.
The next target profit is set at a distance equal to the threshold length above (for Long) or below (for Short) the current average price.
A signal is triggered when there is a sudden price movement detected by the RSI (Relative Strength Index).
When a signal is identified, the strategy starts with a risk-reward ratio (RR) of 1:1. However, the RR worsens as the cascading steps—referred to as inventory I—increase, because the average entry price shifts unfavorably with each new position added. To mitigate the risk of liquidation, the strategy aims to hold a smaller inventory amount over time. This is achieved by using a multiple threshold multiplier: when a specified inventory limit is reached, the threshold for the next entry increases, and the threshold for the next target profit decreases. As a result, with higher inventory levels, the strategy accepts a lower RR but increases the likelihood of hitting the target profit.
The target profit is always set above the average entry price (for Long) or below it (for Short), ensuring that the strategy eventually closes at a profit. This leads to a 100% win rate but comes with relatively high drawdowns due to the absence of a stop loss and the cascading nature of the positions. The strategy performs best in a consolidation market in 1 minute timeframe, where price tends to oscillate within a range, allowing the contrarian approach to capitalize on reversals. The strategy’s name is derived from its customized indicator for position sizing, which leverages cumulative reversal probability to optimize position sizes and assist in determining the signal’s direction.
Manual Trade Ledger# Manual Options Trade Journal – Pine Script
This project is a Pine Script implementation for TradingView that allows users to manually log options trades into a live table overlay on a chart.
## ✨ Features
- 📥 Manual entry of ticker, premium, contracts, strike, expiry, notes
- 📈 Auto-filled live data: timestamp, price, and % change since first log
- 🧾 Tabular logging for trade journaling and exporting to Google Sheets
- 🔧 Fully customizable and designed to support product experimentation
## 🎯 Use Case
This project was built to support a real-world trading workflow for options traders who:
- Prefer to manually log trades while watching charts
- Want a visual, copyable ledger that evolves in real-time
- Want to later analyze entries/exits in spreadsheets or dashboards
## 🛠 How It Works
1. Toggle the `Log Trade` switch inside TradingView’s indicator settings
2. Fill in your trade metadata (ticker, premium, etc.)
3. The script captures timestamp, price, and calculates % change
4. Each new trade adds a row to the table (up to 50 max)
Zig Zag Trend Metrics“ Zig Zag Trend Metrics ” is a highly versatile indicator, built on the classic Zig Zag concept and thoughtfully designed for technical traders seeking a deeper, more structured view of market dynamics. This tool identifies significant swing highs and lows, classifies them, and annotates each with key metrics, offering a precise snapshot of each movement. It enhances visual analysis by drawing connecting lines that outline the flow of market structure, making trend progression and reversals instantly recognizable. Beyond visual mapping, it features a compact, real-time statistics table that calculates the average price and time deltas for both bullish and bearish swings, giving traders deep insights into trend momentum and rhythm. With extensive customization options, this indicator adapts seamlessly to vast trading styles or chart setups, empowering traders to spot patterns, evaluate trend strength, and make more confident, data-backed decisions.
❖ FEATURES
✦ Automatic Swing Detection
At its core, this indicator automatically identifies swing highs and lows based on a customizable lookback period (default: 10 bars).
✦ Labeling Swing Points
Each swing is visualized with a label that includes:
Swing Classification : “HH” (Higher High), “LH” (Lower High), “LL” (Lower Low), or “HL” (Higher Low).
Price Difference : Displayed in percentage or absolute value from the previous opposite swing.
Time Difference : The number of bars since the previous swing of the opposite type.
These labels offer traders clear, immediate insight into price movements and structural changes.
✦ Visual Lines
The indicator draws three types of lines:
Bullish Lines: Connect recent swing lows to new swing highs, indicating uptrends.
Bearish Lines: Connect recent swing highs to new swing lows, indicating downtrends.
Range Lines: Connect consecutive highs or lows to outline price channels.
Each line type can be color-coded and customized for visibility.
✦ Statistics Table
An on-screen metrics table provides a live summary of trends. Script uses Relative Averaging to smooth price and time changes. This prevents outliers from distorting the data and provides a more reliable sense of typical swing behavior.
Uptrend Metrics: Shows average price and time differences from recent bullish swings.
Downtrend Metrics: Shows the same for bearish swings.
🛠️ Customization Options
Ability to tailor the indicator to suit their strategy and aesthetic preferences:
Swing Period: Adjust sensitivity to short- or long-term swings.
Color Settings: Customize line and label colors.
Label Display: Choose between absolute or percentage price differences.
Table Settings: Modify size, location, or visibility.
This makes the indicator highly flexible and useful across various timeframes and assets.
Gioteen-NormThe "Gioteen-Norm" indicator is a versatile and powerful technical analysis tool designed to help traders identify key market conditions such as divergences, overbought/oversold levels, and trend strength. By normalizing price data relative to a moving average and standard deviation, this indicator provides a unique perspective on price behavior, making it easier to spot potential reversals or continuations in the market.
The indicator calculates a normalized value based on the difference between the selected price and its moving average, scaled by the standard deviation over a user-defined period. Additionally, an optional moving average of this normalized value (Green line) can be plotted to smooth the output and enhance signal clarity. This dual-line approach makes it an excellent tool for both short-term and long-term traders.
***Key Features
Divergence Detection: The Gioteen-Norm excels at identifying divergences between price action and the normalized indicator value. For example, if the price makes a higher high while Red line forms a lower high, it may signal a bearish divergence, hinting at a potential reversal.
Overbought/Oversold Conditions: Extreme values of Red line (e.g., significantly above or below zero) can indicate overbought or oversold conditions, helping traders anticipate pullbacks or bounces.
Trend Strength Insight: The normalized output reflects how far the price deviates from its average, providing a measure of momentum and trend strength.
**Customizable Parameters
Traders can adjust the period, moving average type, applied price, and shift to suit their trading style and timeframe.
**How It Works
Label1 (Red Line): Represents the normalized price deviation from a user-selected moving average (SMA, EMA, SMMA, or LWMA) divided by the standard deviation over the specified period. This line highlights the relative position of the price compared to its historical range.
Label2 (Green Line, Optional): A moving average of Label1, which smooths the normalized data to reduce noise and provide clearer signals. This can be toggled on or off via the "Draw MA" option.
**Inputs
Period: Length of the lookback period for normalization (default: 100).
MA Method: Type of moving average for normalization (SMA, EMA, SMMA, LWMA; default: EMA).
Applied Price: Price type used for calculation (Close, Open, High, Low, HL2, HLC3, HLCC4; default: Close).
Shift: Shifts the indicator forward or backward (default: 0).
Draw MA: Toggle the display of the Label2 moving average (default: true).
MA Period: Length of the moving average for Label2 (default: 50).
MA Method (Label2): Type of moving average for Label2 (SMA, EMA, SMMA, LWMA; default: SMA).
**How to Use
Divergence Trading: Look for discrepancies between price action and Label1. A bullish divergence (higher low in Label1 vs. lower low in price) may suggest a buying opportunity, while a bearish divergence could indicate a selling opportunity.
Overbought/Oversold Levels: Monitor extreme Label1 values. For instance, values significantly above +2 or below -2 could indicate overextension, though traders should define thresholds based on the asset and timeframe.
Trend Confirmation: Use Label2 to confirm trend direction. A rising Label2 suggests increasing bullish momentum, while a declining Label2 may indicate bearish pressure.
Combine with Other Tools: Pair Gioteen-Norm with support/resistance levels, RSI, or volume indicators for a more robust trading strategy.
**Notes
The indicator is non-overlay, meaning it plots below the price chart in a separate panel.
Avoid using a Period value of 1, as it may lead to unstable results due to insufficient data for standard deviation calculation.
This tool is best used as part of a broader trading system rather than in isolation.
**Why Use Gioteen-Norm?
The Gioteen-Norm indicator offers a fresh take on price normalization, blending statistical analysis with moving average techniques. Its flexibility and clarity make it suitable for traders of all levels—whether you're scalping on short timeframes or analyzing long-term trends. By publishing this for free, I hope to contribute to the TradingView community and help traders uncover hidden opportunities in the markets.
**Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest and validate any strategy before trading with real capital, and use proper risk management.
Highlight Fascia Oraria 07:00-21:00Highlight Time Range 07:00–21:00 + New Year's Line
This script automatically highlights the time range between 07:00 and 21:00 (based on the chart’s server time) with a light green semi-transparent background — perfect for traders focusing on specific intraday sessions.
It also adds a red vertical line every January 1st, clearly marking the start of each new year on the chart.
Ideal for:
Intraday trading and session analysis
Seasonal or yearly pattern tracking
Clear visual reference for time cycles
💡 Easy to customize: You can adjust the startHour and endHour values to set your preferred time range.
Uptrick: Z-Score FlowOverview
Uptrick: Z-Score Flow is a technical indicator that integrates trend-sensitive momentum analysi s with mean-reversion logic derived from Z-Score calculations. Its primary objective is to identify market conditions where price has either stretched too far from its mean (overbought or oversold) or sits at a statistically “normal” range, and then cross-reference this observation with trend direction and RSI-based momentum signals. The result is a more contextual approach to trade entry and exit, emphasizing precision, clarity, and adaptability across varying market regimes.
Introduction
Financial instruments frequently transition between trending modes, where price extends strongly in one direction, and ranging modes, where price oscillates around a central value. A simple statistical measure like Z-Score can highlight price extremes by comparing the current price against its historical mean and standard deviation. However, such extremes alone can be misleading if the broader market structure is trending forcefully. Uptrick: Z-Score Flow aims to solve this gap by combining Z-Score with an exponential moving average (EMA) trend filter and a smoothed RSI momentum check, thus filtering out signals that contradict the prevailing market environment.
Purpose
The purpose of this script is to help traders pinpoint both mean-reversion opportunities and trend-based pullbacks in a way that is statistically grounded yet still mindful of overarching price action. By pairing Z-Score thresholds with supportive conditions, the script reduces the likelihood of acting on random price spikes or dips and instead focuses on movements that are significant within both historical and current contextual frameworks.
Originality and Uniquness
Layered Signal Verification: Signals require the fulfillment of multiple layers (Z-Score extreme, EMA trend bias, and RSI momentum posture) rather than merely breaching a statistical threshold.
RSI Zone Lockout: Once RSI enters an overbought/oversold zone and triggers a signal, the script locks out subsequent signals until RSI recovers above or below those zones, limiting back-to-back triggers.
Controlled Cooldown: A dedicated cooldown mechanic ensures that the script waits a specified number of bars before issuing a new signal in the opposite direction.
Gradient-Based Visualization: Distinct gradient fills between price and the Z-Mean line enhance readability, showing at a glance whether price is trading above or below its statistical average.
Comprehensive Metrics Panel: An optional on-chart table summarizes the Z-Score’s key metrics, streamlining the process of verifying current statistical extremes, mean levels, and momentum directions.
Why these indicators were merged
Z-Score measurements excel at identifying when price deviates from its mean, but they do not intrinsically reveal whether the market’s trajectory supports a reversion or if price might continue along its trend. The EMA, commonly used for spotting trend directions, offers valuable insight into whether price is predominantly ascending or descending. However, relying solely on a trend filter overlooks the intensity of price moves. RSI then adds a dedicated measure of momentum, helping confirm if the market’s energy aligns with a potential reversal (for example, price is statistically low but RSI suggests looming upward momentum). By uniting these three lenses—Z-Score for statistical context, EMA for trend direction, and RSI for momentum force—the script offers a more comprehensive and adaptable system, aiming to avoid false positives caused by focusing on just one aspect of price behavior.
Calculations
The core calculation begins with a simple moving average (SMA) of price over zLen bars, referred to as the basis. Next, the script computes the standard deviation of price over the same window. Dividing the difference between the current price and the basis by this standard deviation produces the Z-Score, indicating how many standard deviations the price is from its mean. A positive Z-Score reveals price is above its average; a negative reading indicates the opposite.
To detect overall market direction, the script calculates an exponential moving average (emaTrend) over emaTrendLen bars. If price is above this EMA, the script deems the market bullish; if below, it’s considered bearish. For momentum confirmation, the script computes a standard RSI over rsiLen bars, then applies a smoothing EMA over rsiEmaLen bars. This smoothed RSI (rsiEma) is monitored for both its absolute level (oversold or overbought) and its slope (the difference between the current and previous value). Finally, slopeIndex determines how many bars back the script compares the basis to check whether the Z-Mean line is generally rising, falling, or flat, which then informs the coloring scheme on the chart.
Calculations and Rational
Simple Moving Average for Baseline: An SMA is used for the core mean because it places equal weight on each bar in the lookback period. This helps maintain a straightforward interpretation of overbought or oversold conditions in the context of a uniform historical average.
Standard Deviation for Volatility: Standard deviation measures the variability of the data around the mean. By dividing price’s difference from the mean by this value, the Z-Score can highlight whether price is unusually stretched given typical volatility.
Exponential Moving Average for Trend: Unlike an SMA, an EMA places more emphasis on recent data, reacting quicker to new price developments. This quicker response helps the script promptly identify trend shifts, which can be crucial for filtering out signals that go against a strong directional move.
RSI for Momentum Confirmation: RSI is an oscillator that gauges price movement strength by comparing average gains to average losses over a set period. By further smoothing this RSI with another EMA, short-lived oscillations become less influential, making signals more robust.
SlopeIndex for Slope-Based Coloring: To clarify whether the market’s central tendency is rising or falling, the script compares the basis now to its level slopeIndex bars ago. A higher current reading indicates an upward slope; a lower reading, a downward slope; and similar readings, a flat slope. This is visually represented on the chart, providing an immediate sense of the directionality.
Inputs
zLen (Z-Score Period)
Specifies how many bars to include for computing the SMA and standard deviation that form the basis of the Z-Score calculation. Larger values produce smoother but slower signals; smaller values catch quick changes but may generate noise.
emaTrendLen (EMA Trend Filter)
Sets the length of the EMA used to detect the market’s primary direction. This is pivotal for distinguishing whether signals should be considered (price aligning with an uptrend or downtrend) or filtered out.
rsiLen (RSI Length)
Defines the window for the initial RSI calculation. This RSI, when combined with the subsequent smoothing EMA, forms the foundation for momentum-based signal confirmations.
rsiEmaLen (EMA of RSI Period)
Applies an exponential moving average over the RSI readings for additional smoothing. This step helps mitigate rapid RSI fluctuations that might otherwise produce whipsaw signals.
zBuyLevel (Z-Score Buy Threshold)
Determines how negative the Z-Score must be for the script to consider a potential oversold signal. If the Z-Score dives below this threshold (and other criteria are met), a buy signal is generated.
zSellLevel (Z-Score Sell Threshold)
Determines how positive the Z-Score must be for a potential overbought signal. If the Z-Score surpasses this threshold (and other checks are satisfied), a sell signal is generated.
cooldownBars (Cooldown (Bars))
Enforces a bar-based delay between opposite signals. Once a buy signal has fired, the script must wait the specified number of bars before registering a new sell signal, and vice versa.
slopeIndex (Slope Sensitivity (Bars))
Specifies how many bars back the script compares the current basis for slope coloration. A bigger slopeIndex highlights larger directional trends, while a smaller number emphasizes shorter-term shifts.
showMeanLine (Show Z-Score Mean Line)
Enables or disables the plotting of the Z-Mean and its slope-based coloring. Traders who prefer minimal chart clutter may turn this off while still retaining signals.
Features
Statistical Core (Z-Score Detection):
This feature computes the Z-Score by taking the difference between the current price and the basis (SMA) and dividing by the standard deviation. In effect, it translates price fluctuations into a standardized measure that reveals how significant a move is relative to the typical variation seen over the lookback. When the Z-Score crosses predefined thresholds (zBuyLevel for oversold and zSellLevel for overbought), it signals that price could be at an extreme.
How It Works: On each bar, the script updates the SMA and standard deviation. The Z-Score is then refreshed accordingly. Traders can interpret particularly large negative or positive Z-Score values as scenarios where price is abnormally low or high.
EMA Trend Filter:
An EMA over emaTrendLen bars is used to classify the market as bullish if the price is above it and bearish if the price is below it. This classification is applied to the Z-Score signals, accepting them only when they align with the broader price direction.
How It Works: If the script detects a Z-Score below zBuyLevel, it further checks if price is actually in a downtrend (below EMA) before issuing a buy signal. This might seem counterintuitive, but a “downtrend” environment plus an oversold reading often signals a potential bounce or a mean-reversion play. Conversely, for sell signals, the script checks if the market is in an uptrend first. If it is, an overbought reading aligns with potential profit-taking.
RSI Momentum Confirmation with Oversold/Overbought Lockout:
RSI is calculated over rsiLen, then smoothed by an EMA over rsiEmaLen. If this smoothed RSI dips below a certain threshold (for example, 30) and then begins to slope upward, the indicator treats it as a potential sign of recovering momentum. Similarly, if RSI climbs above a certain threshold (for instance, 70) and starts to slope downward, that suggests dwindling momentum. Additionally, once RSI is in these zones, the indicator locks out repetitive signals until RSI fully exits and re-enters those extreme territories.
How It Works: Each bar, the script measures whether RSI has dropped below the oversold threshold (like 30) and has a positive slope. If it does, the buy side is considered “unlocked.” For sell signals, RSI must exceed an overbought threshold (70) and slope downward. The combination of threshold and slope helps confirm that a reversal is genuinely in progress instead of issuing signals while momentum remains weak or stuck in extremes.
Cooldown Mechanism:
The script features a custom bar-based cooldown that prevents issuing new signals in the opposite direction immediately after one is triggered. This helps avoid whipsaw situations where the market quickly flips from oversold to overbought or vice versa.
How It Works: When a buy signal fires, the indicator notes the bar index. If the Z-Score and RSI conditions later suggest a sell, the script compares the current bar index to the last buy signal’s bar index. If the difference is within cooldownBars, the signal is disallowed. This ensures a predefined “quiet period” before switching signals.
Slope-Based Coloring (Z-Mean Line and Shadow):
The script compares the current basis value to its value slopeIndex bars ago. A higher reading now indicates a generally upward slope, while a lower reading indicates a downward slope. The script then shades the Z-Mean line in a corresponding bullish or bearish color, or remains neutral if little change is detected.
How It Works: This slope calculation is refreshingly straightforward: basis – basis . If the result is positive, the line is colored bullish; if negative, it is colored bearish; if approximately zero, it remains neutral. This provides a quick visual cue of the medium-term directional bias.
Gradient Overlays:
With gradient fills, the script highlights where price stands in relation to the Z-Mean. When price is above the basis, a purple-shaded region is painted, visually indicating a “bearish zone” for potential overbought conditions. When price is below, a teal-like overlay is used, suggesting a “bullish zone” for potential oversold conditions.
How It Works: Each bar, the script checks if price is above or below the basis. It then applies a fill between close and basis, using distinct colors to show whether the market is trading above or below its mean. This creates an immediate sense of how extended the market might be.
Buy and Sell Labels (with Alerts):
When a legitimate buy or sell condition passes every check (Z-Score threshold, EMA trend alignment, RSI gating, and cooldown clearance), the script plots a corresponding label directly on the chart. It also fires an alert (if alerts are set up), making it convenient for traders who want timely notifications.
How It Works: If rawBuy or rawSell conditions are met (refined by RSI, EMA trend, and cooldown constraints), the script calls the respective plot function to paint an arrow label on the chart. Alerts are triggered simultaneously, carrying easily recognizable messages.
Metrics Table:
The optional on-chart table (activated by showMetrics) presents real-time Z-Score data, including the current Z-Score, its rolling mean, the maximum and minimum Z-Score values observed over the last zLen bars, a percentile position, and a short-term directional note (rising, falling, or flat).
Current – The present Z-Score reading
Mean – Average Z-Score over the zLen period
Min/Max – Lowest and highest Z-Score values within zLen
Position – Where the current Z-Score sits between the min and max (as a percentile)
Trend – Whether the Z-Score is increasing, decreasing, or flat
Conclusion
Uptrick: Z-Score Flow offers a versatile solution for traders who need a statistically informed perspective on price extremes combined with practical checks for overall trend and momentum. By leveraging a well-defined combination of Z-Score, EMA trend classification, RSI-based momentum gating, slope-based visualization, and a cooldown mechanic, the script reduces the occurrence of false or premature signals. Its gradient fills and optional metrics table contribute further clarity, ensuring that users can quickly assess market posture and make more confident trading decisions in real time.
Disclaimer
This script is intended solely for informational and educational purposes. Trading in any financial market comes with substantial risk, and there is no guarantee of success or the avoidance of loss. Historical performance does not ensure future results. Always conduct thorough research and consider professional guidance prior to making any investment or trading decisions.
Session Range (Pips/Points) Marcos Trader## English Description
Title: Session Range Indicator (Pips/Points)
Summary:
This indicator calculates and displays the price range (high - low) for the Asian, London, and New York trading sessions directly on your chart. It helps you quickly visualize the volatility of each recent session, showing the result in whole Pips for Forex or in Points for other instruments.
Key Features:
Calculates the High-Low range for the Asia, London, & NY sessions.
Displays the range in whole Pips for Forex (automatically detects JPY pairs for correct calculation).
Displays the range in Points (based on syminfo.mintick) for Indices, Crypto, Commodities, Stocks, etc.
100% Configurable Session Times: Define the exact start time, end time, and most importantly, the Time Zone for each session (Asia, London, NY) in the indicator settings. This ensures accuracy regardless of Daylight Saving Time or your chart's timezone!
Shows clear labels with the range near the end of each calculated session.
Options to individually show or hide the labels for each session.
Allows configuration of label transparency.
Allows defining how many past session labels to display on the chart (default is 5).
Developed in Pine Script v6.
How to Use:
Add the indicator to your chart.
Open the indicator Settings (gear icon).
Go to the "Session Times" section.
For each session (Asia, London, NY), enter the schedule in HHMM-HHMM format and ensure you add the correct Time Zone using a colon followed by the standard name (e.g., :Europe/London, :America/New_York, :Asia/Tokyo, :UTC+2, :UTC-5). This step is crucial.
Adjust the display options under "Show Sessions" and "Appearance" according to your preferences.
Click "OK".
Notes:
The accuracy of the indicator critically depends on the correct configuration of the times and time zones in the settings. The range label appears near the last bar belonging to the defined session.
Liquidity HEATMAP liquidation mrcysrjThis indicator helps visualize liquidation levels in the market based on volume and price structure. It dynamically identifies zones where liquidity absorption is more likely to occur, giving traders an edge in decision-making.
🔹 Key Features:
✅ Automatic detection of liquidation levels for both long and short positions.
✅ Customizable display options, including calculation mode and liquidity side selection.
✅ Identification of volume spikes relative to moving averages to highlight high-activity areas.
✅ Dynamic and adjustable line representation on the chart.
💡 Ideal for traders looking to enhance their market reading and anticipate liquidity-driven movements.
🚀 Optimize your trading by identifying key liquidation zones!