Futures Position Size CalculatorFutures Position Size Calculator by vmkhats
Streamline your futures trading risk management with this intuitive Pine Script utility designed for TradingView. Created by vmkhats, this tool automates position sizing calculations for popular futures contracts, ensuring precise risk control while eliminating manual errors.
Key Features:
Supports 15+ Instruments: Trade confidently with preconfigured settings for indices (ES, NQ, RTY), commodities (CL, GC), currencies (6E), and micro contracts (MES, MNQ, MCL).
Customizable Inputs: Set your risk amount (e.g., $1,000) and stop-loss size in points, tailored to your strategy.
Automatic Calculations: The script computes stop-loss size in ticks, risk per contract, and optimal position size using floor rounding to prevent over-leveraging.
Clear Visual Output: A table displays results (instrument, risk, stop size, contracts) with color-coded alerts for invalid configurations (e.g., zero position size).
Ideal for both novice and seasoned traders, this utility enforces disciplined risk management while saving time. Enhance your TradingView workspace with this essential tool and trade futures with confidence.
Created by vmkhats — ensuring traders stay precise, proactive, and risk-aware.
Indikatoren und Strategien
Futures Position Size CalculatorFutures Position Size Calculator by vmkhats
Streamline your futures trading risk management with this intuitive Pine Script utility designed for TradingView. Created by vmkhats, this tool automates position sizing calculations for popular futures contracts, ensuring precise risk control while eliminating manual errors.
Key Features:
Supports 15+ Instruments: Trade confidently with preconfigured settings for indices (ES, NQ, RTY), commodities (CL, GC), currencies (6E), and micro contracts (MES, MNQ, MCL).
Customizable Inputs: Set your risk amount (e.g., $1,000) and stop-loss size in points, tailored to your strategy.
Automatic Calculations: The script computes stop-loss size in ticks, risk per contract, and optimal position size using floor rounding to prevent over-leveraging.
Clear Visual Output: A table displays results (instrument, risk, stop size, contracts) with color-coded alerts for invalid configurations (e.g., zero position size).
Ideal for both novice and seasoned traders, this utility enforces disciplined risk management while saving time. Enhance your TradingView workspace with this essential tool and trade futures with confidence.
Created by vmkhats — ensuring traders stay precise, proactive, and risk-aware.
SMA ChannelWhat this indicator does:
Uses a simple moving average (SMA) as the center line.
Calculates the standard deviation of the last N candles.
Builds a channel above and below the center line using the multiplier.
Fills the area between the upper and lower lines
YARTSEV_TRADING_CANDLE_SIZE_v1An updated version of my personal indicator that highlights bars of the desired size
Accumulation & Buy Zones [SmartFusion Spot]SmartFusion AI is an advanced version of an indicator for the TradingView platform, utilizing artificial intelligence methods to analyze and predict market movements. This indicator is perfect for traders who want to combine powerful multi-timeframe analysis with intelligent algorithms for decision-making.
Features:
Multi-Timeframe Analysis — The indicator considers data from multiple time intervals (from 15 minutes to 1 week), allowing you to see both short-term and long-term trends.
Profit/Loss Levels — Automatically calculates and displays take profit and stop loss levels based on current market conditions, minimizing risk.
Buy/Sell Signals — Generates precise entry and exit signals, confirmed by volume indicators and RSI.
Automatic Support and Resistance Levels — The indicator automatically identifies key levels where reversals or breakouts are likely to occur.
Scalper Mode — For those trading on smaller timeframes, the indicator offers a specialized scalping mode to capture quick market movements with minimal risk.
Benefits:
Increased trading accuracy with integrated AI algorithms.
User-friendly interface with detailed signals.
Easy to set up and customizable for different trading styles.
Reduced stress in decision-making thanks to automatic calculations and recommendations.
Accumulation & Buy Zones [SmartFusion Spot]SmartFusion AI is an advanced version of an indicator for the TradingView platform, utilizing artificial intelligence methods to analyze and predict market movements. This indicator is perfect for traders who want to combine powerful multi-timeframe analysis with intelligent algorithms for decision-making.
Features:
Multi-Timeframe Analysis — The indicator considers data from multiple time intervals (from 15 minutes to 1 week), allowing you to see both short-term and long-term trends.
Profit/Loss Levels — Automatically calculates and displays take profit and stop loss levels based on current market conditions, minimizing risk.
Buy/Sell Signals — Generates precise entry and exit signals, confirmed by volume indicators and RSI.
Automatic Support and Resistance Levels — The indicator automatically identifies key levels where reversals or breakouts are likely to occur.
Scalper Mode — For those trading on smaller timeframes, the indicator offers a specialized scalping mode to capture quick market movements with minimal risk.
Benefits:
Increased trading accuracy with integrated AI algorithms.
User-friendly interface with detailed signals.
Easy to set up and customizable for different trading styles.
Reduced stress in decision-making thanks to automatic calculations and recommendations.
S&P500 CorrelationThe indicator presents correlation values ranging from -1 to +1. Positive values (green) indicate that the assets tend to move in the same direction, while negative values (red) suggest opposite movements. A value near zero indicates little to no correlation.
Settings:
Correlation Period: Number of bars used in calculation
Index Ticker: Symbol for the index ("SPX" for S&P500, "NDX" for Nasdaq)
Price Type: Which price data to use (close, open, high, low, etc.)
Return Type: Method for calculating returns (simple or logarithmic)
Nasdaq CorrelationThe indicator presents correlation values ranging from -1 to +1. Positive values (green) indicate that the assets tend to move in the same direction, while negative values (red) suggest opposite movements. A value near zero indicates little to no correlation.
Settings:
Correlation Period: Number of bars used in calculation
Index Ticker: Symbol for the index ("SPX" for S&P500, "NDX" for Nasdaq)
Price Type: Which price data to use (close, open, high, low, etc.)
Return Type: Method for calculating returns (simple or logarithmic)
Candle Range WarningThis indicator is just for a visual representation when candles on your timeframe have a high/low range exceeding a defined number. Set maximum range and number of candles needed under that range in order to reset.
DavidDias290 EMA StrategyNOT FINAL VERSION! Tested only for the GBPUSD pair, using the 1min chart.
We wait for the price to touch the EMA200 to enter a price rejection.
With a SL of 5Pips and a TP of 15pips, we have a Risk to Reward of 1:3, which gives us an incredible margin to profit in the long term. In all the tests I have developed, I strongly advise using it only in the hours from 00:00 to 2:00 and from 7:00 to 19:00.
SMT Divergence ICT 02 [TradingFinder] Smart Money Technique SMC🔵 Introduction
SMT Divergence (Smart Money Technique Divergence) is a price action-based trading concept that detects discrepancies in market behavior between two assets that are generally expected to move in the same direction. Rooted in ICT (Inner Circle Trader) methodology, this approach helps traders recognize subtle signs of market manipulation or imbalance, often ahead of traditional indicators.
The core idea behind SMT divergence is simple: when two correlated instruments—such as currency pairs, indices, or assets from the same sector—start forming different swing points (highs or lows), this can reveal a lack of confirmation in the trend. Such divergence is often a precursor to a price reversal or pause in momentum.
This technique works effectively across various markets including Forex, stocks, and cryptocurrencies. It’s particularly valuable when used alongside concepts like liquidity sweeps, market structure breaks (MSBs), or order block identification.
In advanced use cases, Sequential SMT helps uncover patterns of alternating divergences across sessions, often signaling engineered liquidity traps before price reacts.
When combined with the Quarterly Theory—which segments market behavior into Accumulation, Manipulation, Distribution, and Continuation/Reversal phases—traders gain insight not only into where divergence happens, but when it's most likely to be significant within the market cycle.
Bullish SMT :
Bullish SMT Divergence occurs when one asset prints a higher low while the correlated asset forms a lower low. This asymmetry often suggests that the downside move is losing strength, hinting at a potential bullish shift.
Bearish SMT :
Bearish SMT Divergence is formed when one asset creates a higher high, while the second asset fails to confirm by printing a lower high. This typically signals weakening bullish pressure and the possibility of a reversal to the downside.
🔵 How to Use
The SMT Divergence indicator is designed to detect imbalances between two positively correlated assets—such as major currency pairs, indices, or commodities. These divergences often indicate early signs of market inefficiency or smart money manipulation and can help traders anticipate trend shifts with higher precision.
Unlike traditional divergence indicators or earlier versions of this script, this upgraded version does not rely solely on consecutive pivot comparisons. Instead, it dynamically scans all available pivots within the chart to identify divergences at any structural level—major or minor—across the price action. This broader detection method increases the reliability and frequency of meaningful SMT signals.
Moreover, when integrated with Sequential SMT logic, the indicator is capable of identifying multiple divergence sequences across sessions. These sequences often signal engineered liquidity traps and can be mapped within the Quarterly Theory framework, allowing traders to pinpoint not just the presence of divergence but also the phase of the market cycle it appears in (Accumulation, Manipulation, Distribution, or Continuation).
🟣 Bullish SMT Divergence
This signal occurs when the primary asset forms a higher low, while the correlated asset forms a lower low. This pattern implies weakening bearish momentum and a potential shift to the upside.
If the correlated asset breaks its previous low but the primary asset does not, this divergence suggests absorption of selling pressure and possible accumulation by smart money—making it a strong bullish signal, especially when aligned with a favorable market phase (e.g., the end of a manipulation phase in Q2).
🟣 Bearish SMT Divergence
This signal occurs when the primary asset creates a higher high, while the correlated asset forms a lower high. This mismatch indicates fading bullish momentum and a potential reversal to the downside.
If the correlated asset fails to confirm a breakout made by the main asset, the divergence may point to distribution or exhaustion. When seen within Q3 or Q4 phases of the Quarterly Theory, this pattern often precedes sharp declines or fake-outs engineered by smart money
🔵 Settings
⚙️ Logical Settings
Symbol : Choose the secondary asset to compare with the main chart asset (e.g., XAUUSD, US100, GBPUSD).
Pivot Period : Sets the sensitivity of the pivot detection algorithm. A smaller value increases responsiveness to price swings.
Activate Max Pivot Back : When enabled, limits the maximum number of past pivots to be considered for divergence detection.
Max Pivot Back Length : Defines how many past pivots can be used (if the above toggle is active).
Pivot Sync Threshold : The maximum allowed difference (in bars) between pivots of the two assets for them to be compared.
Validity Pivot Length : Defines the time window (in bars) during which a divergence remains valid before it's considered outdated.
🎨 Display Settings
Show Bullish SMT Line : Draws a line connecting the bullish divergence points.
Show Bullish SMT Label : Displays a label on the chart when a bullish divergence is detected.
Bullish Color : Sets the color for bullish SMT markers (label, shape, and line).
Show Bearish SMT Line : Draws a line for bearish divergence.
Show Bearish SMT Label : Displays a label when a bearish SMT divergence is found.
Bearish Color : Sets the color for bearish SMT visual elements.
🔔 Alert Settings
Alert Name : Custom name for the alert messages (used in TradingView’s alert system).
Message Frequency :
All : Every signal triggers an alert.
Once Per Bar : Alerts once per bar regardless of how many signals occur.
Per Bar Close : Only triggers when the bar closes and the signal still exists.
Time Zone Display : Choose the time zone in which alert timestamps are displayed (e.g., UTC).
Bullish SMT Divergence Alert : Enable/disable alerts specifically for bullish signals.
Bearish SMT Divergence Alert : Enable/disable alerts specifically for bearish signals
🔵Conclusion
The SMT Plus indicator offers a refined and powerful approach to detecting smart money behavior through divergence analysis between correlated assets. By removing the limitations of consecutive pivot comparisons and allowing for broader structural detection, it captures more accurate and timely signals that often precede major market moves.
When paired with frameworks like Sequential SMT and the Quarterly Theory, the indicator not only highlights where divergence occurs, but also when in the market cycle it's most likely to matter. Its flexible settings, customizable visuals, and integrated alert system make it suitable for intraday scalpers, swing traders, and even long-term macro analysts.
Whether you're using it as a standalone decision-making tool or combining it with other ICT concepts, SMT Plus gives you an edge in recognizing manipulation, timing reversals, and staying in sync with the real market narrative—not just the chart.
Crypto Investing StrategyStrategy to invest in Crypto and any long term growing asset class.
Features
Investing start time
Investing end time
RSI value to buy (should be below 50)
RSI value to sell (should be above 70)
RSI value for overbought confirmation (should be above 70)
Exit percentage (what % to exit from portfolio)
Adjusted VWAP from Another SecurityUse the adjusted vwap price and volume of another security on your chart. Ie you use ES VWAP on SPY or SP500CFD which do not have any volume data for Vwap calcualtion
Trading Value (in Million) by Asharifan v3Trading Value (in Million) by Asharifan
This indicator calculates and visualizes the trading value (price × volume) in millions for stocks, providing a clear view of market activity and money flow. It displays the current trading value alongside its 20-day and 50-day simple moving averages (SMAs), all rounded to whole numbers for easy interpretation. Designed for stock market analysis, it works best on daily and weekly timeframes, making it an excellent tool for swing trading and trend analysis.
Key Features:
Today P*V (M): Plots the daily trading value as columns, with teal bars for bullish days (close > open) and gray bars for bearish days (close < open).
20-day and 50-day Avg P*V (M): Tracks the short-term (20-day) and medium-term (50-day) average trading values in red and blue lines, respectively, to identify trends and shifts in market participation.
20M Threshold: Includes a dashed red line at 20 million, serving as a reference point for significant trading value levels.
Last Bar Label: Shows the current trading value as a clean, integer label on the latest bar for quick reference.
How to Use:
Swing Trading: Identify potential entry and exit points by watching for crossovers or divergences between the 20-day and 50-day averages, especially when trading value spikes above the 20M threshold.
Trend Analysis: Monitor the direction and slope of the 20-day and 50-day averages to confirm bullish or bearish trends in stock momentum and volume.
Smart Money Footprints: High trading value spikes, especially when sustained above the 20M line, can signal institutional or "smart money" activity, helping traders track significant market moves.
This indicator is particularly valuable for stock traders looking to gauge market strength, spot accumulation or distribution phases, and align their strategies with broader market trends. Best suited for daily and weekly charts, it’s a powerful addition to any swing trader’s or trend follower’s toolkit, offering clear insights into the footprints of smart money in the stock market.
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TPThis is a multi-indicator scalping strategy optimized for 15-minute charts that combines trend, momentum, and volatility indicators for high-probability trades with automated risk management.
Core Trading Logic
The strategy identifies market opportunities using three powerful technical indicators:
EMA (50): Acts as a trend filter to determine overall market direction
MACD (12, 26, 9): Measures momentum and confirms trend direction
RSI (14): Identifies potential reversal zones and avoids overbought/oversold traps
Entry Conditions
Long (Buy) Signal: Price above EMA + positive MACD histogram + RSI between 50-70
Short (Sell) Signal: Price below EMA + negative MACD histogram + RSI between 30-50
Dynamic Risk Management
What sets this strategy apart is its adaptive risk management using ATR (Average True Range):
Stop Loss: Automatically calculated at 1x ATR from entry price
Take Profit: Set at 2x ATR, creating a consistent 1:2 risk-to-reward ratio
Position Sizing: Defaults to 10% of equity per trade for conservative account growth
Horizontal Line at LevelsThis line drawing based on value to predict the market is moving on specific area marked and can alter according to level planned as per the market
Liquidity Compression Coil (6 Lines, 8‑Bar Breakout)TL;DR:
🔍 Pivot Detection: Scans for swing highs and lows (using a customizable lookback) to mark key support/resistance levels.
🧱 Zone Calculations:
Anchor Range (🧱): Base zone (gray) defined by historical pivots, with its label always at the top.
Projection Bracket (🎯): Active zone (black) that forecasts immediate breakout areas, with its label centered.
Volatility Span (🌪️): Overall range (purple) that captures the market's full movement, with its label fixed at the bottom.
📊 Dynamic Tracker: Displays the current price as a percentage of the projection bracket—mimicking Fibonacci extensions (e.g., 120%, 200%, or -20% when breaking below).
⚠️ Alerts: Breakout (above 100%) and breakdown (below 0%) alerts pop up dynamically, following the position metric so they never overlap.
🐂/🐻 Sentiment Tags: Adds bullish (🐂) or bearish (🐻) emojis based on price position relative to the projection bracket.
🔄 Composite Bars & Volume: Visually stacks the three zones in a fixed order (purple behind, gray in the middle, black on top) and optionally accumulates volume for enhanced context.
This indicator provides a human-friendly, emoji-enhanced snapshot of liquidity compression and potential breakout moves with nuanced visual layers and dynamic alerts.
Horizontal Line at LevelsDraw 2 line for buy & Sell depends upon market movements , it help to enter the line
Dynamic Volume Profile PoC SwiftedgeOverview
The Dynamic Volume Profile PoC is a powerful and visually intuitive indicator designed to help traders identify key support and resistance levels using a unique combination of pivot points, volume analysis, and dynamic Point of Control (PoC) levels. This script overlays directly on your chart, providing clear visual cues for potential breakout and rejection zones, making it easier to spot high-probability trading opportunities.
What It Does
This indicator combines three core components to deliver actionable insights:
Pivot Points: Identifies significant swing highs and lows to establish potential support and resistance levels.
Volume Oscillator: Measures volume momentum to confirm the strength of price movements, ensuring that breakouts or rejections are backed by significant volume.
Dynamic Point of Control (PoC): Calculates the midpoint between consecutive pivot points to create dynamic PoC levels, which act as key areas where price is likely to either break through (breakout) or reverse (rejection).
These components work together to highlight critical price levels where the market is likely to react, giving traders a clear framework for decision-making.
How It Works
Pivot Detection: The script uses pivot highs and lows (based on user-defined Left Bars and Right Bars) to identify significant price levels. These pivots form the foundation for calculating PoC levels.
PoC Calculation: Each time a new pivot is detected, the script calculates the midpoint between the current pivot and the previous pivot, creating a dynamic PoC level. These levels are plotted as horizontal lines on the chart, with a maximum of Max PoC Lines to Show (default: 2) visible at any time.
Volume Confirmation: A volume oscillator (short EMA of volume minus long EMA of volume) is used to filter breakouts and rejections. Breakouts or rejections are only signaled if the volume oscillator exceeds the Volume Threshold (default: 20), ensuring that price movements are supported by strong volume.
Visual Cues:
PoC levels are drawn as cyan lines with optional semi-transparent zones (controlled by Show PoC Zones). These zones are colored green for potential breakouts (price above PoC) and red for potential rejections (price below PoC).
Labels above and below each PoC level indicate trading opportunities: "Long if breakout"/"Long if rejected" (green) and "Short if breakout"/"Short if rejected" (red), depending on the price's direction relative to the PoC.
Break signals ("B") are plotted above or below bars when price crosses a pivot level with sufficient volume, colored red for downward breaks and green for upward breaks.
How to Use
Add the Indicator: Add the "Dynamic Volume Profile PoC " to your chart in TradingView.
Adjust Settings:
Left Bars and Right Bars (default: 15): Control the sensitivity of pivot detection. Lower values make the script more sensitive to smaller price swings.
Volume Threshold (default: 20): Set the minimum volume oscillator value required to confirm breakouts or rejections. Increase this for stricter confirmation.
Max PoC Lines to Show (default: 2): Define how many PoC levels are displayed at once.
Show PoC Zones (default: true): Toggle semi-transparent zones around PoC levels for better visualization.
Label Spacing Factor (default: 0.5): Adjust the vertical spacing between labels and the PoC box. Increase this value (e.g., to 1.0 or 2.0) for more spacing, or decrease it (e.g., to 0.3) for less.
Interpret the Signals:
Look for PoC levels (cyan lines) as key areas of interest.
Use the labels to identify potential trades: "Long if breakout" indicates a buy opportunity if price breaks above the PoC, while "Short if rejected" suggests a sell if price fails to break through.
Watch for "B" signals to confirm breakouts or rejections with volume support.
Combine with Your Strategy: Use the PoC levels and break signals as part of your broader trading strategy, such as trend-following or mean-reversion setups.
Why This Script is Unique
The Dynamic Volume Profile PoC stands out by combining pivot points, volume analysis, and dynamic PoC levels into a single, cohesive tool. Unlike traditional volume profile indicators that require a fixed range, this script dynamically updates PoC levels based on recent price action, making it more responsive to current market conditions. The addition of volume confirmation ensures that signals are backed by market participation, reducing false breakouts. The visually appealing design, with customizable spacing and semi-transparent zones, makes it easy to interpret key levels at a glance, even for traders unfamiliar with Pine Script.
Notes
This script works best on timeframes where pivot points are meaningful (e.g., 1H, 4H, or daily charts).
Adjust the Label Spacing Factor to ensure labels are well-spaced for your chart's zoom level and instrument.
For instruments with high volatility, you may need to increase the Volume Threshold to filter out noise.
Engulfing Zone (With Confirmation)Just testing make new indicator using ChatGPT. This is still beta version.
How to use engulfing in trading?
1- Identify Engulfing Zone (Bullish/Bearish) in higher TF (H1-H4)
2- Observe current market price untill the price touch or enter the zone that we have marked early.
3- Wait for confirmation. We will use lower timeframe to identify either this zone valid or not.
4- When current market price enter zone, open lower tf m30 or m15 to find same engulfing formed. If the price in the Engulfing Sell zone, make sure tf m15 formed engulfing sell inside the zone. Vice versa.
I try to make it easy. But as you know, the candlestick pattern cant remain the same everytime. Thats why you will see error engulfing zone marked. I'll try to improve this indicator followed by engulfing pattern. If you dont know how engulfing pattern's look, you can make your own research. But i still hope this indicator will help our trading easily. Why i create this indicator? Its just alert for me that there is engulfing zone there and there. Because sometimes i dont have time to analysis the chart.
If anyone can make it better, I would greatly appreciate it.
TDI - RSX + Divergences + Pivots🧾 Description:
This indicator is an enhanced version of the Traders Dynamic Index (TDI) based on the RSX (a smoothed version of the RSI), designed to help traders identify market momentum, divergence, and potential reversal points with high precision.
It includes the classic TDI components (RSX Price Line, Signal Line, and Volatility Bands), combined with:
✅ Customizable RSX Levels – up to 5 horizontal levels (e.g., 30, 50, 70, 85, 15) with user-defined colors
✅ Dynamic Fill Between Lines – to visualize bullish/bearish momentum shifts
✅ RSX-based Divergence Detection – regular & hidden bullish/bearish divergence
✅ Clean Visual Layout – suitable for scalping, swing trading, or trend-following strategies
⚙️ Best For:
Identifying overbought/oversold conditions with RSX precision
Confirming trend continuation or early reversal signals
Filtering entries with momentum clarity
🧾 Description :
Cet indicateur est une version améliorée du Traders Dynamic Index (TDI), basée sur le RSX (une version lissée du RSI), conçue pour aider les traders à détecter la dynamique du marché, les divergences et les retournements potentiels avec une grande précision.
Il inclut les composants classiques du TDI (ligne RSX, ligne de signal, bandes de volatilité), combinés à :
✅ 5 niveaux RSX personnalisables – par défaut : 30, 50, 70, 85, 15, tous modifiables avec couleurs configurables
✅ Remplissage dynamique entre les lignes – pour visualiser facilement les changements de momentum
✅ Détection des divergences basées sur le RSX – divergences classiques et cachées, haussières et baissières
✅ Interface graphique claire et épurée – idéale pour le scalping, swing trading ou suivi de tendance
⚙️ Idéal pour :
Identifier les zones de surachat/survente avec la précision du RSX
Confirmer les poursuites de tendance ou repérer les retournements précoces
Filtrer les entrées avec une meilleure lisibilité du momentum
EMA ChannelWhat This Indicator Shows:
EMA Center Line
Plots the Exponential Moving Average of the closing price over a user-defined period (length).
Reacts more quickly to price changes than a standard SMA.
Dynamic Channel Bands
Two bands are drawn above and below the EMA.
The distance from the EMA is based on the standard deviation of price over the same period, multiplied by a user-defined width multiplier (mult).
These bands adapt to market volatility — widening during high volatility, narrowing during calm periods.
Channel Fill Area
The space between the upper and lower bands is visually shaded.
Helps quickly identify when price is inside or breaking out of the channel.
Volatility Insights
Since the channel width is based on standard deviation, it indirectly shows market volatility.
Wide channel = high volatility; narrow channel = low volatility.
Potential Trading Zones
Price nearing the upper band may indicate overbought or strong upward pressure.
Price near the lower band might suggest oversold or downward pressure.
Useful for mean reversion or trend continuation strategies depending on your style.