Crypto Precision Signals "Crypto Precision Signals - Reliable" Script Comprehensive Documentation
This document aims to clearly and objectively explain the functional principles, design logic, and usage methods of the "Crypto Precision Signals - Reliable" Pine Script. We adhere to principles of transparency and pragmatism. All descriptions are based on publicly available technical analysis theories, and we make no promises regarding any definitive profit performance. Final trading decisions should be made independently by the user based on comprehensive market analysis.
I. Core Design Philosophy and Originality
The originality of this script lies not in creating new analytical indicators, but in constructing a decision-making framework based on multi-dimensional condition confluence and systematic risk control. Its core philosophy is: a signal from a single indicator has limited reliability, whereas signals from different analytical dimensions (trend, momentum, overbought/oversold levels, market participation) can, when converging under specific rules, potentially identify higher-probability trading environments. Furthermore, the script encourages more disciplined trading through mandatory cooldown mechanisms and visual state tracking.
II. Detailed Explanation of Integration Rationale and Synergistic Operation Mechanism
The script integrates four classic technical elements, and their selection and combination have clear logical justification:
1. Trend & Momentum Foundation Layer: MACD
Integration Rationale: MACD is a classic tool for identifying trend direction, momentum strength, and potential turning points. The crossover of its fast and slow lines is an intuitive representation of momentum change, providing the initial "action signal" for the system.
Synergistic Mechanism: In this script, a MACD golden cross or death cross is one of the primary conditions for triggering a potential buy or sell signal. It acts as the system's "engine," responsible for identifying the initiation of market momentum.
2. Overbought/Oversold & Auxiliary Trigger Layer: RSI
Integration Rationale: RSI measures the speed and magnitude of price changes to gauge overbought or oversold market conditions. It complements the trend-following MACD by providing reference points for market sentiment extremes.
Synergistic Mechanism: The script innovatively sets RSI extremes (<30 oversold, >70 overbought) as trigger conditions parallel to MACD crossovers. This means the system can capture not only trend initiation points but also potential reversal opportunities from extreme sentiment (e.g., a buy point after a pullback to key support within an uptrend due to short-term oversold conditions). MACD and RSI together form a dual-trigger engine of "trend momentum" and "market sentiment."
3. Trend Filter Layer: 50-Period Simple Moving Average (SMA)
Integration Rationale: "Trading with the trend" is a core tenet of technical analysis. The SMA-50 is widely used as a benchmark for medium-term trends.
Synergistic Mechanism: This layer acts as a strict "direction filter." All potential signals generated by MACD or RSI must pass the SMA-50 test:
Buy Signal: The current price must be above the SMA-50, ensuring the trade attempt aligns with the potential medium-term uptrend.
Sell Signal: The current price must be below the SMA-50, ensuring the trade attempt aligns with the potential medium-term downtrend.
This mechanism effectively filters out numerous counter-trend, high-risk reversal attempts, focusing the system on "trading with the major trend" opportunities.
4. Volume Confirmation Layer: Dynamic Volume Average
Integration Rationale: Volume is key to gauging market participation and the authenticity of price movements. Price breakouts or signals lacking volume support are often weak.
Synergistic Mechanism: This is the key validation layer of the script. The system calculates a 30-period average volume and allows users to set a multiplier (default 2.0). A signal is only finally confirmed when the trigger condition (from MACD or RSI) occurs simultaneously with the current bar's volume being significantly higher than the recent average (i.e., a "volume spike"). This validation ensures the signal is supported by broad market participation, aiming to increase the signal's credibility and reduce "false breakouts" or whipsaws caused by low liquidity.
Synergistic Operation Summary:
The script operates like a multi-stage screening funnel:
Signal Trigger: Initiated by a MACD crossover or RSI entering an extreme zone.
Preliminary Trend Screening: The price location of the trigger signal must pass the SMA-50 trend filter (buy above, sell below).
Energy Validation: Concurrently with the above conditions, a volume spike must provide confirmation.
Final Output: Only when all conditions are met simultaneously is a visual "BUY" or "SELL" label generated.
III. Control & Auxiliary Layers: Enhancing Disciplined Use
Beyond the signal generation logic, the script includes two original designs to enhance practicality:
Signal Frequency Controller (Cooldown Period):
Mechanism: After generating a valid signal, the system enters a user-adjustable "cooldown period" (default 5 bars). No new signals of the same type will be generated during this period.
Purpose: Forces a reduction in trading frequency, prevents signal overload during high volatility or ranging markets, encourages waiting for higher-quality, more spaced-out opportunities, and helps avoid emotional overtrading.
Visual State Tracker (Bar Coloring):
Mechanism: The system internally tracks the state of the last valid signal (buy or sell). After a buy signal, subsequent bars are tinted light blue; after a sell signal, subsequent bars are tinted light orange, until the next opposing signal appears.
Purpose: Provides the user with an intuitive visual reference for the "signal validity period" or "observation phase," helping to quickly identify which stage the market is in according to the system's logic and assisting in gauging market rhythm.
IV. Functional Purpose and Usage Method
Core Purpose: Serves as an auxiliary decision-making tool for swing trading or trend-pullback entries, suitable for timeframes of 1 hour and above. It filters for potential trade nodes that combine trend alignment, momentum, sentiment, and capital interest through multi-condition confluence.
Usage Process:
Loading: Add the script to a TradingView chart.
Observation: Watch for "BUY/SELL" labels confirmed by a "volume spike" and aligned with the trend direction.
Analysis: Never treat signals as direct trading orders. Always analyze the signal within the broader market context:
Check if the signal occurs near key support or resistance levels.
Observe the candlestick patterns (e.g., Pin Bar, Engulfing patterns) on the signal bar and its vicinity.
Assess the overall market structure on higher timeframes.
Decision & Risk Control: Only consider using the signal as an entry reference if it aligns with conclusions from your other analysis tools. Any trade must have a clearly defined stop-loss level set in advance and proper position sizing/risk management.
V. Important Disclaimer
This script is a technical analysis辅助 tool. Its signals are calculated based on historical data and mathematical formulas. Financial markets carry inherent risks, and past performance is in no way indicative of future results. Users must understand that all trading decisions carry the possibility of loss. The developer assumes no responsibility for any trading activities conducted by users based on this script or their outcomes. Please use it prudently under a full understanding of its logic and associated risks.
Индикаторы ширины рынка
MATT 3This indicator helps identify high-probability trend shifts and continuation setups by combining momentum, trend strength, and volatility into a single, easy-to-read signal. It highlights bullish/bearish conditions, marks potential entries and exits, and reduces noise during choppy markets with adaptive filtering. Use it to confirm direction, time pullbacks, and stay aligned with the dominant trend.
Institutional Liquidity & FVG Tracker by Herman Sangivera(Papua)Institutional Liquidity & FVG Tracker (Precision SMC) by Herman Sangivera ( Papuan Trader )
This indicator is designed to identify key institutional levels by tracking Buy Side Liquidity (BSL), Sell Side Liquidity (SSL), and Fair Value Gaps (FVG). It helps traders visualize where "Smart Money" is likely to hunt for stops and where market imbalances exist.
Key Features:
Dynamic Liquidity Levels: Automatically identifies Swing Highs and Lows where retail Stop Losses are clustered.
Liquidity Purge Detection: Lines will visually fade once price "sweeps" or grabs the liquidity, signaling a potential reversal.
Fair Value Gaps (FVG): Highlights price imbalances (gaps) created by aggressive institutional displacement. These areas often act as magnets for price retracements.
How to Use:
The Sweep: Wait for the price to cross a dashed liquidity line (BSL or SSL). This indicates a "Stop Hunt" is occurring.
The Shift: Look for a rapid price reversal immediately after the sweep that leaves a Fair Value Gap (colored boxes) in its wake.
The Entry: Consider entering a trade when price retraces back into the FVG box, using the liquidity sweep high/low as your protected Stop Loss.
Settings:
Liquidity Lookback: Adjust the sensitivity of swing points. Higher values identify more significant, longer-term liquidity pools.
FVG Minimum Size: Filters out small, insignificant gaps to keep your chart clean and focused on high-probability setups.
MATT 2This indicator helps identify high-probability trend shifts and continuation setups by combining momentum, trend strength, and volatility into a single, easy-to-read signal. It highlights bullish/bearish conditions, marks potential entries and exits, and reduces noise during choppy markets with adaptive filtering. Use it to confirm direction, time pullbacks, and stay aligned with the dominant trend.
MATT 4This indicator helps identify high-probability trend shifts and continuation setups by combining momentum, trend strength, and volatility into a single, easy-to-read signal. It highlights bullish/bearish conditions, marks potential entries and exits, and reduces noise during choppy markets with adaptive filtering. Use it to confirm direction, time pullbacks, and stay aligned with the dominant trend.
MATT 1This indicator helps identify high-probability trend shifts and continuation setups by combining momentum, trend strength, and volatility into a single, easy-to-read signal. It highlights bullish/bearish conditions, marks potential entries and exits, and reduces noise during choppy markets with adaptive filtering. Use it to confirm direction, time pullbacks, and stay aligned with the dominant trend.
Gold Intelligence - Final Sniper v12 by Herman Sangivera(Papua)🚀 Gold Intelligence - Final Sniper v12 by Herman Sangivera ( Papua )
Overview
Gold Intelligence - Final Sniper v12 is a cutting-edge technical indicator specifically engineered for high-volatility instruments like XAU/USD (Gold). This indicator merges advanced Price Action candlestick recognition algorithms with institutional volume analysis and real-time market sentiment to deliver precision entry signals.
The primary goal of this tool is to filter out market "noise" and highlight only High Probability Setups that meet strict technical criteria.
🛡️ Key Features
Smart Pattern Recognition: Automatically identifies high-impact patterns: Pin Bars (psychological rejection) and Engulfing Candles (institutional dominance).
Probability Scoring: Every signal is assigned a percentage (%) score based on volume confirmation and price intensity. Signals only trigger when they exceed the minimum threshold (default 75%).
Real-Time Sentiment Dashboard: An exclusive on-chart panel that monitors the balance of Buy/Sell pressure instantly.
Dynamic Risk Management: Automatically projects Take Profit (TP) and Stop Loss (SL) boxes using Average True Range (ATR) calculations, ensuring your targets stay adaptive to current market volatility.
Institutional Volume Check: Validates entries by cross-referencing significant volume spikes (Smart Money footprints) to help you avoid market traps and fakeouts.
📖 How to Use (Trading Guide)
Identify the Signal: Wait for the "SNAPSHOT GOLD" label to appear on the chart.
🟢 Green Label: Buy Signal (Bullish).
🔴 Red Label: Sell Signal (Bearish).
Check Probability Score: It is highly recommended to only take signals with a score of >75%. A higher score indicates stronger technical confluence.
Execution & Targets:
Enter the trade at the close of the signal candle.
Target the Green transparent box for profit and use the Red box for risk management.
Dashboard Confirmation: Ensure the Sentiment percentage aligns with your trade direction (e.g., Sentiment > 60% Buy for Long positions).
⚙️ Input Parameters
Min Probability: The minimum accuracy threshold for a signal to be displayed.
TP & SL Multiplier: Customize your reward-to-risk ratio based on ATR multiples.
Alerts: Fully compatible with real-time notifications for Mobile, Email, or Webhooks.
⚠️ Disclaimer
This indicator is an analytical tool and does not guarantee profits. Gold trading involves significant risk. Always use proper money management and backtest on a demo account before trading live funds.
UFX PRO How it works
The indicator plots a single line on the chart that changes position and color depending on the trend:
🟢 Uptrend:
The SuperTrend line is below the price → bullish bias
🔴 Downtrend:
The SuperTrend line is above the price → bearish bias
When the price crosses the SuperTrend line, it often signals a potential trend reversal.
✅ Advantages
✔ Easy to read
✔ Works well in trending markets
✔ Adaptive to volatility
✔ Useful for stops and trend confirmation
Market DashboardMarket Dashboard - Trend vs Chop Detection
A comprehensive intraday market internals dashboard that displays five key metrics to help traders quickly identify whether the market is in a trending or sideways/rotational regime.
METRICS DISPLAYED:
1. VOLD Ratio - Up Volume / Down Volume ratio for NYSE
• > +2.0 = Strong buying pressure (green)
• < -2.0 = Strong selling pressure (red)
• Between -2 and +2 = Neutral/rotational (gray)
2. RVOL - Relative Volume compared to same time over past N days
• > 1.5 = Above-average participation (orange)
• < 0.7 = Below-average participation (blue)
• Otherwise neutral (gray)
3. Breadth % - Net percentage of advancing vs declining issues
• > +30% = Broad upside participation (green)
• < -30% = Broad downside participation (red)
• Between -30% and +30% = Mixed/rotational (gray)
4. ADR Used % - Session range utilization vs 5-day Average Daily Range
• > 80% = Extended move, potential exhaustion (orange)
• < 30% = Compressed, room to move (blue)
• Otherwise neutral (gray)
5. TICK - NYSE TICK Index with sentiment label
• > +600 = Strong uptick pressure (green)
• < -600 = Strong downtick pressure (red)
• Between -600 and +600 = Neutral (gray)
HOW TO READ:
Trending Day Signals:
• VOLD > ±2.5 + Breadth > ±50% + TICK sustained in one direction + RVOL > 1.5 + ADR climbing = Strong trend, trade with pullbacks
Sideways/Chop Signals:
• VOLD oscillating ±2 + Breadth flipping around 0% + TICK whipping + RVOL < 1.2 + ADR mean-reverting = Range-bound, fade extremes or stand aside
CUSTOMIZATION:
• Adjustable ADR length (default 5 days)
• Adjustable RVOL lookback period (default 10 days, 30 bars)
• Table position selector (9 positions available)
Perfect for ES, NQ, and other index futures traders who need quick regime assessment at a glance.
The Kinetic Energy of Market Information {Dark Architect}
Uncle, now you have a Full Stack of "Dark Architect". How to manage it (algorithm of actions):
STEP 1: SCANNER (MA_FRAGILITY + ENTROPY)
You're looking at MA_FRAGILITY (the second script). You're looking for an increase in Fragility (Red zone).
You're looking at ENTROPY (the third script). You wait until the line falls into the purple "Order" zone.
The thought: "The market is stretched and ready to fire."
STEP 2: LOGIN (W2_FLUID)
You're waiting for a Red spike on W2_FLUID (the first script).
Action: You open an order in the direction of the breakdown.
Thought: "The singularity is activated."
STEP 3: HOLD
You're looking at RELIEF_FLUX (the new script).
While the bars are Green and growing, hold on. The market is being pushed with money.
STEP 4: EXIT (HARVEST)
The price makes a new upward leap.
And on RELIEF_FLUX, the bars turned Gray or went down.
The label "EXIT 💸" has appeared.
Action: Close your position on the market. Don't set limits, just get out.
Thought: "Thanks for the liquidity, losers."
Task: Install ALL 4 scripts. Find a point in history where:
There Was An Entrance (W2 + Entropy).
Then there was growth (Green Flux).
And then the perfect Exit (EXIT Label). CAPITALCOM:US100
HIGHS & LOWS RusosTITLE: HIGHS & LOWS Rusos - Multi-Timeframe Liquidity Engine
DESCRIPTION:
HIGHS & LOWS Rusos is a professional-grade structural liquidity tool designed to identify key Highs and Lows across multiple timeframes with a smart filtering engine. This script focuses on high-probability liquidity zones while maintaining a clean and organized chart.
Key Features:
Hierarchical Priority: The script uses a "Waterfall" logic. Monthly levels take priority over Weekly, Weekly over Daily, and so on. If levels from different timeframes overlap (within a tick margin), only the higher-order level is displayed to avoid clutter.
Multi-Timeframe Tracking: Automatically plots Monthly (HM/LM), Weekly (HS/LS), Daily (HD/LD), and 4-Hour (H4h/L4h) structural points.
Precision Anchoring: Lines are drawn from the exact start of their respective cycles (Month, Week, Day), providing accurate historical context.
Dynamic Mitigation: When price touches a level, the line is cut and marked with an "×". You can fully customize the opacity of these mitigated levels in the settings to keep your focus on active liquidity.
Optimized Performance: Built-in memory management limits the number of active and historical lines to ensure smooth performance.
Technical Hierarchy:
Monthly > Weekly > Daily > 4 Hours Lower timeframe levels are automatically hidden when viewing higher timeframe charts to prevent visual artifacts.
Infinity Signal - Momentum ConsensusInfinity Signal — Momentum Consensus is a multi-timeframe momentum classification framework that aggregates Stochastic RSI readings from five timeframes (1H, 4H, 1D, 1W, 1M) into a single, readable view.
The script is designed to help users assess momentum alignment, disagreement, and regime strength across timeframes. It is intended for context and structure, not as a standalone signal generator or predictive system.
What This Script Displays
1) Composite Momentum Pane (MTF Composite %K)
For each timeframe, the script computes a standard Stochastic RSI using higher-timeframe data via request.security() with no lookahead.
A composite momentum line is created by taking a simple average of the five %K values and applying smoothing. This produces a single oscillator that reflects aggregate momentum behavior across timeframes.
Overbought and oversold reference levels are shown for context.
2) Multi-Timeframe Consensus Table
A table summarizes the Stoch RSI state for each timeframe using optional bars-back anchors (allowing the table to be locked to a specific historical bar).
For each timeframe, the table classifies:
Direction: Bull / Bear / Mix (based on %K vs %D)
Zone: Overbought / Oversold / Mid (based on %K level)
Timeframes are combined using fixed weights to produce:
Bull vs Bear percentage balance
A dominant bias label
A simple alignment grade reflecting agreement strength across higher and lower timeframes
This table is designed to reduce single-timeframe bias by making agreement and disagreement across the stack immediately visible.
3) Mini MTF Oscillator (Anchored Summary)
An additional oscillator plot displays the anchored average %K across all five timeframes, along with a short smoothed signal line.
This provides a compact visual summary of the table’s combined momentum state.
4) Projection Clone and Timing Annotations (Optional)
An optional projection feature copies a selected historical segment of the composite momentum curve (defined by start/end bars-back) and shifts it forward in time.
Optional normalization rescales the copied segment to the recent oscillator range for visual comparability.
When projected segments contain internal cross-events, optional annotations may appear in the indicator pane:
vertical dotted timing markers
small directional arrows at the approximate crossing level
These annotations highlight timing reference points inside the projected pattern. They are not trade signals or predictions.
How to Use
Use the composite momentum line to observe whether momentum is strengthening or weakening across multiple timeframes.
Use the table to confirm whether higher-timeframe momentum aligns with lower-timeframe momentum or shows disagreement.
Use bars-back anchors to study historical alignment at specific points in time.
Use the projection clone as a pattern comparison and rhythm study tool, not as a forecast.
Notes and Limitations
Projection patterns are visual references and may not repeat.
Table weights and grades represent a classification framework, not universal truth.
Projection markers and arrows indicate internal timing events within the projected pattern; they are not buy or sell commands.
This script does not predict price, guarantee outcomes, or provide financial advice.
OB BB Script Akashagain puslish this. again puslish this. again puslish this. again puslish this. again puslish this. again puslish this.
STRs & TRNDs Combinedwe need to publish this second indicator , let see how can we publish this.
We are here to publish this script.
Sonic R 89 - NY SL Custom Fixed//@version=5
indicator("Sonic R 89 - NY SL Custom Fixed", overlay=true, max_lines_count=500)
// --- 0. TÙY CHỈNH THÔNG SỐ ---
group_session = "Cài đặt Phiên Giao Dịch (Giờ New York)"
use_session = input.bool(true, "Chỉ giao dịch theo khung giờ", group=group_session)
session_time = input.session("0800-1200", "Khung giờ NY 1", group=group_session)
session_time2 = input.session("1300-1700", "Khung giờ NY 2", group=group_session)
max_trades_per_session = input.int(1, "Số lệnh tối đa/mỗi khung giờ", minval=1, group=group_session)
group_risk = "Quản lý Rủi ro (Dashboard)"
risk_usd = input.float(100.0, "Số tiền rủi ro mỗi lệnh ($)", minval=1.0, group=group_risk)
group_sl_custom = "Cấu hình Stop Loss (SL)"
sl_mode = input.string("Dragon", "Chế độ SL", options= , group=group_sl_custom)
lookback_x = input.int(5, "Số nến (X) cho Swing SL", minval=1, group=group_sl_custom)
group_htf = "Lọc Đa khung thời gian (MTF)"
htf_res = input.timeframe("30", "Chọn khung HTF", group=group_htf)
group_sonic = "Cấu hình Sonic R"
vol_mult = input.float(1.5, "Đột biến Volume", minval=1.0)
max_waves = input.int(4, "Ưu tiên n nhịp đầu", minval=1)
trade_cd = input.int(5, "Khoảng cách lệnh (nến)", minval=1)
group_tp = "Quản lý SL/TP & Dòng kẻ"
rr_tp1 = input.float(1.0, "TP1 (RR)", step=0.1)
rr_tp2 = input.float(2.0, "TP2 (RR)", step=0.1)
rr_tp3 = input.float(3.0, "TP3 (RR)", step=0.1)
rr_tp4 = input.float(4.0, "TP4 (RR)", step=0.1)
line_len = input.int(15, "Chiều dài dòng kẻ", minval=1)
// --- 1. KIỂM TRA PHIÊN & HTF ---
is_in_sess1 = not na(time(timeframe.period, session_time, "America/New_York"))
is_in_sess2 = not na(time(timeframe.period, session_time2, "America/New_York"))
is_in_session = use_session ? (is_in_sess1 or is_in_sess2) : true
var int trades_count = 0
is_new_session = is_in_session and not is_in_session
if is_new_session
trades_count := 0
htf_open = request.security(syminfo.tickerid, htf_res, open, lookahead=barmerge.lookahead_on)
htf_close = request.security(syminfo.tickerid, htf_res, close, lookahead=barmerge.lookahead_on)
is_htf_trend = htf_close >= htf_open ? 1 : -1
// --- 2. TÍNH TOÁN CHỈ BÁO ---
ema89 = ta.ema(close, 89)
ema34H = ta.ema(high, 34)
ema34L = ta.ema(low, 34)
atr = ta.atr(14)
avgVol = ta.sma(volume, 20)
slope89 = (ema89 - ema89 ) / atr
hasSlope = math.abs(slope89) > 0.12
isSqueezed = math.abs(ta.ema(close, 34) - ema89) < (atr * 0.5)
var int waveCount = 0
if not hasSlope
waveCount := 0
newWave = hasSlope and ((low <= ema34H and close > ema34H) or (high >= ema34L and close < ema34L))
if newWave and not newWave
waveCount := waveCount + 1
// --- 3. LOGIC VÀO LỆNH ---
isMarubozu = math.abs(close - open) / (high - low) > 0.8
highVol = volume > avgVol * vol_mult
buyCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == 1 and
(isMarubozu or highVol) and close > ema34H and low >= ema89 and
(slope89 > 0.1 or isSqueezed ) and close > open
sellCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == -1 and
(isMarubozu or highVol) and close < ema34L and high <= ema89 and
(slope89 < -0.1 or isSqueezed ) and close < open
// --- 4. QUẢN LÝ LỆNH ---
var float last_entry = na
var float last_sl = na
var float last_tp1 = na
var float last_tp2 = na
var float last_tp3 = na
var float last_tp4 = na
var string last_type = "NONE"
var int lastBar = 0
trigger_buy = buyCondition and (bar_index - lastBar > trade_cd)
trigger_sell = sellCondition and (bar_index - lastBar > trade_cd)
// --- 5. TÍNH TOÁN SL & LOT SIZE ---
float contract_size = 1.0
if str.contains(syminfo.ticker, "XAU") or str.contains(syminfo.ticker, "GOLD")
contract_size := 100
// Logic tính SL linh hoạt
float swing_low = ta.lowest(low, lookback_x)
float swing_high = ta.highest(high, lookback_x)
float temp_sl_calc = na
if trigger_buy
temp_sl_calc := (sl_mode == "Dragon") ? ema34L : swing_low
if trigger_sell
temp_sl_calc := (sl_mode == "Dragon") ? ema34H : swing_high
float sl_dist_calc = math.abs(close - temp_sl_calc)
float calc_lots = (sl_dist_calc > 0) ? (risk_usd / (sl_dist_calc * contract_size)) : 0
if (trigger_buy or trigger_sell)
trades_count := trades_count + 1
lastBar := bar_index
last_type := trigger_buy ? "BUY" : "SELL"
last_entry := close
last_sl := temp_sl_calc
float riskAmt = math.abs(last_entry - last_sl)
last_tp1 := trigger_buy ? last_entry + (riskAmt * rr_tp1) : last_entry - (riskAmt * rr_tp1)
last_tp2 := trigger_buy ? last_entry + (riskAmt * rr_tp2) : last_entry - (riskAmt * rr_tp2)
last_tp3 := trigger_buy ? last_entry + (riskAmt * rr_tp3) : last_entry - (riskAmt * rr_tp3)
last_tp4 := trigger_buy ? last_entry + (riskAmt * rr_tp4) : last_entry - (riskAmt * rr_tp4)
// Vẽ dòng kẻ
line.new(bar_index, last_entry, bar_index + line_len, last_entry, color=color.new(color.gray, 50), width=2)
line.new(bar_index, last_sl, bar_index + line_len, last_sl, color=color.red, width=2, style=line.style_dashed)
line.new(bar_index, last_tp1, bar_index + line_len, last_tp1, color=color.green, width=1)
line.new(bar_index, last_tp2, bar_index + line_len, last_tp2, color=color.lime, width=1)
line.new(bar_index, last_tp3, bar_index + line_len, last_tp3, color=color.aqua, width=1)
line.new(bar_index, last_tp4, bar_index + line_len, last_tp4, color=color.blue, width=2)
// KÍCH HOẠT ALERT()
string alert_msg = (trigger_buy ? "BUY " : "SELL ") + syminfo.ticker + " at " + str.tostring(close) + " | SL Mode: " + sl_mode + " | Lot: " + str.tostring(calc_lots, "#.##") + " | SL: " + str.tostring(last_sl, format.mintick)
alert(alert_msg, alert.freq_once_per_bar_close)
// --- 6. CẢNH BÁO CỐ ĐỊNH ---
alertcondition(trigger_buy, title="Sonic R BUY Alert", message="Sonic R BUY Signal Detected")
alertcondition(trigger_sell, title="Sonic R SELL Alert", message="Sonic R SELL Signal Detected")
// --- 7. DASHBOARD & PLOT ---
var table sonic_table = table.new(position.top_right, 2, 10, bgcolor=color.new(color.black, 70), border_width=1, border_color=color.gray)
if barstate.islast
table.cell(sonic_table, 0, 0, "NY SESSION", text_color=color.white), table.cell(sonic_table, 1, 0, last_type, text_color=(last_type == "BUY" ? color.lime : color.red))
table.cell(sonic_table, 0, 1, "SL Mode:", text_color=color.white), table.cell(sonic_table, 1, 1, sl_mode, text_color=color.orange)
table.cell(sonic_table, 0, 2, "Trades this Sess:", text_color=color.white), table.cell(sonic_table, 1, 2, str.tostring(trades_count) + "/" + str.tostring(max_trades_per_session), text_color=color.yellow)
table.cell(sonic_table, 0, 3, "LOT SIZE:", text_color=color.orange), table.cell(sonic_table, 1, 3, str.tostring(calc_lots, "#.##"), text_color=color.orange)
table.cell(sonic_table, 0, 4, "Entry:", text_color=color.white), table.cell(sonic_table, 1, 4, str.tostring(last_entry, format.mintick), text_color=color.yellow)
table.cell(sonic_table, 0, 5, "SL:", text_color=color.white), table.cell(sonic_table, 1, 5, str.tostring(last_sl, format.mintick), text_color=color.red)
table.cell(sonic_table, 0, 6, "TP1:", text_color=color.gray), table.cell(sonic_table, 1, 6, str.tostring(last_tp1, format.mintick), text_color=color.green)
table.cell(sonic_table, 0, 7, "TP2:", text_color=color.gray), table.cell(sonic_table, 1, 7, str.tostring(last_tp2, format.mintick), text_color=color.lime)
table.cell(sonic_table, 0, 8, "TP3:", text_color=color.gray), table.cell(sonic_table, 1, 8, str.tostring(last_tp3, format.mintick), text_color=color.aqua)
table.cell(sonic_table, 0, 9, "TP4:", text_color=color.gray), table.cell(sonic_table, 1, 9, str.tostring(last_tp4, format.mintick), text_color=color.blue)
plot(ema89, color=slope89 > 0.1 ? color.lime : slope89 < -0.1 ? color.red : color.gray, linewidth=2)
p_high = plot(ema34H, color=color.new(color.blue, 80))
p_low = plot(ema34L, color=color.new(color.blue, 80))
fill(p_high, p_low, color=color.new(color.blue, 96))
plotshape(trigger_buy, "BUY", shape.triangleup, location.belowbar, color=color.green, size=size.small)
plotshape(trigger_sell, "SELL", shape.triangledown, location.abovebar, color=color.red, size=size.small)
bgcolor(isSqueezed ? color.new(color.yellow, 92) : na)
bgcolor(not is_in_session ? color.new(color.gray, 96) : na)
BTC Correlation multiframesBTC Correlation indicator for scalping. Shows real-time correlation between the current asset and Bitcoin across three timeframes (30m, 1H, 4H), regardless of the chart timeframe you're viewing.
Green indicates strong positive correlation (asset follows BTC), yellow shows independence (ideal for scalping without BTC influence), and red indicates inverse correlation. Perfect for quick identification of whether your scalping target is moving independently from Bitcoin's price action.
The indicator compares percentage changes of the current candle in each timeframe, providing instant visual feedback on correlation strength through color-coded values.
OB BB Script AkashDescription is giving here to describe it better. here is the the description of the indicator .
we will define this indicator for this .
StealthFX Signal RSI IndicatorStealthFX Signal RSI is a refined momentum indicator built to identify high-probability RSI reversal and continuation signals while filtering out market noise.
It combines RSI structure, volume awareness, trend context, and Money Flow Index (MFI) dynamics into a clean, easy-to-read oscillator.
All signals are non-repainting and confirmed on candle close.
🔹 Core Features
Enhanced RSI signals
Identifies momentum shifts using RSI peaks, dips, and threshold crossovers
Optional volume confirmation
Filters low-quality signals during weak participation
Optional trend confirmation
Aligns signals with short-term market direction
MFI Cloud
Visualizes smart money pressure using fast & slow MFI EMAs
Blue = bullish flow, Purple = bearish flow
Noise-reduction logic
Designed to produce fewer but higher-quality signals
🔹 Visual Design
Clean oscillator panel
Dynamic RSI coloring:
Blue → Oversold / bullish conditions
Purple → Overbought / bearish conditions
Clear BUY / SELL labels inside the RSI pane
Optional overbought / oversold zone shading
Minimalist look inspired by professional Lux-style indicators
🔹 How to Use
BUY signals
RSI recovering from oversold conditions
Momentum turning positive
Optional volume & trend alignment
SELL signals
RSI rolling over from overbought levels
Momentum weakening
Optional volume & trend alignment
Works best as:
A confirmation tool for price-action setups
A momentum filter for trend strategies
A timing indicator alongside higher-timeframe bias
🔹 Recommended Markets & Timeframes
Forex: 5m – 1H
Indices & Crypto: 15m – 1H
Best performance during active market sessions
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
Always apply proper risk management and confirm signals with additional analysis.
Minervini Trend Template V1.1 - OVTLYRWhat Was Changed
The recent update does not modify any trade logic, indicators, or chart-anchored overlays.
All changes are display and clarity improvements within the Risk Management table.
Specifically:
The Bid/Ask Spread check now displays the actual dollar spread (e.g. $0.25, $0.75) instead of a checkmark
Text turns green when the spread is ≤ $0.50
Text turns red when the spread exceeds $0.50
A new Spread % row was added
Calculated as (Ask − Bid) / Mid
Displays the percentage value
Turns green when ≤ 5%, red when > 5%
Extrinsic % coloring was standardized
Green when ≤ 30%
Red when > 30%
Currency formatting was improved
Dollar values now always display two decimal places
Large values (e.g. account size) now include thousands separators (commas)
What Did Not Change
Entry and exit criteria
Minervini rule calculations
EMA, SMA, ATR, or Order Block logic
Alert behavior
Chart anchoring or overlay positioning
State-based trade management
The script behaves identically in execution, with improved readability and decision-making clarity for options and risk evaluation.






















