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
Statistics
多个背离指标 v6This indicator detects multiple divergences across popular technical indicators and is especially useful for identifying trend reversal points or potential tops/bottoms.
🧠 Supported indicators include:
MACD, MACD Histogram, RSI, CCI, OBV, MFI, Stochastic, Momentum, CMF, VWmacd, and even External Inputs.
⚙️ Key Features:
Detect Regular, Hidden, or Both types of divergences
Custom threshold: Only trigger when N or more divergences appear simultaneously
Full styling controls for lines and labels
Pivot high/low detection with max scan depth settings
Optional display of MA50 and MA200
🚀 Best for:
Trend reversal detection
Multi-confirmation setups
Alerts and strategy automation
🔔 Built-in Alert Conditions:
Bullish/Bearish Regular Divergence
Bullish/Bearish Hidden Divergence
Alert when >= N divergences appear (configurable)
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.
Optics pro V2Overview of the functionality:
Optics Pro is a tool that forecasts important reference zones based on mathematical calculation of market ranges. Average true range and daily market range movement are some of the parameters which go into the calculation of optics.
Everyday, the markets do not move in the same way. Some days are trending days and some days are range bound days. Optics help identify the important zones beyond which there is a higher probability of a trend.
Optics also helps identify zones from where there is a higher probability of trend moves to get exhausted or fatigued.
Uses:
1. Optics can be used on multiple timeframes with references plotted across daily, weekly and monthly ranges.
2. Default settings of the tool work well.
3. LB1 and UB1 are market liquidity seeking zones.
4. Beyond LB1 and UB1, markets can get into a trend move.
5. LB2 and UB2 are first trend move objectives.
6. LER and SER are long and short exhaustion zones.
7. MR stands for mean reversion.
8. HS and HL are only useful for 1 min timeframe users.
Disclaimer: Optics V2 is a tool with the purpose of decoding and understanding market movement but does not generate any buy/sell/hold signals. It is not shared for enhancing the learning of an individual about markets but NOT with an aim to induce or encourage trading/investing. Trading/Investing are risky endeavours with risk of partial or complete erosion of capital. Please consult a registered financial advisor before venturing into trading/investing
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 formed by vertical dotted colored lines that immediately let you understand the session involved
(inspired by Giuliano's 3.0 mechanics)
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)
CANDLE SCRUTINY | GSK-VIZAG-AP-INDIAIndicator: CANDLE SCRUTINY | GSK-VIZAG-AP-INDIA
1. Overview
The CANDLE SCRUTINY indicator is a candle-by-candle analytical tool designed to dissect and visually represent the behavior of recent candles on a chart. It presents a concise table overlay that summarizes critical candlestick data including price movement, directional trend, volume dynamics, and strength of price sequences — all updated in real time.
2. Purpose / Trading Use Case
This tool is ideal for:
Scalpers and intraday traders needing quick real-time candle insights.
Trend analyzers who want to observe evolving price momentum.
Volume-based decision makers monitoring buyer-seller imbalance.
Traders who scrutinize candles for confirmations before entries or exits.
3. Key Features & Logic Breakdown
Candle Classification: Each candle is categorized as Bullish, Bearish, or Doji based on open-close comparison.
Move Calculation: Calculates and displays net candle move (Close - Open) for each bar.
Trend Count: Tracks the number of consecutive candles of the same type (bullish or bearish).
Sequential Move (Total SM): Aggregates move values when candles of the same type form a sequence.
Volume Breakdown: Approximates buy/sell volume ratio using candle type logic.
Delta Volume: Measures buy-sell imbalance to gauge intrabar strength.
Time Localization: Candle timestamps are shown in the user-selected timezone.
4. User Inputs / Settings
Number of Candles (numCandles): Choose how many recent candles to analyze (1–10).
Table Position (tablePos): Set to top_right by default.
Timezone Selector (tzOption): Choose from multiple global timezones (e.g., IST, UTC, NY, London) to view local candle times.
These settings let traders customize the scope and perspective of candle analysis to fit their trading region and strategy focus.
5. Visual & Plotting Elements
A floating data table appears on the chart (top-right by default), showing:
Time of candle (localized)
Type (Bullish/Bearish/Doji)
Move value with green/red background
Total SM (sequential movement) with trend-based color shading
Trend Count
Buy Volume, Sell Volume, Total Volume
Delta (volume imbalance) with color-coded strength indicator
Color coding makes it visually intuitive to quickly assess strength, direction, and sequence.
6. Effective Usage Tips
Use in 1-minute to 15-minute timeframes for scalping or momentum breakout confirmation.
Monitor Delta and Sequential Move (SM) to confirm strength behind price action.
Trend Count helps gauge sustained direction—useful for short-term trend continuation strategies.
Combine with support/resistance zones or volume profile for stronger confluence.
Great for detecting early signs of exhaustion or continuation.
7. What Makes It Unique
Combines price action + volume behavior + trend memory into one compact visual table.
Allows user-defined timezone adjustment, a rare feature in similar indicators.
Designed to give a story of the last N candles from a momentum and participation viewpoint.
Fully non-intrusive overlay—doesn't clutter chart space.
8. Alerts / Additional Features
Currently no alerts, but future versions may include:
Alert when trend count exceeds a threshold
Alert on strong delta volume shifts
Alert on back-to-back Dojis (sign of indecision)
9. Technical Concepts Used
Candlestick Logic: Bullish, Bearish, Doji classification
Volume Analysis: Approximate buy/sell split based on candle type
Color Coding: For intuitive interpretation of move, trend, and delta
Arrays & Looping Logic: Efficient tracking of trends and sequences
Timezone Handling: Uses hour(time, timezone) and minute(time, timezone) for local display
10. Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest thoroughly and use appropriate risk management when applying this or any indicator in live markets. The author is not responsible for any financial losses incurred.
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.
The Daily Profiler v2.0This indicator serves as a multi-faceted analysis tool for TradingView, geared towards day traders who need context based on daily cycles and key price levels, especially in markets like futures that follow the NY trading schedule (18:00 ET daily reset).
Core Functionality Breakdown:
Session & Opening Range Analysis:
It defines and visually demarcates four key trading sessions: Asia (ASN: 1800-0230), London (LDN: 0230-0730), NY1 (0730-1130), and NY2 (1130-1615), using the "America/New_York" timezone.
For each session, it identifies an "Opening Range" (OR) period (e.g., 1800-1930 for ASN).
Users can opt to display background boxes for the full sessions and/or the OR periods.
It plots horizontal lines marking the High and Low reached during each session and OR period.
Crucially, it calculates the midpoint of each Opening Range (the "O/U" or Over/Under line) and tracks whether subsequent price action "breaks" this level, updating line styles and status information accordingly.
Key Price Level Plotting:
Previous Day Context: Plots the High (PDH), Low (PDL), and Midpoint (PDM) of the previous trading day, providing immediate reference points.
Daily Anchor Points: Draws lines for the Globex Open (18:00 ET start), the previous day's Settlement price, and the Midnight Open (00:00 ET), offering insight into key daily cycle starting points.
P12 Session (18:00-06:00): Tracks this overnight period and, after 06:00 ET, projects extended lines for its High, Low, and Midpoint.
High/Low of Day (HOD/LOD) Features:
Actual Tracking: Identifies and marks the actual HOD and LOD achieved during the main trading day (18:00-16:15 window) with labels showing the price, time occurred, and percentage move from the open.
User Projections: Allows users to configure multiple sets of potential HOD/LOD target zones (categorized as Long/True, Long/False, Short/True, Short/False). These are defined by specific time windows and percentage ranges from the daily open, displayed as colored projection boxes.
Statistical Projections:
ADR/MDR: Calculates the Average Daily Range (ADR) or Median Daily Range (MDR) over a user-set lookback period. It then plots projected High/Low levels for the current day based on adding/subtracting half this range value from the daily open price.
ASN OR Standard Deviations: Uses the range of the Asian session's OR to calculate and plot standard deviation levels (+/- 1.0, 2.5, 5.0, 8.0). These lines appear after the ASN OR concludes and change appearance if price crosses them.
09:30 NY Open Focus:
Provides specific analysis for the 09:30 ET 1-minute candle, often significant for US equity index futures.
Draws a box around this candle's range, optionally recoloring the bar, and draws internal percentage levels (25/50/75%) and minor offset lines for the subsequent 15 minutes.
Informational Tables:
Model Table: Summarizes the OR breakout dynamics for each session, indicating the initial break direction (Long/Short), whether the session maintained that direction without breaking the opposite side (True/False), and whether the OR midpoint was later broken (Broken/None).
Distribution Table: Presents range and percentage statistics for each session (and the 0930-1000 window). It shows the current day's values alongside historical Average or Median values, which can be filtered by day of the week or shown as a weekly total.
Customization & Management:
Offers extensive inputs to toggle nearly every visual element and feature.
Allows detailed customization of colors, line styles/widths, label content/size, and table appearance/position.
Incorporates logic to clean up drawings from the previous day at the 18:00 ET reset, ensuring chart clarity.
Advanced Trend Insight Panel PRO v3.0Advanced Trend Insight Panel PRO v3.0
Description
The Advanced Trend Insight Panel PRO v3.0 combines multiple proven technical tools into one on-chart dashboard, giving you a 360° view of market dynamics. By fusing EMAs, oscillators, volatility measures, volume analysis, multi-timeframe context, Fibonacci retracements and pivot support/resistance levels, this panel helps you identify high-probability trade setups, confirm momentum, manage risk, and adapt your strategy to any market regime.
1) Components & Rationale
EMAs (Fast 21 / Slow 55 / Super Trend 200): Spot short-, mid- and long-term trend direction and strength via crossovers and distance from price.
RSI (14) & MACD (12/26/9): Filter overbought/oversold extremes and confirm momentum shifts for more reliable entries.
ATR (14) & Bollinger Bands (20, 2σ): Measure volatility’s squeeze vs. expansion phases to time breakouts and gauge risk.
Volume & MFI & ROC: Validate price moves through volume spikes, money flow extremes, and rate-of-change momentum readings.
High-Timeframe Signals: Optionally overlay EMA, RSI, and MACD from a higher timeframe (e.g. 240 min, Daily or Weekly) to align multi-timeframe trends.
Fibonacci Retracements & Pivot S/R: Auto-draw critical support/resistance zones (23.6%, 38.2%, 50%, 61.8%, 78.6% and R1/R2/S1/S2 pivots) for clear entry/exit targets.
Strategy Mode Plans: Scalp, swing, trend-follow, algorithmic or long-term trade ideas generated dynamically based on current conditions.
2) Default Settings
General: Dark theme, top-right panel, width 2, transparency 15%, small text.
EMA: 21/55/200
Oscillators: RSI 14 (70/30), MACD 12/26/9
Volatility: ATR 14, Bollinger 20/2
Volume Filter: 20-bar SMA threshold 1.5×
High-TF: 240 min
Fib Period: 50
Pivot Lookback: 20 bars
Alerts: EMA cross, RSI extremes, volume spikes, Fibonacci touches—all toggleable.
3) How to Use
Apply the indicator “⚡ RolinLong – Trend Panel PRO ⚡” on your chart.
Review each row of the panel:
Trend Status & Strength (EMA crossover + distance %)
Volatility Level (ATR % / Bollinger width)
Momentum Text (ROC/RSI/Stochastic signals)
Volume Condition & Flow
HTF Trend & Strength
Warnings (RSI/Bollinger squeeze or expansion alerts)
Strategy Plan (Scalp/Swing/Trend/Algo/Long-Term suggestions)
Alternative Scenario & Risk Guidance
Tune your own parameters to match your timeframe and instrument: adjust EMAs, oscillator thresholds, volatility limits, and strategy mode.
Follow color cues: green for bullish/confirmation, red for bearish/warnings, gray for neutral.
Enable Alerts in settings to get notified of key events without staring at the screen.
4) Warnings & Disclaimer
This panel is for educational and analytical purposes only. It does not execute trades automatically. Always combine its signals with your own analysis and solid risk management (e.g. limit max 2% risk per trade, account for commission/slippage). Past indicator behavior does not guarantee future market performance—use responsibly.
Mingo Supreme Master AI vFinal 🌟 + Double Signal StatsMingo Supreme Master AI vFinal 🌟 + Double Signal Stats + Profit €
Overview:
Mingo Supreme Master AI vFinal is a next-generation smart trading toolkit for price action traders. It automatically detects high-probability Buy/Sell zones, tracks early reversal patterns, and provides visual entries, SL/TP levels, dashboard statistics, and backtestable alerts. Built for scalping, day trading, and swing strategies across Forex, Indices, Crypto, and Commodities.
🧠 Core Features
HTF Smart Zone Detection:
Automatically plots High Timeframe (HTF) demand and supply zones based on structure breaks.
Early Reversal Signal Detection:
Identifies powerful candle patterns with wick/body ratios, volume, and momentum filters. Scores each setup (1–10).
Double Signal Pattern Recognition (New):
Detects repeating entry patterns with a gap in between — a common professional strategy confirmation.
TP/SL Auto Projection:
Dynamically draws Take Profit and Stop Loss lines with labels, customizable in pips.
Bias Filter with EMA:
Avoid false signals using a 50 EMA-based directional bias.
Full Backtest Support:
Select any range ("Today", "Last 2 Weeks", "1 Month Ago", etc.) and the system will only calculate signals within that period.
Live Dashboard (Optional):
Shows win/loss stats
Total profit (€)
Double Buy/Sell counts
Win percentages
Configurable lot size to simulate realistic trade outcomes
📈 Alerts Included
🟢 Early Buy Signal
🔴 Early Sell Signal
✅ Confirmed Buy Zone Created
❌ Confirmed Sell Zone Created
🎯 TP/SL Levels Set
🛑 SL Triggered (Buy/Sell)
🔁 Double Signal Pattern Alerts
📊 All alerts are backtestable and customizable
⚙️ Settings & Customization
Sensitivity Controls: Adjust BOS/HTF pivots
Zone Display Options: Show/hide boxes, labels, only recent zones
Scoring Threshold: Minimum signal score filter (1–10)
Lot Size Input: Simulate earnings (e.g. €10/pip = lot size 1.0)
Dashboard On/Off Toggle
Date Range Filter: Choose Today or up to 6 months back
✅ Best For
Price Action Traders
Smart Money & Supply/Demand Traders
Scalpers, Intraday Traders, and Swing Traders
Anyone who wants auto-zones, TP/SL, and high-probability signal stats
Ticker DataThis script mostly for Pine coders but may be useful for regular users too.
I often find myself needing quick access to certain information about a ticker — like its full ticker name, mintick, last bar index and so on. Usually, I write a few lines of code just to display this info and check it.
Today I got tired of doing that manually, so I created a small script that shows the most essential data in one place. I also added a few extra fields that might be useful or interesting to regular users.
Description for regular users (from Pine Script Reference Manual)
tickerid - full ticker name
description - description for the current symbol
industry - the industry of the symbol. Example: "Internet Software/Services", "Packaged software", "Integrated Oil", "Motor Vehicles", etc.
country - the two-letter code of the country where the symbol is traded
sector - the sector of the symbol. Example: "Electronic Technology", "Technology services", "Energy Minerals", "Consumer Durables", etc.
session - session type (regular or extended)
timezone - timezone of the exchange of the chart
type - the type of market the symbol belongs to. Example: "stock", "fund", "index", "forex", "futures", "spread", "economic", "fundamental", "crypto".
volumetype - volume type of the current symbol.
mincontract - the smallest amount of the current symbol that can be traded
mintick - min tick value for the current symbol (the smallest increment between a symbol's price movements)
pointvalue - point value for the current symbol
pricescale - a whole number used to calculate mintick (usually (when minmove is 1), it shows the resolution — how many decimal places the price has. For example, a pricescale 100 means the price will have two decimal places - 1 / 100 = 0.01)
bar index - last bar index (if add 1 (because indexes starts from 0) it will shows how many bars available to you on the chart)
If you need some more information at table feel free to leave a comment.
Weekday Signal [QuantAlchemy]The modified "Weekday Signal " Pine Script enhances the original by expanding from one entry and one exit condition to six independent entry and six independent exit conditions, each with its own weekdays, trading session, and time zone. While the original used a single time zone and produced one enter and one exit signal, the updated script maintains single enter and exit outputs by combining the six conditions for each using logical OR, ensuring compatibility with automated strategies. It retains the original’s main chart overlay, green/red backgrounds for entry/exit signals, and signal exposure for external scripts, aligning with the initial visualization and integration capabilities.
Position Size Calculator with Compound EarningsContracts = (Account × Risk%) ÷ (Stop Distance × $2.00 for MNQ)
with compounddaily.org
ForexDada Live Trade SummaryThis indicator is designed for manual traders following Ali Jahanzaib's VSA strategies, specifically focusing on Signs of Strength (SOS) and Signs of Weakness (SOW) setups.
🔧 Key Features:
Track daily trade stats: number of trades, SL hits/pips, TP hits/pips.
Manually record the current active trade, including:
Trade type (SOS or SOW)
Setup subtype (e.g., Shakeout Candle, Upthrust Candle, TBR, EVR)
Trade result (TP/SL)
Pips gained/lost
Entry timeframe (manually entered, does not depend on chart)
A clean, compact table in the top-right corner with optional coloring for visual clarity.
Helps review trading performance and setups visually without external notes.
📌 Note: This tool does not track trades automatically — it’s built for manual logging and journaling directly on the chart.
Central Bank Assets YoY % with StdDev BandsCentral Bank Assets YoY % with StdDev Bands - Indicator Documentation
Overview
This indicator tracks the year-over-year (YoY) percentage change in combined central bank assets using a custom formula. It displays the annual growth rate along with statistical bands showing when the growth is significantly above or below historical norms.
Formula Components
The indicator is based on a custom symbol combining multiple central bank balance sheets:
Federal Reserve balance sheet (FRED)
Bank of Japan assets converted to USD (FX_IDC*FRED)
European Central Bank assets converted to USD (FX_IDC*FRED)
Subtracting Fed reverse repo operations (FRED)
Subtracting Treasury General Account (FRED)
Calculations
Year-over-Year Percentage Change: Calculates the percentage change between the current value and the value from exactly one year ago (252 trading days).
Formula: ((current - year_ago) / year_ago) * 100
Statistical Measures:
Mean (Average): The 252-day simple moving average of the YoY percentage changes
Standard Deviation: The 252-day standard deviation of YoY percentage changes
Display Components
The indicator displays:
Main Line: YoY percentage change (green when positive, red when negative)
Zero Line: Reference line at 0% (gray dashed)
Mean Line: Average YoY change over the past 252 days (blue)
Standard Deviation Bands: Shows +/- 1 standard deviation from the mean
Upper band (+1 StdDev): Green, line with breaks style
Lower band (-1 StdDev): Red, line with breaks style
Interpretation
Values above zero indicate YoY growth in central bank assets
Values below zero indicate YoY contraction
Values above the +1 StdDev line indicate unusually strong growth
Values below the -1 StdDev line indicate unusually severe contraction
Crossing above/below the mean line can signal shifts in central bank policy trends
Usage
This indicator is useful for:
Monitoring global central bank liquidity trends
Identifying unusual periods of balance sheet expansion/contraction
Analyzing correlations between central bank activity and market performance
Anticipating potential market impacts from changes in central bank policy
The 252-day lookback period (approximately one trading year) provides a balance between statistical stability and responsiveness to changing trends in central bank behavior.
Engulfing Bar Liquidity SweepIts an indicator that sweeps liquidity before going to the opposite direction.
MTS📊 MTS (Murrey Math System) Trading Strategy for TradingView 📊
Introduction:
This script implements the Murrey Math System (MTS), a market analysis tool based on a set of pivot points and price ranges, designed to help traders identify key levels of support and resistance.
MTS calculates key price levels based on historical price swings and helps identify price targets, stop-loss levels, and potential breakout zones.
The strategy also includes an adaptive bias panel, showing buy or sell suggestions based on current price action relative to Murrey Math levels.
Key Components:
1. Pivot Calculation and Conditions:
Pivot Lookback & Spikeyness Index:
The pivots: lookback/forward input defines how far back (and forward) the script looks to identify potential pivot points (high and low). A smaller value focuses on more recent swings, while larger values consider a broader range.
The Spikeyness Index (atrMult) allows you to adjust sensitivity to market spikes, utilizing the Average True Range (ATR) to detect sharp price movements that could indicate potential turning points.
Pivot Conditions:
isPivHigh and isPivLow detect local high and low pivot points, respectively.
Spiky Conditions: The spikyH and spikyL conditions filter out pivots that do not meet the spikiness criteria, which is based on ATR and moving averages.
2. Swing High and Swing Low Identification:
The script identifies and stores previous swing highs (HR_prev) and lows (LR_prev), updating them based on the current market structure.
3. Proprietary Calculation:
The propCalc input enables a proprietary calculation method for determining higher or lower levels beyond the typical Murrey Math levels, offering a more adaptive approach to price targets and support/resistance levels.
4. Murrey Math Lines (MML):
MML Calculation:
The code calculates a set of Murrey Math Lines (EightEight, FourEight, ZeroEight), which are key price levels based on the range of the price over a given time period. These levels represent major support and resistance zones, with the EightEight line indicating extremely overbought conditions and ZeroEight signaling deeply oversold conditions.
Level and Extension Lines:
The script also plots additional levels and extensions based on the range between HR and LR, representing key support/resistance levels. These levels are dynamically drawn on the chart, offering clear insights into where price might reverse or break out.
Strategy Logic:
- Breakout and Breakdown:
The Bias Box panel dynamically displays a trade bias, either suggesting to "Buy on Dip" or "Sell on Rise," depending on whether the current price is above or below the midpoint of the Murrey Math range (BEP). This bias is calculated using the market's relationship to the Murrey Math Levels.
- Buy on Dip: When the price is below the midpoint (BEP), suggesting the market is in a buying zone.
- Sell on Rise: When the price is above the midpoint, suggesting the market is in a selling zone.
- Stop-Loss and Target Hints:
The stop-loss (SL) and target levels are dynamically set based on the position relative to HR and LR:
For Buy on Dip: SL is set at LR Low, Target is set at HR High.
For sell on Rise: SL is set at HR Low, Target is set at LR High.
2. Historical and Current Levels:
The script compares the most recent Murrey Math levels with historical levels. This helps identify any shifts or changes in the market structure, enhancing the trader's ability to adapt to new trends.
- Current Levels:
The current levels are drawn from the most recent HR and LR values, with corresponding extensions showing possible breakout or breakdown zones.
- Historical Levels:
Historical levels are drawn in a "ghost" style, helping traders visualize past market conditions and potential support/resistance zones that could still influence price movement.
- Trade Examples:
Example 1: Buy on Dip
a. Scenario:
Price is below the midpoint (BEP), and the bias suggests a buy on dip.
The trader looks for a rebound from the LR Low level, with a target at the HR High.
b. Entry:
Buy when the price reaches the LR Low level.
c. Exit:
Take profit when the price hits the HR High.
d. Stop-Loss:
Place stop-loss at the LR Low.
Example 2: Sell on Rise
a. Scenario:
Price is above the midpoint (BEP), and the bias suggests a sell on rise.
The trader looks for a pullback to the HR Low, with a target at the LR High.
b. Entry:
Sell when the price reaches the HR High level.
c. Exit:
Take profit when the price hits the LR Low.
d. Stop-Loss:
Place stop-loss at the HR Low.
Key Features:
Bias Panel: A table in the top-right corner showing the current market bias (Buy on Dip, Sell on Rise, or Neutral).
Displays real-time trade direction and risk information, such as stop-loss and target hints.
Dynamic Level Adjustment: As the price moves, the script dynamically updates the key levels (HR, LR, and Murrey Math lines), keeping traders aware of the most recent market structure.
Visualization Tools:
The chart is populated with a series of lines and labels that indicate the critical price levels for trading.
Support/Resistance Lines: Each key level is marked with different colors for quick recognition.
Extensions: Additional lines are plotted based on price projections, indicating where the market could potentially move.
Note:
Please note that this is an educational purpose idea, any action/trade taken will be user's own responsibility.
Enjoy!
Regards.