coinbot_mr_table이 스크립트는 **"MA 리본(Moving Average Ribbon) 기반 자동매매 전략"**입니다.
이름(coinbot_mr_table)에 모든 기능이 요약되어 있습니다.
coinbot: user_id, exchange, leverage 등 자동매매 봇과 연동하기 위한 웹훅(Webhook) 신호 전송 기능이 포함되어 있습니다.
mr (MA Ribbon): 18개(5~90)의 이동평균선(EMA 또는 SMA)이 100 이평선을 기준으로 정배열/역배열되는지를 색상(LIME/RUBI)으로 구분하여 추세를 판단합니다.
table: 전략의 백테스팅 성과(총 승률, 일일 수익률 등)를 차트 위에 '누적 통계'와 '일일 통계' 테이블로 시각화해 줍니다.
이 스크립트의 매매 로직과 자동매매 신호에 대한 자세한 설명을 한글과 영어로 각각 제공해 드립니다.
🇰🇷 한글 (Korean)
이 스크립트는 **"MA 리본(Moving Average Ribbon)"**을 핵심 엔진으로 사용하는 완전 자동매매(Autotrade) 전략 신호 생성기입니다.
이 지표의 목적은 차트에서 추세를 시각적으로 보여주는 것을 넘어, 구체적인 매매 신호(진입, 분할 익절, 손절)가 발생할 때마다 JSON 형식의 명령어를 자동매매 봇으로 전송하는 것입니다.
1. 📈 매매 전략: MA 리본 추세 추종
이 전략은 18개의 단기/중기 이동평균선(5~90)과 1개의 장기 이동평균선(100)을 사용하여 추세를 정의합니다.
100 이평선: 장기 추세를 가르는 기준선(강/약을 나누는 분수령)입니다.
18개 리본: 이 리본들이 100 이평선 위에서 모두 상승(LIME 색상)하면 '강세 추세', 아래에서 모두 하락(RUBI 색상)하면 '약세 추세'로 판단합니다.
2. 🚦 진입 및 청산 신호
이 전략은 '전환(Reversing)' 전략입니다. 즉, 롱 신호가 발생하면 숏 포지션을 종료하고 롱으로 진입하며, 그 반대도 마찬가지입니다. (항상 롱 또는 숏 포지션을 유지합니다.)
진입 신호 (Long):
추세 확정: 모든 리본이 100 이평선 위에서 '강세(LIME)'로 통일될 때.
재진입 (불타기): 강세 추세 중, 리본이 일시적으로 조정(GREEN)을 보이다가 다시 '강세(LIME)'로 복귀할 때.
진입 신호 (Short):
추세 확정: 모든 리본이 100 이평선 아래에서 '약세(RUBI)'로 통일될 때.
재진입 (물타기): 약세 추세 중, 리본이 일시적으로 반등(MAROON)하다가 다시 '약세(RUBI)'로 복귀할 때.
청산 신호 (자동매매):
진입 (ENTRY): 롱/숏 신호 발생 시, 설정한 user_id, exchange, leverage 등을 포함한 JSON 메시지를 전송합니다.
익절 (TAKE_PROFIT): 롱/숏 포지션이 사용자가 설정한 TP1, TP2, TP3 목표가에 도달하면, 설정된 물량(qty_percent)만큼 분할 익절하라는 JSON 메시지를 전송합니다.
손절 (CLOSE): 포지션이 설정한 sl_percent에 도달하면, 포지션을 즉시 종료하라는 JSON 메시지를 전송합니다.
3. 📊 핵심 기능: 통계 테이블
이 스크립트는 백테스팅 성과를 두 개의 테이블로 요약하여 차트에 실시간으로 표시합니다.
누적 통계 (Total Stats): 전체 기간의 총 진입 횟수, 승/패, 승률(Winrate), 총수익률(Total Profit) 등을 보여줍니다.
일일 통계 (Daily Stats): '오늘' 하루 동안 발생한 매매의 성과(승/패, 승률, 수익률)만 따로 집계하여 보여줍니다.
🇺🇸 영어 (English)
This script is an automated trading (Autotrade) strategy signal generator based on a "Moving Average (MA) Ribbon."
Its purpose extends beyond visual trend analysis; it is designed to generate specific JSON-formatted commands and send them to an automated trading bot whenever a trade signal (entry, take-profit, stop-loss) occurs.
1. 📈 Trading Strategy: MA Ribbon Trend Following
This strategy uses 18 short-to-mid-term Moving Averages (5 to 90) and one long-term Moving Average (100) to define the trend.
100-MA: This acts as the baseline filter, dividing the market into a long-term bull or bear state.
18-MA Ribbon: When all 18 ribbons are above the 100-MA and rising (LIME color), it defines a 'Strong Bull Trend'. When all are below the 100-MA and falling (RUBI color), it defines a 'Strong Bear Trend'.
2. 🚦 Entry and Exit Signals
This is a 'Reversing' strategy. This means when a long signal occurs, it closes any existing short position and enters long, and vice-versa. It is designed to hold a position (either long or short) at all times.
Long Entry Signals:
Trend Confirmation: When all ribbons unify into a 'Strong Bull' (LIME) state above the 100-MA.
Re-entry (Buy the Dip): During a bull trend, if the ribbon shows a temporary pullback (GREEN) and then flips back to 'Strong Bull' (LIME).
Short Entry Signals:
Trend Confirmation: When all ribbons unify into a 'Strong Bear' (RUBI) state below the 100-MA.
Re-entry (Sell the Rally): During a bear trend, if the ribbon shows a temporary rally (MAROON) and then flips back to 'Strong Bear' (RUBI).
Exit Signals (For Automation):
ENTRY: When a long/short signal occurs, it sends a JSON message with the user's user_id, exchange, leverage, etc.
TAKE_PROFIT: When a position reaches the user-defined TP1, TP2, or TP3 price targets, it sends a JSON message to take profit on the specified quantity (qty_percent) for that portion.
CLOSE (Stop-Loss): When a position hits the sl_percent threshold, it sends a JSON message to immediately close the entire position.
3. 📊 Key Feature: Statistics Tables
The script provides two real-time summary tables on the chart to visualize backtesting performance.
Cumulative Stats: Shows lifetime performance, including total trades, wins, losses, win rate, and total profit.
Daily Stats: Isolates and displays the performance metrics (wins, losses, win rate, profit) for "Today's" trading activity only.
移動平均線
coinbot_ICT_Unicorn(AUTOTRADE)1. 🎯 핵심 기능: 자동매매 신호 전송 (Webhook)
이 스크립트는 매매 신호가 발생할 때마다, 사용자가 '자동매매 설정(Autotrade Settings)'에 입력한 값들을 조합하여 구체적인 JSON 메시지를 생성하고 alert() 함수를 통해 웹훅으로 전송합니다.
입력 설정: user_id, exchange(거래소), leverage(레버리지), capital_percent(투입 시드 %), sl_percent(손절 %), 그리고 3단계 분할 익절(tp1_price_percent, tp1_qty_percent 등) 설정을 입력받습니다.
신호 종류:
ENTRY (진입): 매수(buy) 또는 매도(sell) 신호가 발생하면, 위 모든 설정값을 포함한 진입 명령을 보냅니다.
CLOSE (손절): 전략의 내부 로직에 의해 손절가에 도달하면(slAlertTick), 포지션을 종료하라는 신호를 보냅니다.
TAKE_PROFIT (익절): 목표가에 도달하면(tpAlertTick), 설정된 물량만큼 익절하라는 신호를 보냅니다.
2. 📈 작동 원리: "ICT 유니콘" 매매 전략
이 스크립트의 진입 로직은 ICT(Inner Circle Trader) 개념 중 하나인 **'유니콘 모델'**을 따릅니다.
구성 요소 식별:
Breaker Block (BB): '브레이커 블록'을 식별합니다. 이는 특정 고점/저점을 만든 후 그 방향으로 가지 못하고 반대 방향으로 돌파(Break)된 오더 블록(Order Block)입니다.
Fair Value Gap (FVG): '공정 가치 갭' (가격 불균형 영역)을 식별합니다.
핵심 진입 신호 (Unicorn): 이 전략의 핵심 진입 조건은 **Breaker Block(BB)과 Fair Value Gap(FVG)이 중첩(Overlap)**되는, 소위 '유니콘'이라 불리는 강력한 지지/저항 영역이 발생하는 것입니다.
Long (매수) 진입:
가격이 하락하며 **'하락형 브레이커 블록(Bearish Breaker Block)'**을 만듭니다.
이후 가격이 상승 돌파하며 이 브레이커 블록 영역과 중첩되는 **'상승형 FVG(Bullish FVG)'**를 생성합니다.
이 중첩 영역(FVG-BB Overlap)이 바로 매수 진입의 근거가 됩니다. (코드가 dbgRequireRetracement 설정에 따라 FVG로의 되돌림을 기다리거나 즉시 진입 신호를 보냅니다.)
Short (매도) 진입:
가격이 상승하며 **'상승형 브레이커 블록(Bullish Breaker Block)'**을 만듭니다.
이후 가격이 하락 돌파하며 이 브레이커 블록 영역과 중첩되는 **'하락형 FVG(Bearish FVG)'**를 생성합니다.
이 중첩 영역이 매도 진입의 근거가 됩니다.
3. 📊 부가 기능
시각화: 차트 상에 FVG 영역과 Breaker Block 영역을 박스로 그려주어(설정에 따라 표시/숨김 가능) 매매 근거를 시각적으로 확인할 수 있게 합니다.
백테스팅 대시보드: 차트 우측 상단(기본값)에 이 전략의 누적 성과(총 진입 횟수, 승/패, 승률, 총수익률)를 보여주는 대시보드를 표시합니다.
요약
이 스크립트는 **"Breaker Block과 FVG의 중첩(유니콘 모델)"**을 유일한 진입 조건으로 사용하는 매우 구체적인 ICT 전략입니다. 이 조건이 충족되면, 사용자가 미리 설정한 상세한 리스크 관리 값들을 담아 자동매매 봇으로 즉시 실행 가능한 주문 신호를 전송하는 '올인원(All-in-One)' 전략 스크립트입니다.
요청하신 대로, 해당 지표 요약본을 영어로 번역하여 제공합니다.
This script is an automated trading (Autotrade) strategy signal generator based on the ICT "Unicorn" trading model.
As the "AUTOTRADE" in its name implies, the core purpose of this indicator is to detect specific conditions on the chart and send JSON-formatted order signals (webhooks) to an external automated trading bot.
Here are the core mechanics and features of this script:
1. 🎯 Core Feature: Automated Signal Transmission (Webhook)
Whenever a trade signal occurs, this script generates a specific JSON message by combining the values entered by the user in the "Autotrade Settings" and sends it via webhook using the alert() function.
Input Settings: It takes inputs for user_id, exchange, leverage, capital_percent (equity %), sl_percent (stop loss %), and settings for 3-stage split take-profits (e.g., tp1_price_percent, tp1_qty_percent).
Signal Types:
ENTRY: When a "buy" or "sell" signal occurs, it sends an entry command including all the settings above.
CLOSE (Stop-Loss): If the price hits the stop loss according to the strategy's internal logic (slAlertTick), it sends a signal to close the position.
TAKE_PROFIT: When a profit target is reached (tpAlertTick), it sends a signal to take profit on the specified quantity.
2. 📈 How It Works: The "ICT Unicorn" Strategy
The script's entry logic follows the "Unicorn Model," one of the concepts from ICT (Inner Circle Trader).
Identifying Components:
Breaker Block (BB): It identifies a "Breaker Block." This is an Order Block that, after creating a specific high/low, fails to continue in that direction and is instead broken through in the opposite direction.
Fair Value Gap (FVG): It identifies a "Fair Value Gap" (a price imbalance area).
Core Entry Signal (The Unicorn): The core entry condition for this strategy is the overlap of a Breaker Block (BB) and a Fair Value Gap (FVG), which creates a powerful support/resistance zone known as the "Unicorn."
Long Entry:
Price moves down, creating a "Bearish Breaker Block."
Subsequently, price breaks upward, creating a "Bullish FVG" that overlaps with this Breaker Block area.
This overlapping area (FVG-BB Overlap) becomes the basis for the long entry. (Depending on the dbgRequireRetracement setting, the code either waits for a retracement to the FVG or sends an immediate entry signal.)
Short Entry:
Price moves up, creating a "Bullish Breaker Block."
Subsequently, price breaks downward, creating a "Bearish FVG" that overlaps with this Breaker Block area.
This overlapping area becomes the basis for the short entry.
3. 📊 Additional Features
Visualization: It draws the FVG and Breaker Block zones as boxes on the chart (can be toggled in settings), allowing for visual confirmation of the trade setup.
Backtesting Dashboard: It displays a dashboard in the top-right corner (by default) showing the strategy's cumulative performance (total entries, wins/losses, win rate, total profit).
Summary
This script is a highly specific ICT strategy that uses the "overlap of a Breaker Block and an FVG (the Unicorn Model)" as its sole entry condition. When this condition is met, it transmits an immediately executable order signal to an automated trading bot, complete with all the detailed risk management values preset by the user. It is an "all-in-one" strategy script.
CoinBot_Volumatic VIDYA Strategy이 스크립트는 **"모멘텀에 적응하는 VIDYA와 ATR 밴드를 이용한 돌파 추세 추종 전략"**입니다.
트렌드가 시작되는 지점(밴드 돌파)에서 진입 신호를 발생시키고, 이 신호를 JSON 메시지로 만들어 자동 매매 봇으로 전송하는 올인원(All-in-One) 전략 스크립트입니다. 사용자는 리스크 관리 설정(SL/TP)과 웹훅 정보만 입력하면 됩니다.
This script is "a breakout trend-following strategy using momentum-adaptive VIDYA and ATR bands."
It generates entry signals at the point where a trend begins (a band breakout), converts these signals into a JSON message, and sends them to an automated trading bot. It is an all-in-one strategy script. The user only needs to input their risk management settings (SL/TP) and webhook information.
TFX AVERAGESThis indicator created by TFX features the EMA's of 5, 10, 20, 50, 200. These indicators will show the averages of candles.
dO / wO / mO + MA 50/200 + PrevDay H/L Description
This indicator plots key reference levels used by professional traders:
Daily Open (dO)
Weekly Open (wO)
Monthly Open (mO)
Previous Day High (pdH) and Previous Day Low (pdL)
Moving Averages: 50 & 200 SMA
Each level is drawn as a clean dotted white line with a fixed label directly on the price chart.
All levels can be individually toggled on or off via checkboxes in the settings panel.
The pdH/pdL lines start exactly from the candles that created them, providing clear structure for breakout, retracement, and liquidity analysis.
The 50/200 SMA are included for long-term trend context.
This tool is designed for traders who rely on multi-timeframe structure and precision levels for both intraday and swing strategies.
Features
Toggle visibility for dO, wO, mO, pdH, and pdL
Accurate placement of previous day levels
Lightweight and responsive
Clean minimal visual design
Supports any symbol and timeframe
Usage Notes
Perfect for confluence-based trading:
Combine pdH/pdL with session opens to identify key liquidity zones
Use SMA 50/200 for directional bias
Works on crypto, forex, indices, and equities
Is it Time for a Pullback? Check Bars Since MA TestAn old market adage declares that “prices never move in a straight line.” Dips occur even in bullish markets. But how can traders know when prices may be due for a pullback?
Today’s script tries to answer that question by asking how many bars have passed since a stock, index or other symbol has tested a given moving average. Long periods of time without touching a line such as the 50-day simple moving average, for example, could prompt traders to be more patient.
Bars Since MA Test counts how many bars have passed since prices touched or crossed the MA in question. The resulting value is plotted in a simple histogram. Users can set the MA length and type. By default, it uses the 50-day simple moving average (SMA).
The chart above applies Bars Since MA Test to the S&P 500. It shows that the index has gone 129 bars without testing its 50-day SMA. That’s the longest since a 146-bar stretch between July 2006 and February 2007.
Other longer runs include January-August 1995 (156 bars), November 1960-June 1961 (144 bars) and April-November 1958 (158 bars).
Given the small number of comparable readings, could traders suspect the current advance is getting long in the tooth?
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
Ultimate Scalping IndicatorOverview
The Confluence Signal Indicator is a precision-built scalping tool designed to identify high-probability reversal points in the market.
It combines three core technical elements:
Trend
Mean reversion
Momentum
into a single, efficient system.
By filtering out weak RSI signals and focusing only on setups that align with trend direction and recent momentum shifts, this indicator delivers cleaner and more accurate short-term trade signals.
Core Components
200-Period Moving Average (MA200, 5-Minute Timeframe)
The MA200 is always calculated from the 5-minute chart, regardless of your current timeframe. It defines the macro trend direction and ensures that all trades align with the prevailing momentum.
Session VWAP (Volume-Weighted Average Price)
The VWAP tracks the real-time average price weighted by volume for the current trading session. It acts as a dynamic mean-reversion level and helps identify key areas of institutional activity and short-term balance.
RSI (Relative Strength Index)
The indicator uses a standard 14-period RSI to detect overbought and oversold market conditions.
A “recency filter” is added to ensure signals only appear when RSI has recently transitioned from strength to weakness or vice versa, reducing false signals in trending markets.
Signal Logic
Bullish Signal (Green Arrow)
A bullish reversal signal is plotted below a candle when:
Price is above both the 5-minute MA200 and the Session VWAP.
RSI is oversold (below 30).
The last time RSI was above 50 occurred within the last 10 candles before going oversold.
This ensures that the dip is a fresh pullback within an uptrend, not a prolonged oversold condition.
Bearish Signal (Red Arrow)
A bearish reversal signal is plotted above a candle when:
Price is below both the 5-minute MA200 and the Session VWAP.
RSI is overbought (above 70).
The last time RSI was below 50 occurred within the last 10 candles before going overbought.
This ensures that the overbought reading follows a recent move from weakness, identifying potential short entries in a downtrend.
Recommended Usage
This is a scalping-focused indicator, intended for use on timeframes of 5 minutes or lower. Therefore I would highly recommend to use it on Equity futures trading, such as NQ!, ES!, GC! and so on.
It performs best when combined with additional tools such as support and resistance zones, order blocks, or liquidity levels for context.
Avoid counter-trend signals unless confirmed by price structure or volume behavior.
Golden Flow MapGolden Flow Map is a multi–timeframe moving–average system
designed to reveal the underlying direction of long–term market flow,
beyond daily volatility or short–term signals.
This script overlays four major trend lines — each representing a different layer of market rhythm:
Timeframe Length Meaning
🟣 1D – 365 MA Annual average — the true life line of the trend
🔴 1D – 200 MA Institutional benchmark — the long-term threshold
🟢 1W – 20 MA Mid-cycle momentum guide
🟠 3D – 100 MA Wave transition detector — captures trend shifts early
By combining these four perspectives on a single chart,
you can instantly distinguish between a short-term bounce and a major trend reversal.
🧭 How to Use
When all four lines align in one direction → that’s the main current of the market.
If price loses the 200D or 365D, ignore small rebounds — the structure has shifted.
The cross between Weekly 20 and 3D 100 often marks a wave transition.
Focus on alignment order rather than crossovers —
markets ultimately return to the direction of the higher timeframe.
⚙️ Features
SMA / EMA toggle
Individual MA on/off controls
Built-in alerts for 200D and 1W20 cross events
🧠 Concept
“Indicators are not signals — they are maps.”
This tool is not meant to predict, but to reveal the pulse of the market
and guide you through its long-term structure.
✍️ Creator’s Note
Developed from DDU’s personal long-term trend framework,
this indicator serves as a visual compass to expand a trader’s vision
from short-term reactions to macro-level flow.
MACD Overlay v1 [JopAlgo]Meet the MACD you can trade directly from the chart.
MACD Overlay v1 doesn’t just plot an oscillator somewhere below—
it puts value, momentum, and participation on your candles, and it refuses to fire inside chop.
When a triangle prints, it’s because energy released (expansion), not because the chart looked cute.
What it is:
An execution-ready MACD overlay with phase gating (Expansion-Only), participation gating (Weakness-Lite), and one-click Classic vs VW-MACD Compare—all adaptive, with minimal inputs.
What’s in v1 (feature set)
Overlay ribbon on price: Fast/Slow MACD value rendered as a price-level ribbon with contextual fill and optional candle tint.
Dual value model: Classic MA-MACD (EMA/SMA) and VW-MACD (Rolling VWAP fast/slow).
Compare mode: A/B Classic vs VW-MACD with a VW ghost ribbon.
Weakness-Lite (1-bar, adaptive): Gates/fades low-participation crosses using
RVOL deficit, Effort-vs-Result failure, and over-extension vs value/ATR (Strict adds wick pressure).
Expansion-Only (Impulse/Squeeze): Triangles print only when a cross coincides with a true-range burst and a histogram-slope ignition out of compression.
Signal hygiene: ±1-bar proximity around crosses, slope awareness, 2-bar debounce.
Explainable filtering: Tiny gray dots show crosses that were intentionally filtered (weak and/or no expansion).
How to use:
Use defaults: Mode Classic, Gate by Weakness ON, Expansion-Only ON, Sensitivity Auto.
Read signals fast:
Solid triangle = cross + expansion confirmed (+ not weak if gate is ON).
Faded triangle = cross + expansion but weak participation (visible only when gate is OFF).
Gray dot = there was a cross, but it was filtered (no genuine expansion or weak & gated).
Validate quickly: Flip Compare to check VW-MACD agreement. Classic + VW alignment usually improves confidence.
Why overlay > sub-pane oscillator
You see where the cross occurs: relative to value, local structure, and S/R, right on price.
The ribbon exposes regime shifts; tint hints expansion vs contraction at a glance.
Execution becomes more context-aware and less “signal-in-a-vacuum.”
Signals & visuals
Triangles (solid): MACD crossed Signal and market showed expansion out of compression; if Gate by Weakness is ON, triangle prints only with acceptable participation.
Triangles (faded): Same as above but weak (shown only when you turn the gate OFF).
Gray dots: Crosses that were filtered (no expansion and/or Weakness gate).
Ribbon: Fast vs Slow value (Classic or VW, according to Mode). Fill and candle tint reflect expansion/contraction.
Inputs
Calculation Mode: Classic | VW | Compare
VW uses Rolling VWAP fast/slow.
Compare: Classic is primary; VW shows as a ghost ribbon for A/B checks.
Gate triangles by Weakness: ON/OFF
Uses RVOL, Effort-vs-Result, extension vs value/ATR (Strict adds wick-pressure).
Sensitivity: Off / Auto / Strict (default Auto).
Expansion-Only (Impulse/Squeeze): ON/OFF
Requires compression → release: tight ribbon + flat momentum, then TR/ATR burst with hist slope flip / cross proximity.
Display: Ribbon / Candle Tint / Weakness Markers.
Advanced (optional): Evaluate Weakness only near signals, Channel (k × |MACD|), Style Preset.
No numeric thresholds to tune—all filters self-calibrate from rolling stats.
Best practices
4H crypto: Defaults are strong—Auto, Gate ON, Expansion-Only ON.
Clean trends: If you feel you miss some tidy resumptions, briefly toggle Expansion-Only OFF.
Choppy regimes: Set Sensitivity → Strict to cut more noise without adding lag.
Confirmation: Use Compare; Classic + VW alignment typically yields better follow-through.
Alerts
MACD Signal Cross Up/Down — execution-grade (use Once per bar close).
Weakness-Lite Flag — optional context alert to help audit filtered crosses.
Attribution & License
Attribution: Based on the algorithmic concept of TradingView’s built-in MACD (fast MA – slow MA, signal, histogram).
No original TradingView source code is redistributed; overlay rendering, VW-MACD, Weakness-Lite, Expansion-Only, gating visuals, and UX are new work.
License: MPL-2.0. Educational purposes only—not financial advice.
Mustang Algo - Engulfing Detector🐎 MUSTANG ALGO - ENGULFING DETECTOR
An advanced engulfing candlestick pattern detector with customizable filters for more precise trading signals.
═══════════════════════════════════════
📊 WHAT IS THIS INDICATOR?
The Mustang Algo Engulfing Detector identifies bullish and bearish engulfing patterns with advanced filtering options to reduce false signals and improve trade quality. This indicator helps traders spot high-probability reversal opportunities based on candlestick patterns and trend confirmation.
═══════════════════════════════════════
✨ KEY FEATURES
🔹 Engulfing Pattern Detection
• Bullish Engulfing: Identifies potential bullish reversals
• Bearish Engulfing: Identifies potential bearish reversals
• Real-time signal labels (BUY/SELL)
🔹 Size Filter
• Filter out small, insignificant candles
• Adjustable minimum body size percentage
• Optional filter for the engulfed candle size
• Ensures only strong patterns are detected
🔹 EMA Trend Filter
• Customizable EMA period (default: 200)
• BUY signals only above EMA (uptrend)
• SELL signals only below EMA (downtrend)
• Visual EMA line on chart
• Reduces counter-trend false signals
═══════════════════════════════════════
🎯 HOW TO USE
1. Add the indicator to your chart
2. Adjust the filters according to your trading style
3. Wait for BUY (green) or SELL (red) labels
4. Confirm with your own analysis and risk management
5. Trade in the direction of the signal
⚠️ IMPORTANT: This indicator should be used in conjunction with proper risk management and additional analysis. No indicator is 100% accurate.
═══════════════════════════════════════
⚙️ CUSTOMIZABLE SETTINGS
📏 Size Filter Group:
• Enable/Disable size filtering
• Min Body Size (%): Minimum candle body size to generate signals (0.01% - 10%)
• Check Engulfed Candle Size: Also verify the size of the engulfed candle
• Min Engulfed Body Size (%): Minimum size for the engulfed candle
📈 EMA Filter Group:
• Enable/Disable EMA filtering
• EMA Length: Period for the EMA calculation (default: 200)
• Show EMA on Chart: Display the EMA line
═══════════════════════════════════════
💡 BEST PRACTICES
✅ Use on higher timeframes (4H, Daily) for better reliability
✅ Combine with support/resistance levels
✅ Wait for candle close confirmation before entering
✅ Use proper stop-loss and take-profit levels
✅ Consider market context and overall trend
❌ Don't trade every signal blindly
❌ Don't ignore risk management
❌ Don't use on very low timeframes without additional filters
═══════════════════════════════════════
📈 RECOMMENDED SETTINGS
Conservative Trading:
• Min Body Size: 0.8% - 1.0%
• EMA Filter: Enabled (200 period)
• Check Engulfed Size: Enabled
Aggressive Trading:
• Min Body Size: 0.3% - 0.5%
• EMA Filter: Disabled or lower period (50-100)
• Check Engulfed Size: Disabled
═══════════════════════════════════════
🔒 DISCLAIMER
This indicator is provided for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and use proper risk management. Trading involves substantial risk of loss.
═══════════════════════════════════════
Created by Mustang Algo
Version 1.0
If you find this indicator helpful, please leave a like and comment! 🚀
(Mustang Algo) Trend 5/15/30/1H + EMA Lines + Aligned Signal═══════════════════════════════════════════════════════════
MUSTANG ALGO - MULTI-TIMEFRAME TREND ALIGNMENT
═══════════════════════════════════════════════════════════
📊 OVERVIEW:
This indicator analyzes trend alignment across four key timeframes (5m, 15m, 30m, 1H) using customizable moving averages. It helps traders identify high-probability setups when multiple timeframes confirm the same trend direction.
🎯 KEY FEATURES:
✓ Multi-Timeframe Analysis (5m/15m/30m/1H)
- Monitors trend direction on 4 different timeframes simultaneously
- Visual table showing real-time trend status for each period
- Optional price display for each timeframe
✓ Flexible Moving Average System
- Choose from 5 MA types: EMA, SMA, SMMA (RMA), WMA, VWMA
- Customizable Fast MA (default: 20) and Slow MA (default: 50)
- Visual cloud between moving averages (green=bullish, red=bearish)
✓ Alignment Signals
- "4x UP" triangle: All 4 timeframes bullish (strong uptrend)
- "4x DOWN" triangle: All 4 timeframes bearish (strong downtrend)
- Signals appear only when ALL timeframes agree
✓ Visual Enhancements
- MA cloud with transparency for better chart readability
- Optional candle coloring based on local trend
- Clean, customizable dashboard display
✓ Alert System
- Built-in alerts for bullish alignment (4 TF aligned up)
- Built-in alerts for bearish alignment (4 TF aligned down)
- Perfect for automated trading setups
📈 HOW TO USE:
1. **Trend Confirmation**: Wait for alignment signals (triangles) before entering trades
2. **Dashboard Monitoring**: Check the top-right table to see individual TF trends
3. **MA Cloud**: Use the cloud as dynamic support/resistance
4. **Entry Timing**: Enter on local timeframe when higher TFs are aligned
⚙️ CUSTOMIZABLE PARAMETERS:
- Fast MA Length (default: 20)
- Slow MA Length (default: 50)
- MA Type (EMA/SMA/SMMA/WMA/VWMA)
- Toggle dashboard display
- Toggle price display in dashboard
- Toggle MA cloud
- Toggle candle coloring
⚠️ BEST PRACTICES:
- Use on 5m or 15m charts for optimal multi-TF analysis
- Combine with price action and volume for best results
- Alignment signals are rare but highly significant
- Not a standalone system - use as confluence tool
💡 STRATEGY IDEAS:
- Scalping: Enter on local TF when all TFs aligned
- Swing Trading: Hold positions while alignment maintained
- Risk Management: Exit if alignment breaks
- Confluence: Combine with support/resistance levels
📌 NOTES:
- Works on all markets (Crypto, Forex, Stocks, Indices)
- Repaints minimally (only on MA calculations)
- Low resource usage, efficient code
═══════════════════════════════════════════════════════════
Created by Mustang Spirit Trading Academy
For educational purposes - Always manage your risk!
═══════════════════════════════════════════════════════════
Machine Learning Moving Average [BackQuant]Machine Learning Moving Average
A powerful tool combining clustering, pseudo-machine learning, and adaptive prediction, enabling traders to understand and react to price behavior across multiple market regimes (Bullish, Neutral, Bearish). This script uses a dynamic clustering approach based on percentile thresholds and calculates an adaptive moving average, ideal for forecasting price movements with enhanced confidence levels.
What is Percentile Clustering?
Percentile clustering is a method that sorts and categorizes data into distinct groups based on its statistical distribution. In this script, the clustering process relies on the percentile values of a composite feature (based on technical indicators like RSI, CCI, ATR, etc.). By identifying key thresholds (lower and upper percentiles), the script assigns each data point (price movement) to a cluster (Bullish, Neutral, or Bearish), based on its proximity to these thresholds.
This approach mimics aspects of machine learning, where we “train” the model on past price behavior to predict future movements. The key difference is that this is not true machine learning; rather, it uses data-driven statistical techniques to "cluster" the market into patterns.
Why Percentile Clustering is Useful
Clustering price data into meaningful patterns (Bullish, Neutral, Bearish) helps traders visualize how price behavior can be grouped over time.
By leveraging past price behavior and technical indicators, percentile clustering adapts dynamically to evolving market conditions.
It helps you understand whether price behavior today aligns with past bullish or bearish trends, improving market context.
Clusters can be used to predict upcoming market conditions by identifying regimes with high confidence, improving entry/exit timing.
What This Script Does
Clustering Based on Percentiles : The script uses historical price data and various technical features to compute a "composite feature" for each bar. This feature is then sorted and clustered based on predefined percentile thresholds (e.g., 10th percentile for lower, 90th percentile for upper).
Cluster-Based Prediction : Once clustered, the script uses a weighted average, cluster momentum, or regime transition model to predict future price behavior over a specified number of bars.
Dynamic Moving Average : The script calculates a machine-learning-inspired moving average (MLMA) based on the current cluster, adjusting its behavior according to the cluster regime (Bullish, Neutral, Bearish).
Adaptive Confidence Levels : Confidence in the predicted return is calculated based on the distance between the current value and the other clusters. The further it is from the next closest cluster, the higher the confidence.
Visual Cluster Mapping : The script visually highlights different clusters on the chart with distinct colors for Bullish, Neutral, and Bearish regimes, and plots the MLMA line.
Prediction Output : It projects the predicted price based on the selected method and shows both predicted price and confidence percentage for each prediction horizon.
Trend Identification : Using the clustering output, the script colors the bars based on the current cluster to reflect whether the market is trending Bullish (green), Bearish (red), or is Neutral (gray).
How Traders Use It
Predicting Price Movements : The script provides traders with an idea of where prices might go based on past market behavior. Traders can use this forecast for short-term and long-term predictions, guiding their trades.
Clustering for Regime Analysis : Traders can identify whether the market is in a Bullish, Neutral, or Bearish regime, using that information to adjust trading strategies.
Adaptive Moving Average for Trend Following : The adaptive moving average can be used as a trend-following indicator, helping traders stay in the market when it’s aligned with the current trend (Bullish or Bearish).
Entry/Exit Strategy : By understanding the current cluster and its associated trend, traders can time entries and exits with higher precision, taking advantage of favorable conditions when the confidence in the predicted price is high.
Confidence for Risk Management : The confidence level associated with the predicted returns allows traders to manage risk better. Higher confidence levels indicate stronger market conditions, which can lead to higher position sizes.
Pseudo Machine Learning Aspect
While the script does not use conventional machine learning models (e.g., neural networks or decision trees), it mimics certain aspects of machine learning in its approach. By using clustering and the dynamic adjustment of a moving average, the model learns from historical data to adjust predictions for future price behavior. The "learning" comes from how the script uses past price data (and technical indicators) to create patterns (clusters) and predict future market movements based on those patterns.
Why This Is Important for Traders
Understanding market regimes helps to adjust trading strategies in a way that adapts to current market conditions.
Forecasting price behavior provides an additional edge, enabling traders to time entries and exits based on predicted price movements.
By leveraging the clustering technique, traders can separate noise from signal, improving the reliability of trading signals.
The combination of clustering and predictive modeling in one tool reduces the complexity for traders, allowing them to focus on actionable insights rather than manual analysis.
How to Interpret the Output
Bullish (Green) Zone : When the price behavior clusters into the Bullish zone, expect upward price movement. The MLMA line will help confirm if the trend remains upward.
Bearish (Red) Zone : When the price behavior clusters into the Bearish zone, expect downward price movement. The MLMA line will assist in tracking any downward trends.
Neutral (Gray) Zone : A neutral market condition signals indecision or range-bound behavior. The MLMA line can help track any potential breakouts or trend reversals.
Predicted Price : The projected price is shown on the chart, based on the cluster's predicted behavior. This provides a useful reference for where the price might move in the near future.
Prediction Confidence : The confidence percentage helps you gauge the reliability of the predicted price. A higher percentage indicates stronger market confidence in the forecasted move.
Tips for Use
Combining with Other Indicators : Use the output of this indicator in combination with your existing strategy (e.g., RSI, MACD, or moving averages) to enhance signal accuracy.
Position Sizing with Confidence : Increase position size when the prediction confidence is high, and decrease size when it’s low, based on the confidence interval.
Regime-Based Strategy : Consider developing a multi-strategy approach where you use this tool for Bullish or Bearish regimes and a separate strategy for Neutral markets.
Optimization : Adjust the lookback period and percentile settings to optimize the clustering algorithm based on your asset’s characteristics.
Conclusion
The Machine Learning Moving Average offers a novel approach to price prediction by leveraging percentile clustering and a dynamically adapting moving average. While not a traditional machine learning model, this tool mimics the adaptive behavior of machine learning by adjusting to evolving market conditions, helping traders predict price movements and identify trends with improved confidence and accuracy.
Market Profit X (MPX)Hi Traders,
Welcome to Market Profit X (MPX)
Keep
It
Simple
Stupid
I have created MPX to give a main screen visual with simple easy Buy/Sell signals based on your favorite wave trend oscillators.
Traders' learners through to advanced will and I say will PROFIT using MPX easy to follow system.
The 12: Tema and 56: Tema are utilized umm yeah that's right the same ones you are paying thousands for 56 Tema giving you your baseline or zero line on the common Wave Trend Oscillator and the 12 Tema giving you that momentum where all chasing.
One thing after years of studying what really is the bread and butter? Money money money that's what matters money flowing in money flowing out Long/Short yeah. So that's what your BUY/SELL signals are based on and they work.
I have added ATR for stops and have found after extensive trials setting multiplier to 2.5 you are going to have a high % of winning trades which you can thank me with i will send my BTC wallet Addy.
I have added the 8 EMA for another extremely rewarding swing system that i may share with my crew or people I like. I hear you already 8 EMA yeah right that's old worth nothing well it's what I do with this is the magic.
So how do I use? i can see the DM box filling up now because i have been reluctant to release this simple little indicator because i trialed it put in hard yards and know it's a banger.
first one i share and if i get no donations i take down because i know you will be hitting home runs.
Top-down analysis first are we bull or bear? then i drop to the 30m or 15m and wait for BUY/SELL signal go to your favorite wave trend oscillator i have mine over at Marketspy.com and take a good look at your money flow. I will wait for candle to close and confirm then buy next candles open or drop down to the 5m for slight pullback for entry.
Tip one: I like to buy 60 or -60 levels with confidence what will catch you reg bear divs.
like everything not every signal a home run that's why as soon as you take the trade you are looking at your stop and setting it in stone if you get hit o well onto the next. What's your number one? protecting your bank.
Now like i said the 8EMA system is a special spice i may share with special people as it requires training.
Enjoy tell me i suck i don't care i know it works and makes consistent money and my trading group guys will vouch for me.
Thank you, Trader (IKN) I Know Nothing out.
RSI مع 5 متوسطات و5 مستوياتRSI with 5 Moving Averages and 5 Levels
This indicator combines the Relative Strength Index (RSI) with five customizable moving averages and five horizontal levels to help identify momentum, overbought/oversold zones, and trend strength.
• RSI: Measures the speed and change of price movements.
• Levels (10, 20, 50, 80, 90):
• 10 & 20 → Oversold zones (potential buy areas)
• 80 & 90 → Overbought zones (potential sell areas)
• 50 → Neutral midpoint (trend balance line)
• Moving Averages (5, 8, 13, 21, 200):
Smooth the RSI line to reveal short- and long-term momentum trends.
You can choose the type (SMA, EMA, WMA), color, and line thickness.
Optional alert signals can be triggered when the RSI crosses specific levels (e.g., above 80 or below 20).
Power Bar [MMT]Identify and trade powerful market thrusts with precision. Power Bar detects high-momentum bullish and bearish candles that break recent support or resistance, combine proximity to a key moving average, and offer automated multi-TP trade management.
Features
Power Bar Detection : Spots large-bodied candles (relative to ATR) with minimal opposing wicks, originating near the 20 SMA, and breaking key support/resistance zones.
Fully Configurable : Adjust ATR length/multiplier, wick size ratio, SMA proximity, display style (most recent/historical) and more.
SMA Overlay : Optionally plot configurable SMA for context with proximity checks.
Support/Resistance Lines : Detect and visualize dynamic S/R based on recent swing highs/lows, with customizable lookback, style, color, and tolerance.
Trade Managemen t: Automated lines and labels for entry, stop loss, and up to three profit targets (ATR or risk multiples). Choose display mode and extend historical trades.
Visual Alerts : Color-coded bar highlights, up/down arrow label overlays, customizable colors for bullish/bearish power bars.
Use Cases
Rapidly spot and respond to strong market moves, often signaling trend initiation or continuation.
Integrate with multi-timeframe setups, momentum strategies, and discretionary trading.
Set up actionable alerts when a power bar triggers in real time.
Inputs
ATR length and multiplier
Wick ratio and SMA proximity
Support/resistance lookback, tolerance, style, color
Trade management toggle and TP calculation modes
Historical/max recent bars/trades limit controls
Alerts
Alert conditions for bullish, bearish, and any power bar event, supporting automated trading workflows.
(15M) Gold Daily SignalQuick Start
Symbol XAUUSD, timeframe 15m.
Defaults: TP 50 pips, SL 150 pips.
Wait for green (long) or red (short) background after bar close.
Place orders at the plotted Entry / TP / SL; optional scale-ins at E1/E2.
Max signals kept on chart – housekeeping only (limits old drawings).
Alerts
Turn Green → ready-to-buy signal.
Turn Red → ready-to-sell signal.
Create alerts once per bar close and keep the default message or customize.
Yit's SMA'sThis is the first update to my original SMA indicators I've added the following:
10 Week SMA
40 Week SMA
3 Month SMA
18 Month SMA
I wanted to add more based on these being common indicators various types of trading uses.
There will probably be more in the future.
Simple EMA Cloud 20/50Shades the area between the 20 and 50 EMAs.
That's all it does, but combined with other indicators like the MACD, it gives you clear indications of entries and exits.
AND, it has no calories. What more could you ask for?
OmniTraderOmniTrader — What It Does
A pragmatic intraday toolkit that keeps your chart readable while surfacing the levels traders actually use: EMAs across timeframes, VWAP, yesterday’s high/low, Asian/London/NY session ranges, and a configurable Opening Range Breakout (ORB).
Multi-Timeframe EMAs (EMA 1 & 2) — Pick any TF per EMA (e.g., 5m EMA on a 1m chart).
VWAP — Toggle on/off for quick mean/flow context.
Session High/Low (live → frozen)
Tracks Asian / London / New York in your chart/exchange timezone.
Rays auto-extend; labels optional.
Previous Day High/Low — Daily levels with optional labels; auto-resets each new day.
Opening Range Breakout (ORB)
Choose session (NY/London/Asian) and 15m or 30m window.
Levels update live during the window, then lock.
Separate colors for ORB High & ORB Low + labels.
Style & Clarity Controls — Per-group color pickers, line width/style, label size & visibility.
Designed to minimize clutter while keeping essentials visible.
Minervini breakout - AndurilThis indicator checks the Mark Minerivini trend template as well checks consolidation areas and breakout.
Checks the highest closing price of last x days (default 20 days), exluding current day and draws a white dashed line, Calculates the relative volume of the current day. Calculates EMA 21, EMA50 and EMA200 and draws on the graph to define trend.
Gives a buy signal in green (writing relative strength of that day inside of green arrow) if:
1) Current price> breakout price* 0.98
2) Current price > EMA21 >EMA50>EMA200
3) Current price > 52 week high*0.75
4) Current price > 52 week low*1.3
5) EMA 200 of today > EMA 200 of 10 bar ago > EMA 200 of 20 bar ago
6) Relative volume of the day > 1.5
ממוצעים נעים דינמיים – קצר / בינוני / ארוךMA - L/M/S
dynamic ma across different time frame
5m, 30m, d, w, m
Opening Range HarmoniX
This is an all-in-one, modular toolkit designed for intraday traders, especially those focusing on the New York session. It combines a fully customizable Opening Range (OR) with a suite of essential indicators (Moving Average, VWAP, Supertrend, and Pivots) to provide a complete and clean view of the market.
All modules (indicators) can be toggled on or off individually, and the entire settings menu is fully translated in both English and Farsi (Persian).
Key Features
1. Customizable Opening Range (OR):
Range Timeframe: Set your OR timeframe (5, 15, or 30 min).
Precise Start Time: Define the exact start hour and minute (default 9:30 NY Time).
Key Levels: Includes OR High, OR Low, and a crucial Mid Line for price equilibrium.
Extension Method: Choose how lines extend: "Until NY Session Close" (16:00) or for a fixed "Number of Bars".
Full Styling: Complete control over color, width, and line style (solid, dashed, dotted) for all levels.
2. Dynamic Day Label:
Automatically displays the day of the week (in English or Farsi) and the selected OR timeframe (e.g., "Monday - 15m") at the start of the range.
3. Built-in Indicator Suite (All Toggleable):
Moving Average (MA):
Multiple Types: Choose from SMA, EMA, WMA, HMA, or VWMA.
Dynamic Coloring: MA line color automatically changes based on its upward (Uptrend) or downward (Downtrend) slope.
VWAP (Daily):
Features similar dynamic coloring to quickly identify the intraday trend bias.
Supertrend:
A classic trend-following tool with customizable ATR Period and Factor.
Dynamic trend-based coloring (uptrend/downtrend).
Pivot Points:
Classic high/low pivots with customizable lookback periods (left/right) to spot key turning points in the market.
💡 Core Concept
Use the Opening Range levels (High, Low, and Mid) as primary support/resistance and to establish the bias for the day. Then, use the additional indicators (MA, VWAP, Supertrend) to confirm trend direction and identify entry/exit opportunities in relation to the OR levels.
Rolling Compound ReturnRolling Compound Return Indicator - Summary
This indicator calculates and displays the compounded return over rolling time periods, showing how an investment would have performed if held for the specified lookback length.
How it works:
1. Rolling calculation - For each bar, looks back N periods and compounds all the returns together using the formula: (1 + return₁) × (1 + return₂) × ... × (1 + returnₙ) - 1
2. Multiple timeframes - Allows comparison of up to 3 different rolling periods simultaneously:
* Period 1 (default 20 bars): Blue line
* Period 2 (default 50 bars): Orange line
* Period 3 (default 100 bars): Purple line
3. Visual elements:
* Lines plotted as percentage returns on dedicated Y-axis
* Zero reference line to distinguish gains from losses
* Optional green/red fill showing positive/negative zones
* Info table displaying current values for each period
4. Key insight - Unlike simple moving averages of returns, this shows the actual cumulative effect of holding through all the ups and downs over the rolling window.
Use case: Helps identify whether recent price action (over your chosen lookback period) has resulted in net gains or losses, and how different time horizons compare. For example, you might see the 20-period showing +5% while the 50-period shows -2%, indicating recent strength after a longer decline.
The indicator updates on every bar to show the "rolling N-period return" at each point in time.






















