ut_botThis Pine Script code defines a custom trailing stop and trend-following strategy using the Average True Range (ATR) as a volatility measure. It's called UT Bot and is designed to generate buy/sell signals based on price movement relative to a dynamic stop level.
🔧 Core Functionality (ut_bot_alerts)
This is the logic inside the library function ut_bot_alerts, which is exported for use elsewhere.
🧮 Inputs:
atr_factor: Sensitivity multiplier for ATR.
atr_lenght: Period used to calculate ATR.
use_heikinashi: If true, uses Heikin Ashi candles instead of regular ones.
🧠 Key Computations:
ATR-Based Trailing Stop:
Calculates a dynamic stop level (xATRTrailingStop) using ATR.
The stop adjusts upward or downward based on price action.
Trend Detection:
If price crosses above the stop, it indicates an uptrend (pos = 1).
If price crosses below the stop, it's a downtrend (pos = -1).
Signals:
Buy if price > stop and crossover detected.
Sell if price < stop and crossover detected.
Returns signal (1 = buy, -1 = sell, 0 = hold), trailing stop value, and flags for bar coloring.
📊 Chart Annotations
Inputs (via input()):
Let the user control ATR sensitivity and Heikin Ashi usage.
Signal Plotting:
plotshape() draws Buy/Sell labels on chart.
plot() draws the dynamic stop-loss line, colored based on trend (green/red/gray).
barcolor() paints bars green/red when price is above/below the stop.
✅ Summary
This script:
Uses ATR to define a trailing stop-loss.
Generates trend-following buy/sell signals.
Offers visual aids (labels, colored stop-loss line, and bar colors).
Can optionally use Heikin Ashi candles to smooth signals.
Wskaźniki i strategie
VWAP Double Touch Alert (Timeframe-Aware)📌 VWAP Double Touch Alert — Smart Re-entry Signal for Precision Traders
Take your VWAP trading to the next level with this intelligent indicator that filters out the noise and zeroes in on high-probability re-entry setups.
💡 How it works:
This script tracks every time price touches the VWAP line and alerts you when it happens twice within a defined window of time (adjustable per your timeframe). This is often a sign of smart money accumulation, potential reversals, or explosive breakouts.
🔍 Why Traders Love It:
✅ Filters out weak signals — only alerts on confirmed double touches
✅ Fully adjustable VWAP zone sensitivity
✅ Selectable timeframe profiles or custom window (1m, 5m, 15m, 30m, etc.)
✅ Clean visual cues with minimal chart clutter
✅ Perfect for scalping, intraday reversals, or VWAP mean-reversion strategies
⚙️ Customization:
VWAP zone width (in %)
Time window in bars or automatic based on timeframe
Custom alert messages
Alert only triggers once per double-touch event to avoid spamming
🎯 Best For:
Crypto scalpers & day traders
VWAP bounce and mean-reversion traders
Traders who want clean, conclusive entry alerts without lag
CRT Finder (WanHakimFX)📈 Liquidity Grab Indicator with MTF Confluence & Alerts
🔍 Overview:
The Liquidity Grab Indicator is designed to detect precise moments when price sweeps liquidity — either by wicking below recent lows (bullish LQH) or above recent highs (bearish LQL) — followed by a clear rejection. It combines this logic with multi-timeframe confirmation and trend filters, making it a powerful tool for identifying high-probability reversal setups.
⚙️ How It Works:
✅ Liquidity Sweep Logic (LQH / LQL)
Bullish (LQH):
Current candle wicks below the previous low
Closes above the previous candle body
Confirms potential bullish reversal
Bearish (LQL):
Current candle wicks above the previous high
Closes below the previous candle body
Confirms potential bearish reversal
✅ Additional Conditions:
Must occur during London or New York sessions.
Requires trend confluence:
LQH = Price must be above SMMA 60/100/200
LQL = Price must be below SMMA 60/100/200
🧠 Multi-Timeframe Confluence:
The indicator scans for LQH/LQL sweeps across:
Daily
4H
1H
30M
15M
If a sweep occurs on any of these timeframes, an alert is triggered and a triangle marker appears on the chart for real-time visual confluence.
📊 Visual Features:
Green/Red labels for active timeframe sweeps.
Dotted wick lines to show liquidity zones from the previous candle.
Colored triangle markers for MTF sweep alerts.
🛠 Strategy Usage:
This indicator is best used as a trigger tool in a confluence-based strategy:
Use higher-timeframe MTF LQH/LQL markers for directional bias.
Wait for matching sweep on your entry timeframe (e.g., M1/M5).
Enter on confirmation candle or break of structure.
Target imbalances, FVGs, or previous highs/lows.
Risk-managed entries using sweep candle's high/low as stop.
📢 Alerts:
✅ Bullish Sweep (LQH) on any timeframe
✅ Bearish Sweep (LQL) on any timeframe
Linear Regression Volume | Lyro RSLinear Regression Volume | Lyro RS
⚠️Disclaimer⚠️
Always combine this indicator with other forms of analysis and risk management. Please do your own research before making any trading decisions.
The LR Volume | 𝓛𝔂𝓻𝓸 𝓡𝓢 indicator blends linear regression with volume-adjusted moving average s to dynamically outline price equilibrium and trend intensity. By integrating volume into its regression model, it highlights meaningful price movement relative to trading activity.
📌 How It Works:
Volume-Weighted Regression Baseline
Price is filtered through one of four volume-adjusted moving averages (SMA, RMA, HMA, ALMA) before being passed through a linear regression model, forming a dynamic fair value line.
Deviation Bands
The indicator plots 1x, 2x, and 3x standard deviation zones above and below the baseline, helping identify potential extremes, volatility spikes, and mean reversion areas.
Slope-Based Color Logic
The baseline and fill areas are dynamically colored:
- 🟢 Green for positive slope (uptrend)
- 🔴 Red for negative slope (downtrend)
- ⚪ Gray for neutral movement
⚙️ Inputs & Options:
Regression Length – Controls how many bars are used in the moving average and regression calculation.
Deviation Multiplier – Adjusts the width of the bands surrounding the regression baseline.
MA Type – Choose from 4 types:
SMA (Simple Moving Average)
RMA (Relative Moving Average)
HMA (Hull Moving Average)
ALMA (Arnaud Legoux Moving Average)
Band Colors – Customizable upper/lower band colors to match your visual style.
🔔 Alerts:
Long Signal – Triggers when the regression slope turns positive.
Short Signal – Triggers when the regression slope turns negative.
Market Sentiment Index US Top 40 [Pt]▮Overview
Market Sentiment Index US Top 40 [Pt} shows how the largest US stocks behave together. You pick one simple measure—High Low breakouts, Above Below moving average, or RSI overbought/oversold—and see how many of your chosen top 10/20/30/40 NYSE or NASDAQ names are bullish, neutral, or bearish.
This tool gives you a quick view of broad-market strength or weakness so you can time trades, confirm trends, and spot hidden shifts in market sentiment.
▮Key Features
► Three Simple Modes
High Low Index: counts stocks making new highs or lows over your lookback period
Above Below MA: flags stocks trading above or below their moving average
RSI Sentiment: marks overbought or oversold stocks and plots a small histogram
► Universe Selection
Top 10, 20, 30, or 40 symbols from NYSE or NASDAQ
Option to weight by market cap or treat all symbols equally
► Timeframe Choice
Use your chart’s timeframe or any intraday, daily, weekly, or monthly resolution
► Histogram Smoothing
Two optional moving averages on the sentiment bars
Markers show when the faster average crosses above or below the slower one
► Ticker Table
Optional on-chart table showing each ticker’s state in color
Grid or single-row layout with adjustable text size and color settings
▮Inputs
► Mode and Lookback
Pick High Low, Above Below MA, or RSI Sentiment
Set lookback length (for example 10 bars)
If using Above Below MA, choose the moving average type (EMA, SMA, etc.)
► Universe Setup
Market: NYSE or NASDAQ
Number of symbols: 10, 20, 30, or 40
Weights: on or off
Timeframe: blank to match chart or pick any other
► Moving Averages on Histogram
Enable fast and slow averages
Set their lengths and types
Choose colors for averages and markers
► Table Options
Show or hide the symbol table
Select text size: tiny, small, or normal
Choose layout: grid or one-row
Pick colors for bullish, neutral, and bearish cells
Show or hide exchange prefixes
▮How to Read It
► Sentiment Bars
Green means bullish
Red means bearish
Near zero means neutral
► Zero Line
Separates bullish from bearish readings
► High Low Line (High Low mode only)
Smooth ratio of highs versus lows over your lookback
► MA Crosses
Fast MA above slow MA hints rising breadth
Fast MA below slow MA hints falling breadth
► Ticker Table
Each cell colored green, gray, or red for bull, neutral, or bear
▮Use Cases
► Confirm Market Trends
Early warning when price makes highs but breadth is weak
Catch rallies when breadth turns strong while price is flat
► Spot Sector Rotation
Switch between NYSE and NASDAQ to see which group leads
Watch tech versus industrial breadth to track money flow
► Filter Trade Signals
Enter longs only when breadth is bullish
Consider shorts when breadth turns negative
► Combine with Other Indicators
Use RSI Sentiment with trend tools to spot overextended moves
Add volume indicators in High Low mode for breakout confirmation
► Timeframe Analysis
Daily for big-picture bias
Intraday (15-min) for precise entries and exits
Angel Signal proAngel Signal Pro is a comprehensive technical analysis tool that integrates multiple indicators for a structured market assessment.
RSI, MACD, and ADX — evaluate trend strength and identify potential entry and exit points.
Momentum and ATR — measure price acceleration and volatility, assisting in risk management.
Stochastic Oscillator — detects overbought and oversold conditions.
SMA (50, 100, 200) — tracks key moving averages with the option to enable all at once.
Cryptocurrency price display — select and monitor real-time prices of any cryptocurrency available on the BINANCE exchange.
Automatic trend detection— classifies trends as bullish, bearish, or neutral based on RSI and MACD signals.
Customizable table — presents key indicator values in a structured and convenient format. The table also provides automatic trend detection across different timeframes (TF), allowing you to assess the current market situation more accurately on various levels.
Automatic gap detection — identifies market gaps, helping to spot potential trading opportunities.
Buy and sell signals — the system generates buy and sell signals based on the analysis of five key indicator values, allowing traders to respond quickly to market changes.
Bollinger Bands — helps assess market volatility and identify support and resistance levels, as well as potential reversal points, by detecting when prices move outside of normal volatility ranges.
Customization settings — in Angel Signal Pro, you can select which indicators and features you want to display. All elements can be turned on or off according to your preferences. There is also the ability to change colors and the appearance of each element, allowing you to tailor the interface to your personal preferences and make the tool more convenient to use.
Angel Signal Pro is suitable for traders of all experience levels and helps navigate market conditions with confidence.
29 мар.
Информация о релизе
Added Super Trend, improved the quality of buy and sell signals, and enhanced settings. Now, all toggle buttons for enabling and disabling indicators follow one another.
30 мар.
Информация о релизе
Fixed several errors in the settings and improved gap search.
Money Flow Index with MAsMoney Flow Index (MFI) indicator with configurable Fast MA Length (default 2) and Slow MA Length (default 7). Both MAs are plotted on top of the MFI line, and you can change their lengths from the settings panel.
Crossovers can be used as 'BUY' & 'SELL' conditions with structural analysis.
Cheers..
Rally Sweep ReversalThis indicator identifies rallies into a sweep to identify liquidity runs into key levels which often lead to reversals. I personally like prior day high/low and overnight high/low as my key levels. The signal should happen after sweeping the level, not before.
CPR-Based Fib S/R with Circles by Arthavidhi📌 **CPR-Based Fibonacci S/R with Circles – Description**
This indicator combines the power of **CPR (Central Pivot Range)** and **Fibonacci ratios** to plot highly probable intraday and swing Support/Resistance levels derived from the **daily price structure**.
### 🧠 **How It Works**
* It uses the **Daily High, Low, and Close** to calculate the **Pivot Point** (P) as:
`P = (High + Low + Close) / 3`
* Then it calculates the **daily range**:
`Range = High - Low`
* Using this pivot and range, it derives both **Fibonacci-based Support and Resistance levels**:
* **Support levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 below pivot
* **Resistance levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 above pivot
These are **plotted as small colored circles** on your chart, with **labels on the left** for easy identification of each Fib level (e.g., "0.382", "1.618").
---
### 📈 **How to Use It**
🔹 **Intraday or Swing Traders**:
* Use these levels to **anticipate reversals**, **breakouts**, or **targets**.
* The levels act like a **natural price magnet** — price tends to pause, bounce, or reverse near them.
🔹 **Entry/Exit Zones**:
* Combine with price action (like pin bars, engulfing, or inside bars) or volume near these levels to plan entries.
* **R1.618 and S1.618** are great for extended targets or aggressive reversal setups.
🔹 **CPR Center Line**:
* Acts as a key mean-reversion zone or midline. You can combine this with VWAP or RSI for confirmation.
---
### 🧩 **Best Practices**
* **Higher Timeframe Confluence**: Align this with HTF S/R or trendlines.
* **Use Alerts**: Combine this with price action alerting tools (manually or with separate indicators).
* **Do Not Use Alone**: For best results, combine with a strategy (e.g., Supply/Demand, VWAP bounce, Trendline breaks).
Triple EMA Bundle (50/100/200)Bundle of famous EMAS: EMA50, EMA100 & EMA200, made by @theOsbrah from CRG Trading
0830-0845 High/Low Marker (Accurate Start + History)This indicator marks the high and low of the 15-minute candle between 08:30 and 08:45 (local time) of the trading session. The high and low are tracked dynamically, with the lines drawn once the 08:45 candle closes.
Key Features:
Session-based Tracking: Automatically tracks and records the high and low of the 15-minute period starting at 08:30 and ending at 08:45.
Excludes 08:45 High : If a high is created exactly at 08:45, the indicator will ignore it and use the highest value before 08:45, ensuring it only references the price action during the specified window.
Line Extension : The high and low lines are drawn and extended to the right for a user-defined number of bars, making them visible beyond the session's close.
Customizable Parameters : Adjust the start and end times of the session, line colors, and line width to fit your preferences.
Use Case :
Ideal for traders who focus on the price action during the early part of the trading session (08:30 to 08:45) and want to track significant levels of support and resistance from that period.
The extended lines help identify potential price zones for the rest of the session or the trading day.
[blackcat] L3 Volume Sync TradeOVERVIEW
The L3 Volume Sync Trade indicator empowers traders 📈💹 with advanced tools to pinpoint precise entry and exit points leveraging intricate volume and price momentum analyses. By encapsulating sophisticated technical calculations into an intuitive visual format, this script aids in identifying high-probability trades while minimizing guesswork. Whether you're a seasoned trader looking to enhance your strategy or a newcomer seeking structured guidance, this indicator offers invaluable insights tailored to elevate your trading precision.
FEATURES
Advanced Volume Analysis 📊✨: Employs comprehensive volume dynamics to spot underlying market trends and resonance levels, allowing you to align your trades with significant movements.
Dynamic Price Momentum Metrics ⚡️: Computes both immediate and sustained price strengths, providing a holistic view of market directionality.
Customizable Indicators 🎯: Adjustable periods across multiple moving averages ensure flexibility in adapting the script to diverse trading styles and timeframes.
Intuitive Visual Representation 🖼️: Displays critical information via colorful histograms and candlestick patterns, facilitating quick comprehension even amidst fast-paced markets.
Automated Buy/Sell Labels 🔍: Clearly marks chart locations where buy/sell actions are recommended, reducing the need for constant manual monitoring.
Real-Time Alert Capabilities 🔔: Stay ahead with customizable alerts that notify you instantly whenever favorable trading conditions arise.
HOW TO USE
Initial Setup:
Begin by adding the L3 Volume Sync Trade indicator to your TradingView chart.
Familiarize yourself with the default settings provided within the script’s input parameters.
Configuring Input Parameters:
Short Period: Adjust if focusing on shorter-term fluctuations; defaults at 5 bars.
Long Period: Ideal for capturing broader trends over extended intervals; set initially at 27 bars.
EMA and SMA Periods: Tweak these for fine-tuning the sensitivity of trend-following mechanisms; default values are 3 and 3 respectively.
Long/EMA Periods: These influence smoothing effects; start with 360 and 21 respectively but experiment based on volatility.
Capital Threshold: Defines minimal risk level per trade; default set at 1 unit but can be increased/decreased based on your risk appetite.
Understanding Chart Elements:
Histograms & Candles: Blue/green histograms represent positive-negative resonances, red/green bands signify crossover events, aqua candles denote resonance points, orange highlights trade signals.
Labels: Green “BUY” tags appear above bars indicating bullish conditions; red “SELL” tags below bars suggest bearish reversals.
Activating Alarms:
Go to the alert settings in TradingView.
Enable conditional alerts for buy/sell signals ensuring timely responses without missing crucial moves.
Monitoring Performance:
Keep track of how often alerts trigger versus actual winning trades.
Periodically revisit input adjustments to optimize responsiveness under varying market phases.
ADVANCED USAGE TIPS
Backtesting Your Strategy: Before going live, apply historical data tests to gauge reliability.
Combining With Other Tools: Enhance accuracy by integrating additional indicators like RSI or MACD alongside Volume Sync.
Risk Management Integration: Use stop-loss/take-profit markers derived from script outputs to safeguard capital efficiently.
LIMITATIONS
Market Conditions Variability: Different assets or volatile environments might yield inconsistent outcomes.
Dependent On User Expertise: Best utilized by those familiar with technical analysis fundamentals.
Limited Flexibility In Real-time Adjustments: Once applied, real-time tweaking requires reloading script which might delay responses during rapid market shifts.
NOTES
Parameter Sensitivity: Minor changes can lead to drastic differences; always test modifications cautiously.
Regular Reviews: Continuously assess indicator efficacy against evolving market behaviors.
Complementary Techniques: Supplement this script with fundamental analysis or news-driven insights for well-rounded decisions.
THANKS
A heartfelt acknowledgment goes to our community of developers and enthusiasts whose feedback has been instrumental in refining this powerful indicator.
High Volume Engulfing DetectorEngulfing Pattern Detection:
Bullish Engulfing (Green Candle > Previous Red Candle).
Bearish Engulfing (Red Candle > Previous Green Candle).
Volume Validation:
Only highlights when volume is greater than the highest volume of the previous 5 candles.
Visual Representation:
Green highlight for Bullish Engulfing.
Red highlight for Bearish Engulfing.
Custom Alerts:
Alert triggers when high-volume engulfing is detected.
Background Highlighting:
Soft color background to easily identify zones.
Grid + Trade Annotations & Liquidations## Introducing the “Grid + Trade Annotations & Liquidations” Pine Script Strategy
Imagine you could overlay a perfectly-spaced price grid on your favorite chart, backtest a simple moving-average crossover, see exactly where trades would have fired off in the past—and even know at what price you’d have been liquidated if you were running at 10× leverage. That’s exactly what this all-in-one TradingView **Pine Script® v6** strategy delivers.
### Why you’ll love it
* **Visual clarity:** A fixed-interval horizontal grid, centered on each bar’s close, helps you instantly spot round-number levels (e.g. every \$0.50).
* **Trade annotations:** Every historical entry/exit is automatically marked with arrows and labels—no more scrolling through Trade History.
* **Liquidation lines:** For each entry, the script computes your theoretical liquidation price, based on your chosen leverage, and draws it as a dashed line.
* **Performance metrics:** Total return, maximum drawdown, Sharpe ratio, and win rate are calculated and displayed on-chart, so you don’t have to wrestle with spreadsheets.
---
## How it’s structured
The code lives in a single **strategy**—add it via **Pine Editor → New Strategy** and click **Add to Chart**. Internally, it’s broken into four main sections:
1. **Grid setup:**
* **Inputs:** `gridStep`, `aboveLines`, `belowLines`, `gridColor`, `gridStyle`, `gridWidth`.
* **Persistent array:** stores `line` objects so they survive bar updates.
* **Draw/update logic:** on each confirmed historical bar, the script either recreates all lines (when you change the count) or simply repositions them around the new close.
2. **Entry/exit logic & annotations:**
* **Example system:** 20-period vs. 50-period simple moving-average crossover.
* **Labels & shapes:**
* Green triangles for long entries/exits, red for short.
* A “Long Liq:” or “Short Liq:” label at the point of entry.
3. **Liquidation calculations:**
* **Formula:**
* Long: `P_liq = P_entry × (1 − 1⁄L)`
* Short: `P_liq = P_entry × (1 + 1⁄L)`
* Let the script draw a dashed red (for longs) or dashed green (for shorts) line at each `P_liq`.
4. **Performance metrics:**
* **Built-ins:**
* `strategy.netprofit_percent` → total return %
* `strategy.max_drawdown_percent` → max drawdown %
* `strategy.wintrades` / `strategy.closedtrades` → win rate %
* **Sharpe ratio:** manually computed from per-bar returns, assuming a user-defined risk-free rate and bars-per-year count.
---
## Using & customizing the strategy
1. **Add to your chart.**
* Copy the full script into Pine Editor, select **Strategy**, and hit **Add to Chart**.
2. **Tune your grid.**
* **`Grid Interval ($)`**: e.g. `0.50` for \$0.50 steps.
* **`Lines Above`/`Below`**: how many lines to show on each side of the current price.
* **`Grid Style`**: choose Solid, Dashed, or Dotted; set line width and opacity via the color picker.
3. **Adjust your trading logic.**
* Out of the box, the script uses SMA(20) vs. SMA(50). Swap in any `ta.*` indicator calls you like.
4. **Set leverage & capital.**
* **`Leverage`**: affects the liquidation price.
* **`Initial Capital`** and **`Order Size`**: the strategy uses 100% of equity per trade by default—you can change that in the `strategy()` call.
5. **Review performance.**
* Metrics show up in the Strategy Tester and on-chart label.
* If you want data in the Data Window, expand the script’s name to see the hidden plots for return, drawdown, Sharpe, and win rate.
---
## Behind the code
Below is a high-level walkthrough of the key snippets:
```pinescript
//@version=6
strategy("Grid + Annotations & Liquidations", overlay=true,
initial_capital=100000, default_qty_type=strategy.percent_of_equity,
default_qty_value=100)
// ─ Grid inputs & style mapping ────────────────────────────────────────
gridStep = input.float(0.50, "Grid Interval ($)", minval=0)
aboveLines = input.int(5, "Lines Above", minval=0)
belowLines = input.int(5, "Lines Below", minval=0)
gridColor = input.color(color.new(color.gray, 80), "Grid Color")
gridStyle = input.string("Dashed", "Grid Style", options= )
gridWidth = input.int(1, "Grid Line Width", minval=1, maxval=5)
gridStyleConst = gridStyle == "Solid" ? line.style_solid :
gridStyle == "Dotted"? line.style_dotted :
line.style_dashed
```
* We map a simple string choice into Pine’s `line.style_*` constants.
* `gridStep` drives the spacing in dollars.
```pinescript
// Persist & update lines only when needed
var line gridLines = array.new_line()
if barstate.islastconfirmedhistory
total = aboveLines + belowLines + 1
if array.size(gridLines) != total
// delete & recreate
…
else
// only reposition
…
```
* Wrapping all drawing in `barstate.islastconfirmedhistory` avoids repaint issues.
* The script deletes and rebuilds lines only when you change `aboveLines`/`belowLines`, otherwise it simply moves them.
```pinescript
// MA crossover logic & liquidation labels
fast = ta.sma(close, 20)
slow = ta.sma(close, 50)
if ta.crossover(fast, slow)
strategy.entry("Long", strategy.long)
liq = close * (1 - 1.0 / leverage)
label.new(bar_index, low, text="Long Liq: " + str.tostring(liq))
line.new(…, y1=liq, y2=liq, color=color.red, style=line.style_dashed)
```
* Entries trigger both the `strategy.entry` call and a pair of visual cues: a label and a dashed line at the computed liquidation price.
```pinescript
// Performance metrics: draw from built-ins + manual Sharpe
totalRet = strategy.netprofit_percent
maxDD = strategy.max_drawdown_percent
winRate = strategy.closedtrades > 0 ?
(strategy.wintrades / strategy.closedtrades)*100 : 0
// Manual Sharpe calculation
… accumulate per-bar % returns … compute mean, stddev … apply formula …
```
* TradingView gives us return, drawdown, and trade counts out of the box.
* We calculate Sharpe ourselves so you can adjust the risk-free rate and periods per year.
---
## Wrapping up
This one-file strategy is designed to be both **educational** and **practical**:
* **Learn by reading:** every section is commented so you can see how Pine v6 handles arrays, loops, strategy functions, and labels.
* **Customize for your edge:** swap in your own indicators, change leverage, or hook up alerts.
* **Publish & share:** drop it into your public repo with this story as your README, and fellow traders will know exactly how to use it.
Feel free to fork, file issues, or submit pull requests. Happy charting—and may your grid lines always align!
Rich HarvesterDynamic leverage management: supports flexible adjustment from 0.1 to 100 times to adapt to different risk preferences
Dual stop loss mechanism:
Fixed stop loss: initial protection based on ATR multiple (atr_mult)
Trailing stop loss: profit protection through slPoints and slOffset
Fund risk control: calculate the position according to the equity percentage (usr_risk), formula: risk amount = total funds × risk% × leverage
Professional signal filtering
Triple trend verification:
Fast EMA > Medium EMA > Slow SMA (bullish trend)
Fast EMA < Medium EMA < Slow SMA (bearish trend)
Pin Bar pattern enhancement:
Requires classic reversal pattern with shadows accounting for more than 66%
Filter conditions combined with trend direction
Time window control: ent_canc parameter automatically cancels expired signals
Bull-Bear Strength Strategy (manual sum, ATR, filters)This strategy is based on the indicator we created that calculates bullish and bearish momentum.
三易RSI结构状态机(带警报)This is the method I use to identify market swings in my current “Three-Ease Trading System.” I’ve integrated it into a Pine Script and added alert functionality at the actionable points — specifically at segments 2 and B, where trades can be executed.
9/20 2 Bar Confirmation Cross Alert v2 | JGScript shows 9, 20, and 5 EMA bars.
Allows alerts on 9 and 20 EMA cross only after 2 bars have closed to provide confirmation.
Bollinger Volatility AnalyzerThe Bollinger Volatility Analyzer (BVA) is a powerful enhancement of the traditional Bollinger Bands indicator, tailored to help traders identify volatility cycles and catch potential breakouts with better precision and timing. It builds upon the foundational concept of Bollinger Bands—using a moving average and standard deviation bands—but adds crucial insights into market contraction and expansion, which can be instrumental in timing entries and exits.
Here's how it works and why it's useful
At its core, the indicator calculates a moving average (called the "basis") and plots two bands—one above and one below—based on a multiple of standard deviation. These bands expand during volatile periods and contract during quiet ones. The width between these bands, normalized as a percentage of the basis, gives us a sense of how compressed or expanded the market currently is. When the band width drops below a user-defined threshold (like 2%), the script highlights this with an orange triangle below the bar. This is the "squeeze" condition, signaling a potential buildup of market energy—a kind of calm before the storm.
What makes this version of Bollinger Bands particularly powerful is that it not only detects squeezes, but also tells you when price breaks out of that squeeze range. If price closes above the upper band after a squeeze, a green "Breakout ↑" label is shown; if it closes below the lower band, a red "Breakout ↓" appears. These breakout labels act as entry signals, suggesting that volatility is returning and a directional move has begun.
This indicator is especially useful in markets that tend to alternate between consolidation and breakout phases, such as forex, crypto, and even individual stocks. Traders who look for early signs of momentum—whether for swing trading, scalping, or position building—can benefit from this tool. During a quiet market phase, the indicator warns you that a move might be coming; when the move starts, it tells you the direction.
In fast-moving markets, BVA helps filter out noise by focusing only on high-probability conditions: quiet consolidation followed by a strong breakout. It’s not a complete system by itself—it works best when paired with volume confirmation or oscillators like RSI—but as a volatility trigger and directional guide, it’s a reliable component of a trading workflow.
MTF Bollinger Bands TT (3BB)
Hello TradingView Community,
I'm excited to share another indicator I've developed, building upon the usefulness of Multi-Timeframe analysis.
**MTF Bollinger Bands TT (3BB)**
**What is this Indicator?**
This indicator plots Bollinger Bands (BBs) for up to **three different timeframes simultaneously** on your chart. It also allows you to display **standard Basis line, ±1σ bands, ±2σ and ±3σ bands** of three different timeframes, offering more insights into price volatility and potential reversals or continuations.
**Key Features and Benefits:**
This MTF Bollinger Bands indicator is designed to be highly flexible and informative:
1. **Three Timeframes at Once:** Easily visualize the BB structure of three different timeframes alongside your current chart, helping you understand the broader market context.
2. **Multiple Sigma Levels:** Go beyond the standard ±1σ. You can display and analyze price action relative to ±2σ and even ±3σ deviations.
3. **Configurable Moving Average Type:** Choose from various MA types for the basis line, including SMA, EMA, WMA, and VWMA, to best suit your analysis style.
4. **Detailed Customization:** For each of the three timeframes, you can set the period, offset, line colors (for each band: Basis, ±1σ, ±2σ, ±3σ), and line styles/thickness. You can also select the price source (e.g., close, HLC/3).
5. **🎉 Crucial Feature: Wait for Higher Timeframe Candle Close Option 🎉**
One of the challenges with MTF indicators can be "repainting" or changes on the current candle close when using higher timeframes. This indicator includes a **"Wait for HTF Candle Close"** option. When enabled, the indicator will only update the higher timeframe's BBs after that higher timeframe's candle has fully closed. This can help you make more reliable decisions based on confirmed higher timeframe levels.
6. **Informative Labels:** Similar to my MTF MA indicator, this BB indicator can display **labels at the end of the bands**, clearly showing the timeframe and period (e.g., "4H BB(20)"). You can even adjust the label text size (tiny, small, normal, large) in the settings for better visibility.
**How to Use:**
Add the indicator to your chart and open its settings. Configure the three timeframes you wish to display, along with their periods, MA types, and desired sigma bands (±1σ, ±2σ, ±3σ). Customize colors and line styles for clarity. Experiment with the "Wait for HTF Candle Close" option to see how it affects your analysis, especially on intraday charts.
**In Conclusion:**
I created this indicator to provide a powerful and flexible tool for traders who use Bollinger Bands and Multi-Timeframe analysis. I believe the multiple sigma levels, detailed customization, the candle close option, and the informative labels make it particularly useful.
I hope this indicator helps enhance your trading strategy! Please give it a try. Your feedback, suggestions, and bug reports are highly welcome in the comments section.
If you find it useful, please give it a thumbs up! 👍
Thank you, and happy trading!
EMA Breakdown Strategytake sell position when price crosses below ema take a short position when price crosses below green candel low target size of green candle SL high of green candel RR 1:1