Schaff Trend Cycle + Double MAThis strategy uses two different moving averages to determine a trend. It opens a position on a pullback from a trend.
Conditions for buy signal are:
►Crossover out of Shaff Trend Cycle's extreme levels
►The price is above its short period exponential moving average.
►A short period exponential moving average is above a long period exponential moving average.
*Conditions for sell are the opposite.
All in all, I don't think it needs to be on your chart but it can be optimized and even successful on some timeframes.
Shaff Trend Cycle solution was provided by @everget, I converted his script to Pine v.4, added exponential averages and created an algorithm for backtesting.
ابحث في النصوص البرمجية عن "backtesting"
expected range STRATEGYThis is the strategy version of "expected range STUDY". The buy and sell signals are generated with the study version, but what is displayed on the chart is different. Here, the PnL of each trade is shown on the chart, as well as the peak profit point of each trade up till the present. Black areas represent take profit and waiting for the next trade to start. Green = long. Red = short. Set to take profit at 53% and stoploss is set to -7%. Having a stoploss trigger does not put a black area on the chart. For the XBTUSD 2 hour chart, but use it however you like on whatever chart for backtesting.
Enjoy. Don't get rekt. A good backtest doesn't mean a good forward test. Use at your own risk.
expected range STUDYThis is an indicator that measures how much price movement (low to high) we've seen in a set of 1 bar back, 2 bars back, 3 bars back, 5 bars back, 8 bars back using the Fibonacci sequence up to 89 bars back, and then measures how low or high within each range we are, sort of like giving a rating of 0 for sitting on the lower Bollinger Band and a rating of 100 for sitting on the higher Bollinger band. It combines all the data and weights the data by the historical strength of signal from each length of bands. It's been tuned to a 2 hour XBTUSD chart, but it could be used on other things and other timeframes too. Some tweaking would be needed, though. The final result works more like a trend following indictor than and indicator that tries to pick an exact trend reversal point. However, you're free to use it how you want. Frequently you get a nice red or green spike up showing you when the bottom or top is in, but sometimes those spikes are just the start of an extended down move or up move.
On the chart, a buy (long) signal is generated when the green line crosses up above the orange line. To make it extra clear the background is green when you should be long. A sell (short) signal is generated with the red line crosses up above the yellow line. The background will be red when you should be short. If the background is black, it's indicating a profit of over 53% was taken and it's waiting for another trade to start. Up to you to take profit or keep riding your trade.
For XBTUSD trades, a full take profit on any trade exceeding 53% gains works nice (on 1x leverage) and a stoploss of -7% works quite nicely too. One could use this on up to 2x leverage but I wouldn't recommend going much higher. Have fun. Trade carefully. Don't get rekt.
I will release the "expected range STRATEGY" to go along with this so you can do your own backtesting.
Disclaimer: I haven't tested the alerts, but they should work. Use at your own risk.
Heiken-Ashi CandlesSimple script to view Heiken-Ashi candles below a normal candles chart.
Could also be useful for using HA calcs in strategy scripts on normal candles chart for proper backtesting.
I adapted this to v4 from original v2 script by @samtsui. If you like please remember to give him a Thumbs Up for his original version! ->
Golden Cross by -Westy-Quick Guide
- Yellow cross and green MA on top = Potential uptrend
- Yellow cross and red MA on top = Potential downtrend
A simple golden cross indicator of the green 50 and red 200 SMA with a yellow cross for ease of visibility and backtesting.
Generally, longer time frames more powerful signals but are less frequent. I typically use it on the 4 hour, daily and weekly.
Complete turtles strategy based on the donchian channelsDear Traders and investor,
I want to demonstrate scrypt of the iconic "trend following strategy" coded by my
The main idea was borrowed from the book "Way of the Turtle: The Secret Methods that Turned Ordinary People into Legendary". The strategy is based on the donchian channels and is one of the oldest and easiest strategy in the using. Also strategy include risk managment and trends filter which prevent false entries and high drawndowns. The results are based on the period from 2006 to present, but you can also change timeframe and period of backtesting.
Best regards,
Vlad
SimpleCrossOver_BotThis is a simple example of how you can compile your own strategy
This script contains the code for alerts and for backtesting.
In order to use the backtester, comment out the sections to be used for signals, and comment in the sections to be used on the back tester, and visa versa for using the script for alerts in order to automate your own bot.
Awesome Oscillator.MMouse_Lager_BCEAwesome Oscillator with added options for turning short trades on and off, as well as a start date for backtesting.
Pivot Reversal Strategy - TimeFramedThis is Pivot Reversal Strategy including the time frames for backtesting.
3 Duck's Trading System from Babypips.comThe 3 Duck's Trading System from Babypips.com
The 3 Duck's Trading System is the most popular and active trading system thread on the the babypips.com forum. It is a system that is mainly for beginners because it teaches you discipline, learning to cope with price moving against your position and learning to stay in a trade and keep profits running. For the thread and more info on the 3 Duck's Trading System click here
How does it work?
The system is a very simple enter/exit based on the 60 SMA of 3 different time frames: 4 hour, 1 hour and 5 minute.
The Rules, er, the Ducks! The Ducks must all be in a row for a trade to take place!
Duck 1 - To go long, price must be above the 60 SMA on the 4 hour chart.
Duck 2 - To go long, price must be above the 60 SMA on the 1 hour chart.
Duck 3 - To go long, price must cross above the 60 SMA on the 5 minute chart and the 60 SMA of the 5 minute chart must be below that of the 4 hour and 1 hour chart. (obviously the reverse for shorting)
YOU MUST USE THIS SYSTEM ONLY ON THE 5 MINUTE CHART.
I say this because I have already charted all of the Ducks into the 5 minute chart so you don't have to flip back and forth.
I have also added some inputs for profit targets, stop targets, trailing stops and times to trade for backtesting.
If you have any questions or comments, please let me know! If you see I messed up on something, please let me know!
Also a VERY special thanks to the babypips.com user Captain_Currency . He wrote this strategy 10 years ago (2007 was 10 years ago?!) and he is still active on the thread and posting results and offering help!
Adam Smith - MovingAvg CrossSimple Moving Average Cross script. Test on stocks and currency. For stocks test shorter time periods, meaning intra-day time periods such as 3min to 30min and so on to fit what is best. For currency, try longer periods with this model such as day to weeks depending on which currency.
NOTE: Take a look at your Max Drawdowns when testing. This will be the main indicator once you figure out your time period for backtesting. This will also let you know how much money to save and/or hold back in savings for down periods.
Trend v4.0 Another updateYet another update, default settings can be customized to your needs. Be aware that while this is similar to the other versions, this can only repaint an active bar, but that slows it down by one period. You are warned. Be that as it may, the basic idea is the same; trying to capture the really strong moves into overbought or oversold territory as defined by Relative Strength index. In RSI mode, you can see the smoothing has slowed it down a bit, but warrants backtesting.
First green bar go long, First red bar go short, first white bar possible trend exhaustion. Or use crossovers and such, play with the inputs OB/OS, RSI length, signal length, tick length, swing length, as I said customize to your tastes. I offer no surety as to its efficacy, but we all learn.
Trade Responsibly,
Shiroki
FVG for Backtesting3-Candle Trend + FVG (15m) – v6
This indicator identifies three consecutive bullish or bearish candles on the 15-minute timeframe and highlights Fair Value Gaps (FVG) in the middle candle.
It displays:
Boxes marking the FVG zones
Labels showing “FVG”
Triangle signals for long (bullish) and short (bearish) setups
Fully compatible with Pine Script v6, it serves as a visual tool for spotting trend setups and potential trading opportunities.
Hash Ember StackOverview
Hash Ember Stack is a multi-period momentum visualizer that displays a structured view of market pressure across ten different lookback windows. It is designed to help operators assess how momentum behaves across short-term, intermediate, and long-term horizons using a unified ribbon-stack format.
The tool does not generate trading entries by itself; instead, it organizes momentum data so traders can better understand how multiple timeframes align or diverge.
Conceptual Framework
The indicator calculates momentum using one of three oscillator families:
RSI – measures velocity and magnitude of price movement
Stochastic – compares close relative to recent range
CCI – measures deviation from the average price
Each oscillator is normalized into a comparable 0–100 scale so all periods can share the same heatmap color logic. This creates a consistent visual framework regardless of which momentum type is selected.
The ten lookback periods range from very short (fast response) to very long (structural regime). Displaying them together helps illustrate momentum compression, expansion, clustering, or divergence across timeframes.
Ribbon Structure & Visual System
Each period is represented as a horizontal band (“ribbon”) with:
A fixed vertical height for readability
A heat-mapped color derived from momentum value
Optional spacing between ribbons to improve separation
The color system transitions from green (momentum weakness), through neutral tones, into red (momentum strength). These colors do not predict price direction; they simply map oscillator values into a standardized visual gradient.
Labels may be shown on the right side to indicate each ribbon’s lookback period.
Extreme Condition Detection (Optional)
The indicator can highlight situations where several momentum periods reach extreme conditions at the same time.
Oversold status is defined by user-selected thresholds
Overbought status uses an upper threshold
A fluorescent cross is plotted when a minimum number of ribbons meet these definitions
These markers do not produce trading signals; they are intended only to highlight statistically uncommon clustering of extreme momentum readings.
Inputs & Controls
Momentum Type – Selects which oscillator family is used
Smoothing – Applies an SMA to reduce noise
Ten customizable lookback periods – Short to macro momentum
Ribbon Height & Gap – Adjusts layout density
Period Labels – Enables lookback annotations
Extreme Signal Settings – Thresholds and minimum ribbon count
Signal Position – Above or below the ribbon stack
Intended Use
Hash Ember Stack is suitable for:
Identifying how different time horizons align
Visualizing periods of momentum compression and expansion
Contextualizing reversals or trend continuation environments
Supporting discretionary or systematic analysis workflows
The indicator is not a strategy and does not perform backtesting or place trades. It provides structured momentum context that operators can integrate into their own decision-making frameworks.
Penny Stock Short Signal Pro# Penny Stock Short Signal Pro (PSSP) v1.0
## Complete User Guide & Documentation
---
# 📋 TABLE OF CONTENTS
1. (#introduction)
2. (#why-short-penny-stocks)
3. (#the-7-core-detection-systems)
4. (#installation--setup)
5. (#understanding-the-dashboard)
6. (#input-settings-deep-dive)
7. (#visual-elements-explained)
8. (#alert-configuration)
9. (#trading-strategies)
10. (#risk-management)
11. (#best-practices)
12. (#troubleshooting)
13. (#changelog)
---
# Introduction
**Penny Stock Short Signal Pro (PSSP)** is a comprehensive Pine Script v6 indicator specifically engineered for identifying high-probability short-selling opportunities on low-priced, high-volatility stocks. Unlike generic indicators that apply broad technical analysis, PSSP is purpose-built for the unique characteristics of penny stock price action—where parabolic moves, retail FOMO, and violent reversals create predictable patterns for prepared traders.
## Key Features
- **7 Independent Detection Systems** working in concert to identify exhaustion points
- **Composite Signal Engine** that requires multiple confirmations before triggering
- **Real-Time Dashboard** displaying all signal states and market metrics
- **Automatic Risk Management** with dynamic stop-loss and profit target calculations
- **Customizable Sensitivity** for different trading styles (scalping vs. swing)
- **Built-in Alert System** for all major signal types
## Who Is This For?
- **Active Day Traders** looking to capitalize on intraday reversals
- **Short Sellers** who specialize in penny stocks and small caps
- **Momentum Traders** who want to identify when momentum is exhausting
- **Risk-Conscious Traders** who need clear entry/exit levels
---
# Why Short Penny Stocks?
## The Penny Stock Lifecycle
Penny stocks follow a remarkably predictable lifecycle that creates shorting opportunities:
```
PHASE 1: ACCUMULATION
└── Low volume, tight range
└── Smart money quietly building positions
PHASE 2: MARKUP / PROMOTION
└── News catalyst or promotional campaign
└── Volume increases, price begins rising
└── Early momentum traders enter
PHASE 3: DISTRIBUTION (YOUR OPPORTUNITY)
└── Parabolic move attracts retail FOMO buyers
└── Smart money selling into strength
└── Volume climax signals exhaustion
└── ⚠️ PSSP SIGNALS FIRE HERE ⚠️
PHASE 4: DECLINE
└── Support breaks, panic selling
└── Price returns toward origin
└── Short sellers profit
```
## Why Shorts Work on Penny Stocks
1. **No Fundamental Support**: Most penny stocks have no earnings, revenue, or assets to justify elevated prices
2. **Promotional Nature**: Many rallies are driven by promoters who will eventually stop
3. **Retail Exhaustion**: Retail buying power is finite—when it's exhausted, gravity takes over
4. **Float Dynamics**: Low float stocks move fast in both directions
5. **Technical Levels Matter**: VWAP, round numbers, and prior highs become self-fulfilling resistance
---
# The 7 Core Detection Systems
PSSP employs seven independent detection algorithms. Each identifies a specific type of exhaustion or reversal signal. When multiple systems fire simultaneously, the probability of a successful short dramatically increases.
---
## 1. PARABOLIC EXHAUSTION DETECTOR
### What It Detects
Identifies when price has moved too far, too fast and is likely to reverse. This system looks for the classic "blow-off top" pattern common in penny stock runners.
### Technical Logic
```
Parabolic Signal = TRUE when:
├── Consecutive green candles ≥ threshold (default: 3)
├── AND price extension from VWAP ≥ threshold ATRs (default: 1.5)
└── OR shooting star / upper wick rejection pattern forms
```
### Visual Representation
```
╱╲ ← Shooting star / upper wick
╱ ╲ (Parabolic exhaustion)
╱
╱
╱
══════════════ VWAP
╱
╱
```
### Why It Works on Penny Stocks
Penny stocks are notorious for parabolic moves driven by retail FOMO. When everyone who wants to buy has bought, there's no one left to push prices higher. The shooting star pattern shows that sellers are already stepping in at higher prices.
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Lookback Period | 10 | 3-30 | Bars to analyze for pattern |
| Extension Threshold | 1.5 ATR | 0.5-5.0 | How far above VWAP is "parabolic" |
| Consecutive Green Bars | 3 | 2-10 | Minimum green bars for exhaustion |
---
## 2. VWAP REJECTION SYSTEM
### What It Detects
Volume Weighted Average Price (VWAP) is the single most important level for institutional traders. This system identifies when price tests above VWAP and gets rejected back below—a powerful short signal.
### Technical Logic
```
VWAP Rejection = TRUE when:
├── Candle high pierces above VWAP
├── AND candle closes below VWAP
├── AND candle is bearish (close < open)
└── AND rejection distance is within sensitivity threshold
```
### Visual Representation
```
High ──→ ╱╲
╱ ╲
VWAP ════════╱════╲═══════════
Close ←── Rejection
```
### Extended VWAP Signals
The system also tracks VWAP standard deviation bands. Rejection from the upper band (2 standard deviations above VWAP) is an even stronger signal.
### Why It Works on Penny Stocks
- Algorithms and institutions use VWAP as their benchmark
- Failed attempts to reclaim VWAP often lead to waterfall selling
- VWAP acts as a "magnet" that price tends to revert toward
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Rejection Sensitivity | 0.5 ATR | 0.1-2.0 | How close to VWAP for valid rejection |
| Show VWAP Line | True | - | Display VWAP on chart |
| Show VWAP Bands | True | - | Display standard deviation bands |
| Band Multiplier | 2.0 | 0.5-4.0 | Standard deviations for bands |
---
## 3. VOLUME CLIMAX DETECTOR
### What It Detects
Identifies "blow-off tops" where extreme volume accompanies a price spike. This often marks the exact top as it represents maximum retail participation—after which buying power is exhausted.
### Technical Logic
```
Volume Climax = TRUE when:
├── Current volume ≥ (Average volume × Climax Multiple)
├── AND one of:
│ ├── Selling into the high (upper wick > lower wick on green bar)
│ └── OR post-climax weakness (red bar following climax bar)
```
### Visual Representation
```
Price: ╱╲
╱ ╲
╱ ╲
╱ ╲
╱
Volume:
▂▃▅▇██▇▅▃▂▁
↑
Volume Climax (3x+ average)
```
### Why It Works on Penny Stocks
- Retail traders pile in at the top, creating volume spikes
- Market makers and smart money use this liquidity to exit
- Once the volume spike passes, there's no fuel left for higher prices
- The "smart money selling into dumb money buying" creates the top
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Volume MA Length | 20 | 5-50 | Period for average volume calculation |
| Climax Volume Multiple | 3.0x | 1.5-10.0 | Multiple of average for "climax" |
| Show Volume Bars | True | - | Visual volume representation |
---
## 4. RSI DIVERGENCE ANALYZER
### What It Detects
Bearish divergence occurs when price makes higher highs but RSI (momentum) makes lower highs. This indicates that momentum is weakening even as price pushes higher—a warning of imminent reversal.
### Technical Logic
```
Bearish Divergence = TRUE when:
├── RSI is in overbought territory (> threshold)
├── AND RSI is declining (current < previous < prior)
└── Indicates momentum exhaustion before price catches up
```
### Visual Representation
```
Price: /\ /\
/ \ / \ ← Higher high
/ \/
/
/
RSI: /\
/ \ /\
/ \/ \ ← Lower high (DIVERGENCE)
/ \
════════════════════ Overbought (70)
```
### Why It Works on Penny Stocks
- Penny stocks often push to new highs on weaker and weaker momentum
- Divergence signals that fewer buyers are participating at each new high
- Eventually, the lack of buying pressure leads to collapse
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| RSI Length | 14 | 5-30 | Standard RSI calculation period |
| Overbought Level | 70 | 60-90 | RSI level considered overbought |
| Divergence Lookback | 14 | 5-30 | Bars to look back for swing highs |
---
## 5. KEY LEVEL REJECTION TRACKER
### What It Detects
Identifies rejections from significant price levels where shorts are likely to be concentrated: High of Day (HOD), premarket highs, and psychological levels (whole and half dollars).
### Technical Logic
```
Level Rejection = TRUE when:
├── Price touches key level (within 0.2% tolerance)
├── AND candle is bearish (close < open)
├── AND close is in lower portion of candle range
│
├── Key Levels Tracked:
│ ├── High of Day (HOD)
│ ├── Premarket High
│ └── Psychological levels ($1.00, $1.50, $2.00, etc.)
```
### Visual Representation
```
HOD ─────────────────────────────────
╱╲ ← Rejection
╱ ╲
╱ ╲
╱
─────────────────────────────────
PM High ─────────────────────────────
```
### Why It Works on Penny Stocks
- **HOD**: The high of day is where the most traders are trapped long. Failure to break HOD often triggers stop-loss cascades
- **Premarket High**: Represents overnight enthusiasm; failure to exceed often means the "news" is priced in
- **Psychological Levels**: Round numbers ($1, $2, $5) attract orders and act as natural resistance
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Track HOD Rejection | True | - | Monitor high of day |
| Track Premarket High | True | - | Monitor premarket resistance |
| Track Psychological Levels | True | - | Monitor round numbers |
---
## 6. FAILED BREAKOUT DETECTOR
### What It Detects
Identifies "bull traps" where price breaks above resistance but immediately fails and closes back below. This traps breakout buyers and often leads to accelerated selling.
### Technical Logic
```
Failed Breakout = TRUE when:
├── Price breaks above recent high (lookback period)
├── AND one of:
│ ├── Same bar closes below the breakout level
│ └── OR following bars show consecutive red candles
```
### Visual Representation
```
╱╲
╱ ╲ ← False breakout
Recent High ══╱════╲════════════════
╱ ╲
╱ ╲
╱ ╲ ← Trapped longs panic sell
```
### Why It Works on Penny Stocks
- Breakout traders enter on the break, providing exit liquidity for smart money
- When the breakout fails, these traders become trapped and must exit
- Their forced selling accelerates the decline
- Penny stocks have thin order books, making failed breakouts especially violent
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Breakout Lookback | 5 | 2-15 | Bars to define "recent high" |
| Confirmation Bars | 2 | 1-5 | Bars to confirm failure |
---
## 7. MOVING AVERAGE BREAKDOWN SYSTEM
### What It Detects
Monitors exponential moving averages (EMAs) for bearish crossovers and price rejections. EMA crosses often signal trend changes, while rejections from EMAs indicate resistance.
### Technical Logic
```
MA Breakdown = TRUE when:
├── Bearish EMA cross (fast crosses below slow)
└── OR EMA rejection (price tests EMA from below and fails)
```
### Visual Representation
```
╱╲ ← Rejection from EMA
╱ ╲
EMA 9 ═══════════╱════╲═══════════
╲
EMA 20 ═══════════════════╲════════
╲
Bearish cross ↓
```
### Why It Works on Penny Stocks
- EMAs smooth out the noise and show underlying trend direction
- When fast EMA crosses below slow EMA, it signals momentum shift
- Rejected attempts to reclaim EMAs show sellers are in control
### Key Settings
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Fast EMA | 9 | 3-20 | Short-term trend |
| Slow EMA | 20 | 10-50 | Medium-term trend |
| Show EMAs | True | - | Display on chart |
---
# Installation & Setup
## Step 1: Access Pine Editor
1. Open TradingView (tradingview.com)
2. Open any chart
3. Click "Pine Editor" at the bottom of the screen
## Step 2: Create New Indicator
1. Click "Open" → "New blank indicator"
2. Delete any existing code
3. Paste the entire PSSP code
## Step 3: Save and Add to Chart
1. Click "Save" (give it a name like "PSSP")
2. Click "Add to chart"
3. The indicator will appear with default settings
## Step 4: Configure Settings
1. Click the gear icon (⚙️) on the indicator
2. Adjust settings based on your trading style (see Settings section)
3. Click "OK" to apply
## Recommended Chart Setup
- **Timeframe**: 1-minute or 5-minute for scalping, 15-minute for swing shorts
- **Chart Type**: Candlestick
- **Extended Hours**: Enable if trading premarket/afterhours
- **Volume**: Can disable default volume since PSSP tracks it
---
# Understanding the Dashboard
The real-time dashboard provides at-a-glance status of all systems:
```
┌─────────────────────────────────────────┐
│ 📊 SHORT SIGNAL DASHBOARD │
├─────────────────────────────────────────┤
│ Signal Strength: 5/7 │
├─────────────────────────────────────────┤
│ ─── ACTIVE SIGNALS ─── │
│ │
│ Parabolic Exhaustion 🔴 2.1 ATR │
│ VWAP Rejection 🔴 Above │
│ Volume Climax 🔴 4.2x Avg │
│ RSI Divergence ⚪ RSI: 68 │
│ Level Rejection 🔴 @ HOD │
│ Failed Breakout 🔴 │
│ MA Breakdown ⚪ Bullish │
├─────────────────────────────────────────┤
│ ─── RISK LEVELS ─── │
│ Stop: $2.45 T1: $2.10 T2: $1.85 │
└─────────────────────────────────────────┘
```
## Dashboard Elements Explained
### Signal Strength Indicator
| Rating | Signals | Color | Interpretation |
|--------|---------|-------|----------------|
| STRONG | 5-7 | Red | High-confidence short opportunity |
| MODERATE | 3-4 | Orange | Decent setup, consider other factors |
| WEAK | 1-2 | Gray | Insufficient confirmation |
| NONE | 0 | Gray | No short signals active |
### Signal Status Icons
- 🔴 = Signal is ACTIVE (condition met)
- ⚪ = Signal is INACTIVE (condition not met)
### Contextual Metrics
Each signal row includes relevant metrics:
- **Parabolic**: Shows ATR extension from VWAP
- **VWAP**: Shows if price is Above/Below VWAP
- **Volume**: Shows current volume as multiple of average
- **RSI**: Shows current RSI value
- **Level**: Shows which level was touched (HOD, PM High, etc.)
- **MA**: Shows EMA relationship (Bullish/Bearish)
### Risk Levels
When a composite short signal fires:
- **Stop**: Suggested stop-loss level (high + ATR multiple)
- **T1**: First profit target (1:1 risk/reward)
- **T2**: Second profit target (user-defined R:R)
---
# Input Settings Deep Dive
## Group 1: Parabolic Exhaustion
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| Lookback Period | 10 | 15 | 5 | Bars analyzed for pattern |
| Extension Threshold | 1.5 | 2.0 | 1.0 | ATRs above VWAP for "parabolic" |
| Consecutive Green Bars | 3 | 4 | 2 | Minimum green bars required |
**Tuning Tips:**
- Lower thresholds = more signals but more false positives
- Higher thresholds = fewer signals but higher quality
- For very volatile penny stocks, consider higher thresholds
## Group 2: VWAP Rejection
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| Rejection Sensitivity | 0.5 | 0.3 | 0.8 | ATR distance for valid rejection |
| Show VWAP Line | True | True | True | Display VWAP |
| Show VWAP Bands | True | True | True | Display deviation bands |
| Band Multiplier | 2.0 | 2.5 | 1.5 | Standard deviations for bands |
**Tuning Tips:**
- Tighter sensitivity (lower number) = must reject very close to VWAP
- Wider bands = less frequent upper band rejections but more significant
## Group 3: Volume Climax
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| Volume MA Length | 20 | 30 | 10 | Baseline volume period |
| Climax Volume Multiple | 3.0 | 4.0 | 2.0 | Multiple for "climax" status |
| Show Volume Profile | True | True | True | Visual volume bars |
**Tuning Tips:**
- Higher multiple = only extreme volume spikes trigger
- Shorter MA = more responsive to recent volume changes
- For highly liquid stocks, consider higher multiples
## Group 4: Momentum Divergence
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| RSI Length | 14 | 21 | 7 | RSI calculation period |
| Overbought Level | 70 | 75 | 65 | Threshold for "overbought" |
| Divergence Lookback | 14 | 20 | 10 | Bars for swing high detection |
**Tuning Tips:**
- Lower overbought threshold = more frequent signals
- Shorter RSI length = more responsive but noisier
## Group 5: Key Level Rejection
| Setting | Default | Description |
|---------|---------|-------------|
| Enable | True | Master toggle for level system |
| Track Premarket High | True | Monitor premarket resistance |
| Track HOD Rejection | True | Monitor high of day |
| Track Psychological Levels | True | Monitor round numbers |
**Tuning Tips:**
- Disable premarket tracking if stock doesn't have significant premarket activity
- Psychological levels work best on stocks under $10
## Group 6: Failed Follow-Through
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| Breakout Lookback | 5 | 8 | 3 | Bars defining "recent high" |
| Confirmation Bars | 2 | 3 | 1 | Bars to confirm failure |
**Tuning Tips:**
- Shorter lookback = more breakouts detected but smaller significance
- More confirmation bars = higher confidence but later entry
## Group 7: Moving Average Signals
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Enable | True | True | True | Turn system on/off |
| Fast EMA | 9 | 12 | 5 | Short-term trend |
| Slow EMA | 20 | 26 | 13 | Medium-term trend |
| Show EMAs | True | True | True | Display on chart |
**Tuning Tips:**
- Standard 9/20 works well for most penny stocks
- Faster EMAs (5/13) for scalping, slower (12/26) for swing trading
## Group 8: Composite Signal
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Minimum Signals | 3 | 4-5 | 2 | Signals needed for trigger |
| Show Dashboard | True | True | True | Display signal table |
| Dashboard Position | top_right | - | - | Screen location |
**Tuning Tips:**
- **Minimum Signals is the most important setting**
- Higher minimum = fewer trades but higher win rate
- Lower minimum = more trades but more false signals
## Group 9: Risk Management
| Setting | Default | Conservative | Aggressive | Description |
|---------|---------|--------------|------------|-------------|
| Show Stop Levels | True | True | True | Display stop loss |
| Stop ATR Multiple | 1.5 | 2.0 | 1.0 | Stop distance in ATRs |
| Show Targets | True | True | True | Display profit targets |
| Target R:R | 2.0 | 1.5 | 3.0 | Risk:Reward for Target 2 |
**Tuning Tips:**
- Tighter stops (lower ATR multiple) = less risk but more stop-outs
- Higher R:R targets = bigger winners but fewer targets hit
## Group 10: Visual Settings
| Setting | Default | Description |
|---------|---------|-------------|
| Bullish Color | Green | Color for bullish elements |
| Bearish Color | Red | Color for bearish/short signals |
| Warning Color | Orange | Color for caution signals |
| Neutral Color | Gray | Color for inactive elements |
---
# Visual Elements Explained
## Chart Overlays
### VWAP Line (Blue)
- **Solid blue line** = Volume Weighted Average Price
- Price above VWAP = bullish bias
- Price below VWAP = bearish bias
- **Use**: Short when price rejects from above VWAP
### VWAP Bands (Purple circles)
- Upper band = 2 standard deviations above VWAP
- Lower band = 2 standard deviations below VWAP
- **Use**: Extreme extension to upper band signals potential reversal
### EMAs (Orange and Red)
- **Orange line** = Fast EMA (9-period default)
- **Red line** = Slow EMA (20-period default)
- **Use**: Bearish cross or price rejection from EMAs confirms short
### HOD Line (Red, dashed)
- Shows the current day's high
- **Use**: Rejection from HOD is a key short signal
### Premarket High (Orange, dashed)
- Shows premarket session high
- **Use**: Failure to break PM high often signals weakness
## Signal Markers
### Individual Signal Markers (Small)
| Shape | Color | Signal |
|-------|-------|--------|
| ▼ Triangle | Purple | Parabolic Exhaustion |
| ✕ X-Cross | Blue | VWAP Rejection |
| ◆ Diamond | Yellow | Volume Climax |
| ● Circle | Orange | RSI Divergence |
| ■ Square | Red | Failed Breakout |
### Composite Short Signal (Large)
- **Large red triangle** with "SHORT" text
- Only appears when minimum signal threshold is met
- This is your primary trading signal
## Risk Level Lines
### Stop Loss (Red line)
- Calculated as: Entry + (ATR × Stop Multiple)
- Represents maximum acceptable loss
- **RESPECT THIS LEVEL**
### Target 1 (Light green line)
- First profit target at 1:1 risk/reward
- Consider taking partial profits here
### Target 2 (Dark green line)
- Second profit target at user-defined R:R
- Let winners run to this level
## Background Coloring
### Light Red Background
- Appears when composite short signal is active
- Indicates you should be looking for shorts, not longs
### Light Purple Background
- Appears during extreme parabolic extension
- Warning of potential imminent reversal
---
# Alert Configuration
## Available Alerts
### 1. Composite Short Signal
**Best for**: Primary trading signal
```
Condition: Composite short signal fires
Message: "PSSP: Short Signal Triggered - {ticker} at {close}"
```
### 2. Parabolic Exhaustion
**Best for**: Early warning of potential top
```
Condition: Parabolic exhaustion detected
Message: "PSSP: Parabolic exhaustion detected on {ticker}"
```
### 3. Volume Climax
**Best for**: Blow-off top identification
```
Condition: Volume climax occurs
Message: "PSSP: Volume climax / blow-off top on {ticker}"
```
### 4. Strong Short Setup (5+ Signals)
**Best for**: High-confidence opportunities only
```
Condition: 5 or more signals active
Message: "PSSP: STRONG short setup on {ticker}"
```
### 5. Very Strong Short Setup (6+ Signals)
**Best for**: Maximum confidence trades
```
Condition: 6 or more signals active
Message: "PSSP: VERY STRONG short setup on {ticker}"
```
### 6. Failed Breakout
**Best for**: Bull trap identification
```
Condition: Failed breakout detected
Message: "PSSP: Failed breakout detected on {ticker}"
```
### 7. Key Level Rejection
**Best for**: Resistance level plays
```
Condition: Key level rejection occurs
Message: "PSSP: Key level rejection on {ticker}"
```
## Setting Up Alerts in TradingView
1. Right-click on the chart
2. Select "Add Alert"
3. Set Condition to "Penny Stock Short Signal Pro"
4. Choose your desired alert condition
5. Configure notification method (popup, email, webhook, etc.)
6. Set expiration (or "Open-ended" for permanent)
7. Click "Create"
## Alert Strategy Recommendations
### For Active Day Traders
- Enable: Composite Short Signal, Volume Climax
- Set to: Popup + Sound
- Check frequently during market hours
### For Swing Traders
- Enable: Strong Short Setup (5+), Very Strong Short Setup (6+)
- Set to: Email + Mobile Push
- Review at key times (open, lunch, close)
### For Part-Time Traders
- Enable: Very Strong Short Setup (6+) only
- Set to: Email + SMS
- Only trade highest-conviction setups
---
# Trading Strategies
## Strategy 1: The Parabolic Fade
**Setup Requirements:**
- Parabolic Exhaustion signal ACTIVE
- Extension from VWAP ≥ 2.0 ATR
- Volume climax or declining volume on push
**Entry:**
- Short on first red candle after signal
- Or short on break below prior candle's low
**Stop Loss:**
- Above the high of the parabolic move
- Maximum: 1.5 ATR above entry
**Targets:**
- T1: VWAP (take 50% off)
- T2: Lower VWAP band or LOD
**Best Time:** 9:30-10:30 AM (morning runners)
---
## Strategy 2: VWAP Rejection Short
**Setup Requirements:**
- VWAP Rejection signal ACTIVE
- Price came from below VWAP
- Rejection candle has significant upper wick
**Entry:**
- Short on close below VWAP
- Or short on break below rejection candle low
**Stop Loss:**
- Above VWAP + 0.5 ATR
- Or above rejection candle high
**Targets:**
- T1: Lower VWAP band
- T2: Prior support or LOD
**Best Time:** Midday (11:00 AM - 2:00 PM)
---
## Strategy 3: HOD Failure Short
**Setup Requirements:**
- Level Rejection signal ACTIVE (HOD)
- Multiple tests of HOD without breakthrough
- Volume declining on each test
**Entry:**
- Short on confirmed HOD rejection
- Wait for close below the rejection candle
**Stop Loss:**
- Above HOD + 0.25 ATR (tight)
- Clear invalidation if HOD breaks
**Targets:**
- T1: VWAP
- T2: Morning support levels
**Best Time:** 10:30 AM - 12:00 PM
---
## Strategy 4: Volume Climax Fade
**Setup Requirements:**
- Volume Climax signal ACTIVE
- Volume ≥ 3x average on green candle
- Followed by bearish candle or upper wick
**Entry:**
- Short on first red candle after climax
- Or short on break below climax candle low
**Stop Loss:**
- Above climax candle high
- Give room for volatility spike
**Targets:**
- T1: 50% retracement of the run
- T2: VWAP or start of the run
**Best Time:** First hour of trading
---
## Strategy 5: The Full Composite (High Conviction)
**Setup Requirements:**
- Composite Short signal ACTIVE
- Minimum 4-5 individual signals
- Clear visual of signal markers clustering
**Entry:**
- Short immediately on composite signal
- Use market order for fast-moving stocks
**Stop Loss:**
- Use indicator's automatic stop level
- Do not deviate from system
**Targets:**
- T1: Indicator's T1 level (1:1)
- T2: Indicator's T2 level (2:1)
**Best Time:** Any time with sufficient signals
---
# Risk Management
## Position Sizing Formula
```
Position Size = (Account Risk %) / (Stop Loss %)
Example:
- Account: $25,000
- Risk per trade: 1% = $250
- Entry: $2.00
- Stop: $2.20 (10% stop)
- Position Size: $250 / 10% = $2,500 worth
- Shares: $2,500 / $2.00 = 1,250 shares
```
## Risk Rules
### The 1% Rule
Never risk more than 1% of your account on any single trade. For a $25,000 account, max risk = $250.
### The 2x Stop Rule
If your stop gets hit twice on the same stock, stop trading it for the day. The pattern isn't working.
### The Daily Loss Limit
Set a maximum daily loss (e.g., 3% of account). Stop trading if hit.
### The Size-Down Rule
After a losing trade, reduce your next position size by 50%. Rebuild after a winner.
## Short-Specific Risks
### The Short Squeeze
- Penny stocks can squeeze violently
- ALWAYS use stops
- Never "hope" a position comes back
- Size appropriately for volatility
### The Hard-to-Borrow
- Check borrow availability before trading
- High borrow fees eat into profits
- Some stocks become HTB mid-trade
### The Halt Risk
- Penny stocks can halt on volatility
- Position size for worst-case halt against you
- Halts can open significantly higher
---
# Best Practices
## DO's
✅ **Wait for multiple signals** - Single signals have lower accuracy
✅ **Trade with the trend** - Short when daily trend is down
✅ **Use the dashboard** - Check signal count before entering
✅ **Respect stops** - The indicator calculates them for a reason
✅ **Size appropriately** - Penny stocks are volatile; position small
✅ **Trade liquid stocks** - Volume ≥ 500K daily average
✅ **Know the catalyst** - Understand why the stock is moving
✅ **Take partial profits** - Secure gains at T1
✅ **Journal your trades** - Track what works and what doesn't
✅ **Time your entries** - Best shorts often come 10:30-11:30 AM
## DON'Ts
❌ **Don't short strong stocks** - If it won't go down, don't force it
❌ **Don't fight the tape** - A stock going up can keep going up
❌ **Don't average up on losers** - Adding to losing shorts is dangerous
❌ **Don't ignore the dashboard** - It exists to help you
❌ **Don't overtrade** - Quality over quantity
❌ **Don't short into news** - Wait for the reaction first
❌ **Don't trade the first 5 minutes** - Too chaotic for reliable signals
❌ **Don't hold overnight** - Penny stock gaps can destroy accounts
❌ **Don't trade without stops** - Ever.
❌ **Don't trade on tilt** - After losses, take a break
## Optimal Trading Windows
| Time (ET) | Quality | Notes |
|-----------|---------|-------|
| 9:30-9:35 | ⭐ | Too volatile, avoid |
| 9:35-10:30 | ⭐⭐⭐⭐⭐ | Best shorts, morning runners exhaust |
| 10:30-11:30 | ⭐⭐⭐⭐ | Secondary exhaustion, HOD rejections |
| 11:30-2:00 | ⭐⭐ | Midday lull, lower quality |
| 2:00-3:00 | ⭐⭐⭐ | Afternoon setups develop |
| 3:00-3:30 | ⭐⭐⭐⭐ | End of day momentum |
| 3:30-4:00 | ⭐⭐ | Closing volatility, risky |
---
# Troubleshooting
## Common Issues
### "Signals aren't appearing"
- Check that the relevant system is enabled in settings
- Ensure minimum signals threshold isn't too high
- Verify the stock has sufficient volume for calculations
### "Too many false signals"
- Increase minimum signals threshold
- Use more conservative settings (see Settings section)
- Focus on stocks with cleaner price action
### "Dashboard not showing"
- Ensure "Show Signal Dashboard" is enabled
- Check that your chart has enough space
- Try a different dashboard position
### "VWAP line is missing"
- VWAP requires intraday timeframes (1m, 5m, 15m, etc.)
- VWAP resets daily; won't show on daily+ charts
- Ensure "Show VWAP Line" is enabled
### "Stop loss seems too tight/wide"
- Adjust Stop ATR Multiple in Risk Management settings
- Lower multiple = tighter stop
- Higher multiple = wider stop
### "Alerts not triggering"
- Verify alert is set to the correct indicator
- Check that alert hasn't expired
- Ensure notification settings are configured in TradingView
## Performance Optimization
If the indicator is slow:
1. Reduce the number of visual elements shown
2. Disable unused signal systems
3. Use on fewer simultaneous charts
4. Close unused browser tabs
---
# Changelog
## Version 1.0 (Initial Release)
- 7 core detection systems implemented
- Real-time signal dashboard
- Automatic risk management calculations
- 7 alert conditions
- Full visual overlay system
- Comprehensive input settings
## Planned Features (Future Updates)
- Scanner integration for multi-stock screening
- Machine learning signal weighting
- Backtesting statistics panel
- Volume profile analysis
- Level 2 data integration (if available)
- Custom timeframe VWAP options
---
# Support & Feedback
## Reporting Issues
When reporting issues, please include:
1. TradingView username
2. Stock symbol and timeframe
3. Screenshot of the issue
4. Your indicator settings
5. Steps to reproduce
## Feature Requests
We welcome suggestions for improving PSSP. Consider:
- What specific pattern are you trying to catch?
- How would this help your trading?
- Any reference examples?
---
# Disclaimer
**IMPORTANT: This indicator is for educational and informational purposes only.**
- Past performance does not guarantee future results
- Short selling carries unlimited risk potential
- Always use proper position sizing and stop losses
- Paper trade before using real capital
- The creator assumes no liability for trading losses
- Consult a financial advisor before trading
**Trade at your own risk.**
---
*Penny Stock Short Signal Pro v1.0*
*Pine Script v6*
*© 2025*
Coppe's Intraday Strategy V.3 Auto-TP PresetsGood Gold Intraday Trading Strategy with Monthly Backtesting Research
Coppe's Intraday Strategy V.3Best Intraday Strategy V.3 with Monthly Backtesting and multiple Setups for Gold and NAS
Multi-Filter Momentum Candle Strategy (Non-Repaint)Momentum Candle Precision Scanner is a price action–based indicator designed to detect high-quality momentum candles after consolidation phases.
It combines candle structure analysis, volume confirmation, ATR control, consolidation filtering, and higher timeframe EMA trend alignment to reduce false signals.
⚠️ This indicator is NOT standalone and MUST be used together with an external RSI indicator.
RSI is intentionally not included in the script to allow traders full flexibility in choosing their preferred RSI settings.
🎯 Purpose
This indicator helps traders:
Identify valid impulsive candles, not just large candles
Avoid entries during sideways or consolidation zones
Trade in alignment with the higher timeframe trend
Improve entry selectivity through a scoring-based validation system
⚙️ Core Logic Explained
1️⃣ Momentum Candle Structure
Candle body must fall within a predefined pip range
Minimum body-to-range ratio is required
Upper and lower wick percentages are strictly limited
This helps filter out candles caused by noise or fake breakouts.
2️⃣ Volume Confirmation
Current volume must be above its moving average
Ensures momentum is supported by market participation
3️⃣ ATR-Based Control
Candle body size is capped using ATR
Prevents signals during abnormal volatility spikes (e.g., news events)
4️⃣ Consolidation Filter (Box & Core Zone)
A dynamic price box is built from recent candles
Signals are ignored inside the core consolidation zone
Focuses entries on breakout or expansion phases
5️⃣ Scoring System
Each candle is evaluated using a weighted score:
Candle body quality
Wick structure
Volume strength
ATR validity
Position relative to consolidation
Signals are triggered only when the minimum score threshold is met.
📈 Trend Filtering (EMA HTF & Current TF)
Higher Timeframe EMA defines the main trend direction
Current Timeframe EMA reflects local momentum
Options available:
Trade with HTF trend only
Or allow counter-trend signals (user controlled)
🚨 Alert Feature
Alerts can trigger minutes before candle close
Designed for traders who wait for near-close confirmation
⚠️ IMPORTANT – RSI IS REQUIRED
This indicator does NOT include RSI internally.
📌 You must add an external RSI indicator and use it as:
Additional momentum confirmation
Overbought / oversold filter
Trend strength validation
👉 General RSI usage example:
Buy setups → RSI above 50 and strengthening
Sell setups → RSI below 50 and weakening
(Users are free to adapt RSI settings to their own strategy.)
🛠️ Recommended Usage
Best suited for M5
Optimized for XAUUSD
Can be adapted to other instruments by adjusting pip size
📌 Disclaimer
This indicator is a technical analysis tool, not a trading system.
No guarantees of profitability. Always apply proper risk management, RSI confirmation, and personal backtesting before live trading.
tradejour.nl - timedateThis is a simple script that displays the timedate of the most recent candle.
Very useful during backtesting when you want to check at a glance where you are in the space time continuum.
Scalp Precision Matrix [BullByte]SCALP PRECISION MATRIX (SPM)
OVERVIEW
Scalp Precision Matrix (SPM) is a comprehensive decision-support framework designed specifically for scalpers and short-term traders. This indicator synthesizes five distinct analytical layers into a unified system that helps identify high-quality setups while avoiding common pitfalls that trap traders.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE CORE PROBLEM THIS INDICATOR ADDRESSES
Scalping demands rapid decision-making while simultaneously processing multiple data points. Traders constantly ask themselves: Is momentum still alive? Am I entering near a potential reversal zone? Is this the right session to trade? What is my actual risk-to-reward? Most traders either overwhelm themselves with too many separate indicators (creating analysis paralysis) or use too few (missing crucial context).
SPM was developed to consolidate these essential checks into one cohesive framework. Rather than overlaying disconnected indicators, each component in SPM directly informs and adjusts the others, creating an integrated analytical system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE SPECIFIC COMPONENTS AND HOW THEY WORK TOGETHER
The five analytical layers in SPM are not arbitrarily combined. Each addresses a specific question in the scalping decision process, and together they form a logical workflow:
LAYER 1: MOMENTUM FUEL GAUGE
This answers the question: "Does the current move still have energy?"
After any impulse move (a significant directional price movement), momentum naturally decays over time. The Fuel Gauge estimates remaining momentum by analyzing four factors:
Body Strength (30% weight): Compares recent candle body sizes against the historical average. Strong momentum produces candles with large bodies relative to their wicks. The calculation takes the 3-bar average body size divided by the 20-bar average body size, then scales it to a 0-100 range.
Wick Rejection (25% weight): Measures the wick-to-body ratio. When wicks are large relative to bodies, it suggests rejection and weakening momentum. A ratio of 2.0 or higher (wicks twice the body size) scores low; smaller ratios score higher.
Volume Consistency (20% weight): Compares recent 3-bar average volume against the lookback period average. Sustained moves require consistent volume support. Volume dropping off suggests the move may be losing participation.
Time Decay (25% weight): Tracks how many bars have passed since the last detected impulse. Momentum naturally fades over time. The typical impulse duration is adjusted based on the current volatility regime.
These components are weighted and combined, then smoothed with a 3-period EMA to reduce noise. The result is a 0-100% gauge where:
- Above 70% = Strong momentum (green)
- 40-70% = Moderate momentum (amber)
- Below 40% = Weak momentum (red)
- Below 20% = Exhausted (triggers EXIT warning)
The Fuel Gauge also estimates how many bars of momentum remain based on the current burn rate.
IMPORTANT DISCLAIMER : The Fuel Gauge is NOT order flow, volume profile, or depth of market data. It is a technical proxy calculated entirely from standard OHLCV (Open, High, Low, Close, Volume) data. The term "Fuel" is used metaphorically to represent estimated remaining momentum energy.
LAYER 2: TRAP ZONE DETECTION
This answers the question: "Am I walking into a potential reversal area?"
Price tends to reverse at levels where it has reversed before. SPM identifies these zones by detecting clusters of historical swing points:
How it works:
1. The indicator detects swing highs and swing lows using the Swing Detection Length setting (default 5 bars on each side required to confirm a pivot).
2. Recent swing points are stored (up to 10 of each type).
3. For each potential zone, the algorithm counts how many swing points cluster within a tolerance of 0.5 ATR.
4. Zones with 2 or more clustered swing points, positioned between 0.3 and 4.0 ATR from current price, are marked as Trap Zones.
5. A Confluence Score is calculated based on cluster density and proximity to current price.
The percentage displayed (e.g., "TRAP 85%") is a CONFLUENCE SCORE, not a probability. Higher percentages mean more swing points cluster at that level and price is closer to it. This indicates stronger historical significance, not a prediction of future reversal.
CRITICAL DISCLAIMER : Trap Zones are NOT institutional order flow, liquidity pools, smart money footprints, or any proprietary data feed. They are calculated purely from historical swing point clustering using standard technical analysis. The term "trap" describes how price action has historically reversed at these levels, potentially trapping traders who enter prematurely. This is pattern recognition, not market structure data.
LAYER 3: VELOCITY ANALYSIS
This answers the question: "Is price moving favorably right now?"
Velocity measures how fast price is currently moving compared to its recent average:
Calculation:
- Current velocity = Absolute price change from previous bar divided by ATR
- Average velocity = Simple moving average of velocity over the lookback period
- Velocity ratio = Current velocity divided by average velocity
Classification:
- FAST (ratio above 1.5 ): Price is moving significantly faster than normal. Good for momentum continuation plays.
- NORMAL (ratio 0.5 to 1.5) : Typical price movement speed.
- SLOW (ratio below 0.5 ): Price is moving sluggishly. Often indicates ranging or choppy conditions where scalping becomes difficult.
The velocity score contributes 18% to the overall quality score calculation.
LAYER 4: SESSION AWARENESS
This answers the question: "Is this a good time to trade?"
Different trading sessions have different characteristics. SPM automatically detects which major session is active and adjusts its quality assessment:
Session Times (all in UTC):
- A sia Session : 00:00 - 08:00 UTC
- London Session : 08:00 - 16:00 UTC
- New York Session : 13:00 - 21:00 UTC
- London/NY Overlap : 13:00 - 16:00 UTC
- Off-Peak : Outside major sessions
Session Quality Weighting:
- Overlap : 100 points (highest liquidity, best movement)
- London : 85 points
- New York : 80 points
- Asia : 50 points (tends to range more)
- Off-Peak : 30 points (lower liquidity, more false signals)
The session score contributes 17% to the overall quality calculation. Signals are also filtered to prevent firing during off-peak hours.
Note : These are fixed UTC times and may not perfectly match your broker's session boundaries. Use them as general guidance rather than precise timing.
LAYER 5: VOLATILITY REGIME ADAPTATION
This answers the question: "How should I adjust for current market conditions?"
SPM compares current volatility (14-period ATR) against historical volatility (50-period ATR) to categorize the market:
HIGH Volatility (ratio above 1.3): Current ATR is 30%+ above normal. SPM widens thresholds to filter noise and extends target projections.
NORMAL Volatility (ratio 0.7 to 1.3): Typical conditions. Standard parameters apply.
LOW Volatility (ratio below 0.7): Current ATR is 30%+ below normal. SPM tightens thresholds for sensitivity and reduces target expectations. The market state may show AVOID during prolonged low volatility.
This adaptation prevents false signals during erratic markets and missed signals during quiet markets.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE SYNERGY: WHY THIS COMBINATION MATTERS
These five layers are not independent indicators placed on one chart. They form an interconnected system:
- A signal only fires when momentum exists (Fuel above 40%), price is away from danger zones (Trap Zones factored into quality score), movement is favorable (Velocity contributes to score), timing is appropriate (Session is not off-peak), and volatility is accounted for (thresholds adapt to regime).
- The Trap Zones directly influence Entry Zone placement. Entry zones are positioned beyond trap zones to avoid getting caught in reversals.
- Target projections automatically adjust to avoid placing take-profit levels inside detected trap zones.
- The Fuel Gauge affects which signal tier fires. Insufficient fuel prevents all signals.
- Session quality is weighted into the overall score, reducing signal quality during less favorable trading hours.
This integration is the core originality of SPM. Each component makes the others more useful than they would be in isolation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE QUALITY SCORE IS CALCULATED
The Quality Score (0-100) synthesizes all layers into a single number for each direction (long and short):
For Long Quality Score:
- Fuel Component (28% weight) : Full fuel value if impulse direction is bullish; 60% of fuel value otherwise
- Trap Avoidance (22% weight) : 75 points if no trap zone below; otherwise 100 minus the trap confluence score (minimum 20)
- Velocity Component (18% weight) : Direct velocity score
- Session Component (17% weight) : Current session quality score
- Trend Alignment (15% bonus) : Adds 12 points if price is above the 20-period SMA
For Short Quality Score:
- Same structure but reversed (bearish impulse direction, trap zone above, price below SMA)
The direction with the higher score becomes the current Bias. A 12-point difference is required to switch bias, preventing flip-flopping in neutral conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SIGNAL TYPES AND WHAT THEY MEAN
SPM generates four types of signals, each with specific visual representation:
PRIME SIGNALS (Cyan Diamond)
These represent the highest quality confluence. Requirements:
- Quality score crosses above the Prime threshold (default 80)
- Bias aligns with signal direction
- Fuel is sufficient (above 40%)
- Session is active (not off-peak)
- Cooldown period has passed
Prime signals appear as cyan-colored diamond shapes. Long signals appear below the bar; short signals appear above.
STANDARD SIGNALS (Green Triangle Up / Red Triangle Down)
These represent good quality setups. Requirements:
- Quality score crosses above the Standard threshold (default 75) but below Prime
- Same bias, fuel, and cooldown requirements as Prime
Standard signals appear as small triangles in green (long) or red (short).
CAUTION SIGNALS (Small Faded Circle)
These represent minimum threshold setups. Requirements:
- Quality score crosses above the Caution threshold (default 65) but below Standard
- Same additional requirements
Caution signals appear as small, faded circles. These suggest the setup exists but with weaker confluence. Consider these only when broader market context supports them, or skip them entirely during uncertain conditions.
EXHAUSTION SIGNAL (Purple X with "EXIT" text)
This warning appears when the Fuel Gauge drops below 20% from above, indicating momentum has depleted. This is not a trade signal but a warning to:
- Consider exiting existing positions
- Avoid entering new trades in the current direction
- Wait for new momentum to develop
All signals use CONFIRMED bar data only (referencing the previous closed bar) to prevent repainting. Once a signal appears, it will never disappear or change position on historical bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
READING THE CHART ELEMENTS
TRAP ZONES (Red Dashed Box with "TRAP XX%" Label)
These mark price levels where multiple historical swing points cluster. The red dashed box shows the zone boundaries. The percentage is the confluence score indicating cluster strength and proximity.
How to use: When price approaches a trap zone, be cautious about entering in that direction. If your bias is LONG and there's a strong trap zone above, consider taking partial profits before price reaches it or adjusting your target below it.
ENTRY ZONES (Green Solid Box with "ENTRY" Label)
These show suggested entry areas based on the current bias direction. For LONG bias, the entry zone appears below the trap zone (buying the dip beyond support). For SHORT bias, it appears above the trap zone (selling the rally beyond resistance).
How to use: Rather than entering at current price, consider placing limit orders within the entry zone. This positions you beyond where typical trap reversals occur.
TARGET ZONES (Blue Dotted Box with "TARGET" Label)
These project potential take-profit areas based on ATR multiples, adjusted for:
- Current volatility regime (wider in high volatility, tighter in low)
- Impulse direction (larger targets when aligned with impulse)
- Nearby trap zones (targets adjust to avoid placing TP inside trap zones)
How to use: These are suggestions, not guarantees. Consider taking partial profits before the target or using trailing stops once price moves favorably.
STOP LEVEL (Orange Dashed Line with "STOP" Label)
This shows suggested stop-loss placement, calculated as 0.8 ATR beyond the trap zone (or 2.0 ATR from current price if no trap zone exists).
How to use: This provides a reference for risk calculation. The dashboard R:R ratio is calculated using this stop level.
Chart Example: Scalp Precision Matrix displays real-time market analysis through dynamic zones and quality scores. ENTRY/TARGET/STOP zones show potential price levels based on current market structure - they appear continuously as reference points, NOT as trade instructions. Actual trade signals (diamonds, triangles, circles) fire only when multiple conditions align: quality score thresholds are crossed, fuel gauge is sufficient, session is active, and cooldown period has passed. The zones help you understand market context; the signals tell you when to act.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
UNDERSTANDING THE DASHBOARD (Top Right Panel)
The main dashboard provides comprehensive market context:
Row 1 - Header:
- "SPM " : Indicator name
- Market State : Current overall condition
Market States Explained:
- PRIME : Excellent conditions. Quality score meets prime threshold, session is active. Best opportunities.
- READY : Good conditions. Quality score meets standard threshold. Solid setups available.
- WAIT : Mixed conditions. Some factors favorable, others not. Patience recommended.
- AVOID : Poor conditions. Off-peak session or very low volatility. High risk of false signals.
- EXIT : Fuel exhausted. Momentum depleted. Consider closing positions or waiting.
Row 2-3 - Quality Bars:
- " UP ########## " : Visual meter for long quality (each # = 10 points, . = empty)
- " DN ########## " : Visual meter for short quality
- The number on the right shows the exact quality score
Row 4 - Bias:
- Shows current directional lean: LONG, SHORT, or NEUTRAL
- Color-coded: Green for long, red for short, gray for neutral
Rows 5-7 (Full Mode Only) - Trade Levels:
- Entry : Suggested entry price for current bias direction
- Stop : Suggested stop-loss price
- Target : Projected take-profit price
Row 8 - Risk:Reward Ratio:
- Format : "1:X.X" where X.X is the reward multiple
- Color-coded : Green if 2:1 or better, amber if 1.5:1 to 2:1, red if below 1.5:1
Row 9 - Fuel:
- Shows percentage and estimated bars remaining in parentheses
- Example : "72% (8)" means 72% fuel with approximately 8 bars remaining
- Color-coded : Green above 70%, amber 40-70%, red below 40%
Row 10-11 (Full Mode Only) - Market Conditions:
- Vol : Current volatility regime (HIGH/NORMAL/LOW)
- Speed : Current velocity zone (FAST/NORMAL/SLOW)
Row 12 - Session:
- Shows active trading session
- Color-coded by session type
Row 13 (Full Mode Only) - Remaining:
- Time remaining in current session (hours and minutes)
Row 14 (Conditional) - Trap Warning:
- Appears when a significant trap zone exists in your bias direction
- Shows direction (ABOVE/BELOW) and confluence percentage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
UNDERSTANDING THE QUICK PANEL (Bottom Left)
The Quick Panel provides essential information at a glance without looking away from price action:
Row 1: Current Bias and Quality Score (large text for quick reading)
Row 2: Market State
Row 3: Fuel Percentage
Row 4: Estimated Bars Remaining
Row 5: Risk:Reward Ratio
Row 6: Current Session
Both panels can be repositioned using the settings, and each can be toggled on/off independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS EXPLAINED
CORE SETTINGS:
Analysis Lookback (Default: 20)
Number of bars used for statistical calculations including average volume and average body size. Higher values create smoother but slower-reacting analysis. Lower values are more responsive but may include more noise.
Swing Detection Length (Default: 5)
Bars required on each side to confirm a swing high or low. A setting of 5 means a swing high must have 5 lower highs on each side. Lower values detect more swings (more trap zones, more sensitivity). Higher values find only major pivots (fewer but more significant zones).
Impulse Sensitivity (Default: 1.5)
Multiplier for ATR when detecting impulse moves. Lower values (like 1.0) detect smaller price movements as impulses, refreshing the fuel gauge more frequently. Higher values (like 2.5) require larger moves, making impulse detection less frequent but more significant.
SIGNAL SETTINGS:
Prime/Standard/Caution Thresholds (Defaults: 80/75/65)
These control the quality score required for each signal tier. You can adjust these based on your preference:
- More conservative : Raise thresholds (e.g., 85/80/70) for fewer but higher-quality signals
- More aggressive : Lower thresholds (e.g., 75/70/60) for more signals with slightly lower quality
Signal Cooldown (Default: 8 bars)
Minimum bars between signals to prevent signal spam. After any signal fires, no new signals can appear until this many bars pass. Increase for fewer signals in choppy markets; decrease if you want faster signal refresh.
Show Prime/Standard/Caution/Exhaustion Signals
Toggle each signal type on or off based on your preference.
ZONE DISPLAY:
Show Trap Zones / Entry Zones / Target Zones / Stop Levels
Toggle each zone type on or off. Turning off zones you don't use reduces chart clutter.
Zone Transparency (Default: 88)
Controls how transparent zone boxes appear. Higher values (closer to 95) make zones barely visible; lower values (closer to 75) make them more prominent.
Zone History (Default: 25 bars)
How far back zone boxes extend on the chart. Purely visual preference.
BACKGROUND:
Background Mode (Options: Off, Subtle, Normal)
Controls whether and how intensely the chart background is colored. Subtle is barely noticeable; Normal is more visible; Off disables background coloring entirely.
Background Type (Options: Bias, Fuel)
- Bias : Colors background based on current directional lean (green for long, red for short)
- Fuel : Colors background based on momentum level (green for high fuel, amber for moderate, red for low)
DASHBOARD / QUICK PANEL:
Show Dashboard / Show Quick Panel
Toggle each panel on or off.
Compact Mode
When enabled, the main dashboard shows only essential rows (quality bars, bias, R:R, fuel, session) without entry/stop/target levels, volatility, velocity, or time remaining.
Position Settings
Choose where each panel appears on your chart from six options: Top Right, Top Left, Bottom Right, Bottom Left, Middle Right, Middle Left.
ALERTS:
Alert Prime Signals / Standard Signals / Fuel Exhaustion
Enable or disable TradingView alerts for each condition. When enabled, you can set up alerts in TradingView that will notify you when these conditions occur.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED TIMEFRAMES AND USAGE
OPTIMAL TIMEFRAMES:
- 1-minute to 5-minute : Best for active scalping with quick entries and exits
- 5-minute to 15-minute : Balanced scalping with slightly more confirmation
- 15-minute to 1-hour : Short-term swing entries, fewer but more significant signals
Zone visualizations only appear on intraday timeframes to prevent chart clutter on higher timeframes.
BEST PRACTICES:
1. Trade primarily during LONDON, NEW YORK, or OVERLAP sessions. The indicator weights these sessions higher for good reason - liquidity and movement are typically better.
2. Prioritize PRIME signals. These represent the highest confluence and have proven most reliable. Use STANDARD signals as secondary opportunities. Treat CAUTION signals with extra scrutiny.
3. Respect the Fuel Gauge. Avoid entering new positions when fuel is below 40%. When the EXIT signal appears, seriously consider closing or reducing positions.
4. Pay attention to TRAP warnings. When the dashboard shows a trap zone in your bias direction, be cautious about holding through that level.
5. Verify R:R before entry. The dashboard shows the risk-to-reward ratio. Ensure it meets your minimum requirements (many traders require at least 1.5:1 or 2:1).
6. When state shows AVOID or EXIT, step back. These conditions typically produce poor results.
7. Combine with your own analysis. SPM is a decision-support tool, not a standalone system. Use it alongside your understanding of market structure, news events, and overall context.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PRACTICAL EXAMPLE
Scenario : You're watching a 5-minute chart during London session. A cyan diamond (Prime Long signal) appears below the bar.
Before entering, you check the dashboard:
- State shows "PRIME" - conditions are favorable
- Fuel shows "72% (8)" - plenty of momentum remaining (approximately 8 bars)
- R:R shows "1:2.3" - acceptable risk-to-reward ratio
- Session shows "LONDON" - active session with good liquidity
- No TRAP warning in dashboard - no immediate resistance cluster in your way
- Entry zone visible on chart at a lower price level
- Stop and Target zones clearly marked
With this confluence of factors, you have context for a more informed decision. The signal indicates quality, the fuel suggests momentum remains, the R:R is favorable, and no immediate trap threatens your trade.
However, you also notice the target zone sits just below where a trap zone would be if there were one. This is by design - SPM adjusts targets to avoid placing them inside reversal zones.
This multi-factor confirmation delivered in a single glance is what SPM provides.
Chart Example :This chart demonstrates how the Scalp Precision Matrix identifies key market transitions. After a strong bullish impulse (cyan PRIME signal at ~08:30), price reached a historical reversal cluster (TRAP ZONE at 92,300). The indicator detected momentum exhaustion (purple EXIT signal) as fuel dropped below 20%, warning traders to exit longs. Now showing a SHORT bias with entry/stop/target zones clearly marked. The 92% trap zone confluence indicates a strong cluster of previous swing highs where price historically reversed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA WINDOW VALUES
For detailed analysis and strategy development, SPM exports the following values to TradingView's Data Window (visible when you hover over the chart with the indicator selected):
- Long Quality Score (0-100)
- Short Quality Score (0-100)
- Fuel Gauge (0-100%)
- Risk:Reward Ratio
These values can be useful for understanding how the indicator behaves over time and for developing your own insights about when it works best for your trading style.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NON-REPAINTING CONFIRMATION
All signals in SPM are generated using CONFIRMED bar data only. The signal logic references the previous closed bar's values ( and in Pine Script terms). This means:
- Signals appear at the OPEN of the new bar (after the previous bar closes)
- Signals will NEVER disappear once they appear
- Signals will NEVER change position on historical bars
- What you see in backtesting is what you would have seen in real-time
The dashboard and zones update in real-time to provide current market context, but the trading signals themselves are non-repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT DISCLAIMERS
TERMINOLOGY CLARIFICATION:
This indicator uses terms that might imply access to data it does not have. To be completely transparent:
- "Trap Zones" are calculated from historical swing point clustering. They are NOT institutional liquidity pools, order blocks, smart money footprints, or any form of order flow data. The term "trap" is metaphorical, describing how price has historically reversed at these levels.
- "Fuel Gauge" is a technical momentum proxy. It is NOT order flow, volume profile, depth of market, or bid/ask data. It estimates momentum remaining based entirely on standard OHLCV price and volume data.
- "Quality Scores" are weighted combinations of the technical factors described above. A high score indicates multiple conditions align favorably according to the indicator's logic. It does NOT predict or guarantee trade success.
- The percentages shown on trap zones are CONFLUENCE SCORES measuring cluster density and proximity. They are NOT probability predictions of reversal.
TRADING RISK WARNING:
Trading involves substantial risk of loss and is not suitable for all investors. This indicator is a technical analysis tool designed to assist with decision-making. It does not constitute financial advice, trading advice, or any other sort of advice. Past performance of any signal or pattern does not guarantee future results. Markets are inherently unpredictable.
Always use proper risk management. Define your risk before entering any trade. Never risk more than you can afford to lose. Consider consulting with a licensed financial advisor before making trading decisions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ORIGINALITY STATEMENT - NOT A MASHUP
Scalp Precision Matrix is an original work that combines several analytical concepts into a purpose-built scalping framework. While individual components like ATR calculations, pivot detection, session timing, and trend alignment exist in various forms elsewhere, the specific implementation here represents original synthesis:
- The Fuel Gauge decay model with its four-component weighted calculation
- The Trap Zone cluster detection with confluence scoring
- The multi-factor quality scoring system that integrates all layers
- The trap-aware entry and target zone placement logic
- The volatility regime adaptation across all components
- The session weighting is integrated into the quality assessment
The indicator does not simply overlay separate indicators on one chart. It creates interconnected layers where each component informs and adjusts the others. This integration is the core originality of SPM.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For best results, combine SPM with your own market understanding and always practice proper risk management.
-BullByte
Williams Fractal MA Pullback Strategy (1.5 RR) - BY DANISHOverview
This strategy is a price action and moving average-based scalping strategy designed for low timeframes (1m, 5m, 15m). It combines trend alignment with pullbacks to key moving averages and uses Williams Fractals as entry triggers.
It aims to catch high-probability scalping trades in the direction of the prevailing trend while keeping strict risk management with a 1.5:1 risk-to-reward ratio.
Indicators Used
Three Simple Moving Averages (SMA):
Fast SMA: 20 periods (Green)
Medium SMA: 50 periods (Yellow)
Slow SMA: 100 periods (Red)
Williams Fractals (Period 2):
Identifies short-term local highs (red) and lows (green) for potential reversal or continuation setups.
Trend Rules
Bullish Trend (Long Setup):
Fast SMA (20) > Medium SMA (50) > Slow SMA (100)
Moving averages must not be crossing
Bearish Trend (Short Setup):
Slow SMA (100) > Medium SMA (50) > Fast SMA (20)
Moving averages must not be crossing
This ensures trades are only taken in the direction of the prevailing trend.
Entry Rules
Long Entry (Buy):
Price pulls back to either the 20 SMA (fast) or 50 SMA (medium) without closing below the 100 SMA (slow).
A green Williams Fractal forms after the pullback.
Confirm all trend alignment rules (20>50>100).
Enter a long position at the close of the candle that confirms the fractal.
Short Entry (Sell):
Price pulls back to either the 20 SMA (fast) or 50 SMA (medium) without closing above the 100 SMA (slow).
A red Williams Fractal forms after the pullback.
Confirm all trend alignment rules (100>50>20).
Enter a short position at the close of the candle that confirms the fractal.
Risk Management & Stop Loss
Long Trades:
If price stayed above 50 SMA during pullback → SL is just below 50 SMA
If price dipped below 50 SMA but stayed above 100 SMA → SL is just below 100 SMA
Short Trades:
If price stayed below 50 SMA during pullback → SL is just above 50 SMA
If price rose above 50 SMA but stayed below 100 SMA → SL is just above 100 SMA
Take Profit (TP)
Fixed 1.5 Risk-to-Reward ratio
TP = Risk × 1.5
This ensures each trade has a positive expectancy and follows consistent risk-reward management.
Additional Rules
Fractals Confirmation:
The strategy waits for 2 bars to close before confirming the fractal signal to avoid repainting.
No trades are taken if the price violates the 100-period SMA during the pullback.
Designed for scalping on low timeframes: 1m, 5m, or 15m charts.
Visuals on Chart
SMA Lines:
20 SMA (Green)
50 SMA (Yellow)
100 SMA (Red)
Fractal Arrows:
Green fractal → potential long entry
Red fractal → potential short entry
Trade Highlights: Strategy plots entries and exit levels automatically with stop loss and take profit.
How to Use
Add the script to a 1m, 5m, or 15m chart.
Enable the strategy tester to see backtesting results.
Follow the trend alignment rules strictly for high-probability scalping trades.
Optionally, combine with volume filters or market structure analysis for better performance.
Benefits
Trades only in aligned trend direction, avoiding counter-trend traps.
Pullback + fractal logic provides high-probability entries.
Risk-to-reward of 1.5:1 ensures good risk management.
Avoids fractal repainting by waiting for candle close.
Ideal Conditions
Works best on volatile assets like crypto or forex pairs with clear trending moves.
Best applied to liquid markets with tight spreads for scalping.
✅ Summary:
Trend-aligned scalping strategy
Pullback to MA + fractal confirmation
Fixed 1.5 RR risk management
Works on low timeframes (1m, 5m, 15m)
Clean visual signals with SMMAs and fractals
eBacktesting - Learning: PD ArrayseBacktesting - Learning: PD Arrays helps you practice one of the most important “Smart Money” ideas: price tends to react from specific delivery areas (PD Arrays) like Imbalances (FVGs), Order Blocks, and Breakers.
Use this to train your eyes to:
- Spot where an imbalance/OB is created (often after displacement)
- Wait for price to return into that area
- Study the reaction (hold, reject, or slice through) and what that implies next
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
QUARTERS THEORY XAUUSDThe “Quarter Theory XAUUSD” indicator on TradingView is designed to automatically plot horizontal price levels in $25 increments on your chart, providing traders with a clear visual representation of key psychological and technical price points. These levels are particularly useful for instruments like XAU/USD, where price often reacts to round numbers, forming support and resistance zones that can be leveraged for both scalping and swing trading strategies. By showing all $25 increments as horizontal white lines, the indicator ensures that traders can quickly identify potential entry and exit points, without the need for manual drawing or repeated calculations.
The indicator works by calculating the nearest $25 multiple relative to the current market price and then drawing horizontal lines across the chart for all increments within a defined range. This range can be customized to suit the instrument being traded; for example, for gold (XAU/USD), a typical range might extend from 0 to 5000, covering all practical price levels that could be relevant in both high and low market conditions. By using Pine Script’s persistent variables, the indicator efficiently creates these lines only once at the start of the chart, avoiding unnecessary resource usage and preventing TradingView from slowing down, which can happen if lines are redrawn every bar.
From a trading perspective, these levels serve multiple purposes. For scalpers, the $25 increments act as micro support and resistance points, helping to determine short-term price reactions and potential breakout zones. Scalpers can use these levels to enter positions with tight stop-loss orders just beyond a level and take profits near the next $25 increment, which aligns with common price behavior patterns in highly liquid instruments. For swing traders, the same levels provide broader context, allowing them to identify areas where price might pause or reverse over several days. Swing traders can use these levels to align trades with the prevailing trend, particularly when combined with other indicators such as moving averages or trendlines.
Another key advantage of the Quarterly Levels indicator is its simplicity and visual clarity. By plotting lines in a uniform white color and extending them to the right, the chart remains clean and easy to read, allowing traders to focus on price action and market dynamics rather than cluttered technical drawings. This visual consistency also helps in backtesting and strategy development, as traders can quickly see how price interacts with each level over time. Additionally, the use of round-number increments leverages the psychological tendencies of market participants, as many traders place stop orders or entry points near these levels, making them natural zones of interest.
Overall, the Quarterly Levels indicator combines efficiency, clarity, and practical trading utility into a single tool. It streamlines chart analysis, highlights meaningful price zones, and supports both scalping and swing trading approaches, making it an essential addition to a trader’s toolkit. By understanding how to integrate these levels into trading strategies, traders can make more informed decisions, manage risk effectively, and identify high-probability trade setups across various market conditions.






















