BUY & SELL Dynamic DCA StrategyOverview
The BUY & SELL Dynamic DCA Strategy is a versatile Pine Script indicator designed for traders seeking a robust Dollar Cost Averaging (DCA) approach to manage both long and short positions across various market conditions and timeframes. This innovative tool combines breakout-based level initiation with a dynamic volatility adjustment, enabling traders to enter positions at optimal DCA points, average them strategically, and manage risk with adjustable stop-loss and take-profit levels. Ideal for scalping on short timeframes (1-minute, 5-minute) or swing trading on longer ones (15-minute, 1-hour, 4-hour).
Purpose and Originality
The "BUY & SELL Dynamic DCA Strategy" stands out by integrating several trading concepts into a cohesive, trader-friendly system. While it leverages familiar elements like breakout points and ATR (Average True Range), its originality lies in:
Dynamic Volatility Adjustment: A custom volatility factor, derived from a capped ATR calculation, dynamically scales DCA entry, averaging, and stop-loss levels. This ensures the strategy adapts to market conditions, tightening in low volatility for scalping and widening in high volatility for swing trading.
Dual-Direction DCA: Supports both buy (long) entries on pullbacks and sell (short) entries on rallies, with tailored averaging and exit strategies for each.
Timeframe Versatility: Adjusts its sensitivity based on the chart timeframe, making it suitable for rapid scalping or longer-term trend riding without requiring manual recalibration.
This unique synthesis justifies its publication as a invite-only script, offering a practical tool that enhances traditional DCA methods with adaptive precision.
How It Works
The indicator operates through a multi-step process designed to optimize entry, averaging, and exit points:
1. Initial Level Setting:
Utilizes high and low threshold (calculated over a user-defined period) to establish initial DCA entry levels. If no threshold is detected, it defaults to the previous bar’s price, ensuring immediate applicability.
2. Dynamic DCA Entry:
Entry levels are adjusted using a proprietary volatility factor, which scales the distance from the current price. Long entries trigger when the price falls below this level, while short entries trigger when the price rises above it, with a volume confirmation filter to reduce noise.
3. Averaging Mechanism:
A secondary level (Averaging Level) allows traders to add to their position when the price moves further against the trade (down for longs, up for shorts). This level is also volatility-adjusted, providing a structured cost-reduction strategy.
4. Risk and Reward Management:
A Final Stop-Loss (Final SL) is set farther out, calculated as a multiple of the volatility-adjusted risk distance, offering protection after averaging.
Take-Profit (TP) levels are determined using a user-defined risk-to-reward ratio, ensuring a balanced exit strategy tailored to market movement.
5. Performance Tracking:
A real-time win/loss table in the top-right corner records trade outcomes, with wins and losses color-coded based on the trade direction (green/red for long, red/green for short), aiding performance evaluation.
Features
1. Dual-Mode Operation : Facilitates both long entries on price dips and short entries on price surges, adaptable to bullish and bearish markets.
2. Volatility-Adaptive Levels: Employs a custom ATR-based adjustment to scale entry, averaging, and stop-loss levels, enhancing responsiveness across timeframes.
3. Visual Tools: Features dashed lines and labels for DCA Entry (green for long, red for short), Final SL (red), and TP (cyan), with debug labels for entries and averages.
4. Timeframe Flexibility: Automatically adjusts threshold periods and volatility factors based on the chart timeframe (1m, 5m, 15m, 1h, 4h), optimizing for scalping or swing trading.
5. Customizable Parameters: Allows fine-tuning of period, DCA factors, and visibility options.
Settings
Base Length (default: 10): Base period for pivot calculations, scaled by timeframe (e.g., 10 becomes 20 on 5m).
Type: 'Wicks' (high/low) or 'Body' (open/close) for price-based levels.
RR Ratio (default: 1.2): Risk-to-reward ratio for TP calculation.
DCA Entry Factor (default: 1.0): Multiplier for volatility-adjusted DCA entry distance.
Avg Level Factor (default: 2.0): Multiplier for averaging level distance.
Final SL Factor (default: 3.0): Multiplier for final stop-loss distance.
SL Type: 'Close' or 'High/Low' for stop-loss evaluation.
Show DCA Entry, Show Avg Level, Show Final SL: Toggle visibility of respective lines.
Show Win/Loss Table: Enable/disable performance tracking.
Line Style: Select 'Solid', 'Dashed', or 'Dotted'.
Usage Instructions
1. Application:
Add the "BUY & SELL Dynamic DCA Strategy - JOAT" via the Pine Editor or community scripts on TradingView.
2. Configuration:
Scalping (1m, 5m): Set Base Length to 5-10, use a low DCA Entry Factor (0.5-1.0) for tight entries, and a Final SL Factor of 2.0-3.0.
Swing Trading (15m, 1h, 4h): Increase Base Length to 15-20, use a higher DCA Entry Factor (1.0-2.0), and set Final SL Factor to 3.0-4.0 for wider stops.
Enable visual elements and adjust Line Style as preferred.
3. Signal Interpretation:
Long Trade: A green dashed "DCA Entry" line below the price triggers a "Long Entry" label on crossover down.
Short Trade: A red dashed "DCA Entry" line above the price triggers a "Short Entry" label on crossover up.
Averaging: A yellow "Avg" label (long) or magenta "Avg" label (short) appears at the respective averaging level.
Exits: TP (cyan) for wins, Final SL (red) for losses, tracked in the win/loss table.
Trade Management:
Scalping: Use 1m/5m for quick trades, averaging as price moves against you.
Swing Trading: Use 15m/1h/4h to capture trends, averaging for cost adjustment.
Manually adjust position size for averaging based on risk tolerance.
5. Performance Monitoring:
The top-right table updates with wins (green/red) and losses (red/green) per trade type, helping assess strategy effectiveness.
Limitations
Manual Averaging: Requires manual position size adjustment at the Averaging Level; automation is not included.
Timeframe Sensitivity: May require parameter tuning for optimal performance across 1m to 4h.
No Trend Filter: Sideways markets may generate noise; adding a trend indicator could enhance accuracy (future development).
Initialization Delay: First trade may be delayed until a pivot is detected, using the current price as a fallback.
Originality Justification
The custom volAdj method, which caps ATR at a percentage of price and scales it by timeframe, offering a unique volatility adjustment not found in standard indicators.
The dual-direction DCA with averaging, combining long and short strategies with volatility-modulated levels, providing a comprehensive trading framework.
The timeframe-adaptive design, automatically adjusting pivot periods and volatility factors, making it a versatile tool across scalping and swing trading.
تحليل الاتجاه
Mayer Multiple Zones (Crypto)Enhanced Mayer Multiple Zones
Advanced crypto valuation zones with ETH/BTC context
Key Features
Shows 6 price zones based on MA200 multiples (bubble, take profit, fair value, accumulation, value buy, strong buy)
Adds ETH/BTC ratio context for stronger signals
Works on any crypto with sufficient price history ( ETH , SOL , AAVE , etc)
Color intensity changes based on market conditions
How to Read
Color Zones : Price relative to its MA200 history
Zone Opacity : Stronger color = stronger signal (influenced by ETH/BTC context)
Status Box : Shows current "Enhanced Status" combining price level with ETH/BTC context
Context Line : Explains why the signal is strong or weak
Buy/Sell Signals
Strong Buy Signals :
• " EXTREME VALUE " (blue zone + BTC dominance)
• " STRONG VALUE BUY " (cyan zone + BTC preference)
Take Profit Signals :
• " CONFIRMED BUBBLE " (purple zone + altcoin dominance)
• " APPROACHING BUBBLE " (red zone + rising altcoin strength)
Customization
Adjust multiple thresholds (0.6x, 0.8x, 2.0x, 2.5x, 3.0x)
Toggle ETH/BTC context analysis
Configure ETH/BTC thresholds for market bias
Change MA length from default 200
This indicator helps identify optimal entry and exit points by watching the vertical color streaks on your chart. Look for deep blue/cyan zones with high opacity for strong buying opportunities, and intense purple/red zones for potential exits. The darker the color intensity, the stronger the signal—no complex interpretation needed!
GARCH(1,1) [victhoreb]Generalized Autoregressive Conditional Heteroskedasticity p,q = 1 (GARCH(1,1))
The GARCH model is a generalized version of the ARCH statistical model, which describes the variance of the current error term (innovation) as a function of the magnitudes of the previous periods' error terms. Essentially, the GARCH model provides an estimate of the average volatility.
The model assumes that the time series { xₜ | t ∈ T } is given by:
xₜ = μₜ + εₜ
where:
- μₜ is the conditional mean of the series.
- εₜ represents the residual shocks, defined as above, and it is assumed that εₜ ∼ N(0, σₜ²) (this assumption, although important for statistical inference, may not hold perfectly in practice as residuals can exhibit heavier tails).
The conditional variance is estimated by:
σₜ₊₁² = ω + α · εₜ² + β · σₜ²
where:
- ω is a constant ensuring the variance remains positive;
- α measures the impact of recent shocks (the effect of the squared residuals);
- β represents the persistence of past volatility.
(!) It is important that α + β < 1 for the process to be stationary.
(!) The parameters ω, α, and β are assumed to be non-negative real numbers.
Here, σₜ₊₁ represents the forecasted volatility for the next period (t+1).
ADDITIONAL NOTES:
1. In the first bar, the future conditional variance σₜ₊₁² is defined as εₜ². This initialization is arbitrary and serves to start the recursive process. Alternative initialization methods may be used depending on the data.
2. The normality assumption εₜ ∼ N(0, σₜ²) facilitates statistical inference, though in practice the residuals might not follow a perfect normal distribution. Statistical tests and graphical analysis can be applied to assess normality and, if necessary, alternative distributions (such as Student's t or GED) may be employed.
3. The conditional mean μₜ is estimated using a weighted moving average (WMA) of the hl2 value (the average of the high and low), which acts as a proxy for the level of the series. In this setup, xₜ is set to hl2, and the model computes the conditional volatility for the next bar.
ADDITIONAL INDICATOR (MA):
An extra moving average (MA) calculated using GARCH(1,1) is plotted on the chart (its plot is optional and it can be changed in the indicator settings).
On-Chain Momentum | QuantumResearch QuantumResearch On-Chain Momentum Indicator
The On-Chain Momentum Indicator is a unique macro-market analysis tool that aggregates multiple on-chain signals to provide insights into Bitcoin’s fundamental market trends. By leveraging real-time on-chain metrics, this indicator helps traders and investors gauge market momentum, capital flows, and potential trend shifts. 🚀📊
⚠️ This script is manually updated to ensure that the latest on-chain data is accurately reflected. The underlying data is extracted from a Google Spreadsheet that tracks various on-chain indicators.
1. Data Sources & Methodology
This indicator consolidates four major on-chain categories, each derived from multiple fundamental Bitcoin metrics:
📌 On-Chain Activity
Miner Revenue Momentum
Exchange Inflow Momentum
📌 Market Profitability
Supply in Profit Momentum
MVRV Momentum
AVIV Momentum
STH-MVRV Momentum
📌 Spending Behavior
SOPR Momentum
Realized Profit/Loss Ratio Momentum
📌 Wealth Distribution
SLRV Ribbons Momentum
Data Extraction Process:
The raw on-chain data is processed and aggregated within a Google Spreadsheet, which applies momentum calculations to each metric.
The results are then manually updated in this script to ensure an accurate reflection of on-chain trends.
The script assigns a momentum value (+1 for bullish, -1 for bearish) based on pre-defined historical trend patterns.
2. How It Works
A. On-Chain Market Regimes
The script analyzes historical on-chain behavior to determine whether the market is in a bullish or bearish phase.
Each major transition is manually updated based on on-chain macro shifts.
Market phases are categorized based on miner revenue, exchange flows, profitability, spending behavior, and wealth distribution trends.
B. Trend Identification & Signal Generation
Bullish Trend: If on-chain momentum metrics confirm strong accumulation behavior, the indicator turns green (Long). ✅
Bearish Trend: If on-chain momentum suggests distribution or capitulation, the indicator turns red (Short). ❌
Neutral Phase: If on-chain activity is mixed or inconclusive, the indicator remains gray (No clear signal). ⚪
C. Manually Updated On-Chain Data Integration
Unlike standard automated indicators, this script requires periodic manual updates to incorporate the most recent on-chain data.
This ensures that the indicator remains aligned with the latest fundamental trends.
The historical momentum shifts are carefully mapped based on previous on-chain cycles.
3. Visual Representation
A. Color-Coded Momentum Signals
Green Bars: Strong positive on-chain momentum 🟢
Blue Bars: Weak or negative on-chain momentum 🔴
B. Time-Based Macro Shifts
Each major historical period is defined based on key on-chain shifts.
The script provides clear visual segmentation of past macro-regimes.
C. Trend-Based Alerts
Long Signal: When on-chain data turns strongly bullish.
Short Signal: When on-chain data turns bearish.
Alerts notify traders when a new macro cycle begins based on updated data. 🔔
4. Customization & Parameters
Color Modes: 8 different visualization styles for enhanced clarity.
Historical Market Phases: Adjustments are made based on historical on-chain macro trends.
Manual Updates: Data is updated in accordance with key on-chain developments.
5. Trading & Investing Applications
📊 Best Used For:
Long-Term Market Analysis – Helps investors identify Bitcoin market cycles.
Trend Confirmation – Serves as an additional confluence factor for technical setups.
Macro Risk Management – Provides a big-picture perspective on market structure.
⚠️ Disclaimer: While on-chain metrics provide valuable insights, no single indicator should be used in isolation. Traders and investors should combine this with other macroeconomic, technical, and fundamental analysis tools.
6. Final Thoughts
The On-Chain Momentum Indicator provides a clear, structured view of Bitcoin’s macroeconomic health.
By combining key on-chain metrics, traders can identify significant market transitions with improved clarity.
This script is manually updated to ensure it remains aligned with the latest on-chain trends.
While this tool is highly effective for macro analysis, it should be used as part of a comprehensive trading/investing strategy.
Market Trend Levels Detector [BigBeluga]Market Trend Levels Detector is an trend-following tool that utilizes moving average crossovers to identify key market trend levels. By detecting local highs and lows after EMA crossovers, the indicator helps traders track significant price zones and trend strength.
🔵 Key Features:
EMA Crossover-Based Trend Levels Detection:
Uses a fast and slow EMA to detect market flow shifts.
When the fast EMA crosses under the slow EMA, the indicator searches for the most recent local top and marks it with a label and horizontal level.
When the fast EMA crosses over the slow EMA, it searches for the most recent local low and marks it accordingly.
Dynamic Zone Levels:
Each detected high or low is plotted as a horizontal level, highlighting important price zones.
Traders can extend these levels to observe how price interacts with them over time.
If price crosses a level, its extension stops. Uncrossed levels continue expanding.
Gradient Trend Band Visualization:
The trend band is formed by shading the area between the two EMAs.
Color intensity varies based on volatility and trend strength.
Strong trends and high volatility areas appear with more intense colors, making trend shifts visually distinct.
🔵 Usage:
Trend Identification: Use EMA crossovers and trend bands to confirm bullish or bearish momentum.
Key Zone Mapping: Observe local high/low levels to track historical reaction points.
Breakout & Rejection Signals: Monitor price interactions with extended levels to assess potential breakouts or reversals.
Volatility Strength Analysis: Use color intensity in the trend band to gauge trend power and possible exhaustion points.
Scalping & Swing Trading: Ideal for both short-term scalping strategies and larger swing trade setups.
Market Trend Levels Detector is a must-have tool for traders looking to track market flow, key price levels, and trend momentum with dynamic visual cues. It provides a comprehensive approach to identifying high-probability trade setups using EMA-based flow detection and trend analysis.
100 Point Scaled EMA100 Point Scaled EMA is a distinctive indicator that standardizes trend analysis by normalizing price data. Here’s a breakdown of its technical features:
Normalized Exponential Moving Averages (EMAs):
Dual EMAs: Configurable lengths (typically 9 and 21) are applied to calculate EMAs.
Scaling Mechanism: The EMAs are normalized to a fixed 0–100 range using the highest and lowest prices over the last 100 bars, enabling consistent analysis regardless of market volatility.
Integrated Relative Strength Index (RSI):
A 14-period RSI is incorporated to provide additional momentum and overbought/oversold insights.
Dynamic Visual Cues:
Gradient Fills: Visual gradients highlight overbought and oversold regions, enhancing the readability of trend shifts.
Crossover Signals:
The script detects EMA crossovers with specific conditions—crossover events occurring below 25 and above 75—to mark potential trade setups.
This technical approach makes the 100 Point Scaled EMA a powerful tool for traders, offering a simple unique and standardized perspective on market trends.
Enhanced KLSE Banker Flow Oscillator# Enhanced KLSE Banker Flow Oscillator
## Description
The Enhanced KLSE Banker Flow Oscillator is a sophisticated technical analysis tool designed specifically for the Malaysian stock market (KLSE). This indicator analyzes price and volume relationships to identify potential smart money movements, providing early signals for market reversals and continuation patterns.
The oscillator measures the buying and selling pressure in the market with a focus on detecting institutional activity. By combining money flow calculations with volume filters and price action analysis, it helps traders identify high-probability trading opportunities with reduced noise.
## Key Features
- Dual-Timeframe Analysis: Combines long-term money flow trends with short-term momentum shifts for more accurate signals
- Adaptive Volume Filtering: Automatically adjusts volume thresholds based on recent market conditions
- Advanced Divergence Detection: Identifies potential trend reversals through price-flow divergences
- Early Signal Detection: Provides anticipatory signals before major price movements occur
- Multiple Signal Types: Offers both early alerts and strong confirmation signals with clear visual markers
- Volatility Adjustment: Adapts sensitivity based on current market volatility for more reliable signals
- Comprehensive Visual Feedback: Color-coded oscillator, signal markers, and optional text labels
- Customizable Display Options: Toggle momentum histogram, early signals, and zone fills
- Organized Settings Interface: Logically grouped parameters for easier configuration
## Indicator Components
1. Main Oscillator Line: The primary banker flow line that fluctuates above and below zero
2. Early Signal Line: Secondary indicator showing potential emerging signals
3. Momentum Histogram: Visual representation of flow momentum changes
4. Zone Fills: Color-coded background highlighting positive and negative zones
5. Signal Markers: Visual indicators for entry and exit points
6. Reference Lines: Key levels for strong and early signals
7. Signal Labels: Optional text annotations for significant signals
## Signal Types
1. Strong Buy Signal (Green Arrow): Major bullish signal with high probability of success
2. Strong Sell Signal (Red Arrow): Major bearish signal with high probability of success
3. Early Buy Signal (Blue Circle): First indication of potential bullish trend
4. Early Sell Signal (Red Circle): First indication of potential bearish trend
5. Bullish Divergence (Yellow Triangle Up): Price making lower lows while flow makes higher lows
6. Bearish Divergence (Yellow Triangle Down): Price making higher highs while flow makes lower highs
## Parameters Explained
### Core Settings
- MFI Base Length (14): Primary calculation period for money flow index
- Short-term Flow Length (5): Calculation period for early signals
- KLSE Sensitivity (1.8): Multiplier for flow calculations, higher = more sensitive
- Smoothing Length (5): Smoothing period for the main oscillator line
### Volume Filter Settings
- Volume Filter % (65): Minimum volume threshold as percentage of average
- Use Adaptive Volume Filter (true): Dynamically adjusts volume thresholds
### Signal Levels
- Strong Signal Level (15): Threshold for strong buy/sell signals
- Early Signal Level (10): Threshold for early buy/sell signals
- Early Signal Threshold (0.75): Sensitivity factor for early signals
### Advanced Settings
- Divergence Lookback (34): Period for checking price-flow divergences
- Show Signal Labels (true): Toggle text labels for signals
### Visual Settings
- Show Momentum Histogram (true): Toggle the momentum histogram display
- Show Early Signal (true): Toggle the early signal line display
- Show Zone Fills (true): Toggle background color fills
## How to Use This Indicator
### Installation
1. Add the indicator to your TradingView chart
2. Default settings are optimized for KLSE stocks
3. Customize parameters if needed for specific stocks
### Basic Interpretation
- Oscillator Above Zero: Bullish bias, buying pressure dominates
- Oscillator Below Zero: Bearish bias, selling pressure dominates
- Crossing Zero Line: Potential shift in market sentiment
- Extreme Readings: Possible overbought/oversold conditions
### Advanced Interpretation
- Divergences: Early warning of trend exhaustion
- Signal Confluences: Multiple signal types appearing together increase reliability
- Volume Confirmation: Signals with higher volume are more significant
- Momentum Alignment: Histogram should confirm direction of main oscillator
### Trading Strategies
#### Trend Following Strategy
1. Identify market trend direction
2. Wait for pullbacks shown by oscillator moving against trend
3. Enter when oscillator reverses back in trend direction with a Strong signal
4. Place stop loss below/above recent swing low/high
5. Take profit at previous resistance/support levels
#### Counter-Trend Strategy
1. Look for oscillator reaching extreme levels
2. Identify divergence between price and oscillator
3. Wait for oscillator to cross Early signal threshold
4. Enter position against prevailing trend
5. Use tight stop loss (1 ATR from entry)
6. Take profit at first resistance/support level
#### Breakout Confirmation Strategy
1. Identify stock consolidating in a range
2. Wait for price to break out of range
3. Confirm breakout with oscillator crossing zero line in breakout direction
4. Enter position in breakout direction
5. Place stop loss below/above the breakout level
6. Trail stop as price advances
### Signal Hierarchy and Reliability
From highest to lowest reliability:
1. Strong Buy/Sell signals with divergence and high volume
2. Strong Buy/Sell signals with high volume
3. Divergence signals followed by Early signals
4. Strong Buy/Sell signals with normal volume
5. Early Buy/Sell signals with high volume
6. Early Buy/Sell signals with normal volume
## Complete Trading Plan Example
### KLSE Market Trading System
#### Pre-Trading Preparation
1. Review overall market sentiment (bullish, bearish, or neutral)
2. Scan for stocks showing significant banker flow signals
3. Note key support/resistance levels for watchlist stocks
4. Prioritize trade candidates based on signal strength and volume
#### Entry Rules for Long Positions
1. Banker Flow Oscillator above zero line (positive flow environment)
2. One or more of the following signals present:
- Strong Buy signal (green arrow)
- Bullish Divergence signal (yellow triangle up)
- Early Buy signal (blue circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price above short-term moving average (e.g., 20 EMA)
- No immediate resistance within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Entry Rules for Short Positions
1. Banker Flow Oscillator below zero line (negative flow environment)
2. One or more of the following signals present:
- Strong Sell signal (red arrow)
- Bearish Divergence signal (yellow triangle down)
- Early Sell signal (red circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price below short-term moving average (e.g., 20 EMA)
- No immediate support within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Position Sizing Rules
1. Base risk per trade: 1% of trading capital
2. Position size calculation: Capital × Risk% ÷ Stop Loss Distance
3. Position size adjustments:
- Increase by 20% for Strong signals with above-average volume
- Decrease by 20% for Early signals without confirming price action
- Standard size for all other valid signals
#### Stop Loss Placement
1. For Long Positions:
- Place stop below the most recent swing low
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
2. For Short Positions:
- Place stop above the most recent swing high
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
#### Take Profit Strategy
1. First Target (33% of position):
- 1.5:1 reward-to-risk ratio
- Move stop to breakeven after reaching first target
2. Second Target (33% of position):
- 2.5:1 reward-to-risk ratio
- Trail stop at previous day's low/high
3. Final Target (34% of position):
- 4:1 reward-to-risk ratio or
- Exit when opposing signal appears (e.g., Strong Sell for long positions)
#### Trade Management Rules
1. After reaching first target:
- Move stop to breakeven
- Consider adding to position if new confirming signal appears
2. After reaching second target:
- Trail stop using banker flow signals
- Exit remaining position when:
- Oscillator crosses zero line in opposite direction
- Opposing signal appears
- Price closes below/above trailing stop level
3. Maximum holding period:
- 20 trading days for trend-following trades
- 10 trading days for counter-trend trades
- Re-evaluate if targets not reached within timeframe
#### Risk Management Safeguards
1. Maximum open positions: 5 trades
2. Maximum sector exposure: 40% of trading capital
3. Maximum daily drawdown limit: 3% of trading capital
4. Mandatory stop trading rules:
- After three consecutive losing trades
- After reaching 5% account drawdown
- Resume after two-day cooling period and strategy review
#### Performance Tracking
1. Track for each trade:
- Signal type that triggered entry
- Oscillator reading at entry and exit
- Volume relative to average
- Price action confirmation patterns
- Holding period
- Reward-to-risk achieved
2. Review performance metrics weekly:
- Win rate by signal type
- Average reward-to-risk ratio
- Profit factor
- Maximum drawdown
3. Adjust strategy parameters based on performance:
- Increase position size for highest performing signals
- Decrease or eliminate trades based on underperforming signals
## Advanced Usage Tips
1. Combine with Support/Resistance:
- Signals are more reliable when they occur at key support/resistance levels
- Look for banker flow divergence at major price levels
2. Multiple Timeframe Analysis:
- Use the oscillator on both daily and weekly timeframes
- Stronger signals when both timeframes align
- Enter on shorter timeframe when confirmed by longer timeframe
3. Sector Rotation Strategy:
- Compare banker flow across different sectors
- Rotate capital to sectors showing strongest positive flow
- Avoid sectors with persistent negative flow
4. Volatility Adjustments:
- During high volatility periods, wait for Strong signals only
- During low volatility periods, Early signals can be more actionable
5. Optimizing Parameters:
- For more volatile stocks: Increase Smoothing Length (6-8)
- For less volatile stocks: Decrease KLSE Sensitivity (1.2-1.5)
- For intraday trading: Reduce all length parameters by 30-50%
## Fine-Tuning for Different Markets
While optimized for KLSE, the indicator can be adapted for other markets:
1. For US Stocks:
- Reduce KLSE Sensitivity to 1.5
- Increase Volume Filter to 75%
- Adjust Strong Signal Level to 18
2. For Forex:
- Increase Smoothing Length to 8
- Reduce Early Signal Threshold to 0.6
- Focus more on divergence signals than crossovers
3. For Cryptocurrencies:
- Increase KLSE Sensitivity to 2.2
- Reduce Signal Levels (Strong: 12, Early: 8)
- Use higher Volume Filter (80%)
By thoroughly understanding and properly implementing the Enhanced KLSE Banker Flow Oscillator, traders can gain a significant edge in identifying institutional money flow and making more informed trading decisions, particularly in the Malaysian stock market.
+ Stochastic S/R ZonesHey, all. I have a new indicator here that displays zones on your price chart where the stochastic oscillator has moved out of overbought or oversold back into the range of the indicator that is bounded by those two levels.
I know there are many support and resistance indicators on TradingView already, at least a couple of which use the RSI in a similar way as I am using the stochastic here, but I still believe this is a fairly novel interpretation of the stochastic, and it is, in my opinion, a better oscillator than the RSI to be used in this way.
In addition to the zones being plotted on the chart, the indicator also, optionally, can color candles or plot shapes above candles when the 50 line is crossed, so if you want to use this as a simple momentum indicator without desire of having the below chart indicator taking up screen space, you're pretty much covered on the typical signals you might want from it (with the exception of %K / %D crosses, but there are alerts for that).
Visually, it is a simple, clean indicator. There are the zones, and then candle colors or shapes if you opt to add those. These zones are actually drawn from the candle preceding the cross over or cross under. Reason for that is often times the candle of the cross is fairly impulsive and exiting a consolidation. That period of consolidation is what is important to highlight, at least as far as I am concerned. The zones themselves extend until they are broken by a candle. A support zone stops at the candle that closes below its low. Vice versa for a resistance zone.
Usage is fairly simple. All the standard stochastic inputs are available for you to adjust to your heart's content. Additionally, you can choose either the %K or %D line to use as the source from which the zones are drawn, candles are colored, and shapes are plotted. Not sure if this will matter to most people, but I figured it should be made available.
This should be obvious, but I feel it must be said, just because an oscillator (any oscillator) has exited overbought or oversold does not mean that there must be a reversal (or in the case of a trend pullback, continuation). The oscillator can always simply immediately move back into overbought/sold. Just because a support box prints does not mean you should mortgage your house on a long trade. In strong trends, and depending on your oscillator settings, the indicator might draw a box then only a couple of candles later break it, continuing on with the trend. This of course is telling you something, and you would be wise to listen. As with all things trading, context is important.
Here are a few extra screens for you.
I really hope you all like this. It's been ages since I've created anything new, and despite its simplicity and the few lines of code that make it up, it took a lot of work, as I am a poor coder.
Enjoy,
Scott
6F Signals (With Labels)6F Signals (With Labels)
This TradingView indicator plots potential buy and sell signals.
Signals
- Buy signals: "Buy: " labels appear below the bar.
- Sell signals: "Sell: " labels appear above the bar.
Perfect for traders looking for straightforward, labeled entry and exit points directly on their price chart!
Average Daily Range ProjectionsCreates a trailing high and low projection based on the Average Daily Range.
Track the Session High and Low to determine the Daily Range.
Average the Daily Range by a fixed Period to create an Average Daily Range .
Track the Prior Daily Range .
Track the Current Daily Range .
Track the % of Range completion relative to the CDR & ADR(P).
From the Session Low, project an Average Daily Range High by adding the ADR.
From the Session High, project an Average Daily Range Low by subtracting the ADR.
When %R reaches 100% or greater, the ADR HI & LO will lock, showing the range break out or break down. As the Session High and Low create the Daily Range, observe the reaction of price as it reaches the limit of the expected daily range.
On strongly trending days, CDR is likely greater than PDR and ADR(P). Price can break away.
On ranging days, %R may fail to reach 100% and CDR may be lesser than PDR and ADR(P). Price can bounce around within the bounds of ADR HI & LO.
Market Snap Shot with Pine ScreenerMarket Snap Shot
The Market Snap Shot is a comprehensive technical analysis tool designed to track and display key price metrics across multiple timeframes, including daily, weekly, monthly, quarterly, and yearly data. This script provides a range of essential calculations for traders and investors, enabling them to assess price action, volatility, and market trends at a glance.
Features:
Daily Metrics: Includes the daily percentage change, closing range relative to the daily high/low.
Weekly Metrics: Tracks weekly open, close, range, and calculates week-to-date performance for a broader market view.
Monthly Metrics: Provides similar calculations for monthly price action, offering insights into monthly performance.
Quarter-to-Date (QTD): Displays performance for the current quarter, offering insights into quarterly price movements.
Year-to-Date (YTD): Calculates year-to-date price change, helping users track performance relative to the start of the year.
52-Week High/Low: Displays the current price's distance from the 52-week high and low, giving context to long-term price levels.
Usage:
Traders can use this screener to quickly assess the current market position and make informed decisions based on short-term and long-term trends.
Investors can leverage the 52-week and YTD metrics to gauge the overall strength of an asset in the market.
The tool is versatile for both active traders looking for real-time performance data and for those focusing on longer-term market trends.
Instructions:
This script displays multiple metrics such as percentage changes and range data for daily, weekly, monthly, quarterly, and yearly timeframes. It is designed to be used as a screener tool to assess price action and monitor performance across these key time periods.
Warning:
The "Market Snap Shot" does not provide buy or sell signals but rather serves as a performance tracking tool. Users are encouraged to use this data in conjunction with other technical and fundamental analysis tools.
23/35 SR Channels23/35 SR Channels Indicator
The 23/35 SR Channels Indicator is designed to automatically identify key algorithmic support and resistance zones during intraday trading by focusing on specific candle patterns at the 23rd and 35th minutes of each hour.
How It Works:
Key Candle Detection:
The indicator monitors the 23rd and 35th minute candles of every hour. At these moments, it uses the candle’s high and low (or a three‑candle range centered on those minutes) to define the boundaries of a support/resistance channel.
Channel Construction and Mitigation:
Once a channel is formed from a key candle, a rectangular box is drawn to represent the channel. If a new channel (from a later 23 or 35 minute candle) overlaps an existing channel of the same type, the older channel is automatically considered "mitigated" and is removed from the chart, ensuring that only the most recent (and typically more relevant) level is displayed.
Visual Enhancement:
The indicator can also color the 23 and 35 minute candles, making them easier to identify. The channels themselves extend to the right for a fixed number of bars, providing a visual area where price might interact with these important levels, or can be extended to the current bar/until mitigated.
Benefits for Traders:
Automated Level Detection:
By focusing on the 23rd and 35th minute candles, the indicator automatically captures key support/resistance zones without manual intervention.
Dynamic Channel Updates:
As new candles form, overlapping channels are replaced with newer ones, helping to keep the chart clear and focused on the most relevant levels.
Intraday Focus:
The targeted timing helps intraday traders quickly spot potential reversal or breakout areas, enhancing decision-making during fast-moving markets.
Trend Detector [victhoreb]Trend Detector is a streamlined indicator that uses the Pearson correlation coefficient between the average price and time to determine market trends. It measures how closely price movement follows the progression of time over a user-defined period, providing a clear gauge of trend direction on a scale from -1 to 1.
How It Works:
The indicator calculates the correlation between price and time. A positive correlation means that as time advances, the price generally rises—signaling an uptrend. Conversely, a negative correlation indicates that the price tends to fall over time, highlighting a downtrend.
With its simple yet effective approach, Trend Detector offers traders an immediate visual and quantitative insight into prevailing market trends.
Fair Value Gap FinderFunctionality
Detection of Fair Value Gaps:
A bullish Fair Value Gap (FVG Up) is identified when the low of two candles before the current bar (low ) is greater than the high of the current bar (high ).
A bearish Fair Value Gap (FVG Down) is identified when the high of two candles before the current bar (high ) is lower than the low of the current bar (low ).
Color Coding:
Bullish Fair Value Gaps are highlighted in green to indicate potential areas of support.
Bearish Fair Value Gaps are highlighted in red to indicate potential areas of resistance.
Visualization Using Rectangles:
If an FVG is detected, the script creates a rectangle spanning a fixed number of bars (right=bar_index+5) to visualize the price inefficiency.
The rectangle extends from the upper to the lower boundary of the gap and has a semi-transparent fill (bgcolor=color.new(color, 90)) for better readability.
Implementation Details
Variable Initialization: The script defines floating-point variables (fvgUpTop, fvgUpBottom, fvgDownTop, fvgDownBottom) to store the price levels of identified gaps.
Conditional Assignments: When an FVG is detected, the corresponding top and bottom boundaries are assigned to the respective variables.
Box Creation: The box.new function is used to draw a rectangle on the chart, marking the FVG zones for better visualization.
[TehThomas- Pro] - Liquidity SignalsOverview
This Pine Script indicator is designed to generate Buy and Sell signals based on liquidity sweeps and market structure shifts (MSS) or break of structure (BOS). The combination of liquidity sweeps and market structure changes provides a highly confluential signal that can be used to identify high-probability trade setups. This indicator is capable of working as a standalone tool or as part of a broader trading strategy.
Core Concepts
Liquidity Sweeps:
A liquidity sweep occurs when the price temporarily breaks a previous high or low, taking out stop losses or inducing breakout traders, only to reverse direction shortly after.
The indicator detects these liquidity sweeps at pivot points defined by a user-set pivotPeriod.
It plots Buyside Liquidity (resistance) or Sellside Liquidity (support) lines on the chart to indicate where liquidity pools are likely positioned.
Market Structure Shifts (MSS) and Break of Structure (BOS):
BOS: This occurs when the price closes above or below a previous swing high or low, indicating a potential shift in trend.
MSS: This is a more aggressive form of market structure change where the price action reverses after a liquidity sweep, signaling a potential reversal before a BOS confirmation.
The script tracks swing highs and swing lows using the pivot_strength setting to define how many bars are required on both sides of a pivot point.
Confluence of Signals:
The main signal is plotted when a Liquidity Sweep is followed by an MSS within a specified number of bars (25 by default).
This creates a high-probability trade signal because it combines both liquidity traps and market structure reversals.
Below, you can see the signals the indicator generates
There is one loss marked by the second circle.
Settings and Inputs
Liquidity Sweep Settings
pivotPeriod: Defines the left and right length of the pivot points to detect swing highs and lows.
maxLine: Maximum number of liquidity lines plotted on the chart.
resistanceColor & supportColor: Colors for Buyside and Sellside liquidity lines.
lineExtend: Number of bars to extend liquidity lines into the future.
hitAction: Determines what happens when liquidity lines are hit (dotted, dashed, or delete).
Market Structure Settings
show_mss: Toggle to display MSS signals on the chart.
show_bos: Toggle to display BOS signals on the chart.
Customizable line styles, colors, and labels for both MSS and BOS.
How to Use the Indicator
Signal Confirmation:
A Buy Signal is most effective when combined with a liquidity sweep of sellside liquidity followed by a bullish market structure shift.
A Sell Signal is most effective when combined with a liquidity sweep of buyside liquidity followed by a bearish market structure shift.
Always check confluence with other indicators such as moving averages or volume analysis.
Trade Management:
Place stop-loss orders below the liquidity sweep low for buys or above the liquidity sweep high for sells.
Use the previous swing high or low as a target or set custom risk-reward ratios.
Why This Indicator Works So Well
✅ Combines liquidity sweeps and market structure for highly accurate signals.
✅ Works across all timeframes and markets.
✅ Automatically plots support and resistance zones.
✅ Provides clear buy and sell signals with customizable alerts.
✅ Helps traders avoid false breakouts by waiting for market structure confirmation.
Conclusion
This indicator is a highly confluential trading tool that combines liquidity sweeps with market structure shifts to generate Buy and Sell signals. It provides a strong edge by confirming liquidity traps with market structure reversals. With customizable settings, it can be adapted to different timeframes and trading styles, making it suitable for both scalping and swing trading strategies.
By automating the detection of these advanced concepts, the indicator helps traders stay objective and disciplined in their decision-making process.
Whether you're a beginner or an advanced trader, this indicator will help you spot high-probability trade setups and improve your overall trading performance.
Disclaimer
This indicator is a powerful tool for identifying potential trading opportunities, but it is not a guarantee of future performance. Use this indicator at your own risk. Trading involves significant risk, and it is essential to have proper knowledge and experience before making any financial decisions. The signals provided by this indicator should be used as part of a comprehensive trading plan and combined with other forms of analysis. The creator is not responsible for any financial losses incurred while using this tool.
Special Candle SetupThe Special Candle Setup Indicator is designed to detect significant bearish and bullish candlestick patterns , helping traders identify potential trend shifts and key price action setups . This indicator recognizes 8 bearish patterns and 6 bullish patterns , derived from multi-candlestick formations observed across different markets, including crypto, indices, forex, and stocks.
How It Works
This indicator scans the market for specific candlestick structures that indicate potential reversals or trend continuations . It includes:
• Bearish Patterns (8 types) : Identifies candlestick structures that suggest potential downside movement.
• Bullish Patterns (6 types) : Detects formations indicating upward momentum.
• Reversal Signals : Additional patterns that highlight key turning points in price action.
• Key Level Marking : Automatically draws support and resistance levels based on detected setups.
• Expiry Signals (Optional) : Highlights patterns commonly seen on expiry days in the Indian market, but these patterns are universally applicable to other asset classes as well.
Key Features
✔ Comprehensive Candlestick Pattern Recognition – Detects 14 key bullish and bearish formations.
✔ Reversal & Trend Continuation Setups – Helps identify both potential reversals and momentum-based entries.
✔ Automated Key Level Marking – Plots dynamic blue lines for key support and resistance zones.
✔ Customizable Pattern Selection – Allows users to enable/disable specific pattern types.
✔ Non-Repainting Signals – Ensures stability by maintaining signal integrity over time.
Customization Options
• Enable/Disable Specific Patterns – Users can disable main patterns or reversal patterns based on their preference, allowing them to focus on a single type of setup if needed.
• Key Level Customization – The blue lines represent critical price levels, drawn automatically based on identified patterns. These act as reference points for potential breakouts or reversals.
• Optional Expiry Signals – Includes patterns commonly observed on expiry days, primarily for the Indian market, but they also appear in global markets like crypto, forex, and indices.
How to Use
• Trend Trading – Use bullish and bearish patterns to identify entry points within an existing trend.
• Reversal Trading – Focus on reversal signals near key levels for potential market turnarounds.
• Key Level Validation – Utilize the blue lines to confirm important price zones.
• Customization – Tailor the indicator to your strategy by selecting only the patterns that align with your trading style.
Why This Combination?
This indicator blends multiple candlestick formations, ensuring a well-rounded approach to market analysis. The integration of expiry signals, reversal structures, and key level plotting makes it adaptable for various asset classes, not just expiry-based trading.
Why It’s Worth Using?
Manually spotting multiple candlestick setups can be time-consuming and subjective. This indicator automates the process, providing structured insights into market movements with clearly defined signals and key level plotting, making it valuable for traders across different markets.
Marubozu and Strong Candle DetectorMarubozu and Strong Candle Detector - Indicator Description
This TradingView Pine Script indicator identifies powerful price action signals by detecting two key candle types that can signal strong market momentum:
What It Detects
1. Marubozu Candles: These are candles with little to no wicks, where the body makes up almost the entire candle. Marubozu means "bald head" or "shaved head" in Japanese, referring to the absence of shadows (wicks).
o Bullish Marubozu: A green/up candle with minimal wicks, showing buyers controlled the entire session
o Bearish Marubozu: A red/down candle with minimal wicks, showing sellers dominated the session
2. Strong Candles: These are candles that are significantly larger than the recent average, suggesting exceptional momentum.
o Strong Bullish: Large green/up candles showing powerful buying pressure
o Strong Bearish: Large red/down candles showing powerful selling pressure
Trading Significance
• Bullish Marubozu/Strong Bullish Candles: Often signal the beginning of bullish trends or strong continuation of existing uptrends. These can be excellent entry points for long positions.
• Bearish Marubozu/Strong Bearish Candles: Often indicate the start of bearish trends or powerful continuation of existing downtrends. These can be good entry points for short positions or exit points for long positions.
Key Features
• Customizable Parameters: Adjust sensitivity for body ratio threshold and size comparison
• Visual Indicators: Easy-to-spot markers appear on your charts
• Information Display: Shows key metrics about the current candle
• Alert System: Set notifications for when significant candles form
How To Use This Indicator
1. For Entry Signals:
o Look for bullish Marubozu/strong bullish candles at support levels or after pullbacks
o Look for bearish Marubozu/strong bearish candles at resistance levels or after rallies
2. For Exit Signals:
o Consider taking profits on long positions when bearish Marubozu/strong bearish candles appear
o Consider taking profits on short positions when bullish Marubozu/strong bullish candles appear
3. For Trend Confirmation:
o Multiple signals in the same direction strengthen the case for a trend
This indicator works best on larger timeframes (1H, 4H, Daily) where candle formations have more significance, but can be applied to any timeframe based on your trading style.
TrendinatorThis indicator uses a custom Cumulative Delta Volume (CDV) calculation to dynamically generate support and resistance levels on the chart. It calculates CDV by taking the difference between uptick and downtick volumes, then accumulates these differences over time. From the cumulative delta, the indicator computes a MACD-style line by applying fast and slow exponential moving averages, and further smooths this into a signal line. The difference between the MACD line and its signal line (the histogram) is used to detect key crossover events.
When the CDV MACD line crosses below the signal line, the indicator captures the high of that candle as the new resistance level. Conversely, when the CDV MACD line crosses above the signal line, it captures the low of that candle as the new support level. These levels are maintained until the next corresponding crossover occurs, allowing the indicator to adapt to changes in market sentiment. A dynamic mid line is then calculated as the average of the current support and resistance levels, serving as a central pivot for the market.
Important Notice:
The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data before applying them in live trading scenarios.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research before making any trading decisions.
Multi-Ticker RS vs SPYThis Pine Script, titled "Multi-Ticker RS vs SPY," is a clean and efficient indicator designed for TradingView, enabling traders to monitor the relative strength (RS) of up to 10 ticker symbols compared to the S&P 500 ETF (SPY) on a single chart. Ideal for options traders, such as those managing a $1,400 account, it provides a simple way to assess which stocks are outperforming or underperforming the broader market. As of February 26, 2025, the script supports any chart timeframe, such as 5-minute or daily intervals, and calculates RS based on a user-defined lookback period, defaulting to 1 bar for real-time insights.
Users can input ticker symbols via customizable settings, with defaults set to popular stocks like AAPL, TSLA, NVDA, GOOGL, AMZN, MSFT, FB, NFLX, INTC, and PYPL. The script fetches closing prices for each ticker and SPY, computes their percentage changes over the lookback period, and determines RS as the ratio of each ticker’s change to SPY’s change, handling division by zero gracefully. It displays each ticker’s current RS score in a vertical column of labels on the chart’s top-left corner, updated on the last bar to avoid clutter. Users can adjust label size (tiny, small, normal, large) and text color for visibility, ensuring a tailored, error-free experience for quick market analysis.
Slark Signal XtremeStrategy Description: Slark Signal Xtreme
The Slark Signal Xtreme is an innovative trading strategy designed to identify and capitalize on market opportunities by leveraging pivots, trend breakouts, and dynamic risk management. This strategy combines day-of-week and time filters with a ticks-based Stop Loss (SL) and Take Profit (TP) system, delivering customized signals and real-time alerts. Ideal for traders seeking a structured and highly customizable approach, Slark Signal Xtreme also incorporates advanced visual tools for efficient trade management.
Key Features:
Pivot- and Breakout-Based Signals: Utilizes pivot detection (highs/lows) combined with an ATR-based slope calculation to pinpoint trend changes and potential entry or exit points.
Dynamic Stop-Loss (SL) and Take-Profit (TP) Levels: Automatically calculates SL and TP based on the entry price and user-defined tick settings, adapting to volatility and optimizing risk management.
Time and Day Filters: Allows you to select specific days of the week and trading sessions during which signals are generated, avoiding low-liquidity periods or unwanted high volatility.
Customizable Risk Management: Lets you define the number of ticks for SL and TP, trading hours, initial capital, pyramiding, and commissions, tailoring the strategy to various risk profiles and assets.
Enhanced Visualization:
- SL and TP Boxes: Displays rectangular boxes on the chart indicating SL and TP levels, streamlining trade management.
- Candle Color Changes: Candles can be colored according to price position relative to pivot lines (bullish, bearish, or neutral).
- Session Highlight: Shades the chart background during the selected trading hours, providing immediate context on when the strategy is active.
Automated Alerts: Generates customizable alerts in TradingView whenever a buy or sell signal is triggered, detailing the timing, instrument, and SL/TP levels.
How the Strategy Works:
Technical Indicator Calculations:
- Pivot High/Low and Slope: Identifies price pivot points and calculates slope (based on ATR) to measure trend strength.
- Time and Day Filters: Signals only trigger within the specified days and hours, helping avoid undesirable market conditions.
Generating Buy and Sell Signals:
- Buy Signal (Long): Activated when price breaks above a downward pivot-based trendline or meets the condition for higher pivots.
- Sell Signal (Short): Activated when price breaks below an upward pivot-based trendline or meets the condition for lower pivots.
- Operation Conditions: Signals are only generated on selected days and during chosen trading hours, avoiding periods of low liquidity or excessive volatility.
Dynamic SL and TP Calculation:
- Stop-Loss (SL) and Take-Profit (TP): Determined by the entry price ± a user-defined number of ticks.
- SL and TP Visualization: Boxes are drawn on the chart from the entry price to SL/TP levels, enabling clear visual reference for trade management.
Order Execution and Alerts:
- Order Execution: When a signal is generated, Slark Signal Xtreme automatically opens a long or short position in TradingView’s backtesting environment.
- Alerts: Customizable alerts can be set up to provide real-time notifications (via TradingView or third-party integrations), offering essential details like instrument, time, SL/TP, etc.
Trade Management and Monitoring:
- Automatic Closure: Each trade is automatically closed upon reaching its SL or TP, ensuring disciplined risk control.
- Trade Summary: TradingView’s built-in reporting tools list all trades with cumulative results, simplifying performance evaluation.
Additional Visualization:
- Candle Coloring by Trend: Candles can be colored bullish, bearish, or neutral based on the pivot-driven trend detection.
- Operational Range Highlighting: The chart background is shaded during the permitted trading hours, clarifying when the strategy is active and enhancing visibility.
---
Strategy Properties (Important)
This backtest was conducted in TradingView under the following configuration:
Initial Capital: 1000 USD
Order Size: 10,000 contracts (adjust according to the traded asset)
Commission: 0.05 USD per order
Slippage: 1 tick
Pyramiding: 1 order
Price Verification for Limit Orders: 0 ticks
Recalculate on Every Tick & On Bar Close: Enabled
Bar Magnifier for Backtesting Precision: Enabled
These properties provide a realistic view of the strategy’s performance. However, default parameters may vary depending on each user or market:
Order Size: Should be calculated according to the asset traded and your desired risk level.
Commission and Slippage: Costs can vary by market and instrument; there is no universal default that guarantees realistic results.
All users are strongly recommended to adjust these properties within the script settings to match their own trading accounts and platforms, ensuring the most accurate backtest results.
---
Backtesting Results:
- Net Profit: +28.70
- Total Trades: 397
- Winning Trades: 138
- Win Rate: 34.76%
- Profit Factor: 1.07
- Sharpe Ratio: 1.25
- Sortino Ratio: 1.45
- Average Bars per Trade: 24
- Average Profit per Trade: 1.45
These numbers provide an overview of the strategy’s historical performance, demonstrating its potential for profitability given appropriate risk management.
---
Interpretation of Results:
- The strategy can be profitable despite a relatively modest win rate, thanks to a suitable risk-reward ratio.
- A profit factor of 1.07 indicates that total profits slightly exceed total losses.
- It is essential to monitor drawdown and ensure it aligns with your personal risk tolerance.
---
Risk Warning:
Trading leveraged financial instruments carries a high level of risk and may not be suitable for all investors. Before trading, carefully consider your investment objectives, experience level, and risk tolerance. Past performance does not guarantee future results. Always perform additional testing and adjust the strategy to your specific needs.
---
What Makes This Strategy Original?
Focus on Pivots and Time/Day Filters: Rather than purely relying on momentum indicators, Slark Signal Xtreme uses pivot-based signals and scheduling filters to capture higher-liquidity, directional market moves.
Dynamic Risk Management: Ticks-based SL/TP and customizable trading sessions enable precise adaptation to various markets and trading styles.
Advanced Visualization Tools: SL/TP boxes, candle coloring, and session highlights streamline market interpretation and facilitate real-time decision-making.
Seamless Alert Integration: Although native TradingView alerts are provided, it can be integrated with third-party messaging services (Telegram, Discord, etc.) for enhanced automation.
---
Additional Considerations
Continuous Testing and Optimization: Regularly backtest and fine-tune parameters (SL, TP, time filters, etc.) to accommodate changing market conditions.
Complementary Analysis: Combine this strategy with other technical or fundamental tools to confirm signals.
Rigorous Risk Management: Ensure SL/TP levels and position sizes conform to your overall risk management plan.
Updates and Support: Future updates and improvements may be released based on community feedback. For questions or suggestions, feel free to reach out.
---
Example Configuration
Assume you want to run Slark Signal Xtreme with these settings:
Trading Days: Monday to Friday
Trading Hours: 8:00 to 11:00 (exchange or broker time)
Stop Loss (SL) in Ticks: 100
Take Profit (TP) in Ticks: 300
SL/TP Box Extension: 20 bars
Initial Capital: 1000 USD
Risk per Trade: 1% of capital
Commissions & Slippage: 0.05 USD commission, 1 tick slippage
---
Conclusion
The Slark Signal Xtreme strategy delivers a robust and adaptable solution by merging pivots, time/day filters, flexible risk parameters, and advanced visualization. Its distinctive and customizable design makes it a powerful resource for traders aiming to diversify their methods and exploit trend breakouts under specific conditions. Fully compatible with TradingView, Slark Signal Xtreme can enhance your trading toolkit and foster a more systematic approach to your operations.
---
Final Disclaimer:
Financial markets are inherently volatile and pose significant risks. This strategy should be employed as part of a comprehensive trading plan and does not guarantee positive outcomes. Always consult a qualified financial advisor before making investment decisions. The use of Slark Signal Xtreme is solely at the user’s discretion, who must evaluate personal risk tolerance and financial objectives.
Anchored Powered KAMA [LuxAlgo]The Anchored Powered KAMA tool is a new flavor of the famous Kaufman's Adaptive Moving Average (KAMA).
It adds 5 different anchoring periods, a power exponent to the original KAMA calculation to increase the degree of filtering during ranging trends, and standard deviation bands calculated against the KAMA itself.
🔶 USAGE
In the image above we can see the different parts of the tool, it displays the Anchored Powered KAMA surrounded by standard deviation bands at 2x (solid) and 1x (dashed) by default.
This tool provides a simple and easy way to determine if the current market is ranging or trending and where the market extremes are in the current period.
As a rule of thumb, traders may want to trade extremes in ranges and pullbacks in trends.
When the KAMA is flat, a range is in place, so traders may want to wait for the price to reach an extreme before opening a trade in the other direction.
Conversely, if the KAMA is moving up or down, a trend is in place and traders may want to wait for the price to pull back to the KAMA before opening a trade in the direction of the trend.
🔹 Anchor Period
On the above chart, we can see different anchor periods on different chart timeframes.
This option is very useful for those traders who use multi-timeframe analysis, allowing them to see how the market behaves over different timeframes.
The valid values for this parameter are:
Hourly
Daily
Weekly
Monthly
Yearly
The tool has a built-in Auto feature for traders convenience, it automatically selects the optimal Anchor Period in function of the chart timeframe.
timeframes up to 2m: Hourly
timeframes up to 15m: Daily
timeframes up to 1H: Weekly
timeframes up to 4H: Monthly
larger timeframes: Yearly
🔹 Choosing the Right Anchor Period
In the chart above we can see the custom error message that the tool displays when the Auto feature is disabled and the Anchor Period is too large for the current chart timeframe.
Traders can select a smaller Anchor Period or a larger chart timeframe for the tool to display correctly.
🔶 DETAILS
The tool uses Welford's algorithm to calculate the KAMA's standard deviation, then plots the outer bands at the multiplier specified in the settings panel, and the inner bands at the multiplier specified minus 1.
🔹 Power Exponent
The graph above shows how different values of this parameter can affect the output.
To display the original KAMA a value of 1 must be set, by default this parameter is set to 2.
The higher the value, the better the tool's ability to detect ranges.
🔶 SETTINGS
Anchor Period: Select up to 5 different time periods from Hourly, Daily, Weekly, Monthly, and Yearly.
Source: Choose the source for all calculations.
Power Exponent: Fine-tune the KAMA calculation, a value of 1 will output the original KAMA, and is set to 2 by default.
Band Multiplier: Select the multiplier for the standard deviation bands.
Shavarie's MCV IndicatorShavarie's MCV Indicator (MACD + CCI + Volume Delta) is a custom-built trend-following and volume-based indicator that helps traders confirm market direction with high accuracy. It combines the MACD (Moving Average Convergence Divergence), CCI (Commodity Channel Index), and Volume Delta, ensuring that all three indicators align before making a trading decision. The goal is to filter out false signals and provide high-probability trade setups.
History & Development
Shavarie's MCV Indicator was developed by Shavarie Gordon, an experienced swing trader, to improve trend confirmation on Gold (XAUUSD) and other markets. After testing various indicators, Shavarie discovered that MACD, CCI, and Volume Delta together provide the best combination of trend strength, momentum, and real-time volume flow. This indicator was designed to eliminate lagging signals, improve win rates, and enhance market timing for both swing and scalping strategies.
How It Works & Calculations
MACD (Moving Average Convergence Divergence)
Measures momentum and trend strength using the difference between a 12-period EMA and a 26-period EMA.
The MACD line and Signal line crossover confirms buy/sell signals.
A rising MACD histogram confirms bullish strength, while a falling histogram confirms bearish strength.
CCI (Commodity Channel Index)
Measures how far the price is from its statistical average.
Above +100 → Overbought (strong trend continuation or reversal).
Below -100 → Oversold (strong trend continuation or reversal).
When CCI aligns with MACD, it confirms momentum strength.
Volume Delta
Measures the difference between buying and selling volume in real time.
A positive delta means more aggressive buying (bullish).
A negative delta means more aggressive selling (bearish).
Helps confirm MACD and CCI trends by showing real volume strength.
Key Takeaways & Features
✅ No false signals: All three indicators must align before entering a trade.
✅ Trend confirmation: Ensures momentum and volume agree before trading.
✅ Works on multiple timeframes: Designed for swing trading on the daily and scalping on 45 min + 5 min.
✅ Great for Gold & Metals: Optimized for XAUUSD, XAUJPY, XAU/AUD, and possibly Palladium (XPDUSD).
✅ Custom-built by a professional trader: Developed by Shavarie Gordon after extensive testing.
Summary
Shavarie’s MCV Indicator is a powerful and reliable trading tool that combines momentum, trend, and volume analysis. By ensuring that MACD, CCI, and Volume Delta align, it eliminates false signals and increases trade accuracy. Whether used for swing trading or scalping, this indicator helps traders enter high-probability trades with confidence.
RSI Targeted Pivots"Targeted RSI Pivots" is an innovative indicator designed to assist traders in identifying potential price targets based on user-defined RSI levels. Unlike traditional RSI indicators, this script calculates and projects pivot levels (L3, L2, L1, P, S1, S2, S3) using a unique algorithm that integrates RSI data from a selectable timeframe. Traders can customize RSI targets, toggle individual levels, and adjust visual settings to suit their analysis needs—all overlaid directly on the price chart for seamless integration into their workflow.
This script stands out by offering a novel approach to RSI-based analysis, combining multi-timeframe RSI calculations with dynamic price projections. It empowers traders with actionable insights into potential support and resistance zones, enhancing decision-making in various market conditions.
The source code is kept closed to protect the proprietary methodology behind the pivot calculations and to safeguard the intellectual property developed through extensive research and testing. By publishing it as a protected script in the Public Library, I aim to share this valuable tool with the TradingView community while preserving the uniqueness of its design. This ensures that traders can benefit from its functionality without compromising the innovative logic that drives it.