Linear Regression Volume | Lyro RSLinear Regression Volume | Lyro RS
⚠️Disclaimer⚠️
Always combine this indicator with other forms of analysis and risk management. Please do your own research before making any trading decisions.
The LR Volume | 𝓛𝔂𝓻𝓸 𝓡𝓢 indicator blends linear regression with volume-adjusted moving average s to dynamically outline price equilibrium and trend intensity. By integrating volume into its regression model, it highlights meaningful price movement relative to trading activity.
📌 How It Works:
Volume-Weighted Regression Baseline
Price is filtered through one of four volume-adjusted moving averages (SMA, RMA, HMA, ALMA) before being passed through a linear regression model, forming a dynamic fair value line.
Deviation Bands
The indicator plots 1x, 2x, and 3x standard deviation zones above and below the baseline, helping identify potential extremes, volatility spikes, and mean reversion areas.
Slope-Based Color Logic
The baseline and fill areas are dynamically colored:
- 🟢 Green for positive slope (uptrend)
- 🔴 Red for negative slope (downtrend)
- ⚪ Gray for neutral movement
⚙️ Inputs & Options:
Regression Length – Controls how many bars are used in the moving average and regression calculation.
Deviation Multiplier – Adjusts the width of the bands surrounding the regression baseline.
MA Type – Choose from 4 types:
SMA (Simple Moving Average)
RMA (Relative Moving Average)
HMA (Hull Moving Average)
ALMA (Arnaud Legoux Moving Average)
Band Colors – Customizable upper/lower band colors to match your visual style.
🔔 Alerts:
Long Signal – Triggers when the regression slope turns positive.
Short Signal – Triggers when the regression slope turns negative.
Statistics
CorrelationMulti-Timeframe Correlation Indicator
This Pine Script indicator measures the correlation between the current symbol and a reference symbol (default: GLD) across three different timeframes. It provides traders with valuable insights into how assets move in relation to each other over short, medium, and long-term periods.
Key Features
Multiple Timeframe Analysis: Calculates correlation coefficients over three customizable periods (default: 20, 50, and 200 bars)
Visual Reference Lines: Displays horizontal lines at +1, 0, and -1 to indicate perfect positive correlation, no correlation, and perfect negative correlation
Color-Coded Outputs: Shows short-term correlation in green, medium-term in yellow, and long-term in red for easy visual interpretation
Understanding Correlation
The correlation coefficient measures the statistical relationship between two data series, ranging from -1 to +1:
+1: Perfect positive correlation (both assets move together in the same direction)
0: No correlation (movements are random and independent)
-1: Perfect negative correlation (assets move in opposite directions)
How To Use This Indicator
Market Relationships: Identify how strongly your current asset correlates with the reference symbol
Diversification Analysis: Find assets with negative correlations to build a diversified portfolio
Divergence Opportunities: Watch for changes in correlation patterns that might signal trading opportunities
Trend Confirmation: Use correlation with benchmark assets to confirm broader market trends
Customization Options
Reference Symbol: Change the default GLD to any other symbol you want to compare against
Period Lengths: Adjust the short, medium, and long timeframes to match your trading strategy and timeframe
This indicator helps traders make more informed decisions by understanding the interrelationships between different assets across various timeframes, potentially improving portfolio construction and risk management strategies.
EMA CCI SSL Buy Sell Signal[THANHCONG]🔰 Introduction
EMA CCI SSL Buy Sell Signal is a strategy indicator that combines three popular factors:
EMA (8, 21, 89): Identifies the main trend.
CCI (6, 14): Detects momentum for buying and selling.
SSL Channel (HTF): Filters noise and confirms signals based on higher timeframes.
Together, this indicator provides reliable Buy/Sell signals that are easy to observe directly on the chart.
🛠 How to Use
Apply the indicator to the chart on any timeframe (M5 → D1).
Buy/Sell signals will appear when there is an SSL crossover along with trend/momentum confirmation.
Check the table on the top right for the most recent entry price and % change.
Note: Signals are only shown when all conditions are met to reduce noise (not generating continuous or misleading signals like single-indicator tools).
📌 Recommendations
Combine with confirmation from larger timeframes or support/resistance zones.
Use proper risk management & stop-loss to control risk.
Do not rely solely on the indicator; combine with your own technical analysis.
🙏 Thanks
Thank you for using this indicator!
If you find it useful, please click "★ Favorite" and Follow to get more tools from me.
I’m always open to feedback to improve.
⚠️ Disclaimer
This indicator is shared for educational and research purposes only.
It should not be considered as investment advice or a guarantee of profit.
Users are solely responsible when applying it in real trading...
Money Flow: In & Out Detector[THANHCONG]Indicator Name:
Money Flow: In & Out Detector
Indicator Description:
The Money Flow: In & Out Detector indicator uses technical indicators such as RSI (Relative Strength Index), MFI (Money Flow Index), and volume analysis to determine money inflow and outflow in the market.
This indicator helps traders identify changes in money flow, allowing them to detect buy and sell signals based on the combination of the following factors:
RSI > 50 and MFI > 50: Money inflow, indicating a buy signal.
RSI < 50 and MFI < 50: Money outflow, indicating a sell signal.
Volume increase/decrease relative to the average: Identifies strong market behavior changes.
Adjustable Parameters:
RSI Length: The number of periods to calculate the RSI (default is 14).
MFI Length: The number of periods to calculate the MFI (default is 14).
Volume MA Length: The number of periods to calculate the moving average of volume (default is 20).
Volume Increase/Decrease (%): The percentage threshold for volume change compared to the moving average (default is 20%).
Look Back Period: The number of periods used to identify peaks and troughs (default is 20).
How to Use the Indicator:
Money Inflow: When both RSI and MFI are above 50, and volume increases significantly relative to the moving average, the indicator shows a Buy signal.
Money Outflow: When both RSI and MFI are below 50, and volume decreases significantly relative to the moving average, the indicator shows a Sell signal.
Identifying Peaks and Troughs: The indicator also helps identify market peaks and troughs based on technical conditions.
Note:
This indicator assists in decision-making, but does not replace comprehensive market analysis.
Use this indicator in conjunction with other technical analysis methods to increase the accuracy of trade signals.
Steps for Publishing the Indicator on TradingView:
Log in to TradingView:
Go to TradingView and log into your account.
Access Pine Script Editor:
Click on Pine Editor from the menu under the chart.
Paste your Pine Script® code into the editor window.
Check the Source Code:
Ensure your code is error-free and running correctly.
Review the entire source code and add the MPL-2.0 license notice if necessary.
Save and Publish:
After testing and confirming the code works correctly, click Add to Chart to try the indicator on your chart.
If satisfied with the result, click Publish Script at the top right of the Pine Editor.
Provide a name for the indicator and then enter the detailed description you’ve prepared.
Ensure you specify the MPL-2.0 license in the description if required.
Choose the Access Type:
You can choose either Public or Private access for your indicator depending on your intention.
Submit for Publication:
Wait for TradingView to review and approve your indicator. Typically, this process takes a few working days for verification and approval.
User Guide:
You can share detailed instructions for users on how to use the indicator on TradingView, including how to adjust the parameters and interpret the signals. For example:
Set RSI Length: Experiment with different RSI Length values to find the sensitivity that suits your strategy.
Interpreting In/Out Signals: When there is strong money inflow (In), consider entering a buy order. When there is strong money outflow (Out), consider selling.
Daily Price RangeThe indicator is designed to analyze an instrument’s volatility based on daily extremes (High-Low) and to compare the current day’s range with the typical (median) range over a selected period. This helps traders assess how much of the "usual" daily movement has already occurred and how much may still be possible during the trading day.
Ceres Trader Inv DXY % OverlayIntroducing the “Inverse DXY % Overlay” for TradingView
What it does:
• Plots the U.S. Dollar Index (DXY) as an inverted %-change line directly over your primary chart (e.g. XAUUSD).
• Dollar strength shows as a downward line; dollar weakness shows as an upward line—instantly highlighting negative correlation.
Why it helps:
• Trend confirmation – Ride Gold breakouts only when the dollar is actually weakening.
• Divergence signals – Spot early turn setups when Gold and DXY % don’t move in sync.
• Risk management – Trim or tighten stops when the dollar pivots against your position.
Key features:
Overlay on any symbol (Gold, Silver, Oil, Crypto, equities)
Auto-scaled to left-axis %, so your price chart stays on the right
Lightweight & transparent—1 px grey line, minimal clutter
Now you’ll have a real-time, inverted DXY % line beneath your candles—perfect for gauging USD flow before you pull the trigger on any trade.
Happy trading! 🚀
—Michael (Ceres Trader)
Daily Average 5m Candle SizeThis indicator measures the average size of each 5 min candle then works out the end of day average for you. Very important for profit targets and stops
Price Lag Factor (PLF)📊 Price Lag Factor (PLF) for Crypto Traders: A Comprehensive Breakdown
The Price Lag Factor (PLF) is a momentum indicator designed to identify overextended price movements and gauge market momentum. It is particularly optimized for the crypto market, which is known for its high volatility and rapid trend shifts.
🔎 What is the Price Lag Factor (PLF)?
The PLF measures the difference between long-term and short-term price momentum and scales it dynamically based on recent volatility. This helps traders identify when the market might be overbought or oversold while filtering out noise.
The formula used in the PLF calculation is:
PLF = (Z-Long - Z-Short) / Stdev(PLF)
Where:
Z-long: Z-score of the long-term moving average (50-period by default).
Z-short: Z-score of the short-term moving average (14-period by default).
Stdev(PLF): Standard deviation of the PLF over a longer period (50-period by default).
🧠 How to Interpret the PLF:
1. Trend Direction:
Positive PLF (Green Bars): Indicates bullish momentum. The long-term trend is up, and short-term movements are confirming it.
Negative PLF (Red Bars): Indicates bearish momentum. The long-term trend is down, and short-term movements are consistent with it.
2. Momentum Strength:
PLF near Zero (±0.5): Low momentum; trend direction is not strong.
PLF between ±1 and ±2: Moderate momentum, indicating that the market is moving with strength but not in an overextended state.
PLF beyond ±2: High momentum (overbought/oversold), indicating potential trend exhaustion and a possible reversal.
📈 Trading Strategies:
1. Trend Following:
Bullish Signal:
Enter long when PLF crosses above 0 and remains green.
Confirm with other indicators like RSI or MACD to reduce false signals.
Bearish Signal:
Enter short when PLF crosses below 0 and remains red.
Use trend confirmation (e.g., moving average crossover) for better accuracy.
2. Reversal Trading:
Overbought Signal:
If PLF rises above +2, look for signs of bearish divergence or a reversal pattern to consider a short entry.
Oversold Signal:
If PLF falls below -2, watch for bullish divergence or a support bounce to consider a long entry.
3. Momentum Divergence:
Bullish Divergence:
Price makes a lower low while PLF makes a higher low.
Indicates weakening bearish momentum and a potential bullish reversal.
Bearish Divergence:
Price makes a higher high while PLF makes a lower high.
Signals weakening bullish momentum and a potential bearish reversal.
💡 Best Practices:
Combine with Volume:
Volume spikes during high PLF readings can confirm trend continuation.
Low volume during PLF extremes may hint at false breakouts.
Watch for Extreme Levels:
PLF beyond ±2 suggests overextended price action. Use caution when entering new positions.
Confirm with Other Indicators:
Use with Relative Strength Index (RSI) or Bollinger Bands to get a better sense of overbought/oversold conditions.
Overlay with a moving average to gauge trend consistency.
🚀 Why the PLF Works for Crypto:
Crypto markets are highly volatile and prone to rapid trend changes. The PLF's adaptive scaling ensures it remains relevant regardless of market conditions.
It highlights momentum shifts more accurately than static indicators because it accounts for changing volatility in its calculation.
🚨 Disclaimer for Traders Using the Price Lag Factor (PLF) Indicator:
The Price Lag Factor (PLF) indicator is designed as a technical analysis tool to gauge momentum and identify potential overbought or oversold conditions. However, it should not be relied upon as a sole decision-making factor for trading or investing.
Important Points to Consider:
Market Risk: Trading cryptocurrencies and other financial assets involves significant risk. The PLF may not accurately predict future price movements, especially during unexpected market events.
Indicator Limitations: No technical indicator, including the PLF, is infallible. False signals can occur, particularly in low-volume or highly volatile conditions.
Supplementary Analysis: Always combine PLF insights with other technical indicators, fundamental analysis, and risk management strategies to make informed decisions.
Personal Judgment: Traders should use their own discretion when interpreting PLF signals and never trade based solely on this indicator.
No Guarantees: The PLF is designed for educational and informational purposes only. Past performance is not indicative of future results.
Always perform thorough research and consider consulting with a professional financial advisor before making any trading decisions.
Vietnamese Stock Market FTD (Follow Through Day) AlertA Pine Script implementing William O'Neil’s Follow Through Day (FTD) strategy for the Vietnamese stock market. It scans 7 predefined sector groups (Banks, Real Estate, Retail, etc.) to detect momentum breakouts.
Key Features :
Triggers an FTD signal when ≥X groups (default: 3) have ≥Y stocks (default: 2) rising above a Z% threshold (default: 5%) daily.
Highlights qualifying stocks by group in a dynamic label during alerts.
Visualizes strength via histograms and background shading.
Open-source under Mozilla Public License 2.0 .
Purpose : Identify institutional buying and potential market reversals.
Ultimate Adaptive Multi-Regime Trading System🧩 What is the UA-MTS Indicator?
UA-MTS is an intelligent trading indicator built for scalping, day trading, and adaptive decision-making. It analyzes price action, trend, volatility, volume, and patterns across multiple timeframes to give traders clear, context-aware buy and sell signals.
It’s like having a smart assistant on your chart that tells you:
What kind of market you’re in (trend, range, volatility, etc.)
What patterns are forming and how reliable they are
When a high-confidence trade opportunity appears
How far price might go next (via projection lines)
⚙️ What Does It Do?
Detects Market Regime
Identifies whether the market is Trending, Ranging, Volatile, Accumulating, or Distributing
Adjusts strategy logic based on the regime
Scans for Patterns
Finds smart price patterns (like engulfing, divergences, fractals, head & shoulders)
Evaluates pattern quality and importance
Uses AI-like Logic
Includes a mini neural network that digests market data and projects price movement
Confirms with Volume and Volatility
Filters out weak signals based on how strong the volume and volatility are
Gives Trade Signals
Shows Buy or Sell markers with scores and confidence %
Highlights high-quality trades with a star (★)
Visual Tools
Confidence bands (projected price range)
Prediction lines
Color-coded market regime
🕹 How to Use It (in TradingView)
Use the Regime Label
Bottom of chart will say "Regime: Trending (80%)" or similar
Trust trend signals more in Trending regime, reversal patterns more in Ranging
Enable Multi-Timeframe Analysis (optional)
It blends data from multiple timeframes (like 1m + 5m + 15m) to sharpen signal logic
Confirm Before Entering
Look at the Score and Confidence %
Use it with other tools like support/resistance or price structure for even better entries
📈 Best Use Cases
Scalping on 1m/5m/15m charts
Day trading breakouts or reversals
Filtering trades during sideways markets
Avoiding traps in high volatility
Projecting short-term price direction
ETI IndicatorThe Ensemble Technical Indicator (ETI) is a script that combines multiple established indicators into one single powerful indicator. Specifically, it takes a number of technical indicators and then converts them into +1 to represent a bullish trend, or a -1 to represent a bearish trend. It then adds these values together and takes the running sum over the past 20 days.
The ETI is composed of the following indicators and converted to +1 or -1 using the following criteria:
Simple Moving Average (10 days) : When the price is above the 10-day simple moving averaging, +1, when below -1
Weighted Moving Average (10 days) : Similar to the SMA 10, when the the price is above the 10-day weighted moving average, +1, when below -1
Stochastic K% : If the current Stochastic K% is greater than the previous value, then +1, else -1.
Stochastic D% : Similar to the Stochastic K%, when the current Stochastic D% is greater than the previous value, +1, else -1.
MACD Difference : First subtract the MACD signal (i.e. the moving average) from the MACD value and if the current value is higher than the previous value, then +1, else -1.
William's R% : If the current William's R% is greater than the previous one, then +1, else -1.
William's Accumulation/Distribution : If the current William's AD value is greater than the previous value, then +1, else -1.
Commodity Channel Index : If the Commodity Channel Index is greater than 200 (overbought), then -1, if it is less than -200 (oversold) then +1. When it is between those values, if the current value is greater than the previous value then +1, else -1.
Relative Strength Index : If the Relative Strength Index is over 70 (overbought) then -1 and if under 30 (oversold) then +1. If the Relative Strength Indicator is between those values then if the current value is higher than the previous value +1, else -1.
Momentum (9 days) : If the momentum value is greater than 0, then +1, else -1.
Again, once these values have been calculated and converted, they are added up to produce a single value. This single value is then summed across the previous 20 candles to produce a running sum.
By coalescing multiple technical indicators into a single value across time, traders can better understand how multiple inter-related indicators are behaving at once; high scores indicate that numerous indicators are showing bullish signals indicating a potential or ongoing uptrend (and vice-versa with low scores).
Additional Features
Numerous smoothing transformations have also been added (e.g. gaussian smoothing) to remove some of the noise might exist.
Suggested Use
It is recommended that stocks are shorted when the cross below 0, and are bought when the ETI crosses above -40. Arrows can be shown on the indicator to show these points. However feel free to use levels that work best for you.
Traditionally, I have treated values above +50 as overbought and below -40 as undersold (with -80 indicating extremely oversold); however these levels could also indicate either upwards and downwards momentum so taking a position based on where the ETI is (rather than crossing levels) should be done with caution.
Relative Strength Index with Percentile📈 Relative Strength Index with Percentile Rank (RSI + Percentile)
This advanced RSI indicator adds a powerful percentile ranking system to the classic Relative Strength Index, providing deeper insight into current RSI values relative to recent history.
🔍 Key Features:
Standard RSI Calculation: Identifies overbought/oversold levels using a customizable period.
RSI Percentile (0–100%): Calculates where the current RSI value stands within a user-defined lookback period.
Dynamic Background Coloring:
🟩 Green when RSI percentile is above 80% (strong relative strength)
🟥 Red when RSI percentile is below 20% (strong relative weakness)
Optional Divergence Detection: Spot classic bullish and bearish divergences between price and RSI.
Smoothing Options: Apply various moving averages (SMA, EMA, RMA, etc.) to the RSI, with optional Bollinger Bands.
Flexible Settings: Full control over lookback periods, smoothing type, and band sensitivity.
🧠 Why Use RSI Percentile?
Traditional RSI values can become less informative during trending markets. By ranking the RSI as a percentile, you gain contextual insight into whether the current strength is unusually high or low compared to recent history, rather than just a fixed 70/30 threshold.
Money Flow based probabilityMoney Flow based probability
This indicator provides a comprehensive correlation and momentum analysis between your main asset and up to three selected correlated assets. It combines correlation, trend, momentum, and overbought/oversold signals into a single, easy-to-read table directly on your chart.
Correlated Asset Selection :
You can select up to three correlated assets (e.g., indices, currencies, bonds) to compare with your main chart symbol. Each asset can be toggled on or off.
Correlation Calculation :
The indicator uses the native Pine Script ta.correlation function to measure the statistical relationship between the closing prices of your asset and each selected pair over a user-defined period.
Technical Analysis Integration :
For each asset (including the main one), the indicator calculates:
Trend direction using EMA (Exponential Moving Average) – optional
Momentum using MACD – optional
Overbought/oversold status using RSI – optional
Probability Scoring :
A weighted scoring system combines correlation, trend, MACD, RSI, and trend exhaustion signals to produce buy and sell probabilities for the main asset.
Visual Table Output :
A customizable table is displayed on the chart, showing:
Asset name
Correlation (as a percentage, -100% to +100%)
Trend (Bullish/Bearish)
MACD status (Bullish/Bearish)
RSI value and status
Buy/Sell probability (with fixed-width formatting for stability)
User Customization :
You can adjust:
Table size, color, and position
Correlation period
EMA, MACD, and RSI parameters
Which assets to display
This indicator is ideal for traders who want to quickly assess the influence of major correlated markets and technical signals on their trading instrument, all in a single glance.
---
Example: Correlation Calculation
corrCurrentAsset1 = ta.correlation(close, asset1Data, correlationPeriod)
Example: Table Output (Buy/Sell %)
buyStr = f_formatPercent(buyProbability) + "%"
sellStr = f_formatPercent(sellProbability) + "%"
cellStr = buyStr + " / " + sellStr
The Echo System🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.
Machine Learning: ARIMA + SARIMADescription
The ARIMA (Autoregressive Integrated Moving Average) and SARIMA (Seasonal ARIMA) are advanced statistical models that use machine learning to forecast future price movements. It uses autoregression to find the relationship between observed data and its lagged observations. The data is differenced to make it more predictable. The MA component creates a dependency between observations and residual errors. The parameters are automatically adjusted to market conditions.
Differences
ARIMA - This excels at identifying trends in the form of directions
SARIMA - Incorporates seasonality. It's better at capturing patterns previously seen
How To Use
1. Model: Determine if you want to use ARIMA (better for direction) or SARIMA (better for overall prediction). You can click on the 'Show Historic Prediction' to see the direction of the previous candles. Green = forecast ending up, red = forecast ending down
2. Metrics: The RMSE% and MAPE are 10 day moving averages of the first 10 predictions made at candle close. They're error metrics that compare the observed data with the predicted data. It is better to use them when they're below 8%. Higher timeframes will be higher, as these models are partly mean-reverting and higher TFs tend to trend more. Better to compare RMSE% and MAPE with similar timeframes. They naturally lag as data is being collected
3. Parameter selection: The simpler, the better. Both are used for ARIMA(1,1,1) and SARIMA(1,1,1)(1,1,1)5. Increasing may cause overfitting
4. Training period: Keep at 50. Because of limitations in pine, higher values do not make for more powerful forecasts. They will only criminally lag. So best to keep between 20 and 80
BTC vs ALT Lag Detector [MEXC Overlay]This indicator monitors the price movement of Bitcoin (BTC) and compares it in real time to a customizable list of major altcoins on the MEXC exchange.
It helps you identify lagging altcoins — tokens that are underperforming or overperforming BTC’s price action over a selected timeframe. These temporary deviations can offer profitable entry or rotation opportunities, especially for scalpers, day traders, and arbitrage-style strategies.
Key Features:
- Real-time deviation detection between BTC and altcoins
- Customizable comparison timeframe: 1m, 6m, 12m, 30m, 1h, 4h, or 1d
- Deviation threshold alert: Highlights coins that lag BTC by more than 0.5%, 1%, 2%, or 3%
- Compact stats table embedded in the price chart
- Fully adjustable layout: Table position (Top/Bottom/Center + Left/Right), Font size (Tiny, Small, Medium)
- Built-in alert system when deviation exceeds your chosen threshold
How to Use It:
Set your desired timeframe for comparison (e.g., 1 hour).
Select a deviation threshold (e.g., 1.0%).
The table will show:
Each altcoin’s % change
BTC’s % change
The delta (deviation) vs BTC
Red highlights indicate alts whose deviation exceeded the threshold.
When at least one alt lags beyond your threshold, the indicator can trigger an alert — helping you capitalize on potential catch-up trades.
Please provide any feedback on it.
Float LabelFloat label
Float label is simply a label that will display the float (number of shares that are publicly available for trading on the open market) for the ticker currently open in the chart.
Very handy for trading smaller cap names.
Currently working on a complete low float label to replace this.
Kassa Eröffnungskerze (z. B. DAX)This Pine Script automatically draws a horizontal line at the 09:00 CET open price every trading day. It’s designed for use on any timeframe – from 1-minute to daily – and is ideal for traders following European indices like the DAX (GER40) or EuroStoxx.
🛠 Features:
• Automatically detects the cash market open (09:00 CET)
• Works on all timeframes
• Uses Europe/Zurich timezone (CET/CEST)
• Draws a new line once per day at 09:00
• No repainting – consistent and reliable behavior
💡 Use Case:
Perfect for intraday and day traders who want to anchor their analysis to the official cash market open price. This level is often critical for observing volume spikes, trend initiations, or mean-reversion behavior during the European session.
Best SMA FinderThis script, Best SMA Finder, is a tool designed to identify the most robust simple moving average (SMA) length for a given chart, based on historical backtest performance. It evaluates hundreds of SMA values (from 10 to 1000) and selects the one that provides the best balance between profitability, consistency, and trade frequency.
What it does:
The script performs individual backtests for each SMA length using either "Long Only" or "Buy & Sell" logic, as selected by the user. For each tested SMA, it computes:
- Total number of trades
- Profit Factor (total profits / total losses)
- Win Rate
- A composite Robustness Score, which integrates Profit Factor, number of trades (log-scaled), and win rate.
Only SMA configurations that meet the user-defined minimum trade count are considered valid. Among all valid candidates, the script selects the SMA length with the highest robustness score and plots it on the chart.
How to use it:
- Choose the strategy type: "Long Only" or "Buy & Sell"
- Set the minimum trade count to filter out statistically irrelevant results
- Enable or disable the summary stats table (default: enabled)
The selected optimal SMA is plotted on the chart in blue. The optional table in the top-right corner shows the corresponding SMA length, trade count, Profit Factor, Win Rate, and Robustness Score for transparency.
Key Features:
- Exhaustive SMA optimization across 991 values
- Customizable trade direction and minimum trade filters
- In-chart visualization of results via table and plotted optimal SMA
- Uses a custom robustness formula to rank SMA lengths
Use cases:
Ideal for traders who want to backtest and auto-select a historically effective SMA without manual trial-and-error. Useful for swing and trend-following strategies across different timeframes.
📌 Limitations:
- Not a full trading strategy with position sizing or stop-loss logic
- Only one entry per direction at a time is allowed
- Designed for exploration and optimization, not as a ready-to-trade system
This script is open-source and built entirely from original code and logic. It does not replicate any closed-source script or reuse significant external open-source components.
Sessioni di Trading - Londra & New YorkIndicator for mechanics 3.0 marking the London and New York sessions with vertical dotted lines
Sessioni di Trading - Londra & New YorkMarks the London and New York trading sessions with vertical colored lines (Mechanics 3.0)
Bitcoin Monthly Seasonality [Alpha Extract]The Bitcoin Monthly Seasonality indicator analyzes historical Bitcoin price performance across different months of the year, enabling traders to identify seasonal patterns and potential trading opportunities. This tool helps traders:
Visualize which months historically perform best and worst for Bitcoin.
Track average returns and win rates for each month of the year.
Identify seasonal patterns to enhance trading strategies.
Compare cumulative or individual monthly performance.
🔶 CALCULATION
The indicator processes historical Bitcoin price data to calculate monthly performance metrics
Monthly Return Calculation
Inputs:
Monthly open and close prices.
User-defined lookback period (1-15 years).
Return Types:
Percentage: (monthEndPrice / monthStartPrice - 1) × 100
Price: monthEndPrice - monthStartPrice
Statistical Measures
Monthly Averages: ◦ Average return for each month calculated from historical data.
Win Rate: ◦ Percentage of positive returns for each month.
Best/Worst Detection: ◦ Identifies months with highest and lowest average returns.
Cumulative Option
Standard View: Shows discrete monthly performance.
Cumulative View: Shows compounding effect of consecutive months.
Example Calculation (Pine Script):
monthReturn = returnType == "Percentage" ?
(monthEndPrice / monthStartPrice - 1) * 100 :
monthEndPrice - monthStartPrice
calcWinRate(arr) =>
winCount = 0
totalCount = array.size(arr)
if totalCount > 0
for i = 0 to totalCount - 1
if array.get(arr, i) > 0
winCount += 1
(winCount / totalCount) * 100
else
0.0
🔶 DETAILS
Visual Features
Monthly Performance Bars: ◦ Color-coded bars (teal for positive, red for negative returns). ◦ Special highlighting for best (yellow) and worst (fuchsia) months.
Optional Trend Line: ◦ Shows continuous performance across months.
Monthly Axis Labels: ◦ Clear month names for easy reference.
Statistics Table: ◦ Comprehensive view of monthly performance metrics. ◦ Color-coded rows based on performance.
Interpretation
Strong Positive Months: Historically bullish periods for Bitcoin.
Strong Negative Months: Historically bearish periods for Bitcoin.
Win Rate Analysis: Higher win rates indicate more consistently positive months.
Pattern Recognition: Identify recurring seasonal patterns across years.
Best/Worst Identification: Quickly spot the historically strongest and weakest months.
🔶 EXAMPLES
The indicator helps identify key seasonal patterns
Bullish Seasons: Visualize historically strong months where Bitcoin tends to perform well, allowing traders to align long positions with favorable seasonality.
Bearish Seasons: Identify historically weak months where Bitcoin tends to underperform, helping traders avoid unfavorable periods or consider short positions.
Seasonal Strategy Development: Create trading strategies that capitalize on recurring monthly patterns, such as entering positions in historically strong months and reducing exposure during weak months.
Year-to-Year Comparison: Assess how current year performance compares to historical seasonal patterns to identify anomalies or confirmation of trends.
🔶 SETTINGS
Customization Options
Lookback Period: Adjust the number of years (1-15) used for historical analysis.
Return Type: Choose between percentage returns or absolute price changes.
Cumulative Option: Toggle between discrete monthly performance or cumulative effect.
Visual Style Options: Bar Display: Enable/disable and customize colors for positive/negative bars, Line Display: Enable/disable and customize colors for trend line, Axes Display: Show/hide reference axes.
Visual Enhancement: Best/Worst Month Highlighting: Toggle special highlighting of extreme months, Custom highlight colors for best and worst performing months.
The Bitcoin Monthly Seasonality indicator provides traders with valuable insights into Bitcoin's historical performance patterns throughout the year, helping to identify potentially favorable and unfavorable trading periods based on seasonal tendencies.
DEMA HMA Z-score OscillatorThis custom oscillator combines the power of the Hull Moving Average (HMA) with the Z-Score to identify momentum shifts and potential trend reversals. The Z-Score measures how far the current HMA is from its historical mean, helping to spot overbought or oversold conditions.
Uptrend: Long signals are generated when the Z-Score crosses above the defined Long Threshold.
Downtrend: Short signals are triggered when the Z-Score drops below the Short Threshold.
Visuals: The Z-Score is plotted along with background color changes and fills to clearly indicate trend strength. Green fills highlight uptrends, while pink fills indicate downtrends.
Alerts: Alerts are available for both long and short conditions based on Z-Score crossovers.
Customizable Inputs:
HMA Length
Smoothing Length (for DEMA)
Z-Score Length
Long and Short Thresholds
This indicator is ideal for detecting momentum shifts, confirming trend strength, and helping to time entry/exit points in your trading strategy.