Smart Money Concepts - v2 (confirmed + ATR + MTF + smoothing)Maps market structure with confirmed pivots and quantifies SMC events (CHoCH/SMS/BMS) as real-time probabilities. Includes ATR swing-size filter, HTF MA bias gate, and label throttling to cut noise. Shows Premium/Discount/Mid zones and a compact table with Wins/Losses, Profitability, Laplace-smoothed rate, and Wilson confidence band. Optional alerts output ticker, timeframe, and the current probability summary. Designed to be confirmation-based (reduced repaint) and adaptable to any symbol/timeframe.
Indicators and strategies
Higher Lows, Lower Highs & Failures with Signal Quality ScoringAn attempt at a higher low and lower high with scoring
SAP121212 — Close vs VWAP + Optional RSI (Signals)This indicator combines Supertrend, VWAP with bands, and an optional RSI filter to generate Buy/Sell signals.
How it works
Supertrend Flip (ATR-based): Detects when trend direction changes (from bearish to bullish, or bullish to bearish).
VWAP Band Filter: Signals only trigger if the candle close is beyond the VWAP bands:
Buy = Supertrend flips up AND close > VWAP Upper Band
Sell = Supertrend flips down AND close < VWAP Lower Band
Optional RSI Filter:
Buy requires RSI < 20
Sell requires RSI > 80
Can be enabled/disabled in settings.
Features
Choice of VWAP band calculation mode: Standard Deviation or ATR.
Adjustable ATR/StDev length and multiplier for VWAP bands.
Toggle Supertrend, VWAP lines, and Buy/Sell labels.
Alerts included: add alerts on BUY or SELL conditions (use Once Per Bar Close to avoid intrabar signals).
Use
Works best on intraday or higher timeframes where VWAP is relevant.
Use the RSI filter for more selective signals.
Can be combined with your own stop-loss and risk management rules.
⚠️ Disclaimer: This script is for educational and research purposes only. It is not financial advice. Always test thoroughly and trade at your own risk.
FxAST Lite Wave — Universal (Profiles: Intraday / Swing)FxAST-LW Universal (Profiles)
The FxAST Lite Wave – Universal strategy is designed for adaptability across markets and timeframes, with two ready-to-use profiles:
Intraday (5m–1H) → tuned for futures & FX scalps/day trades. Includes session filters, ATR volatility regimes, and impulse confirmation to reduce chop.
Swing (1D–3D) → tuned for swing positions. Uses relaxed impulse filters, slope + bias confirmation, and DI-spread to capture bigger moves.
Key features:
✅ Multi-EMA Lite Wave core (5/13/62/200)
✅ Regime filter via DI-spread (trend vs chop)
✅ EMA200 slope filter
✅ Optional HTF bias confirmation
✅ ATR-based stops, breakeven & trailing logic
✅ Time-stop exits to avoid capital stagnation
✅ Risk % position sizing
Usage:
Switch between Intraday and Swing modes via the Profile input. Adjust DI-spread, slope, and impulse thresholds per symbol. Sessions recommended ON for indices (NQ/ES/RTY) and OFF for FX.
⚠️ Disclaimer: This script is for research & educational purposes only. Not financial advice. Test extensively before applying live. Past performance does not guarantee future results.
© FxAST
dr.forexy strategy 1“Dear friends, please do not use this strategy on your own! This setup works best on the 5-minute timeframe. I hope it brings you great profits.”
4 DU DINHSample Indicator Introduction (English)
Title:
Adaptive Trend & Momentum Indicator
Short Description:
An adaptive indicator that combines trend detection and momentum confirmation to help identify potential entry and exit points in various markets.
Full Description:
This indicator is designed to provide traders with a clear view of both trend direction and momentum strength. It dynamically adjusts to different market conditions, making it suitable for cryptocurrencies, stocks, and forex.
Main Features:
Trend Identification: Uses adaptive moving averages to detect bullish or bearish market phases.
Momentum Confirmation: Integrates oscillator-based signals to reduce false entries during sideways markets.
Customizable Inputs: Adjustable sensitivity, smoothing factors, and signal thresholds.
Non-repainting Logic: Signals are only confirmed after candle close to avoid misleading entries.
How to Use:
A bullish signal occurs when trend direction turns positive and momentum confirms.
A bearish signal occurs when trend direction turns negative with momentum confirmation.
Recommended for H1 and higher timeframes, but can be tuned for intraday strategies.
⚠️ Disclaimer: This indicator is for educational purposes only. It does not guarantee profits. Always combine with proper risk management and backtesting before trading live.
Interval Highlighter with High/Low AlertsInterval Highlighter with High/Low Alerts
Overview:
This Pine Script indicator enhances chart analysis by highlighting specific time intervals and marking the highest and lowest prices within those periods. It supports three customizable modes:
Date Range: Highlight a user-defined period with background shading and plot the highest and lowest prices.
Days of the Week: Highlight specific weekdays with background colors and plot the highest and lowest prices for each day.
Intraday Interval: Highlight a specific intraday time range (e.g., 12:30 PM to 4:30 PM) with background shading and plot the highest and lowest prices within that interval.
Alerts are triggered when the price touches any of the highlighted high or low levels, providing real-time notifications for potential trading opportunities.
High and low lines extend to the right and remain visible after the interval ends. This ensures they act as actionable reference points for alerts between intervals, allowing users to monitor critical levels until a new interval of the same category forms.
Features:
Customizable Time Intervals: Define specific date ranges, weekdays, or intraday intervals to highlight on the chart.
High/Low Tracking: Automatically plots the highest and lowest prices within the defined intervals.
Real-Time Alerts: Set up alerts to notify when the price touches any of the highlighted high or low levels.
Actionable Lines: High/low lines remain visible after interval completion to serve as reference points for alerts.
Visual Enhancements: Customize background colors and line styles for each interval type.
Usage:
Apply the indicator to your chart.
Configure the desired modes (Date Range, Days of the Week, Intraday Interval) in the settings.
Customize the appearance settings to match your preferences.
Set up alerts based on the highlighted high/low levels.
Disclaimer:
This indicator is designed to assist in identifying potential areas of interest based on historical high and low levels within specified intervals. It is not intended as a standalone trading signal. Users should employ additional technical analysis tools and conduct thorough research before making trading decisions.
ADR LadderAverage Daily Range Indicator.
Buy zone is from +3% to +20%. TP before 50%.
Sell zone is from -3% to -20%. TP before -50%.
Combine with other indicators for confluence especially for support and resistance levels.
EMA/SMA Zones 9, 21, 30, 50, 100, 200 + othersMeant for swing trading on the daily chart, feel free to copy and remove/add sections as you wish (Used chatGPT for a lot of it).
Universal Stochastic Fusion (Simplified) — v6What this indicator is
This indicator is called Universal Stochastic Fusion (USF).
It’s a tool that helps traders see when the market might be too high (overbought) or too low (oversold), and when it might be a good time to buy or sell.
________________________________________
How it works
Think of the market like a rubber band.
• If the band stretches too far up, it usually snaps back down.
• If it stretches too far down, it usually bounces back up.
The USF indicator measures this stretch using something called the Stochastic Oscillator (just a fancy way of saying it looks at where the current price sits compared to recent highs and lows).
It shows this on a scale from 0 to 100:
• Near 100 → market is stretched upward (too hot).
• Near 0 → market is stretched downward (too cold).
• Around 50 → normal, middle ground.
________________________________________
What’s special about USF
1. Two views at once
o It lets you see the market’s stretch on your current chart and on another timeframe (like a daily view).
o This way, you can see the short-term and the bigger picture together.
2. Smart levels
o Instead of always using the same “too high/too low” levels (like 80 and 20), it can adjust these lines automatically depending on how wild or calm the market is.
3. Buy and Sell signals
o When the market looks too low and starts turning up, it can mark a BUY.
o When the market looks too high and starts turning down, it can mark a SELL.
4. Extra filter (optional)
o It can also use another tool (RSI) to double-check signals, so you don’t get as many false alerts.
________________________________________
How this helps traders
• It helps traders avoid buying when prices are already too high.
• It helps them spot possible bottoms where prices may bounce back.
• It combines short-term and long-term signals so traders don’t get tricked by quick moves.
________________________________________
Where it works
This indicator is universal — meaning it works on almost any market:
• Stocks (like Apple, Tesla, etc.)
• Forex (currencies like EUR/USD)
• Crypto (Bitcoin, Ethereum, etc.)
• Commodities (Gold, Oil, etc.)
• Futures and Indices (S&P 500, Nasdaq, etc.)
Because all these markets share the same pattern of prices going up and down too much and then pulling back, the USF can be applied everywhere.
________________________________________
👉 In short:
The Universal Stochastic Fusion is like a heat meter for the market.
It tells you when prices might be too hot (good chance to sell) or too cold (good chance to buy), and it works in all markets and timeframes.
________________________________________
VWAP Stdev Bands + StatsPlots VWAP with daily session reset and up to 5 standard deviation bands. Also included a table with reach statistics over the lookback period; you can plot it on the asset you are trading to gauge probability that price may continue or start to revert to the mean. Also plots close of VWAP for prior day.
Script_Algo - Double Smoothed CCI Strategy📉 The uniqueness of this non-trending oscillator strategy lies in the combination of two smoothed CCI lines: one signals entry into a position from overbought/oversold zones, and the other serves as a trend filter for entries. The smoothing of the fast and slow CCI lines significantly reduces market noise, allowing the filtering of false signals often generated by the standard CCI.
📚 For those unfamiliar with CCI:
The Commodity Channel Index (CCI) is a momentum-based oscillator used to identify overbought and oversold conditions.
It helps traders spot potential trend reversals or confirm trend strength by comparing the current price to its average over a period of time.
1️⃣ General Principle of Operation
⚡ Fast CCI: Generates main signals when exiting oversold and overbought zones.
📈 Slow CCI: Acts as a trend filter. For long positions, the slow CCI must be above zero (confirmation of an uptrend), and for short positions, it must be below zero (confirmation of a downtrend). This prevents the strategy from opening trades against the dominant trend.
🛡️ Dynamic ATR Stop-Loss: Unlike fixed-percentage stop-losses, a stop tied to the Average True Range (ATR) considers market volatility. During calm periods, the stop will be narrower, allowing for more profit capture. In highly volatile periods, the stop becomes wider, protecting against premature closures caused by noise.
📊 Comprehensive Risk Management: The strategy uses not only a take-profit based on signals (exit into the opposite zone) but also a protective ATR stop-loss and a mechanism to close trades upon receiving an opposite signal (e.g., closing a long when a short signal appears).
💡 Usefulness of the Strategy:
👨💻 For traders: Provides clear, mathematically justified entry and exit signals with built-in loss protection.
📉 For analysts: Visualizes the behavior of the double CCI on a separate panel, allowing study of the interaction of the fast and slow lines and their reaction to levels without mandatory trades.
📚 For learning: An excellent example of combining multiple indicators and capital management tools into a single trading system.
2️⃣ Detailed Algorithm Logic
📥 Long Entry Signals:
The fast smoothed CCI was below the oversold level (oversold_level, e.g., -100) and crossed this level upward (fast_exits_oversold).
The slow CCI at this moment is above zero (confirming an uptrend).
If both conditions are met, a long position is opened.
📤 Long Exit: Happens under one of these conditions:
The fast CCI crosses the overbought level (overbought_level) downward (exit_long).
The price reaches a stop-loss level calculated as entry price - (ATR * multiplier).
An opposite short signal appears (enter_short).
📥 Short Entry Signals:
The fast CCI was above the overbought level (overbought_level, e.g., 100) and crossed this level downward (fast_exits_overbought).
The slow CCI at this moment is below zero (confirming a downtrend).
If both conditions are met, a short position is opened.
📤 Short Exit: Happens under one of these conditions:
The fast CCI crosses the oversold level (oversold_level) upward (exit_short).
The price reaches a stop-loss level calculated as entry price + (ATR * multiplier).
An opposite long signal appears (enter_long).
3️⃣ Default Settings Description
⚙️ General Strategy Settings (strategy):
overlay=false: The indicator is displayed in a separate panel below the chart, not overlaid on it.
default_qty_type=strategy.cash, default_qty_value=1000, initial_capital=100000: The strategy manages a virtual capital of 100,000 USD, using 1,000 USD per trade.
commission_value=0.1, slippage=1: Commission (0.1%) and slippage (1 tick) are considered for more realistic testing.
⚡ Fast CCI (Signal Generator):
Length: 8 (short enough for quick price reactions).
Source: hlc3 (average of High, Low, Close).
Smoothing: WMA (Weighted Moving Average) for smoother results than SMA.
Smoothing Length: 5 (removes part of the noise).
📈 Slow CCI (Trend Filter):
Length: 20 (standard mid-term trend period).
Source: close.
Smoothing: WMA.
Smoothing Length: 21 (even stronger smoothing for a clean trend line).
📊 Levels:
Overbought Level: 100 (classic CCI level).
Oversold Level: -100 (classic CCI level).
🛡️ Stop-Loss (ATR):
ATR Length: 6 (short period for quick adaptation).
ATR Multiplier: 10.0 (very wide stop, designed for long-term trade holding and noise filtering).
💰 As seen in backtests, this strategy shows a steadily growing equity curve with minor drawdowns. On the highly liquid crypto pair XRPUSDT, the algorithm demonstrated a fairly high win rate and relatively high profit factor on a 4-hour timeframe over 4 years, though the overall profit is moderate.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Preston Pysh - BTC Power Law in Any Fiat CurrencyThis tool helps a user understand what the power law suggests the expected annual CAGR is for any currency (can be adjusted in the settings). It also shows the project price (in said fiat currency) for the next ten years.
Swing Guardrail — 30-sec Midterm Check (EBITDA Margin & EV/EBITDWhat it does
Before a short-term swing entry, this indicator right-sizes positions by a quick midterm (3–12m) durability screen using two fundamentals:
EBITDA Margin (TTM) → earning power / operational resilience
EV/EBITDA (TTM) → price tag vs earning capacity (payback feel)
A high-contrast table (top-right) shows both metrics and a verdict:
PASS — both meet thresholds → normal size
HALF — only one meets → reduce size
FAIL — neither meets → avoid
Why check “midterm” for a short-term trade?
Short swings still face earnings/news gaps, failed breakouts, and regime shifts. Names with weak margins or stretched valuation tend to break faster and deeper. A 30-sec durability check helps you:
Filter fragile setups (avoid expensive + weakening names)
Stabilize drawdowns (size down when quality/price don’t align)
Keep timing unchanged while improving risk-adjusted returns
Inputs (defaults)
Min EBITDA Margin % (TTM): 8%
Max EV/EBITDA (TTM): 12
Dark chart? High-contrast colors
How to use with a swing system
Get your entry from price/volume (e.g., Ichimoku cloud break, Kijun reclaim, Tenkan>Kijun; or your A/B/C rules).
Run this check only to set size (not timing).
Optional alerts: Once per bar close for PASS / HALF / FAIL.
Size mapping & event guard
PASS → 100% of your planned size
HALF → ~50% size / tighter stops
FAIL → watchlist only
If earnings < ~10 JP business days, drop one tier; ≤3 days → avoid.
Sector guides (tweak as needed)
Software/Internet: Margin ≥ 15%, EV/EBITDA ≤ 18
Industrials/Consumer: Margin ≥ 8%, EV/EBITDA ≤ 12
Retail: Margin ≥ 5–7%, EV/EBITDA ≤ 10–12
Edge cases / substitutions
Banks/Insurers/REITs or net-cash/negative EBITDA: EV/EBITDA may mislead → consider Net Debt/EBITDA or sector metrics (CET1/LTV/DSCR).
Sparse data / fresh listings: numbers may be NA until updates.
Notes & limitations
Data via request.financial() (TTM/most-recent). Some tickers/regions can show NA until fundamentals refresh.
This is a risk-screen / sizing tool, not a buy/sell signal.
Disclaimer
Educational use only. Not investment advice.
日本語
タイトル
スイング用ガードレール―中期“壊れにくさ”30秒チェック(EBITDAマージン & EV/EBITDA, TTM)
概要
短期スイングのエントリー前に、中期(3〜12か月)の耐久性を2指標で素早く確認し、ポジションサイズを決めるためのツールです。
EBITDAマージン(TTM):事業の稼ぐ力・体力
EV/EBITDA(TTM):その体力に対する“値札”(回収年数の感覚)
右上の高コントラスト表に数値と判定を表示:
PASS:両方クリア → 通常サイズ
HALF:片方のみ → サイズ半分
FAIL:両方NG → 見送り
なぜ短期でも“中期”を確認?
短期でも決算・ニュースのギャップ、ブレイク失敗、地合い転換は起きます。マージンが弱い/割高すぎる銘柄は崩れやすく、戻りも鈍い傾向。30秒の耐久性チェックで
脆いセットアップを回避
ドローダウンを平準化(サイズで吸収)
タイミングは変えずに、リスク調整後リターンの改善を狙えます。
入力(既定)
最低EBITDAマージン:8%
最大EV/EBITDA:12
黒背景向け:高コントラスト表示
使い方(スイング手法と併用)
まずは価格シグナル(一目の雲上抜け/基準線回復/転換線>基準線、またはA/B/Cルール)。
本インジの判定でサイズのみ決定(エントリーのタイミングは出しません)。
任意でバー確定アラート(PASS/HALF/FAIL)を設定。
サイズ目安 & イベント抑制
PASS:計画サイズ100%
HALF:約50%(ストップもタイトに)
FAIL:見送り
決算まで≦10営業日なら1段階サイズダウン、≦3営業日は原則見送り。
セクター目安(調整推奨)
ソフト/ネット:マージン 15%以上、EV/EBITDA 18以下
工業/一般消費:マージン 8%以上、EV/EBITDA 12以下
小売:マージン 5〜7%以上、EV/EBITDA 10〜12以下
例外・代替
銀行・保険・REIT/ネットキャッシュ・EBITDAマイナス:EV/EBITDAは適さない場合 → Net Debt/EBITDAやCET1/LTV/DSCR等で補助。
新規上場・データ薄:更新までNAのことあり。
注意
データは request.financial() を使用。更新前はNAの可能性。
本ツールはリスク確認/サイズ調整用で、売買シグナルではありません。
免責
情報提供のみ。投資判断は自己責任で。
My scriptadvanced indicators layered into your existing multi-indicator strategy. This version is built for serious precision and trend validation.
Simple TPODisplays price distribution over time using Time Price Opportunities (TPO). Shows Point of Control (POC), Value Area High/Low (VAH/VAL) levels to identify key support/resistance zones and fair value areas. Includes customizable timeframes and price breakout alerts.
Pattern ScannerUltimate Pattern Scanner — multi-timeframe candlestick discovery tool (educational use only).
Purpose: This script scans user-selected timeframes for classical candlestick patterns (for example: engulfing, morning/evening stars, hammers, dojis, tasuki gaps, three soldiers/crows, tweezers, marubozu, and others) and reports pattern name, detection price, directional signal (Bull / Bear / Neutral), and a simple volume participation metric. It is intended as an idea-generation and training tool to help traders learn pattern mechanics, not as an automated trading system.
Main modules and rationale: 1) Pattern engine — applies classical candle structure rules to detect formations; 2) SMA trend filter (configurable length) — provides a directional bias to favor trade-with-trend setups; 3) Volume heuristic — approximates participation by separating candles into buy-like and sell-like volume and comparing total volume to a moving average; 4) Multi-timeframe aggregator — collects and presents pattern results from multiple timeframes; 5) Alerts — optional alerts list detected patterns and TFs. Combining these modules is intentional: patterns provide structure, SMA provides context, and volume supplies participation confirmation. Together they improve the educational value and practical relevance of each detected pattern.
How to use: Choose timeframes and SMA length that match your trading horizon. Use the scanner to locate pattern candidates, then confirm with higher-timeframe agreement and volume ratio before considering trade entry. Use structural stops (recent swing highs/lows or ATR-based stops) and define risk:reward rules. For learning, replay alerted bars and record outcomes over fixed horizons to build empirical statistics.
Limitations: Volume classification (close>open) is a heuristic and not a true bid/ask tape. SMA is a lagging trend proxy. Multi-timeframe agreement reduces but does not eliminate false signals, especially around news or in low-liquidity instruments. Use demo accounts and backtesting before live trading.
Inputs you can adjust: timeframe list, SMA length, volume MA length, which patterns to enable/disable, display options.
Compliance notes: This description explains why modules are combined and what the script does without exposing source code logic; it is non-promotional and contains no contact links. Remove any trademark symbols unless registration details are provided.
Risk Disclaimer: This tool is provided for education and analysis only. It is not financial advice and does not guarantee returns. Users assume all risk for trades made based on this script. Backtest thoroughly and use proper risk management.
Asset in Every Fiat Currency📌 Description
Asset in Every Fiat Currency is an indicator that expresses the value of any chosen asset across a basket of global fiat currencies.
It uses exchange rates to calculate a weighted aggregate signal, allowing you to see how the asset behaves when priced simultaneously in the world’s most important currencies.
⚖️ Key Features
Choose any asset (default: Gold).
Weighted by major global currencies (USD, EUR, JPY, GBP, CNY, etc.).
Fully customizable weights through user inputs.
Automatic normalization factor for consistent scaling.
🛠️ Use Cases
Compare an asset’s performance beyond the USD lens.
Detect global strength/weakness of an asset in a diversified fiat basket.
Explore alternative ways of viewing asset pricing.
⚠️ Disclaimer: This script is for educational purposes only. It does not constitute financial advice. Always do your own research before making trading decisions.
Smart Money Concepts - (confirmed + ATR + MTF ) ritMaps market structure with confirmed pivots and quantifies SMC events (CHoCH/SMS/BMS) as real-time probabilities. Includes ATR swing-size filter, HTF MA bias gate, and label throttling to cut noise. Shows Premium/Discount/Mid zones and a compact table with Wins/Losses, Profitability, Laplace-smoothed rate, and Wilson confidence band. Optional alerts output ticker, timeframe, and the current probability summary. Designed to be confirmation-based (reduced repaint) and adaptable to any symbol/timeframe.
NQ Bias — Fixed Session (6PM & Midnight Opens)📰 Script Summary — NQ Bias (Fixed Session)
📌 Purpose:
This Pine Script helps traders track bias shifts on Nasdaq futures (NQ) using ICT-style reference points like the 6PM open, Midnight open, and 4PM close.
⚙️ How It Works:
Plots session opens (6PM, Midnight) as bias reference lines.
Highlights when price is trading above or below the 4PM New York Close → tells you if the market is leaning bullish or bearish.
Uses background coloring (green/red) to visually show bias.
Lets you filter by specific trading dates for focused backtesting.
Designed with ICT principles → focus on daily opens, session shifts, and premium/discount logic.
📈 Trader Benefit:
Quickly see if NQ is in bullish or bearish context relative to key opens.
Simplifies daily bias framework into an easy chart overlay.
Helps align trades with the higher-probability side of the market.