Mother Fish ตีเส้น 0 กับ 5 TCMother Fish line 0 and 5
This indicator draws horizontal lines on your price chart at price levels ending in 0 and 5 within a price range you specify. You can adjust the starting and ending prices of the range, as well as choose the colors for lines ending in 0 and 5. This helps you easily visualize potential support and resistance levels based on these key price points.
Candlestick analysis
Dynamic Strong Support & ResistanceThis Pine Script dynamically identifies strong support and strong resistance levels based on significant pivot points in the market. It calculates the high and low points of previous candles within a specified lookback period and marks these levels as key support (green) and resistance (red) areas. The script visually plots these levels on the chart and adds labels for easy reference, helping traders spot potential reversal zones and key price levels for market analysis.
Strong Support & ResistanceThis Pine Script dynamically identifies strong support and strong resistance levels based on significant pivot points in the market. It calculates the high and low points of previous candles within a specified lookback period and marks these levels as key support (green) and resistance (red) areas. The script visually plots these levels on the chart and adds labels for easy reference, helping traders spot potential reversal zones and key price levels for market analysis.
Support & Resistance Breakout StrategyThis Support & Resistance Breakout Strategy automatically identifies key price levels using pivot highs and lows over a configurable lookback period. It plots support (green) and resistance (red) lines directly on the chart and removes them dynamically when the price breaks through. The script also provides optional labeling for easier visual reference. It’s designed to help traders spot potential breakout opportunities and key decision zones.
Multiple HTF EngineThis strategy loads candles from multiple timeframes so you can build complex strategies that use multiple timeframes. The strategy provides code to implement conditions that must all happen at the same time to trigger, as well as a multiple phase trigger that will generate a signal after all of the conditions happen, in order, but not at one time. For example, if you wanted to enter a position on the first 5m candle that breaks the previous 5m candle high after the 1m RSI crosses over 30 the multiple phase trigger could do that.
Correction Candle CounterIndicator that identifies “correction” candles using the classic 3-1-3 pattern, highlights them with customizable colors and arrow markers, and tallies occurrences across all data, a selected year, or any defined month range. Flexible styling and date-filter options make it ideal for quick, focused analysis.
cc AJGB START/END OF ALGO TIMES 29, 35, 71, 77Finds UTC+2 Time Based Points on the Chart based on the ideas from AJAY.
Swing points are found at found a several specific "TIMES" of the day based on the concept of using the 24 HH:MM minute portion, the minute plus the hour and the minute minus the hour.
The numbers being sought on the chart are plotted based just on time.
Enjoy!
Volume Aggression Monitor📌 Volume Aggression Monitor — Overview
This indicator helps identify buying and selling pressure (aggression) in real-time by analyzing how market participants are executing trades. It is composed of three main components:
🔍 What Does It Show?
🧭 1. The Thermometer (Above Candles)
🟢 Green Arrow (▲) → Buy Aggression: Buyers are lifting the ask.
🔴 Red Arrow (▼) → Sell Aggression: Sellers are hitting the bid.
⚪ Gray Square (■) → Neutral: No significant price movement or aggression.
💡 Neutral in this context means:
The price barely moved during the candle (open-close % change < direction_threshold, default 0.05%).
No clear buyer or seller dominance. It often appears during low volatility, equilibrium, or market indecision periods. This prevents noise and false directional readings due to random micro-movements.
📊 2. Percentage Panel
A table displaying recent trades or candle data (from a lower timeframe). Colored arrows indicate the direction of aggression (buy/sell). Shows volume, delta, and aggression %.
✅ Use it to:
Track clusters of buy/sell aggression. Spot momentum builds.
⏱️ 3. Cumulative Times & Sales Bar
A horizontal progress bar representing cumulative aggression.
Positive = Buy Aggression dominates.
Negative = Sell Aggression dominates.
📉 Even in sideways price movement, this bar shows who is winning the fight under the surface.
---
🧠 How to Use It:
🔹 Confirm Trades
Use the thermometer and aggression signals to confirm your strategy entries (e.g., breakouts, pullbacks, support/resistance).
🔹 Detect Dominance
Observe who is in control: buyers or sellers? Are they pressing or hesitating?
🔹 Filter Market Noise
The neutral state avoids misinterpreting small, meaningless movements as strong signals.
---
Component | Meaning
🌡️ Thermometer (▲ ▼ ■) | Who’s in control in each candle
📊 Percentage Panel | Trade details: direction, delta, aggression
📈 Cumulative T&S Bar | Overall aggression bias over time
---
Midnight Open (UTC - 5) - Until NoonMidnight Opening
Default to UTC -5
Adjust Timezone in Timestamp variable.
Vacuum Candles [XrayAlgo]The Vacuum Candles indicator helps traders identify inefficient price movements—where the price moves significantly but lacks sufficient volume to support it. These inefficiencies may signal weak trends, potential reversals, or false breakouts/breakdowns.
Inefficient candles are visually marked with a darker / black body to indicate when the price movement is disproportionate to the volume.
1. Spotting Potential Reversals
When the indicator marks an inefficient candle, it signals that the price movement may be unsustainable.
In an uptrend: A inefficient bullish candle suggests that the uptrend is losing momentum, potentially leading to a downward reversal.
In a downtrend: A inefficient bearish candle signals that the downtrend may be weakening, with a potential bullish reversal.
2. Identifying Breakout and Breakdown Failures
This indicator is useful for recognizing false breakouts or false breakdowns.
If price breaks resistance but the candle is inefficient, the breakout may be weak and could fail quickly.
If price breaks support with an inefficient bearish candle, the breakdown could be a false signal, with price reverting back above support.
3. Recognizing Weak Trends
Inefficient candles help you spot when a trend is losing strength and could soon reverse or consolidate.
In an uptrend: A series of dark body bullish candles suggests that the uptrend may be weakening, signaling a potential correction or trend reversal.
In a downtrend: A series of dark body bearish candles suggests that the selling pressure is weakening, indicating a potential bullish reversal.
4. Fine-Tuning Entries and Exits
Inefficient candles offer an opportunity to fine-tune your entries and exits based on weak price moves.
Entering a trade: An inefficient candle near key support or resistance can indicate a reversal, making it a good entry point for a counter-trend position.
Exiting a trade: If you're already in a trend, and an inefficient candle appears, it suggests the trend is losing strength, indicating it may be a good time to exit before a potential reversal.
5. Fine-Tuning with Inputs
The Vacuum Candles indicator includes two key inputs:
Length: The number of candles used to calculate the average price movement and volume. A longer length (e.g., 20-30) smooths out the inefficiencies, while a shorter length (e.g., 10-15) makes the indicator more sensitive to recent price moves.
Multiplier: Controls the threshold for what is considered an inefficient candle:
A higher Multiplier (e.g., 1.5–3) filters out smaller inefficiencies and focuses on large discrepancies.
A lower Multiplier (e.g., 0.1–0.9) captures even smaller inefficiencies in highly efficient markets.
Sweep After Rally w/ TP + Overnight High/Low (Unbiased)Rally into a sweeping candle with volume. Used for reversals - pair this with MacD Divergence after a sweep of a prior day value area high/low or overnight high/low
Bullish and Bearish Breakout Alert for Gold Futures PullbackBelow is a Pine Script (version 6) for TradingView that includes both bullish and bearish breakout conditions for my intraday trading strategy on micro gold futures (MGC). The strategy focuses on scalping two-legged pullbacks to the 20 EMA or key levels with breakout confirmation, tailored for the Apex Trader Funding $300K challenge. The script accounts for the Daily Sentiment Index (DSI) at 87 (overbought, favoring pullbacks). It generates alerts for placing stop-limit orders for 175 MGC contracts, ensuring compliance with Apex’s rules ($7,500 trailing threshold, $20,000 profit target, 4:59 PM ET close).
Script Requirements
Version: Pine Script v6 (latest for TradingView, April 2025).
Purpose:
Bullish: Alert when price breaks above a rejection candle’s high after a two-legged pullback to the 20 EMA in a bullish trend (price above 20 EMA, VWAP, higher highs/lows).
Bearish: Alert when price breaks below a rejection candle’s low after a two-legged pullback to the 20 EMA in a bearish trend (price below 20 EMA, VWAP, lower highs/lows).
Context: 5-minute MGC chart, U.S. session (8:30 AM–12:00 PM ET), avoiding overbought breakouts above $3,450 (DSI 87).
Output: Alerts for stop-limit orders (e.g., “Buy: Stop=$3,377, Limit=$3,377.10” or “Sell: Stop=$3,447, Limit=$3,446.90”), quantity 175 MGC.
Apex Compliance: 175-contract limit, stop-losses, one-directional news trading, close by 4:59 PM ET.
How to Use the Script in TradingView
1. Add Script:
Open TradingView (tradingview.com).
Go to “Pine Editor” (bottom panel).
Copy the script from the content.
Click “Add to Chart” to apply to your MGC 5-minute chart .
2. Configure Chart:
Symbol: MGC (Micro Gold Futures, CME, via Tradovate/Apex data feed).
Timeframe: 5-minute (entries), 15-minute (trend confirmation, manually check).
Indicators: Script plots 20 EMA and VWAP; add RSI (14) and volume manually if needed .
3. Set Alerts:
Click the “Alert” icon (bell).
Add two alerts:
Bullish Breakout: Condition = “Bullish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Bearish Breakout: Condition = “Bearish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Customize messages (default provided) and set notifications (e.g., TradingView app, SMS).
Example: Bullish alert at $3,377 prompts “Stop=$3,377, Limit=$3,377.10, Quantity=175 MGC” .
4. Execute Orders:
Bullish:
Alert triggers (e.g., stop $3,377, limit $3,377.10).
In TradingView’s “Order Panel,” select “Stop-Limit,” set:
Stop Price: $3,377.
Limit Price: $3,377.10.
Quantity: 175 MGC.
Direction: Buy.
Confirm via Tradovate.
Add bracket order (OCO):
Stop-loss: Sell 175 at $3,376.20 (8 ticks, $1,400 risk).
Take-profit: Sell 87 at $3,378 (1:1), 88 at $3,379 (2:1) .
Bearish:
Alert triggers (e.g., stop $3,447, limit $3,446.90).
Select “Stop-Limit,” set:
Stop Price: $3,447.
Limit Price: $3,446.90.
Quantity: 175 MGC.
Direction: Sell.
Confirm via Tradovate.
Add bracket order:
Stop-loss: Buy 175 at $3,447.80 (8 ticks, $1,400 risk).
Take-profit: Buy 87 at $3,446 (1:1), 88 at $3,445 (2:1) .
5. Monitor:
Green triangles (bullish) or red triangles (bearish) confirm signals.
Avoid bullish entries above $3,450 (DSI 87, overbought) or bearish entries below $3,296 (support) .
Close trades by 4:59 PM ET (set 4:50 PM alert) .
🐢 Turtle Soup Strategy v1.0 – TBS/TWS + OB/FVG + SL/TP🐢 Turtle Soup Strategy v1.0 – Backtest Edition
This document gives you everything you need to use, interpret, and optimize the Turtle Soup Strategy in TradingView.
🐢 What is Turtle Soup?
Turtle Soup is a reversal trading strategy based on false breakouts of recent highs or lows — often referred to as liquidity traps.
Popularized by Linda Raschke , it flips the logic of breakout trading on its head by betting against the breakout, especially when it occurs near key swing points or in range-bound markets.
The idea is simple:
"When the turtles come out, the smart money cooks them."
🧠 In practice, traders place buy orders after price dips below a recent low and reverses, or sell orders after a false breakout above a high.
These fakeouts are often stop hunts, where large players induce retail traders into breakout positions, only to reverse the market against them — providing high-probability entry points for contrarian traders.
🧪 Core Components of Turtle Soup:
✅ Donchian Channel (recent swing high/low)
✅ Wick or body breakout
✅ Fast reversal back into range
✅ (Optional) Order block or FVG confluence
🔥 Why It Works:
Exploits liquidity zones where retail stops are clustered
Aligns with smart money concepts
Highly effective in sideways markets or after exhaustion spikes
🔎 What This Strategy Does
This is a reversal-based price action strategy that identifies false breakouts of recent highs or lows (liquidity traps), using the popular Turtle Soup pattern.
It enters trades when:
Price fakes out past the Donchian high or low
Closes back into the range
Optionally confirms with:
✅ Order Block Confluence (institutional footprint)
✅ Fair Value Gap (FVG) Confluence (imbalance)
It then sets:
🛑 A Stop Loss (SL) below/above the signal candle
🎯 A Take Profit (TP1) at a customizable Risk-Reward Ratio (RR) (default 1.5x)
🎯 Core Concepts
1. TBS – Turtle Body Soup
Full-body breakout and close back inside range
Considered stronger and more reliable
2. TWS – Turtle Wick Soup
Wick only breaks the high/low, body closes back inside
Weaker but still valid in confluence
⚙️ Inputs & Settings
Setting Description
Donchian Lookback Period for high/low reference (default: 20 candles)
TP1 RR Risk-Reward ratio for take profit target 1 (default: 1.5)
Use Order Block Filter If ON, requires bullish/bearish OB to validate the entry
Use FVG Filter If ON, requires FVG confluence (gap in price action = imbalance)
You can adjust these in the strategy’s Settings panel (gear icon in TradingView).
📈 How Trades Are Triggered
🟢 Long Entry occurs when:
TBS or TWS long signal is detected
(optional) Bullish Order Block present
(optional) Bullish FVG present
→ Entry: Close of signal candle
→ SL: Below candle’s low
→ TP1: Calculated from RR (default: 1.5x distance to SL)
🔴 Short Entry occurs when:
TBS or TWS short signal is detected
(optional) Bearish Order Block present
(optional) Bearish FVG present
→ Entry: Close of signal candle
→ SL: Above candle’s high
→ TP1: Calculated from RR (default: 1.5x distance to SL)
📊 How to Backtest
1. Open script in TradingView
Paste the full script into the Pine Script editor and click "Add to Chart".
2. Open the Strategy Tester
Navigate to the “Strategy Tester” tab (bottom panel).
Click “Overview” to see:
Net Profit 💰
Win Rate 📈
Number of Trades 📊
Max Drawdown 🩸
3. Use "Performance Summary" and "List of Trades"
You can click on List of Trades to review every trade (entry, exit, profit, SL, TP).
Filter and export as needed.
📊 Turtle Soup – Chart Signals Explained
🟢 TBS Long
Symbol: Green label up, text “TBS 🔺”
Meaning:
Turtle Body Soup long setup:
The body of the candle breaks below the recent Donchian Low (liquidity grab),
Then price closes back above that low.
Interpretation:
Strong bullish reversal signal, especially if confirmed by order block or FVG.
🔴 TBS Short
Symbol: Red label down, text “TBS 🔻”
Meaning:
Turtle Body Soup short setup:
The body of the candle breaks above the recent Donchian High (liquidity grab),
Then price closes back below that high.
Interpretation:
Strong bearish reversal signal.
🔵 TWS Long
Symbol: Blue triangle up, text “TWS ⬆”
Meaning:
Turtle Wick Soup long setup:
The wick (not the body) breaks below the Donchian Low,
Candle closes back inside the range.
Interpretation:
Bullish reversal signal (less powerful than TBS but still valid).
🟠 TWS Short
Symbol: Orange triangle down, text “TWS ⬇”
Meaning:
Turtle Wick Soup short setup:
The wick breaks above the Donchian High,
Candle closes back inside the range.
Interpretation:
Bearish reversal signal.
🟩 Order Block Bullish
Symbol: Small green square under bar
Meaning:
Last bearish candle before a bullish impulse (institutional buying footprint).
Used as confluence for stronger long entries.
🟥 Order Block Bearish
Symbol: Small red square above bar
Meaning:
Last bullish candle before a bearish impulse (institutional selling footprint).
Used as confluence for stronger short entries.
🔷 FVG Up
Symbol: Navy blue X below bar
Meaning:
Fair Value Gap (FVG) up:
A gap/imbalance created by a strong move up,
Indicates potential support or bullish confluence.
🟪 FVG Down
Symbol: Fuchsia X above bar
Meaning:
Fair Value Gap (FVG) down:
A gap/imbalance created by a strong move down,
Indicates potential resistance or bearish confluence.
📏 Entry / SL / TP Lines
Entry: Gray dashed line
Stop Loss (SL): Red dashed line
Take Profit 1 (TP1): Green solid line
Take Profit 2 (TP2): Green thick solid line
Drawn whenever a trade is triggered.
SL and TPs are calculated automatically from entry based on RR.
💡 Optimization Tips
What to Test - Why It Matters
Donchian Lookback - 20 is default, but shorter (10) catches faster setups
TP1 RR - Try 1.2 to 2.5 for different market types
Use/Disable Order Block Filter - Adds precision, reduces trades
Use/Disable FVG Filter . Adds imbalance confirmation
Lower Timeframes (M15–H1) - Gives more trades for statistical testing
🧠 When It Works Best
This strategy shines in:
Choppy / range-bound markets (liquidity traps are frequent)
Smart money behavior areas: stop hunts before reversals
Near session opens, news volatility, and false breakouts
Avoid in:
Strong trending markets without reversal signals
Low liquidity / overnight hours (on low timeframes)
🛡️ Risk Disclaimer
⚠️ This is a backtesting tool and not financial advice. Use responsibly.
Past performance ≠ future results. Always validate on demo or forward test before going live.
Perfect MA Touch (EMA/SMA + Font Size) – ExtendedThis is an extension of the Perfect MA touch with 6 total spaces for the Moving Averages.
When the candle touches the MA for the first time it will have a 1, and then the 5 the time it will leave a 5. Make you trading decisions with help from the 5 candle high and low.
DUONG_EURWhat is the RSI indicator? Instructions on how to use RSI in stock trading
Currently, technical analysis indicators are widely used to confirm the strength or weakness of the market. In this article, let's learn more about the RSI indicator with DSC to easily confirm the current strength of the market.
What is the RSI indicator?
The RSI indicator, also known as the relative strength indicator, is widely used in the financial and stock markets. RSI is calculated by the price of the most recent previous closing sessions. Therefore, it is often considered normal when it moves in phase with the price line.
RSI calculation formula
In which:
RS = AvgU/AvgD
AvgU is the average of the closing price changes of the increasing sessions in 14 sessions.
Price Variation Percent (PVP) с таймфреймомA standard PVP indicator that has a multi-timeframe function added to it
Heikin Ashi Reversal AlertHeikin ashi reverseal bullish after three or more bearish heikin ashi candles
Profitable Hours EUR/USD
Profitable Hours: It identifies the most profitable hours, based on significant price movements and high volatility (higher than the highest price movement and volatility over the last 24 periods).
Hour Display in EET: The active hour is displayed in Eastern European Time (EET), which is adjusted based on the GMT offset you provide.
This version of the script should help you visualize profitable hours for trading EUR/USD based on price movement and volatility, as well as time zone adjustments.
RSI_KDJThis indicator is to combine RSI and KDJ with several features:
1. Mark it RED if RSI > 80, which shows extremely over-bought and signals the opportunity of selling
2. Mark it GREEN if RSI <20, which shows extremely over-sold and signals buying
3. only keep K line of KDJ: GREEN circle means D line up-crosses K line while RED circle means D line down-crosses it.