Candlestick Patterns Backtester [Optimized]Candlestick Patterns Backtester
What this is: This indicator is based on a really cool candlestick pattern backtester that I found (I'll update this later when I remember where I got it from or find the actual author). The original had this massive table showing win/loss ratios for a bunch of candlestick patterns, and according to the built-in backtester, it was actually profitable - which was pretty impressive.
The Problem: I played around with the original for a while but honestly wasn't really able to get it to work well at all for actual trading. It was still pretty cool to look at though! The main issues were:
It was just a big static table - hard to do anything useful with it
Couldn't send signals out to other strategies
The code was a monster - like 2,000+ lines of repetitive mess
What I Did: I completely refactored this thing and got it down from 2,000+ lines to just a few hundred lines. Much cleaner now! Here's what it does:
45+ Candlestick Patterns - All the classics are in there
Dynamic Filtering - Set your own requirements (minimum win rate, profit factor, total trades, etc.)
Flexible Logic - Choose AND/OR logic for your filters
Signal Generation - Creates actual buy/sell signals you can use with other strategies
Visual Badges - Shows pattern badges on chart when they meet your criteria
Active Patterns Table - Only shows patterns that are currently profitable based on your settings
Settings You Can Adjust:
Minimum win rate threshold
Minimum profit factor
Minimum number of trades required
Whether to use AND or OR logic for filtering
Colors, badge display, debug options
Reality Check: Trading these patterns really wasn't for me, but it was still a great learning experience. The backtesting results look good on paper, but as always, past performance doesn't guarantee future results. Use this as a research tool and educational resource more than anything else.
Credit: This is based on someone else's original work that I heavily modified and optimized. I'll update this description once I track down the original author to give proper credit where it's due.
This introduction captures your casual, honest tone while explaining the technical improvements you made and setting realistic expectations about the indicator's practical use.
指標和策略
MA Cross With Buy and SellThe Enhanced MA Cross indicator helps traders identify changes in market trends by tracking two moving averages: one short-term and one long-term. When the short-term average crosses above the long-term one, it suggests that momentum is shifting upward, often signaling a buying opportunity. Conversely, when the short-term average drops below the long-term, it may indicate that selling pressure is increasing, signaling a possible exit or short position.
This indicator is particularly useful in trending markets—places where prices are clearly moving up or down—like during strong moves in stocks, crypto, forex, or commodities. It gives you visual buy and sell markers right on the chart, and you can even enable alerts so you don't miss key moments.
However, it's not a great tool for sideways or ranging markets, where prices bounce around without direction. In those situations, the crossover signals can become noisy and less reliable.
Overall, it's a simple, beginner-friendly tool for spotting trend shifts and making more confident trade entries and exits. If needed, we can make it even smarter by combining it with other indicators to filter out bad signals.
Pivot Continuation Algorithm + PostMarketCbkworks best on 5 minute tf on NQ, currently testing performance across other markets.
Pivot continuation enters with trend when price breaks a pivot point with left and right bars 10 and 7
cbk enters with trend post market if price crosses the highest/lowest value in the past 20 bars
S&D DirectionThis indicator displays the most recent candle close direction for up to five custom timeframes, as selected in the settings. For each chosen timeframe, it shows whether the last confirmed candle close was bullish (close above the previous high) or bearish (close below the previous low). The indicator labels each timeframe in the top right corner, using green text for bullish closes and red for bearish closes. The displayed timeframes can be customized, and the direction (long/short) is clearly shown after each label.
VIX‑Based σ‑BandsThis Pine Script v5 indicator builds a volatility‑based envelope around yesterday’s close using CBOE’s volatility indices. It dynamically pulls VIX, VXN, VXD or RVX—depending on whether you’re charting ES, NQ, YM or RTY—and converts annualized volatility into dollar‑move bands at ±¼ σ, ±½ σ, ±1 σ, and ±2 σ. Optional “mid‑lines” fill in the gaps between each band for even finer precision.
Prev Candle Quarters (MTF) – % + PriceThis TradingView indicator visualizes quarter levels (25%, 50%, 75%, 100%) of the previous candle body from a user-selected higher timeframe, helping traders identify key reaction zones within a candle’s structure.
ulti-Timeframe Input: Choose between 15m, 1H, or 2H candles for your measurement basis.
Body-Based Calculation: Measures from open to close of the previous candle (not wick-to-wick), reflecting where price actually closed.
Precise Quarter Levels: Automatically draws horizontal lines at 25%, 50%, 75%, and 100% of the candle body.
Custom Toggles: Enable or disable each individual level via checkboxes.
Price + % Labels: Each level includes a clean label showing the exact price and corresponding percentage.
Williams Percent Range with ThresholdEnhance your trading analysis with the "Williams Percent Range with Threshold" indicator, a powerful modification of the classic Williams %R oscillator. This custom version introduces customizable uptrend and downtrend thresholds, combined with dynamic candlestick coloring to visually highlight market trends. Originally designed to identify overbought and oversold conditions, this script takes it a step further by allowing traders to define specific threshold levels for trend detection, making it a versatile tool for momentum and trend-following strategies.
Key Features:
Customizable Thresholds: Set your own uptrend (default: -16) and downtrend (default: -67) thresholds to adapt the indicator to your trading style.
Dynamic Candlestick Coloring: Candles turn green during uptrends, red during downtrends, and gray in neutral conditions, providing an intuitive visual cue directly on the price chart.
Flexible Length: Adjust the lookback period (default: 50) to fine-tune sensitivity.
Overlay Design: Integrates seamlessly with your price chart, enhancing readability without clutter.
How It Works:
The Williams %R calculates the current closing price's position relative to the highest and lowest prices over a specified period, expressed as a percentage between -100 and 0. This version adds trend detection based on user-defined thresholds, with candlestick colors reflecting the trend state. The indicator plots the %R line with color changes (green for uptrend, red for downtrend) and includes dashed lines for the custom thresholds.
Usage Tips:
Use the uptrend threshold (-16 by default) to identify potential buying opportunities when %R exceeds this level.
Apply the downtrend threshold (-67 by default) to spot selling opportunities when %R falls below.
Combine with other indicators (e.g., moving averages or support/resistance levels) for confirmation signals.
Adjust the length and thresholds based on the asset's volatility and your trading timeframe.
Triple Momentum Core v1🧠 Technical Structure:
Triple Momentum Core analyzes the underlying wave of price movement through a three-stage system:
1. 🔵 Follow Line – The First Spark of Momentum:
Constructed using Bollinger Bands and ATR, this line detects the very first signs of directional price expansion. It gently whispers when the market begins stretching with force in one direction.
2. 🟢 SuperTrend – Confirmation and Directional Validation:
After the initial move, SuperTrend acts as the second checkpoint — validating whether the price action is evolving into a genuine trend or fading out. It confirms whether the impulse has the strength to sustain.
3. 🔴 PMax – Core Trend & Structural Anchor:
Based on Moving Average and ATR logic, PMax tracks the heartbeat of the trend. It serves as a dynamic structural boundary — critical for identifying trend continuation and managing risk.
4. 🟡 PMax MA Line – Smooth Trend Pulse & Adaptive Guide:
This yellow moving average line within the PMax system softly follows the overall trend flow, without reacting to sharp price noise. It acts as a balanced, stable guide to gauge the solidity of the trend’s body structure.
(If you prefer a cleaner view without any moving average lines, you can disable it from the settings.)
🧠 Technical Structure:
Triple Momentum Core analyzes the underlying wave of price movement through a three-stage system:
1. 🔵 Follow Line – The First Spark of Momentum:
Constructed using Bollinger Bands and ATR, this line detects the very first signs of directional price expansion. It gently whispers when the market begins stretching with force in one direction.
2. 🟢 SuperTrend – Confirmation and Directional Validation:
After the initial move, SuperTrend acts as the second checkpoint — validating whether the price action is evolving into a genuine trend or fading out. It confirms whether the impulse has the strength to sustain.
3. 🔴 PMax – Core Trend & Structural Anchor:
Based on Moving Average and ATR logic, PMax tracks the heartbeat of the trend. It serves as a dynamic structural boundary — critical for identifying trend continuation and managing risk.
4. 🟡 PMax MA Line – Smooth Trend Pulse & Adaptive Guide:
This yellow moving average line within the PMax system softly follows the overall trend flow, without reacting to sharp price noise. It acts as a balanced, stable guide to gauge the solidity of the trend’s body structure.
(If you prefer a cleaner view without any moving average lines, you can disable it from the settings.)
💡 Why “Triple Momentum Core”?
Because this indicator doesn’t just detect movement — it breaks it down into its essential phases:
Ignition, validation, and confirmation.
Each layer captures a unique and essential part of price behavior:
The first reaction (Follow Line) ignites the initial spark.
The second reaction (SuperTrend) confirms whether that spark will become a real trend.
The third and final layer (PMax) structurally anchors and follows that trend.
That’s why we call it Triple Momentum Core:
A synchronized 3-engine momentum system working in harmony to capture the lifecycle of a trend — from spark to structure.
Trading Sessions Pro [By TradingNexus]🔍 **Trading Sessions Pro – Institutional Timing Zones **
This premium script highlights all key trading session times (New York, London, Asia), professional high-volatility trading zones, and visualizes institutional market timing with precision.
### 🕒 SESSION OVERVIEW:
• NY, London, and Asia sessions — shown with real-time background color overlays
• Session open/close markers on the chart (arrows below/above bars)
• Live session table showing current status (ACTIVE / INACTIVE)
### 💹 PROFESSIONAL TRADE ZONES:
• NY Trade Zone (08:00–11:00 EST)
• London Trade Zone (03:00–06:00 EST)
• Asia Trade Zone (18:00–21:00 EST)
• Overlap Zone (08:00–12:00 EST) – highest liquidity
• Visualized with color-coded backgrounds and labels like "NY TRADE", "HIGH LIQUIDITY"
### 🚫 NO-TRADE ZONES:
• Gray background marks low-probability zones when no trade zones are active
• Helps traders avoid sideways markets, low volume, and choppy sessions
• Based on session presence without overlapping trade zone activity
### 📈 SIGNALS:
• Volatility-based BUY and SELL signals (ATR-filtered)
• Buy = green candle + high volatility in trade zone
• Sell = red candle + high volatility in trade zone
• Arrow markers (↑ BUY, ↓ SELL) plotted on chart in real time
• Sensitivity control (Low / Medium / High) via settings
• Alerts supported for signal triggers
### 🧾 LIVE DASHBOARDS:
• Top-right session status table (NY / London / Asia)
• Bottom-right trade zone dashboard with:
- Real-time trade zone status
- ATR-based volatility value
- Summary of market condition: TRADE / WAIT
### 🔔 ALERTS SYSTEM:
• Alerts for:
- Session starts
- Trade zone activations
- Buy/Sell signal triggers
• Plug directly into TradingView alert system
---
✅ Compatible with any asset (Forex, Crypto, Indices)
✅ Designed for intraday + session-based institutional traders
✅ Clean Pine Script v6 coding
✅ Fully customizable and beginner-friendly
📊 Created by: **TradingNexus**
🌐 Website: (tradingnx.com)
📲 Telegram: @TradingNXClub
🐦 Twitter: @TradingNX
Momentum Reversal StrategyBEST USE IN 15MIN TIME FRAME EURUSD / XAUSUD
1. Strategy Overview
This strategy hunts short-term momentum reversals at key levels during high-liquidity sessions.
Timeframes: 5-minute for entries; 15-minute for trend context
Sessions: London for EUR/USD & GBP/USD; New York for XAU/USD
Pairs: EUR/USD, GBP/USD, XAU/USD
Indicators (3 max):
EMA(20) and EMA(50) (close)
MACD (12, 26, 9) histogram
Optional: RSI(14) (for divergence filter)
2. Entry Rules
Trend Filter (15 min):
Long only if EMA20 > EMA50; short only if EMA20 < EMA50.
Price-Action Zone (5 min):
Identify recent swing high/low within past 20 bars.
Draw horizontal support (for longs) or resistance (for shorts).
Indicator Alignment (5 min):
MACD histogram crossing from negative to positive for longs, positive to negative for shorts.
Candle close beyond EMA20 in direction of trade.
Candle Confirmation:
Bullish engulfing or hammer at support for longs; bearish engulfing or shooting star at resistance for shorts.
Entry Execution:
Place market order on candle close that meets all above.
3. Exit Rules
Stop-Loss (SL):
Long: 1.5× ATR(14) below entry candle low.
Short: 1.5× ATR(14) above entry candle high.
Take-Profit (TP):
Set at 2× SL distance (RR 1:2).
Trailing SL:
After price moves 1× SL in profit, trail SL to breakeven.
Partial Booking:
Close 50% at 1× SL (50% of TP), move SL to entry.
Close remaining at full TP.
4. Trade Management
False Signal Filter: Skip trades when RSI(14) > 70 for longs or < 30 for shorts (avoids overbought/oversold extremes).
One Trade at a Time: No multiple positions on same pair.
Session Cutoff: Close any open trade 15 minutes before session end.
5. Risk Parameters
Risk per Trade: 1% of account equity.
Reward Target: ≥2% (1:2 RR) per trade.
Win-Rate Expectancy: ≥75% based on indicator confluence and price-action confirmation.
Step-OMA with SignalsThe Step-OMA with Signals is a sophisticated trend-following indicator that combines Loxx's Optimized Moving Average (OMA) algorithm with an advanced step function to create a highly responsive yet smooth trend detection system. This indicator excels at identifying trend changes early while minimizing false signals through its adaptive filtering mechanism.
Core Algorithm Components
1. Optimized Moving Average (OMA) Foundation
Based on Loxx's advanced OMA implementation
Uses a 6-stage exponential smoothing process
Incorporates adaptive period calculation based on market noise
Employs Jurik-style smoothing techniques for superior signal quality
2. Step Function Integration
Implements a step-based trend detection mechanism
Uses ATR-based dynamic threshold calculation
Maintains trend consistency through threshold memory
Provides clear trend change identification
3. Adaptive Noise Filtering
Automatically adjusts to market volatility
Calculates optimal averaging periods based on price noise
Reduces false signals in choppy market conditions
Speed (Default: 3.0, Range: -1.5 to unlimited)
This is the most critical parameter affecting indicator behavior:
Positive Speed Values (0 to 10.0+):
Creates faster, more responsive signals
Higher values increase sensitivity to recent price action
Negative Speed Values (-1.5 to -0.1):
Produces smoother, more conservative signals
Reduces noise and false breakouts
Creates delayed but more reliable trend confirmations
Adaptive (Default: True)
When enabled: Automatically adjusts averaging period based on market noise
When disabled: Uses fixed length parameter
Recommendation: Keep enabled for most market conditions
Sensitivity Factor (Default: 3.0)
Controls the threshold distance for trend change detection
Lower values: More frequent signals, higher sensitivity
Higher values: Fewer but more reliable signals
Optimal range: 2.0-5.0 depending on market volatility
Step Size Period (Default: 50)
Determines the ATR calculation period for dynamic thresholds
Affects the indicator's adaptation to volatility changes
Lower values: More reactive to recent volatility
Higher values: More stable threshold calculation
For a trading application, Step-OMA is a suitable base filter to complement other types of signaling indicators (oscillators, momentum indicators).
Disclaimer: This indicator is a technical analysis tool and should be used in conjunction with proper risk management and comprehensive market analysis. Past performance does not guarantee future results.
HTF CandlesFull credit to cdikici71 - this is a stripped down version of cd_sweep&cisd_Cx to provide a clean higher timeframe (HTF) candle overlay. Choose colors for candles & font along with timeframe to overlay the HTF on any other timeframe.
Simple and Clean!
Supertrend with ADX & MTF MA Filter# **Supertrend with ADX & MTF MA Filter - Comprehensive Explanation**
---
## **1. Purpose of This Indicator**
This indicator combines three powerful technical analysis tools to create a robust trading system:
✅ **Supertrend** (Trend-following)
✅ **ADX Filter** (Trend strength confirmation)
✅ **MTF MA Filter** (Multi-timeframe trend direction confirmation)
**Primary Goals:**
✔ **Identify high-probability trend reversals** with confirmation from multiple indicators
✔ **Filter out weak trends** using ADX (Average Directional Index)
✔ **Add higher timeframe context** with MTF (Multi-TimeFrame) Moving Average
✔ **Reduce false signals** by requiring confluence between all three components
---
## **2. Core Logic & Components**
### **A. Supertrend (Base Indicator)**
- **Calculation:**
```pine
up = hl2 - (Multiplier * ATR(Periods))
dn = hl2 + (Multiplier * ATR(Periods))
```
- **Bullish trend** when price > `up` (green line)
- **Bearish trend** when price < `dn` (red line)
- **Why Supertrend?**
- Simple yet effective trend-following system
- Adapts to volatility via ATR (Average True Range)
---
### **B. ADX Filter (Trend Strength Confirmation)**
- **ADX Calculation:**
```pine
= calcADX(adxLength, adxSmoothing)
strongTrend = adxVal >= adxThreshold
```
- **ADX > Threshold (Default: 20)** = Strong trend
- **DI+ > DI-** = Bullish momentum
- **DI- > DI+** = Bearish momentum
- **Why ADX?**
- Avoids trading in choppy markets (low ADX = weak trend)
- Confirms if Supertrend signals occur in a strong trend
---
### **C. MTF MA Filter (Higher Timeframe Trend Alignment)**
- **Moving Average Calculation:**
```pine
= getMA(maSource, maLength, maType, maTF)
```
- **MA Type:** SMA, EMA, WMA, or DEMA
- **Timeframe:** Any (1m, 5m, 1H, 4H, D, W, M)
- **Trend Direction:**
- **Buy Signal:** MA must be **rising**
- **Sell Signal:** MA must be **falling**
- **Why MTF MA?**
- Aligns trades with the **higher timeframe trend**
- Reduces counter-trend entries
---
## **3. How to Use This Indicator**
### **A. Buy Conditions (All Must Be True)**
1. **Supertrend turns bullish** (price crosses above `up` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is rising** (confirms bullish bias)
### **B. Sell Conditions (All Must Be True)**
1. **Supertrend turns bearish** (price crosses below `dn` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is falling** (confirms bearish bias)
### **C. Recommended Settings**
| Parameter | Recommended Value | Description |
|-----------|------------------|-------------|
| **ATR Period** | 14 | Sensitivity of Supertrend |
| **Multiplier** | 1.5-3.0 | Adjust for volatility |
| **ADX Threshold** | 20-25 | Higher = stricter trend filter |
| **MA Length** | 20-50 | Smoothness of trend filter |
| **MA Timeframe** | 1H/D | Align with trading style |
---
## **4. Trading Strategies**
### **A. Trend-Following Strategy**
- **Enter:** When all 3 conditions align (Supertrend + ADX + MA)
- **Exit:** When Supertrend flips or ADX drops below threshold
### **B. Pullback Strategy**
- **Wait for:**
- Supertrend in trend direction
- ADX remains strong
- MA still aligned
- **Enter:** On pullback to Supertrend line
### **C. Multi-Timeframe Confirmation**
- **Intraday traders:** Use 4H/D MA for trend bias
- **Swing traders:** Use D/W MA for trend bias
---
## **5. Advantages Over Standard Supertrend**
✔ **Fewer false signals** (ADX filters weak trends)
✔ **Higher timeframe alignment** (avoids trading against larger trends)
✔ **Customizable MA types** (SMA, EMA, WMA, DEMA)
✔ **Works on all markets** (stocks, forex, crypto)
---
### **Final Thoughts**
This indicator is designed for traders who want **high-confidence trend signals** by combining:
🔹 **Supertrend** (entry trigger)
🔹 **ADX** (trend strength filter)
🔹 **MTF MA** (higher timeframe trend alignment)
By requiring all three components to align, it significantly improves signal quality compared to standalone Supertrend systems.
**→ Best for:** Swing trading, trend-following, and avoiding choppy markets.
EMA 8/21/50 + VWAP Crossover Alert IndicatorOverview of the Indicator
This is a custom Pine Script v5 indicator for TradingView titled "EMA 8/21/50 + VWAP Crossover Alert Indicator" (short title: "EMA+VWAP Cross Alert"). It's designed as an overlay indicator, meaning it plots directly on your price chart rather than in a separate pane. The primary purpose is to detect and alert on crossovers between the 8-period Exponential Moving Average (EMA) and the 21-period EMA, which can signal potential bullish or bearish momentum shifts. These are classic short-term trend reversal or continuation signals often used in trading strategies like momentum or swing trading.
To enhance analysis, it also includes:
A 50-period EMA for medium-term trend context (e.g., to confirm if the overall trend aligns with the crossover).
A Volume Weighted Average Price (VWAP) line, which provides a benchmark for the average price weighted by volume, useful for identifying intraday value areas or fair price levels.
The indicator works across all timeframes (e.g., Daily, 4H, 1H, 15M, 5M, 3M) because the calculations are based on the chart's current bars and adapt to volatility and data resolution. It's not a trading strategy (no entry/exit logic or backtesting), but an alert tool—signals are visual and can trigger notifications in TradingView. Always combine it with risk management, as crossovers can produce false signals in ranging or choppy markets.
WT + Stoch RSI Reversal ComboOverview – WT + Stoch RSI Reversal Combo
This custom TradingView indicator combines WaveTrend (WT) and Stochastic RSI (Stoch RSI) to detect high-probability market reversal zones and generate Buy/Sell signals.
It enhances accuracy by requiring confirmation from both oscillators, helping traders avoid false signals during noisy or weak trends.
🔧 Key Features:
WaveTrend Oscillator with optional Laguerre smoothing.
Stochastic RSI with adjustable smoothing and thresholds.
Buy/Sell combo signals when both indicators agree.
Histogram for WT momentum visualization.
Configurable overbought/oversold levels.
Custom dotted white lines at +100 / -100 levels for reference.
Alerts for buy/sell combo signals.
Toggle visibility for each element (lines, signals, histogram, etc.).
✅ How to Use the Indicator
1. Add to Chart
Paste the full Pine Script code into TradingView's Pine Editor and click "Add to Chart".
2. Understand the Signals
Green Triangle (BUY) – Appears when:
WT1 crosses above WT2 in oversold zone.
Stoch RSI %K crosses above %D in oversold region.
Red Triangle (SELL) – Appears when:
WT1 crosses below WT2 in overbought zone.
Stoch RSI %K crosses below %D in overbought region.
⚠️ A signal only appears when both WT and Stoch RSI agree, increasing reliability.
3. Tune Settings
Open the settings ⚙️ and adjust:
Channel Lengths, smoothing, and thresholds for both indicators.
Enable/disable visibility of:
WT lines
Histogram
Stoch RSI
Horizontal level lines
Combo signals
4. Use with Price Action
Use this indicator in conjunction with support/resistance zones, chart patterns, or trendlines.
Works best on lower timeframes (5m–1h) for scalping or 1h–4h for swing trading.
5. Set Alerts
Set alerts using:
"WT + Stoch RSI Combo BUY Signal"
"WT + Stoch RSI Combo SELL Signal"
This helps you catch setups in real time without watching the chart constantly.
📊 Ideal Use Cases
Reversal trading from extremes
Mean reversion strategies
Timing entries/exits during consolidations
Momentum confirmation for breakouts
NOAHแน่นอนครับ ด้านล่างคือบทความฉบับภาษาอังกฤษ พร้อมการแนะนำให้ “ขยับกำไรขึ้นมาจุดคุ้มทุน (breakeven)” ทุกครั้งเมื่อเข้าเทรด:
---
## 📘 **NOAH Indicator Guide – Entry Strategy & Risk Management**
### 🔰 Overview
The **NOAH** indicator is a custom tool built for **TradingView** using Pine Script. It combines **multi-timeframe trend analysis** with **RCI reversal signals** to provide traders with high-confidence entry points and automatic **Take Profit (TP)** and **Stop Loss (SL)** levels.
---
## 🧠 Core Concept
### 1. ✅ **Multi-Timeframe Moving Average Trend Detection**
The indicator analyzes trend direction across **seven timeframes**:
* M1, M5, M15, M30, H1, H4, D1
* Uses customizable **Fast** and **Slow Moving Averages** (SMA, EMA, WMA, or RMA)
* If **Fast MA > Slow MA** → Uptrend (Buy)
* If **Fast MA < Slow MA** → Downtrend (Sell)
You can toggle each timeframe ON/OFF for custom filtering.
---
### 2. 📉 **RCI (Rank Correlation Index) Reversal Signal**
The RCI is used to detect overbought/oversold conditions:
* **RCI > 80** and turning downward → Sell Signal
* **RCI < -80** and turning upward → Buy Signal
The indicator uses **short, medium, and long RCI lengths**, with long RCI used for final confirmation.
---
### 3. 📋 **Signal Table Display**
The indicator shows a real-time table at the top-right corner with:
* TF (Timeframe)
* MA Signal:
* ↑ = Buy
* ↓ = Sell
* ⏸ = Neutral
* RCI Signal: same as above
* Live RCI values for short, mid, and long intervals
This lets you quickly evaluate the overall market alignment.
---
## 🎯 Entry Strategy
### 🟢 Buy Entry Conditions:
* MA signals in most (or all) timeframes = "Buy" or disabled (R)
* Long-term RCI gives a **Buy** signal
* Fast MA crosses above Slow MA (crossover) on current TF
📍 **The indicator will display a "BUY" label with pre-calculated SL and TP levels.**
---
### 🔴 Sell Entry Conditions:
* MA in TF1 = "Buy" or "R"
* MA in TF2–TF7 = "Sell" or "R"
* Long-term RCI gives a **Sell** signal
* Fast MA crosses below Slow MA (crossunder) on current TF
📍 **The indicator will display a "SELL" label with SL and TP levels.**
---
## 📌 TP & SL Calculation
* **Stop Loss (SL):**
* Buy: lowest low from the last X candles (customizable)
* Sell: highest high from the last X candles
* **Take Profit (TP):**
* Buy: `Close + (Close - Lowest Low) × RiskReward`
* Sell: `Close - (Highest High - Close) × RiskReward`
🧮 The Risk-Reward ratio is adjustable via settings (`TPRR` input).
---
## 🔐 Risk Management Tip:
**Always move your Stop Loss to breakeven once the price moves favorably.**
This helps protect capital and secure partial profit in case of sudden reversals.
> 📌 Example: If you're in a Buy trade and price moves 50% toward TP, consider adjusting SL to entry price.
---
Let me know if you'd like a PDF version or visual diagram for the strategy!
RSI+BOLLINGER (LONG & SHORT)This indicator combines two of the most popular tools in technical analysis, the Relative Strength Index (RSI) and Bollinger Bands (BB), to generate both long (BUY) and short (SELL) trading signals.
Strategy:
Entries (Buy/Short): Entry signals are based on the RSI.
A BUY is suggested when the RSI crosses above an oversold level (default: 29), indicating a possible upward reversal.
A SHORT is suggested when the RSI crosses below an overbought level (default: 71), indicating a possible downward reversal.
Exits (Position Closure): Exit signals are based on Bollinger Bands.
A long position is closed when the price crosses below the upper Bollinger Band.
A short position is closed when the price crosses above the lower Bollinger Band.
Key Features:
Cascade Filter: Includes a smart filter that prevents opening new consecutive trades if the price hasn't moved significantly in favor of a new entry, optimizing signal quality.
Automation Alerts: Generates detailed alerts in JSON format for each event (buy, sell, close), designed for easy integration with trading bots and automated systems via webhooks.
Fully Configurable: All parameters of the RSI, Bollinger Bands, and strategy filters can be adjusted from the indicator’s settings menu.
Stop Order Entry with Filters and Line📌 名称: Stop Order Entry with Filters (挂单入场辅助工具)
🧠 作者: Kuixi Zhu
🛠️ 功能简介:
本指标用于识别高质量的 Bull/Bear bar,并在其上方(或下方)自动绘制挂单入场线,帮助你基于 Price Action 策略设置 **buy stop / sell stop** 挂单。
✅ 特性:
- Bull bar:收盘靠近 high,且 bar 波动大于平均(ABR) → 在 high+1tick 画绿线(buy stop)
- Bear bar:收盘靠近 low,且 bar 波动大于平均 → 在 low-1tick 画红线(sell stop)
- 支持自定义线条长度、ABR周期、强度过滤标准
🔍 核心逻辑:
- `(close - low) / (high - low)` 衡量收盘靠近 high 的程度
- `barRange > avg(barRange)` 控制有效波动性
- 使用 `line.new` 动态画出可视化入场价格
📊 应用场景:
- 趋势交易中的顺势挂单策略
- price action 高质量 bar 的识别辅助
- 多头突破、空头反转结构的自动提示
⚙️ 参数可调:
- 最低收盘位置比例(default: 0.9)
- 最小 bar 波动倍数(相对 ABR)
- 横线绘制长度(default: 5 bars)
---
Asian & London Ranges 09-23 │ Sweep-colour & Dynamic EndGood indicator for trading forex easy to trade helpfiull for begginers, auto liquidity helpfull easy good modern
Trend Trading Indicator with Adjustable MA FilterThis indicator tracks MA buy and sell labels, and has adjustable MA types and lengths along with a trend filter and time This indicator tracks MA buy and sell labels, and has adjustable MA types and lengths along with a trend filter and time filter
Thors Ghost Candles Thors Ghost Candles (TGC)
A volume-based indicator that visualizes volume through dynamic candle transparency.
Candles fade or intensify based on relative volume strength, creating "ghost" effects for
low-volume periods and highlighting significant volume spikes.
Key Features:
- Candle opacity adjusts based on volume Z-score (standard deviations from mean)
- High volume candles appear solid, while low volume candles become transparent
- Includes volume moving average overlay
- Built-in alerts for extreme volume conditions
- Customizable colors and option to completely hide low-volume bars
Perfect for identifying genuine breakouts, spotting volume divergences, and filtering out
low-conviction price movements. The ghost effect helps traders focus on price action backed
by significant volume.
Buy/Sell Indicator with Candles + RSI + MACD + S/RHere's a full Pine Script strategy for TradingView that combines:
Morning Star & Evening Star Doji patterns
RSI
MACD
Support & Resistance (basic logic)
Buy/Sell arrows with entry points
This script is for educational use and can be optimized further depending on your asset/timeframe.