TrendCraft ICT SwiftEdge// The TrendCraft ICT SwiftEdge is a trend-following indicator that combines Simple Moving Averages (SMAs) with Inner Circle Trader (ICT) concepts, specifically Break of Structure (BOS) and Market Structure Shift (MSS), to generate precise buy and sell signals. This unique mashup leverages the strengths of trend confirmation through SMAs and market structure analysis via ICT to help traders identify high-probability trend entries. The indicator is designed to be intuitive, customizable, and suitable for traders of all levels seeking to align with market trends on various timeframes.
//
// ### What It Does
// The indicator plots two SMAs based on the high and low prices of candles to define the trend direction. It colors the SMAs and fills the area between them to visually indicate whether the price is in a bullish (above both SMAs), bearish (below both SMAs), or neutral (between SMAs) state. Simultaneously, it identifies BOS and MSS levels on a user-defined higher timeframe to confirm trend continuation or reversal points. Buy and sell signals are generated when the price closes above/below the latest BOS or MSS level (based on user preference) while also being correctly positioned relative to the SMAs, ensuring alignment with the trend.
//
// ### Why Combine SMAs and ICT?
// SMAs provide a reliable way to gauge trend direction by smoothing price data, but they can lag or generate false signals in choppy markets. ICT's BOS and MSS concepts address this by focusing on key market structure breaks, offering context for significant price movements. By requiring price to close beyond a BOS or MSS level and align with the SMA-defined trend, the TrendCraft ICT SwiftEdge filters out noise and enhances signal reliability. This combination creates a robust system that balances trend-following simplicity with structural market insights, making it ideal for trend traders.
//
// ### How to Use
// 1. **SMA Length**: Adjust the `SMA Length` (default: 20) to control the sensitivity of the SMAs. Shorter lengths react faster to price changes, while longer lengths provide smoother trends.
// 2. **Structure Timeframe**: Set the `Structure Timeframe` to a higher timeframe (e.g., "1H" on a 15M chart) to calculate BOS and MSS levels. This ensures structural signals are based on significant market moves.
// 3. **Chart Timeframe**: Select the `Chart Timeframe` to optimize pivot point calculations for your current chart (e.g., "30M" for a 30-minute chart).
// 4. **Signal Type**: Choose between "BOS" (default) for signals based on trend continuation breaks or "MSS" for signals based on potential reversal points (breakers).
// 5. **Display Options**: Enable/disable `Show Continuation (BOS)` and `Show Breaker (MSS)` to toggle the visibility of BOS and MSS lines. Customize their colors for better chart clarity.
//
// ### Signals
// - **Buy Signal**: Appears when the close price crosses above the latest BOS or MSS level (based on Signal Type) and is above both SMAs, indicating a bullish trend entry. Marked with a green "Buy" label.
// - **Sell Signal**: Appears when the close price crosses below the latest BOS or MSS level (based on Signal Type) and is below both SMAs, indicating a bearish trend entry. Marked with a red "Sell" label.
//
// ### Originality
// The TrendCraft ICT SwiftEdge stands out by integrating the trend-following reliability of SMAs with the structural precision of ICT's BOS and MSS. Unlike standalone SMA or ICT indicators, this script requires both trend alignment and structural confirmation, reducing false signals. The user-selectable Signal Type (BOS or MSS) adds versatility, allowing traders to adapt the indicator to trend-following or counter-trend strategies. Its dynamic timeframe adjustments and visual clarity make it a unique tool for traders seeking to capture trend entries with confidence.
//
// ### Notes
// - Ensure the `Structure Timeframe` is higher than your chart timeframe to avoid calculation issues.
// - Signals are generated only when the trend state changes to avoid redundant signals in the same trend direction.
// - Past performance is not indicative of future results. Always combine this indicator with other analysis and risk management techniques.
Moving Averages
MA Crossover Crossunder Strategy [UOI]Simple MA Crossover Crossunder Strategy Tester
📌 Purpose:
This strategy is designed to backtest and automate entries and exits based on the crossover and crossunder of two configurable moving averages. It provides traders with flexibility in selecting the moving average type and length to adapt the system to various market conditions and asset classes. To see the win ratio of each strategy (different length and different MA type) click on Strategy tester below the chart (at the bottom of the page).
🟦 Does it work?
Short answer: No — not on its own.
Unless you have a solid understanding of volume and price action, and you implement effective stop-loss and take-profit rules, the win ratio is typically poor for automated trading. However, incorporating other market dynamics can help improve the strategy's performance.
⚙️ Core Features:
🟦 User-Defined Inputs:
shortLength: Length for the short-term moving average (default: 10)
longLength: Length for the long-term moving average (default: 50)
maType: Type of moving average to apply (options include: "SMA", "EMA", "WMA", "VWMA", "RMA", "HMA")
🧮 Moving Average Function (ma):
The strategy includes a custom ma() function that dynamically computes the moving average of the selected type:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (Running Moving Average / SMMA)
HMA (Hull Moving Average): Calculated using the WMA of a de-trended intermediate series with a square root length for faster response and reduced lag.
This design allows users to test multiple MA methodologies without rewriting code.
🟧 Entry & Exit Logic:
✅ Long Entry:
Triggered when the short-term MA crosses above the long-term MA (ta.crossover()).
Any existing short positions are closed immediately.
❌ Short Entry:
Triggered when the short-term MA crosses below the long-term MA (ta.crossunder()).
Any existing long positions are closed immediately.
This structure ensures that only one active position (long or short) is held at any given time, making the strategy fully reversible and directional.
📊 Visual Representation:
Both MAs are plotted on the chart for visual confirmation.
Short MA: Blue
Long MA: Orange
The chart overlays allow for easy manual verification of signal points and trend alignment.
📈 Execution Parameters:
The strategy uses strategy.percent_of_equity for position sizing, set to 100% of account equity per trade.
Works on any timeframe — users can switch chart resolution for different backtesting horizons (scalping to swing trading).
For instance Try VWMA 10 over 50 with SPX on 30 and 45 minutes time frame and you will see great results. But if you try that with SPY you will get different win ratio.
❌ Do you recommend using a moving average crossover strategy?
❌ No — I use it only as confirmation alongside other indicators.
❌ Only traders with contextual knowledge of price action and volume analysis should use MA strategies.
[blackcat] L2 FiboKAMA Adaptive TrendOVERVIEW
The L2 FiboKAMA Adaptive Trend indicator leverages advanced technical analysis techniques by integrating Fibonacci principles with the Kaufman Adaptive Moving Average (KAMA). This combination creates a dynamic and responsive tool designed to adapt seamlessly to changing market conditions. By providing clear buy and sell signals based on adaptive momentum, this indicator helps traders identify potential entry and exit points effectively. Its intuitive design and robust features make it a valuable addition to any trader’s arsenal 📊💹.
According to the principle of Kaufman's Adaptive Moving Average (KAMA), it is a type of moving average line specifically designed for markets with high volatility. Unlike traditional moving averages, KAMA can automatically adjust its period based on market conditions to improve accuracy and responsiveness. This makes it particularly useful for capturing market trends and reducing false signals in varying market environments.
The use of Fibonacci magic numbers (3, 8, 13) enhances the performance and accuracy of KAMA. These numbers have special mathematical properties that align well with the changing trends of KAMA moving averages. Combining them with KAMA can significantly boost its effectiveness, making it a popular choice among traders seeking reliable signals.
This fusion not only smoothens price fluctuations but also ensures quick responses to market changes, offering dependable entry and exit points. Thanks to the flexibility and precision of KAMA combined with Fibonacci magic numbers, traders can better manage risks and aim for higher returns.
FEATURES
Enhanced Kaufman Adaptive Moving Average (KAMA): Incorporates Fibonacci principles for improved adaptability:
Source Price: Allows customization of the price series used for calculation (default: HLCC4).
Fast Length: Determines the period for quicker adjustments to recent price changes.
Slow Length: Sets the period for smoother transitions over longer-term trends.
Dynamic Lines:
KAMA Line: A yellow line representing the primary adaptive moving average, which adapts quickly to new trends.
Trigger Line: A fuchsia line serving as a reference point for detecting crossovers and generating signals.
Visual Cues:
Buy Signals: Green 'B' labels indicating potential buying opportunities.
Sell Signals: Red 'S' labels signaling possible selling points.
Fill Areas: Colored regions between the KAMA and Trigger lines to visually represent trend directions and strength.
Alert Functionality: Generates real-time alerts for both buy and sell signals, ensuring timely notifications for actionable insights 🔔.
Customizable Parameters: Offers flexibility through adjustable inputs, allowing users to tailor the indicator to their specific trading strategies and preferences.
HOW TO USE
Adding the Indicator:
Open your TradingView chart and navigate to the indicators list.
Select L2 FiboKAMA Adaptive Trend and add it to your chart.
Configuring Parameters:
Adjust the Source Price to choose the desired price series (e.g., close, open, high, low).
Set the Fast Length to define how quickly the indicator responds to recent price movements.
Configure the Slow Length to determine the smoothness of long-term trend adaptations.
Interpreting Signals:
Monitor the chart for green 'B' labels indicating buy signals and red 'S' labels for sell signals.
Observe the colored fill areas between the KAMA and Trigger lines to gauge trend strength and direction.
Setting Up Alerts:
Enable alerts within the indicator settings to receive notifications whenever buy or sell signals are triggered.
Customize alert messages and frequencies according to your trading plan.
Combining with Other Tools:
Integrate this indicator with additional technical analysis tools and fundamental research for comprehensive decision-making.
Confirm signals using other indicators like RSI, MACD, or Bollinger Bands for increased reliability.
Optimizing Performance:
Backtest the indicator across various assets and timeframes to understand its behavior under different market conditions.
Fine-tune parameters based on historical performance and current market dynamics.
Integrating Magic Numbers:
Understand the basic principles of KAMA to find suitable entry points for Fibonacci magic numbers.
Utilize the efficiency ratio to measure market volatility and adjust moving average parameters accordingly.
Apply Fibonacci magic numbers (3, 8, 13) to enhance the responsiveness and accuracy of KAMA.
LIMITATIONS
Market Volatility: May produce false signals during periods of extreme volatility or sideways movement.
Parameter Sensitivity: Requires careful tuning of fast and slow lengths to balance responsiveness and stability.
Asset-Specific Behavior: Effectiveness can vary significantly across different financial instruments and time horizons.
Complementary Analysis: Should be used alongside other analytical methods to enhance accuracy and reduce risk.
NOTES
Historical Data: Ensure adequate historical data availability for precise calculations and backtesting.
Demo Testing: Thoroughly test the indicator on demo accounts before deploying it in live trading environments.
Continuous Learning: Stay updated with market trends and continuously refine your strategy incorporating feedback from the indicator's performance.
Risk Management: Always implement proper risk management practices regardless of the signals provided by the indicator.
ADVANCED USAGE TIPS
Multi-Timeframe Analysis: Apply the indicator across multiple timeframes to gain deeper insights into underlying trends.
Divergence Strategy: Look for divergences between price action and the KAMA line to spot potential reversals early.
Volume Integration: Combine volume analysis with the indicator to confirm the strength of identified trends.
Custom Scripting: Modify the script to include additional filters or conditions tailored to your unique trading approach.
IMPROVING KAMA PERFORMANCE
Increase Length: Extend the KAMA length to consider more historical data, reducing the impact of short-term price fluctuations.
Adjust Fast and Slow Lengths: Make KAMA smoother by increasing the fast length and decreasing the slow length.
Use Smoothing Factor: Apply a smoothing factor to control the level of smoothness; typical values range from 0 to 1.
Combine with Other Indicators: Pair KAMA with other smoothing indicators like EMA or SMA for more reliable signals.
Filter Noise: Use filters or other technical analysis tools to eliminate price noise, enhancing KAMA's effectiveness.
COTE 1composite scan of bist stocks
You can set the condition in the screening code as you wish according to the data defined in the code.
5.21 EMA CrossSimple 5.21 that can't be adjusted but you can set alerts on the crosses on whatever timeframe you choose
ONE RING SlimJust 3 nested envelopes tied together with a factor to size them together. You can have them based on various MAs and the envelopes based on % or on a volatility setup I came up with. You can highlight crosses of outside bands and/or midpoints. Mid lines can be colored based on slope. You can shade in various ways. You can highlight freak volume bars, and ranges also. Have basic options for highlight of session and lunch. Have fun.
EMA Trend Pro: Dynamic Clouds & ColorsEMA Trend Pro is your ultimate trend companion, built for traders who want clarity, precision, and confidence in their entries.
This script fuses dynamic EMA cloud zones with breakout and pullback signals — giving you real-time insights into market structure and momentum. Whether you're trading crypto, forex, stocks, or futures, EMA Trend Pro adapts to your style.
🔧 Key Features:
✅ EMA Stack Clouds with Folding Sensitivity (9/21/48/200)
✅ Bullish / Bearish trend labels with real-time dashboard
✅ Volume strength analysis (High, Normal, Low)
✅ Breakout signal alerts (momentum-based)
✅ Pullback signal alerts (trend resumption)
✅ Fully customizable: EMA lengths, signal visibility, cloud opacity
✅ Works across all assets and timeframes
🛠️ Designed for scalping, swing trading, and intraday setups.
🔔 Built-in alerts make automation seamless — no guesswork.
💡 Usage Tips:
Use clouds and trend labels to identify structure and bias
Trade breakouts when EMAs align and volume confirms
Look for pullbacks into the EMA zone and enter on resumption
📅 Market Hours Filter: Keeps signals relevant during core trading hours (9:30 AM–4 PM ET).
👤 Developed by @glapougbaegarmondeh
🧠 Version 1.0 | 📆 Released: April 24, 2025
cktraderpro LSMA BlastLSMA Multi-Timeframe Indicator
The LSMA Multi-Timeframe Indicator is a powerful tool designed to enhance trend analysis by incorporating Least Squares Moving Average (LSMA) calculations across multiple timeframes. This indicator displays LSMA values from the 1-minute, 5-minute, 15-minute, and 1-hour charts, allowing traders to gain deeper insight into the overall trend structure and potential areas of support or resistance.
By visualizing LSMA across different timeframes, traders can:
✅ Identify Key Support & Resistance – Higher timeframe LSMA levels often act as strong barriers where price reacts.
✅ Enhance Trend Confirmation – A confluence of LSMAs pointing in the same direction strengthens confidence in a trend.
✅ Spot Reversals & Trend Shifts Early – Watching lower timeframe LSMAs in relation to higher ones can signal potential shifts before they fully develop.
This indicator is ideal for traders looking to align short-term entries with longer-term trend dynamics, providing an edge in both intraday and swing trading strategies.
Top & Bottom Search ~ Experimental Top & Bottom Search ~ Experimental
This script is designed to identify potential market reversal zones using a combination of classic candlestick patterns (Piercing Line & Dark Cloud Cover) and trend confirmation tools like EMA positioning and optional RSI filters.
Core Features:
Detects Piercing Line and Dark Cloud Cover patterns.
Optional EMA filter to confirm bullish or bearish alignment.
Optional RSI filter to confirm oversold or overbought conditions.
Visual plot of the selected EMA (customizable thickness & color).
Clean and toggleable inputs for user flexibility.
Customizable Settings:
Enable/disable EMA confirmation.
Enable/disable RSI confirmation.
Choose whether to display the EMA on the chart.
Adjust EMA period, RSI thresholds, and candle visuals.
Note:
This is an experimental tool, best used as a supplement to your existing analysis. Not every signal is a guaranteed reversal—this script aims to highlight potential turning points that deserve closer attention.
I HIGHLY recommend using this in coherence with many other indicators in a robust system of indicators that meet your desired time frames and signal periods.
NOTES*
1.) An alternative way to view this indicator is as a "Piercing & Dark Cloud Candle Indicator/Strategy w/ EMA & RSI Logic - Either EMA or RSI Logics are Optional."
2.) When toggling between the RSI and EMA Filters, the default is set to RSI filter applied, however you cannot have both RSI signals and EMA filters on the chart at the same time, it can only be one or the other. So be aware that if you have EMA filter ON and select RSI filter, it will only be displaying the RSI filtered outputs. The ONLY WAY to see the EMA filtered outputs is to only have the EMA filter box checked and NOT the RIS filter box.
3.) Clarity: The display image above for the indicator is with only the RSI filter setting on. EMA filter is an option as well that I recommend considering when conducting trades/analysis.
RSI-WMA + EMA Trend Filter | SL/TP DynamicVery simple base on the trend from EMA and the signal-trigger from RSI-WMA
SMA mit Prozentlinien – Heiko SeiffertSMA mit einstellbarer Periode und Prozentlinien (oben und unten).
Auto Trading con ActivTradesSMA crossover strategy with automatic Take Profit and Stop Loss, designed for live account execution via ActivTrades directly from TradingView.
10 vs 50 SMA - Long-Only CrossoverEnters a full-size long when the 10-period simple moving average crosses above the 50-period on the chart’s current timeframe; closes the position on the opposite cross. A green “Long” label marks each entry bar.
cktraderpro 200 BLASTCK 200 Blast – Multi-Time Frame EMA Overlay
The CK 200 Blast is a powerful TradingView indicator designed exclusively for CK Trader PRO traders who want a clear, multi-timeframe view of the 200 EMA across key trading intervals. This innovative tool overlays the 200 EMA from the 1-minute, 5-minute, 15-minute, and 1-hour timeframes onto a single chart, allowing traders to instantly identify key dynamic support and resistance levels without switching between charts.
Key Features:
✅ Multi-Timeframe 200 EMA Overlay – View the 200 EMA from the 1M, 5M, 15M, and 1H charts on any timeframe.
✅ Dynamic Support & Resistance Zones – Track institutional key levels across multiple timeframes for precise trade execution.
✅ Seamless Integration – Works with any chart, enhancing your market analysis without cluttering your screen.
✅ Trend Confirmation Tool – Identify confluences and trend shifts as price interacts with multiple 200 EMAs.
Whether you trade scalps, intraday setups, or larger swing trades, CK 200 Blast gives you a superior edge by visualizing high-probability reaction zones. Stay ahead of the market with real-time trend awareness, all from a single chart!
MA 7/25/99 tool using 3 MAs: 7, 25, and 99. Candle colors highlight bullish and bearish conditions relative to MA7. Designed for crypto traders looking for clean and fast setups."
Swing Trade EMA StrategyJust a good old EMA5 cross up/down EMA15 system ; great with EMA200 Trend Filter. Simple as that.
Market Regime Detection – Breakout/down w/ ADX & EMA Filter Market Regime Detection – Breakout/down w/ ADX & EMA Filter
By: alphainvestor123
This indicator helps you visually detect whether the market is in a trending or mean-reverting regime by combining:
Core Logic:
Breakouts: Price exceeds recent highs (or lows), suggesting trending behavior.
EMA Filter: Confirms bullish or bearish bias based on price vs. EMA.
VHF (Vertical Horizontal Filter): Measures the trend strength.
VHF value is multiplied by 1000 in the event you wish to display it onto your
BTC
or Crypto chart, it will be visible on your chart, no need to scroll down to see.
VHF ≥ 3333 = Trending Regime
VHF ≤ 3333 = Mean-Reverting / Rangebound
Key Features:
- Plot of recent high/low breakout levels.
- Background highlights breakout signals (trending market).
- Optional background for breakdown signals (non-trending market).
- Optional VHF and EMA plots for further confirmation.
- Adjustable inputs to control signal sensitivity and chart visuals.
Inputs:
Lookback Periods for breakout/breakdown
EMA Length and Line Thickness
Toggle VHF/EMA/Signal Display
Custom Colors for bullish/bearish trends
Ideal Use Cases:
Determining market regime
Filtering for momentum/trend continuation setups
Avoiding false signals in mean-reverting market conditions
*Best used on 1D chart as seen on the sample display, I find this most useful for detecting long term trend breakouts/breakdowns and mean reverting regimes.
*to clarify:
breakouts/trend regimes can only be marked if:
1. Candle has the highest high out of the last 40 bars (default indicator setting, can be customized by user)
2. EMA on the desired asset is bullish
3. ADX is >= a value of 3,333
Visa versa logic for breakdowns/mean reverting regime detection.
VWAP - CATSsession vwap with % bands and a highlight of every 4th band... because I think those are interesting levels. If you use with my alternating ma red/green background and set that one also to vwap then these 2 scripts play well together otherwise this will just be the big yellow with grey % bands and every 4th one able to be highlighted....
Express Generator StrategyExpress Generator Strategy
Pine Script™ v6
The Express Generator Strategy is an algorithmic trading system that harnesses confluence from multiple technical indicators to optimize trade entries and dynamic risk management. Developed in Pine Script v6, it is designed to operate within a user-defined backtesting period—ensuring that trades are executed only during chosen historical windows for targeted analysis.
How It Works:
- Entry Conditions:
The strategy relies on a dual confirmation approach:- A moving average crossover system where a fast (default 9-period SMA) crossing above or below a slower (default 21-period SMA) average signals a potential trend reversal.
- MACD confirmation; trades are only initiated when the MACD line crosses its signal line in the direction of the moving average signal.
- An RSI filter refines these signals by preventing entries when the market might be overextended—ensuring that long entries only occur when the RSI is below an overbought level (default 70) and short entries when above an oversold level (default 30).
- Risk Management & Dynamic Position Sizing:
The strategy takes a calculated approach to risk by enabling the adjustment of position sizes using:- A pre-defined percentage of equity risk per trade (default 1%, adjustable between 0.5% to 3%).
- A stop-loss set in pips (default 100 pips, with customizable ranges), which is then adjusted by market volatility measured through the ATR.
- Trailing stops (default 50 pips) to help protect profits as the market moves favorably.
This combination of volatility-adjusted risk and equity-based position sizing aims to harmonize trade exposure with prevailing market conditions.
- Backtest Period Flexibility:
Users can define the start and end dates for backtesting (e.g., January 1, 2020 to December 31, 2025). This ensures that the strategy only opens trades within the intended analysis window. Moreover, if the strategy is still holding a position outside this period, it automatically closes all trades to prevent unwanted exposure.
- Visual Insights:
For clarity, the strategy plots the fast (blue) and slow (red) moving averages directly on the chart, allowing for visual confirmation of crossovers and trend shifts.
By integrating multiple technical indicators with robust risk management and adaptable position sizing, the Express Generator Strategy provides a comprehensive framework for capturing trending moves while prudently managing downside risk. It’s ideally suited for traders looking to combine systematic entries with a disciplined and dynamic risk approach.
MQSA EMA (9/15/55/100)Four essential EMAs: 9, 15, 55, 100.
Stylish color coding for quick trend reading.
Clean chart appearance — no clutter, pure focus.
Designed for traders who value both functionality and luxury visuals.
Recommended for:
Trend following
Entry timing and confirmation
Swing and intraday trading
Thank you :)
Percentage difference to averagesSimple indicator to analyse the distance of price and average.
An indicator that shows the percentage distance between the current price and a moving average (MA) is a powerful tool to assess how far the price has deviated from its recent average. It provides insights into market extremes, momentum, and potential reversal zones.
Identifying Overbought / Oversold Conditions:
When the price is significantly above the moving average (e.g., +10% or more), it might suggest that the asset is overbought and could be due for a correction or consolidation.
If the price is far below the MA (e.g., –10%), it might indicate oversold conditions and a potential rebound.
Gauging Strength or Weakness:
- A large positive distance shows strong bullish momentum – price is surging away from its average.
- A large negative distance can suggest weakness, panic selling, or capitulation.
This helps traders and analysts see whether current price action is strong or potentially stretched.
Entry/Exit Signal Aid
- Trend followers might enter when the price pulls back toward the MA after a strong run.
- Mean reversion traders use the distance to bet on a return toward the average when the deviation gets too extreme.