NAIFCHART_NAS Ultimate Algo | Remastered+# NAIFCHART NAS Ultimate Algo Remastered+: Advanced Trend Following System
## Overview
The NAIFCHART NAS Ultimate Algo Remastered+ represents a sophisticated trend-following system that combines Supertrend analysis with multiple moving average confirmations. This comprehensive indicator was developed and shared by the trading community at t.me designed specifically for identifying high-probability trend continuation and reversal opportunities.
## Core Algorithm Components
**Supertrend Foundation**: The primary signal generation relies on a customizable Supertrend indicator with adjustable sensitivity (1-20 range). This adaptive trend-following tool uses Average True Range calculations to establish dynamic support and resistance levels that respond to market volatility.
**SMA Confirmation Matrix**: Multiple Simple Moving Averages (SMA 4, 5, 9, 13) provide layered confirmation for signal strength. The algorithm distinguishes between regular signals and "Strong" signals based on SMA 4 vs SMA 5 relationship, offering traders different conviction levels for position sizing.
**Trend Ribbon Visualization**: SMA 21 and SMA 34 create a visual trend ribbon that changes color based on their relationship. Green ribbon indicates bullish momentum while red signals bearish conditions, providing immediate visual trend context.
**RSI-Based Candle Coloring**: Advanced 61-tier RSI system colors candles with gradient precision from deep red (RSI ≤20) through purple transitions to bright green (RSI ≥79). This visual enhancement helps traders instantly assess momentum strength and overbought/oversold conditions.
## Signal Generation Logic
**Buy Signal Criteria**:
- Price crosses above Supertrend line
- Close price must be above SMA 9 (trend confirmation)
- Signal strength determined by SMA 4 vs SMA 5 relationship
- "Strong Buy" when SMA 4 ≥ SMA 5
- Regular "Buy" when SMA 4 < SMA 5
**Sell Signal Criteria**:
- Price crosses below Supertrend line
- Close price must be below SMA 9 (trend confirmation)
- Signal strength based on SMA relationship
- "Strong Sell" when SMA 4 ≤ SMA 5
- Regular "Sell" when SMA 4 > SMA 5
## Advanced Risk Management System
**Automated TP/SL Calculation**: The indicator automatically calculates stop loss and take profit levels using ATR-based measurements. Risk percentage and ATR length are fully customizable, allowing traders to adapt to different market conditions and personal risk tolerance.
**Multiple Take Profit Targets**:
- 1:1 Risk-Reward ratio for conservative profit taking
- 2:1 Risk-Reward for balanced trade management
- 3:1 Risk-Reward for maximum profit potential
**Visual Risk Display**: All risk management levels appear as both labels and optional trend lines on the chart. Customizable line styles (solid, dashed, dotted) and positioning ensure clear visualization without chart clutter.
**Dynamic Level Updates**: Risk levels automatically recalculate with each new signal, maintaining current market relevance throughout position lifecycles.
## Visual Enhancement Features
**Customizable Display Options**: Toggle trend ribbon, TP/SL levels, and risk lines independently. Decimal precision adjustments (1-8 decimal places) accommodate different instrument price formats and personal preferences.
**Professional Label System**: Clean, informative labels show entry points, stop losses, and take profit targets with precise price levels. Labels automatically position themselves for optimal chart readability.
**Color-Coded Momentum**: The gradient RSI candle coloring system provides instant visual feedback on momentum strength, helping traders assess market energy and potential reversal zones.
## Implementation Strategy
**Timeframe Optimization**: The algorithm performs effectively across multiple timeframes, with higher timeframes (4H, Daily) providing more reliable signals for swing trading. Lower timeframes work well for day trading with appropriate risk adjustments.
**Sensitivity Adjustment**: Lower sensitivity values (1-5) generate fewer but higher-quality signals, ideal for conservative approaches. Higher sensitivity (15-20) increases signal frequency for active trading styles.
**Risk Management Integration**: Use the automated risk calculations as baseline parameters, adjusting risk percentage based on account size and market conditions. The 1:1, 2:1, 3:1 targets enable systematic profit-taking strategies.
## Market Application
**Trend Following Excellence**: Primary strength lies in capturing significant trend movements through the Supertrend foundation with SMA confirmation. The dual-layer approach reduces false signals common in single-indicator systems.
**Momentum Assessment**: RSI-based candle coloring provides immediate momentum context, helping traders assess signal strength and potential continuation probability.
**Range Detection**: The trend ribbon helps identify ranging conditions when SMA 21 and SMA 34 converge, alerting traders to potential breakout opportunities.
## Performance Optimization
**Signal Quality**: The requirement for both Supertrend crossover AND SMA 9 confirmation significantly improves signal reliability compared to basic trend-following approaches.
**Visual Clarity**: The comprehensive visual system enables rapid market assessment without complex calculations, ideal for traders managing multiple instruments.
**Adaptability**: Extensive customization options allow fine-tuning for specific markets, trading styles, and risk preferences while maintaining the core algorithm integrity.
## Community Resources
Join the active trading community at t.me for ongoing discussions about optimization techniques, market analysis, and strategy refinements using this advanced algorithm system.
The collaborative environment provides valuable insights into parameter adjustments for different market conditions and real-world performance feedback from experienced traders.
## Conclusion
The NAIFCHART NAS Ultimate Algo Remastered+ combines proven trend-following principles with modern visual enhancements and comprehensive risk management. The algorithm's strength lies in its multi-layered confirmation approach and automated risk calculations, providing both novice and experienced traders with clear signals and systematic trade management.
Success with this system requires understanding the relationship between signal strength indicators and adapting sensitivity settings to match current market conditions. The comprehensive visual feedback system enables rapid decision-making while the automated risk management ensures consistent trade parameters.
Practice with different sensitivity settings and timeframes to optimize performance for your specific trading style and risk tolerance. The algorithm's systematic approach provides excellent framework for disciplined trend-following strategies across various market environments.
Indicators and strategies
Railway Track Pattern - Nifty 50//@version=5
indicator("Railway Track Pattern - Nifty 50", overlay=true)
// Settings
bodyThreshold = input.float(0.8, title="Minimum Body Overlap (%)", minval=0.5, maxval=1.0)
// Candle Body Sizes
bodySize1 = math.abs(close - open )
bodySize2 = math.abs(close - open)
// Candle Directions
isBullishRail = close < open and close > open // Red followed by Green
isBearishRail = close > open and close < open // Green followed by Red
// Overlap Check (at least 80% body overlap)
overlapLow = math.max(open , close )
overlapHigh = math.min(open , close )
overlapLow2 = math.max(open, close)
overlapHigh2 = math.min(open, close)
bodyOverlap = math.min(overlapHigh, overlapHigh2) - math.max(overlapLow, overlapLow2)
minBodySize = math.min(bodySize1, bodySize2)
overlapRatio = bodyOverlap / minBodySize
railwayBullish = isBullishRail and overlapRatio >= bodyThreshold
railwayBearish = isBearishRail and overlapRatio >= bodyThreshold
// Plotting
plotshape(railwayBullish, title="Bullish Railway", style=shape.labelup, location=location.belowbar, color=color.green, text="🚆 Buy")
plotshape(railwayBearish, title="Bearish Railway", style=shape.labeldown, location=location.abovebar, color=color.red, text="🚆 Sell")
NAIFCHART_Algo Pro# NAIFCHART Algo Pro: Advanced Candlestick Pattern Analysis Tool
## Overview
The NAIFCHART Algo Pro indicator represents an innovative approach to candlestick pattern analysis, combining traditional engulfing patterns with advanced technical filters. This indicator was developed and shared by the trading community at t.me focusing on high-probability reversal signals through multi-layered confirmation.
## Core Algorithm Components
**Candle Stability Index**: Measures the ratio between candle body and total range (including wicks). Higher values indicate more decisive price action with stronger conviction. Default setting of 0.5 ensures only stable, well-formed candles generate signals, filtering out indecisive market conditions.
**RSI Momentum Filter**: Utilizes 14-period RSI with customizable threshold (default 50) to confirm overbought/oversold conditions. Buy signals require RSI below the threshold, while sell signals need RSI above the inverse threshold, ensuring momentum alignment with pattern direction.
**Candle Delta Analysis**: Examines price movement over a specified period (default 5 candles) to confirm directional bias. This filter ensures patterns occur after meaningful price moves in the opposite direction, increasing reversal probability.
**Engulfing Pattern Recognition**: Identifies classic bullish and bearish engulfing formations where the current candle completely engulfs the previous candle's body, indicating potential momentum shift.
## Signal Generation Logic
**Buy Signal Criteria**:
- Bullish engulfing pattern formation
- Candle stability above threshold level
- RSI below specified threshold (oversold condition)
- Price decrease over the delta length period
- Confirmed bar state (prevents repainting)
**Sell Signal Criteria**:
- Bearish engulfing pattern formation
- Candle stability above threshold level
- RSI above inverse threshold (overbought condition)
- Price increase over the delta length period
- Confirmed bar state (prevents repainting)
## Advanced Features
**Signal Filtering**: Optional "Disable Repeating Signals" feature prevents signal clusters by blocking consecutive identical signals. This enhances chart clarity and reduces noise in trending markets where multiple patterns might form in sequence.
**Visual Customization**: Multiple label styles including text bubbles, triangles, and arrows with full color customization. Label sizes range from tiny to huge, allowing adaptation to different chart configurations and personal preferences.
**Alert Integration**: Built-in alert system notifies traders immediately when buy or sell conditions are met, enabling real-time trade execution without constant chart monitoring.
## Implementation Strategy
**Timeframe Optimization**: The indicator performs effectively across multiple timeframes, with higher timeframes (1-hour and above) providing more reliable signals due to reduced market noise. Shorter timeframes require more conservative position sizing due to increased false signal probability.
**Parameter Tuning**:
- Increase Candle Stability Index for more selective signals in volatile markets
- Adjust RSI threshold based on market conditions (lower for trending markets, higher for ranging conditions)
- Modify Candle Delta Length for different trend confirmation periods
**Risk Management**: Combine signals with proper stop loss placement below/above the engulfing pattern's extreme points. Consider position sizing based on pattern strength and overall market context.
## Market Application
**Reversal Trading**: Primary application focuses on identifying high-probability reversal points after extended moves. The multi-filter approach significantly reduces false signals compared to basic engulfing pattern strategies.
**Trend Confirmation**: In trending markets, signals align with pullback completion, providing optimal entry points for trend continuation strategies. The RSI and delta filters help identify temporary retracements rather than trend changes.
**Range Trading**: Within sideways markets, signals often occur near range boundaries, providing effective support and resistance bounce opportunities with clearly defined risk parameters.
## Performance Optimization
**Market Selection**: The indicator performs best on liquid instruments with clear candlestick formations. Avoid extremely volatile or thin markets where patterns may be less reliable.
**Session Timing**: Consider trading sessions when focusing on specific markets. Major session overlaps often provide clearer patterns due to increased participation and volume.
**Confirmation Techniques**: While the indicator provides internal filtering, additional confirmation through volume analysis, key support/resistance levels, or broader market context enhances signal reliability.
## Community Resources
Access ongoing strategy discussions and optimization techniques through the source community at t.me where traders share practical applications and parameter adjustments for different market conditions.
The collaborative environment provides valuable insights into optimal settings for various trading styles and market environments, along with real-time feedback on signal quality and performance.
## Conclusion
NAIFCHART Algo Pro offers a sophisticated approach to candlestick pattern trading through intelligent filtering and confirmation mechanisms. The indicator's strength lies in combining traditional pattern recognition with modern technical analysis filters, creating a robust framework for identifying high-probability reversal opportunities.
Success with this tool requires understanding each component's role in signal generation and adapting parameters to match current market conditions and personal trading style. The community-driven development ensures practical relevance and ongoing refinement based on real trading experiences.
Practice with demo accounts to develop familiarity with signal timing and optimal parameter settings before live implementation. The indicator's systematic approach provides clear entry signals while maintaining flexibility for different risk management and position sizing strategies.
Combined Predictive Indicator### Combined Predictive Zones & Levels
This indicator is a powerful hybrid tool designed to provide a comprehensive map of potential future price action. It merges two distinct predictive models into a single, cohesive view, helping traders identify key levels of support, resistance, and areas of high confluence.
#### How It Works: Two Models in One
This script is built on two core components that you can use together or analyze separately:
**Part 1: Classic Range & Fibonacci Prediction**
This model uses classic technical analysis principles to project a potential range for the upcoming price action.
* **Highest High / Lowest Low:** It identifies the significant trading range over a user-defined lookback period.
* **Fibonacci Levels:** It automatically plots key Fibonacci retracement levels (e.g., 38.2% and 61.8%) within this range, which often act as critical support or resistance.
* **ATR & Average Range:** It calculates a "predicted" upper and lower boundary based on the average historical range and current volatility (ATR).
**Part 2: Advanced Predictive Ranges (Self-Adjusting Channels)**
This is a dynamic model that creates adaptive support and resistance zones based on a smoothed average price and volatility.
* **Dynamic Average:** It uses a unique moving average that only adjusts when the price moves significantly, creating a stable baseline.
* **ATR-Based Zones:** It projects multiple levels of support (S1, S2) and resistance (R1, R2) around this average, which widen and narrow based on market volatility. These zones often signal areas where price might stall or reverse.
#### Key Features:
* **Hybrid Model for Confluence:** The true power of this indicator lies in finding where the levels from both models overlap. A Fibonacci level aligning with a Predictive Range support zone is a much stronger signal.
* **Comprehensive Data Table:** A clean, on-chart table displays the precise values of all key predictive levels, allowing for quick reference and precise trade planning.
* **Multi-Timeframe (MTF) Capability:** The Advanced Predictive Ranges can be calculated on a higher timeframe, giving you a broader market context.
* **Fully Customizable:** All lengths, multipliers, and levels for both models are fully adjustable in the settings to fit any asset or trading style.
* **Clear Visuals:** All zones and levels are color-coded for intuitive and easy-to-read analysis.
#### How to Use:
1. Look for areas of **confluence** where multiple levels from both models cluster together. These are high-probability zones for price reactions.
2. Use the Predictive Range zones (S1/S2 and R1/R2) as potential targets for trades or as areas to watch for entries and exits.
3. Pay attention to the on-chart table for exact price levels to set limit orders or stop-losses.
**Disclaimer:** This script is an analytical tool for educational purposes and should not be considered financial advice. All trading involves risk. Past performance is not indicative of future results. Always use this indicator as part of a comprehensive trading strategy with proper risk management.
Feedback is welcome! If you find this tool useful, please leave a like.
Advanced Trend Panel v3.1This is a comprehensive dashboard indicator designed to give traders a multi-faceted view of the market at a single glance. It combines key indicators across multiple timeframes, calculates trend duration, and presents all information in a clean, color-coded table. This tool is perfect for confirming trade ideas, identifying trend alignment, and understanding the underlying market dynamics.
#### Key Features:
* **All-in-One Dashboard:** A convenient on-chart table summarizes the state of multiple key indicators, saving you screen space and time.
* **Multi-Timeframe (MTF) Forecast:** Analyzes the long-term trend on a higher timeframe (e.g., Daily) to provide context for the current chart's trend.
* **Trend Analysis:** Uses dual sets of EMAs (long-term and short-term) to define the primary and immediate trend directions.
* **Trend Duration:** A unique feature that calculates how long the current short-term and long-term trends have been active, helping you gauge trend maturity.
* **Core Indicators Included:**
* **ADX:** Measures trend strength to differentiate between strong trends and weak or sideways markets.
* **RSI:** Identifies overbought and oversold conditions.
* **Point of Control (POC):** Shows the price level with the highest traded volume over a lookback period, acting as a key level of support/resistance.
* **Volume:** Compares current volume to its moving average to spot unusual activity.
* **Customizable Alerts:** Set up alerts for trend changes (long-term or short-term), RSI crossing into overbought/oversold zones, or shifts in ADX trend strength.
#### How to Use:
1. Apply the indicator to your chart.
2. In the settings, configure the timeframes, indicator lengths, and display options to match your trading style.
3. Use the table to quickly assess if the long-term trend, short-term trend, and momentum are aligned.
4. Enable alerts to be notified of key changes in market conditions without having to watch the chart constantly.
**Disclaimer:** This script is for educational purposes only and should not be considered financial advice. All trading involves risk. Past performance is not indicative of future results. Please backtest and use this tool as part of a comprehensive trading plan with proper risk management.
Feedback is always welcome! If you find this indicator useful, please leave a like.
[LeonidasCrypto]EMA with Volatility GlowEMA Volatility Glow - Advanced Moving Average with Dynamic Volatility Visualization
Overview
The EMA Volatility Glow indicator combines dual exponential moving averages with a sophisticated volatility measurement system, enhanced by dynamic visual effects that respond to real-time market conditions.
Technical Components
Volatility Calculation Engine
BB Volatility Curve: Utilizes Bollinger Band width normalized through RSI smoothing
Multi-stage Noise Filtering: 3-layer exponential smoothing algorithm reduces market noise
Rate of Change Analysis: Dual-timeframe RoC calculation (14/11 periods) processed through weighted moving average
Dynamic Normalization: 100-period lookback for relative volatility assessment
Moving Average System
Primary EMA: Default 55-period exponential moving average with volatility-responsive coloring
Secondary EMA: Default 100-period exponential moving average for trend confirmation
Trend Analysis: Real-time bullish/bearish determination based on EMA crossover dynamics
Visual Enhancement Framework
Gradient Band System: Multi-layer volatility bands using Fibonacci ratios (0.236, 0.382, 0.618)
Dynamic Color Mapping: Five-tier color system reflecting volatility intensity levels
Configurable Glow Effects: Customizable transparency and intensity settings
Trend Fill Visualization: Directional bias indication between moving averages
Key Features
Volatility States:
Ultra-Low: Minimal market movement periods
Low: Reduced volatility environments
Medium: Normal market conditions
High: Increased volatility phases
Extreme: Exceptional market stress periods
Customization Options:
Adjustable EMA periods
Configurable glow intensity (1-10 levels)
Variable transparency controls
Toggleable visual components
Customizable gradient band width
Technical Calculations:
ATR-based gradient bands with noise filtering
ChartPrime-inspired multi-layer fill system
Real-time volatility curve computation
Smooth color gradient transitions
Applications
Trend Identification: Dual EMA system for directional bias assessment
Volatility Analysis: Real-time market stress evaluation
Risk Management: Visual volatility cues for position sizing decisions
Market Timing: Enhanced visual feedback for entry/exit consideration
SwingTrade ADX Strategy v6This is a swing trading strategy that combines VWAP (Volume Weighted Average Price), ADX (Average Directional Index) for trend strength, and volume ratios to generate long/short entry and exit signals. It's designed for daily charts but can be adapted.
#### Key Features:
- **Entries**: Based on VWAP crossovers, rising/falling delta (price deviation from VWAP), ADX trend confirmation, and volume ratios.
- **Exits**: Dynamic exits when VWAP delta reverses after a peak.
- **Filters**: Optional toggles for VWAP signals, ADX, and volume. Backtest date range for custom periods.
- **Visuals**: VWAP line, signal shapes/labels, and an info panel showing key metrics (VWAP Delta %, ADX, Volume Ratio).
- **Alerts**: Built-in alerts for buy/sell entries and exits.
#### How to Use:
1. Apply to your chart (e.g., stocks, forex, crypto).
2. Adjust parameters in the settings (e.g., ADX threshold, volume period).
3. Enable/disable indicators as needed.
4. Backtest using the date filters and review equity curve.
**Disclaimer**: This is for educational purposes only. Past performance is not indicative of future results. Not financial advice—trade at your own risk. Backtest thoroughly and use with proper risk management.
Feedback welcome! If you find it useful, give it a like.
Volume Delta + RSI Confluence SignalsEfficient buy and sell signal scans for real trades using volume delta, rsi rejection and some more.
Daily ATR Stop Loss Buffer- Calculates Daily ATR: Uses the daily timeframe ATR (Average True Range) - a measure of price volatility
- Applies Your Buffer: Takes a percentage of that ATR that you set in the settings (e.g., 5% of daily ATR)
- Creates Stop Levels: Calculates where to place stop losses based on current price plus/minus your ATR buffer
MJBFX-Strategy (Futures Optimized)The MJBFX-Strategy is a complete market mapping tool designed to give traders a clear view of liquidity, session dynamics, and premium/discount levels. It loads automatically on any chart, fully optimized for futures and forex trading.
🔑 Key Features
Asian Session Range
Highlights the previous Asian session with a shaded box
Fixed until London open for precise reference
VWAP from Asian Session
Plots the VWAP of the previous Asian session
Dynamic fair value benchmark for intraday trading
Liquidity Sweeps (Optimized)
Detects sweeps of the Asian session high/low
Shown only on 30m, 1h, and 4h charts to reduce noise
Clean, minimal labels for clarity
Automatic Fibonacci Zone
Draws a shaded retracement zone (38.2%–61.8%) of the Asian range
Transparent fill makes it easy to read price action
Killzones
Highlights London (07:00–10:00) and New York (13:00–16:00) killzones
Semi-opaque shading to keep charts clean
Auto Trade Box (Risk/Reward)
On sweep confirmation, plots a 2R target box
Auto stop loss and take profit levels based on futures tick size
🎯 Why Use It?
The MJBFX-Strategy removes the need for manual drawing.It automatically maps:
Session highs and lows
Liquidity sweeps
VWAP and fib retracement zones
Key killzones
Perfect for session-based intraday trading in both futures and forex.
⚡ No manual settings required.Just load it onto your chart for an instant institutional view of the market.
Supertrend Long-Only Strategy for QQQThis strategy is meant to use Micro Momentum to give good Buy and Sell signals in trending markets
Intraday Combo Strategy HHStochastic RSI Momentum/Reversal quickly identifies overbought/oversold zones
MACD Momentum/Trend confirms a trend reversal, a late but powerful signal
Supertrend Trend Tracking provides clear and concise buy/sell signals
Bollinger Bands Volatility shows price deviation during breakouts/squeezes
ADX Trend Strength measures trend strength to filter out false signals
RSI SMA 7 Signal Strategy (No 50 Level)Script uses SMA 7 Perio and 14 Period RSI
If SMA crosses 40 RSI level from below consider it a buy zone or buy signal, if SMA crosses from below 60 RSI level, then super bullish, IF SMA crosses 60 RSI level from above its a profit taking time and Sell zone, if SMA crosses 40 level from above then super bearish sell signal.
FRX_FORTUNE - EMA 9/15 Crossover Alert//@version=5
indicator("FRX_FORTUNE - EMA 9/15 Crossover Alert", overlay=true)
// === INPUTS ===
fastEmaLength = input.int(9, title="Fast EMA (9)")
slowEmaLength = input.int(15, title="Slow EMA (15)")
showArrows = input.bool(true, title="Show Buy/Sell Arrows")
enableAlerts = input.bool(true, title="Enable Alerts")
// === CALCULATIONS ===
fastEma = ta.ema(close, fastEmaLength)
slowEma = ta.ema(close, slowEmaLength)
bullishCross = ta.crossover(fastEma, slowEma)
bearishCross = ta.crossunder(fastEma, slowEma)
// === PLOT EMA ===
plot(fastEma, title="EMA 9", color=color.orange)
plot(slowEma, title="EMA 15", color=color.blue)
// === DRAW ARROWS ===
plotshape(bullishCross and showArrows, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
plotshape(bearishCross and showArrows, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
// === ALERTS ===
alertcondition(bullishCross, title="Buy Alert", message="BUY: EMA 9 crossed above EMA 15")
alertcondition(bearishCross, title="Sell Alert", message="SELL: EMA 9 crossed below EMA 15")
LBB + RSI FX EditionLBB + RSI ForeX Edition (FX) — Version v6.4.8-fx
**Combine Log Bollinger Bands, multi-level RSI signals, optional trend & pin-bar filters, ATR-based optional TP/SL and a compact signal table — all in one overlay.**
### 1. Key Features
* **Logarithmic Bollinger Bands (LBB):**
* Uses log-price SMA and standard deviation to derive upper/lower bands
* Provides a more symmetrical response to percentage-based moves
* **RSI Multi-Level Entries:**
* Generates long signals when price closes below the lower LBB and RSI < 30 / 35 / 40
* Generates short signals when price closes above the upper LBB and RSI > 60 / 65 / 70
* Three “strength” tiers for both buys and sells
* **Signal Filters (optional):**
* **EMA Trend Filter:** only take longs above a 50-period EMA or shorts below it
* **Pin-Bar Filter:** require a clear wick-to-body ratio on the signal candle
* **Confirmed Candle:** wait for candle close before signaling
* **ATR Display (optional):** show current ATR on the signal table
* **Flexible TP/SL Settings:**
* **Static (pips) or Dynamic (ATR-based) TP/SL**
* Toggle between pips and ticks for FX precision
* Minimum pip/tick threshold to avoid overly tight stops
* Separate TP/SL controls for longs and shorts
* **Visuals & Alerts:**
* Color-coded shapes for each RSI tier (green/orange/yellow for buys; blue/purple/red for sells)
* Customizable display of Bollinger Bands, ATR, signal table and win-rate stats
* Built-in `alertcondition` for each tier with clear emoji & strength label
* **Compact Signal Table:**
* Shows 📈/📉 entry price, RSI, ATR (if enabled), pin-bar ✔/–, timestamp (with UTC offset) and win-rate placeholder
---
### 2. Inputs & Groups
| Group | Input | Default | Notes |
| ---------------------- | ------------------------------------------ | ------- | ------------------------------------- |
| **Indicator Settings** | LBB Period (`lbbLength`) | 20 | Length for log-price SMA |
| | LBB Multiplier (`lbbMult`) | 2.0 | Std dev multiplier |
| | RSI Period (`rsiLength`) | 14 | |
| | ATR Period (`atrLength`) | 14 | |
| | Show ATR (`showATR`) | true | Toggles ATR in table |
| | UTC Offset Hours (`timeOffsetHours`) | 0 | Adjust table time to your timezone |
| **Signal Filters** | Use EMA Trend Filter (`useTrendFilter`) | false | |
| | EMA Period (`emaPeriod`) | 50 | |
| | Use Pin-Bar Filter (`usePinBarFilter`) | false | |
| | Pin-Bar Ratio (`pinBarRatio`) | 2.0 | Wick-to-body minimum |
| | Only on Confirmed Candle (`onlyConfirmed`) | false | |
| **TP/SL Settings** | Show TP/SL for Long (`showLongTpSl`) | false | |
| | Show TP/SL for Short (`showShortTpSl`) | false | |
| | Use Dynamic TP/SL (`useDynamicTpSl`) | false | ATR × multiplier |
| | TP/SL in Ticks (`useTicks`) | false | Instead of pips |
| | Min TP/SL Threshold (`minTpSlThreshold`) | 10.0 | In pips |
| | TP Long (pips) (`tpLongPips`) | 20 | Static targets |
| | SL Long (pips) (`slLongPips`) | 10 | |
| | TP Short (pips) (`tpShortPips`) | 20 | |
| | SL Short (pips) (`slShortPips`) | 10 | |
| | ATR Multiplier for TP (`atrMultiplierTP`) | 1.5 | |
| | ATR Multiplier for SL (`atrMultiplierSL`) | 1.0 | |
| **Visual Settings** | Show Signal Shapes (`showShapes`) | true | |
| | Show Bollinger Bands (`showBands`) | true | |
| | Show Statistics (`showStats`) | true | Win-rate currently placeholder “NaN%” |
---
### 3. Calculation Overview
1. **Log Bollinger Bands**
```pinescript
logClose = math.log(close)
logBasis = ta.sma(logClose, lbbLength)
logDev = lbbMult * ta.stdev(logClose, lbbLength)
lowerBand = math.exp(logBasis - logDev)
upperBand = math.exp(logBasis + logDev)
basisBand = math.exp(logBasis)
```
2. **RSI & ATR**
```pinescript
rsi = ta.rsi(close, rsiLength)
atrVal = ta.atr(atrLength)
```
3. **Pin-Bar Detection**
```pinescript
body = math.abs(close - open)
upperWick = high - math.max(close, open)
lowerWick = math.min(close, open) - low
isPinBarBull = lowerWick > body * pinBarRatio and upperWick < body
isPinBarBear = upperWick > body * pinBarRatio and lowerWick < body
```
4. **Trend & Confirmation Filters**
```pinescript
emaTrend = ta.ema(close, emaPeriod)
trendLong = close > emaTrend
trendShort = close < emaTrend
trendOkLong = useTrendFilter ? trendLong : true
trendOkShort= useTrendFilter ? trendShort: true
signalOk = onlyConfirmed ? barstate.isconfirmed : true
```
5. **Entry Conditions**
* **Long**: `close < lowerBand` + RSI < {30, 35, 40} + filters
* **Short**: `close > upperBand` + RSI > {60, 65, 70} + filters
---
### 4. Signal Plotting & Alerts
* **Shapes on Chart**
* 📈 LONG signals plotted below bar in green/orange/yellow triangles, sized by strength
* 📉 SHORT signals plotted above bar in blue/purple/red inverted triangles
* **Alert Conditions**
```pinescript
alertcondition(cond_rsi30_long, title="LBB LONG RSI <30", message="📈 LONG signal | Strong Buy | {{ticker}} @ {{close}} | {{interval}}")
// … and similarly for other tiers
```
---
### 5. TP/SL Management
1. **Delta Calculation**
```pinescript
rawTP = atrVal * atrMultiplierTP * tfMultiplier
rawSL = atrVal * atrMultiplierSL * tfMultiplier
pip = syminfo.mintick
pipMult = pip == 0.00001 ? 10 : pip == 0.01 ? 1 : 100
unitMult = useTicks ? 1 : pipMult
minDelta = minTpSlThreshold * pip * tfMultiplier * unitMult
```
2. **Dynamic TP/SL Lines**
* Deletes old lines and draws new dashed lines at `entry ± max(rawΔ, minDelta)` when signaled and `useDynamicTpSl` is enabled.
3. **Manual TP/SL Labels**
* On each bar checks if price hit the TP or SL level and drops a permanent label “TP @ …” or “SL @ …”.
---
### 6. Compact Signal Table
Positioned in the top-right corner, updates on each new signal:
| Column | Content |
| ------ | ----------------------------------------- |
| 0 | 📈/📉 Entry price with color background |
| 1 | `RSI: XX` |
| 2 | `ATR: X.XXXXX` (if enabled) |
| 3 | `PinBar: ✔` or `–` |
| 4 | `Time: DD-MM-YY HH:mm` (with UTC offset) |
| 5 | `Win Rate: NaN%` (placeholder if enabled) |
---
### 7. Recommendations & Best Practices
* **Timeframe Selection:** works best on FX pairs; adjust `tfMultiplier` sensitivity by avoiding ultra-low minute charts unless needed.
* **Trend Filter:** enable `useTrendFilter` to align signals with broader trend, reducing noise.
* **Pin-Bar Filter:** turn on `usePinBarFilter` when you need higher-quality reversal candles.
* **Dynamic TP/SL:** use ATR-based exits (`useDynamicTpSl=true`) to adapt stop levels to changing volatility.
* **Ticks vs Pips:** for very tight markets (e.g. FX majors on low timeframes), switch to ticks.
* **Backtest Thoroughly:** before deploying alerts, test across multiple symbols/timeframes to tune multipliers and thresholds.
* **Alert Integration:** set up TradingView alerts using the built-in `alertcondition` names for fully automated notifications.
Pinbar DetectorPinbar Detector is original from Naked Candlestick Trading Method
Pinbar Definition: A candlestick where the dominant shadow exceeds 2/3 of the entire candle length
Key Features:
Bearish Pinbar: Red downward triangle when upper shadow exceeds 2/3 of total candle length
Bullish Pinbar: Green upward triangle when lower shadow exceeds 2/3 of total candle length
Background highlighting for easy identification
Alert conditions for both bullish and bearish pinbars
Original candlestick display preserved
Sadi's Pocket Pivot Buy Signal (PP-B)Can be used to identify early entries within a basing period or later on as the stock breaks out and heads higher (continuation buy signals).
Helps in identifying low risk entries where the investor can pyramid into the stock and hence manage risk better.
Makes sure you get in when the trade in working in your favor and avoid putting good money after bad.
ALFA ATC LondonThis indicator is a data indicator focused on the algorithmic opening prices of stock exchanges and shows these areas. Bias can be obtained from these areas. Trades can be executed by taking advantage of the price's ability to test and hold these areas. The indicator, AS ATC5, includes opening information for the CM New York, London, Frankfurt, and Tokyo stock exchanges. This indicator is designed solely for London and Frankfurt.
Big CandleBig Candles, most of the times, indicate actions by market makers . Also the candle high and low can be thought of as liquidity zones.
Weekly % Change Screener (5% Sell Threshold)This is a weekly screener for a 5% change in the stock value. If it increases by 5%, we sell and if it decreases by 5% we buy the stock. Good for stable high value stocks. Buy before testing.
RELIANCE: 3 Bullish Candles + VWAPIts a script to track 3 consecutive candles of any stock. This helps understand the trends and makes up for buy signals. Please test before buying.
逆勢布林+RSI策略 for SOL可以直接套用到 SOLUSDT, SOLPERP, 或其他 SOL 合約。
在策略回測介面中選擇 5min 或 15min 看策略表現。
若要調整停利%或 RSI 數值,改變 rsi < 25 與 (shortEntryPrice - close) / shortEntryPrice >= 0.035 即可。
This can be directly applied to SOLUSDT, SOLPERP, or other SOL futures.
In the strategy backtesting interface, select 5-minute or 15-minute periods to view strategy performance.
To adjust the take-profit percentage or RSI value, set RSI < 25 and (shortEntryPrice - close) / shortEntryPrice >= 0.035.