NWOG/NDOG - HOKO (Public Version)This indicator shows you the intervals between the start of the week and the new day, and it is useful for everyone and everyone can use it.
خدمات Pine
Halt-Risk Guard (5-min / 10%) — TTP Safe🛑 Halt-Risk Guard (5-min / 10%) — TTP Safe
Stay clear of halts, invalidations, and over-extended moves.
🔍 Overview
The Halt-Risk Guard helps traders avoid sudden invalidations by monitoring price velocity over the past X minutes (default: 5 min) and flagging when moves exceed a configurable threshold (default: 10%).
Originally built to meet Trade The Pool (TTP) risk-management rules — where even non-halted 10% moves can void trades — this tool provides a clear, visual warning system and optional entry blocker.
⚙️ Key Features
✅ Halt-Risk Detection – Calculates both reference-based and swing-based (high↔low) percentage change over the chosen lookback period.
✅ TTP Safe Mode – “Swing mode” captures extreme volatility spikes that may invalidate trades even when the market stays open.
✅ Entry Blocker (optional) – Automatically greys candles and dims the background during risky conditions to prevent impulsive entries.
✅ Customisable Positioning – Move the on-chart info box to any corner of your chart (Top Left / Top Right / Bottom Left / Bottom Right).
✅ Clean Alerts –
⚠️ At/Above Threshold
✅ Back to Safe
⛔ Entry Blocker Active
✅ Visual Table Display – Compact dashboard shows current % move, lookback window, and threshold with intuitive green/red status.
✅ Strategy-Ready Output – A hidden 0/1 plot lets you block or filter trades in automated systems.
⚡ How It Works
Monitors the selected symbol using your chosen computation timeframe (recommended 1-minute).
Evaluates either:
REF mode: Close-to-close change over the lookback window.
SWING mode: High-to-low range within the same window.
If the move ≥ Threshold %, the script highlights a halt-risk condition and optionally activates the entry blocker.
🎨 Recommended Settings
Lookback: 5 minutes
Threshold: 10 %
Swing mode: ON (TTP-safe)
Computation timeframe: 1 minute
Entry blocker: ON
Dim background: ON
🧠 Use Cases
TTP and other prop-firm evaluations enforcing price-movement limits.
Volatility-based scalping systems to avoid chasing extended candles.
Strategy filters for algorithmic entries (e.g. pause trading during halt-risk windows).
⚠️ Disclaimer
This tool provides visual and alert-based guidance only. It does not guarantee compliance with any specific firm’s rules or eliminate trading risk. Always verify thresholds and rules with your broker or evaluation provider.
Chart Info Display (HOKO) 2It displays 3 things on the screen in order: symbol, date, time frame. You can use it to capture educational videos to make your chart more beautiful, more private, and more practical.
Hoko Quarterly Theory is it this Quarterly Theory but for faraz................................................................................................................................................................................................................
HOKO Doubling Theorythis script is like Quarterly theory but with bigger box .............................................................................................................................
Chart Info Display (HOKO)this script show you three information , symbol , date , time frame .........................................................................................................................................................
ka66: Symbol InformationThis shows a table of all current (Pine v6) `syminfo.` values.
Please note this is primarily of use to Pine Developers, or the curious trader.
There are a few of these around on TradingView, but many seem to focus on the use case they have. This script just dumps all values, in alphabetical order of properties.
You can use this to inspect the details of the symbol, which in turn, can be fed into various scripts covering tasks such as:
Position Sizing calculation (which requires things like tick, pointvalue, and currency details)
Recommendation engines (which use the recommendation_* properties)
Fundamentals on stocks (which may use share count information, and possibly employee information)
Note that not all table values are populated, as they depend on the instrument being introspected. For example, a share ticker will have some different details to a Forex pair. The `NaN` values (the "Not A Number" special value in programming parlance) are not a bug, they are simply Pine reporting that no value is set for it. I have opted to dump out values as-is as the focus is developers.
My motivation to create it was to write a position sizing tool. Additionally, the output of this script is cleanly formatted, with monospace fonts and conventional alignment for tables/forms with key and values. It also allows customising the table position. Ideally this feature is made part of the default TradingView customisation, but at this time, it is not, and tables don't auto-adjust their positions.
Trade Journal ProTrade Journal Pro
A powerful, visual trading journal that enforces discipline with real-time feedback, reflective prompts, and strict risk limits — all in one clean overlay box.
Jesus is King — trade with wisdom, not emotion.
FEATURES
• AUTO-CALCULATED DAILY TRADES
→ `Trades Today = Wins + Losses + Breakevens` (no manual input needed)
• 4 ENFORCED RISK LIMITS
1. Max Trades Per Day
2. Max Risk Rule Violations
3. Max Consecutive Losses (tilt protection)
4. Max Total Losses Allowed (lifetime/session cap)
• SMART VISUAL FEEDBACK
• GREEN BOX = You hit a limit exactly → “WELL DONE!”
• RED BOX = Breached any limit → “STOP & REFLECT” + ALERT
• Dark = Normal (under all limits)
• REFLECTIVE PROMPTS (Customizable)
1. Why this setup?
2. What was my emotional state?
3. Did I follow my plan?
• LIVE ADVICE ENGINE
→ Win: “Great execution! Log what worked.”
→ Loss: “Loss = tuition. What did you learn?”
→ Breakeven: “Review entry/exit precision.”
• DAILY REMINDER
→ Always visible: “Trade the plan, not the emotion.”
• FULLY CUSTOMIZABLE
• Font size (Tiny → Huge)
• Box position (bars to the right)
• Toggle: Metrics / Prompts / Advice
• Custom colors, messages, limits
• ALERTS
• Breach any limit → Immediate alert
• Hit limit exactly → Discipline win notification
HOW TO USE
1. After each closed trade:
→ Update Wins, Losses, or Breakevens
→ Update Consecutive Losses (reset to 0 on win/BE)
→ Increment Risk Violations if you broke a rule
2. Answer the 3 prompts in your journal
3. Let the box guide your behavior:
• GREEN = Celebrate discipline
• RED = STOP TRADING. Reflect. Reset.
Perfect for day traders, swing traders, or anyone building a professional edge through journaling and risk control.
No strategy entries. No repainting. Pure accountability.
“The market is a mirror. This journal is the polish.”
Developed with integrity. Built to protect your capital — and your peace.
Prev 1-Min Volume • 5% Max Shares (TTP-ready)💡 Overview
This tool was built to help Trade The Pool (TTP) traders comply with the new “5% per minute volume” rule — without needing to calculate anything manually.
It automatically tracks the previous 1-minute volume, calculates 5% of it, and compares that to your planned order size.
If your planned size is within the limit, it shows green ✅.
If you’re above, it flashes red 🚫.
And when liquidity spikes allow for more size, you’ll see a green glow and 🔔 alert — so you can size up confidently without breaking the rule.
⚙️ Features
✅ Auto-calculates 5% volume cap from the previous 1-min candle
✅ Displays previous volume, max allowed shares, and your planned size
✅ TTP “different volume” scaling option (e.g. 0.69 for 45M vs 65M real volume)
✅ Per-bar slice suggestion for 10s scalpers
✅ Corner selector (top-left, top-right, bottom-left, bottom-right)
✅ Visual glow and 🔔 alert when liquidity window opens
✅ Compact and real-time responsive on 10s charts
Funded Gang IndiciCustomized indicator to detect the opening bias of Indexes.
Timeframe 14:30 - 15:30
Smart Risk - Three Institutional Models📘 Smart Risk – Three Institutional Entry Models
A precision-engineered institutional framework that blends liquidity, structure, and multi-time-frame confirmation.
🧠 Concept Overview
The Smart Risk indicator models how institutional traders and algorithms engineer entries around liquidity, imbalance, and structural shifts .
It unifies t hree distinct institutional entry models —each built around core Smart Money Concepts (SMC)—and enhances them with a Multi-Time-Frame Confluence (MTF) engine for directional alignment.
This tool doesn’t simply merge indicators.
It connects l iquidity sweeps, order-block reactions, breaker validation, and fair-value-gap mitigation into one cohesive trading logic—filtering every setup through trend, structure, and volume confirmation.
⚙️ How It Works
Setup #1 – Liquidity Sweep + Order Block Revisit + FVG Mitigation
Identifies engineered stop-hunts where price sweeps external liquidity and returns to a prior Order Block or Fair Value Gap (FVG).
Signals reversal-style entries with high probability of mean-reversion or mitigation.
Setup #2 – Supply/Demand + Mitigation / Breaker / FVG Continuation
Captures continuation trades inside trending structure.
When trend bias (via moving-average context) aligns with breaker or mitigation blocks, signals confirm institutional continuation sequences.
Setup #3 – Sweep + Classic FVG Reaction
Tracks clean displacement gaps following a liquidity sweep—ideal for scalpers and intraday reversals where imbalances act as magnets for price.
Each setup can be independently enabled or disabled from the panel.
A built-in signal-cooldown prevents repetitive triggers on the same leg.
🕒 Multi-Time-Frame Confluence
The new MTF module aligns lower-time-frame precision entries with higher-time-frame market structure.
When enabled, each setup only validates if the HTF trend confirms the same directional bias as the LTF pattern—e.g. a 5-minute bullish FVG signal requires a bullish 1-hour structure.
This ensures institutional logic respects global liquidity flow and avoids counter-trend traps.
MTF Controls:
• ✅ Enable MTF Confluence toggle
• ⏱️ Lower Time-Frame (LTF) selector (default 5 min)
• ⏱️ Higher Time-Frame (HTF) selector (default 1 hour)
• 🔄 Automatic SMA-based HTF trend detection
🎨 Visualization & Dashboard
• Order Block / Supply–Demand Zones — highlight institutional footprints
• Fair Value Gaps (FVGs) — reveal displacement inefficiencies
• Liquidity Sweeps (X / $) — mark engineered stops
• BOS & CHoCH — confirm structure continuation or reversal
• Compact Dashboard — live “Armed” state for each setup and MTF bias
Color-coded background cues emphasize active trade phases without clutter.
🧩 Core Algorithm Highlights
• Dynamic swing and pivot structure detection
• Breaker / Mitigation / Volume confirmation filters
• Fair-Value-Gap logic with directional alignment
• Cooldown control for signal throttling
• Multi-Time-Frame bias filter for contextual precision
⸻
📈 How to Use
1. Apply indicator to any asset or timeframe.
2. Select which institutional setups you want active.
3. Optionally enable MTF Confluence (5 min → 1 hr recommended).
4. Wait for BOS/CHoCH confirmation + zone alignment before entry.
5. Use OB and FVG zones for entry/exit planning with risk management.
⸻
💡 Originality Statement
This script introduces a multi-layered institutional logic engine that merges liquidity, mitigation, and imbalance behavior into a unified framework—augmented with time-frame synchronization and signal-cooldown management.
All logic, calculations, and visualization structure were built from scratch for this model.
It is not a mash-up of existing public indicators and offers measurable analytical value through MTF-aware trade validation.
⸻
⚠️ Disclaimer
This tool is intended for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Always back-test, validate setups, and apply proper risk management.
Tide Aigo Labs SMCI'm not immediately familiar with "Tide Aigo Labs SMC." Could you provide more context about what you're looking for? For example:
Are you asking about a company or organization?
Is this related to a product, service, or technology?
Are you looking for contact information, company details, or something else?
What industry or field is this in?
With a bit more information, I'll be better able to help you find what you're looking for, or I can search the web if this is a specific entity you'd like me to research.
Bull Put Spread TrackerScript that will add an indicator (like MACD/RSI) to the chart.
Manually need to enter: Symbol names for the spread legs & the entry prices
Info Box⚙️ Purpose
Shows useful trade and event-related data such as:
% Distance from stop levels (D, DH)
Earnings countdown in bars
All displayed in a single floating info box (table) on the chart.
📋 Key Features
Customizable Display
Choose table position (Top Right, Bottom Center, etc.)
Choose table size (Auto, Large, Tiny, etc.)
Custom text and background colors
Metrics Shown
D: % Distance from stop (difference between close and low/high)
DH: % Distance from midpoint of the candle
Earnings Countdown: Number of bars until next earnings event
Conditional Styling
If earnings are within 3 bars, text color turns red as a warning.
Execution Conditions
Runs only on daily timeframe
Updates on last bar only (no historical clutter)
Output
Displays all selected metrics in one line, separated by “×”
e.g. → D: -2.1% × 5 × DH: 1.4%
🧩 Overall Function
Creates a clean, customizable “info box” showing trade distances and upcoming earnings countdown for quick decision-making directly on your TradingView chart.
Lot Size Calculator - Gold🥇 Lot Size Calculator for Gold (XAU/USD)
Description:
A professional and accurate lot size calculator specifically designed for Gold (XAU/USD) trading. This indicator helps traders calculate the optimal position size based on account balance, risk percentage, and stop loss distance, ensuring proper risk management for every trade.
Key Features:
Accurate Gold Calculations - Properly accounts for Gold pip values ($10 per pip for standard 100oz lots)
Multi-Currency Support - Works with USD, EUR, and GBP account currencies
Flexible Contract Sizes - Supports Standard (100 oz), Mini (10 oz), and Micro (1 oz) lots
Customizable Decimal Places - Display lot sizes with 2-8 decimal precision (no rounding)
Clean Visual Design - Modern, professional info panel with gold-themed styling
Adjustable Display - Position panel anywhere on chart with customizable colors and sizes
Real-Time Calculations - Instantly updates as you adjust your risk parameters
How It Works:
The calculator uses the standard forex position sizing formula optimized for Gold:
Lot Size = Risk Amount / (Stop Loss in Pips × Pip Value Per Lot)
For Gold (XAU/USD):
Standard Lot (100 oz): 1 pip = $10
Mini Lot (10 oz): 1 pip = $1
Micro Lot (1 oz): 1 pip = $0.10
Settings:
Account Settings:
Account Balance: Your trading capital
Account Currency: USD, EUR, or GBP
Risk Percentage: How much to risk per trade (default: 2%)
Contract Size: 100 oz (Standard), 10 oz (Mini), or 1 oz (Micro)
Display Currency: Choose how to display risk amounts
Trade Settings:
Stop Loss: Your SL distance in pips
Display Settings:
Label Position: Top/Bottom, Left/Right, Middle Right
Label Size: Tiny to Huge
Decimal Places: 2-8 decimals
Custom Colors: Background, text, and accent colors
Perfect For:
Gold (XAU/USD) day traders and swing traders
Position sizing and risk management
Traders using fixed percentage risk models
Anyone trading Gold CFDs or spot markets
Scalpers to long-term Gold investors
What Makes This Different:
Unlike generic lot size calculators, this tool correctly calculates Gold's pip values based on contract size. Many calculators get this wrong, leading to incorrect position sizing. This indicator ensures you're always trading the right lot size for your risk tolerance.
Example Usage:
Account Balance: $10,000
Risk: 1% = $100
Stop Loss: 60 pips
Contract Size: 100 oz (Standard)
Result: 0.1667 lots (exact, no rounding)
Perfect for maintaining consistent risk management in your Gold trading strategy!
Algoritmictrader2025 ALGO System profitability works with a minimum profit margin of 75% and the maximum profit margin per share is around 95%. The software costs $150 per month.
NY Open 5 minute Range (5m Box Extended)Draws a box around the first 5 minute candle for the New York session.
Auto Option Premium Viewer - csgnanamThat's a great idea! Clear documentation is key for anyone using your script. Since your selected code block is the dedicated space for documentation, I'll provide an explanation tailored for that context, covering the main features of your "Auto Option Premium Viewer" Canvas.
Here is a detailed explanation of the script's core functionality, which you can use in your Canvas description or in a separate document to help users understand it.
I will not edit the Canvas itself, as you requested a separate explanation.
***
### Explanation of the "Auto Option Premium Viewer" Canvas
This Pine Script indicator, **"Auto Option Premium Viewer — Full Auto Symbols (NSE format, improved detection),"** is designed to automatically fetch and display the At-The-Money (ATM) Call and Put option premiums for major NSE indices (NIFTY, BANKNIFTY, MIDCPNIFTY, FINNIFTY) in real-time.
The primary goal is to provide a single, clean chart overlay showing the total premium (CE + PE) for the options closest to the current spot price, without requiring the user to manually enter strike prices or steps.
#### 1. Automatic Index Detection (`AUTO` Functionality)
* **Smart Underlying Detection:** The script attempts to automatically detect the index you are currently viewing (`activeUnderlying`). For example, if your chart is set to `BANKNIFTY`, the indicator automatically focuses on Bank Nifty options.
* **Spot Ticker Mapping (The Fix):** To accurately find the spot price, the script uses a helper function (`getSpotTicker`) to map the common index name (like `FINNIFTY`) to the specific underlying ticker required by TradingView (like `CNXFINANCE` or `NIFTY_MID_SELECT`). This ensures accurate price referencing for ATM calculation across all indices.
#### 2. Fully Automated Strike & Step Sizing
* **No Base Strike Inputs:** The script dynamically calculates the At-The-Money (ATM) strike price based on the live spot price of the underlying index.
* **Fixed Strike Steps:** The strike increment (`current_step`) is hardcoded based on market conventions:
* **100:** NIFTY, BANKNIFTY, FINNIFTY
* **50:** MIDCPNIFTY
* **Dynamic ATM Calculation:** The live spot price is rounded to the nearest valid strike based on the correct step size. This automatically determines the central strike (B), along with the adjacent strikes (A and C) to ensure the fetched data is always relevant.
#### 3. Data Fetching and Display
* **Symbol Construction:** The `buildSymbol` function creates the exact NSE option symbol string (e.g., `NSE:NIFTY251028C26000`) required by the `request.security` function.
* **Option Price Request:** The script uses `request.security` to fetch the closing price (`close`) of the Call and Put options for the three relevant strikes (A, B, C) on a fixed **5-minute** timeframe (`dataTF`).
* **Plots:** The indicator displays three lines on the chart's lower panel:
1. **ATM CE Premium:** The price of the Call option closest to ATM.
2. **ATM PE Premium:** The price of the Put option closest to ATM.
3. **ATM Total Premium:** The sum of CE + PE, often used as a proxy for the minimum expected range or implied volatility.
This automatic setup makes the Canvas extremely efficient for quick analysis without needing to manually adjust any numerical settings.
5-Year Returns Chart BTCvsSPXvsGOLDvsNVDACompare between thes 4 assets:
BTC
NVDA
SPX
GOLD
With an initial 1000$ investment in the last 5 years each return
Enhanced Level Breakout Strategy ProEnhanced Level Breakout Strategy Pro — Executive Summary
Level-driven breakout engine with single-position governance, three staged targets, and live USD/INR currency awareness. It operationalizes last session levels and swing structure to generate actionable entries only when price confirms and volume validates.
What it does
Surfaces breakouts of previous day and previous week high/low/open/close.
Confirms with optional volume expansion.
Enters one position at a time. Manages SL + TP1/TP2/TP3 and auto-expires after time.
Tracks outcomes and KPIs, including a rolling 30-day dashboard.
Auto-detects INR vs USD charts and handles live USD/INR conversion for capital displays.
How trades are found
Levels
Uses completed prior Daily and Weekly OHLC as reference rails.
Breakout up: close > prior high/open/close.
Breakout down: close < prior low/open/close.
Volume filter (optional)
Current volume > 20-SMA(volume) × threshold.
Swing context (visual only)
Marks most recent 3–4-bar swing high/low to show nearby structure.
Entry logic
Long if any daily/weekly upside breakout confirms on the closed bar and volume filter passes.
Short if any downside breakout confirms with the same gating.
Single-trade mode by default. You can allow new trades before completion if required.
Risk model and exits
Stop-loss
Long: min(low , low )
Short: max(high , high )
Targets
TP1 = 1.5R, TP2 = 2R, TP3 = 3R.
Hitting TP3 implies TP2 and TP1 are counted as achieved.
Time exit
Force close after 50 bars if no TP/SL.
Labels/lines
Entry, SL, TP1/2/3 plotted only while the trade is active.
Capital and currency enablement
Initial Capital and Risk % per trade drive the on-chart capital panel.
Auto-detects chart currency (INR for NSE/BSE tickers, else USD).
Live USD/INR pull with fallback to manual rate.
Shows position size (float units), investment amount, and risk amount in the selected display currency.
On-chart UX
Level rails
Daily levels on the left (custom color).
Weekly levels on the right (custom color).
Swing tags: SH / SL at the latest swing points.
Signal markers: Entry labels on the confirmation bar.
Two tables
Performance (top-right): trades, win rate, average P/L, TP1/2/3 hit counts and accuracies, 30-day counts and average TP profits, SL stats, configuration flags.
Capital (bottom-left): capital, risk/trade, position size, investment, stop distance, R:R set, conversion rate and source.
KPIs tracked
All-time: total trades, win rate, average P/L, TP1/TP2/TP3 accuracy and average profit, SL accuracy.
Last 30 days: number of trades hitting TP1/TP2/TP3 or SL, plus average TP1/TP2/TP3 profit across those hits.
Configuration levers
Currency: Auto / INR / USD, live or manual USD/INR rate.
Components: toggle daily/weekly levels and entry generation.
Swing: lookback 2–10, show/hide.
Risk: initial capital, risk % per trade.
Filters: volume on/off and threshold.
Display: TP/SL lines, labels, transparent tables, one-trade policy, wait-for-completion.
Styling: independent colors and thickness for daily/weekly/swing levels.
Governance and constraints
One active position unless you opt out.
Entries trigger on bar close to avoid repaint.
Level references are always previous completed sessions.
Arrays capped to manage memory; stats keep recent history efficiently.
Operating procedure
Select timeframe. Add to chart.
Set capital and risk %. Confirm currency mode.
Optional: enable volume filter and set threshold.
Monitor left/right level rails. Trade fires on confirmed breaches.
Manage optional discretion using swing markers and stop distance readout.
Review top-right KPIs for continuous improvement. Iterate thresholds as needed.
Tips
Use higher timeframes for fewer but higher-quality signals.
Keep volume filter on during trend days to avoid weak breaks.
For INR equities, prefer AUTO currency with Live conversion enabled for cleaner dashboards.
If you scale manually, keep single-trade mode enabled to avoid overlapping signals.
CyberTrading-Inside Hunt RobotThis Pine Script strategy, titled "Cyber-Inside", is a fully automated entry and risk management system built around inside bar pierce patterns and ATR-based dynamic stops/targets. It identifies specific candle formations, calculates position sizing based on risk percentage, and visually displays risk/reward zones and trade labels on the chart.
Detailed Explanation
1. Core Logic
The script searches for inside bars — candles whose high and low are contained within the previous bar — that appear after a valid “normal” or “long” range candle.
Then it waits for a wick pierce (a candle that breaks the previous inside bar's range slightly but closes inside).
That wick pierce acts as a potential reversal or continuation signal:
wickDown → possible long entry
wickUp → possible short entry
2. ATR-based Classification
Each candle is compared to the ATR(24):
Spinning (small) → below 0.8 × ATR
Standard → between 0.8× and 1.2× ATR
Long → between 1.2× and 2.5× ATR
Huge → above 2.5× ATR
Only certain candle types (standard or long) in the previous bars qualify for pattern validation.
3. Entry Conditions
A trade signal occurs when:
The current bar forms a wick pierce of a prior inside bar pattern.
No active position exists (strategy.position_size == 0).
Then:
For longs, entry at close, stop at previous low minus ATR buffer.
For shorts, entry at close, stop at previous high plus ATR buffer.
4. Risk Management
The stop distance defines the risk per trade, and the position size is adjusted dynamically so that only the chosen riskPercent (e.g., 1%) of equity is at risk.
If useRR is enabled, a take-profit target is placed using the defined risk/reward multiple (rr, e.g. 1:3).
If disabled, the target defaults to the previous candle’s high or low.
5. Visualization
The strategy visually marks:
Entry points (triangles)
Red box = risk zone (entry → stop)
Green box = reward zone (entry → target)
Optional diagonal and horizontal lines for clarity
Labels updated after trade closes with PnL values (profit or loss)
6. Application
This system helps traders:
Automate inside-bar breakout or reversal entries
Maintain strict risk-based position sizing
Visually assess trade zones and risk/reward areas
Backtest and evaluate performance consistency on various timeframes and assets






















