Market Potential EstimatorWhat this indicator shows
This indicator measures how much potential movement the market still has, not direction.
It answers the question:
“Does the market still have room to move, or is it already exhausted?”
Red zone (Low potential)
Exhaustion / slowdown zone.
The market has used most of its available range.
Expect:
consolidation
pullbacks
reduced follow-through
⚠️ Red does NOT mean reversal
How to use it correctly
Use it as a filter, not a trigger
Avoid opening new trades in red zones
Reduce targets when potential is low
Combine with:
direction/bias
momentum
structure
지표 및 전략
Dolar MEP Implicito de CEDEARs y ADRs**Implicit USD Exchange Rate from CEDEARs and ADRs**
This indicator calculates the implicit ARS/USD exchange rate using CEDEAR pairs traded on the Argentine stock exchange (BYMA). It compares the ARS price of a CEDEAR against its USD MEP version (D-suffix ticker) to derive the implicit dollar rate.
**How it works:**
Divide the ARS ticker price by the D-suffix ticker price. Example: AAPL / AAPLD = Implicit rate.
**Features:**
• Top 10 CEDEARs ranked by 30-day average volume
• AL30/AL30D bond benchmark as white reference line
• Filter: Top 5, Top 10, or All
• Custom ticker input field
• Info box with best buy and best sell rates
• Colored labels for each ticker
**Default Tickers:** PAMP, GGAL, AMZN, IBIT, GOOGL, NVDA, MELI, VIST, NFLX, GLD
**Usage:** Apply to any chart. Works independently of chart symbol.
**Disclaimer:** For informational and educational purposes only. Eco Valores S.A. does NOT provide investment advice. Consult a qualified financial advisor before investing.
Eco Valores S.A. - ALyC 109/CNV
Multi-Contraction VCP DetectorThis indicator highlights low volume and contracted price movement prior to possible breakouts.
MGC1! - Stats jour du Weekly High/Low Lun VenIndicator Name: Weekly High/Low Day Statistics (Probability Dashboard)
Description:
This indicator provides a statistical edge by analyzing historical price action to determine which day of the week is most likely to form the Weekly High or the Weekly Low.
Designed for intraday traders and swing traders, this tool helps you anticipate the structure of the weekly candle. By understanding the probabilities of when the extremums (HOD/LOD of the week) usually occur, you can better align your trade setups with the true weekly expansion.
Key Features:
Historical Analysis: Calculates statistics based on a user-defined lookback period (default is 104 weeks / 2 years) to ensure statistical significance.
Probability Dashboard: Displays a clean table on the chart showing the percentage chance for each day (Monday to Friday) to be the High or Low of the week.
Rolling Window: Automatically updates data at the close of every week to keep probabilities current.
How to Use (ICT/SMC Context):
Weekly Profiles: Use this data to validate "Classic Tuesday Low" or "Wednesday/Thursday Reversal" profiles.
Bias Confirmation: If the statistics show a 40% chance of the Weekly Low forming on a Tuesday, and price is diving into a Higher Timeframe POI on Tuesday morning, this adds high-probability confluence to your long setups.
Targeting: If the Weekly High typically forms on Thursday and it is currently Wednesday, you can hold runners for an expansion into the next day.
Borna's Zones NY Borna's Zones marks two important time-based zones on the chart: the 08:00 zone and the 09:00 zone.
The 14:00 zone identifies initial liquidity. This zone sets the range where early market participants create significant activity.
The 15:00 zone serves as a reference for confirmation. After 15:00, the indicator helps you identify whether the 14:00 zone should be considered cleared.
Both zones are automatically extended until 17:00, providing clear visual references for potential market reactions.
No trading is recommended after 17:00, as the early morning zones lose relevance.
This indicator is useful for traders who focus on pre-market and early session liquidity, helping to visualize key levels where price may react.
"Clean Market Structure & Trend Confirmation" TP LADDER(UPDATED)Clean Market Structure & Trend Confirmation — TP Ladder
This indicator is designed to identify high-probability intraday trend trades using market structure, momentum confirmation, and a visual ribbon system, with automatic take-profit and stop-loss levels plotted after confirmed signals.
WHAT THIS INDICATOR IS FOR
This script is built for active intraday traders trading SPY, QQQ, It focuses on trend continuation and directional momentum rather than scalping chop. It works best during regular market hours with extended hours enabled.
HOW TO LOAD (IMPORTANT)
Add the script to your chart
Set chart timeframe to 5-minute
Turn Extended Trading Hours ON
Use during the NY session (especially open and trend periods)
THE RIBBON (MOST IMPORTANT RULE)
The ribbon defines the trend.
• Blue/Teal ribbon = bullish trend
• Red ribbon = bearish trend
• Gray ribbon = compression / no trade zone
Only trade in the direction of the ribbon.
No ribbon alignment = no trade.
BULL & BEAR DOTS
“BULL” dot appears when structure flips bullish.
“BEAR” dot appears when structure flips bearish.
These confirm trend direction, not entries by themselves.
BUY & SELL ARROWS (ENTRIES)
• BUY arrow prints only when bullish ribbon, structure, momentum, and filters align
• SELL arrow prints only when bearish ribbon, structure, momentum, and filters align
• Arrows are non-repainting when using close-confirmed mode
No arrow = no trade.
CONTINUATION (C) LOGIC
The script allows limited continuation entries after pullbacks when structure realigns.
By default, only one continuation per direction per day is allowed to prevent overtrading and signal spam.
TAKE-PROFIT (TP) LADDER
When a BUY or SELL arrow confirms, the script automatically plots:
• TP1 = partial profit
• TP2 = extended target
• TP3 = final extension
• STOP = ATR-based stop loss
All levels are calculated using ATR and adjust automatically to volatility.
The ladder only appears after a confirmed signal.
HOW TO TRADE IT (SIMPLE FLOW)
Identify ribbon direction
Wait for BUY or SELL arrow
Enter on confirmation
Scale out at TP1, TP2, TP3
Respect the STOP line
If structure breaks or ribbon flips, exit.
WHAT TO AVOID
• Do not trade against the ribbon
• Do not trade in gray ribbon conditions
• Do not chase candles without arrows
• Do not expect constant signals (quality over quantity)
MNQ Optimal Entry Detector - Timeframe StableOptimized for timeframes and has better trade stability, overall better option however use with discretion, dont trade until 3 hours after market opens and dont use 4 hours before close due to lack of volume.
Nifty Hierarchical Macro GuardOverview
The Nifty Hierarchical Macro Guard is a "Market Compass" indicator specifically designed for Indian equity traders. It locks its logic to the Nifty 50 Index (NSE:NIFTY) and applies a strict hierarchy of trend analysis. The goal is simple: prioritize the long-term trend (Monthly/Weekly) to decide if you should even be in the market, then use the short-term trend (Daily) for precise exit timing.
This script ensures you never ignore a macro "crash" signal while trying to trade minor daily fluctuations.
The Color Hierarchy (Priority Logic)
The indicator uses a "Top-Down" filter. Higher timeframe signals override lower timeframe signals:
Level 1: Monthly (Ultra-Macro) — Deep Maroon
Condition: Nifty 10 EMA is below the 20 EMA on the Monthly chart.
Action: This is the highest priority. The background will turn Deep Maroon, overriding all other colors. This is your "Forget Trading" signal. The long-term structural trend is broken.
Level 2: Weekly (Macro Warning) — Dark Red
Condition: Monthly is Bullish, but Nifty 10 EMA is below the 20 EMA on the Weekly chart.
Action: The background turns Dark Red. This indicates a significant macro correction. You should stay out of fresh positions and protect capital.
Level 3: Daily (Tactical) — Light Red / Light Green
Condition: Both Monthly and Weekly are Bullish (Green).
Action: The background will now react to the Daily 10/20 EMA cross.
Light Green: Nifty is healthy; safe for fresh positions.
Light Red: Tactical exit signal. Nifty is seeing short-term weakness; exit positions quickly.
Key Features
Symbol Locked: No matter what stock you are viewing (Reliance, HDFC, Midcaps), the background only reacts to NSE:NIFTY.
Clean Interface: No messy lines or labels on the price chart. The information is conveyed purely through background color shifts.
Customizable: Change the MA types (EMA/SMA) and lengths (e.g., 10/20 or 20/50) in the settings.
Macro Dashboard: A small, transparent table in the top-right corner displays exactly which timeframe is currently controlling the background color.
How to Use for Nifty Strategy
Stay Out: If the chart is Deep Maroon or Dark Red, do not look for "buying the dip." Wait for the macro health to return.
Take Exits: If the background is Light Green and suddenly turns Light Red, it means the Daily Daily 10/20 cross has happened. Exit your Nifty-sensitive positions immediately.
Slope Averages
📊 Indicator Overview: Three Moving Averages Slope Table
This indicator is designed to calculate and display the slopes and averages of three different moving averages (MAs) in a table format. It helps traders quickly visualize the direction and strength of multiple moving averages, as well as their combined averages, across different timeframes.
⚙️ Inputs and Configuration
• MA Type 1, 2, 3: Choose the type of moving average for each line. Options:
• (Exponential Moving Average)
• (Simple Moving Average)
• (Weighted Moving Average)
• (Volume-Weighted Moving Average)
• (a custom smoother using multiple EMAs)
• Length 1, 2, 3: Periods for each moving average (e.g., 20, 50, 100).
• Source: The price source used (default = ).
• Extra Timeframes (optional): You can configure up to 3 additional timeframes (e.g., 1h, 4h, Daily) to compare the combined average across different chart periods.
🔧 Functions Explained
1. tilson(src, length)
• A custom moving average that smooths price using 8 sequential EMAs.
• Produces a smoother line than a standard EMA.
2. getMA(src, length, maType)
• Selects the correct moving average type based on user input.
• Returns the chosen MA value.
3. Slope Calculation
• Each slope is calculated as:
• This converts the difference between current and previous MA values into an angle in degrees.
• Positive slope = upward trend, negative slope = downward trend.
4. Combined Slopes
• : Average slope of all three MAs.
• , , : Average slopes of pairs of MAs.
5. Combined Averages
• : Average of MA1 and MA2.
• : Average of MA2 and MA3.
• : Average of MA1 and MA3.
• : Average of all three MAs.
6. Color Function
• : Returns green if value ≥ 0, red if value < 0.
• Used to color table cells for quick visual feedback.
📋 Table Output
The table shows:
1. Individual slopes of MA1, MA2, MA3.
2. Average slope of all three.
3. Combined averages (M1+M2, M2+M3, M1+M3).
4. Combined slopes of pairs.
5. Overall average .
6. Optional: RSI or multi-timeframe averages can also be added.
Each value cell is colored green if positive, red if negative, making it easy to spot bullish or bearish conditions.
🎯 How to Use It
• Trend Strength: Look at the slope values. Steeper positive slopes = stronger uptrend; steep negative slopes = stronger downtrend.
• Confluence: When all three MAs and their combined averages point in the same direction, it signals strong trend alignment.
• Multi-Timeframe Analysis: Configure extra timeframes to see if short-term and long-term averages agree. If they align, confidence in the trend increases.
• RSI Integration (optional): Add RSI to confirm momentum. For example, bullish slope + RSI > 50 = stronger buy signal.
✅ Practical Example
• MA1 = EMA(20), MA2 = SMA(50), MA3 = WMA(100).
• If slope1, slope2, slope3 are all positive and green, and is also green → strong bullish trend.
• If slopes are mixed (some green, some red), the market is consolidating.
• If all slopes are red and is red → strong bearish trend.
HMA & RSI Delta Hybrid SignalsA lag-free trend follower combining Hull Moving Average (HMA) with RSI Momentum Delta to filter false signals and catch high-probability reversals.
# 🚀 HMA & RSI Delta Hybrid Signals
This indicator represents a hybrid approach to trend trading by combining the smoothness of the **Hull Moving Average (HMA)** with the explosive detection capabilities of **RSI Momentum Delta**.
Unlike standard indicators that rely solely on price crossovers, this tool confirms the trend direction with the *velocity* of the price change (Momentum Delta), reducing false signals in choppy markets.
### 🧠 How It Works?
**1. Trend Detection (HMA):**
The script uses the **Hull Moving Average**, known for being extremely fast and lag-free, to determine the overall market direction.
* **Orange Line:** Represents the HMA Trend. The slope determines if we are in an Uptrend or Downtrend.
**2. Momentum Confirmation (RSI Delta):**
Instead of looking at raw RSI levels (like 70 or 30), this algorithm calculates the **"Delta"** (Absolute change from the previous bar).
* It asks: *"Is the price moving in the trend direction with enough speed?"*
* If the RSI jumps significantly (determined by the `Delta Threshold`), it confirms a strong entry.
### 🎯 Signal Modes (Sensitivity)
You can choose between two modes depending on your trading style:
* **🛡️ Conservative Mode (Default):**
* Strict filtering.
* Requires the Trend to match the HMA direction AND the RSI Delta to exceed the specific threshold (e.g., 0.8).
* *Best for:* Avoiding false signals in sideways markets.
* **⚔️ Aggressive Mode:**
* Faster entries.
* Requires the Trend to match the HMA direction AND any positive momentum change in RSI.
* *Best for:* Scalping or catching the very beginning of a move.
### ✨ Key Features
* **Non-Repainting Signals:** Once a bar closes, the signal is fixed.
* **Non-Repeating:** It will not spam multiple "BUY" signals in a row; it waits for a trend change or reset.
* **Visual Trend:** Background color changes based on the HMA slope (Green for Bullish, Purple for Bearish).
* **Fully Customizable:** Adjust HMA length, RSI period, and Delta sensitivity.
---
**⚠️ DISCLAIMER:** This tool is for educational and analytical purposes only. Always manage your risk.
Dynamic Multi-Timeframe SMAs (Brian Shannon Style)Overview : This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.
How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.
Features:
Asset Class Selector : Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.
Info Table : Displays exactly how many bars are being used for the calculation in real-time.
Tailwind.(BTC)Imagine the price of Bitcoin is like a person climbing a staircase.
The Steps (Grid): Instead of watching every single price movement, the strategy divides the market into fixed steps. In your configuration, each step measures **3,000 points**. (Examples: 60,000, 63,000, 66,000...).
The Signal: We buy only when the price climbs a full step decisively.
The "Expensive Price" Filter: If the price jumps the step but lands too far away (the candle closes too high), we do not buy. It is like trying to board a train that has already started moving too fast; the risk is too high.
Rigid Exits: The Take Profit (TP) and Stop Loss (SL) are calculated from the edge of the step, not from the specific price where you managed to buy. This preserves the geometric structure of the market.
The Code Logic (Step-by-Step)
A. The Math of the Grid (`math.floor`)
pinescript
level_base = math.floor(close / step_size) * step_size
This is the most important line.
What does it do? It rounds the price down to the nearest multiple of 3,000.
Example: If BTC is at 64,500 and the step size is 3,000:
1. Divide: $64,500 / 3,000 = 21.5$
2. `math.floor` (Floor): Removes the decimals $\rightarrow$ remains $21$.
3. Multiply: $21 * 3,000 = 63,000$.
Result: The code knows that the current "floor" is **63,000**, regardless of whether the price is at 63,001 or 65,999.
B. The Strict Breakout (`strict_cross`)
pinescript
strict_cross = (open < level_base) and (close > level_base)
Most strategies only check if `close > level`. We do things slightly differently:
`open < level_base`: Requires the candle to have "born" *below* the line (e.g., opened at 62,900).
`close > level_base`: Requires the candle to have *finished* above the line (e.g., closed at 63,200).
Why? This avoids entering on gaps (price jumps where the market opens already very high) and confirms that there was real buying power crossing the line.
C. The "Expensive Price" Filter (`max_dist_pct`)
pinescript
limit_price_entry = level_base + (step_size * (max_dist_pct / 100.0))
price_is_valid = close <= limit_price_entry
Here you apply the percentage rule:
-If the level is 63,000 and the next is 66,000 (a difference of 3,000).
-If `max_dist_pct` is **60%**, the limit is $63,000 + (60\% \text{ of } 3,000) = 64,800$.
-If the breakout candle closes at **65,000**, the variable `price_is_valid` will be **false** and it will not enter the trade. This avoids buying at the ceiling.
D. TP and SL Calculation (Anchored to the Level)
pinescript
take_profit = level_base + (step_size * tp_mult)
stop_loss = level_base - (step_size * sl_mult)
Note that we use `level_base` and not `close`.
-If you entered because the price broke 63,000, your SL is calculated starting from 63,000.
-If your SL is 1.0x, your stop will be exactly at 60,000.
This is crucial: If you bought "expensive" (e.g., at 63,500), your real stop is wider (3,500 points) than if you bought cheap (63,100). Because you filter out expensive entries, you protect your Risk/Reward ratio.
E. Visual Management (`var line`)
The code uses `var` variables to remember the TP and SL lines and the `line.set_x2` function to stretch them to the right while the operation remains open, providing that visual reference on the chart until the trade ends.
Workflow Summary
Strategy Parameters:
Total Capital: $20,000
We will use 10% of total capital per trade.
Commissions: 0.1% per trade.
TP: 1.4
SL: 1
Step Size (Grid): 3,000
We use the 200 EMA as a trend filter.
Feel free to experiment with the parameters to your liking. Cheers.
Hicham XAUUSD Key Levels PRO (1H / 4H + Psychological)🔑 XAUUSD Key Levels PRO | 1H / 4H Structure + Psychological Levels
This indicator is designed specifically for Gold (XAUUSD) traders who want clean, institutional-grade key levels without chart clutter.
It combines market structure levels with true psychological price levels used by institutions, making it ideal for scalping, intraday, and swing trading.
📌 Features
🔹 Market Structure Key Levels
Automatic 1H & 4H High / Low detection
Based on swing pivots (configurable strength)
Solid lines for clear structure visibility
🔹 Gold Psychological Levels (XAUUSD)
Major levels: every 500$ (strong institutional zones)
Medium levels: every 250$
Minor levels: every 10$
Dynamic levels around current price
No line spam, optimized performance
🔹 Visual Clarity
Solid / dashed / dotted line styles
Custom colors & line thickness
Optional price labels
Works perfectly on M1 → H4
🎯 Best Use Cases
Liquidity sweeps & reactions
Premium / discount zones
Stop-loss & take-profit placement
Confluence with BOS / CHoCH
London & New York sessions
⚙️ Fully Customizable
Toggle 1H / 4H levels
Adjust psychological level spacing
Enable / disable labels
Clean & lightweight (no lag)
⚠️ Notes
Optimized for XAUUSD (Gold)
Best results when combined with price action & structure
Not a trading signal indicator
If you want:
Session-based levels
Alerts on key levels
Smart Money Concepts integration
Feel free to comment or DM 👊
Happy trading 💛📈
H1 Bias Rhythmic Lite Public V1.0 by SRTH1 Bias Rhythmic Lite Public V1.0 by SRT
Version: 1.0 (Public Lite)
Author: SRT
Platform: TradingView / Pine Script v6
Overlay: Yes (works directly on price chart)
Purpose: Provide H1 directional bias with D1 alignment and basic rhythm signals. Perfect for traders looking for clean bias visualization without clutter.
💡 Key Features
H1 Bias (Primary Engine)
Uses EMA7, EMA40, SMA150, and SMA200 for H1 directional bias.
Clearly identifies bullish, bearish, and neutral conditions.
Stack-based logic ensures consistency and reliability.
D1 Bias Alignment
Pulls higher timeframe (daily) EMA40, SMA150, SMA200.
Confirms H1 bias alignment with daily trend.
Helps filter trades in the direction of the larger trend.
Flush Detection
H1 flushes: Price fully “flushed” beyond EMA7 for bullish/bearish setups.
D+H1 flush: Aligns H1 flush with D1 bias for stronger context.
Visual dots with configurable sizes and colors indicate flush levels.
Price Action Signals
Engulfing (EB) detection with ATR filtering and body % thresholds.
Long Tail Body (LTB) detection with optional body % filter for precise swing points.
Both EB and LTB signals show clear labels above/below the candle for instant recognition.
ATR-Based Dynamic Offsets
Uses ATR (configurable length) to scale labels and flush dot offsets dynamically.
Ensures signals are proportionate to volatility.
Daily Pivot & Session Lines
Daily pivot plotted automatically.
Option to show daily session high-low lines and day labels.
Easily configurable label sizes and colors.
Bias Summary Table
Top-right table shows:
D1 bias
H1 bias
LTB allowed (Yes/No)
Color-coded for easy reference: green = Bull, red = Bear, gray = Neutral.
Alerts
H1 flush and D+H1 flush alerts.
LTB active alerts when bias is aligned.
Perfect for keeping an eye on actionable swings.
⚙️ User Inputs
Moving Average Lengths: EMA7, EMA40, SMA150, SMA200
Show/Hide MAs: Toggle to declutter the chart
ATR Settings: Length and % threshold for EB/LTB sizing
Signal Toggles: Show/Hide EBull, EBear, LTB Bull, LTB Bear, Flush Dots
Daily Pivot & Label Settings: Toggle visibility, label size, line/text colors
✅ Advantages for Users
Lightweight and fast — minimal lag on H1 charts.
Clear visualization of market bias and swing points.
Free access to core H1 Bias Rhythmic methodology.
Serves as a learning tool for traders who want to upgrade later.
⚠️ Limitations
No automatic entries, stops, or take profits (manual trade execution required).
Lite version only offers simplified signals and bias visualization.
Advanced rhythm and multi-timeframe alerts are reserved for the Premium version.
📢 Short Promo for Premium
For traders who want full power, check out H1 Bias Rhythmic Premium V1.0 by SRT — complete multi-phase alerts, advanced LTB & EB filters, EMA/SMA flip confirmations, and professional-level rhythm signals. Upgrade to premium for the full H1 trading experience.
GMMA fill (v5) + Golden Crossover HighlightsGMMA Fill (v5) + Golden Crossover Highlights
This setup combines the Guppy Multiple Moving Average (GMMA) Fill version 5 with Golden Crossover signals to identify strong trend continuation and potential breakout points. GMMA provides layered moving averages for short- and long-term trend analysis, while the Golden Crossover highlights bullish momentum shifts, making it ideal for spotting entry opportunities in trending markets.
All-in-One Momentum Composite The Four Components (and Why They're Chosen)
RSI (Relative Strength Index) – Classic overbought/oversold oscillator (14-period default). Measures speed and change of price movements.
Stochastic (%D line) – Smoothened momentum indicator that compares closing price to the price range over a period. Excellent at spotting reversals in ranging markets.
WaveTrend – Very popular in crypto and forex communities (originally by LazyBear). It’s essentially a momentum oscillator based on overbought/oversold channels, similar to a faster, smoother RSI/Stochastic hybrid. Known for early divergence signals and clean crossovers.
MACD Histogram – Captures momentum changes and trend strength via the difference between fast and slow EMAs. The histogram shows acceleration/deceleration.
Pivot Points High LowGaneshA Pivot Points High/Low indicator that:
Detects swing highs (ta.pivothigh) and swing lows (ta.pivotlow) using configurable left/right bar lengths.
Draws labels at the confirmed pivot points:
Down labels at pivot highs (potential resistance).
Up labels at pivot lows (potential support).
Lets you customize text color and label fill color separately for highs and lows.
It’s designed for overlay (on-price chart), with max_labels_count=500 to allow many labels.
Improved Candle Strategy (without daily squared)# Candle Pattern Trading Strategy
## Core Logic
Analyzes the last 5 candlesticks to identify "close at high" and "close at low" patterns, generating long/short signals.
## Trading Conditions
- **Long**: ≥2 bars closed at high in past 5 bars + current bar closes at high → Open long
- **Short**: ≥2 bars closed at low in past 5 bars + current bar closes at low → Open short
- **Filter**: If ≥3 doji patterns detected, skip trading
## Risk Management
- Stop Loss: Based on entry bar's high/low
- Take Profit: Risk × 2x multiplier
- Cooldown: No trading for 2 bars after entry
- Session Filter: No trading for first 5 bars after market open
## Configurable Parameters
- Lookback period, doji threshold, close proximity ratio, TP/SL ratio, cooldown bars, etc.
**Use Cases**: 1-minute and higher timeframes on stocks/futures
SMI Trigger System The SMI Trigger System is a lower-pane momentum indicator based on a Hull-smoothed Stochastic Momentum Index (SMI). It is designed to assist in identifying potential momentum shifts by highlighting signal alignment and level interactions.
This indicator is intended to be used as part of a broader analysis framework. Confluence between trend, structure, and higher-timeframe context defines the setup, while SMI signal behavior may be used for confirmation.
The script can be applied across multiple timeframes and markets. It does not generate trade signals on its own and should be used alongside additional analysis and risk management techniques.
For educational purposes only. Not financial advice.
8menutakeshi//@version=5
indicator("猛の掟・初動スクリーナー(完全版:8項目コメント表示)", overlay=true, max_labels_count=50)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Inputs
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
showPanel = input.bool(true, "コメント表示")
panelPos = input.string("右上", "コメント位置", options= )
lastBarOnly = input.bool(true, "最後の足だけ更新(推奨)")
// EMA
lenEma1 = input.int(5, "EMA 5", minval=1)
lenEma2 = input.int(13, "EMA 13", minval=1)
lenEma3 = input.int(26, "EMA 26", minval=1)
// MACD
macdFast = input.int(12, "MACD fast", minval=1)
macdSlow = input.int(26, "MACD slow", minval=1)
macdSig = input.int(9, "MACD signal", minval=1)
// Volume
volMaLen = input.int(5, "出来高平均(N日)", minval=1)
volMinMul = input.float(1.3, "出来高倍率Min", step=0.1)
volMaxMul = input.float(2.0, "出来高倍率Max", step=0.1)
volFinalMul = input.float(1.5, "最終三点:出来高倍率(>=)", step=0.1)
// Candle
wickBodyMult = input.float(1.8, "下ヒゲ判定:下ヒゲ/実体 >=", step=0.1)
atrLen = input.int(14, "ATR長", minval=1)
bigBodyATR = input.float(1.2, "大陽線判定:実体 >= ATR×", step=0.1)
// Breakout / Pullback
resLookback = input.int(20, "レジスタンス:過去N日高値", minval=5)
pullMinPct = input.float(5.0, "押し目Min(%)", step=0.5)
pullMaxPct = input.float(15.0, "押し目Max(%)", step=0.5)
retestAllowPct = input.float(1.0, "ブレイク価格の許容下抜け(%)", step=0.1)
stateExpireBars = input.int(30, "ブレイク状態の期限(本数)", minval=5)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Series
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ema5 = ta.ema(close, lenEma1)
ema13 = ta.ema(close, lenEma2)
ema26 = ta.ema(close, lenEma3)
= ta.macd(close, macdFast, macdSlow, macdSig)
volAvg = ta.sma(volume, volMaLen)
volMul = volAvg == 0 ? na : (volume / volAvg)
atr = ta.atr(atrLen)
// Candle parts
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 1-3: トレンド
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ema5Up = ema5 > ema5
ema13Up = ema13 > ema13
ema26Up = ema26 > ema26
allEmaUp = ema5Up and ema13Up and ema26Up
golden = (ema5 > ema13) and (ema13 > ema26)
above26_2days = (close > ema26) and (close > ema26 )
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 4: MACD(ゼロライン上GC)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
macdZeroGC = ta.crossover(macdLine, macdSignal) and (macdLine > 0)
histShrinkToUp = (macdHist > macdHist ) and (macdHist < macdHist ) // 参考表示
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 5: 出来高
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
volOK = not na(volMul) and (volMul >= volMinMul) and (volMul <= volMaxMul)
volStrongOK = not na(volMul) and (volMul >= volFinalMul) // 最終三点用
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 6: ローソク(ピンバー/包み/大陽線)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
longLowerWick = (body > 0) and ((lowerWick / body) >= wickBodyMult) and (upperWick <= lowerWick * 0.6) and (close > open)
bullEngulf = (close < open ) and (close > open) and (open <= close ) and (close >= open )
bigBull = (close > open) and (body >= atr * bigBodyATR) and (open < ema13) and (close > ema5)
candleOK = longLowerWick or bullEngulf or bigBull
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 7-8: ブレイク後押し目(押し目 -5〜15%)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
res = ta.highest(high, resLookback)
breakout = ta.crossover(close, res)
var bool inBreak = false
var float breakPrice = na
var int breakBar = na
var float postBreakHigh = na
if breakout
inBreak := true
breakPrice := res
breakBar := bar_index
postBreakHigh := high
if inBreak
postBreakHigh := na(postBreakHigh) ? high : math.max(postBreakHigh, high)
pullPct = (inBreak and not na(postBreakHigh) and postBreakHigh != 0) ? (postBreakHigh - close) / postBreakHigh * 100.0 : na
pullOK = not na(pullPct) and (pullPct >= pullMinPct) and (pullPct <= pullMaxPct)
retestOK = inBreak and not na(breakPrice) and (close >= breakPrice * (1 - retestAllowPct/100.0))
breakoutPullbackOK = inBreak and retestOK and pullOK
if inBreak and not na(breakBar) and (bar_index - breakBar > stateExpireBars)
inBreak := false
breakPrice := na
breakBar := na
postBreakHigh := na
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 8項目チェック(1つでも欠けたら見送り)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
chk1 = allEmaUp
chk2 = golden
chk3 = above26_2days
chk4 = macdZeroGC
chk5 = volOK
chk6 = candleOK
chk7 = pullOK
chk8 = breakoutPullbackOK
all8 = chk1 and chk2 and chk3 and chk4 and chk5 and chk6 and chk7 and chk8
// 最終三点(ヒゲ×出来高×MACD)
// ※「成立時は買い確定」の定義に合わせて、all8に加えてfinal3も必須にしている
final3 = longLowerWick and volStrongOK and macdZeroGC
judge = (all8 and final3) ? "判定:買い" : "判定:見送り"
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// コメント文字列(←txt を必ず先に定義)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
fMark(x) => x ? "達成" : "未達"
txt =
"【8項目チェック】 " +
"1 EMA全上向き: " + fMark(chk1) + " " +
"2 黄金隊列: " + fMark(chk2) + " " +
"3 26EMA上2日: " + fMark(chk3) + " " +
"4 MACDゼロ上GC: " + fMark(chk4) + " " +
"5 出来高" + str.tostring(volMinMul) + "-" + str.tostring(volMaxMul) + ": " + fMark(chk5) + " " +
"6 ローソク条件: " + fMark(chk6) + " " +
"7 押し目-" + str.tostring(pullMinPct) + "〜" + str.tostring(pullMaxPct) + "%: " + fMark(chk7) + " " +
"8 ブレイク後押し目: " + fMark(chk8) + " " +
"最終三点(ヒゲ×出来高×MACD): " + (final3 ? "成立" : "未成立") + " " +
judge + " " +
"(参考)出来高倍率=" + (na(volMul) ? "na" : str.tostring(volMul, "#.00")) +
" / 押し目率=" + (na(pullPct) ? "na" : str.tostring(pullPct, "#.0")) + "%" +
" / hist転換=" + (histShrinkToUp ? "YES" : "NO")
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Table(位置は if で確定。三項演算子で改行しない)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
var pos = position.top_right
if panelPos == "右上"
pos := position.top_right
else if panelPos == "左上"
pos := position.top_left
else if panelPos == "右下"
pos := position.bottom_right
else
pos := position.bottom_left
var table t = table.new(pos, 1, 1)
// 描画条件
drawNow = showPanel and (lastBarOnly ? barstate.islast : true)
bg = (all8 and final3) ? color.new(color.lime, 80) : color.new(color.gray, 15)
fg = color.white
if drawNow
table.cell(t, 0, 0, txt, text_color=fg, bgcolor=bg, text_size=size.small)
else
table.cell(t, 0, 0, "", text_color=fg, bgcolor=color.new(color.black, 100))
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// 視覚補助
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
plot(ema5, color=color.new(color.yellow, 0), title="EMA5")
plot(ema13, color=color.new(color.orange, 0), title="EMA13")
plot(ema26, color=color.new(color.red, 0), title="EMA26")
plotshape(all8 and final3, title="BUY", style=shape.triangleup, location=location.belowbar,
color=color.new(color.lime, 0), size=size.tiny, text="BUY")
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.
Delta Grid Delta Grid H/L/C (Approx)
Delta Grid H/L/C (Approx) is an order-flow style table that breaks down intrabar delta behavior per candle and displays it in a clean, easy-to-read grid below your chart.
Instead of guessing what happened inside a candle, this indicator shows you:
Delta High – the maximum aggressive buying reached within the bar
Delta Low – the maximum aggressive selling reached within the bar
Delta Final – where delta closed when the candle finished
All values are displayed in a stand-alone table, making it easy to scan recent bars and quickly spot momentum shifts, absorption, and potential trap behavior.
How It Works
This indicator approximates intrabar delta by:
Aggregating lower-timeframe volume
Classifying volume direction based on price movement
Tracking the running delta inside each candle
Recording the highest, lowest, and final delta values per bar
A heat-mapped background is applied to the Final Delta column:
Green shades = net aggressive buying
Red shades = net aggressive selling
Brighter colors = stronger imbalance relative to recent bars
Key Features
Stand-alone Delta Grid panel below the chart
Per-bar Delta High / Delta Low / Delta Final
Heat-mapped Final Delta for fast visual interpretation
Optional time column for precise bar reference
Adjustable lookback and scaling settings
Clean layout designed for futures, crypto, and index trading
How Traders Use It
This tool is ideal for:
Spotting absorption at highs and lows
Identifying failed breakouts and traps
Confirming trend strength or exhaustion
Reading order-flow shifts without footprint charts
Pairing with VWAP, Initial Balance, Supply & Demand, and Market Structure
Important Notes
This is an approximate delta calculation due to TradingView data limitations.
It does not use true bid/ask volume.
For true order-flow delta, a platform with native tick data (e.g., Tradovate or NinjaTrader) is required.
Recommended Settings
Use a lower timeframe (1s–15s if available) for better intrabar accuracy
Combine with key levels (VWAP, IBH/IBL, prior highs/lows) for best results






















