Futures Risk-Based Position CalculatorFutures Risk‑Based Position Calculator — Description
This TradingView indicator automatically calculates and displays Entry, Stop Loss (SL), and Take Profit (TP) levels for futures trades based on a fixed dollar‑risk amount.
What it does
Uses your account balance, dollar risk, number of contracts, point value, and tick size to compute how far the stop should be from the entry.
Determines the take‑profit level using a chosen risk‑to‑reward ratio.
Draws three lines on the chart:
Entry line
Stop loss line
Take profit line
Places labels next to the SL and TP lines showing prices and point distances.
Key features
Supports long or short calculation mode.
Configurable line styling:
Width, style (solid/dashed/dotted), color, opacity.
Separate styling for entry, SL, and TP.
Configurable label behavior:
Optional background.
Text color choices.
Adjustable vertical offset to avoid overlapping the lines.
Lines extend left/right by user‑defined bar amounts.
Values are always rounded to the market's tick size.
How levels are calculated
Entry = current close rounded to tick size.
Stop distance (points) = dollarRisk / (contracts × pointValue).
SL = entry − distance (long) or entry + distance (short).
TP = entry + distance × RR (long) or entry − distance × RR (short).
Visual behavior
Lines and labels update only on the last bar to avoid clutter.
Labels show:
SL: price, point distance, and contract count.
TP: price and point distance.
Educational
Risk & Order Size Calculatorhello,
this will calculate the risk and you may change the script as per your risk appetite, my advise do not risk more than 2% of your capital.
Thank you
Task 9 , Alka Swing DetectionFirst swing detection code First swing detection code, inspired by Alka, Trading view is asking me to write more description First swing detection code, inspired by Alka, Trading view is asking me to write more description First swing detection code, inspired by Alka, Trading view
ETIQUETAS 5M.This is the best way to determinate interval from five minutes to 1 minute in that time range of 9:25 am to 4:15 pm. you can know how to enter or exit trading action.
NY LONDON LUNCH AUTO**NY London Lunch Auto** is a precision session-anchor indicator designed for traders who focus on institutional timing and liquidity behavior.
This script automatically marks the **high and low of three key 15-minute New York session candles**:
• **3:00 AM NY** — London session expansion
• **8:00 AM NY** — New York open / kill zone
• **2:00 PM NY** — NY lunch / power hour transition
Each time one of these candles prints on the **15-minute chart**, the script captures its exact high and low and extends them forward as horizontal levels.
The levels remain **locked and unchanged** until the next key session candle appears, ensuring clean, non-repainting reference zones.
### Key Features
• Works **exclusively on the 15-minute timeframe**
• Automatically updates at **3AM, 8AM, and 2PM NY time**
• Levels stay fixed — no drifting or recalculation
• Clean, minimal design with customizable colors
• Ideal for liquidity sweeps, displacement, and ICT-style execution models
This indicator is built for traders who want **clarity, patience, and structure**, not clutter. It pairs seamlessly with liquidity sweep, displacement, and fair value gap strategies.
Daily Dynamic Grid StrategyHi everyone,
This strategy is built around a dynamic daily grid concept, using an upper and lower daily range that is automatically divided into multiple grid levels.
The idea is to take advantage of daily volatility by executing DCA entries on specific grid levels, based on predefined conditions.
Key points of the strategy & feature:
I recommend using 1H or 2H timeframe for this strategy
Take profit by grid
When DCA is active (>1 entry), the exit condition switches to close above the average price
A hard stop loss is applied
Includes an optional Trailing TP / SL to help maximize profit during strong moves
Like most DCA-based strategies, it tends to have a high win rate, but during strong market dumps, losses can become relatively large
Can also be used for backtest on Forex markets such as Gold, where using the trailing option is generally more effective
And still trial for the webhook, may continue to improve and update this strategy in future versions.
Displacement## Displacement Indicator (Institutional Momentum Filter)
This indicator highlights **true price displacement** — candles where price moves with **abnormal force relative to recent volatility**.
It is designed to help traders distinguish **real momentum** from normal market noise.
Displacement often precedes:
- Breaks of structure
- Fair Value Gaps (FVGs)
- Strong continuation or meaningful pullbacks
This tool focuses on **confirmation**, not prediction.
---
### 🔍 How Displacement Is Defined
A candle is marked as *displacement* only when **all conditions are met**:
• Candle body is larger than a multiple of ATR (volatility-adjusted)
• Candle body makes up a high percentage of the full candle (strong close)
• Directional conviction (bullish or bearish close)
This filters out:
- Small or average candles
- Wick-heavy indecision
- Low-quality breakouts
---
### 🎯 What This Indicator Is Best Used For
✔ Confirming impulsive moves
✔ Validating structure breaks
✔ Anchoring Fair Value Gaps
✔ Filtering low-probability setups
✔ Identifying institutional participation
Works best on **M5, M15, and H1**, especially during **London and NY sessions**.
---
### ⚠️ Important Notes
• This is **not** a buy/sell signal by itself
• Best used with trend, structure, or liquidity context
• Not designed for ranging or low-volatility markets
Think of this indicator as a **momentum truth filter** —
if displacement is missing, conviction is likely missing too.
---
### ⚙️ Inputs Explained
• ATR Length – defines normal volatility
• ATR Multiplier – how aggressive displacement must be
• Minimum Body % – ensures strong candle closes
All inputs are adjustable to fit different markets and styles.
---
### 🧠 Philosophy
Displacement reflects **commitment**, not anticipation.
This tool helps you wait for **proof**, not hope.
---
If you want, I can:
- Tighten this for **ICT-style language**
- Rewrite for **beginner clarity**
- Add a **“How I personally use it”** section
- Optimize it for **TradingView algorithm visibility**
**Tell me which you want changed.**
DCT - Liquidity Heatmap - ProDCT - Liquidity Heatmap - Pro
Overview
This indicator maps liquidity concentration zones by analyzing volume distribution across price levels. It identifies areas where significant trading activity has accumulated, potentially indicating zones of interest for future price interaction.
Methodology
Volume Intensity Calculation
Each price level accumulates a normalized volume score calculated as:
- Volume Intensity = Current Bar Volume / SMA(Volume, lookback period)
- This normalization allows comparison across different volatility regimes and trading sessions
Level Construction
- Price levels are distributed symmetrically above and below current price using percentage-based spacing
- Each level maintains cumulative volume data, tracking both raw volume and normalized intensity
- Levels are visualized as zones with height proportional to the spacing parameter
Sweep Detection Logic
A level is marked as "swept" when price action crosses through it:
- Condition: Low ≤ Level Price AND High ≥ Level Price
- Swept levels stop accumulating new volume and can be styled differently (fade, hide, or preserve)
Color Intensity Grading
Zones are color-coded based on their normalized volume relative to the maximum observed:
- Purple: < 25% of max intensity
- Yellow: 25-50% of max intensity
- Orange: 50-75% of max intensity
- Red: > 75% of max intensity
Optional CVD (Cumulative Volume Delta) Mode
When enabled, directional volume is estimated using candle structure:
- Bullish candles: Buy pressure weighted by (Close - Open) / (High - Low)
- Bearish candles: Sell pressure weighted by (Open - Close) / (High - Low)
- Levels display green/red bias based on accumulated directional volume ratio
Adaptive System
The indicator includes a three-layer adaptive system:
1. Timeframe adaptation: Spacing, level count, and retention automatically adjust for M5 through Daily charts
2. Volatility adaptation: ATR-based adjustments widen spacing during high volatility and tighten during consolidation
3. Market type adaptation: Different imbalance thresholds for BTC/ETH, large altcoins, and small caps
Imbalance Detection
Buy/sell imbalance markers appear when the ratio of accumulated buy volume to sell volume exceeds a configurable threshold (default 1.5x for BTC/ETH, 2.0x for small caps).
What Makes This Implementation Unique
- Dollar-denominated liquidity display: Labels show estimated liquidity in USD (K/M/B format) rather than abstract values
- Three-layer adaptive logic: Combines timeframe, volatility (ATR), and asset-class adjustments simultaneously
- Memory-optimized architecture: Automatic cleanup of old swept levels prevents performance degradation on extended charts
- Forward projection: Active levels extend into future bars for cleaner visualization
- Granular visibility controls: Each intensity tier can be toggled independently
Settings Guide
- Dynamic: Enable adaptive adjustments (recommended)
- Spacing: Distance between levels as % of price
- Levels: Number of levels above/below price
- CVD: Enable directional volume analysis
- Forward: Project levels ahead by specified bars
Usage Notes
- Works on both Perpetual and Spot crypto markets
- Optimized for crypto assets; results may vary on other instruments
- Higher timeframes show broader liquidity structure; lower timeframes show granular detail
- Combine with your own analysis framework
Disclaimer
This indicator visualizes historical volume distribution and does not predict future price movement. Not financial advice. Use appropriate risk management.
Hybrid Trend-Following Inside Bar BreakoutHybrid Trend-Following Inside Bar Breakout Strategy
The Hybrid Trend-Following Inside Bar Breakout Strategy is a rule-based trading system designed to capture strong directional moves while controlling risk during uncertain market conditions. It combines trend-following, price action, and volatility-based risk management into a single robust framework.
Core Concept
The strategy trades inside bar breakouts only in the direction of the dominant market trend. Inside bars represent periods of consolidation, and when price breaks out of this consolidation in a trending market, it often leads to impulsive moves with favorable risk–reward characteristics.
Key Components
1. Trend Filter
Uses 50 EMA and 200 EMA to define the market trend.
Bullish bias: 50 EMA above 200 EMA
Bearish bias: 50 EMA below 200 EMA
This filter prevents counter-trend trades and improves trade quality.
2. Volatility Filter
Compares fast ATR (14) with slow ATR (50).
Trades are taken only when volatility is expanding or above a minimum threshold.
This avoids low-volatility, choppy market conditions.
3. Inside Bar Breakout
An inside bar forms when the current candle’s high is lower than the previous candle’s high and the low is higher than the previous candle’s low.
A trade is triggered only when price breaks above or below the inside bar range in the direction of the trend.
4. Candle Quality Filter
Requires a minimum body-to-range ratio, ensuring that the breakout candle has strong momentum and is not driven by weak wicks.
Risk Management & Trade Management
Stop Loss (SL)
Placed using ATR-based dynamic stops, adapting to current market volatility.
Prevents tight stops in volatile conditions and wide stops in calm markets.
Partial Profit Taking
50% of the position is exited at 1.5R, locking in profits early.
This reduces psychological pressure and improves equity stability.
Trailing Stop
After partial profit is taken, the remaining position is managed with an ATR-based trailing stop.
Allows the strategy to capture large trend moves while protecting gains.
Cooldown Mechanism
After a losing trade, the system enters a cooldown period and skips a fixed number of bars.
This helps avoid revenge trading and overtrading during unfavorable market phases.
Why This Strategy Works
Trades only high-probability breakouts in trending markets
Adapts automatically to changing volatility
Combines price action precision with systematic risk control
Designed for consistent performance over long historical periods
Expectativa de Juros (Fed)An indicator that measures future expectations for US interest rates, measured by the difference between the Fed's interest rate and pricing on the CME.
Daily Context (yctrades_)This indicator automatically marks the Previous Day’s High and Low, as well as the market’s midnight opening price.
These levels are updated at the start of each new trading day and remain visible throughout the entire session.
By providing key daily reference points, the indicator helps establish a clear market context and allows traders to immediately understand where price is positioned relative to the previous day’s range and the daily open.
The New York midnight line (00:00 NY) now appears only at the actual NY midnight.
Any previous day’s NY midnight line is automatically deleted when the day changes.
Between the previous NY midnight and the current one, no line is displayed, avoiding clutter or outdated lines.
The line’s color can now be individually customized via NY 00:00 Line + Text Color input, applying to both the line and its label.
Displays a vertical line between each trading day.
Fully customizable in the settings:
Color of the line
Width of the line
Style (solid, dashed, dotted)
This makes it easy to visually separate trading sessions directly on the chart.
PDH / PDL are calculated using UTC 00:00–23:59 to ensure identical levels for all traders worldwide, regardless of market or timezone.
SS Critical Advanced Multi-Timeframe Trend & MomentumThis indicator analyses the trend , Momentum & reversal across multiple timeframes to help find a data driven entry point. For Educational use only
[Backtest Crypto] Cross MAThis script is designed for testing the moving average crossover strategy.
Script settings:
Select testing range
Indicator settings: Select moving average type (EMA, SMA, WMA, SMMA, HMA) and period
Trade management: Select risk-to-reward ratio, stop-loss defined as min/max for a certain number of candles (you can set a desired number), option to partially lock in a position by moving the stop-loss to breakeven, trailing stop, or close a position on an opposite signal.
Option to limit the stop-loss by ATR to prevent it from becoming too large during volatile movements.
===============================================================
Скрипт предназначен для тестирования стратегии пересечение скользящих средних.
Настройки скрипта:
Выбор диапазона тестирования
Настройки индикатора: выбор типа скользящей (EMA, SMA, WMA, SMMA, HMA) и периода
Сопровождение сделки: выбор соотношения риска к прибыли, стоп-лосс определяется как мин/мах за определенное количество свечей (можно устанавливать желаемое количество), возможность частичной фиксации позиции с переносом стоп-лосса в безубыток, трейлинг-стоп, или закрытие позиции по противоположному сигналу.
Возможность ограничения стоп-лосса по ATR, чтобы при волатильных движениях он не был слишком большим.
Moving Averages 20 & 200Moving Averages 20&200. Help you decide buy signal to find bullish or bearish.
50% level of Daily RangeThe 50% or midpoint between the current days highest and lowest points be used to divide the premium and discount of the days range. Price often reacts at this point and it can be used as a target for reversal trades. This indicator plots the level as it moves through out each day so is useful for backtesting as well as determining whether the current price is in premium or discount.
SMC MICRO ENTRY SETUPThis setup is designed based on Fair Value Gaps where trader can predict Bullish Or Bearish Trend with Market Structure and FVG, We may get Micro Levels for Buying and Selling with Small FVG Detection with Lower Time Frames, This setup will help trader to find good trades with Smart Money entries with FVG Order Blocks,
Same setup is only for Education Purposes don't take blind traded on it. Before taking any trade please concern with your Financial Advisor.
Green OB = Bullish Trend with Fresh Demand
Red OB = Bearish Trend with Fresh Supply
Gray OB = If Tested Red of Green OB it will automatic convert into Gray as a Entry Taken with OB
strongResistanceActually it is education purpose. This indicator is designed to help traders clearly identify strong Support & Resistance (SNR) levels along with high-probability Buy & Sell..
The indicator works smoothly on lower timeframes for binary trading.
Candle Microstructure ClassifierCandle Microstructure Classifier
Public Description
The Candle Microstructure Classifier is a visual study designed to highlight meaningful single-candle behaviors based purely on price geometry. It classifies candles according to body size and wick structure, helping traders visually identify moments of aggression, commitment, failed pushes, and rejection directly on the price chart.
This script is a study only. It does not generate trade signals, entries, exits, or forecasts. Its purpose is to provide structural context that can be combined with other tools such as trend, volume, or volatility analysis.
Quantitative Description
Each candle is decomposed into its geometric components relative to its total range (high − low). All classifications are based on normalized fractions to remain scale‑independent across instruments and timeframes.
Definitions:
1. Candle Range (R):
R = High − Low
2. Body Size (B):
B = |Close − Open|
Body Fraction = B / R
3. Upper Wick (UW):
UW = High − max(Open, Close)
Upper Wick Fraction = UW / R
4. Lower Wick (LW):
LW = min(Open, Close) − Low
Lower Wick Fraction = LW / R
Candle Classifications:
• Commitment Candle:
Body Fraction ≥ Large Body Threshold
Upper Wick Fraction ≤ Tiny Wick Threshold
Lower Wick Fraction ≤ Tiny Wick Threshold
Interpretation: Strong directional acceptance with minimal intrabar rejection.
• Marubozu (Aggression):
Body Fraction ≥ Large Body Threshold
One wick effectively absent (near zero)
Interpretation: Pure directional aggression with no meaningful counter‑pressure.
• Trend Attempt Failure:
Body Fraction ≥ Large Body Threshold
One wick large, opposite wick small
Interpretation: Strong push followed by immediate rejection on one side.
• Rejection Candle:
Body Fraction ≤ Small Body Threshold
Upper Wick Fraction ≥ Large Wick Threshold
Lower Wick Fraction ≥ Large Wick Threshold
Interpretation: Two‑sided rejection indicating price discovery or balance.
• Pin Rejection (optional):
Body Fraction ≤ Small Body Threshold
Only one wick large
Interpretation: One‑sided rejection often occurring near support or resistance.
Notes and Context
This classifier intentionally avoids pattern names tied to prediction. Each classification describes observed auction behavior inside a single bar, not an expectation of future movement.
Sources and Further Reading
Candle structure and wick interpretation:
• Investopedia – Candlestick Patterns and Anatomy
www.investopedia.com
Volume and volatility context examples:
• Wyckoff Method – Effort vs Result (Volume + Price Structure)
school.stockcharts.com
• CME Group – Using Volume and Volatility Together
www.cmegroup.com
Example Applications:
1. A commitment candle occurring simultaneously with a volume spike may indicate institutional participation and acceptance at that price level.
2. A rejection candle forming during elevated volatility (ATR expansion) may signal failed price discovery and potential mean reversion zones.
NSE Arbitrage Dashboard - Part 5 (CapGoods & Infra)Inspired by Wealthcon
This the FIFTH of 5 series Indicators showing Live arbitrage opportunity in 3 Indices & 100 most Liquids FNO scrips of NSE. This series includes CAPITAL GOODS & INFRA
Only for EDUCATIONAL PURPOSE
NSE Arbitrage Dashboard - Part 4 (FMCG & Pharma)Inspired by Wealthcon
This the FOURTH of 5 series Indicators showing Live arbitrage opportunity in 3 Indices & 100 most Liquids FNO scrips of NSE. This series includes FMCG & PHARMA
Only for EDUCATIONAL PURPOSE






















