Range Filter + SuperTrend 合并指标 - 1小时优化结合两种经典指标,适合做山寨币1小时趋势单
Combining two classic indicators, it is suitable for doing 1-hour trend orders of altcoins
Candlestick analysis
Prev Day R1–R3 / S1–S3 LevelsPlots Levels BASED ON SOME specific formula and offset. Happy trading !
trademark - BGYRT
Mein Skript//@version=5
indicator("CAN SLIM Filter", overlay=true)
// Beispielhafte Kriterien
eps_growth = input.float(25, "EPS-Wachstum (%)")
rel_volume = input.float(1.5, "Relatives Volumen")
// Simulierte Beispieldaten
mock_eps_growth = ta.rma(close / close - 1, 90) * 100
mock_rel_volume = volume / ta.sma(volume, 50)
plotshape(mock_eps_growth > eps_growth and mock_rel_volume > rel_volume, title="CAN SLIM Match", location=location.belowbar, color=color.green, style=shape.labelup)
CoinBot2.0 (Signals Only)CoinBot2.0 is a next-generation crypto trading indicator and webhook-enabled bot system designed for seamless automation and fast signal execution.
This TradingView Pine Script detects potential market reversals by combining Bollinger Band and RSI logic to generate clear “BUY” and “SELL” signals directly on your chart—no clutter, no unnecessary lines, just actionable entries and exits.
With built-in webhook alerts, CoinBot2.0 connects to your Flask/Python bot or any automated trading system. Instantly trigger simulated or real trades the moment a new opportunity appears—no manual intervention required.
Key Features:
Clean chart interface: Only buy/sell signals, no extra overlays or indicators.
Bottom/top detection: Attempts to catch major reversals using dynamic Bollinger Bands and custom RSI thresholds.
Webhook-ready: Sends buy/sell JSON alerts with price and symbol to any compatible endpoint (like your Replit CoinBot dashboard).
Easy integration: Fast setup for automated, paper, or live trading.
Ideal for:
Traders seeking simple, actionable, automation-friendly signals.
Anyone running a webhook-based trading bot, whether on Replit, a VPS, or locally.
4H Box+ m15 Separadorindicates 15-minute time frames in vertical lines and 4-hour time frames in boxes for candle analysis on shorter time frames.
Multi-Time Period ChartsI have made it so you don't have to change the candle value each time you switch timeframes.
Price Deviation Table by ZonkeyXLProvides a 30 column table showing price deviation per bar close, highlighting larger deviations in red (downside) or green (upside).
Deviations that get highlighted in red/green are calculated to be 2x the amount of price movement in the previous candle, but can be customised to check any deviation size you want in the options panel.
Can be used on any timeframe but you need to specify the number of bars per table column to make it accurate to what you want.
Examples:
If used on the 1 second time frame you could specify bars to 1 and then each column value will check the price as at close on the most recent second for deviations against the close of price on the second prior, showing comparisons up to 30 seconds.
If on the 1 minute time-frame you could specify bars to 2 and then each column value would show deviations from most recent price close to 2 minutes ago, making all 30 columns show deviations for up to an hour.
At the end of the column are 3 orange coloured columns. The first one compares price to 10 bars ago. The second compares current price to 20 bars ago. The 3rd compares current price to 30 bars ago.
In our example on the 1 second above, this would mean deviation is calculated by comparing most recent close to 10 seconds ago, then to 20 seconds ago, and then to 30 seconds ago. The final 3 columns do not highlight red or green, so you can differentiate them properly from the main deviation columns at all times.
Note that the table is rolling - so once it is populated for the first time, only the final column will update while the prior values will shift one column to the left.
Supply and Demand ZonesSupply and Demand Zones.
Best settings to have is have multiplier by 3 and only turn on the 30 minute, the 1 hour, and the 4 hour.
TSEP Dual SMA + Optional BB//@version=6
indicator(title="TSEP Chart Info Overlay", shorttitle="TSEP Overlay", overlay=true)
// === INPUTS ===
tickerID = input.string(title="Ticker Symbol", defval="TYPE", tooltip="Manually enter the ticker symbol for this chart.")
showOverlay = input.bool(true, title="Show TSEP Overlay")
// === PRICE ===
currentPrice = close
// === VOLUME ===
currentVol = volume
adtv50 = ta.sma(volume, 50)
// === TIMESTAMP ===
timestampText = "🕓 01:40 AM CDT 07/10/2025" // Replace automatically on future updates if needed
// === DISPLAY STRING ===
labelText = "Ticker: " + tickerID + " Price: $" + str.tostring(currentPrice, "#.##") +
" Volume: " + str.tostring(currentVol, "#.##") +
" 50-day ADTV: " + str.tostring(adtv50, "#.##") +
" " + timestampText
// === RENDER ===
if showOverlay
label.new(x=bar_index, y=high, text=labelText, style=label.style_label_left,
textcolor=color.white, size=size.normal, color=color.new(color.black, 85))
TSEP Dual SMA + Optional BB//@version=5
indicator("50-Day ADTV", overlay=false)
// Calculate 50-day Average Daily Trading Volume
adtv_50 = ta.sma(volume, 50)
// Plot the ADTV as a line
plot(adtv_50, color=color.blue, title="50-Day ADTV", linewidth=2)
// Add a label to display the current ADTV value
label.new(bar_index, adtv_50, text="ADTV: " + str.tostring(adtv_50, "#.##"), color=color.blue, textcolor=color.white, style=label.style_label_down)
TSEP Dual SMA + Optional BB//@version=5
indicator("TSEP – 50-day ADTV & Current Volume", overlay=false)
// Calculate values
currentVol = volume
avgVol50 = ta.sma(volume, 50)
// Format as millions (M)
formatVolume(v) =>
v >= 1e9 ? str.tostring(v / 1e9, "#.##") + "B" :
v >= 1e6 ? str.tostring(v / 1e6, "#.##") + "M" :
v >= 1e3 ? str.tostring(v / 1e3, "#.##") + "K" :
str.tostring(v, "#.##")
// Create output strings
volText = "Current Volume: " + formatVolume(currentVol)
adtvText = "50-day ADTV: " + formatVolume(avgVol50)
// Display in a table
var table t = table.new(position.top_right, 1, 2, border_width = 1)
if bar_index % 5 == 0 // Update every 5 bars to avoid flicker
table.cell(t, 0, 0, adtvText, text_color=color.white, bgcolor=color.new(color.blue, 80))
table.cell(t, 0, 1, volText, text_color=color.white, bgcolor=color.new(color.blue, 80))
TSEP Dual SMA + Optional BB//@version=5
indicator("TSEP Chart Data Overlay", overlay=true)
currentVol = volume
avgVol50 = ta.sma(volume, 50)
currentPrice = close
timestampStr = str.tostring(year) + "-" + str.tostring(month, "00") + "-" + str.tostring(dayofmonth, "00")
// === Format Helpers ===
formatVal(val) =>
val >= 1e9 ? str.tostring(val / 1e9, "#.##") + "B" :
val >= 1e6 ? str.tostring(val / 1e6, "#.##") + "M" :
val >= 1e3 ? str.tostring(val / 1e3, "#.##") + "K" :
str.tostring(val, "#.##")
// === Label Text ===
labelText = "✅ Current Price: $" + str.tostring(currentPrice, "#.##") + " " +
"✅ 50-day ADTV: " + formatVal(avgVol50) + " " +
"✅ Current Volume: " + formatVal(currentVol) + " " +
"✅ Timestamp: " + timestampStr
// === Display Label ===
var label dataLabel = label.new(x=bar_index, y=high, text=labelText,
xloc=xloc.bar_index, yloc=yloc.price, style=label.style_label_left,
textcolor=color.white, size=size.normal, color=color.new(color.blue, 80))
label.set_xy(dataLabel, bar_index, high)
label.set_text(dataLabel, labelText)
TSEP Dual SMA + Optional BB✅ Current Price: $163.44
✅ 50-day ADTV: 21.7M
✅ Current Volume: 19.5M
✅ Timestamp: 2025-07-10
TSEP Dual SMA + Optional BB//@version=5
indicator("TSEP Volume + Price Overlay", overlay=true)
// === Data Calculations ===
currentVol = volume
avgVol50 = ta.sma(volume, 50)
currentPrice = close
timestampStr = str.tostring(year) + "-" + str.tostring(month, "00") + "-" + str.tostring(dayofmonth, "00")
// === Format Helpers ===
formatVal(val) =>
val >= 1e9 ? str.tostring(val / 1e9, "#.##") + "B" :
val >= 1e6 ? str.tostring(val / 1e6, "#.##") + "M" :
val >= 1e3 ? str.tostring(val / 1e3, "#.##") + "K" :
str.tostring(val, "#.##")
// === Label Text ===
labelText = "✅ Current Price: $" + str.tostring(currentPrice, "#.##") + " " +
"✅ 50-day ADTV: " + formatVal(avgVol50) + " " +
"✅ Current Volume: " + formatVal(currentVol) + " " +
"✅ Timestamp: " + timestampStr
// === Display Label ===
var label dataLabel = label.new(x=bar_index, y=high, text=labelText,
xloc=xloc.bar_index, yloc=yloc.price, style=label.style_label_left,
textcolor=color.white, size=size.normal, color=color.new(color.blue, 80))
// === Update Each Bar ===
label.set_xy(dataLabel, bar_index, high)
label.set_text(dataLabel, labelText)
That Awesome StrategyThis is of course a work in progress. I really would like feedback.
I designed this specifically for the S&P 500, specifically ES1!, and have not tested on any other charts. I am not responsible for any losses you may incur by using this strategy.
This strategy is based in parts on MACD calculations, the momentum indicator i created, and a pair of dual offset identical moving averages, along with other tweaks.
It has a SL/TP function based on ticks.
It has several options for moving average types for the main moving averages, the MACD moving averages, and the momentum indicator moving average. Many combinations.
Since I am using a CME futures product for trading, this strategy automatically closes all trades at 2pm and disallows any trading until 4pm. I will update this with an adjustable time slot for this market closure time soon so that it will fit your timezone.
Pine Script version 6.
Momentum Buy/Sell IndicatorMomentum indicator that needs to be followed and not relied upon completely
Hybrid Cumulative DeltaWhat does this indicator show?
This script displays two types of CVD (Cumulative Volume Delta):
1. Simple Cumulative Delta Volume:
This is the basic method:
pinescript
Kopiraj
Uredi
deltaVolume = volume * (close > close ? 1 : close < close ? -1 : 0)
➡️ It increases cumulative volume if the candle closes higher, and decreases it if it closes lower.
It's a simple assumption:
If the candle is bullish → more buying.
If bearish → more selling.
Then it's accumulated with:
pinescript
Kopiraj
Uredi
cumulativeDeltaVolume = ta.cum(deltaVolume)
It's plotted as candlesticks, rising or falling based on delta volume.
2. Monster Cumulative Delta (advanced method):
Uses a more complex formula, taking into account:
Candle range (high - low),
Relationship between open, close, and wicks,
Distribution of volume inside the candle.
pinescript
Kopiraj
Uredi
U1 = (close >= open ...) ? ...
D1 = (close < open ...) ? ...
Delta = close >= open ? U1 : -D1
cumDelta := nz(cumDelta ) + Delta
➡️ Purpose: to more realistically estimate aggressive buyers/sellers.
This is a refined CVD, ideal for markets without real order book data (like forex).
📍 What does the indicator tell us?
➕ If cumulative delta is rising:
Buyers are in control (more aggressive market buys).
➖ If cumulative delta is falling:
Sellers dominate (more aggressive market sells).
📈 How to read it on the chart:
You’ll see 2 candlestick plots:
One for the simple delta (green/red delta volume candles),
One for the monster delta, which is often smoother.
👉 The key is to watch for divergence between price and CVD:
If price goes up but CVD goes down → buyers are weak = potential reversal.
If price drops and CVD rises → selling pressure is weak = potential bounce.
🕐 Best timeframe (interval) for forex?
Timeframe Purpose Recommendation
1m–15m Scalping / short-term flow ✅ Works well, but needs high-volume pairs (e.g., EUR/USD, GBP/USD)
1H–4H Swing trading / intraday ✅ Best balance – reveals smart money movements
1D Macro overview, long-term volume Usable, but less granular info
🔹 Recommendation for forex: 4H interval
Enough volume data to detect shifts in real pressure.
Less noise than lower timeframes.
Great for spotting swing setups (e.g., divergences at support/resistance).
Previous Day LevelsPrevious Day Levels (PDH, PDL, PDC)
This indicator automatically plots the key price levels from the previous trading day onto your chart: the High (PDH), Low (PDL), Close (PDC), and the Midpoint.
These levels are essential for day traders who use them to identify potential areas of support and resistance, gauge market sentiment, and pinpoint key breakout or breakdown zones.
Key Features:
Smart Drawing: Lines for past days are neatly contained within their daily session, while the current day's lines extend in real-time for live analysis.
Four Key Levels: Plots the Previous Day High, Low, Close, and Midpoint.
Full Customization: Easily toggle the visibility of each line and customize its color, style (solid, dotted, dashed), and width to match your personal chart theme.
This is a clean, lightweight, and fully adjustable tool for adding a classic day trading strategy to your analysis.
MTF Candles [Fadi x MMT]MTF Candles
Overview
The MTF Candles indicator is a powerful tool designed for traders who want to visualize higher timeframe (HTF) candles directly on their current chart. Built with flexibility and precision in mind, this Pine Script indicator displays up to six higher timeframe candles, complete with customizable styling, sweeps, midpoints, fair value gaps (FVGs), volume imbalances, and trace lines. It’s perfect for multi-timeframe analysis, helping traders identify key levels, market structure, and potential trading opportunities with ease.
Key Features
- Multi-Timeframe Candles : Display up to six higher timeframe candles (e.g., 5m, 15m, 30m, 4H, 1D, 1W) on your chart, with configurable timeframes and visibility.
- Sweeps Detection : Identify liquidity sweeps (highs/lows) with customizable line styles, widths, and colors, plus optional alerts for confirmed bullish or bearish sweeps.
- Midpoint Lines : Plot the midpoint (average of high and low) of the previous HTF candle, with customizable color, width, and style for enhanced market analysis.
- Fair Value Gaps (FVGs) : Highlight gaps between non-adjacent candles, indicating potential areas of interest for price action.
- Volume Imbalances : Detect and display volume imbalances between adjacent candles, aiding in spotting significant price levels.
- Trace Lines : Connect HTF candle open, close, high, and low prices to their respective chart bars, with customizable styles and optional price labels.
- Custom Daily Open Times : Support for custom daily candle open times (Midnight, 8:30, or 9:30) to align with specific market sessions.
- Dynamic Labels : Show timeframe names, remaining time until the next HTF candle, and interval labels (e.g., day of the week for daily candles) with adjustable positions and sizes.
- Highly Customizable : Fine-tune candle appearance, spacing, padding, and visual elements to suit your trading style.
How It Works
The indicator renders HTF candles as boxes (bodies) and lines (wicks) on the right side of the chart, with each timeframe offset for clarity. It dynamically updates candles in real-time, tracks their highs and lows, and displays sweeps and midpoints when conditions are met. FVGs and volume imbalances are calculated based on candle relationships, and trace lines link HTF candle levels to their originating bars on the chart.
Sweep Logic
- A bearish sweep occurs when the current candle’s high exceeds the previous candle’s high, but the close is below it.
- A bullish sweep occurs when the current candle’s low falls below the previous candle’s low, but the close is above it.
- Sweeps are visualized as horizontal lines and can trigger alerts when confirmed on the next candle.
Midpoint Logic
- A midpoint line is drawn at the average of the previous HTF candle’s high and low, extending until the next HTF candle forms.
- Useful for identifying potential support/resistance or mean reversion levels.
Imbalance Detection
- FVGs : Identified when a candle’s low is above the next-but-one candle’s high (or vice versa), indicating a price gap.
- Volume Imbalances : Detected between adjacent candles where the body of one candle doesn’t overlap with the next, signaling potential liquidity zones.
Settings
Timeframe Settings
- HTF 1–6 : Enable/disable up to six higher timeframes (default: 5m, 15m, 30m, 4H, 1D, 1W) and set the maximum number of candles to display per timeframe (default: 4).
- Limit to Next HTFs : Restrict the number of active timeframes (1–6).
Styling
- Body, Border, Wick Colors : Customize bull and bear candle colors (default: light gray for bulls, dark gray for bears).
- Candle Width : Adjust the width of HTF candles (1–4).
- Padding and Spacing : Set the offset from the current price action and spacing between candles and timeframes.
Label Settings
- HTF Label : Show/hide timeframe labels (e.g., "15m", "4H") at the top/bottom of candle sets.
- Remaining Time : Display the countdown to the next HTF candle.
Interval Value: Show day of the week for daily candles or time for intraday candles.
- Label Position/Alignment : Choose to display labels at the top, bottom, or both, and align them with the highest/lowest candles or follow individual candle sets.
Imbalance Settings
- Fair Value Gap : Enable/disable FVGs with customizable color (default: semi-transparent gray).
- Volume Imbalance : Enable/disable volume imbalances with customizable color (default: semi-transparent red).
Trace Settings
- Trace Lines : Enable/disable lines connecting HTF candle levels to their chart bars, with customizable colors, styles (solid, dashed, dotted), and sizes.
- Price Labels : Show price levels for open, close, high, and low trace lines.
- Anchor : Choose whether trace lines anchor to the first or last enabled timeframe.
Sweep Settings
- Show Sweeps : Enable/disable sweep detection and visualization.
- Sweep Line : Customize color, width, and style (solid, dashed, dotted).
- Sweep Alert : Enable alerts for confirmed sweeps.
Midpoint Settings
- Show Midpoint : Enable/disable midpoint lines.
- Midpoint Line : Customize color (default: orange), width, and style (solid, dashed, dotted).
Custom Daily Open
Custom Daily Candle Open : Choose between Midnight, 8:30, or 9:30 (America/New_York) for daily candle opens.
Usage
- Add the indicator to your TradingView chart.
- Configure the desired higher timeframes (HTF 1–6) and enable/disable features via the settings panel.
- Adjust styling, labels, and spacing to match your chart preferences.
Use sweeps, midpoints, FVGs, and volume imbalances to identify key levels for trading decisions.
- Enable sweep alerts to receive notifications for confirmed liquidity sweeps.
Notes
Performance: The indicator is optimized for up to 500 boxes, lines, and labels, with a maximum of 5000 bars back. Can be slow at a time
Time Zone: Custom daily opens use the America/New_York time zone for consistency with major financial markets.
Compatibility: Ensure selected HTFs are valid (higher than the chart’s timeframe and divisible by it for intraday periods).