Hypothesis TF Strategy EvaluationThis script provides a statistical evaluation framework for trend-following strategies by examining whether mean returns (measured here as 1-period Rate of Change, ROC) differ significantly across different price quantile groups.
Specifically, it:
Calculates rolling 25th (Q1) and 75th (Q3) percentile levels of price over a user-defined window.
Classifies returns into three groups based on whether price is above Q3, between Q1 and Q3, or below Q1.
Computes mean returns and sample sizes for each group.
Performs Welch's t-tests (which account for unequal variances) between groups to assess if their mean returns differ significantly.
Displays results in two tables:
Summary Table: Shows mean ROC and number of observations for each group.
Hypothesis Testing Table: Shows pairwise t-statistics with significance stars for 95% and 99% confidence levels.
Key Features
Rolling quantile calculations: Captures local price distributions dynamically.
Robust hypothesis testing: Welch's t-test allows for heteroskedasticity between groups.
Significance indicators: Easy visual interpretation with "*" (95%) and "**" (99%) significance levels.
Visual aids: Plots Q1 and Q3 levels on the price chart for intuitive understanding.
Extensible and transparent: Fully commented code that emphasizes the evaluation process rather than trading signals.
Important Notes
Not a trading strategy: This script is intended as a tool for research and validation, not as a standalone trading system.
Look-ahead bias caution: The calculation carefully avoids look-ahead bias by computing quantiles and ROC values only on past data at each point.
Users must ensure look-ahead bias is removed when applying this or similar methods, as look-ahead bias would artificially inflate performance and statistical significance.
The statistical tests rely on the assumption of independent samples, which might not fully hold in financial time series but still provide useful insights
Usage Suggestions
Use this evaluation framework to validate hypotheses about the behavior of returns under different price regimes.
Integrate with your strategy development workflow to test whether certain market conditions produce statistically distinct return distributions.
Example
In this example, the script was run with a quantile length of 20 bars and a lookback of 500 bars for ROC classification.
We consider a simple hypothetical "strategy":
Go long if the previous bar closed above Q3 the 75th percentile).
Go short if the previous bar closed below Q1 (the 25th percentile).
Stay in cash if the previous close was between Q1 and Q3.
The screenshot below demonstrates the results of this evaluation. Surprisingly, the "long" group shows a negative average return, while the "short" group has a positive average return, indicating mean reversion rather than trend following.
The hypothesis testing table confirms that the only statistically significant difference (at 95% or higher confidence) is between the above Q3 and below Q1 groups, suggesting a meaningful divergence in their return behavior.
This highlights how this framework can help validate or challenge intuitive assumptions about strategy performance through rigorous statistical testing.
Educational
SulLaLuna PO3 Acceleration Tracker### 🚀 **Power of 3 Acceleration Script | Enter the Cave of Wonder 🧙♂️**
> *“When we find the God Candle, we don’t just ride it—we ritualize it.”*
> — The Calzolaio Way
🌕 The **SulLaLuna PO3 Acceleration Tracker** is a tool born from Smart Money theory, built with surgical logic, and forged to ride the **acceleration phase** with confluence and confidence.
Inspired by the teachings of (youtu.be), this indicator captures the moment of explosive expansion—the candle after the manipulation wick, the price action spark that ignites the trend.
---
### ⚔️ The PO3 Framework (ICT)
* **Accumulation** – Compression, trap laid
* **Manipulation** – Liquidity taken, fakeouts triggered
* **Expansion** – God Candle. This is where we enter.
This script automatically detects that exact **post-manipulation acceleration** candle and plots:
* ✅ TP/SL based on risk-reward
* ✅ Dynamic trend dashboard (15m to 1D)
* ✅ Long/Short trade markers
* ✅ Custom alerts and dashboard positioning
---
### 🔁 **Use Confluence**
> ⚠️ *No entry should ever be made on one signal alone.*
For optimal precision, pair this script with a **trend-strength and momentum filter**.
I personally use (), a brilliant tool that dynamically adapts to volatility and momentum changes using a responsive EMA and wave strength logic. It's CC BY-NC-SA 4.0 licensed and adds serious edge in distinguishing true trends from false breaks.
💡 Look for PO3 entries that align with:
* ✅ Bullish dominance in trend speed
* ✅ Dynamic EMA slope support
* ✅ MTF Trend agreement on the SulLaLuna dashboard
---
### ✨ The Cave of Wonder
This is more than just a script—this is your **map**.
The Cave of Wonder isn’t a place, it’s a **process**. Each PO3 entry is a torch lighting the path deeper into the vaults of financial freedom.
When you use this with **discipline**, **data**, and **divine timing**, you don't just take trades.
You take **territory**.
---
### 🔗 Try It. Trade It. Ritualize It.
🛠️ Built by @Calzolaio
🎓 Based on PO3 by @TheMovingAverage
📊 Powered by trend confluence from @Zeiierman
> “Capture the Acceleration. Honor the Trend. Trade with the Moon.” 🌕
HTF OHLC Candle + 50% @MaxMaseratiHTF OHLC Candle + 50% @MaxMaserati
This advanced multi-timeframe indicator displays higher timeframe OHLC data as visual candle boxes and extended key levels on lower timeframe charts, providing essential context for institutional trading decisions.
Core Functionality:
Multi-Timeframe Box Display:
Main Timeframe Box (Default H4): Shows complete higher timeframe candles as colored boxes with separate body and wick visualization, including bullish (green) and bearish (red) candle representation with customizable transparency levels.
Independent Box 2 (Default M15): Secondary timeframe display with lime/fuchsia color scheme, allowing traders to monitor intermediate timeframes simultaneously with different visual styling.
Independent Box 3 (Default H1): Third independent timeframe with blue/orange color scheme, providing additional context for multi-timeframe analysis and confluence identification.
OHLC Level Analysis:
Each timeframe box includes individual Open, High, Low, and Close level lines with customizable colors and visibility settings. These levels act as key support and resistance zones that institutional traders often respect.
50% Retracement Levels:
Automatic calculation and display of 50% levels between each timeframe's high and low, representing critical equilibrium zones where price often finds support or resistance during retracements.
Extended Line System:
Current Live Timeframe Extended Lines: Real-time extension of the forming candle's Open, High, Low, and 50% levels with customizable line weights and label positioning.
TF2 Extended Lines (Default H4): Previous completed candle's key levels extended forward, showing immediate higher timeframe reference points for current price action.
TF3 Extended Lines (Default Daily): Longer-term reference levels from daily or weekly timeframes, providing macro trend context and major institutional levels.
Key Features:
Smart Timeframe Detection: Only displays boxes for timeframes higher than the current chart timeframe, preventing redundant information and maintaining chart clarity.
Global Box Limit Control: Intelligent cleanup system that maintains optimal performance by limiting total displayed elements while preserving the most recent and relevant timeframe periods.
Comprehensive Customization: Full control over colors, transparency, line weights, label sizes, and visibility for each timeframe component, allowing personalized setups for different trading styles.
Label System: Automatic timeframe identification labels (H4, M15, D1, etc.) positioned on each box for instant timeframe recognition and clear multi-timeframe organization.
Current Candle Options: Optional display of forming/current candles for each timeframe, enabling real-time monitoring of developing price action and potential setup completion.
This indicator is essential for traders utilizing multi-timeframe analysis, institutional trading concepts, and higher timeframe confluence strategies, providing clear visual representation of key levels and candle structures that drive major market movements.
Williams Percent Range with ThresholdEnhance your trading analysis with the "Williams Percent Range with Threshold" indicator, a powerful modification of the classic Williams %R oscillator. This custom version introduces customizable uptrend and downtrend thresholds, combined with dynamic candlestick coloring to visually highlight market trends. Originally designed to identify overbought and oversold conditions, this script takes it a step further by allowing traders to define specific threshold levels for trend detection, making it a versatile tool for momentum and trend-following strategies.
Key Features:
Customizable Thresholds: Set your own uptrend (default: -16) and downtrend (default: -67) thresholds to adapt the indicator to your trading style.
Dynamic Candlestick Coloring: Candles turn green during uptrends, red during downtrends, and gray in neutral conditions, providing an intuitive visual cue directly on the price chart.
Flexible Length: Adjust the lookback period (default: 50) to fine-tune sensitivity.
Overlay Design: Integrates seamlessly with your price chart, enhancing readability without clutter.
How It Works:
The Williams %R calculates the current closing price's position relative to the highest and lowest prices over a specified period, expressed as a percentage between -100 and 0. This version adds trend detection based on user-defined thresholds, with candlestick colors reflecting the trend state. The indicator plots the %R line with color changes (green for uptrend, red for downtrend) and includes dashed lines for the custom thresholds.
Usage Tips:
Use the uptrend threshold (-16 by default) to identify potential buying opportunities when %R exceeds this level.
Apply the downtrend threshold (-67 by default) to spot selling opportunities when %R falls below.
Combine with other indicators (e.g., moving averages or support/resistance levels) for confirmation signals.
Adjust the length and thresholds based on the asset's volatility and your trading timeframe.
Intraday Momentum StrategyExplanation of the StrategyIndicators:Fast and Slow EMA: A crossover of the 9-period EMA over the 21-period EMA signals a bullish trend (long entry), while a crossunder signals a bearish trend (short entry).
RSI: Ensures entries are not in overbought (RSI > 70) or oversold (RSI < 30) conditions to avoid reversals.
VWAP: Acts as a dynamic support/resistance. Long entries require the price to be above VWAP, and short entries require it to be below.
Trading Session:The strategy only trades during a user-defined session (e.g., 9:30 AM to 3:45 PM, typical for US markets).
All positions are closed at the session end to avoid overnight risk.
Risk Management:Stop Loss: 1% below/above the entry price for long/short positions.
Take Profit: 2% above/below the entry price for long/short positions.
These can be adjusted via inputs for optimization.
Position Sizing:Fixed lot size of 1 for simplicity. Adjust based on your account size during backtesting.
Zig Zag with HHLLThis powerful tool calculates and displays two Zig Zag patterns simultaneously while dynamically identifying key market structure points—Higher Highs (HH), Lower Lows (LL), Higher Lows (HL), and Lower Highs (LH).
Because the script is dynamic, the most recent HH, HL, LL, or LH can update in real-time as price action evolves. For example, if the price continues to rise, a previously marked HL may be reclassified as an LL. Likewise, a falling LH may later turn into a HH if the market reverses.
This script is versatile and can be applied to various trading strategies, including trend analysis, support and resistance identification, breakout setups, and more.
Added a new input parameter decimals that allows you to control the decimal precision:
Set to -1 (default) for automatic detection based on the symbol's minimum tick size
Set to 0-8 for a specific number of decimal places.
How it works:
Auto mode (decimals = -1): The script automatically determines how many decimal places to show based on the instrument's minimum tick size. For example:
Forex pairs (0.00001) → 5 decimals
Stocks ($0.01) → 2 decimals
Crypto (0.00000001) → 8 decimals
Manual mode (decimals = 0-8): You can force a specific number of decimal places if needed
6FG Plan Checklist & Alerts - Final Version🧠 SCRIPT OVERVIEW: "6FG A+ SETUP - Simplified"
This script is designed to identify high-probability A+ trade setups in alignment with your personal 6FG trading plan, based on:
H1 Break of Structure (required)
4H trend confirmation
15M candle confirmation
Session filter
A+ Label & Visual Table Checklist
✅ KEY COMPONENTS
1. Toggle Inputs
These allow you to customize your view and filters without changing the code:
showSession: Only allow alerts inside Asian or NY sessions
show4hTrend: Include or ignore 4H directional bias
show15mConfirm: Include or ignore confirmation from 15M candles
showTable: Display checklist table on chart
showLabel: Display the “✅ A+” label on qualifying bars
2. Session Filter
Defines valid timeframes for trading (Asian or New York)
Helps avoid setups during low-liquidity hours
Controlled by showSession
3. 4H Trend (Confirmation Only)
Uses a 20-period SMA on 4H to detect general bias:
Bullish = Price above SMA
Bearish = Price below SMA
This trend is not mandatory for an alert if toggle is off
4. H1 Break of Structure (REQUIRED)
Looks at the highest high and lowest low of the last 10 candles on the 1H timeframe
Detects either:
Bullish BOS = Current close > highest high
Bearish BOS = Current close < lowest low
This is the core trigger for the A+ setup
If BOS doesn't happen, no entry is valid
5. 15M Confirmation Candles
(Optional - controlled by show15mConfirm)
Checks for one of three confirmation patterns:
Bullish Engulfing
Bearish Engulfing
Pin Bar
This adds confidence but can be toggled off
6. Entry Conditions (A+ Setup)
All the following must be true for entryOK = true:
✅ H1 BOS (required)
✅ Session is valid (if toggle is on)
✅ 15M confirmation pattern (if toggle is on)
✅ 4H trend (if toggle is on)
7. Visual Output
If entryOK = true:
✅ A green "A+" label appears below price
✅ A checklist table on the top-right shows:
Session status ✔️❌
4H bullish/bearish ✔️❌
H1 BOS ✔️❌
15M confirmation ✔️❌
Final Direction: Bullish / Bearish / —
A+ Setup: ✔️❌
8. Alerts
You will receive a TradingView alert when an A+ Setup is detected:
FVG + IFVG Gap (ULTRA) by Aditya NejeThis Indicator shows Fair Value Gap and Inverse Fair Value gaps
S&R Zones MTF (TechnoBlooms)S&R Zones MTF – Multi-Timeframe Support & Resistance Boxes
🔍 Overview
S&R Zones MTF is a professional-grade yet beginner-friendly indicator that dynamically plots Support & Resistance zones across multiple timeframes, helping traders recognize high-probability reversal areas, entry confirmations, and price reaction points.
This tool visualizes structured zones as colored boxes, allowing both new and experienced traders to analyze multi-timeframe confluence with ease and clarity.
🧠 What Is This Indicator?
S&R Zones MTF automatically detects the most significant support and resistance levels from up to four custom timeframes, using a configurable lookback period. These zones are displayed as colored horizontal boxes directly on the chart, making it easy to:
Spot where price has historically reacted
Identify potential reversal or breakout zones
Confirm entries with institutional-style precision
🛠️ Key Features
✅ Multi-Timeframe Zone Detection (up to 4 timeframes)
📦 Auto Plotted Boxes for Support (Blue) & Resistance (Pink)
🧱 Dynamic Height based on average price range or fixed input
🏷️ Timeframe Labels to instantly identify zone origin
🎛️ Customizable inputs: Lookback length, box color, height style
🔁 Real-time updates as price structure changes
🎓 Educational & Easy to Use
Whether you’re a new trader learning about price structure, or a professional applying institutional concepts, this tool offers an educational layout to understand:
How price respects historic zones
Why multi-timeframe zones offer stronger confluence
How to use zones for entry, exit, or risk placement
📈 How to Use (Multi-Timeframe Strategy)
Select Your Timeframes – Customize up to 4 higher timeframes (e.g., 1m, 5m, 15m, 1h).
Observe Overlapping Zones – When multiple timeframes agree, those zones are more significant.
Entry Confirmation – Wait for price to reach a zone, then look for reversal patterns (engulfing candle, pin bar, etc.)
Combine with Other Tools – Use alongside indicators like RSI, MACD, or Order Blocks for added confidence.
💡 Pro Tips
Zones from higher timeframes (1H, 4H) are often more powerful and reliable.
Confluence matters: If a 15m support zone aligns with a 1H support zone — that's a high-probability reaction area.
Use break-and-retest strategies with zone rejections for sniper entries.
Enable "Auto Height" for a more adaptive, volatility-based zone display.
🌟 Summary
S&R Zones MTF blends precision, clarity, and professional analysis into a visual structure that’s easy to understand. Whether you're learning support & resistance or optimizing your MTF edge — this tool will bring clarity to your charts and confidence to your trades.
🗓️ Day Separator🗓️ Day Separator – Visual Day Markers for Your Chart
This script adds automatic vertical lines to visually separate each trading day on your chart. It helps you quickly identify where each day starts and ends — especially useful for intraday and scalping strategies.
✅ Features:
Distinct colored lines for each weekday (Monday to Friday)
Optional day-of-week labels (toggle on/off)
Custom label position (top or bottom of the chart)
Works on any timeframe
Whether you're tracking market sessions or reviewing daily price action, this tool gives you a clean structure to navigate your charts with more clarity.
Advanced DMA Pattern Detection SystemAdvanced DMA Pattern Detection System with Smart Intelligence
Professional-grade moving average indicator that combines traditional DMA analysis with advanced pattern recognition and probabilistic forecasting.
Core Features:
6 Key DMAs (5, 10, 20, 50, 100, 200) with descriptive labels showing trading purpose
Advanced Pattern Recognition - Detects Institutional Accumulation, Distribution Phases, Bull/Bear Transitions, and Choppy Markets
Probability Engine - Assigns confidence scores (0-100%) with Low/Medium/High classifications
Historical Validation - Tracks success rate of last 20 pattern signals for real performance data
Smart Alert System - Only triggers on significant pattern changes (20%+ probability shifts)
Dual Display System:
Movable Information Table - Shows current pattern, probability, confidence level, success rate, and recommended action
Chart Alerts & Background Colors - Visual confirmation of high-confidence setups (80%+ patterns)
Traditional DMA Labels - Clear identification of each average's trading significance
Complete Customization:
Master on/off controls for entire system
Individual toggles for all components (DMAs, table, alerts, colors)
Adjustable alert sensitivity (Conservative/Medium/Aggressive)
6 table positions to fit any chart layout
Perfect For: Swing traders, position traders, and anyone wanting systematic trend analysis with quantified probability scores rather than subjective interpretation.
Bottom Line: Transforms basic moving averages into an intelligent trading system that tells you exactly what the market structure means and what to do about it.
RSI First Condition SignalsBuy signal with the exit of RSI from the bottom to the top of the number 30.
Sell signal with RSI exit from above 70 to below. The longer the RSI stays above the overbought zone, i.e above 70, and then breaks below 70,
the stronger the sell signal.
The longer the RSI stays below thw oversold zone, i.e. below 70, and then exits above 30,the stronger the buy signal.
And if the RSI exits below the 70 line with a steeper slope, the sell signal is valid.
And if the RSI exits with a steeper slope above 30, the buy signal is valid .
BE-Indicator Aggregator toolkit█ Overview:
BE-Indicator Aggregator toolkit is a toolkit which is built for those we rely on taking multi-confirmation from different indicators available with the traders. This Toolkit aid's traders in understanding their custom logic for their trade setups and provides the summarized results on how it performed over the past.
█ How It Works:
Load the external indicator plots in the indicator input setting
Provide your custom logic for the trade setup
Set your expected SL & TP values
█ Legends, Definitions & Logic Building Rules:
Building the logic for your trade setup plays a pivotal role in the toolkit, it shall be broken into parts and toolkit aims to understand each of the logical parts of your setup and interpret the outcome as trade accuracy.
Toolkit broadly aims to understand 4 types of inputs in "Condition Builder"
Comments : Line which starts with single quotation ( ' ) shall be ignored by toolkit while understanding the logic.
Note: Blank line space or less than 3 characters are treated equally to comments.
Long Condition: Line which starts with " L- " shall be considered for identifying Long setups.
Short Condition: Line which starts with " S- " shall be considered for identifying Short setups.
Variables: Line which starts with " VAR- " shall be considered as variables. Variables can be one such criteria for Long or short condition.
Building Rules: Define all variables first then specify the condition. The usual declare and assign concept of programming. :p)
Criteria Rules: Criteria are individual logic for your one parent condition. multiple criteria can be present in one condition. Each parameter should be delimited with ' | ' key and each criteria should be delimited with ' , ' (Comma with a space - IMPORTANT!!!)
█ Sample Codes for Conditional Builder:
For Trading Long when Open = Low
For Trading Short when Open = High with a Red candle
'Long Setup <---- Comment
L-O|E|L
' E <- in the above line refers to Equals ' = '
'Short Setup
S-AND:O|E|H, O|G|C
' 2 Criteria for used building one condition. Since, both have to satisfied used "AND:" logic.
Understanding of Operator Legends:
"E" => Refers to Equals
"NE" => Refers to Not Equals
"NEOR" => Logical value is Either Comparing value 1 or Comparing value 2
"NEAND" => Logical value is Comparing value 1 And Comparing value 2
"G" => Logical value Greater than Comparing value 1
"GE" => Logical value Greater than and equal to Comparing value 1
"L" => Logical value Lesser than Comparing value 1
"LE" => Logical value Lesser than and equal to Comparing value 1
"B" => Logical value is Between Comparing value 1 & Comparing value 2
"BE" => Logical value is Between or Equal to Comparing value 1 & Comparing value 2
"OSE" => Logical value is Outside of Comparing value 1 & Comparing value 2
"OSI" => Logical value is Outside or Equal to Comparing value 1 & Comparing value 2
"ERR" => Logical value is 'na'
"NERR" => Logical value is not 'na'
"CO" => Logical value Crossed Over Comparing value 1
"CU" => Logical value Crossed Under Comparing value 1
Understanding of Condition Legends:
AND: -> All criteria's to be satisfied for the condition to be True.
NAND: -> Output of AND condition shall be Inversed for the condition to be True.
OR: -> One of criteria to be satisfied for the condition to be True.
NOR: -> Output of OR condition shall be Inversed for the condition to be True.
ATLEAST:X: -> At-least X no of criteria to be satisfied for the condition to be True.
Note: "X" can be any number
NATLEAST:X: -> Output of ATLEAST condition shall be Inversed for the condition to be True
WASTRUE:X: -> Single criteria WAS TRUE within X bar in past for the condition to be True.
Note: "X" can be any number.
ISTRUE:X: -> Single criteria is TRUE since X bar in past for the condition to be True.
Note: "X" can be any number.
Understanding of Variable Legends:
While Condition Supports 8 Types, Variable supports only 6 Types listed below
AND: -> All criteria's to be satisfied for the Variable to be True.
NAND: -> Output of AND condition shall be Inversed for the Variable to be True.
OR: -> One of criteria to be satisfied for the Variable to be True.
NOR: -> Output of OR condition shall be Inversed for the Variable to be True.
ATLEAST:X: -> At-least X no of criteria to be satisfied for the Variable to be True.
Note: "X" can be any number
NATLEAST:X: -> Output of ATLEAST condition shall be Inversed for the Variable to be True
█ Sample Outputs with Logics:
1. RSI Indicator + Technical Indicator: StopLoss: 2.25 against Reward ratio of 1.75 (3.94 value)
Plots Used in Indicator Settings:
Source 1:- RSI
Source 2:- RSI Based MA
Source 3:- Strong Buy
Source 4:- Strong Sell
Logic Used:
For Long Setup : RSI Should be above RSI Based MA, RSI has been Rising when compared to 3 candles ago, Technical Indicator signaled for a Strong Buy on the current candle, however in last 6 candles Technical indicator signaled for Strong Sell.
Similarly Inverse for Short Setup.
L-AND:ES1|GE|ES2, ES1|G|ES1
L-ES3|E|1
L-OR:ES4 |E|1, ES4 |E|1, ES4 |E|1, ES4 |E|1, ES4 |E|1, ES4 |E|1
S-AND:ES1|LE|ES2, ES1|L|ES1
S-ES4|E|1
S-OR:ES3 |E|1, ES3 |E|1, ES3 |E|1, ES3 |E|1, ES3 |E|1, ES3 |E|1
'Note: Last OR condition can also be written by using WASTRUE definition like below
'L-WASTRUE:6:ES4|E|1
'S-WASTRUE:6:ES3|E|1
Output:
2. Volumatic Support / Resistance Levels :
Plots Used in Indicator Settings:
Source 1:- Resistance
Source 2:- Support
Logic Used:
For Long Setup : Long Trade on Liquidity Support.
For Short Setup : Short Trade on Liquidity Resistance.
'Variable Named "ChkLowTradingAbvSupport" is declared to check if last 3 candles is trading above support line of liquidity.
VAR-ChkLowTradingAbvSupport:AND:L|G|ES2, L |G|ES2, L |G|ES2
'Variable Named "ChkCurBarClsdAbv4thBarHigh" is declared to check if current bar closed above the high of previous candle where the Liquidity support is taken (4th Bar).
VAR-ChkCurBarClsdAbv4thBarHigh:OR:C|GE|H , L|G|H
'Combining Condition and Variable to Initiate Long Trade Logic
L-L |LE|ES2
L-AND:ChkLowTradingAbvSupport, ChkCurBarClsdAbv4thBarHigh
VAR-ChkHghTradingBlwRes:AND:H|L|ES1, H |L|ES1, H |L|ES1
VAR-ChkCurBarClsdBlw4thBarLow:OR:C|LE|L , H|L|L
S-H |GE|ES1
S-AND:ChkHghTradingBlwRes, ChkCurBarClsdBlw4thBarLow
Output 1: Day Trading Version
Output 2: Scalper Version
Output 3: Position Version
3 EMA Signal with Cleaned Dual Entry Logic3-EMA Trend Following Indicator with Buy/Sell Signals
EMA1 = Slow EMA (default 100)
EMA2 = Fast EMA (default 10)
EMA3 = Medium EMA (default 20)
Trend is bullish when EMA2 and EMA3 are above EMA1
Buy when EMA2 crosses above EMA3 in bullish trend
Sell when EMA2 crosses below EMA3 in bearish trend
Entry and exit points are plotted on chart
Gold vs DXYThe 30-day rolling correlation between Gold (XAU/USD) and the US Dollar Index (DXY) shows how closely the two move together — or more often, in opposite directions — over the last 30 trading days. In most market environments, the relationship is pretty straightforward: when the dollar goes up, gold tends to go down, and vice versa. That’s because gold is priced in dollars, so a stronger dollar makes it more expensive for international buyers, which usually softens demand.
But it’s not always that simple. There are times when this inverse correlation breaks down. For example, if real yields (like the US 10-year yield minus inflation expectations) are rising, that can pressure gold even if the dollar is falling — because higher real returns elsewhere make gold less attractive. Another case is when other currencies, like the euro or yen, rally strongly on their own central bank decisions. This can pull DXY lower without necessarily signaling weakness in the U.S. economy — meaning gold might not benefit much.
There are also “risk-on” moments where investors rotate into equities or crypto, selling off both gold and the dollar in favor of yield or momentum. And during periods of crisis or uncertainty, both gold and the dollar can rise together as safe-haven assets, breaking the usual pattern entirely.
That’s why tracking the rolling correlation is helpful. It shows whether the historical relationship between gold and the dollar is still holding — or if we’re entering a different market regime. It’s not about predicting exact price moves, but about understanding the current backdrop. When gold and DXY are moving out of sync as expected, it can support your trade thesis. But when the correlation flattens or flips, it’s often a sign to dig deeper — macro forces may be shifting.
TQQQ Live PnL TrackerTQQQ PnL Tracker by IceTrader Team - #MakeMyPortfolioGreatAgain
Once you add the script, modify this section of the code to match your exact TQQQ order and start tracking its Profit/Loss.
code block:
entryPrice = 86.65 (set the price at which you bought)
positionSize = 1155 (set the exact quantity of stocks you bought)
direction = "Long" (Change to "Short" if it's a short trade)
🧪 Yuri Garcia Smart Money Strategy FULL (Slope Divergence))📣 Yuri Garcia – Smart Money Strategy FULL
This is my private Smart Money Concept strategy, designed for my family and community to learn, trade, and grow sustainably.
🔑 How it works:
✅ Volume Cluster Zones: Automatically detects areas where strong buyers or sellers concentrate, acting as dynamic S/R levels.
✅ HTF Institutional Zones (4H): Higher timeframe trend filter ensures you’re always trading in the direction of major flows.
✅ Wick Pullback Filter: Confirms price rejects the zone, catching smart money traps and reversals.
✅ Cumulative Delta (CVD): Confirms whether buyers or sellers are truly in control.
✅ Slope-Based Divergence: Optional hidden divergence between price & CVD to spot reversals others miss.
✅ ATR Dynamic SL/TP: Adapts stop loss and take profit to live volatility with adjustable risk/reward.
🧩 Visual Markers Explained:
🟦 Blue X: Price inside HTF zone
🟨 Yellow X: Price inside Volume Cluster zone
🟧 Orange Circle: Wick pullback detected
🟥 Red Square: CVD confirms order flow strength
🔼 Aqua Triangle Up: Bullish slope divergence
🔽 Purple Triangle Down: Bearish slope divergence
🟢 Green Triangle Up: Final Long Entry confirmed
🔴 Red Triangle Down: Final Short Entry confirmed
⚡ Who is this for?
This strategy is best suited for traders who understand smart money concepts, order flow, and want an adaptive framework to trade major assets like BTC, Gold, SP500, NASDAQ, or FX pairs.
🔒 Important
Use responsibly, backtest extensively, and combine with solid risk management. This is for educational purposes only.
✨ Credits
Built with ❤️ by Yuri Garcia – dedicated to my family & community.
✅ How to use it
1️⃣ Add to chart
2️⃣ Adjust inputs for your asset & timeframe
3️⃣ Enable/disable slope divergence filter to match your style
4️⃣ Set your alerts with built-in conditions
Volume Delta Pressure Tracker ⚡ by GSK-VIZAG-AP-INDIA📢 Title:
Volume Delta Pressure Tracker ⚡ by GSK-VIZAG-AP-INDIA
📝 Short Description (for script title box):
Real-time volume pressure tracker with estimated Buy/Sell volumes and Delta visualization in an Indian-friendly format (K, L, Cr).
📃 Full Description
🔍 Overview:
This indicator estimates buy and sell volumes using candle structure (OHLC) and displays a real-time delta table for the last N candles. It provides traders with a quick view of volume imbalance (pressure) — often indicating strength behind price moves.
📊 Features:
📈 Buy/Sell Volume Estimation using the candle’s OHLC and Volume.
⚖️ Delta Calculation (Buy Vol - Sell Vol) to detect pressure zones.
📅 Time-stamped Table displaying:
Time (HH:MM)
Buy Volume (Green)
Sell Volume (Red)
Delta (Color-coded)
🔢 Indian Number Format (K = Thousands, L = Lakhs, Cr = Crores).
🧠 Fully auto-calculated — no need for tick-by-tick bid/ask feed.
📍 Neatly placed bottom-right table, customizable number of rows.
🛠️ Inputs:
Show Table: Toggle the table on/off
Number of Bars to Show: Choose how many recent candles to include (5–50)
🎯 Use Cases:
Identify hidden buyer/seller strength
Detect volume absorption or exhaustion
✅ Compatibility:
Works on any timeframe
Ideal for intraday instruments like NIFTY, BANKNIFTY, etc.
Ideal for volume-based strategy confirmation.
🖋️ Developed by:
GSK-VIZAG-AP-INDIA
ATR: Тело % + Диапазоны и АномалииEssentially, this combined indicator is a powerful tool for:
Analyzing candlestick anatomy: Quickly understanding how much of a candlestick’s overall range is in its body, indicating the strength of buying or selling pressure versus uncertainty.
Volatility estimates: Understanding the typical pip range of bars, adjusted for the tick size of the instrument.
Identifying anomalies: Highlighting unusually small or large bar ranges that may signal changes in market momentum or significant events.
Average range filtering: Providing a clearer picture of average market volatility by excluding extreme outliers from the calculation.
This comprehensive approach can help traders make more informed decisions by gaining a deeper understanding of the nuances of price action and market volatility.
SessionsSession 10-12 12-16 1630-1830
Including HOD/LOD for different sessions.
Session 10:00 - 12: 00
Session 12:00 - 16:00
Session 16:30 - 18:30
Bollinger Bands📊 Bollinger Bands Strategy: Ride the Waves of Volatility 🌊
Bollinger Bands are a powerful tool to identify overbought and oversold conditions, volatility breakouts, and price reversals. This strategy uses:
🔹 Middle Band – 20-period simple moving average
🔹 Upper & Lower Bands – 2 standard deviations away from the SMA
💡 Strategy Logic:
Buy Entry: When price closes below the lower band and RSI < 30 → Expect mean reversion.
Sell Entry: When price closes above the upper band and RSI > 70 → Possible pullback.
Exit: Near middle band or opposite band.
📈 You can also use Bollinger Band squeezes to detect upcoming breakouts. Less distance = low volatility → Expansion = potential big move!
🧠 Great for swing trading or intraday scalping with proper risk management.