TRP Stop-Loss_Trailing SL# TRP Stop-Loss Indicator
## Overview
The TRP (True Range Percentage) Stop-Loss indicator is an advanced volatility-based stop-loss tool that provides dynamic position protection based on market volatility. Unlike traditional ATR-based indicators, TRP calculates volatility as a percentage of price, offering superior adaptability across different price ranges and market conditions.
## What is TRP and Why It's Superior to ATR
### TRP (True Range Percentage)
TRP calculates the true range as a percentage of the closing price, providing a **normalized volatility measure**. The formula is:
```
TRP = (True Range / Close) × 100
```
### Key Advantages of TRP over ATR:
1. **Price-Normalized Volatility**: TRP automatically adjusts for different price levels, making it equally effective whether you're trading a $10 stock or a $1000 stock.
2. **Percentage-Based Risk**: TRP gives you direct percentage risk values, making position sizing and risk management more intuitive.
3. **Better Cross-Market Comparison**: Unlike ATR, TRP allows you to compare volatility across different instruments on an equal basis.
4. **Adaptive to Market Conditions**: TRP naturally scales with price movements, providing more relevant stop-loss levels during trending markets.
5. **Consistent Risk Exposure**: Maintains consistent percentage risk regardless of the underlying asset's price level.
## Indicator Features
### 🎯 **Dual Stop-Loss System**
- **Long SL**: Red line below price for long positions
- **Short SL**: Blue line above price for short positions
- Independent control for each direction
### ⚙️ **Advanced Calculation Options**
#### **Multiple TRP Calculation Sources:**
- **Current Candle**: Uses real-time running candle data
- **Previous Close**: Uses completed candle data (default)
- **Last Green Candle**: For longs - uses TRP from the most recent bullish candle
- **Last Red Candle**: For shorts - uses TRP from the most recent bearish candle
#### **Independent Multipliers:**
- Separate multiplier controls for long and short stop-losses
- Adjust risk levels independently (0.1x to 10x+ range)
- Fine-tune stop-loss distance based on your risk tolerance
### 📊 **Visual Customization**
- **Line Styles**: Solid, dashed, or dotted lines
- **Custom Colors**: Separate color controls for long/short SL
- **Line Width**: Adjustable thickness (1-10)
- **Extension**: Customizable projection bars to the right
### 🏷️ **Smart Labeling System**
- **Value Display**: Shows exact SL price on the right side of lines
- **Toggle Control**: Enable/disable labels as needed
- **Size Options**: 5 different label sizes (tiny to huge)
- **Color Coordination**: Labels match their respective line colors
### ⏰ **Multi-Timeframe Support**
- Calculate TRP on any timeframe while viewing on another
- Default: Daily TRP calculation for intraday charts
- Maintains calculation integrity across timeframe switches
## How to Use
### Basic Setup:
1. Add the indicator to your chart
2. Select your preferred timeframe for TRP calculation
3. Choose calculation source for long and short positions
4. Adjust multipliers based on your risk tolerance
### Risk Management Applications:
- **Conservative**: Use 0.5-0.8 multipliers for tighter stops
- **Standard**: Use 1.0 multiplier for normal volatility-based stops
- **Aggressive**: Use 1.2-2.0 multipliers for wider stops in volatile markets
### Advanced Strategies:
- **Trend Following**: Use "Last Green/Red Candle" sources to adapt to momentum changes
- **Breakout Trading**: Use "Current Candle" for real-time stop adjustments
- **Swing Trading**: Use "Previous Close" for stable, confirmed levels
## Key Benefits
✅ **Dynamic Adaptation**: Automatically adjusts to changing market volatility
✅ **Percentage Risk Control**: Direct percentage-based risk management
✅ **Multi-Strategy Compatible**: Works with scalping, day trading, and swing trading
✅ **Visual Clarity**: Clean, professional chart display with customizable appearance
✅ **Real-Time Updates**: Instant recalculation when settings change
✅ **No Overlapping Lines**: Smart line management prevents chart clutter
## Best Practices
1. **Backtest First**: Test different multiplier settings on historical data
2. **Market Adaptation**: Adjust multipliers based on current market volatility regime
3. **Combine with Other Signals**: Use TRP stops with your existing entry signals
4. **Position Sizing**: Use TRP percentage values for consistent position sizing
5. **Regular Review**: Periodically review and adjust settings based on performance
## Technical Specifications
- **Pine Script Version**: v6
- **Overlay**: Yes (draws directly on price chart)
- **Calculations**: Based on 50-period EMA of TRP values
- **Updates**: Real-time with automatic line management
- **Performance**: Optimized for fast execution and minimal lag
This indicator is ideal for traders who want professional-grade, volatility-adaptive stop-loss management with the flexibility to fine-tune risk parameters across different market conditions and trading styles.
週期
Volume weighted Forex Overwiew True Strenght IndexAdding volume weighting to the FOTSI strategy improves its effectiveness by making the indicator more sensitive to periods of high market activity. Here’s how:
Market Relevance: Futures volume reflects institutional and large trader participation. When volume is high, price moves are more likely to be meaningful and less likely to be noise.
Dynamic Weighting: By multiplying each currency’s momentum by its normalized futures volume, the indicator gives more weight to currencies that are actively traded at that moment, making signals more robust.
Filtering Out Noise: Low-volume periods are down-weighted, reducing the impact of illiquid or less relevant price changes.
Better Timing: Signals generated during high-volume periods are more likely to coincide with real market moves, improving entry and exit timing.
Power Law Divergence in % - For Bitcoin Only_JPBitcoin Power Law Divergence
The Bitcoin Power Law Divergence is a representation of Bitcoin prices first proposed by Giovanni Santostasi, Ph.D. It plots BTCUSD daily closes on a log10-log10 scale, and fits a linear regression channel to the data.
This channel helps traders visualise when the price is historically in a zone prone to tops or located within a discounted zone subject to future growth.
Giovanni Santostasi, Ph.D. originated the Bitcoin Power-Law Theory; this implementation places it directly on a TradingView chart. The white line shows the daily closing price, while the cyan line is the best-fit regression.
A channel is constructed from the linear fit root mean squared error (RMSE), we can observe how price has repeatedly oscillated between each channel areas through every bull-bear cycle.
DETAILS
One of the advantages of the Power Law Theory proposed by Giovanni Santostasi is its ability to explain multiple behaviors of Bitcoin. We describe some key points below.
Power-Law Overview
A power law has the form y = A·xⁿ, and Bitcoin’s key variables follow this pattern across many orders of magnitude. Empirically, price rises roughly with t⁶, hash-rate with t¹² and the number of active addresses with t³.
When we plot these on log-log axes they appear as straight lines, revealing a scale-invariant system whose behaviour repeats proportionally as it grows.
QTheoryQTheory –
This indicator is built on Quarterly Theory (developed by Daye)
🔹 Quarterly Theory
Markets often unfold in repeating quarterly cycles (Q1–Q4) across multiple timeframes — yearly, monthly, weekly, daily, 90-minute, and even micro cycles. By dividing price action into these quarters, traders can better anticipate structural shifts, accumulation/distribution phases, and liquidity runs.
🔹 Sequential SMT (SSMT)
Sequential SMT extends standard SMT (Smart Money Technique) by comparing multiple assets (such as FX majors) to identify divergences across quarters.
🔹 Features of QTheory
Automatic detection of quarterly cycles across multiple timeframes.
Visual cycle boxes & customizable dividers.
Integrated SSMT signals with divergence line visualization.
DFR (Defining Range) with Fibonacci levels.
Support for up to 5 comparison assets, with inversion options.
Auto-cycle selection for seamless multi-timeframe adaptation.
Extensive customization for colors, opacity, and signal display.
🔹 How it works
QTheory divides price data into consistent “quarters” across multiple timeframes. Within each cycle, it tracks highs, lows, and divergences, then overlays this information as boxes, dividers, and optional signals on your chart. Traders can use these visual cues to better align entries and exits with institutional market behavior patterns.
🔹 How to use it
Enable the desired cycle type (e.g., weekly, daily, 90-minute) from the settings.
Toggle boxes, dividers, and signals depending on your trading style.
Use SSMT divergences and DFR Fibs to anticipate a reversal
Compare against other assets (e.g., DXY or correlated pairs) to refine confluence.
⚠️ Disclaimer: This tool is for educational purposes only. It does not constitute financial advice. Always perform your own analysis and risk management.
Attribution: Portions of this script extend the quarter-cycle logic from TFlab’s “Quarterly Theory ICT 04”, released under the Mozilla Public License 2.0
Asia Session + Previous Day H/LThis indicator marks up the asia session of the current day and the previous day high & low.
30m stratDefine a time range, and the indicator will highlight it with a shaded area
This indicator lets you visualize higher timeframe levels while viewing a lower timeframe chart.
FAILED 9Define a time range, and the indicator will highlight it with a shaded area.
The indicator helps you see higher timeframe structure while trading on a lower timeframes
SMC Volatility Liquidity Prothis one’s a confluence signaler. it fires “BUY CALL” / “BUY PUT” labels only when four things line up at once: trend, volatility squeeze, a liquidity sweep, and MACD momentum. quick breakdown:
what each block does
Trend filter (context)
ema50 > ema200 ⇒ trendUp
ema50 < ema200 ⇒ trendDn
Plots both EMAs for visual context.
Volatility compression (setup)
20-period Bollinger Bands (stdev 2).
bb_squeeze is true when current band width < its 20-SMA ⇒ price is compressed (potential energy building).
Liquidity sweep (trigger)
Tracks 20-bar swing high/low.
Long sweep: high > swingHigh ⇒ price just poked above the prior 20-bar high (took buy-side liquidity).
Short sweep: low < swingLow ⇒ price just poked below the prior 20-bar low (took sell-side liquidity).
MACD momentum (confirmation)
Standard MACD(12,26,9) histogram.
Bullish: hist > 0 and rising versus previous bar.
Bearish: hist < 0 and falling.
the actual entry signals
LongEntry = trendUp AND bb_squeeze AND liquiditySweepLong AND macdBullish
→ prints a green “BUY CALL” label below the bar.
ShortEntry = trendDn AND bb_squeeze AND liquiditySweepShort AND macdBearish
→ prints a red “BUY PUT” label above the bar.
alerts & dashboard
Alerts: fires when those long/short conditions hit so you can set TradingView alerts on them.
On-chart dashboard (bottom-right):
Trend (Bullish/Bearish/Neutral)
Squeeze (Yes/No)
Liquidity (Long/Short/None)
Momentum (Bullish/Bearish/Neutral)
Current Signal (BUY CALL / BUY PUT / WAIT)
(btw the comment says “2 columns × 5 rows” but the table is actually 5 columns × 2 rows—values under each label across the row.)
what it’s trying to capture (in plain english)
Trade with the higher-timeframe bias (EMA 50 over 200).
Enter as volatility compresses (bands tight) and a sweep grabs stops beyond a 20-bar extreme.
Only pull the trigger when momentum agrees (MACD hist direction & side of zero).
caveats / tips
It’s an indicator, not a strategy—no entries/exits/backtests baked in.
Signals are strict (4 filters), so you’ll get fewer but “cleaner” prints; still not magical.
The liquidity-sweep check uses the prior bar’s 20-bar high/low ( ), so on bar close it won’t repaint; intrabar alerts may feel jumpy if you alert “on every tick.”
Consider adding:
Exit logic (e.g., ATR stop + take-profit, or opposite signal).
Minimum squeeze duration (e.g., bb_squeeze true for N bars) to avoid one-bar dips in width.
Cool-down after a signal to prevent clustering.
Session/time or volume filter if you only want liquid hours.
if you want, I can convert this into a backtestable strategy() version with ATR-based stops/targets and a few toggles, so you can see stats right away.
Moon Phases Prediction🌙 Moon Phases (with Next Event Projection)
Introduction
This indicator plots Moon Phases (New Moon and Full Moon) directly on your chart.
In addition to showing historical phases, it also calculates and projects the upcoming next moon phase using precise astronomical formulas.
Features
Marks New Moons with circles above bars.
Marks Full Moons with circles below bars.
Dynamically adjusts background color based on waxing/waning phase.
Calculates and displays the next upcoming moon event as a label positioned in the future.
Works on all timeframes (except Monthly).
How It Works
Uses astronomical approximations (Julian Day → UNIX time conversion).
Detects the last occurred New Moon or Full Moon.
Projects the next moon event by adding half a synodic month (~14.77 days).
Displays the next event label at its exact future date on the chart.
Customization
Waxing Moon color (default: Blue)
Waning Moon color (default: White)
Use Cases
Astro-finance: lunar cycles and market psychology.
Trading strategies: aligning entries/exits with cyclical behavior.
Visualization: adding an extra dimension of timing to chart analysis.
Notes
- The future moon event is displayed as a circle label on the correct date.
- If you cannot see the label, increase your chart’s right margin (Chart Settings → Scales → Right Margin).
- Calculations are approximate but astronomically accurate enough for trading or visual use.
Conclusion
This indicator is a simple yet powerful tool for traders interested in the influence of lunar cycles.
By combining historical phases with a projected next event, you can always be aware of where the market stands in the moon cycle timeline.
DHYT Moon Cycles IndicatorThis indicator tracks the moon cycles which seem to correlate with bullish and bearish periods for Cryptocurrency trading. This indicator allows you to calibrate these windows using recent moon phase dates and times. You can also add customizable highlighted bands before and after these events to highlight these bullish and bearish periods.
Created by: Dan Heilman
ORB Storico + Box Multipli + Notifiche🚀 “London, New York, Asia — all your ORBs in one tool.”
ORB Historic + Multiple Boxes + Alerts is a powerful indicator designed for traders who want to take advantage of the Opening Range Breakout (ORB) strategy during the major market sessions: London, New York, and Asia.
With this tool you can:
✅ Instantly identify the initial range (high and low) of each session
✅ Display historical ORB boxes directly on your chart
✅ Receive real-time alerts when price breaks above the high or below the low
✅ Customize colors, choose which sessions to display, and manage alerts easily
🎯 Why use it?
The ORB is one of the most popular intraday trading strategies. The breakout of the initial session range often provides strong and directional signals.
With this indicator, you no longer need to draw boxes or lines manually — everything is handled automatically.
⚙️ Key Features:
Configurable sessions: London, New York, Asia
Customizable box colors for each session
Dynamic support and resistance lines at session highs and lows
Automatic breakout alerts (above HIGH or below LOW)
Works on all assets and timeframes
🚀 Who is it for?
Intraday traders looking for reliable session signals
Scalpers wanting to catch early breakouts
Anyone who wants to analyze historical ORB performance with ease
👉 Add this indicator to your charts, configure your favorite sessions, and let it handle the heavy lifting.
Focus on what matters most: catching the right move at the right time.
Highlight Selected WeekdaysThis indicator allows you to highlight selected trading days of the week directly on the chart with customizable colors.
Features:
Choose which weekdays to highlight (Sunday through Saturday).
Assign a different background color to each selected day.
Option to calculate the weekday based on the daily close or the active bar’s time.
Bitcoin Lagging (N Days)This indicator overlays Bitcoin’s price on any chart with a user-defined N-day lag. You can select the BTC symbol and timeframe (daily recommended), choose which price source to use (open, high, low, close, hlc3, ohlc4), and shift the series by a chosen number of days. An option to normalize the series to 100 at the first visible value is also available, along with the ability to display the original BTC line for comparison.
It is designed for traders and researchers who want to test lagging relationships between Bitcoin and other assets, observe correlation changes, or visualize how BTC’s past prices might align with current market movements. The lagging is calculated based on daily candles, so even if applied on intraday charts, the shift remains in daily units.
이 지표는 비트코인 가격을 원하는 차트 위에 N일 지연된 상태로 표시해 줍니다. 심볼과 타임프레임(일봉 권장)을 선택할 수 있으며, 가격 소스(시가, 고가, 저가, 종가, hlc3, ohlc4)도 설정 가능합니다. 또한 시리즈를 첫 값 기준으로 100에 맞춰 정규화하거나, 원래의 비트코인 가격선을 함께 표시할 수도 있습니다.
비트코인과 다른 자산 간의 시차 효과를 분석하거나 상관관계 변화를 관찰할 때 유용하게 활용할 수 있습니다. 지연은 일봉 기준으로 계산되므로, 분·시간 차트에 적용해도 항상 일 단위로 반영됩니다.
Automatic Candle Date - BVKAutomatic Candle Date
It is related to automatic Date indicator , so you can fetch it
Shadow Corp 90min Boxes90-min cycle boxes, marks 90min session highs and lows with color coded boxes.
ShadowCorp ICT Extended Macros (Original by toodegrees)Based on “ICT Algorithmic Macro Tracker° (Open-Source) by toodegrees” (MPL-2.0), this version simply extends the original macro logic: it keeps the same left/right verticals and dynamic horizontal cap. In short, it’s just an extended macro compared to TooDegree’s
ShadowCorp Time Cycle'sThis indicator marks key intraday windows — 7:00–8:30, 8:30–10:00 (NYO), 10:00–11:30, 11:30–13:00, 13:00–14:30, 14:30–16:00, and 18:00–19:00 — and draws a true **price-range box** for each window.
Each box builds **in real time** from that window’s running **high/low**, then **persists on the chart** after the window ends for historical study. It’s **timezone-aware** (configurable) and gives you **per-window color** controls. Use it to visualize session volatility, ranges, and liquidity sweeps across the day on any intraday chart.
SZN - Altcoin OscillatorSZN Altcoin Oscillator – Identify Market Phases with Precision
What is the SZN Altcoin Oscillator?
The SZN Altcoin Oscillator is a multi-layered analysis indicator specifically developed for the altcoin market.
It combines different signal groups (trend, relative strength, volume, market environment, and overheating filters) into a unified oscillator in the 0–100 range.
--> The goal is to make major market movements visible while separating short-term fluctuations from broader trends.
Why not just use RSI or MACD?
Classic single indicators like RSI or MACD often react too sensitively to short-term fluctuations.
This leads to many false signals – especially during volatile altcoin phases.
--> The SZN Altcoin Oscillator solves this problem by combining and filtering multiple signal sources.
--> This smooths out overreactions and identifies true trend movements more reliably.
-----
How does it work?
The oscillator consists of five signal groups:
Price & Trend Momentum
checks the relative position of fast and slow moving averages
detects whether an altcoin is in a confirmed uptrend or downtrend
Relative Strength vs. Bitcoin & Ethereum
measures performance compared to the two market leaders
shows whether capital is rotating into altcoins or staying in majors
Volume and Breakout Filter
detects whether breakouts are confirmed by increased volume
prevents short “fakeouts” from appearing as buy signals
Market Environment (Regime Filter)
includes overall market data such as BTC dominance or TOTAL3
ensures that buy signals only trigger in suitable market phases
Overheating & Oversold Filter
marks statistically extreme zones
upward cross from oversold → buy signal
downward cross from overheated → sell signal
--> All results are displayed in a 0–100 oscillator.
Buy signal: upward cross from oversold zones
Sell signal: downward cross from overheated zones
-----
Variants (selection in the settings menu)
The indicator offers 5 preconfigured variants, optimized for different altcoin groups:
Default
The neutral standard configuration – balanced between sensitivity and stability. Suitable for a wide range of altcoins with medium to large market capitalization.
Large Caps
More conservative parameters with stronger smoothing. Designed for established projects (Top 20), where trends develop more slowly but with higher reliability.
Mid Caps
A balanced approach for mid-sized market caps. More sensitive than the Large-Cap variant, but filters more noise than the Small-Cap settings.
Small Caps
Higher sensitivity, optimized for more volatile coins (Top 100–200). Detects dynamic moves faster, but with higher risk of false signals.
Meme Coins
Adapted for highly speculative tokens. Accounts for extreme volatility and shorter cycles to better highlight overheating phases.
--> This allows each user to select the variant best suited to the asset category being analyzed.
-----
Recommended Usage
Timeframe: Daily chart (highest precision). For very new projects, the 8h chart can be used.
Asset selection: Coins with sufficient history (at least 200 trading days).
-----
Interpretation:
Oscillator rising from oversold → potential bottom / upward trend reversal
Oscillator falling from overheated → potential top / profit-taking zone
Movements in between indicate interim rallies or correction phases
The indicator is not a day-trading tool, but optimized for cyclical moves and swing trading.
-----
Notes:
The SZN Altcoin Oscillator is an additional analysis tool and does not replace independent trading decisions.
All signals are probabilistic; there is no guarantee of profits.
Effectiveness depends on the specific altcoin and the current market phase.
The indicator provides insights into broader market phases, not short-term price moves.
Trey London + NY Open Alerts + Session LinesThis is a indicator that alerts you when London & New York opens everyday of the week.
Instructions are included if any confusion:
- Adjust Timezones:
UTC Offset
Change this if your broker’s chart is in a different timezone.
Example: 2 for UTC+2 (default).
- Enable / Disable Alerts:
Visual Alerts (Labels) they only go 10 executions back
Toggle On/Off to show labels above/below candles.
Sound Alerts
Toggle On/Off to play an alert sound when a session starts
- Using Alerts:
Go to TradingView Alerts (⏰).
Create a new alert and select:
Condition: London Open or New York Open
Action: Show pop-up, play sound, or send notification.
Alerts will trigger exactly at the session start.
Expiration: set the date as far back as you can and the time to around 23:00. You will have renew the alert after Expiration or update it to a later time.
should me a little green clock beside the indicator
- AMD:
comes with zones in London and new York time everyday and the previous day gets deleted.
Adjust Timezones, UTC Offset
Change this if your broker’s chart is in a different timezone.
Example: 2 for UTC+2 (default).
(These things may be upgraded in the future if subscription is upgraded.)
LibbyThis script is a refined chopzone index script with additional functionalities.
it produce buy and sell signals as directed by chopzone
How to use:
BUY: Look for buy signal on the chart and proceed to place buy or long orders
SELL: Look for sell on the chart and proceed to place sell or short orders.
NOTE: i recommend you set alerts and make it activate on bar close to avoid fadeouts and sideways.
expect sideways market and multiple opposite signals within a short time during news or when economic data are released.
as always, no indicator is failproof, it is recommended to always pair more than 1 indicator for more clarity and practice safe trading.
HPS VariablesThis script will provide a chart with a list of the 4 HPS variables for trading TCT models.