Cash Market Volatility StrategyBCM - Baycam
Brakout signals based on voltality parameters -
Closing price
ATR - Average true range
RSI
Indicators and strategies
Volumen + Agotamiento + Tendencia Vol ↓This script detects potential exhaustion zones based on volume behavior, ideal for intraday trading on the 5-minute timeframe.
🔍 What it highlights:
- **Exhaustion signals** (bullish or bearish) when:
- Current volume is **below the 30-period moving average**.
- The previous candle had higher volume.
- Price attempts to continue in one direction but shows weakness.
📉 It also displays:
- A subtle "Vol ↓" label when there is a **volume downtrend**, defined as at least 60% of the last 5 candles showing decreasing volume.
🕒 Time filter:
- Signals only appear between **9:00 AM and 2:00 PM (New York time)**, aligning with the most liquid trading hours.
✅ Recommended usage:
- Best suited for **5-minute charts** and **intraday setups**.
- Works great as a confirmation layer for support/resistance levels, VWAP zones, or trend exhaustion.
- Can be combined with order flow tools like Bookmap or delta-based analysis for precise execution.
⚠️ Note:
This is not a delta or absorption-based indicator. It simplifies visual exhaustion detection based on volume structure. Use it as a **contextual alert**, not a standalone signal generator.
📎 Script by: Daniel Gonzalez
🔁 100% open-source and customizable
TPMCustom Script for the TPM Strategy
This indicator graphically and in real time displays the parameters of a Bear Put Spread strategy with active management and additional naked options. It is designed to provide a complete and immediate overview directly on the underlying chart.
🔹 Key Features
• Customizable entry point: can be specified by date and time, displayed with a vertical blue line and an “ENTRY” label.
• Automatic calculation of the management level: shown as an orange horizontal line at -13% from the entry price. When the price drops below this threshold:
• an alert is triggered
• an active management label appears
• Visualization of bought and sold options:
• Strike prices of Buy Put and Sell Put are drawn as horizontal colored lines (red and green)
• Strike of an extra sold Put (-23%) shown in purple
• “Today” line (dashed red or blue) with a day counter from the entry date
• Active period box: highlighted area between the entry day and today, visible across the chart
• Dynamic theoretical expiration (based on VIX):
• 60 / 30 / 15 days depending on the current VIX value
• Yellow vertical line with estimated date and descriptive label, always visible even if in the future
• Golden Scenario (optional):
• Analysis of % variation over a configurable number of days
• Icons 🟤 ⚪ 🟡 drawn on the chart to identify significant drops (-2% / -3% / -5%)
• Visual dashboard (optional):
• Fixed table at the bottom right with color-coded sections for:
• Bull Put: strike and expiration (12 months)
• Management Level
• Extra Sell Put: strike and expiration (9 months)
• Values rounded down and well-formatted for readability
⸻
🔧 Customization
Every parameter of the strategy (strike, entry, levels, period) is customizable via input. The script’s behavior adapts in real time to the chart context and VIX conditions.
Elder Envelope V2Based on the public script by idu. (Elder Impulse System with AutoEnvelope combined by idu)
I enhanced it by adding:
- second set of envelope bands
-alerts for Short and Center EMAs cross
- fill between EMAs
I find this strategy good for swing trading on daily timeframes to determine overbought/oversold conditions. When stock is near 2nd upper band - take profits/short, when near lower -2nd band cover short/buy longs. Bull bear trend is determined by the short and long(center) emas cross. In rangebound flat trends gives false signals. Best edge is when near extremes of the bands.
ADR & ATR Extension from EMAThis indicator helps identify how extended the current price is from a chosen Exponential Moving Average (EMA) in terms of both Average Daily Range (ADR) and Average True Range (ATR).
It calculates:
ADR Extension = (Price - EMA) / ADR
ATR Extension = (Price - EMA) / ATR
The results are shown in a floating table on the chart.
The ADR line turns red if the price is more than 4 ADRs above the selected EMA
Customization Options:
- Select EMA length
- Choose between close or high as price input
- Set ADR and ATR periods
- Customize the label’s position, color, and transparency
- Use the chart's timeframe or a fixed timeframe
Improved RSI with Divergence + Gradient + Trend HistogramThis will:
Restrict the y-axis to start at 0
Prevent any accidental -40 scale drops
You can now safely reintroduce the histogram bars without breaking the scale.
Let me know if you want to move the histogram to a separate pane or adjust its bar thickness/gradient.
My script//@version=6
strategy("Ultimate Combined Buy/Sell Strategy - 4$ Profit", overlay=true)
// تنظیمات ورودی
maFastLength = input.int(5, title="Fast MA Length", minval=1)
maSlowLength = input.int(13, title="Slow MA Length", minval=1)
rsiLength = input.int(14, title="RSI Length", minval=1)
bbLength = input.int(20, title="Bollinger Length", minval=1)
bbMult = input.float(2.0, title="Bollinger Multiplier", minval=0.1, step=0.1)
stochK = input.int(14, title="Stochastic K", minval=1)
stochD = input.int(3, title="Stochastic D", minval=1)
stochSmooth = input.int(3, title="Stochastic Smooth", minval=1)
atrThreshold = input.float(0.10, title="ATR Threshold (Pips)", minval=0.01)
volumeLookback = input.int(20, title="Volume Lookback", minval=1)
profitTargetPips = input.float(40, title="Profit Target (Pips)", minval=1)
stopLossPips = input.float(20, title="Stop Loss (Pips)", minval=1)
// محاسبه اندیکاتورها
maFast = ta.sma(close, maFastLength)
maSlow = ta.sma(close, maSlowLength)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, 5, 13, 1)
= ta.bb(close, bbLength, bbMult)
= ta.stoch(close, high, low, stochK, stochD, stochSmooth)
atr = ta.atr(14)
avgVolume = ta.sma(volume, volumeLookback)
// سیستم امتیازدهی
buyScore = 0.0
sellScore = 0.0
// امتیاز MA
if maFast > maSlow
buyScore := buyScore + 1.5
if maFast < maSlow
sellScore := sellScore + 1.5
// امتیاز RSI
if rsi < 70
buyScore := buyScore + 1.0
if rsi > 30
sellScore := sellScore + 1.0
if rsi < 30
buyScore := buyScore + 1.5 // اشباع فروش
if rsi > 70
sellScore := sellScore + 1.5 // اشباع خرید
// امتیاز MACD
if macdLine > signalLine
buyScore := buyScore + 1.0
if macdLine < signalLine
sellScore := sellScore + 1.0
// امتیاز Bollinger Bands
if close > bbUpper
buyScore := buyScore + 1.0
if close < bbLower
sellScore := sellScore + 1.0
// امتیاز Stochastic
if stochKVal > stochDVal and stochKVal < 80
buyScore := buyScore + 1.0
if stochKVal < stochDVal and stochKVal > 20
sellScore := sellScore + 1.0
// امتیاز ATR
if atr > atrThreshold
buyScore := buyScore + 1.0
sellScore := sellScore + 1.0
// امتیاز Volume
if volume > avgVolume
buyScore := buyScore + 1.0
sellScore := sellScore + 1.0
// تصمیمگیری
buyCondition = buyScore >= 4.5 and buyScore > sellScore
sellCondition = sellScore >= 4.5 and sellScore > buyScore
// ورود به ترید
if buyCondition
strategy.entry("Buy", strategy.long)
if sellCondition
strategy.entry("Sell", strategy.short)
// خروج با هدف سود و حد ضرر
strategy.exit("Exit Buy", "Buy", profit=profitTargetPips * 10, loss=stopLossPips * 10) // هر پیپ = 0.1 دلار با 0.1 لات
strategy.exit("Exit Sell", "Sell", profit=profitTargetPips * 10, loss=stopLossPips * 10)
// رسم سیگنالها (برای نمایش بصری)
plotshape(buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// رسم MA
plot(maFast, "Fast MA", color=color.green, linewidth=1)
plot(maSlow, "Slow MA", color=color.red, linewidth=1)
Indicateur de tradingKDJ Alert
Strategy Advice
1- Cautious
Frame the alert candle
Buy = yellow
Sell = blue
Follow the market trend and go
Set a 20-day moving average.
Be careful, the alert sometimes occurs quite high above the moving average
Wait for it to return to the moving average before opening.
2- Risky
Follow the alert candle immediately
Set a fairly large SL, however, if you want to implement this risky method
First 15-Min Candle High/Low### 📘 Description of the Script
This Pine Script indicator draws **horizontal lines** at the **high and low of the first 15-minute candle after the market opens at 9:30 AM (New York time)**. It is designed for use on **intraday charts** (e.g., 1m, 5m) for U.S. stock markets.
---
### 🔍 What the Script Does
* **Fetches 15-minute candle data** using `request.security()` from the `"15"` timeframe.
* **Detects the first 15-minute candle starting at 9:30 AM** (i.e., the 9:30–9:45 candle).
* **Saves the high and low** of that first 15-minute candle.
* **Plots horizontal lines** at those high/low levels for the rest of the trading day.
* **Resets at the start of each new day**, so the levels are updated fresh each morning.
---
### 🕒 When It Updates
* At exactly 9:45 AM (when the first 15-minute candle closes), it captures the high/low.
* Lines remain plotted for the rest of the day until the script resets on a new day.
---
### 🧠 Why This Is Useful
Traders often watch the **initial 15-minute range** as a key zone for:
* Breakouts or breakdowns
* Trend direction confirmation
* Entry or exit signals
This script helps visualize that range clearly and automatically.
---
Let me know if you want to:
* Extend the line beyond today
* Add alerts for breakouts
* Support different market open times (e.g., futures or forex markets)
FibSync - DynamicFibSupportWhat is this indicator?
FibSync – DynamicFibSupport overlays your chart with both static and dynamic Fibonacci retracement levels, making it easy to spot potential areas of support and resistance.
Static Fibs: Calculated from the highest and lowest price over a user-defined lookback period.
Dynamic Fibs: Calculated from the most recent swing high and swing low, automatically adapting as new swings form.
How to use
Add the indicator to your chart.
Configure the settings:
Static Fib Period: Sets the lookback window for static fib levels.
Show Dynamic Fibonacci Levels: Toggle dynamic fibs on/off.
Dynamic Fib Swing Search Window: How far back to search for valid swing highs/lows.
Swing Strength (bars left/right): How many bars define a swing high/low (higher = stronger swing).
Interpret the levels:
Solid lines are static fibs.
Transparent lines are dynamic fibs (if enabled).
Colors match standard fib conventions (yellow = 0.236, red = 0.382, blue = 0.618, green = 0.786, gray = 0.5).
Tips
Static and dynamic fibs can overlap-this often highlights especially important support/resistance zones.
Adjust the swing strength for your trading style: lower values for short-term, higher for long-term swings.
Hide/show individual lines using the indicator’s style settings in TradingView.
Trading Ideas (for higher timeframes and static fibs)
Close above the blue line (0.618 static fib):
This can be interpreted as a potential long (buy) signal, suggesting the market is breaking above a key resistance level.
Close below the red line (0.382 static fib):
This can be interpreted as a potential short (sell) signal, indicating the market is breaking below a key support level.
Note: These signals are most meaningful on higher timeframes and when using the static fib lines. Always confirm with your own strategy and risk management.
MAGICAL 50 LINEExplanation:
Indicator Declaration: The script declares an indicator to overlay on the chart.
Time Calculation: Calculates the start time of the first 5-minute candle, assuming it begins at 9:15 AM.
First Candle Close: It gets the closing price of the first 5-minute candle.
Calculate +50: It calculates the level 50 points above the closing price.
Plot Line: It plots a line at the calculated +50 level in green.
This script will draw a line on your chart at the specified level, providing a visual reference for your analysis. If you have any other requests or modifications, just let me know! 😊
MACD AaronVersionAutomatically changes color to help you better assess trend strength, suitable for use with breakout or range trading strategies.
Fast Line (MACD):
🔸 Higher than yesterday → Yellow
🔹 Lower than yesterday → Gray
Slow Line (Signal Line):
🟢 After a Golden Cross occurs → stays Green until a Death Cross
🔴 After a Death Cross occurs → stays Red until the next Golden Cross
Chattes-Grid-Pivot You Can Customize:
Use anchor = pivotHigh if you're in a downtrend
Use math.avg(pivotHigh, pivotLow) to anchor from the midpoint of the range
Let me know if you want to:
Anchor from a fixed price like 1.3700
Automatically switch between pivotHigh/pivotLow based on trend direction
Label each grid line with its price
Buy Setup with TP/SL5 EMA entry and Stoploss only. you need to take decision of where to take profit. some time trade can continue in your favour for 2 to 3 days.
ST + Multi-EMASuperTrend with multiple EMAs.
The indicator includes Supertrend and 10 EMAs. Hope it helps those who are looking for multiple EMAs in one indicator.
Enhance Short Squeeze Detector gilClearer Short Squeeze Indicator Contains 3 Conditions RSI>50 Volume Above Average and SQZMOM Indicator
Focuses the Days and Doesn't Spread Them Out
Rolling 4-Year CAGRCalculates rolling 4-year CAGR on day, week, or month chart.
Can change timeframe to any number of years.
-Jesse Myers
ITG Scalper + Supertrend + VWAP (Minimal v6)IT USES TRIPE EMA ALONG WITH VWAP AND SUPERTREND AND ALSO //@version=5
indicator(title="ITG Scalper + Supertrend + VWAP (Minimal v6)", shorttitle="ITG_SUPER_VWAP_MIN", overlay=true)
// === Inputs ===
temaLen = input.int(14, title="TEMA Period")
showTEMA = input.bool(true, title="Show TEMA Line?")
showSignals = input.bool(true, title="Show Buy/Sell Signals?")
macdFast = input.int(12, title="MACD Fast")
macdSlow = input.int(26, title="MACD Slow")
macdSignal = input.int(9, title="MACD Signal")
factor = input.float(3.0, title="Supertrend Factor")
atrlen = input.int(10, title="Supertrend ATR")
// === TEMA ===
ema1 = ta.ema(close, temaLen)
ema2 = ta.ema(ema1, temaLen)
ema3 = ta.ema(ema2, temaLen)
tema = 3 * (ema1 - ema2) + ema3
trendUp = tema >= tema
trendDown = tema < tema
// === MACD ===
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdBuy = macdLine >= signalLine
macdSell = macdLine < signalLine
// === Supertrend ===
atr_ = ta.atr(atrlen)
src = (high + low) / 2
upperBasic = src + factor * atr_
lowerBasic = src - factor * atr_
var float upperBand = na
var float lowerBand = na
var int superDir = na
upperBand := na(upperBand ) ? upperBasic : close > upperBand ? math.max(upperBasic, upperBand ) : upperBasic
lowerBand := na(lowerBand ) ? lowerBasic : close < lowerBand ? math.min(lowerBasic, lowerBand ) : lowerBasic
superDir := na(superDir ) ? 1 : close > lowerBand ? 1 : close < upperBand ? -1 : superDir
superBull = superDir == 1
superBear = superDir == -1
// === VWAP ===
vwapValue = ta.vwap
// === Combo Logic (no duplicate signals) ===
var int lastSignal = na // 1 for Buy, -1 for Sell
buyCond = trendUp and macdBuy and superBull and close > vwapValue
sellCond = trendDown and macdSell and superBear and close < vwapValue
newBuy = buyCond and (na(lastSignal) or lastSignal == -1)
newSell = sellCond and (na(lastSignal) or lastSignal == 1)
if newBuy
lastSignal := 1
if newSell
lastSignal := -1
// === Plotting ===
plot(showTEMA ? tema : na, color=trendUp ? color.lime : color.red, linewidth=2)
plot(vwapValue, color=color.orange, linewidth=1)
bgcolor(superBull ? color.new(color.green,90) : superBear ? color.new(color.red,90) : na)
plotshape(showSignals and newBuy, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(showSignals and newSell, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
Stoch Quad Oscillator📘 Stoch Quad Oscillator – User Guide
✅ Purpose
The Stoch Quad Oscillator is a multi-timeframe stochastic oscillator tool that helps traders detect oversold and overbought conditions, momentum shifts, and quad rotation signals using four distinct stochastic configurations. It includes visual cues, customizable parameters, and background highlights to improve decision-making during trend reversals or momentum surges.
🛠️ Inputs & Parameters
⏱ Timeframe
Timeframe for Stochastic Calculation: Defines which chart timeframe to use for stochastic calculations (default is "1" minute). This enables multi-timeframe analysis while on a lower timeframe chart.
📈 Stochastic Parameters
Four different stochastic configurations are used:
Label %K Length %D Smoothing Notes
K9 D3 9 3 Fastest, short-term view
K14 D3 14 3 Moderately short-term
K40 D4 40 4 Medium-term trend view
K60 D10 60 10 Long-term strength
Smoothing Type: Choose between SMA or EMA to control how smoothed the %D line is.
🎯 Levels
Overbought Level: Default 80
Oversold Level: Default 20
These are used to indicate overextended price conditions on any of the stochastic plots.
🔄 Quad Rotation Detection Settings
When enabled, the script detects synchronized oversold/overbought conditions with strong momentum using all 4 stochastic readings.
Enable Quad Rotation: Toggles detection on or off
Slope Calculation Bars: Number of bars used to calculate slope of %D lines
Slope Threshold: Minimum slope strength for signal (higher = stronger confirmation)
Oversold Quad Level: Total of all four stochastic values that define a quad oversold zone
Overbought Quad Level: Total of all four stochastic values that define a quad overbought zone
Oversold Quad Highlight Color: Background color when oversold quad is triggered
Overbought Quad Highlight Color: Background color when overbought quad is triggered
Slope Averaging Method: Either Simple Average or Weighted Average (puts more weight on higher timeframes)
Max Signal Bar Window: Defines how recent the signal must be to be considered valid
📊 Plots & Visual Elements
📉 Stochastic %D Lines
Each stochastic is plotted separately:
K9 D3 – Red
K14 D3 – Orange
K40 D4 – Fuchsia
K60 D10 – Silver
These help visualize short to long-term momentum simultaneously.
📏 Horizontal Reference Lines
Overbought Line (80) – Red
Oversold Line (20) – Green
These help you identify threshold breaches visually.
🌈 Background Highlighting
The indicator provides background highlights to mark potential signal zones:
✅ All Oversold or Overbought Conditions
When all four stochastics are either above overbought or below oversold:
Bright Red if all are overbought
Bright Green if all are oversold
🚨 Quad Rotation Signal Zones (if enabled)
Triggered when:
The combined sum of all four stochastic levels is extremely low/high (below/above oversoldQuadLevel or overboughtQuadLevel)
The average slope of the 4 %D lines is sharply positive (> slopeThreshold)
Highlights:
Custom Red Tint = Strong overbought quad signal
Custom Green Tint = Strong oversold quad signal
These zones can indicate momentum shifts or reversal potential when used with price action or other tools.
⚠️ Limitations & Considerations
This indicator does not provide trade signals. It visualizes conditions and potential setups.
It is best used in confluence with price action, support/resistance levels, and other indicators.
False positives may occur in ranging markets. Reduce reliance on slope thresholds during low volatility.
Quad signals rely on slope strength, which may lag slightly behind sudden reversals.
🧠 Tips for Use
Combine with volume, MACD, or PSAR to confirm direction before entry.
Watch for divergences between price and any of the stochastics.
Use on higher timeframes (e.g., 5m–30m) to filter for swing trading setups; use shorter TFs (1m–5m) for scalping signals.
Adjust oversoldQuadLevel and overboughtQuadLevel based on market conditions (e.g., in trending vs ranging markets).
Mirrored Buy/Sell Volume + Cumulative DeltaUser Guide: Mirrored Buy/Sell Volume (Histogram)
🔍 What It Does
Displays green bars above zero for estimated buy volume
Displays red bars below zero for estimated sell volume
Adds a blue line showing Cumulative Delta (buy − sell over time)
Optional threshold lines help spot when net momentum builds up
📊 How Volume is Estimated
Same estimation method as the table version:
Buy Volume is proportion of volume estimated using (close - low) / (high - low)
Sell Volume is remainder of the total volume
Cumulative Delta = running total of (Buy − Sell) volume
This gives you:
A real-time sense of which side is gradually gaining control
More context than looking at candles or volume bars alone
✅ Best For
Visual trade decision support: who’s winning the tug-of-war?
Spotting trend initiation or momentum shifts
Combining with oscillator/trend tools for confirmation
⚠️ Limitations
Still an approximation — not based on actual trade aggressor data
Cannot separate passive vs. aggressive orders
Cumulative Delta does not reset unless specifically coded to do so
May mislead if the bar has long wicks or closes near midpoint
High/Low Liquidation LevelsThe Visible High/Low Liquidation Levels indicator is designed to help traders better understand potential liquidation zones within a visible range on the chart. It does this by identifying dynamic high and low median price levels and plotting corresponding liquidation levels based on various leverage ratios.
This tool visually marks these critical zones, offering insight into areas where over-leveraged positions (such as x1, x2, x5, up to x100) are more likely to get liquidated, either above the recent low or below the recent high. This can support risk management and decision-making, especially in volatile markets.
Features:
Displays median high and low levels based on a configurable number of visible bars.
Plots liquidation levels above the low median and below the high median for multiple leverage tiers: x1, x2, x3, x5, x10, x25, x50, x75, x100.
Full customization over which leverage levels to show.
Color-coded lines for easy visual distinction.
Configurable bar range for calculating highs and lows separately.
Built-in legend table for clear reference to level color mappings.
Simple Market Status indicatorSimple market status indicator indicated, MFI, RSI and Wavelength trends.
You can change setting for MFI/RSI between, 15, 30, 60 to see curves and trends in different timeframes.