Planting & Harvesting SeasonsHello all,
as a commodity trader, I use a lot of seasonal patterns in my analysis. Some time ago, I came up with the idea to develop a simple script that visually overlays the typical planting and harvesting periods for key agricultural futures directly on the chart.
This script automatically detects the underlying commodity based on the symbol (e.g. ZC, ZW, ZS, CT) and displays color-coded zones for each seasonal window. These zones are based on historical crop calendars and help identify when planting or harvesting typically takes place. The goal is to better align technical setups with fundamental seasonal factors.
This is a basic version and meant as a visual aid — not a trading signal in itself.
Hope you enjoy it and any feedback is highly appreciated!
Padrões gráficos
SAR Pullback By TradingConTotoName & Version
SAR Pullback UX Improved (Pine Script v5)
Core Logic
Calculates two EMAs (fast and slow) to identify overall trend direction.
Uses the Parabolic SAR to detect “flip” points (when SAR crosses price), marking micro-trend reversals.
Micro-Trend Extremes
Tracks the highest high after a bullish flip (SAR below price) and the lowest low after a bearish flip (SAR above price).
These extremes feed into the stop-loss approximation.
Approximate Stop-Loss (“SL aprox”)
If SAR is below price (bullish), SL ≔ (micro-trend high − current SAR).
If SAR is above price (bearish), SL ≔ (current SAR − micro-trend low).
Leverage Calculation
User-defined “UR in USD” input.
Computes leverage as UR ÷ SL, giving you an estimate of position sizing potential.
On-Chart Signals
BUY label at each bullish flip, with SL and leverage printed.
SELL label at each bearish flip, likewise showing SL and leverage.
Customizable UI
Inputs to toggle display of SL, leverage, or both.
Choose your UR value, panel background/text colors, and BUY/SELL label colors.
Panel position fixed at top-right by default, showing a 2×3 table:
Header row (“Metric” / “Value”)
“SL aprox” row
“Leverage” row
Visuals
Plots the slow EMA colored by trend.
Draws SAR as crosses.
Bar colors shade green/red according to bullish/bearish conditions.
Semi-transparent, styled panel for quick glance of key metrics.
This indicator combines trend filtering, automated stop-loss sizing, and leverage guidance into a single, fully-configurable Pine Script tool—giving you clear on-chart signals plus a neat metrics panel for streamlined decision-making.
SMC + EMA + Candles + RSI/CCI + BOS + Trailingfind SMC + EMA + Candles + RSI/CCI + BOS + Trailing in chart
BOS & CHoCH Alert Coin Holding by DTVThis is a comprehensive indicator that combines the concepts of Break of Structure (BOS) and Change of Character (CHoCH) in the Smart Money Concepts style, and automatically sends alerts whenever a CHoCH signal occurs immediately after the most recent BOS.
Key Features:
BOS Detection: Identifies BOS on both bullish and bearish trends based on Swing High/Low levels over a customizable lookback period.
Instant CHoCH Identification: Captures CHoCH immediately after a BOS, stores the CHoCH level, and monitors for a subsequent break back.
Automatic “CHoCH after BOS” Alerts: Only triggers when CHoCH happens right after an unprocessed BOS, ensuring you never miss critical signals.
Visual Overlay: Plots the CHoCH level on the chart and attaches a “CHoCH” label at the exact breakout point for easy historical reference.
User Parameters:
Lookback Swing Length (default 50): Number of bars used to calculate Swing High/Low.
Structure Display: Toggle labels for BOS and CHoCH in both internal and swing structures.
Confluence Filter: Filters out weak breakouts to reduce noise.
Label Count & Size, Colors: Customize to suit personal preferences and chart aesthetics.
Quick Start Guide:
Install: Paste the script into TradingView’s Pine Editor, save, and add it to your chart.
Add Alerts: In TradingView’s Alert dialog, select “Bullish CHoCH after BOS” or “Bearish CHoCH after BOS” to receive notifications via email or popup.
Monitor: Whenever the price breaks the stored CHoCH level after a BOS, a popup will appear and a “CHoCH” label will be placed on the chart, helping you make timely decisions.
With this indicator, you can proactively capture key structural shifts in the market and optimize your trading strategy based on clear, reliable signals.
Enhanced Volume with Avg & 5x HighlightEnhanced Volume with Avg & 5x Highlight.
IT HELP TO CHECK THE CHART
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.
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
---
M2 Global Liquidity Index X Days DeltaCapture the delta between different global M2 time lags, and utilize width to increase or decrease the span between the two.
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
🐢 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.
4 Closes + Current Price SMAThis calculates the 5 day Simple Moving Average in the same way that the backtester in Option Omega does, by using the 4 previous closes and current price of the 5th day.
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.
KI_30wmaWeekly EMA with Label
This indicator plots the Weekly EMA on any timeframe chart and shows a clean label for easy reference. Useful for tracking higher timeframe trend support or resistance zones.
Líneas Horizontales cada 100 Pips - XAUUSDlineas horizontales, del oro cada 100pips para valores sicologicos y tener una mejor operativa
Uptrend Filter: Price > 50 & 200 MA + Upward SlopeThis indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:
Price is above both the 50-day and 200-day moving averages
Both moving averages are sloping upward (positive momentum)
When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.
🧠 Why it works:
The 50-day MA reflects medium-term momentum.
The 200-day MA represents the long-term trend.
When both are aligned and sloping upward, it confirms strong market structure and trend health.
🧰 Best used for:
Token screening (e.g., filtering altcoins)
Momentum-based entries
Trend confirmation
Risk filtering in strategy backtesting