Indicators and strategies
RUBX Индекс рубляThe ruble index, similar to the DXY, offsets the weakness or strength of the dollar in the USD/RUB
индекс рубля на подобии DXY, невелирует слабость или силу доллара в USD/RUB
Position Size ToolManual Stop Line: You are now prompted to enter an initial value to make the line visible, which can be re-opened from the indicator settings (simply select reset points). This can be helpful when switching between charts and the line falls outside of vision due to the price difference.
Limit Line :
My script1// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
2// © Lkkahar99
3
4//@version=6
5indicator("My script")
6plot(close)
7
Session Candle ColorsColors candles based on market session.
Asia = Green Candlestick
NY = Red Candlestick
London = Blue Candlestick
London x NY = Purple Candlestick
📊 Smart Money Trend Scanner ComboThis script combines EMA price direction with smart money concepts and gives you trading sessions as well with volumetric arrows
🔺 Smart Money Candle HighlightThis highlights SMC Candles red which helps in identifying retracements zones
4 EMA + MTF Trend TableCreates a table on top right of chart that shows if the 4ma is bullish or bearish on different timeframes
Auto Step Horizontal LinesAuto Step Horizontal lines by custom range
Create automatic horizontal lines by specifying the price range for each line, with each line serving as an observation point for support and resistance levels.
🟨 Major Shift Order Block HighlightHighlights order block candles on the market that banks use to shift price direction
Exponential Regression Log ResidualThis custom indicator measures the logarithmic residual between the current price and an exponential regression line, offering insights into relative overbought and oversold conditions on a logarithmic scale. It can be especially useful when analyzing assets that move exponentially over time, such as growth stocks or cryptocurrencies.
Nifty/BankNifty Scanner - RSI, MACD, BB, VWAP1. RSI (Relative Strength Index)
Purpose: Measures market momentum and identifies overbought (>70) or oversold (<30) conditions.
Benefit: Helps catch potential reversal zones or trend exhaustion points.
📈 2. MACD (Moving Average Convergence Divergence)
Purpose: Detects changes in trend direction via crossovers of the MACD line and signal line.
Benefit: Flags bullish and bearish momentum shifts, useful for confirming trade entries/exits.
📉 3. Bollinger Bands
Purpose: Shows volatility using a moving average with upper/lower bands.
Benefit: When price touches the upper/lower bands, it may indicate overextended conditions—potential reversal or breakout areas.
🟠 4. VWAP (Volume Weighted Average Price)
Purpose: Tracks the average price traded based on both volume and price.
Benefit: Acts as a dynamic support/resistance level, especially useful for intraday trading in Nifty/Bank Nifty. Crossing VWAP often signals institutional buying/selling zones.
✅ Overall Benefits
Combines momentum, trend, volatility, and volume-based signals
Helps in multi-angle analysis—confirming trades with multiple indicators
Useful for intraday and swing trading on Nifty/Bank Nifty
Clean visuals and alerts make decision-making faster
📈 Volume Surge with EMA Trend ConfirmationVolume Surge Indicator arrows populate - uses 200 ema and 20
market relative strengthOverview
market relative strength is a custom indicator that visualizes how strong or weak a given asset is compared to a selected market benchmark — such as KOSPI, NASDAQ100, BTC dominance, or total crypto market cap.
How It Works
The indicator calculates the relative return between the current asset and the selected benchmark over a user-defined period. It then normalizes the difference into a 0–100 score:
Above 50 = outperforming the market
Below 50 = underperforming the market
Above 70 / Below 30 = strong divergence from market trend
Use Case
This is ideal for identifying assets with strong relative performance, detecting trend leaders or laggards, and rotating positions between sectors or assets based on strength.
Customization
Choose from a list of market indexes or crypto metrics
Set the comparison period and normalization range
Visual cues with background shading for strong/weak zones
Note
This is not the same as RSI. This indicator is based on relative performance to a benchmark, not price momentum.
SMART MONEY CheckListIndicator 4 my Twins 😍
It's meant to simplify top-down analysis.
Do you have more "Yes" than "No" and your setup is there?
Let's fckn goooo!!!
😆😆😆
Fibonacci Levels with MACD ConfirmationHow to Understand and Use the Fibonacci Levels with MACD Confirmation Script
This custom Pine Script is designed to give traders a clear visual framework by combining dynamic Fibonacci retracement levels, MACD histogram confirmation, and volatility-based swing zones. It aims to simplify trend analysis, improve entry timing, and adapt to various market conditions.
How to Interpret the 23.6% & 61.8% Labels
These Fibonacci levels represent key retracement zones where price often reacts during trend pullbacks or reversals.
The 23.6% level indicates a shallow retracement, useful in strong trends where price resumes early.
The 61.8% level is a deeper retracement, often a "last line of defense" before trend invalidation.
The script labels these zones with "CC 23.6" and "CC 61.8" when the price crosses them with MACD histogram confirmation:
Green label (CC) = bullish confirmation
Red label (CC) = bearish confirmation
How to Modify Inputs (Manual Adjustments)
Input Purpose Default How to Use
ATR Period Measures volatility 14 Increase for smoother, slower reactions; reduce for faster swings
Min Lookback Minimum bars for swing zone 20 Avoids short-term noise
Max Lookback Cap for swing zone scan 100 Avoids excessively wide retracement levels
Inverse Candle Chart Flips high/low logic false Enable for inverted analysis or backtesting "opposite logic"
How to Use the Inverse Candle Chart Option
Activating inverse mode flips candle logic:
Highs become negative lows, and vice versa.
Useful for:
Contrarian analysis
Inverse ETFs or short-biased views
Backtesting reverse-pattern behavior
How to Adjust the Style
You can manually personalize the script’s visual appearance:
Change line width in plot(..., linewidth=2) for bolder or thinner Fib levels.
Change colors from color.green, color.red, etc., to suit your theme.
Modify label.size, label.style, and label.color for different labeling visuals.
Customize MACD histogram style from plot.style_columns to other styles like style_histogram.
How the MACD is Set and Displayed
The MACD uses non-standard values:
Fast Length = 24
Slow Length = 52
Signal Smoothing = 18
These values slow down the indicator, reducing noise and aligning better with medium- to long-term trends.
MACD histogram is plotted directly on the main chart for faster, on-screen decision making.
Color-coded histogram:
Green/Lime = Bullish momentum increasing or steady
Red/Maroon = Bearish momentum increasing or steady
How to Use the Indicator in Real-World Trading
This indicator is most effective when used to:
✅ 1. Spot High-Probability Trend Continuation Zones
In a strong trend, price will often retrace to 23.6% or 61.8%, then resume.
Wait for:
Price to cross 23.6 or 61.8
MACD histogram rising (bullish) or falling (bearish)
"CC 23.6" or "CC 61.8" label to appear
🟢 Entry Example: Price retraces to Fib 61.8%, crosses up with green MACD histogram → take long position
✅ 2. Validate Reversal or Breakout Zones
These Fib levels also act as support/resistance.
If price crosses a Fib level but MACD fails to confirm, it may be a fake breakout.
Use confirmation labels only when MACD aligns.
✅ 3. Add Volatility Context (ATR) for Risk Management
The ATR label shows both value and %.
Use ATR to:
Set dynamic stop-losses (e.g., 1.5x ATR below entry)
Decide trade size based on volatility
How to Combine the Indicator With Other Tools
You can combine this script with other technical tools for a powerful trading framework:
🔁 With Moving Averages
Use 50/200 MA for overall trend direction
Take signals only in the direction of MA slope
🔄 With Price Action Patterns
Use the Fib/MACD signals at confluence points:
Support/resistance zones
Breakout retests
Candlestick patterns (pin bars, engulfing)
🔺 With Volume or Order Flow
Combine with volume spikes or order book signals
Confirm that Fib/MACD signals align with strong volume for conviction
✅ Trade Setup Summary
Criteria Long Setup Short Setup
Price at Fib Level At or crossing Fib 23.6 / 61.8 Same
MACD Histogram Rising and above previous bar Falling and below previous bar
Label Appears Green "CC 23.6" or "CC 61.8" Red "CC 23.6" or "CC 61.8"
Optional Filters Trend direction, ATR range, volume, price pattern Same
Jim Simons Inspired Quantitative StrategyThis sophisticated indicator implements quantitative trading methodologies inspired by Jim Simons' revolutionary theories and approaches. Rather than simply signaling standard buy/sell points, this advanced tool provides deeper trend analysis through a color-coded system:
Green signals indicate strong upward momentum
Red signals represent confirmed downward trends
Neutral coloration suggests potential trend reversals or transition points
The indicator excels on higher timeframes where market patterns become more pronounced, though it demonstrates remarkable versatility across all timeframes. By focusing on mathematical relationships rather than conventional technical indicators, this tool helps traders identify high-probability setups while filtering market noise.
Perfect for traders seeking to incorporate quantitative analysis into their strategy without requiring advanced mathematical expertise.
Volume-Price Momentum IndicatorVolume-Price Momentum Indicator (VPMI)
Overview
The Volume-Price Momentum Indicator (VPMI), developed by Kevin Svenson , is a powerful technical analysis tool designed to identify strong bullish and bearish momentum in price movements, driven by volume dynamics. By analyzing price changes and volume surges over a user-defined lookback period, VPMI highlights potential trend shifts and continuation patterns through a smoothed histogram, optional labels, and background highlights. Ideal for traders seeking to capture momentum-driven opportunities, VPMI is suitable for various markets, including stocks, forex, and cryptocurrencies.
How It Works
VPMI calculates the difference between volume-weighted buying and selling pressure based on price changes over a specified lookback period. It amplifies signals during high-volume periods, applies smoothing to reduce noise, and uses momentum checks to detect sustained trends.
Indicator display:
A histogram that oscillates above (bullish) or below (bearish) a zero line, with brighter colors indicating stronger momentum and faded colors for weaker signals.
Optional labels ("Bullish" or "Bearish") to mark significant momentum shifts.
Optional background highlights to visually emphasize strong trend conditions.
Alerts to notify users when strong bullish or bearish momentum is detected.
Key Features
Customizable Settings:
Adjust the lookback period, volume threshold, momentum length, and smoothing to suit your trading style.
Volume Sensitivity:
Emphasizes price movements during high-volume surges, enhancing signal reliability.
Momentum Detection: Uses linear regression and momentum change to confirm sustained trends, reducing false signals.
Visual Clarity:
Offers a clear histogram with color-coded signals, plus optional labels and backgrounds for enhanced chart readability.
Alerts:
Configurable alerts for strong momentum signals, enabling timely trade decisions.
Inputs and Customization
Lookback Period (Default: 9):
Sets the number of bars to analyze price changes. Higher values smooth signals but may lag.
Volume Threshold (Default: 1.4):
Defines the volume level (relative to a 20-period SMA) that qualifies as a surge, amplifying signals.
High Volume Multiplier (Default: 1.5):
Boosts histogram values during high-volume periods for stronger signals.
Histogram Smoothing Length (Default: 4):
Controls the EMA smoothing applied to the histogram, reducing noise.
Momentum Check Length (Default: 4):
Sets the period for momentum trend analysis (recommended to be less than Lookback Period).
Momentum Threshold (Default: 6):
Defines the minimum momentum change required for strong signals.
Show Labels (Default: Off):
Toggle to display "Bullish" or "Bearish" labels on significant momentum shifts.
Show Backgrounds (Default: Off):
Toggle to highlight chart backgrounds during strong momentum periods.
Bullish/Bearish Colors:
Customize colors for bullish (default: green) and bearish (default: red) signals.
Faded Transparency (Default: 40):
Adjusts the transparency of weaker signals for visual distinction.
How to Use
Interpret Signals:
Above Zero (Green):
Indicates bullish momentum. Bright green suggests strong, sustained buying pressure.
Below Zero (Red):
Indicates bearish momentum. Bright red suggests strong, sustained selling pressure.
Faded Colors:
Weaker momentum, potentially signaling consolidation or trend exhaustion.
Enable Visuals:
Turn on "Show Labels" and "Show Backgrounds" in the settings for additional context on strong momentum signals.
Set Alerts:
Use the built-in alert conditions ("Strong Bullish Momentum" or "Strong Bearish Momentum") to receive notifications when significant trends emerge.
Combine with Other Tools:
Pair VPMI with support/resistance levels, trendlines, or other indicators (e.g., RSI, MACD) for confirmation.
Best Practices
Timeframe:
VPMI works on all timeframes, but shorter timeframes (e.g., 5m, 15m) may produce more signals, while longer timeframes (e.g., 1h, 4h, 1D) offer higher reliability.
Market Conditions:
Most effective in trending markets. In choppy or sideways markets, consider increasing the smoothing length or momentum threshold to filter noise.
Risk Management:
Always use VPMI signals in conjunction with a robust trading plan, including stop-losses and position sizing.
Limitations
Lagging Nature:
As a momentum indicator, VPMI may lag in fast-moving markets due to smoothing and lookback calculations.
False Signals:
In low-volume or ranging markets, signals may be less reliable. Adjust the volume threshold or momentum settings to improve accuracy.
Customization Required:
Optimal settings vary by asset and timeframe. Experiment with inputs to align with your trading strategy.
Why Use VPMI?
VPMI offers a unique blend of volume and price momentum analysis, making it a versatile tool for traders seeking to identify high-probability trend opportunities. Its customizable inputs, clear visuals, and alert capabilities empower users to tailor the indicator to their needs, whether for day trading, swing trading, or long-term analysis.
Get Started
Apply VPMI to your chart, tweak the settings to match your trading style, and start exploring momentum-driven opportunities. For questions or feedback, consult TradingView’s community forums or documentation. Happy trading!
Vinicius Setup ATR PRO🧠 Vinicius Setup ATR PRO – Automated Bot with Supertrend + RSI + Volume
This is a professional and fully automated trading setup, built to trade BTC/USDT on the 1-hour chart, using a solid logic based on:
✅ Supertrend (with ATR) as the main directional indicator
✅ Strong candlestick + above-average volume as entry triggers
✅ RSI filter to avoid overbought/oversold traps
✅ Dynamic Stop Loss and Take Profit based on ATR (1:1 risk/reward by default)
✅ Auto alerts in JSON format for integration with bots (like Hombrok)
✅ On-screen dashboard showing Win Rate, number of trades, and cumulative profit
⚙️ Customizable parameters:
ATR period and multiplier
RSI period
Candle body strength filter
Risk/Reward ratio (default 1:1)
Capital per trade (in USDT)
🚀 Best for:
Traders looking to automate trades via TradingView-bot integrations
Both Long and Short trades with clearly defined entry rules
Momentum-based strategies confirmed by volume and price action
📦 How to use:
Add it to your 1H BTC/USDT chart
Set up alerts to trigger your bot
Run backtests and optimize parameters based on your risk profile
Let the bot work while you enjoy the gains! 💰
🔔 Pro tip: Combine this setup with order flow or support/resistance zones for even more accurate entries.