Levels 2.0 by SaltanovCrypto (Arrays - Up to 20 Levels)Script Description: Levels 2.0 by SaltanovCrypto – Dynamic Trading Levels for Multiple Exchanges
This Pine Script (version 6), titled "Levels 2.0 by SaltanovCrypto", is a highly versatile and customizable tool designed to display buy and sell levels with corresponding labels for cryptocurrency pairs across multiple exchanges, including Bybit, Binance, OKX, BingX, Coinbase, and others. The script is tailored to meet the specific needs of traders who rely on large limit orders or data from order book screeners, allowing them to visualize key trading zones with ease.
Core Features Based on Your Requirements
1. Universal Compatibility Across Exchanges:
- The script supports any exchange and any cryptocurrency pair in the format `exchange:pair` (e.g., `BYBIT:TIAUSDT`, `BINANCE:BTCUSDT.P`, `COINBASE:ADAUSD`).
- You can add as many pairs as needed in this simple format:
bybit:TONUSDT,
bybit:TRUMPUSDT,
coinbase:ADAUSD,
okx:ETHUSDT,
bingx:SOLUSDT,
binance:ZENUSDT.P,
binance:ZKUSDT.P,
bybit:AAVEUSDT.P,
bybit:AMIUSDT,
bybit:APTUSDT,
bybit:ATOMUSDT.P,
bybit:DYDXUSDT.P,
2. Dynamic Levels and Labels:
- All buy levels and sell levels for a single coin must be grouped together within one `else if` block. This ensures that all levels for a specific ticker are defined in a single, cohesive section.
- The first coin in the script starts with an `if ticker` statement, while all subsequent coins use `else if ticker`. This structure ensures proper conditional logic.
3. Correct Format for Adding Levels:
- The format for adding levels to the script should look like this:
if ticker == "BYBIT:WLDUSDT"
buyLevels.push(0.682)
buyLabels.push("31.04K")
else if ticker == "BYBIT:TIAUSDT"
buyLevels.push(2.285)
buyLabels.push("48.84K")
else if ticker == "BYBIT:MKRUSDT"
sellLevels.push(1400)
sellLabels.push("72.06K")
else if ticker == "BYBIT:GALAUSDT"
buyLevels.push(0.01355)
buyLabels.push("35.95K")
- Key Rule:
- The first coin always starts with `if ticker`.
- All subsequent coins use `else if ticker`.
4. Support for Futures (.P Pairs):
- The script works seamlessly with futures pairs that have `.P` appended to their names (e.g., `BINANCE:BTCUSDT.P`, `BINANCE:ETHUSDT.P`).
- Example:
else if ticker == "BINANCE:BTCUSDT.P"
buyLevels.push(90000)
buyLabels.push("Buy Level 1")
buyLevels.push(89000)
buyLabels.push("Buy Level 2")
sellLevels.push(92000)
sellLabels.push("Sell Level 1")
5. Unlimited Scalability:
- While the script currently supports up to 20 buy levels and 20 sell levels per ticker, it is designed to be easily extendable. You can add more variables (e.g., `buyLine21`, `sellLine22`) to accommodate additional levels if needed.
- Each level is drawn as a horizontal line on the chart, and labels are displayed next to the lines for better readability.
6. Customizable Appearance:
- The script provides full control over the visual appearance of the lines and labels:
- Line Color: Separate colors for buy and sell lines (e.g., green for buy, blue for sell).
- Line Width: Adjustable width for better visibility.
- Label Text Color: Customizable text color for labels.
- Label Background Color: Semi-transparent background for labels to improve contrast.
- Font Size: Adjustable font size for labels.
7. Offset for Lines:
- The script includes parameters to offset the lines left and right from the last bar, ensuring they don’t overlap with the price action or other indicators.
8. Neural Network Integration:
- Neural networks can be used to automate the process of extracting levels and labels from screeners and converting them into the required format for the script. For example:
- Train a neural network to parse screener data and output the levels and labels in the correct format.
- Automate the insertion of these levels into the script using scripts or tools that interact with the Pine Script editor.
---
Example Block with 5 Buy Levels and 5 Sell Levels
Here’s an example of how to define 5 buy levels and 5 sell levels for a single coin, such as `BINANCE:BCHUSDT.P`, in the simplified format:
else if ticker == "BINANCE:BCHUSDT.P"
sellLevels.push(337)
sellLabels.push("3.38M")
sellLevels.push(339)
sellLabels.push("3.41M")
sellLevels.push(340)
sellLabels.push("3.41M")
sellLevels.push(342)
sellLabels.push("3.45M")
sellLevels.push(345)
sellLabels.push("3.50M")
buyLevels.push(320)
buyLabels.push("417.92K")
buyLevels.push(318)
buyLabels.push("395.20K")
buyLevels.push(315)
buyLabels.push("372.48K")
buyLevels.push(312)
buyLabels.push("349.76K")
buyLevels.push(310)
buyLabels.push("327.04K")
---
Why This Script Meets Your Needs
- Flexibility Across Exchanges: The script supports any exchange and any pair, making it ideal for traders who monitor multiple platforms like Bybit, Binance, OKX, BingX, and Coinbase.
- Ease of Data Integration: The intuitive format for defining levels and labels makes it easy to integrate data from any screener or source.
- Scalability: With support for up to 20 levels per ticker (and the ability to extend this limit), the script can accommodate even the most complex trading strategies.
- Automation Potential: By leveraging neural networks, you can fully automate the process of extracting levels and labels from screeners, saving time and reducing manual effort.
---
Conclusion
The "Levels 2.0 by SaltanovCrypto" script is a powerful and flexible tool designed to meet the needs of modern traders. Its compatibility with any exchange, ease of integrating data from screeners, and potential for automation with neural networks make it an indispensable addition to any trader's toolkit. Whether you're monitoring large limit orders or analyzing key trading zones, this script provides the scalability, flexibility, and customization you need to succeed.
Educational
MA + RSI + Auto S/R (v5) MA + RSI + Auto Support/Resistance Indicator
This indicator combines Exponential Moving Averages (EMA), Simple Moving Averages (SMA), Relative Strength Index (RSI), and Auto-detected Support/Resistance levels (based on pivot highs/lows) to offer a comprehensive technical analysis toolkit for any trader.
🧩 Included Components
Component Description
EMA (Fast/Slow) Used for identifying short- and medium-term trend direction.
SMA (Short/Long) Indicates dynamic support/resistance and longer-term trend.
RSI Helps detect overbought or oversold conditions.
Support/Resistance Automatically plotted using pivot highs/lows (swing points).
Trend Highlight Optional background coloring to visually represent trend bias.
⚙️ User Inputs
Input Purpose
emaFastLen Length of the fast EMA (default: 9).
emaSlowLen Length of the slow EMA (default: 21).
smaShortLen Length of the short SMA (default: 20).
smaLongLen Length of the long SMA (default: 50).
rsiLen RSI calculation period (default: 14).
rsiOB, rsiOS RSI Overbought and Oversold thresholds (default: 70/30).
pivotLeft/Right Number of bars for detecting pivot highs/lows (default: 5 each).
📈 Indicator Components
📊 EMA / SMA
Fast EMA (orange) and slow EMA (red) show trend momentum.
Short SMA (blue) and long SMA (teal) show general price direction and act as dynamic support/resistance.
💹 RSI Panel
RSI is calculated and internally plotted.
Static lines:
70 → Overbought
30 → Oversold
50 → Neutral/Center Line
RSI value labels appear every ~20 bars for clarity.
📌 Support and Resistance Zones
Automatically drawn using:
pivotHigh() → plots resistance (red crosses)
pivotLow() → plots support (green crosses)
Useful for swing trading and breakout setups.
🟥🟩 Trend Background Highlight (Optional)
Green background → Fast EMA above Slow EMA → Bullish momentum.
Red background → Fast EMA below Slow EMA → Bearish momentum.
Helps visualize trend bias at a glance.
🧪 Usage Suggestions
Combine EMA/SMA crossovers with RSI values for stronger signals.
Watch for RSI divergence near support/resistance zones.
Use pivot highs/lows to plan stop-loss or breakout entries.
Use background color to confirm trend alignment across timeframes.
🛠️ Possible Extensions
Add buy/sell signal plots based on conditions (e.g., EMA crossover + RSI filter).
Add alerts when price touches pivot levels or RSI crosses critical values.
Integrate into a full trading strategy script (strategy.*) for backtesting.
Jack's ADX v3 with Multi-TF TableAdded a table showing the ADX value on 3 timeframes.
You can change the timeframes in the settings.
NOTE: When you change the timeframe/s in the settings it will change the value in the table but the timeframe label does not change. To be fixed.
But if you change timeframe 2 to 1 hour, the text in the table will say 26m but the value is from the 1 hour adx value.
Hope that makes sense.
FeraTrading Multi-Timeframe FVG w/ Volume FilteringWelcome to the FeraTrading Multi-Timeframe FVG w/ Volume Filtering Indicator.
This Fair Value Gap (FVG) indicator identifies bullish and bearish FVGs across up to 5 customizable timeframes—from intraday scalps to higher-timeframe confluences.
🔹 Volume-Filtered FVGs: Optionally filter for high-volume zones only, focusing on strong institutional interest.
🔹 Bullish & Bearish Toggles: Choose which setups you want to see.
🔹 Dynamic Gap Lengths: Gap size automatically scales with volume intensity using a smart multiplier.
🔹 Multi-Timeframe Support: Pulls FVGs from higher timeframes without cluttering your chart.
🔹 Color-Coded Zones: Easily distinguish between bullish and bearish areas with custom transparency.
Great for scalpers, day traders, and swing traders looking for precise entry zones backed by volume and structure.
We made this indicator open-source on purpose: So you can tweak it, improve it, or build on it. Whether you’re a developer or a trader with some coding skills, we want you to make it your own and help the tool evolve with the community. Mess with the volume logic or how the FVGs interact with candles, it is all setup for you to do so. If you are not a coder, enjoy using a great indicator!
This indicator was developed by FeraTrading to visualize market structure.
HTF FibonacciThis indicator displays Fibonacci lines for the selected previous HTF candle.
You can set its Fibs levels and colors.
HTF options: 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours and 1 day
ADX with Shaded ZoneThe ADX with Shaded Zone indicator is a momentum-based tool that visualizes trend strength using the Average Directional Index (ADX) along with the +DI and -DI lines. This indicator enhances the traditional ADX setup by adding a shaded zone between ADX levels 20 and 25, helping traders easily identify the transition area between non-trending and trending market conditions.
It plots:
+DI (Green): Positive Directional Indicator
−DI (Red): Negative Directional Indicator
ADX (Blue): Measures the strength of the trend
Shaded Zone: Highlights the indecisive range where ADX is below 25 (gray background between levels 20 and 25)
⚙️ How to Use:
✅ Trend Identification:
ADX < 20: Weak or no trend. Avoid trend-following strategies.
ADX 20–25 (Shaded Zone): Transition zone. Potential trend forming — stay cautious.
ADX > 25: Stronger trend. Favor trend-following strategies.
✅ Direction Confirmation:
If +DI > -DI and ADX > 25 → Uptrend confirmation.
If -DI > +DI and ADX > 25 → Downtrend confirmation.
Crossovers between +DI and -DI can be used as early signals.
✅ Shaded Zone Use:
The gray shaded area helps visually filter out low-trend strength conditions.
Useful for trend traders to wait before entering until ADX breaks above 25.
Equal Highs and Equal LowsIt identifies eqx, teqx and seqx. So you are able to use them and determine what might happen. Trust me this indicator works if you know what you are doing
Price Action Swing High & LowThis indicator is auto plot Swing High and Swing Low and also it identifies Buy Zone and Sell Zones.
[𝐊𝖕𝖙-𝑨𝖍𝖆𝖇] PnL-TrackerThe PnL tracker shows how much you’re up or down in your own currency, based on the current exchange rate.
Let’s say your home currency is EUR.
On October 11, 2022, you bought 10 Tesla stocks at $219 apiece.
Back then, with an exchange rate of 0.9701, you spent €2,257.40.
If you sold the 10 Tesla shares on April 17, 2025 for $241.37 each, that’s around a 10% gain in USD.
But if you converted the USD back to EUR on the same day at an exchange rate of 1.1398, you’d actually end up with an overall loss of about 6.2%.
Right now, only a single entry point is supported.
If you bought shares on different days with different exchange rates, you’ll unfortunately have to enter an average for now.
For viewing on a phone, the table can be simplified.
AlphaFlow: Oscillator PanelModular Oscillator Framework with WaveTrend, BBWP, RSI, Hybrid Money Flow, and Real-Time Structure Signals.
AlphaFlow: Oscillator Panel is a modular multi-oscillator system built for discretionary flow traders.
It provides real-time analysis across WaveTrend (momentum structure), BBWP (volatility squeeze detector), RSI (relative momentum), and a Hybrid Money Flow Engine (normalized MFI + CMF blend).
Unique real-time structure signals (Anchor, Trigger, Snake Eyes) help traders recognize momentum shifts visually without automation bias.
Key Features:
📈 Real-time pivot labeling (A / T / 👀) based on WaveTrend structure
📊 Multi-Timeframe Confluence Matrix (WT, RSI, VWAP-MACD, OBV)
🎨 Clean visual default styling with customizable Style Tab
🚫 No repainting, no future leaks — purely educational and discretionary by design
⚡ Note:
This script is one module of the full AlphaFlow System.
For complete functionality, combine it with:
AlphaFlow: Smart Money + ATR Fusion
AlphaFlow: Deployment Guide
📖 Quick Start:
➊ Add AlphaFlow: Oscillator Panel to your chart
➋ Add AlphaFlow: Smart Money + ATR Fusion for liquidity/trend mapping
➌ Add AlphaFlow: Deployment Guide for risk-based scaling decisions
Each module can be used individually or combined for maximum strategic benefit.
📖 How to Use:
➊ Load AlphaFlow: Oscillator Panel on your chart
➋ Watch for real-time structure signals:
🅰️ Anchor (A): Possible deep pivot forming
🔵 Trigger (T): Confirmation after Anchor
👀 Snake Eyes (double Anchor): High reversal probability
➌ Confirm multi-timeframe trend flow via Confluence Matrix (WT, RSI, VWAP-MACD, OBV)
⚡ Designed for discretionary analysis — no automated trading, no future prediction.
Global M2/M3 Liquidity IndexThis Indicator takes M3 data from 20 of the largest Central banks. M3 data is not available for USA and CHINA and has been substituted with M2.
Overall M3 captures far more than M2 and is therefore a superior model when attempting to track global liquidity.
This indicator also allows the data to be pushed forward to adjust for the lagged effect global liquidity has on markets.
The recommended lag is 90 days.
Directional Bias | FractalystNote: This indicator is specifically designed to integrate with the Quantify suite, automating bias detection through input.source(). While other scripts may provide similar functionality, this indicator uniquely connects with Quantify by outputting precise bias values: bullish (1), bearish (-1), or neutral (0).
What is the Directional Bias indicator?
The Directional Bias indicator is a powerful tool designed to automatically identify market bias (bullish, bearish, or neutral) using a sophisticated system of moving averages and filters. It serves as the perfect companion to the Quantify suite, allowing traders to objectively determine market direction without relying on subjective analysis or emotional decision-making.
How does the Directional Bias indicator work?
The indicator utilizes up to four customizable moving averages (MA) with various types (SMA, EMA, HMA, VWMA, etc.) and timeframes to determine market direction. It analyzes price action relative to these moving averages and applies user-defined filters to calculate whether the current market condition is bullish, bearish, or neutral.
What makes this indicator different from other trend indicators?
- Unlike traditional trend indicators that rely on a single moving average or oscillator, the Directional Bias indicator offers:
- Multi-moving average analysis with up to 4 different MAs
- Customizable MA types (SMA, EMA, WMA, VWMA, RMA, HMA, DEMA, TEMA, etc.)
- Multi-timeframe functionality for each MA
- Configurable filters to eliminate false signals
- Clear visual representation of bias directly on your charts
How does this indicator integrate with the Quantify?
- The Directional Bias indicator serves as the automated "bias detection engine" for the Quantify suite. While the original Quantify model required manual bias selection, this integration allows Quantify to automatically detect market bias and adjust its calculations accordingly. This creates a more streamlined workflow where Quantify can focus on identifying high-probability setups aligned with the objectively determined market direction.
Who is this indicator designed for?
This indicator is perfect for:
- Traders who use the Quantify suite and want to automate bias detection
- Technical analysts seeking objective trend confirmation
- Systematic traders who need clear rules for market direction
- Any trader looking to remove subjectivity from their directional analysis
What are the key benefits of using the Directional Bias indicator?
- Objective Analysis: Removes emotion and subjectivity from market direction determination
- Customizable: Adapt to your preferred timeframes and moving average types
- Visual Clarity: Instantly see market bias directly on your charts
- Seamless Quantify Integration: Automates what was previously a manual step in the Quantify workflow
- Enhanced Decision-Making: Provides clear signals for when to look for long vs. short opportunities
How can I optimize the Directional Bias indicator for my trading style?
You can customize:
- MA types for different market conditions (trending vs. ranging)
- MA lengths for sensitivity adjustment (shorter for quick signals, longer for reduced noise)
- Timeframes for each MA to incorporate multi-timeframe analysis
- Filter conditions to refine signals based on your risk tolerance
How does this indicator fit into a complete trading system?
The Directional Bias indicator serves as the first essential component in a complete system:
- Step 1: Use Directional Bias to determine market direction
- Step 2: Let Quantify identify high-probability entry setups aligned with that direction
- Step 3: Implement proper risk management using Quantify's Kelly Criterion calculations
- Step 4: Manage your trades with Quantify's trailing stop mechanisms
What technical innovations does this indicator offer?
- The indicator leverages advanced Pine Script functionality to deliver:
- Real-time bias calculation across multiple timeframes
- Non-repainting signals that provide reliable analysis
- Optimized code for smooth performance
- Visual color-coding for instant bias recognition
- Seamless integration with the broader Quantify ecosystem
To implement: Add both indicators to your chart, select Directional Bias as Quantify's external input source, and the system will automatically adjust calculations based on the detected market bias.
FVG Alerts v1.0This indicator automatically spots fair value gaps on your TradingView chart. It marks bullish gaps where price jumped up and bearish gaps where price dropped down. You see clear colored boxes around each gap for quick visual identification. The first valid bullish gap of the day triggers a one‑time alert so you catch prime opportunities. Behind the scenes it checks that gaps are significant by looking at price movement strength. It also confirms that volume was higher than usual during the gap bar for added reliability. Additionally it considers past order blocks to ensure gaps happen near key areas. As soon as price returns into a gap zone the boxes automatically disappear to keep your chart neat. You can choose any higher timeframe for gap detection to match your trading style. Colors for bullish and bearish gaps are fully customizable so they stand out on your setup. Sensitivity settings let you adjust how small or large a gap must be to appear. The indicator manages how many past zones to track so you never overload your chart. Alert conditions are named clearly for easy integration with TradingView notifications. You can link those alerts to email, SMS, or webhook services for instant updates. No coding is required to get started—all options are available in the input menu.
This tool streamlines gap‑based trading by automating every step from detection to alerting. It saves you time by filtering out weak or insignificant gaps before showing them. With clear visuals you can focus on price action without digging through raw data. The dynamic reset ensures you only get one first‑bull alert per day, preventing noise. Custom timeframe selection allows you to spot gaps on any timeframe from minutes to days. The automatic cleanup keeps your workspace clutter‑free and responsive. You choose how many past gaps to keep visible, so you control chart complexity. Built‑in risk‑control filters help you avoid traps where price gap zones lack follow‑through. Alerts pop up right on the chart and can be sent to external apps for mobile convenience. Visual customization options include box opacity, line thickness, and extend length. Everything is wrapped in a straightforward interface that traders at any level can use. Whether you are scalping or swing trading this indicator adapts to your pace. It brings professional gap‑analysis techniques within reach without programming skills. By focusing on high‑confidence gaps you can refine entries and exits more effectively. Overall this indicator empowers traders to spot strong gap setups and act quickly.
Rolling Beta against SPY📈 Pine Script Showcase: Rolling Beta Against SPY
Understanding how your favorite stock or ETF moves in relation to a benchmark like the S&P 500 can offer powerful insights into risk and exposure. This script calculates and visualizes the rolling beta of any asset versus the SPY ETF (which tracks the S&P 500).
🧠 What Is Beta?
Beta measures the sensitivity of an asset's returns to movements in the broader market. A beta of:
- 1.0 means the asset moves in lockstep with SPY,
- >1.0 indicates higher volatility than the market,
- <1.0 implies lower volatility or possible defensive behavior,
- <0 suggests inverse correlation (e.g., hedging instruments).
🧮 How It Works
This script computes rolling beta over a user-defined window (default = 60 periods) using classic linear regression math:
- Calculates daily returns for both the asset and SPY.
- Computes covariance between the two return streams.
- Divides by the variance of SPY returns to get beta.
⚙️ Customization
You can adjust the window size to control the smoothing:
- Shorter windows capture recent volatility changes,
- Longer windows give more stable, long-term estimates.
📊 Visual Output
The script plots the beta series dynamically, allowing you to observe how your asset’s correlation to SPY evolves over time. This is especially useful in regime-change environments or during major macroeconomic shifts.
💡 Use Cases
- Portfolio construction: Understand how your assets co-move with the market.
- Risk management: Detect when beta spikes—potentially signaling higher market sensitivity.
- Market timing: Use beta shifts to infer changing investor sentiment or market structure.
📌 Pro Tip: Combine this rolling beta with volatility, Sharpe ratio, or correlation tracking for a more robust factor-based analysis.
Ready to add a layer of quantitative insight to your chart? Add the script to your watchlist and start analyzing your favorite tickers against SPY today!
Global Liquidity Index vs BTCTitle: Bitcoin Price Model Based on Global Liquidity Power Law
Description:
This Pine Script implements a predictive Bitcoin (BTC) price model derived from an observed power-law relationship between BTC price and Global Liquidity (specifically Global M2). The model is based on the relationship BTC ~ GL^9.3, where GL represents Global M2, and the best correlation is achieved with an 85-period lead in GL, making it a leading indicator for BTC price movements.
Features:
BTC Price Model:
Calculates a BTC price model using the power-law relationship (BTC ~ GL^9.3) with an 85-period lead in Global Liquidity data.
The model is superimposed on the chart using forced overlay for clear visualization of the predicted BTC price trend relative to actual price.
Directional Oscillator:
Displayed in a lower panel, the oscillator compares the structural similarity between the actual BTC price and the GL-based price model.
Computes the win rate of the averaged BTC price (over a 1-year period) versus the price model to highlight structural alignment.
Projects future oscillator values based on the 85-period lead in the GL model, providing insight into potential price direction.
Purpose:
This script serves as a predictive tool for traders and analysts by leveraging the leading relationship between Global Liquidity and BTC price. The overlay model and oscillator provide both a visual and quantitative framework to anticipate BTC price trends and assess structural alignment with global economic indicators.
Usage Notes:
Ensure Global M2 data is accessible or provided as an input for accurate calculations. It works best when used with the "All Time History" BTCUSD index.
The 85-period lead in GL allows for forward-looking projections, making this tool suitable for strategic planning.
The oscillator aids in confirming the structural validity of the model, enhancing confidence in its projections.
Access: Invite-only. Contact the script author for access requests or additional details.
Also signup for 15 more power law indicators here: www.patreon.com
Max Drawdown Line Flexible Data Source Selection
Users can now choose between Close, Volume, or SMA (with adjustable length) for drawdown calculations.
Max Drawdown Line## Script Summary: "Max Drawdown Line"
This Pine Script indicator calculates and visualizes drawdown statistics for a selected period on any TradingView chart. Here’s how it works:
- **Selectable Analysis Window:**
The user chooses a start date (`startDate`). The script only analyzes bars from that date forward.
- **Drawdown Calculation:**
The script tracks the highest price reached (peak) and the lowest price after that peak (trough) within the selected window.
- When price falls below the peak, a drawdown cycle begins.
- The depth of each drawdown (as a percentage from peak to trough) and the bar where the trough occurs are stored in arrays.
- **Current Drawdown Visualization:**
For each bar in the selected period, the script calculates the current drawdown percentage and plots it as a colored line.
- **Color Logic:**
- Red when the drawdown is deepening (getting worse).
- Green when the drawdown is recovering (getting better).
- Transparency increases with drawdown depth for visual emphasis.
- **Maximum Drawdown Identification:**
At the end of the analyzed period, the script identifies the maximum drawdown (the largest drop from peak to trough).
- It draws a horizontal dotted red line from the bar where this maximum drawdown occurred to the last bar.
- It also plots a solid horizontal red line at the maximum drawdown level across the entire pane for easy reference.
- **Reference Lines:**
Additional horizontal lines are plotted at 0% (no drawdown), -50%, and -100% (total loss) drawdown levels for context.
Daily Forex Market Zones (IST)📈 Script Description: Market Range Zones (5:30 AM–7:30 AM & 7:00 PM–9:00 PM)
This custom Pine Script highlights two key time-based range zones on the chart:
🕔 Morning Range (5:30 AM – 7:30 AM)
🔹 Helps identify the early market structure and potential breakout levels.
🔹 Useful for traders who track early volatility and pre-London session setups.
🌆 Evening Range (7:00 PM – 9:00 PM)
🔹 Captures the price consolidation or movements during late market hours.
🔹 Helpful for traders who look for end-of-day or Asian session setups.
✅ Both ranges are displayed with custom visuals (boxes or lines) for quick reference.
✅ Supports intraday trading strategies like breakout, fakeout, and range-retest entries.
✅ Time zones are adjustable depending on your broker/server time settings.
Oscura 23:00 - 00:00 (Italia)Hiding spread zone.
Usefull to hide zone where the broker make new contract and erase spread
AI Trading Signals - Crypto, Stocks & Forex🧠 AI Trading Signals – Multi-Asset Toolkit for Crypto, Stocks & Forex
The AI Trading Signals Indicator is a closed-source, invite-only script built for discretionary and swing traders seeking confirmation-based signals across multiple timeframes and markets.
This indicator provides actionable insights through a modular signal engine that supports:
Buy & Sell confirmation signals
Long & Short entry and trailing exit signals
Breakout continuation detection (LC / SC logic)
Take Profit and Stop Loss overlays
Bitcoin macro market cycle alerts (Top, Bull/Bear Season)
🔍 Core Logic Overview
The script uses layered logic to filter and confirm price action based on multiple classic indicators - enhanced through proprietary signal sequencing and visual filtering. All signals are based on confirmed candle closes and do not repaint.
EMA cross/stacking (20/50/200) to define directional bias
RSI + VWAP fusion to refine overbought/oversold momentum triggers
Trend channel logic to dynamically track range expansion and potential reversals
LC (Long Continuation) and SC (Short Continuation) signals for structural breakouts
Macro BTC signals using 111-day and 350-day SMAs for cycle tracking
Optional multi-timeframe logic (e.g., only trigger 15m Long when 4H Buy is active)
🎯 Strategy Modes
Users can choose a strategy from the “Inputs” tab based on their approach and market conditions.
Buy & Sell – All base signals shown (directional with TP overlays)
Long Positions Only – Filters to show bullish setups and Long exit logic
Short Positions Only – Bearish setups with Short exits and TP points
Breakout Strategy – Continuation logic using LC/SC with momentum confirmation
BTC Cycle Strategy – Signals based on macro market shifts in BTCUSD
⚙️ Customization & Dashboard Features
This script is designed to be clean and flexible, with optional overlays and control over signal visibility in the “Style” tab.
Show/hide specific labels (Buy, Sell, TP, SL, Exit Long, Exit Short, etc.)
Optional Multi-Timeframe Signal Dashboard for 3m, 15m, 45m, 4H, and 1D signals
Take Profit and Stop Loss levels auto-plotted on screen
Compatible across Crypto, Stocks, and Forex markets
🧠 What Makes This Script Unique
This script is not a simple mashup - it’s an original, closed-source signal engine custom-built to streamline discretionary trading.
Layered logic built from the ground up (no reused or open-source code)
Multi-timeframe filtering encourages signal confirmation and cleaner entries
Breakout signals paired with trailing stop logic to improve exit management
Macro cycle signals specific to BTCUSD (Bull/Bear Season, BTC Top logic)
Visualization built for clarity — not crowding
📌 How to Use It
Select a strategy from the Inputs tab
Toggle visual signal layers in the Style tab
Use the MTF Signal Dashboard to spot cross-timeframe alignment
Set alerts for any signal type based on your trading strategy
Use in conjunction with your own technical or risk model for added structure
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or guarantee results. Trading carries risk - use at your own discretion and consult with a licensed financial professional if needed.
Collatz Conjecture - DolphinTradeBot1️⃣ Overview
Every positive number follows its own unique path to reach 1 according to the Collatz rule.
Some numbers reach the end quickly and directly.
Others rise significantly before crashing down sharply.
Some get stuck within a certain range for a while before finally reaching 1.
Each number follows a different pattern — the number of steps it takes, how high it climbs, or which values it passes through cannot be predicted in advance.
This is a structure that appears chaotic but ultimately leads to order:
Every number reaches 1, but the way it gets there is entirely uncertain.
2️⃣ How Is It Work?
The rule is simple:
▪️ If the number is even → divide it by two.
▪️ If it’s odd → multiply it by three and add one.
Repeat this process at each step.
Example :
Let’s say the starting number is 7:
7 → 22 → 11 → 34 → 17 → 52 → 26 → 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1
It reaches 1 in 17 steps.
And from there, it always enters the same cycle:
4 → 2 → 1 → 4 → 2 → 1...
3️⃣ Why Is It Worth Learning?
🎯 This indicator isn’t just mathematical fun—it’s a thought experiment for those who dare to question market behavior.
▪️ It’s fun.
Watching numbers behave in unpredictable ways from a simple rule set is surprisingly enjoyable.
▪️ It shows how hard it is to teach a computer what randomness really is .
The Collatz process can be used to simulate chaotic behavior and may even inspire creative ways to introduce complexity into your code.
▪️ It makes you think — especially in financial markets.
The patternless, yet rule-based structure of Collatz can help train your mind to recognize that not all unpredictability is random. It’s a great mental model for navigating complex systems like price action.
▪️ Just like price movements in financial markets, this ancient problem remains unsolved.
Despite its simplicity, the Collatz conjecture has resisted proof for decades — a reminder that even the most basic-looking systems can hide deep complexity.
4️⃣ How To Use?
Super easy — in the indicator’s settings, there’s just one input field.
Enter any positive number, and you’ll see the pattern it follows on its way to 1.
You can also observe how many steps it takes and which values it visits in the info box at the top center of the chart.
5️⃣ Some Examples
You Can Observe the Chaos in the Following Examples⤵️
For Input Number → 12
For Input Number → 13
For Input Number → 14
For Input Number → 32768
For Input Number → 47
HG StdDevThe HG StdDev indicator provides a dynamic view of market volatility by calculating the standard deviation of a selected price source over a customizable period. Additionally, it plots a threshold line representing the highest standard deviation over a secondary lookback window.
Red Line: Current standard deviation (volatility) of the price.
Gray Line: Highest standard deviation value within the lookback range, serving as a reference for recent peak volatility.
Use this tool to identify periods of increasing or extreme volatility, potential breakout zones, or to filter signals based on volatility thresholds.
Choppiness Index [CHOP]🧠 How to Use It
CHOP > 61.8: Likely a sideways/choppy market. Consider sitting out or scalping.
CHOP < 38.2: Strong trend developing — good for trend-following or breakout trades.
Hovering around 50? It’s in a neutral zone, so be cautious.
TuxTune - Dynamic Vertical LineVisual aid. The vertical line moves dynamically with the last candle of the selected time frame.
The middle of the line moves with the latest price.
The line range (height) can be set to any value to aid in quickly gauging the size of the candles without having to keep looking at the numbers on the vertical axis to determine how big the candles are.
Line width, color, and distance from the last candle can also be set.
The label can be turned off/on.