Индикаторы и стратегии
Power of 369 [SmartFoxy]The Power of 369 Indicator detects market swing structures and overlays dynamic time-based color labeling using the 3-6-9 numeric pattern.
It highlights price turning points with summed time signatures, aligning intraday structure with temporal symmetry.
Includes OTT session filtering, automatic box plotting, ATR-based validation, and custom color control for 3, 6, 9 digit resonance.
---
## 📘 How to Use
Activate the Indicator
1. Add Magic 369 to your chart.
It works on any timeframe and market — Forex, Crypto, Indices, or Stocks.
2. Adjust the Session Duration to divide the chart into visual time blocks.
3. Use the OTT filter to show activity only during your preferred trading session.
4. Enable “Show sum of times” to display the digit sum of each candle’s time (e.g., m+m or h+h+m+m).
Combine this with “Show Swing Labels” or Market Structures to visualize both time and structure interaction.
5. Turn on “Set new colors 369” in the settings.
Each label changes its color based on the time-sum value:
3 → Orange — Accumulation;
6 → Blue — Manipulation;
9 → Purple — Distribution;
Other digits → Neutral gray.
6. Market Structure Tools:
Detects Swing Highs/Lows automatically;
Marks BoS (Break of Structure) and CHoCH (Change of Character);
Optionally validates swings using ATR deviation for confirmation.
7. Customize Visuals – Adjust label size, line style, colors, and opacity to match your chart theme.
8. Interpretation – Use the 3-6-9 patterns to identify time-based energy shifts in market flow —
3 initiates accumulation, 6 signals manipulation, and 9 completes distribution. Together, they reveal the rhythm behind structural price movements.
---
## ⚙️ Settings Overview
🕓 Session Settings:
Show Boxes Session – enables time-block boxes on chart.
Session Duration – defines how many bars each session lasts.
Show only at OTT – displays sessions only during your chosen trading hours (e.g., 16:30–22:00).
Boxes Drawing Limit – limits the maximum number of boxes drawn on the chart.
🔢 3-6-9 Color Logic
Set new colors 369 – activates unique colors based on the time-sum digit.
/3, /6, /9, /others – customize colors for each digit group:
3 → Accumulation;
6 → Manipulation;
9 → Distribution;
others → Neutral.
🧭 Labels
Show Swings Labels – toggles display of H/L, HH/HL/LL/LH, or symbol ◆.
Show sum of times – displays digit-sum values next to swing labels.
Type of Sum – choose between:
m+m → uses minute sum only
h+h+m+m → uses hour + minute sum combined
Label Size – adjusts label text size.
📈 Market Structure (𝓜𝓢)
Show Market Structures – enables structure detection and visualization.
Show 𝓜𝓢 Validation (ATR) – confirms structure strength using ATR-based deviation logic.
Show 𝓜𝓢 Labels – shows BoS and CHoCH labels directly on the chart.
Show Levels – draws support/resistance levels from recent structures.
Colors – separate settings for bullish and bearish structures.
Advanced Swing Points Liquidity by BTTAdvanced Swing Points Liquidity Indicator by BTT
Identify key price reversals and liquidity zones with precision using the Advanced Swing Points Liquidity indicator. This tool automatically detects swing highs (Buy Side Liquidity) and swing lows (Sell Side Liquidity) based on customizable pivot logic, and visualizes these levels on your chart for enhanced trading decisions.
Core Features:
Swing Logic Choice: Instantly switch between classic 3-point (tight pivots) and broader 5-point (stronger swings) swing detection.
Visual Clarity: Each swing point is highlighted with your choice of colored labels and extended horizontal lines.
Custom Line Length: Define how far each liquidity line extends, making it easy to spot critical reversal and breakout zones across the chart.
Liquidity Zones: (Optional) Shaded boxes overlay the chart at swing highs/lows, helping you visualize supply and demand areas and optimize entries/exits.
Distinctive Labels: BSL (Buy Side Liquidity) at swing highs, SSL (Sell Side Liquidity) at swing lows, making institutional liquidity levels immediately visible.
How to Use:
Use swing labels and lines to spot potential price reaction zones, stop hunt areas, and trend reversals.
Combine with your price action, order blocks, or other SMC tools for confirmation and trade planning.
Adjust parameters for any market (indices, stocks, crypto, commodities), any timeframe.
Perfect For:
Smart money traders locating liquidity grabs and stop hunts
Supply & demand, market structure, and swing traders
Anyone wanting automated mapping and visual clarity for swing pivots and institutional levels
Customization:
Choose swing detection style (pivot window)
Toggle lines, labels, and liquidity boxes on/off
Set color, box height, and line length for maximum visual control
Pin Bar EMA34 - Full (Labels High/Low + Custom)update label close price and coditional of signal pin bar.
FintechFull — Next Candle Probability (EB, EWMA, Regime)Purpose
Developed by FintechFull as a quantitative assistant for day traders.
This indicator estimates the probability that the next candle will close green or red, using recent R/G color patterns of depth N = 1..7.
When a trader knows which side has higher probability, it becomes a powerful edge for trading in the direction of the dominant trend.
Methodology
- Strict no-lookahead counting (no repaint, doji removed)
- Hierarchical Empirical Bayes (EB) smoothing across depths (1→7)
- Optional exponential decay (EWMA) for time-adaptive weighting
- Higher-timeframe EMA regime filter (UP-only / DOWN-only / OFF)
- ALL / SELECTED scopes with single-decision voting (one clean signal per bar)
- On-chart tags (“R” = RAW freq, “E” = EB) and full alert system
How it helps day traders
You can see whether the next bar’s probability favors the bullish or bearish side — then trade in alignment with trend and probability, not emotion.
Learn More
📘 The full research article explaining the math, logic, and Pine implementation,
and the Next-Candle Prediction Bot, are both available on the FintechFull Telegram channel.
→ Just search “@FintechFull” on Telegram to read the full paper and try the bot.
Trend Profit Tracking——JackFinanceTrend Profit Tracking Indicator Usage Guide1. Chart Interpretation and UsageSignals: Green "Buy" (below bar) for long entry; red "Sell" (above bar) for short entry or close long. Based on ATR stop reversal.
Trend Line: Green = bullish (support); red = bearish (resistance); gray = neutral.
Background: Light green/red = trend environment.
Filter Band: Green fill confirms bullish; red confirms bearish. Signals more accurate when price is inside the band.
Volume: Yellow bars = unusual volume spike; combine with signals for reversal hints.
Table (top-right): Bullish; Bearish; Neutral.
2. Trading ApplicationEntry: Signal + matching filter band color (green for long, red for short).
Exit: Reverse signal or price hits trend line/band edge.
Stop-Loss: Use built-in trailing stop; ATR multiplier for position sizing.
Best For: Daily/4H trend charts; avoid choppy markets.
Backtest: Verify in strategy tester (~55-65% win rate with defaults).
3. TipsCombine with RSI for filters.
Trading involves risk; decide at your own discretion.
Portfolio Strategy TesterThe Portfolio Strategy Tester is an institutional-grade backtesting framework that evaluates the performance of trend-following strategies on multi-asset portfolios. It enables users to construct custom portfolios of up to 30 assets and apply moving average crossover strategies across individual holdings. The model features a clear, color-coded table that provides a side-by-side comparison between the buy-and-hold portfolio and the portfolio using the risk management strategy, offering a comprehensive assessment of both approaches relative to the benchmark.
Portfolios are constructed by entering each ticker symbol in the menu, assigning its respective weight, and reviewing the total sum of individual weights displayed at the top left of the table. For strategy selection, users can choose between Exponential Moving Average (EMA), Simple Moving Average (SMA), Wilder’s Moving Average (RMA), Weighted Moving Average (WMA), Moving Average Convergence Divergence (MACD), and Volume-Weighted Moving Average (VWMA). Moving average lengths are defined in the menu and apply only to strategy-enabled assets.
To accurately replicate real-world portfolio conditions, users can choose between daily, weekly, monthly, or quarterly rebalancing frequencies and decide whether cash is held or redistributed. Daily rebalancing maintains constant portfolio weights, while longer intervals allow natural drift. When cash positions are not allowed, capital from bearish assets is automatically redistributed proportionally among bullish assets, ensuring the portfolio remains fully invested at all times. The table displays a comprehensive set of widely used institutional-grade performance metrics:
CAGR = Compounded annual growth rate of returns.
Volatility = Annualized standard deviation of returns.
Sharpe = CAGR per unit of annualized standard deviation.
Sortino = CAGR per unit of annualized downside deviation.
Calmar = CAGR relative to maximum drawdown.
Max DD = Largest peak-to-trough decline in value.
Beta (β) = Sensitivity of returns relative to benchmark returns.
Alpha (α) = Excess annualized risk-adjusted returns relative to benchmark.
Upside = Ratio of average return to benchmark return on up days.
Downside = Ratio of average return to benchmark return on down days.
Tracking = Annualized standard deviation of returns versus benchmark.
Turnover = Average sum of absolute changes in weights per year.
Cumulative returns are displayed on each label as the total percentage gain from the selected start date, with green indicating positive returns and red indicating negative returns. In the table, baseline metrics serve as the benchmark reference and are always gray. For portfolio metrics, green indicates outperformance relative to the baseline, while red indicates underperformance relative to the baseline. For strategy metrics, green indicates outperformance relative to both the baseline and the portfolio, red indicates underperformance relative to both, and gray indicates underperformance relative to either the baseline or portfolio. Metrics such as Volatility, Tracking Error, and Turnover ratio are always displayed in gray as they serve as descriptive measures.
In summary, the Portfolio Strategy Tester is a comprehensive backtesting tool designed to help investors evaluate different trend-following strategies on custom portfolios. It enables real-world simulation of both active and passive investment approaches and provides a full set of standard institutional-grade performance metrics to support data-driven comparisons. While results are based on historical performance, the model serves as a powerful portfolio management and research framework for developing, validating, and refining systematic investment strategies.
Challenge Tool by Futures.RobbyChallenge Tool by Futures.Robby
This tool is designed specifically for traders participating in Futures Challenges (e.g., Topstep, Apex, FundedNext) using the NQ/MNQ (Nasdaq 100) contracts. It provides a visual and numerical overview of risk and profit target management.
Key Features:
Dynamic Level Calculation: Calculates and visualizes key price levels directly on your chart, based on your current account metrics.
Challenge Integration: Automatically derives your Profit Target and Liquidation (Drawdown Limit) levels from your current account balance, starting capital, and challenge requirements.
Trade Visualization: Displays your current Entry, Take-Profit (TP), and Stop-Loss (SL) levels as configurable horizontal lines.
Two Operating Modes:
'Challenge' (Default): Automatically sets TP and SL as the required distance to the global Challenge Target and Liquidation Limit (divided by the number of contracts). This is ideal for determining the necessary price movement for your trade.
'Fix + Challenge': Allows you to manually input TP and SL distances in Points/Ticks/Dollars, while also displaying the global Challenge Target and Liquidation levels for context.
Information Table (HUD): A customizable table displays all relevant metrics in real-time (e.g., Entry Price, TP/SL Levels, Account Targets, Liquidation Levels, etc.).
Contract Table: Shows the Points/Ticks distance required for 1 to 10 contracts (Mini NQ and Micro MNQ) to reach the Challenge Goal or hit the Liquidation Limit.
Candle Size Monitor: Measures the average and maximum candle size over a specified lookback period to help gauge current market volatility.
Configuration:
The indicator is highly customizable via the Settings menu. You can configure:
Your current Account Balance, the Liquidation Distance (Liq. Dist.) of the challenge, and the Goal amount.
Whether the entry price is set manually ('Fix') or automatically ('Auto') based on the current market price.
The Number of Contracts and the Contract Type (Mini/Micro) you are trading.
The position, size, and color scheme of the Information Table.
The visibility of every line and table element.
Note: This tool is solely for visualization and risk calculation; it does not execute trades. It serves as a valuable aid for disciplined risk management in your NQ/MNQ Futures trading.
Breakout Scanner [Europe] 🚀 Breakout Scanner - Situational Analysis Mastery
Professional Breakout & Trend-Following Strategy Based on Tom Hougaard's Situational Analysis
🎯 WHAT IS THIS INDICATOR?
A sophisticated multi-timeframe breakout scanner designed for European trading sessions, implementing the powerful "Situational Analysis" methodology from renowned trader Tom Hougaard. This professional tool identifies high-probability breakout opportunities with comprehensive filter systems to ensure quality signals.
⭐ KEY FEATURES
🏛️ SESSION-BASED TRADING
- European Overnight Range
- London Pre-Open & First Breakouts
- Tokyo Box & London Launch Sessions
- Smart Session Detection with Auto-DST
🎯 ENHANCED CONDITIONS
- School Run Strategy (SRS) by Tom Hougaard
- Anti-SRS Filter** for counter-trend opportunities
- Session-specific logic for optimal entry timing
🛡️ ADVANCED FILTER SYSTEMS
- Heiken Ashi Momentum Confirmation
- EMA 200 Trend Filter
- Ichimoku Baseline & Divergence
- RSI Threshold Filter
- ATR Volatility Filter
- Multi-timeframe Compatibility
⚡ SMART ALERTS & VISUALS
- Multi-timeframe Alert Confirmation
- Breakout Size Detection (Beyond/Within Range)
- Take Profit Levels with ATR Calculation
- Customizable Visual Markers
- Enhanced Alert Messages with Filter Status
📈 OPTIMIZED FOR
- GERMAN DAX ⚡
- OIL & GOLD 🛢️
- NIKKEI 🇯🇵
- US30 & NASDAQ 🇺🇸
- All Major Indices & Commodities
🔧 CORE STRATEGY PHILOSOPHY
This indicator embodies Tom Hougaard's Situational Analysis approach :
- Identify the Situation : Market context through session analysis
- Define the Action : Clear breakout levels and ranges
- Execute with Precision : Filtered, high-quality signals
- Manage the Trade : Built-in TP levels and size detection
🎨 CUSTOMIZATION OPTIONS
Session Management
- Toggle individual trading sessions
- Smart session auto-disable with SRS/Anti-SRS
- Customizable session times
Filter Controls
- Enable/disable all filter systems independently
- Adjustable timeframe for each filter
- Custom threshold settings
Visual Preferences
- Heiken Ashi overlay display
- Breakout marker styles and colors
- TP line customization
- Debug information panel
📊 HOW TO USE
1. SETUP : Apply to your preferred instrument (DAX, Oil, Gold, etc.)
2. CONFIGURE : Enable your preferred sessions and filters
3. MONITOR : Watch for breakout markers during active sessions
4. EXECUTE : Enter on confirmed breakouts with filter alignment
5. MANAGE : Use built-in TP levels or your own risk management
⚠️ RISK DISCLAIMER
This indicator is for educational and informational purposes only. Trading involves substantial risk and is not suitable for every investor. Always practice proper risk management and backtest strategies before live trading. Past performance is not indicative of future results.
🔒 TECHNICAL SPECIFICATIONS
- Platform : TradingView Pine Script v6
- Compatibility : All timeframes
- Markets : Forex, Indices, Commodities, Stocks
- Updates : Regular improvements and bug fixes
📞 SUPPORT & UPDATES
Regular updates based on user feedback and market changes. For suggestions or issues, please comment on the publication.
⭐ If this indicator helps your trading, please like and follow for more advanced tools! ⭐
Why Traders Love This Indicator:
✅ Comprehensive Filter System reduces false signals
✅ Session-Based Logic aligns with professional trading hours
✅ Multiple Timeframe Analysis for confirmation
✅ Customizable for Any Trading Style
✅ Professional-Grade Risk Management Tools
Boost your breakout trading profitability with institutional-grade session analysis!
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
High-Low-Avg Plot (1D)This script aims to plot the High, Low, Average (of High+Low+Close) for past 14 days of an index/a stock to provide certain levels in trading
PDB 4 MA + Candle Strength/Weakness Detector
4MA Strength & Reversal Detector
Unlock the power of momentum with this advanced 4 Moving Average system (20, 50, 100, 200) designed to pinpoint market strength and early reversal zones with precision.
How It Works:
- Bearish Reversal: Triggered when all moving averages align (20 < 50 < 100 < 200) and bearish reversal candles appear — highlighting potential tops.
- Bullish Reversal: Triggered when all moving averages align (200 < 100 < 50 < 20) and bullish reversal candles form — marking potential bottoms
:Best For:
⚡ Scalpers and day traders using 1–5 minute timeframes
📈 Identifying momentum shifts and trend exhaustion early
Tip: Combine this with volume or RSI for stronger confirmation and fewer false signals.
ATR(21)% EMA Next to CandleATR, or Average True Range, is a technical analysis indicator that measures market volatility by calculating the average price movement of an asset over a set period. It does not indicate price direction but shows how much a market is fluctuating. A rising ATR indicates higher volatility, while a falling ATR suggests lower volatility.
Trader Mike Webster, known for his work with the growth-focused CANSLIM strategy developed by William O'Neil, has created his own indicator called the Webby RSI, which incorporates ATR. In this application, the ATR is used to scale a stock's movement relative to its 21-day exponential moving average (EMA). In this case it is based on a percentage.
Elite Signals ProV4 OptimizedElite Signals Pro V4 is a sophisticated multi-factor trading indicator that combines price action, momentum, and market structure analysis to generate high-probability trading signals. Unlike traditional indicators that rely on single metrics, Elite Signals uses a weighted confidence scoring system across 7 key market dimensions to provide filtered, quality signals.
🎯 Core Philosophy
The indicator operates on the principle that multiple confirmations lead to higher probability setups. Instead of looking at isolated signals, it evaluates:
Price Action (Wick strength & rejection patterns)
Trend Alignment (Multiple timeframe confirmation)
Market Context (Zones, liquidity, volatility)
Momentum (RSI with slope confirmation)
Entry Rules:
Wait for STRONG confidence signals (>70%) for higher probability
Ensure trend alignment matches signal direction
Check RSI is not extreme unless slope confirms reversal
Verify candle is meaningful rejection pattern
Risk Management:
Stop Loss: Place below recent swing low (BUY) or above swing high (SELL)
Take Profit: 1.5-2x risk ratio, or use trailing stops
Position Size: Scale based on confidence strength
1. Adaptive Confidence Threshold
Automatically adjusts based on market volatility
Stricter in high volatility (fewer but higher quality signals)
More lenient in calm markets (more opportunities)
2. Multi-Timeframe Alignment
15-minute trend alignment ensures you're trading with higher timeframe momentum
Reduces false signals from counter-trend moves
3. Liquidity Sweep Detection
Identifies stop hunts and liquidity grabs
Provides early warning of potential reversals
Graduated confidence (0.5 for touch, 1.0 for full sweep)
4. Zone-Based Trading
Supply/Demand zone detection for key levels
Percentage-based proximity works across all instruments
Combines with rejection candles for high-probability entries
⚠️ Important Notes
Do:
✅ Use on multiple timeframes for confirmation
✅ Combine with price action and market context
✅ Adjust parameters for your trading style
✅ Use proper risk management always
Don't:
❌ Trade every signal - be selective
❌ Ignore higher timeframe context
❌ Over-optimize parameters
❌ Risk more than 1-2% per trade
🚨 Risk Disclaimer
This indicator is a tool for analysis and should not be the sole basis for trading decisions. Always:
Use proper risk management
Test strategies in demo accounts first
Understand that past performance doesn't guarantee future results
Consider multiple confirmation sources before entering trades
KDJ Max-Distance (K-D vs K-J)This indicator measures the maximum divergence between K and its related lines (D or J) in the KDJ stochastic system.
KEY CONCEPT:
- Calculates two distances: |K-D| and |K-J|
- Outputs whichever distance is larger
- Shows which component (D or J) is most diverged from K at any given time
CALCULATION:
1. Standard KDJ: K (fast), D (K smoothed), J (3K - 2D)
2. Distance K-D: momentum between fast and slow lines
3. Distance K-J: captures extreme divergence
4. Output: max(|K-D|, |K-J|) or signed version
INTERPRETATION:
• High positive values: K strongly above both D and J (strong upward momentum)
• High negative values: K strongly below both D and J (strong downward momentum)
• Near zero: K aligned with D/J (consolidation or reversal zone)
• Background color shows which is dominant: Teal=K-D, Orange=K-J
USE CASES:
- Identify extreme momentum conditions
- Spot divergence exhaustion
- Confirm trend strength
- Filter ranging vs trending markets
SETTINGS:
- Signed mode: preserves direction (positive/negative)
- Absolute mode: shows pure distance magnitude
- Adjustable guide levels for visual reference
[PDR] Daily Rebalance█ OVERVIEW
This indicator is a powerful portfolio backtesting tool designed to simulate the performance of a static-weight, daily rebalancing strategy. It allows you to define a portfolio of up to 10 assets, set their target weights, and track its cumulative return against a user-defined benchmark and a risk-free rate.
The core of the script is its daily rebalancing logic, which calculates and logs every trade needed to bring the portfolio back to its target allocations at the close of each day. This provides a transparent and detailed view of how a static portfolio would have performed historically, including the impact of trading costs.
█ KEY FEATURES
Daily Rebalancing: Simulates a portfolio that is rebalanced at the close of every day to maintain target asset allocations.
Customizable Portfolio: Configure up to 10 different assets with specific weights. If all weights are left at 0, the script automatically creates an equal-weight portfolio from the selected assets.
Performance Comparison: Plots the portfolio's equity curve against a user-defined benchmark (e.g., SET:SET50 ) and a risk-free return, allowing for easy relative performance analysis.
Realistic Simulation: Accounts for trading costs like broker commission and minimum lot sizes for more accurate and grounded backtesting results.
Detailed Performance Metrics: An on-chart table displays real-time statistics, including Current Drawdown, Max Drawdown, and Total Return for both your portfolio and the benchmark.
Trade-by-Trade Logs: For full transparency, every rebalancing trade (BUY/SELL), including shares, price, notional value, and fees, is logged in the Pine Logs panel.
█ HOW TO USE
**Apply to a Daily Chart:** This script is designed to work exclusively on the daily ( 1D ) timeframe. Applying it to any other timeframe will result in a runtime error.
**Configure Settings:** Open the indicator's settings. Set your `Initial Capital`, `Start Time`, and the `Benchmark` symbol you wish to compare against.
**Define Your Assets:** In the 'Assets' group, check the box to enable each asset you want to include, select the symbol, and define its target `Weight (%)`.
**Set Trading Costs:** Adjust the `Broker Commission (%)` and `Minimal Buyable Lot` to match your expected trading conditions.
**Analyze the Results:** The performance curves are plotted in the indicator pane below your main chart. The key metrics table is displayed on the bottom-right of your chart.
**View Rebalancing Trades:** This is a crucial step for understanding the simulation. To see the detailed daily trades, you **must** open the **Pine Logs**. You can find this panel at the bottom of your TradingView window, next to the "Pine Editor" and "Strategy Tester" tabs. The logs provide a complete breakdown of every rebalancing action.
█ DISCLAIMER
This is a backtesting and simulation tool, not a trading signal generator. Its purpose is for research and performance analysis. Past performance is not indicative of future results. Always conduct your own research before making any investment decisions.
Material Color Palette Library█ OVERVIEW
Unlock a world of color in your Pine Script® projects with the Material Color Palette Library . This library provides a comprehensive and structured color system based on Google's Material Design palette, making it incredibly easy to create visually appealing and professional-looking indicators and strategies.
Forget about guessing hex codes. With this library, you have access to 19 distinct color families, each offering a wide range of shades. Every color can be fine-tuned with saturation, darkness, and opacity levels, giving you precise control over your script's appearance.
To make development even easier, the library includes a visual cheatsheet. Simply add the script to your chart to display a full table of all available colors and their corresponding parameters.
█ KEY FEATURES
Vast Spectrum: 19 distinct color families, from vibrant reds and blues to subtle greys and browns.
Fine-Tuned Control: Each color function accepts parameters for `saturationLevel` (1-13 or 1-9) and `darkLevel` (1-3) to select the perfect shade.
Opacity Parameter: Easily add transparency to any color for fills, backgrounds, or lines.
Quick Access Tones: A simple `tone()` function to grab base colors by name.
Visual Cheatsheet: An on-chart table displays the entire color palette, serving as a handy reference guide during development.
█ HOW TO USE
As a library, this script is meant to be imported into your own indicators or strategies.
1. Import the Library
Add the following line to the top of your script. Remember to replace `YourUsername` with your TradingView username.
import mastertop/ColorPalette/1 as colors
2. Call a Color Function
You can now use any of the exported functions to set colors for your plots, backgrounds, tables, and more.
The primary functions take three arguments: `functionName(saturationLevel, darkLevel, opacity)`
`saturationLevel`: An integer that controls the intensity of the color. Ranges from 1 (lightest) to 13 (most vibrant) for most colors, and 1-9 for `brown`, `grey`, and `blueGrey`.
`darkLevel`: An integer from 1 to 3 (1: light, 2: medium, 3: dark).
`opacity`: An integer from 0 (opaque) to 100 (invisible).
Example Usage:
Let's plot a moving average with a specific shade of teal.
// Import the library
import mastertop/ColorPalette/1 as colors
indicator("My Script with Custom Colors", overlay = true)
// Calculate a moving average
ma = ta.sma(close, 20)
// Plot the MA using a color from the library
// We'll use teal with saturation level 7, dark level 2, and 0% opacity
plot(ma, "MA", color = colors.teal(7, 2, 0), linewidth = 2)
3. Using the `tone()` Function
For quick access to a base color, you can use the `tone()` function.
// Set a red background with 85% transparency
bgcolor(colors.tone('red', 85))
█ VISUAL REFERENCE
To see all available colors at a glance, you can add this library script directly to your chart. It will display a comprehensive table showing every color variant. This makes it easy to pick the exact shade you need without guesswork.
This library is designed for fellow Pine Script® developers to streamline their workflow and enhance the visual quality of their scripts. Enjoy!
Dual ATR with OffsetGives you a cross when ATR moves unusually, perhaps like would happen at the beginning of a trade.
CHAN CRYPTO RS🩷 ATR RS (Crypto / High-based 2.1x, Decimal Safe v2)
This indicator is designed for crypto position sizing and stop calculation using ATR-based risk management. It helps traders automatically determine the stop price, per-unit risk, and optimal position size based on a fixed risk amount in USDT.
🔧 Core Logic
ATR Length (Daily RMA) — calculates the daily Average True Range (ATR) using RMA smoothing.
ATR Multiplier (2.1× default) — defines how far the stop is placed from the daily high.
Stop Price (for Longs) = Daily High − ATR × Multiplier
Per-Unit Risk = (Entry − Stop) × Point Value
Position Size = Risk Amount ÷ Per-Unit Risk
Automatically handles decimal precision for micro-priced crypto assets (e.g., PEPE, SHIB).
Includes safeguards for minimum size and maximum position caps.
💡 Features
Uses Daily ATR without lookahead (no repainting).
Dynamically switches between current and previous ATR for stable results when the daily bar isn’t yet confirmed.
“Snap to tick” ensures stop prices align with the symbol’s tick size.
Table display summarizes ATR, stop price, per-unit risk, total risk, size, and bet amount.
Optional stop label on the chart for visual clarity.
🧮 Output Table
Metric Description
ATR(10) Daily RMA-based ATR
ATR used Chosen ATR (current or previous)
Stop Calculated stop price
Per-unit Risk per coin/unit
Risk Total risk in USDT
Size Optimal position size
Bet Total position value (Entry × Size)
🧠 Ideal For
Crypto traders who use fixed-risk ATR strategies and need precise, decimal-safe position sizing even for ultra-low-priced tokens.
Blick Trades Position Size CalculatorThe Blick Trades Position Size indicator is a comprehensive Position Size Calculator designed for futures traders on TradingView. It automatically detects the asset type (Gold, Nasdaq, or ES futures - both regular and micro contracts) and calculates the optimal number of contracts to trade based on your risk amount and stop loss price.
The indicator features a "Maximize Risk" option that intelligently switches between regular and micro contracts to get as close as possible to your target risk amount, plus support for limit orders with custom entry prices. It displays visual elements on the chart including entry and stop loss lines with live risk calculations, and uses an asset-specific display system so you can control which charts show the indicator (preventing parameter confusion when switching between different futures contracts).
The calculator handles all the complex math automatically - just input your risk amount and stop loss, and it tells you exactly how many contracts to trade while showing your precise dollar risk in real-time.
tulsinanda Ribbonsbest above any band buy n cross down sell .bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want tobest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want tobest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want tobest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want tobest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want tobest indicator here line above is buy n lines down is sell .here analysis wave n price up n down we want to
Heikin Ashi BarThis is an indicator that displays the Heikin‑Ashi chart simultaneously with candlestick bars. The Heikin‑Ashis are shown on a bar chart, with bullish bars colored green and bearish bars colored orange.
平均足をロウソク足と同時に表示するインジケータです。平均足はバーチャートで表示されます。陽線は緑色、陰線はオレンジ色で表示されます。
MA Oscillator Map [ChartPrime]⯁ OVERVIEW
The MA Oscillator Map transforms moving average deviations into an oscillator framework that highlights overextended price conditions. By normalizing the difference between price and a chosen moving average, the tool maps oscillations between -100 and +100 , with gradient coloring to emphasize bullish and bearish momentum. When the oscillator cools from extreme levels (-100/100), the indicator marks potential reversal points and extends short-term levels from those extremes. A compact side table and dynamic bar coloring make momentum context visible at a glance.
⯁ KEY FEATURES
Oscillator Mapping (±100 Scale):
Price deviation from the selected MA is normalized into a percentage scale, allowing consistent overbought/oversold readings across assets and timeframes.
// MA
MA = ma(close, maLengthInput, maTypeInput)
diff = src - MA
maxVal = ta.highest(math.abs(diff), 50)
osc = diff / maxVal * 100
Customizable MA Types:
Choose SMA, EMA, SMMA, WMA, or VWMA to fine-tune the smoothing method that powers the oscillator.
Extreme Signal Diamonds:
When the oscillator retreats from +100 or -100, the script plots diamonds to flag potential exhaustion and reversal zones.
Dynamic Levels from Extremes:
Upper and lower dotted lines extend from recent overextension points, projecting temporary barriers until broken by price.
Gradient Bar Coloring:
Candles and oscillator values adopt a bullish-to-bearish gradient, making shifts in momentum instantly visible on the chart.
Compact Momentum Map:
A table at the chart’s edge plots the oscillator position with a gradient scale and live percentage label for precise momentum tracking.
⯁ USAGE
Watch for diamonds after the oscillator exits ±100 — these mark potential exhaustion zones.
Use extended dotted levels as short-term reference lines; if broken, trend continuation is favored.
Combine gradient bar coloring with oscillator shifts for confirmation of momentum reversals.
Experiment with different MA types to adapt sensitivity for trending vs. ranging markets.
Use the side momentum table as a quick-read gauge of trend strength in percent terms.
⯁ CONCLUSION
The MA Oscillator Map reframes moving average deviations into a visual momentum tracker with extremes, reversal signals, and dynamic levels. By blending oscillator math with intuitive visuals like gradient candles, diamonds, and a live gauge, it helps traders spot overextension, exhaustion, and momentum shifts across any market.
fmfm1010ضافة مؤشر Call/Put
إضافة مؤشر Call/Put إلى الرسم البياني يسمح للمتداولين برؤية إشارات الشراء والبيع بشكل واضح وسريع. يعمل هذا المؤشر على تحديد اللحظات المناسبة لإدخال صفقات Call (شراء) أو Put (بيع) بناءً على التحليل الفني أو استراتيجيات محددة مسبقًا. يساعد هذا المؤشر في تحسين قرارات التداول وتقليل المخاطر من خلال توفير تنبيهات دقيقة في الوقت الفعلي.
In English:
Adding a Call/Put Indicator
Adding a Call/Put indicator to a chart allows traders to clearly and quickly see buy and sell signals. This indicator identifies the right moments to enter Call (buy) or Put (sell) trades based on technical analysis or pre-defined strategies. It helps improve trading decisions and reduce risks by providing accurate real-time alerts.
26 سبتمبر






















