Zero Lag MTF Moving Average by CoffeeshopCryptoBased on Moving Average Types supplied by @TradingView www.tradingview.com
Ideas and code enhanced to show higher timeframe by @CoffeeShopCrypto
It’s time to take the guesswork out of moving averages and multiple timeframes when day trading. Moving averages are a cornerstone of many trading strategies, often viewed as dynamic support and resistance levels. Traders rely on these levels to anticipate price reactions, whether it’s a bounce in a trending market or a reversal in a ranging one. Additionally, the direction and alignment of multi timeframe moving averages—whether they’re moving in the same direction or diverging—provide critical clues about market momentum and potential reversals. However, the traditional higher timeframe moving average indicators force traders to wait for higher timeframe candles to close, creating lag and missed opportunities.
The Old Way
For example: If you are on a 5 minute chart and you want to observe the location and direction of a 30 minute chart Moving Average, you'll need to wait for a total of 6 candles to close, and again every 6 candles after that. This only creates more lag.
The New Way
Now there is no waiting for high timeframe session candles to close. No matter what timeframe Moving Average you want to know about, this indicator will show you its location on your current chart at any time in real time.
For those who prefer Bollinger Bands, this indicator adds a whole new dimension to your strategy. Traders often wait for price action to break outside the lower time frame Bollinger bands before considering a trade, while still seeking key support or resistance levels beyond them. But if you don't know the position of your higher time frame Bollinger, you could be trading into a trap. With Zero Lag Multi Timeframe Moving Average, you can view both your current and higher timeframe Bollinger Bands simultaneously with zero waiting. This lets you instantly see when price action is traveling between the bands of either timeframe or breaking through both—indicating a strong trend in that direction. Additionally, when both sets of Bollinger Bands overlap at the same price levels, it highlights areas of strong consolidation and ranging conditions, giving you a clear picture of market dynamics. This is a key element in price action that tells you there is currently no direction to the market and both the current and higher time frames are flat.
Enter Zero Lag Multi Timeframe Moving Average—the ultimate tool for real-time higher timeframe moving averages and Bollinger Bands. This innovative indicator eliminates the delay, delivering instant, precise values for higher timeframe averages and bands, even on open candles. Seamlessly combining current and higher timeframe data, it allows traders to identify key moments where moving averages or Bollinger Bands align or diverge, signaling market conditions. Whether you’re gauging the strength of a trend, pinpointing potential reversals, or identifying consolidation zones, Zero Lag Multi Timeframe Moving Average gives you the clarity needed to make better trading decisions according to market conditions.
Why is this "Mashup" of moving averages different and important?
Honestly its really about the calculation thats imported through the "import library" function.
Heres what it does:
The ZLMTF-MA is designed to help traders easily see where higher timeframe moving averages and Bollinger Bands are—without needing to switch chart timeframes or wait for those larger candles to close. It works by adjusting common moving average types like SMA, EMA, and VWMA to show what they would look like if they were based on a higher timeframe, right on your current chart. This helps users stay focused on their main timeframe while still having a clear view of the bigger picture, making it easier to spot trend direction, key support and resistance levels, and overall market structure. The goal is to keep things simple, fast, and more visually informative for everyday traders.
Bollinger Bands
When working with Bollinger Bands, a common strategy is to take the trades once price action has escaped through the top or bottom of your current Bollinger Band.
A false breakout occurs when both Bollinger Bands are not moving in the same direction as eachother or when they are overlapping.
Moving Averages as Support and Resistance:
Traders who use Moving Averages as support or resistance, looking for rejections or failures of these areas can now see multiple timeframe price action instantly and simultaneously.
Trading Setup Examples:
Price Action Scenario 1:
Higher Timeframe Ranging-
When price action breaks through a current moving average headed toward a higher timeframe moving average, trades are taken with caution if the moving averages are converging.
Price Action Scenario 2:
Strong Trending Market -
If the moving averages are in the same direction, and your price action is now leading the low timeframe moving average, you have re-entered a strong trend.
Price Action Scenario 3:
High Timeframe Rejections -
If you have a rejection of a higher timeframe moving average, and your both averages are still diverging, this is the end of a pullback as you re-enter a strong trend in the original direction
Price Action Scenario 4:
Trend Reversals -
If you close beyond both the low and high timeframe moving averages, you can consider that price action is strong enough to change direction here and you should prepare for trade setups in the opposite direction of the previous.
HTF MA Label Information:
Even if your high timeframe moving average is turned off, you can still see this label.
It gives you a quick reminder of what high timeframe settings you have used to see MA values.
Indicatori e strategie
Alerts for Dynamic Linear Regression ChannelsThis is a modification/New-feature of the original indicator by iravan. I have added alerts feature to his script.
Liquidity DetectorLiquidity Detector – Bullish & Bearish Engulfing Zones
This script dynamically detects liquidity zones based on bullish and bearish engulfing candle formations, filtered by trend direction using SMA-based logic. Ideal for traders seeking to identify institutional order flow, trap zones, and potential reversal points.
Features:
✅ Detects Bearish Engulfing Patterns in uptrends as bearish liquidity zones.
✅ Detects Bullish Engulfing Patterns in downtrends as bullish liquidity zones.
✅ Adaptive trend filter using:
SMA50
SMA50 & SMA200
Or no trend filter
✅ Dynamic background shading for immediate visual zone recognition.
✅ Clean, optimized candle structure logic with precise shadow/body analysis.
✅ Alerts for both bullish and bearish liquidity events.
Use Case:
Spot liquidity traps where retail traders get caught and institutional players enter positions.
Identify reversal points, fakeouts, and breakdown zones on key timeframes.
Blend it with supply/demand or volume profile for institutional-grade confluence.
SMPivot Gaussian Trend Strategy [Js.K]This open-source strategy combines a Gaussian-weighted moving average with “Smart Money” swing-pivot breaks (BoS = Break-of-Structure) to capture trend continuations and early reversals. It is intended for educational and research purposes only and must not be interpreted as financial advice.
How the logic works
-------------------
1. Gaussian Moving Average (GMA)
• A custom Gaussian kernel (length = 30 by default) smooths price while preserving turning points.
• A second pass (“Smoothed GMA”) further filters noise; only its direction is used for bias.
2. Swing-Pivot detection
• High/Low pivots are found with a symmetric look-back/forward window (Pivot Length = 20).
• The most recent confirmed pivot creates a dynamic structure level (UpdatedHigh / UpdatedLow).
3. Entry rules
Long
• Price closes above the most recent pivot high **and** above Smoothed GMA.
Short
• Price closes below the most recent pivot low **and** below Smoothed GMA.
4. Exit rules
• Fixed stop-loss and take-profit in percent of current price (user-defined).
• Separate parameters and on/off switches for longs and shorts.
5. Visuals
• GMA (dots) and Smoothed GMA (line).
• Structure break lines plus “BoS PH/PL” labels at the midpoint between pivot and break.
Inputs
------
Gaussian
• Gaussian Length (default 30) – smoothing window.
• Gaussian Scatterplot – toggle GMA dots.
Smart-Money Pivot
• Pivot Length (default 20).
• Bull / Bear colors.
Risk settings
• Long / Short enable.
• Individual SL % and TP % (default 1 % SL, 30 % TP).
• Strategy uses percent-of-equity sizing; initial capital defaults to 10 000 USD.
Adjust these to reflect your own account size, realistic commission and slippage.
Best practice & compliance notes
--------------------------------
• Test on a data sample that yields ≥ 100 trades to obtain statistically relevant results.
• Keep risk per trade below 5–10 % of equity; the default values comply with this guideline.
• Explain any custom settings you publish that differ from the defaults.
• Do **not** remove the code header or licence notice (MPL-2.0).
• Include realistic commission and slippage in your back-test before publishing.
• The script does **not** repaint; orders are processed on bar close.
Usage
-----
1. Add the script to any symbol / timeframe; intraday and swing timeframes both work—adjust lengths accordingly.
2. Configure SL/TP and position size to match your personal risk management.
3. Run “List of trades” and the performance summary to evaluate expectancy; forward-test before live use.
Disclaimer
----------
Trading involves substantial risk. Past performance based on back-testing is not necessarily indicative of future results. The author is **not** responsible for any financial losses arising from the use of this script.
Relative Directional Volume Indicator# Relative Directional Volume Indicator (RelDirVol)
## Overview
The Relative Directional Volume Indicator (RelDirVol) is a powerful volume analysis tool that measures current trading volume relative to historical volume while differentiating between bullish and bearish volume flows. This indicator helps traders identify unusual volume activity and determine whether it's coming from buyers or sellers, providing deeper insights into market participation and potential trend strength.
## Features
- **Relative Volume Calculation**: Compares current volume to historical averages
- **Directional Volume Analysis**: Separates and visualizes bullish vs bearish volume
- **Multiple Moving Average Options**: Customize smoothing with various MA types (SMA, EMA, WMA, HMA, VWMA)
- **Split Moving Averages**: View distinct moving averages for bullish and bearish volume flows
- **Reference Lines**: Visual guides for normal volume (1.0x) and key deviation levels (0.5x, 2.0x, 3.0x)
- **Customizable Colors**: Adjust visual appearance for improved chart readability
## How It Works
The indicator calculates the relative volume by dividing the current bar's volume by the average volume over a specified lookback period. It then categorizes this volume as either bullish (when price closes above the open) or bearish (when price closes below or equal to the open).
1. **Relative Volume**: Current volume ÷ Average volume from previous N bars
2. **Directional Classification**: Assigns volume to bullish or bearish categories based on price action
3. **Moving Averages**: Applies user-selected moving average to smooth the data
The result is displayed as color-coded histogram bars showing the relative volume magnitude, with optional moving average lines for both overall and direction-specific volume trends.
## Interpretation
### Volume Magnitude
- **Above 1.0**: Higher than average volume (more participation than normal)
- **Below 1.0**: Lower than average volume (less participation than normal)
- **2.0+**: Volume twice the normal level (significant participation)
- **3.0+**: Volume three times normal (exceptional participation, often at key events)
### Directional Analysis
- **Strong Green Bars**: Heavy bullish participation driving prices up
- **Strong Red Bars**: Heavy bearish participation driving prices down
- **Bullish MA > Bearish MA**: Overall buying pressure dominating
- **Bearish MA > Bullish MA**: Overall selling pressure dominating
### Key Signals
- **Volume Spikes with Price Breakouts**: Confirms strength of the move
- **Divergence Between MAs**: Early warning of potential shift in market control
- **Sustained Above-Average Volume**: Strong trend continuation likely
- **Volume Decline After Spike**: Potential exhaustion of trend
## Settings
- **Relative Volume Lookback**: Comparison period for average volume (default: 20)
- **Moving Average Type**: Method used for smoothing (default: SMA)
- **Moving Average Length**: Smoothing period (default: 5)
- **Show Moving Average**: Toggle overall volume MA visibility
- **Show Baseline**: Toggle 1.0 reference line visibility
- **Show Bullish/Bearish MAs**: Toggle direction-specific MA visibility
## Best Practices
This indicator performs best when combined with price action analysis and other indicators. Look for:
1. Volume confirmation of breakouts and trend changes
2. Divergence between price movement and volume direction
3. Shifts in the relationship between bullish and bearish MAs
4. Unusual volume patterns during consolidation phases
Particularly effective for swing trading, day trading, and identifying institutional participation in market moves across multiple timeframes.
Q KAMA Clarity Trend Q KAMA Clarity Trend
A minimalistic yet versatile trend-following tool that combines **Kaufman’s Adaptive Moving Average (KAMA) with Gaussian smoothing and ATR-based breakout logic. Built for traders who value clarity, responsiveness, and visual simplicity.
🔧 Core Features
1. Adaptive KAMA Trend Line
• Dynamically adjusts to market volatility using Kaufman’s KAMA.
• Gaussian filter pre-smooths price to reduce noise before calculating KAMA.
2. Dual Trend Logic (toggle)
• Default: Trend shifts on price breakouts above/below KAMA ± ATR channel.
• Alternative: Faster signals based on price crossing KAMA directly.
3. Visual Feedback
• Auto-colored KAMA line based on trend direction (up/down/neutral).
• Arrows on trend reversals (up = green, down = red).
• Optional shadow fill below line for regime clarity.
• Optional dot marker ("⦿") on the KAMA line to show trend shifts.
4. Alerts
• Real-time alerts when a new uptrend or downtrend begins.
• Compatible with manual or automated strategies.
⚙️ Configurable Inputs
• Source: Price input (default: close)
• KAMA Length: Adjusts sensitivity (longer = smoother)
• ATR Length & Multiplier: Defines channel width for breakout detection
• Gaussian Filter (Length & Sigma): Controls smoothing strength
• Trend Logic Mode: ATR channel breakout vs. price-KAMA cross
• Style: Custom colors, background fill, marker visibility
📈 How to Use
• Follow trend arrows for directional confirmation
• Use ATR breakout mode for cleaner, filtered signals
• Switch to price-KAMA crossover mode for earlier entries
• Works well with structure, momentum, and volume confirmation
Wyckoff BOS/CHoCH + Entry Zone + Entry Signal123qq sdfg sfdgsfdg sfdg dfsg sdfgsdfgdfsgsdf gdfsg sdfgfsdgdfsg dfsg dfsgdfsgdsfg dsfgdfsg dfsgdfs
Sonarlab Order Blocks + EMAUse it in 1 Hour timeframe.. but make sure to combine other indicators to filter out fake signals....
CFD & Warrant Position & RR Calculator (Simple & Clean)This tool helps you calculate your position size and risk/reward ratio quickly and easily.
Simply fill in your:
Account balance
Risk % or fixed risk in currency
Stop Loss % (distance from entry to stop loss)
Target % (distance from entry to target)
Leverage
The panel will instantly calculate and display:
Position size (how much to buy for)
Stop Loss % and Target %
Risk amount (in your currency)
Risk/Reward ratio (RR)
The design is simple and minimalistic with customizable background and text color for easy readability during live trading.
Ideal for scalpers, intraday and swing traders who want a fast and easy way to plan their trades and follow proper risk management.
No complicated graphical interface or lines, just clean numbers and focus.
TTM Scalper AlertTTM Scalper Alert — Real-Time Pivot Detector
Description:
This is a custom implementation of the classic TTM Scalper Alert, adapted to show early pivot detection and trend structure tracking in real-time. The script identifies potential highs and lows before the full pivot confirmation—giving traders an early edge—and removes outdated signals once pivots are confirmed.
It supports two levels of detection:
Fast Alert Pivots : Identified after Alert Period candles confirm a local reversal.
Confirmed Pivots : Validated only after Pivot Period candles on both sides ensure a true swing high/low.
How It Works:
Fast Detection (Early Pivots):
Detected after Alert Period (AP) candles. These are provisional signals, shown as triangle labels (▲▼) near current price. Only the latest signal is shown; previous fast pivots are deleted to avoid clutter.
Confirmed Pivots:
Detected with a full lookback of Pivot Period (PP) on both sides of the candle. Shown using plotshape with triangle markers (▲▼). Serve as anchors for price structure analysis (HH-HL or LL-LH tracking).
Custom Source Option:
Users can choose to base pivots on High/Low or Close/Open range. Helps adjust sensitivity depending on volatility or bar structure.
How to Interpret:
Trend & Market Structure:
Use Confirmed Pivots (plotshapes) to analyze market structure:
HH → HL: Uptrend
LL → LH: Downtrend
Watch for breaks in structure for possible reversals
Early Alerts:
The floating labels (▲▼) represent early warnings of a potential pivot. Use them to anticipate:
Short-term exhaustion
Quick scalping entries
Divergence setups
Inputs:
Source : Choose from High/Low or Close/Open — affects how pivots are calculated
Alert Period : How fast the script detects an early reversal pattern (used for entry timing)
Pivot Period : How many candles before/after to confirm a full pivot (used for structural analysis)
Best For:
Traders who follow price action and structure
Scalpers and intraday traders who want early signals
Anyone using pivot highs/lows for confluence with other tools (like RSI divergence, Bollinger Bands, VWAP, etc.)
Pro Tips:
Combine this with:
Trend Magic or Supertrend for directional bias
Volume spike filters to confirm reversal intent
RSI/CCI divergence to strengthen reversal pivots
Adjust Alert Period to tune early signal sensitivity (lower = faster but noisier)
Pullback Setup HelperThe Pullback Setup Helper is a visual tool designed to assist traders in identifying high-probability pullback entry zones in both bullish and bearish trends. It dynamically calculates support and resistance pullback areas using a combination of recent price extremes and ATR-based volatility measures.
The indicator plots two main zones: one for potential long setups beneath recent highs, and another for short setups above recent lows. These zones are derived from configurable multipliers of the ATR to define depth and width, with an additional buffer to allow for slight overshoots or market noise.
Signals are generated when price enters a pullback zone and closes in the direction of the trend, using a relaxed condition (close > previous close for longs, close < previous close for shorts) to increase signal frequency. Entry signals appear as triangles on the chart, with optional alerts available for both long and short scenarios.
This tool is best used as a contextual guide to support trend-continuation trades, particularly when combined with additional confirmation from momentum or volume indicators.
Aletheia + Micro DotsUsed a combination of open-source indicators and combined them into one indicator for efficiency.
VMA
BB
Micro Dots
Top Reversal Candle
Bottom Reversal Candle
MA Crossover Volume Long Strategy✅ Strategy Logic:
This strategy is designed for long-only short-term trades and works across multiple timeframes. It uses a combination of price moving average crossover and volume moving average confirmation to determine entry signals, and applies dynamic take-profit (trailing) and fixed stop-loss mechanisms.
🟢 Entry Conditions (Long Only):
A long position is opened when all the following conditions are met:
Price crosses above the 25-period Simple Moving Average (SMA) — a bullish signal.
The 5-period volume moving average is greater than the 60-period volume moving average — indicating rising or strong volume support.
No current open position — to prevent multiple entries during the same signal.
🔴 Exit Conditions:
The strategy closes the position using two types of risk management:
1. Take Profit with Trailing Logic:
Once the price increases by 5% or more from the entry price, a trailing stop is activated.
The trailing stop follows the price with a 1% trailing offset.
If the price drops 1% from its highest point after reaching the 5% profit threshold, the position is closed to secure profits.
2. Fixed Stop Loss:
If the price drops 1% below the entry price, the position is closed automatically to limit the loss.
⚙️ Other Settings:
No short trades: This strategy is long-only.
No pyramiding: Only one position at a time is allowed. New entries are blocked until the current position is closed.
User-configurable parameters:
Price MA length (default: 25)
Volume short MA length (default: 5)
Volume long MA length (default: 60)
🧠 Summary:
This strategy combines trend-following (price above MA) with volume confirmation to identify strong bullish moves, and uses a smart trailing profit mechanism to lock in gains, while strictly capping downside risk at 1% per trade. It is suitable for intraday or swing trading depending on the chosen timeframe.
Forex Fire Sling Shot with Trade ManagementForex Fire Sling Shot Indicator with Trade Management
Description
The Forex Fire Sling Shot Indicator is a comprehensive trading system designed specifically for forex markets. It combines trend analysis, momentum confirmation, and advanced trade management features to help traders identify high-probability trading opportunities.
This indicator provides clear entry signals based on multiple EMA crossovers with MACD confirmation, while incorporating professional trade management tools including automatic stop loss calculation, take profit targets, and breakeven management.
Key Features
Triple EMA Trend Analysis: Uses 15, 50, and 200 EMAs to identify trend direction and entry points
MACD Confirmation: Optional MACD filter for enhanced signal reliability
Premium Signals: Strict entry criteria combining EMA crossover with MACD crossover
Automatic Trade Management: Calculates entry, stop loss, and take profit levels
Breakeven Management: Automatically adjusts stop loss to breakeven at predetermined profit levels
Visual Trade Setup: Displays trade management levels with clear labels
Status Dashboard: Real-time display of current market conditions
Alert System: Built-in alerts for premium trading signals
How to Use
Setup
Add the indicator to any forex chart (recommended timeframes: 1H, 4H, Daily)
Ensure your chart is clean without overlapping indicators
Configure input parameters according to your trading style
Signal Identification
Premium Buy Signal (Diamond Below Bar)
15 EMA crosses above 50 EMA
Price is above 200 EMA (bullish trend)
MACD line crosses above signal line
Green diamond appears below candle
Premium Sell Signal (Diamond Above Bar)
15 EMA crosses below 50 EMA
Price is below 200 EMA (bearish trend)
MACD line crosses below signal line
Fuchsia diamond appears above candle
Trade Execution
When a premium signal appears:
Entry:
Buy: Place order above the signal candle's high
Sell: Place order below the signal candle's low
Stop Loss:
Buy: Lowest low of the past 5 candles (adjustable)
Sell: Highest high of the past 5 candles (adjustable)
Take Profit:
Automatically calculated based on your Risk-Reward ratio (default 1:1.5)
Breakeven Management:
Stop loss moves to breakeven when trade reaches 50% of target (adjustable)
Input Parameters
EMA Settings
Short EMA Period (default: 15)
Long EMA Period (default: 50)
Trend EMA Period (default: 200)
MACD Settings
MACD Fast Length (default: 12)
MACD Slow Length (default: 26)
MACD Signal Length (default: 9)
Require MACD Confirmation (default: true)
Trade Management
Risk-Reward Ratio (default: 1.5)
Stop Loss Lookback Candles (default: 5)
Move SL to Breakeven at % of TP (default: 0.5)
Show Trade Management Labels (default: true)
Alert Settings
Enable Premium Signal Alerts (default: true)
Status Dashboard
The top-right dashboard displays:
MACD Signal status (Bullish/Bearish/Cross)
Overall Trend direction
Current Signal status
Trade Setup details (if active)
Risk-Reward information
Breakeven status
Visual Elements
Green Line: 15 EMA (Fast)
Red Line: 50 EMA (Medium)
Black Line: 200 EMA (Trend)
Yellow Lines: Entry levels
Red Lines: Stop loss levels
Green Lines: Take profit levels
Blue Lines: Breakeven levels
Purple Lines: Breakeven trigger levels
Trading Tips
Only trade premium signals in the direction of the trend (above/below 200 EMA)
Wait for candle close before entering trades
Use higher timeframes for better signal reliability (4H, Daily)
Consider market sessions and major news events
Always use proper position sizing based on your account risk
Risk Disclaimer
This indicator is for educational and informational purposes only. Trading forex involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own analysis and risk management.
Updates and Support
The indicator includes built-in alerts for premium signals. To set up alerts:
Right-click on the chart
Select "Add Alert"
Choose "Forex Fire Sling Shot with Trade Management"
Select either "Premium Fire Sling Shot Buy" or "Premium Fire Bear Sling Sell"
For questions or support, please use the comments section below the indicator.
ORB ModifedThis strategy is all about waiting for the market to pick a direction in the first 15 minutes.
When the price breaks out of this range, you enter a trade with a smart stop-loss setup.
As the price moves up, you follow it closely using "shelves" (past price levels) to protect your profits without getting out too soon.
It’s like moving your safety net up as you climb a ladder so you don’t fall all the way back down.
Stratégie Scalp HA SMA9 & SMA30 (Oracle))✨ Overview
This scalp strategy combines two simple moving averages (SMA9 and SMA30) applied to Heikin Ashi candles with the rapid reversal pattern detection:
Doji on the previous candle
First no-wick candle immediately afterward
Bullish or bearish confirmation against the SMA9
It aims to capture small intraday moves with very precise entries.
🔧 Inputs
Parameter Description Default
Fast SMA Period (lenFast) Length of the fast SMA on Heikin Ashi close 9
Slow SMA Period (lenSlow) Length of the slow SMA on Heikin Ashi close 30
Doji Threshold (dojiThresh) Maximum body size to qualify as a doji (% of candle range) 0.30
Wick Threshold (wickThresh) Maximum wick size to qualify as “no-wick” (% of range) 0.30
⚙️ How It Works
Heikin Ashi Series
Fetches HA open/high/low/close for your chart’s timeframe.
Moving Averages
Plots SMA9 (“Fast”) and SMA30 (“Slow”) on the HA close to gauge short-term momentum.
Doji Detection
Marks the previous candle as a doji if its body ≤ dojiThresh × (range).
No-Wick Candle
The next HA candle qualifies if both its upper and lower wicks ≤ wickThresh × (range).
Entry Conditions:
Long: previous doji + no-wick bullish candle + HA close > SMA9
Short: previous doji + no-wick bearish candle + HA close < SMA9
Order Execution:
Closes any opposing position before entering the new trade.
Draws green/red arrows for visual confirmation of each signal.
📈 Usage Tips:
Recommended Timeframes: M1, M5 or M15 depending on asset volatility.
Suitable Markets: Forex pairs (EURUSD, GBPUSD), crypto (BTCUSDT, ETHUSDT), indices (NAS100), etc.
Optimization:
Tweak dojiThresh/wickThresh for sensitivity (e.g. 0.10–0.50).
Add fixed or dynamic stops/take-profits (ATR, pivots).
Thoroughly backtest and forward-test to confirm robustness.
⚠️ Disclaimers
Backtest Only: Always validate live performance in paper trading before using real capital.
Fees & Slippage: Can significantly affect scalp results.
Risk Management: Adjust position sizing to your risk tolerance and market conditions.
Configure your stops/TPs to match your personal trading style. Happy scalping! 🐇
Fair Value Gap [Cyril]J'ai repris le fvg de luxalgo ou j'y ai incorporé 2 EMA entierment parametrable
RSI/BB/MACD/VWAP/SMA Strategy [vivekm8955]🚀 Boost Your Trading with the Enhanced BB/MACD/SMA Strategy!
🔍 What Makes This Strategy Unique?
This Bollinger Bands (BB) + MACD + SMA strategy is designed for traders who want clear, high-probability signals without unnecessary noise. By focusing on three powerful indicators, it provides clean entries and exits while maintaining strong risk management.
📊 Key Features:
✅ Simplified & Effective Signals – Uses BB, MACD, and SMA for high-confidence trades
✅ Smart Trend Filtering – Avoids false signals by confirming trend direction
✅ Built-in Risk Management – Includes stop-loss, take-profit, and trailing stop
✅ Professional Visuals – Clean chart with entry/exit markers, stop levels, and trend colors
✅ Real-Time Alerts – Get notified instantly when signals appear
📈 How It Works
1️⃣ Entry Conditions
🔵 Long (Buy) Signal:
Price touches Bollinger Band Lower
MACD bullish crossover (MACD line > Signal line)
Price above SMA (50) confirming uptrend
🔴 Short (Sell) Signal:
Price touches Bollinger Band Upper
MACD bearish crossover (MACD line < Signal line)
Price below SMA (50) confirming downtrend
2️⃣ Exit & Risk Management
Stop-Loss (1%) – Protects against sudden reversals
Take-Profit (2%) – Locks in gains
Trailing Stop (0.5%) – Secures profits in trending markets
🌍 Why Traders Worldwide Love This Strategy
✔ Works on All Timeframes – Scalp, swing, or invest
✔ Adapts to Any Market – Stocks, Forex, Crypto, Commodities
✔ Removes Guesswork – Clear rules, no emotional trading
✔ Professional-Grade – Used by hedge funds & retail traders alike
📢 Join Thousands of Successful Traders!
🔹 Copy & Paste the script into TradingView
🔹 Backtest & Optimize for your favorite assets
🔹 Set Alerts to never miss a trade
💬 What Traders Are Saying:
"This strategy cuts through the noise—simple but powerful!" – @CryptoTrader
"Finally, a BB/MACD system with proper risk management!" – @ForexMaster
🚀 Get the Script Now!
👉 Copy the Pine Script from above
👉 Apply it to your charts
👉 Start trading with confidence!
📢 Share this with fellow traders & let’s grow together!
#TradingStrategy #BollingerBands #MACD #SMA #AlgorithmicTrading #DayTrading #Investing #Forex #Crypto #Stocks
Break of Structure Rally GapThe script will still identify:
Break of structure above key levels
Formation of fair rally gaps
Entry signals when price pulls back to the gap zone
All of this will work properly with the time filter (9:30 AM to 11:00 AM) and volume requirements you specified. The indicator should now compile without errors.
ATR Trend Strength Bands⚙️ Features:
ATR length and multiplier can be adjusted.
SMA, EMA, WMA or RMA can be selected for the trend line.
Bull trend is shown in green, bear trend in red, neutral area in gray.
Dynamic label is added to the chart (Bull/Bear/Neutral).
atrLength: Sets the ATR period.
atrMult: Multiplies the ATR value to define the distance of the bands.
smoothing: Allows for different smoothing methods like SMA, EMA, RMA, or WMA.
src: Defines the source for trend calculation, which defaults to the close price.
ATR Calculation: Uses ta.atr(atrLength) to compute the ATR based on the input period.
Smoothing Function: Depending on the selected smoothing method, it applies one of the methods (SMA, EMA, WMA, or RMA) to the source price.
Trend Bands:
upperBand: Upper band calculated by adding ATR (multiplied by the factor) to the smoothed trend.
lowerBand: Lower band calculated similarly by subtracting ATR (multiplied by the factor) from the smoothed trend.
Trend State:
This checks if the current price is above the upper band (bullish), below the lower band (bearish), or in between (neutral).
Band Color:
bandColor changes based on the trend state—green for bullish, red for bearish, and gray for neutral.
Plotting:
Plots the smoothed trend line (trend), upper band (upperBand), and lower band (lowerBand), with a fill color between the bands to highlight the trend area.
stockan – Oscillator Matrixstockan – Oscillator Matrix
A multi-layer RSI-based momentum & trend tool with signal smoothing, short-segment regression lines, fade-style histogram, reversal markers, and a blocky heat-bar.
stockan is designed to give you a crystal-clear view of short-term momentum shifts and trend bias all in one pane. It builds upon the classic 0–100 RSI by:
Smoothing it with a quick SMA to generate a clean crossover signal.
Drawing tiny linear-regression segments on both RSI and its signal line to highlight the slope (i.e. local trend direction) over a handful of bars.
Filling between RSI and signal in green/red so you can instantly see when momentum flips.
Plotting a soft-fade histogram of (RSI – signal), where stronger moves produce more opaque bars, while smaller divergences fade into the background.
Marking local peaks and troughs on the RSI curve with dots—perfect for fine-tuning entries or exits.
Rendering a bottom “heat” strip as blocky columns that switch from red to green once RSI crosses your chosen threshold, giving you a persistent bias indicator.
🔧Inputs & Settings
You can customize every aspect of stockan in the Indicator Settings:
Price Source (default = Close)
Choose which price series (Open, High, Low, Close, or a custom series) you want the RSI to use.
Oscillator Length (RSI) (default = 14)
The look-back period for the RSI calculation. Shorter values make the oscillator more sensitive.
Signal Smoothing (default = 3)
The length of the simple moving average applied to the RSI. Higher values produce slower, cleaner signals.
Trend-LR Length (default = 20)
Number of bars used in each linear-regression segment. Longer lengths smooth trends but react more slowly.
Heat Threshold (default = 50)
The cutoff level (on the 0–100 RSI scale) above which the bottom heat-blocks turn green.
Histogram Max for Fade (default = 20)
The absolute difference (RSI – signal) that maps to 100% opacity in the histogram. Smaller differences fade out; larger ones stand out.
🚀 How to Use stockan
Identify Momentum Shifts
Watch for the green/red fill to flip—when the RSI line crosses above its signal, green fill indicates building bullish momentum; red indicates bearish pressure.
Sense Short-Term Trend with Mini-Regression Lines
The tiny sloping segments on both RSI and signal lines give an immediate visual cue: upward-tilted segments = short-term uptrend, downward = downtrend.
Gauge Strength with the Fade-Style Histogram
Opaque bars mean strong momentum divergence; faint bars mean weak or consolidating moves. Use these to avoid low-conviction signals.
Fine-Tune Entries & Exits Using Reversal Dots
Gray dots mark local RSI highs (possible short setups), green dots mark local lows (possible long entries).
Confirm Bias with the Heat-Bar
A steady green row at the bottom tells you RSI has been above your threshold consistently—ideal for trend-following. A red row suggests caution or counter-trend trades.
🎯 Benefits
All-in-One Pane: No need to juggle RSI, MA, histogram and custom script separately.
Clean Visuals: Soft fades and blocky heat bars reduce clutter and highlight what matters.
Non-Repainting: Uses only closed-bar data; once a bar is closed, nothing moves or disappears.
Highly Customizable: Every length, threshold, color and transparency can be adjusted in Settings.
Lightweight & Self-Contained: Pure Pine v5—no external libraries, no proprietary code—fully compliant with TradingView’s policies.
Perfect Setup Visuals)📌 Perfect Setup Visuals — Reversals, Engulfing, MACD, Equal Highs/Lows
This all-in-one visual-only indicator is designed to help traders quickly spot powerful technical setups on any asset or timeframe. It combines multiple high-probability price action and momentum tools to highlight key areas of interest on your chart — without auto-trading or repainting signals.
✅ Features Included:
EMA Trend Filter – Plots fast and slow EMAs to visualize trend direction.
Bullish/Bearish Engulfing Candles – Highlights strong momentum shifts via engulfing bar patterns (optional).
Equal Highs & Lows Detection – Shows potential liquidity zones where price may reverse or break out (optional).
Reversal Signals – Two confirmation methods:
Wick Reversals (e.g., hammer, shooting star)
RSI Divergence (basic bullish/bearish divergence logic)
MACD Histogram & Lines – Optional momentum visualization in a separate pane.
⚙️ Fully Customizable:
Toggle each feature individually via settings.
Compatible with all timeframes and assets: crypto, forex, stocks, indices, and more.