Trade Quality Rating: signal rating from 1 to 5 starsOverview
The indicator is built to generate trading signals based on a combination of technical indicators and then assign each signal a quality rating from 1 to 5 stars. The idea is that the more filters that are met, the stronger (or higher quality) the signal is assumed to be. You can then use these quality ratings to decide which signals to act upon, keeping in mind that a higher-rated signal has more confirming factors.
Components of the Indicator
Simple Moving Averages (SMAs):
SMA9 and SMA20:
These two moving averages are used to detect short-term trend changes via crossovers. A bullish signal is generated when the SMA9 crosses above the SMA20, and a bearish signal when it crosses below.
SMA200 (on the current timeframe) & Daily SMA200:
The SMA200 on your current chart helps smooth out the price action.
The Daily SMA200 serves as a long-term trend filter. For a valid long signal, the price must be above the Daily SMA200, and vice versa for a short signal.
MACD (Moving Average Convergence Divergence):
The MACD is calculated using standard parameters (12, 26, 9).
It adds momentum confirmation to the signal. For a long trade, the MACD line should be above its signal line, and for a short trade, below.
RSI (Relative Strength Index):
Calculated with a 14-period setting.
For long signals, the RSI must be above 50 (indicating upward momentum), while for short signals, it should be below 50.
This filter is one of the additional conditions that add to the quality rating.
Volume Filter:
A 20-period moving average of volume is computed.
The current volume must exceed this average, suggesting that there is enough market participation backing the move.
This is another extra filter that adds to the overall quality score.
ADX (Average Directional Index):
The ADX is manually calculated in the script (using a 14-period setting) to gauge the strength of the trend.
A value above 25 is considered to confirm that a strong trend is in place, making the signal more reliable.
VWAP (Volume Weighted Average Price):
The session VWAP is computed on a daily basis.
For long trades, the price should be above the VWAP, and for short trades, below.
This serves as a confirmation that the current price is moving in the right direction relative to the volume-weighted average.
Signal Generation and Quality Rating
Base Signal (1 Star):
The fundamental trade signal is generated when the SMA9/SMA20 crossover occurs, in combination with the MACD confirmation and the condition that the price is on the correct side of the Daily SMA200. This base signal provides a 1-star quality rating.
Additional Filters (Adding Extra Stars):
RSI Filter: Adds 1 extra star if the RSI condition is met (RSI > 50 for long or RSI < 50 for short).
Volume Filter: Adds 1 extra star if the current volume exceeds its 20-period moving average.
ADX Filter: Adds 1 extra star if the ADX value is above 25, confirming a strong trend.
VWAP Filter: Adds 1 extra star if the price is above the VWAP for long trades (or below for short trades).
When all filters are met, you get a 5-star rating (1 star base + 4 extra stars).
Display and Alerts:
The indicator plots your SMAs on the chart.
When a signal occurs, it places a label on the chart showing the trade direction ("BUY" or "SELL") along with the quality rating in stars.
Additionally, alert conditions are set up so that you can receive notifications when a valid signal (based on the base criteria) is generated.
How to Use This Indicator
Filtering Trades:
Use the quality rating as a visual guide. For instance, if you want to only act on the most reliable setups, you might decide to trade only signals that are rated 4 or 5 stars.
Manual Confirmation:
Even with a high star rating, you can perform your own final checks (e.g., checking price action or additional chart patterns) before entering a trade.
Backtesting and Adjustment:
Because market conditions differ, it’s advisable to backtest the indicator on your instrument of choice and adjust the parameters (such as the ADX threshold or the period for volume averaging) to better suit your trading style.
Conclusion
This 5-star system indicator is designed to provide a comprehensive overview of trade quality by integrating multiple technical filters into one visual signal. It helps filter out noise by ensuring that a trade signal not only meets a basic SMA and MACD condition but also aligns with volume, trend strength (ADX), and VWAP criteria. This multi-layered approach can lead to fewer but higher quality trades, allowing you to focus on setups that have more confluence.
Happy trading!
ממוצעים נעים
Multi-Timeframe VWMA chartThis "Multi-Timeframe VWMA Indicator" is a powerful tool for traders seeking to analyze price action across multiple timeframes using the Volume Weighted Moving Average (VWMA). Built in Pine Script v6, it overlays a customizable VWMA on your chart while displaying a table that tracks how your chosen price source (e.g., close, open, high, low) interacts with the VWMA across eight timeframes: 1m, 3m, 5m, 15m, 1h, 4h, 1d, and 1w.
Key features include adjustable inputs: select your price source, set the VWMA length (default 20), pick the line color (default blue), adjust line width (default 2), and apply an offset (default 0, range -500 to 500) to shift the VWMA for precise alignment. The VWMA is plotted on the current chart timeframe, scaling naturally with price due to the overlay setting.
The table, positioned top-right, shows each timeframe’s status: an upward arrow (↑, green) if the source is above the VWMA, indicating bullish momentum, or a downward arrow (↓, red) if below, suggesting bearish pressure. Using request.security, it fetches data efficiently, making it ideal for multi-timeframe analysis. Perfect for traders wanting a clear, customizable view of VWMA-based trends.
Multi-Timeframe 200 EMAMulti-Timeframe 200 EMA Indicator
Description:
This indicator plots the 200-period Exponential Moving Average (EMA) from multiple timeframes on a single chart. It allows traders to visualize key trend levels across different timeframes, helping with confluence, trend identification, and potential trade setups.
Key Features:
Multi-Timeframe EMAs: Displays the 200 EMA from the 2m, 5m, 15m, 30m, 1hr, and 4hr timeframes, regardless of the chart's current timeframe.
Dynamic Labeling: Each EMA is labeled with its respective timeframe (e.g., "2m", "1hr", "4hr") and the labels update in real-time, staying on the current EMA value.
Auto-Updating Labels: The labels move with the EMAs as new candles form, ensuring a clean and informative display. Old labels automatically disappear to prevent clutter.
Color-Coded EMAs: Each EMA has a unique color, making it easy to differentiate between timeframes.
How to Use This Indicator in Trading:
Trend Confirmation: If price stays above the higher timeframe 200 EMA (e.g., 1hr, 4hr), it suggests an uptrend; below it suggests a downtrend.
Support & Resistance Zones: The 200 EMA from larger timeframes often acts as strong dynamic support or resistance.
Multi-Timeframe Confluence: If multiple EMAs are aligned in the same direction, it strengthens the trend bias.
Reversal or Breakout Signals: When price crosses above or below a higher timeframe EMA, it could indicate a potential trend change or breakout opportunity.
Best Used For:
🔹 Scalpers & Day Traders: Helps identify intraday trends and key levels across multiple timeframes.
🔹 Swing Traders: Useful for aligning trade setups with higher timeframe trends.
🔹 Trend Followers: Provides confirmation of long-term trends using the 200 EMA.
PRC-ALMA | QuantEdgeBIntroducing PRC-ALMA by QuantEdgeB
Overview
The PRC-ALMA (Percentile Adaptive ALMA) is an advanced dynamic trend and volatility filtering indicator that leverages the Arnaud Legoux Moving Average (ALMA) combined with Percentile Rank Filtering and Median Absolute Deviation (MAD) Bands. It is designed to enhance market structure clarity, detect breakout zones, and provide trade signals by dynamically adjusting its filtering based on recent price action.
____
Key Features
1. 📈 Adaptive ALMA Smoothing:
- Uses ALMA for smoothing price action while reducing lag.
- Provides a more responsive moving average than traditional EMAs and SMAs.
2. 📊 Percentile Rank-Based Thresholds:
- Determines upper and lower regions using 75th and 25th percentile ranks.
- Allows for adaptive thresholding based on historical price movements.
3. 🎯 Median Absolute Deviation (MAD) Volatility Filtering:
- Filters out noise using robust statistical deviation measures.
- MAD Bands dynamically adjust based on volatility expansion and contraction.
4. 🔄 Dynamic Trade Signals:
- Generates long signals when price exceeds the upper threshold.
- Generates short signals when price drops below the lower threshold.
5. 🎨 Customizable Color Modes & Visual Enhancements:
- Choose between multiple color schemes to match trading preferences.
- Optional candlestick coloring to indicate market sentiment shifts.
____
How It Works
1. ALMA Calculation:
- The indicator starts by computing the ALMA (Arnaud Legoux Moving Average) with a customizable length, offset, and sigma.
2. Percentile Rank Filtering:
- It then calculates the 75th and 25th percentile ranks over a selected period, determining dynamic levels for trend identification.
3. Volatility Adjustment Using Median Absolute Deviation (MAD):
- MAD is applied to filter noise and adapt the upper/lower bands based on market volatility.
- The higher the MAD multiplier, the wider the bands, allowing more price fluctuations before a signal triggers.
4. Entry & Exit Conditions:
- Long Entry: When price crosses above the upper percentile band + MAD filter.
- Short Entry: When price crosses below the lower percentile band - MAD filter.
5. Visual Enhancements:
- Dynamic band plotting with shading between percentile ranks.
- Candlestick coloring to visually indicate long/short sentiment shifts.
____
Practical Applications
✅ Trend Following & Momentum Trading – Uses ALMA for trend smoothing and percentile-based breakouts.
✅ Mean Reversion Strategies – Adaptive MAD filtering ensures only significant deviations trigger signals.
✅ Multi-Timeframe Trading – Works on intraday, daily, and weekly timeframes based on user customization.
✅ Noise Reduction – Eliminates minor fluctuations while capturing meaningful market moves.
____
🛠 Settings
-ALMA Length: 24 – Defines the smoothing period for the Arnaud Legoux Moving Average.
-ALMA Offset: 0.7 – Adjusts the shift factor, controlling responsiveness.
-ALMA Sigma: 4 – Determines the smoothing strength, balancing trend-following and noise reduction.
-Percentile Length: 21 – Lookback period for calculating percentile rank levels.
-Median Period: 21 – The period used for the Median Absolute Deviation (MAD) filter.
-Median Multiplier: 1.8 – Adjusts the sensitivity of the MAD filter, impacting how signals are generated.
-Color Mode: Strategy – Various visual themes available for better chart readability.
-Signal Label: Off - If turned off the indicator produced a Long or Cash signal when the trend changes.
📌 Conclusion
The PRC-ALMA | QuantEdgeB is an advanced valuation and signal generation tool that dynamically adjusts based on market conditions. By combining ALMA for trend smoothing, percentile rank thresholds, and MAD-based volatility filtering, it provides traders with a versatile indicator for momentum, breakout, and mean reversion strategies.
Key Takeaways:
✔ Smooth & Adaptive – ALMA ensures minimal lag while maintaining trend responsiveness.
✔ Dynamic Overbought/Oversold Zones – Adjusts to real-time market conditions using percentile-based bands.
✔ Volatility-Aware Filtering – Uses MAD to eliminate market noise, making signals more reliable.
✔ Customizable & Multi-Timeframe Ready – Works on various asset classes and timeframes with adjustable settings.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Squeeze Momentum Indicator with Entry Tactics### **Squeeze Momentum Indicator with Stacked EMAs**
#### **Description:**
This indicator is an enhanced version of the **Squeeze Momentum Indicator** (originally by John Carter and later modified by LazyBear). It identifies **periods of consolidation (squeeze)** and signals potential **explosive price moves** when momentum shifts. The added **stacked EMA concept** further refines entry signals by confirming trend strength. This is also an update to version 6 of PineScript
#### **How to Use:**
The indicator provides **three different entry tactics**, allowing traders to choose signals based on their strategy:
1. **Inside Day Pattern** – Detects inside candles, which indicate potential breakouts when volatility contracts.
2. **Consecutive Black Crosses (Squeeze Signal)** – A certain number of black crosses (low volatility periods) suggests a strong move is coming.
3. **Stacked EMA Concept** – When the **8 EMA > 21 EMA > 34 EMA**, combined with a momentum shift from negative to positive, it signals a **high-probability bullish entry**.
#### **Visual Cues:**
- **Histogram Bars**: Show momentum (green for increasing bullish, red for increasing bearish).
- **Black & Gray Dots**: Represent different squeeze states (low volatility vs. breakout conditions).
- **🔥 Bullish Label**: Appears when the stacked EMAs align and momentum shifts from negative to positive.
#### **Best Practices:**
- Look for **momentum shifts during a squeeze** for high-probability trades.
- Use **stacked EMAs as trend confirmation** before entering.
- Combine with **price action and volume analysis** for additional confluence.
This indicator helps traders **anticipate major price moves** rather than react, making it a powerful tool for trend-following and breakout strategies. 🚀
Liquidity Sweep Filter [AlgoAlpha]Unlock a deeper understanding of market liquidity with the Liquidity Sweep Filter by AlgoAlpha. This indicator identifies liquidity sweeps, highlighting key price levels where large liquidations have occurred. By visualizing major and minor liquidation events, traders can better anticipate potential reversals and market structure shifts, making this an essential tool for those trading in volatile conditions.
Key Features :
🔍 Liquidity Sweep Detection – Identifies and highlights areas where liquidity has been swept, distinguishing between major and minor liquidation events.
📊 Volume Profile Integration – Displays a volume profile overlay, helping traders spot high-activity price zones where the market is likely to react.
📈 Trend-Based Filtering – Utilizes an adaptive trend detection algorithm to refine liquidity sweeps based on market direction, reducing noise.
🎨 Customizable Visualization – Modify colors, thresholds, and display settings to tailor the indicator to your trading style.
🔔 Alerts for Liquidity Sweeps & Trend Changes – Stay ahead of the market by receiving alerts when significant liquidity events or trend shifts occur.
How to Use:
🛠 Add the Indicator : Add the Liquidity Sweep Filter to your chart and configure the settings based on your preferred sensitivity. Adjust the major sweep threshold to filter out smaller moves.
📊 Analyze Liquidity Zones and trend direction : Look for liquidation levels where large buy or sell stops have been triggered. Major sweeps indicate strong reactions, while minor sweeps show gradual liquidity absorption. You can also see which levels are high in liquidity by the transparency of the levels.
🔔 Set-Up Alerts : Use the in-built alerts so you don't miss a trading opportunity
How It Works :
The Liquidity Sweep Filter detects liquidity events by tracking swing highs and lows (defined as a pivot where neighboring candles are lower/higher than it) where traders are likely to have placed stop-loss orders. It evaluates volume and price action, marking areas where liquidity has been absorbed by the market. Additionally, the integrated trend filter ensures that only relevant liquidity sweeps are highlighted based on market direction, lows in an uptrend and highs in a downtrend. The trend filter works by calculating a basis, and defining trend shifts when the closing price crosses over the upper or lower bands.The included volume profile further enhances analysis by displaying key trading zones where price may react.
[3Commas] HA & MAHA & MA
🔷What it does: This tool is designed to test a trend-following strategy using Heikin Ashi candles and moving averages. It enters trades after pullbacks, aiming to let profits run once the risk-to-reward ratio reaches 1:1 while securing the position.
🔷Who is it for: It is ideal for traders looking to compare final results using fixed versus dynamic take profits by adjusting parameters and trade direction—a concept applicable to most trading strategies.
🔷How does it work: We use moving averages to define the market trend, then wait for opposite Heikin Ashi candles to form against it. Once these candles reverse in favor of the trend, we enter the trade, using the last swing created by the pullback as the stop loss. By applying the breakeven ratio, we protect the trade and let it run, using the slower moving average as a trailing stop.
A buy signal is generated when:
The previous candle is bearish (ha_bear ), indicating a pullback.
The fast moving average (ma1) is above the slow moving average (ma2), confirming an uptrend.
The current candle is bullish (ha_bull), showing trend continuation.
The Heikin Ashi close is above the fast moving average (ma1), reinforcing the bullish bias.
The real price close is above the open (close > open), ensuring bullish momentum in actual price data.
The signal is confirmed on the closed candle (barstate.isconfirmed) to avoid premature signals.
dir is undefined (na(dir)), preventing repeated signals in the same direction.
A sell signal is generated when:
The previous candle is bullish (ha_bull ), indicating a temporary upward move before a potential reversal.
The fast moving average (ma1) is below the slow moving average (ma2), confirming a downtrend.
The current candle is bearish (ha_bear), showing trend continuation to the downside.
The Heikin Ashi close is below the fast moving average (ma1), reinforcing bearish pressure.
The real price close is below the open (close < open), confirming bearish momentum in actual price data.
The signal is confirmed after the candle closes (barstate.isconfirmed), avoiding premature entries.
dir is undefined (na(dir)), preventing consecutive signals in the same direction.
In simple terms, this setup looks for trend continuation after a pullback, confirming entries with both Heikin Ashi and real price action, supported by moving average alignment to avoid false signals.
If the price reaches a 1:1 risk-to-reward ratio, the stop will be moved to the entry point. However, if the slow moving average surpasses this level, it will become the new exit point, acting as a trailing stop
🔷Why It’s Unique
Easily visualizes the benefits of using risk-to-reward ratios when trading instead of fixed percentages.
Provides a simple and straightforward approach to trading, embracing the "keep it simple" concept.
Offers clear visualization of DCA Bot entry and exit points based on user preferences.
Includes an option to review the message format before sending signals to bots, with compatibility for multi-pair and futures contract pairs.
🔷 Considerations Before Using the Indicator
⚠️Very important: The indicator must be used on charts with real price data, such as Japanese candlesticks, line charts, etc. Do not use it on Heikin Ashi charts, as this may lead to unrealistic results.
🔸Since this is a trend-following strategy, use it on timeframes above 4 hours, where market noise is reduced and trends are clearer. Also, carefully review the statistics before using it, focusing on pairs that tend to have long periods of well-defined trends.
🔸Disadvantages:
False Signals in Ranges: Consolidating markets can generate unreliable signals.
Lagging Indicator: Being based on moving averages, it may react late to sudden price movements.
🔸Advantages:
Trend Focused: Simplifies the identification of trending markets.
Noise Reduction: Uses Heikin Ashi candles to identify trend continuation after pullbacks.
Broad Applicability: Suitable for forex, crypto, stocks, and commodities.
🔸The strategy provides a systematic way to analyze markets but does not guarantee successful outcomes. Use it as an additional tool rather than relying solely on an automated system.
Trading results depend on various factors, including market conditions, trader discipline, and risk management. Past performance does not ensure future success, so always approach the market cautiously.
🔸Risk Management: Define stop-loss levels, position sizes, and profit targets before entering any trade. Be prepared for potential losses and ensure your approach aligns with your overall trading plan.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BTCUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
MA1 Length: 9.
MA2 Length: 18.
MA Calculations: EMA.
Take Profit Ratio: Disable. Ratio 1:4.
Breakeven Ratio: Enable, Ratio 1:1.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +324.88 USDT (+3.25%).
Max Drawdown: -81.18 USDT (-0.78%).
Total Closed Trades: 672.
Percent Profitable: 35.57%.
Profit Factor: 1.347.
Average Trade: +0.48 USDT (+0.48%).
Average # Bars in Trades: 13.
🔷 HOW TO USE
🔸 Adjust Settings:
The default values—MA1 (9) and MA2 (18) with EMA calculation—generally work well. However, you can increase these values, such as 20 and 40, to better identify stronger trends.
🔸 Choose a Symbol that Typically Trends:
Select an asset that tends to form clear trends. Keep in mind that the Strategy Tester results may show poor performance for certain assets, making them less suitable for sending signals to bots.
🔸 Experiment with Ratios:
Test different take profit and breakeven ratios to compare various scenarios—especially to observe how the strategy performs when only the trade is protected.
🔸This is an example of how protecting the trade works: once the price moves in favor of the position with a 1:1 risk-to-reward ratio, the stop loss is moved to the entry price. If the Slow MA surpasses this level, it will act as a trailing stop, aiming to follow the trend and maximize potential gains.
🔸In contrast, in this example, for the same trade, if we set a take profit at a 1:3 risk-to-reward ratio—which is generally considered a good risk-reward relationship—we can see how a significant portion of the upward move is left on the table.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable whether you want to receive long or short signals (Entry | TP | SL), copy and paste the the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only.
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
MA 1: Fast MA Length
MA 2: Slow MA Length
MA Calc: MA's Calculations (SMA,EMA, RMA,WMA)
TP Ratio: This is the take profit ratio relative to the stop loss, where the trade will be closed in profit.
BE Ratio: This is the breakeven ratio relative to the stop loss, where the stop loss will be updated to breakeven or if the MA2 is greater than this level.
Strategy: Order Type direction in which trades are executed.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Enable the table to review the messages to be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit : Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly so that it executes and starts the trade.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
MA Deviation with Volatility ThresholdsPrice Deviation from MA with Dynamic Thresholds - TradingView Script Description
Overview
The Price Deviation from Moving Average (MA) with Dynamic Thresholds indicator is designed to measure and visualize how far the current price deviates from a chosen moving average (SMA or EMA) in percentage terms. It provides traders with valuable insights into whether the asset is significantly overbought or oversold relative to its historical mean.
One of the standout features of this indicator is its ability to dynamically adjust overbought and oversold thresholds based on historical volatility, making it more adaptable across different asset classes and market conditions.
Key Features
✅ Customizable Moving Average
Choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Adjustable MA period (default: 200).
Select the timeframe for the MA calculation (default: Daily).
✅ Percentage-Based Deviation Measurement
Measures how much the price has deviated from the selected moving average in percentage terms.
Helps to identify extreme price movements relative to historical trends.
✅ Static & Dynamic Overbought/Oversold Thresholds
Static Thresholds: Users can set fixed percentage levels for overbought and oversold conditions (default: ±20%).
Dynamic Thresholds (enabled by default): Automatically adjust based on historical volatility.
Uses standard deviation of price changes over a specified period (default: 200 candles).
Thresholds are calculated as volatility × a user-defined multiplier (default: 10).
✅ Visual Enhancements
Background Highlighting:
Red when the price exceeds the overbought threshold.
Green when the price drops below the oversold threshold.
Area Chart Representation: The deviation is plotted as a filled orange area (30% opacity) to enhance visual clarity.
Zero Line in Yellow: Helps in quickly identifying when the price is near the moving average.
How to Use
📌 Trend Confirmation & Mean Reversion Trading:
If the deviation is consistently positive, it indicates an uptrend, while negative values suggest a downtrend.
If the price significantly deviates from the MA and enters the overbought/oversold zone, a potential mean reversion opportunity may arise.
📌 Volatility-Adaptive Thresholds:
When enabled, dynamic thresholds help to adjust for different asset volatilities.
Suitable for traders dealing with assets that exhibit varying levels of price fluctuations.
📌 Combining with Other Indicators:
Works well with RSI, Bollinger Bands, and MACD to confirm trend strength or potential reversals.
Can be used in conjunction with support & resistance levels for added confirmation.
Customization Options
Moving Average Type: SMA or EMA.
Moving Average Period & Timeframe Selection.
Static Overbought/Oversold Levels.
Dynamic Thresholds:
Toggle ON/OFF.
Set the Lookback Period for volatility calculation.
Adjust the Volatility Multiplier for fine-tuning threshold sensitivity.
Why Use This Indicator?
🔹 Adaptive to Different Markets: Works with stocks, forex, crypto, commodities, and indices.
🔹 Useful for Both Trend-Following & Mean Reversion Strategies.
🔹 Volatility-Based Adjustments Ensure Market-Relevant Thresholds.
🔹 Enhances Market Awareness by Identifying Extreme Price Deviations.
Final Thoughts
The Price Deviation from MA with Dynamic Thresholds indicator is a powerful tool for traders who want to gauge price extremes and identify potential turning points in the market. With both static and dynamic threshold options, it can be tailored to different trading styles and asset behaviors.
💡 Tip: Experiment with different MA types, periods, and volatility multipliers to find settings that best suit your preferred trading strategy. 🚀
SyakDan FX (Clear Version)**SyakDan FX (Clear Version) - Indicator Description**
### Overview:
SyakDan FX (Clear Version) is a comprehensive TradingView indicator designed for account management, trend identification, and automated trading signals. This script utilizes multiple moving averages, ATR-based stop-loss calculations, and Fibonacci-based pivot points to assist traders in making informed trading decisions.
### Features:
1. **Account Management Calculation:**
- The indicator dynamically adapts to the current timeframe.
- Customizable moving average (MA) types, including EMA, SMA, WMA, and HMA.
- ATR-based trailing stop and volatility assessment.
2. **Moving Averages & Trend Identification:**
- Configurable EMA lengths for three different moving averages.
- Dynamic selection of MA types (SMA, EMA, WMA, HMA) for flexibility.
- Different EMA lengths for low and high timeframes.
- Automatic detection of EMA crossovers and trend changes.
3. **Entry, Stop-Loss, and Take-Profit Calculation:**
- Enables automatic calculation of entry, stop-loss, and take-profit levels.
- ATR-based stop-loss placement.
- Multi-level take-profit targets (TP1, TP2, TP3, and Max TP).
- Visual representation of SL/TP levels using dynamic lines and labels.
4. **Alerts & Notifications:**
- Alerts for EMA crossovers (Buy & Sell signals).
- Additional alerts when EMA 2 crosses EMA 3, indicating strong signals.
5. **Pivot Point Calculations:**
- Calculates daily and weekly pivot points using Fibonacci and traditional methods.
- Helps traders identify key support and resistance levels.
### How It Works:
- The indicator plots three customizable moving averages on the chart.
- It detects crossovers between these moving averages to identify potential buy and sell signals.
- ATR (Average True Range) is used to set dynamic stop-loss and take-profit levels.
- Traders can enable or disable automatic SL/TP plotting.
- Alerts notify users when key trade signals occur.
- Fibonacci and traditional pivot points provide additional confluence for trading decisions.
### Customization Options:
- **MA Type Selection:** Choose from SMA, EMA, WMA, or HMA for each moving average.
- **EMA Length Adjustments:** Modify the lengths for short-term and long-term trends.
- **SL/TP Settings:** Enable or disable SL/TP plotting and customize their multipliers.
- **Alert Preferences:** Enable or disable alerts for trend crossovers.
### Ideal Usage:
- Traders using trend-following strategies based on moving averages.
- Those who want automated SL/TP placement for risk management.
- Anyone looking to integrate pivot points into their trading decisions.
This indicator provides a clean, structured approach to trading with automated analysis, reducing the need for manual calculations while offering strong risk management tools.
Chaikin Money Flow with Moving AverageThis indicator combines the Chaikin Money Flow (CMF) with a moving average, helping traders analyze buying/selling pressure and whether it's increasing or decreasing.
What It Does:
Chaikin Money Flow (CMF) developed by Marc Chaikin is a volume-weighted average of accumulation and distribution over a specified period.
A moving average is applied to CMF to reduce noise and smooth trends, making it easier to identify sustained market sentiment shifts.
How to Use It?
CMF helps confirm trend strength and potential reversals. We reduces false signals from CMF by smoothing fluctuations and making it easier to spot trends.
A CMF value above zero is a sign of strength, and a value below zero is a sign of weakness.
A rising price with a falling CMF (below moving average) is a bearish divergence and a possible reversal of the uptrend.
Similarly, a falling price with a rising CMF (above moving average) is a bullish divergence and again signals a possible reversal of the downtrend.
Configurable Parameters:
CMF Length: Adjusts how many periods are used for CMF calculation.
MA Type: Choose between SMA, EMA, WMA, VWMA, or T3 for smoothing.
MA Length: Controls how much smoothing is applied.
This tool is great for traders looking to improve volume-based trend analysis while filtering out short-term noise.
Median / Averages from Lower Time-Frame TicksI've added/created this to give me a more accurate idea of candle movements - I use the MEDIAN average of a candle, which gives me a more accurate "description" of where the candle spent most of it's time 'hovering', over that time frame. The beauty of this is how it REDUCES NOISE, espeicially long wicks, or candles that spike at the moment of a close, skewing a 'normalized' candle's result.
Due to how the Median Calculation works, changing the 'candle timeframe' in options will have no effect - that is available as an option for some of the more traditional MA's, which you can toggle between in the settings... it can also display traditional MA's - SMA, HMA, WMA, and the HLC/3 which I was using up until this point.
This is a 'Line Chart' version of this indicator; I intend to update it with a 'normalized', custom drawn candle based on this method.
The MEDIAN of a candle is a value based on the following;
it lines all values up over a time frame, then takes the value closest to the centre of the array as the 'median'. I'll provide a working example.
imagine we have a candle with 5 values;
it opens at 2, spikes up to 1, spikes down to 10, then spends the entire time hovering at 3 and 4 until it's close. Our array looks like this;
1,2,3,4,100
now, the "average" of these candles is (1+2+3+4+100) / 5 = 22
when the "median" of these candles is the centre value of the array, which is 3.
The candle spent 99% of it's time between 1 and 4 - and spiked for one moment to 100... so now the median gives me a better idea of where the price spent most of it's time, in this instance.
This becomes more skewed, and therefore more accurate, the more values in a candle - and the minute chart on the hourly is a good baseline that gives pretty fair values, without being overly taxing on the machine that needs to make those calculations.
Caveat: I Trade on the Hourly/Daily, so the medians are taken from Minute Candles - thus this will effectively be 'no good' for 1 minute time-frames, (it will simply draw at the Close) but will still have some value down to 15 minute, or even 5 minute charts.
ORB-5Min + Adaptive 12/48 EMA + PDH/PDL
Overview:
This indicator combines the 5-Minute Opening Range Breakout (ORB), Adaptive 12/48 Exponential Moving Averages (EMAs), and Previous Day High/Low (PDH/PDL) levels to help traders identify key intraday levels and market trends.
Key Components and Logic:
5-Minute Opening Range Breakout (ORB):
Displays the high and low from the first 5-minute candle of the trading session.
Includes customizable opacity for the range fill.
Helps traders spot breakout opportunities and key support/resistance zones.
Adaptive 12/48 EMA System:
Displays EMAs for 9, 12, 48, and 200 periods.
The 12 EMA changes color based on whether the price is entirely above or below it.
The 48 EMA changes color depending on its relationship with the 12 EMA.
Provides dynamic trend identification and potential entry/exit signals.
Previous Day High/Low (PDH/PDL):
Displays the previous day’s high and low levels.
Useful for tracking key intraday support/resistance levels and potential reversal points.
Summary:
This script stands out by blending three popular intraday tools into a single comprehensive indicator. The combined visualization provides a layered market context that assists traders in making informed decisions quickly. The color-adaptive EMAs add clarity to trend direction, while the ORB and PDH/PDL levels highlight significant price zones for breakout or reversal trades.
How to Use:
Breakout Trades: Watch for price breaks above the ORB high or below the ORB low, especially when supported by EMA trends.
Trend Confirmation: Use the color-adaptive 12/48 EMA system to gauge momentum and market direction.
Reversal or Continuation: Observe how price reacts around PDH/PDL levels, especially if confluence with EMAs occurs.
This indicator is suitable for day traders seeking a clear and efficient way to track market structure, identify trends, and spot potential trade opportunities during regular market hours.
PumpC CBC EMAs + VWAPPumpC CBC EMAs + VWAP Indicator for Tradingview
Introduction
This is an indicator for the Candle By Candle (CBC) Flip strategy , based on the CBC Flip concept taught by MapleStax and inspired by the original CBC Flip indicator by AsiaRoo . The CBC Flip strategy is a simple yet effective approach to gauge if bulls or bears are in control for any given candle.
The logic behind the CBC Flip is as follows:
Bullish Flip : If the most recent candle’s close is above the previous candle’s high, bulls have taken control.
Bearish Flip : If the most recent candle’s close is below the previous candle’s low, bears are now in control.
No Flip : If neither condition is met, the previously dominant side (bulls or bears) remains in control until one of these conditions is satisfied, flipping the market sentiment—hence the name CBC Flip .
The PumpC CBC EMAs + VWAP Indicator enhances this simple strategy by adding trend confirmation filters using EMAs and VWAP , along with time-restricted signal generation and fully customizable alerts.
What Does This Indicator Do?
The PumpC CBC EMAs + VWAP Indicator helps traders identify CBC Flips to spot potential trend continuations or reversals. It combines candlestick logic , trend filters , and time-based restrictions to provide high-probability trade signals.
CBC Flip Detection
Bullish Flip : Current close is above the previous candle’s high.
Bearish Flip : Current close is below the previous candle’s low.
Strict Flips : Require a liquidity sweep for higher accuracy.
All Flips : Looser conditions that generate more frequent signals.
EMA and VWAP Trend Confirmation (Optional)
This filter ensures that long signals only trigger when the Slow EMA is above the VWAP , confirming an upward trend. For short signals, the Slow EMA must be below the VWAP.
Time-Based Filtering
The indicator allows you to set a specific trading window (e.g., 9:00 AM to 3:00 PM), helping you avoid low-volume or high-risk periods.
Visual Labels and Alerts
Labels : Arrows (▲ for long and ▼ for short) mark CBC Flip points on the chart.
Alerts : Fully customizable notifications for each signal type, based on your chosen filters.
Key Features
CBC Flip Detection : Identify potential reversals and trend continuations.
Strict vs. All Flips : Choose between higher-accuracy strict flips or more frequent all flips.
EMA-to-VWAP Filter : Optional trend confirmation filter to reduce false signals.
Customizable EMAs and VWAP : Configure lengths and colors for visual clarity.
Time-Restricted Signals : Focus on your preferred trading session.
Custom Alerts : Notifications for long and short signals based on filter settings.
Credits and Inspiration
The CBC Flip strategy was created by MapleStax .
This indicator is inspired by the original CBC Flip indicator by AsiaRoo .
Additional enhancements include EMA-to-VWAP filtering , custom alerts , and time-restricted signal generation for a more comprehensive trading experience.
Risks and Disclaimer
This indicator is for educational purposes only and does not constitute financial advice.
Trading involves significant risk, and past performance does not guarantee future results. Always test this indicator in a simulated environment before live trading.
Boilerplate Configurable Strategy [Yosiet]This is a Boilerplate Code!
Hello! First of all, let me introduce myself a little bit. I don't come from the world of finance, but from the world of information and communication technologies (ICT) where we specialize in data processing with the aim of automating it and eliminating all human factors and actors in the processes. You could say that I am an algotrader.
That said, in my journey through trading in recent years I have understood that this world is often shown to be incomplete. All those who want to learn about trading only end up learning a small part of what it really entails, they only seek to learn how to read candlesticks. Therefore, I want to share with the entire community a fraction of what I have really understood it to be.
As a computer scientist, the most important thing is the data, it is the raw material of our work and without data you simply cannot do anything. Entropy is simple: Data in -> Data is transformed -> Data out.
The quality of the outgoing data will directly depend on the incoming data, there is no greater mystery or magic in the process. In trading it is no different, because at the end of the day it is nothing more than data. As we often say, if garbage comes in, garbage comes out.
Most people focus on the results only, on the outgoing data, because in the end we all want the same thing, to make easy money. Very few pay attention to the input data, much less to the process.
Now, I am not here to delude you, because there is no bigger lie than easy money, but I am here to give you a boilerplate code that will help you create strategies where you only have to concentrate on the quality of the incoming data.
To the Point
The code is a strategy boilerplate that applies the technique that you decide to customize for the criteria for opening a position. It already has the other factors involved in trading programmed and automated.
1. The Entry
This section of the boilerplate is the one that each individual must customize according to their needs and knowledge. The code is offered with two simple, well-known strategies to exemplify how the code can be reused for your own benefits.
For the purposes of this post on tradingview, I am going to use the simplest of the known strategies in trading for entries: SMA Crossing
// SMA Cross Settings
maFast = ta.sma(close, length)
maSlow = ta.sma(open, length)
The Strategy Properties for all cases published here:
For Stock TSLA H1 From 01/01/2025 To 02/15/2025
For Crypto XMR-USDT 30m From 01/01/2025 To 02/15/2025
For Forex EUR-USD 5m From 01/01/2025 To 02/15/2025
But the goal of this post is not to sell you a dream, else to show you that the same Entry decision works very well for some and does not for others and with this boilerplate code you only have to think of entries, not exits.
2. Schedules, Days, Sessions
As you know, there are an infinite number of markets that are susceptible to the sessions of each country and the news that they announce during those sessions, so the code already offers parameters so that you can condition the days and hours of operation, filter the best time parameters for a specific market and time frame.
3. Data Filtering
The data offered in trading are numerical series presented in vectors on a time axis where an endless number of mathematical equations can be applied to process them, with matrix calculation and non-linear regressions being the best, in my humble opinion.
4. Read Fundamental Macroeconomic Events, News
The boilerplate has integration with the tradingview SDK to detect when news will occur and offers parameters so that you can enable an exclusion time margin to not operate anything during that time window.
5. Direction and Sense
In my experience I have found the peculiarity that the same algorithm works very well for a market in a time frame, but for the same market in another time frame it is only a waste of time and money. So now you can easily decide if you only want to open LONG, SHORT or both side positions and know how effective your strategy really is.
6. Reading the money, THE PURPOSE OF EVERYTHING
The most important section in trading and the reason why many clients usually hire me as a financial programmer, is reading and controlling the money, because in the end everyone wants to win and no one wants to lose. Now they can easily parameterize how the money should flow and this is the genius of this boilerplate, because it is what will really decide if an algorithm (Indicator: A bunch of math equations) for entries will really leave you good money over time.
7. Managing the Risk, The Ego Destroyer
Many trades, little money. Most traders focus on making money and none of them know about statistics and the few who do know something about it, only focus on the winrate. Well, with this code you can unlock what really matters, the true success criteria to be able to live off of trading: Profit Factor, Sortino Ratio, Sharpe Ratio and most importantly, will you really make money?
8. Managing Emotions
Finally, the main reason why many lose money is because they are very bad at managing their emotions, because with this they will no longer need to do so because the boilerplate has already programmed criteria to chase the price in a position, cut losses and maximize profits.
In short, this is a boilerplate code that already has the data processing and data output ready, you only have to worry about the data input.
“And so the trader learned: the greatest edge was not in predicting the storm, but in building a boat that could not sink.”
DISCLAIMER
This post is intended for programmers and quantitative traders who already have a certain level of knowledge and experience. It is not intended to be financial advice or to sell you any money-making script, if you use it, you do so at your own risk.
TASC 2025.03 A New Solution, Removing Moving Average Lag█ OVERVIEW
This script implements a novel technique for removing lag from a moving average, as introduced by John Ehlers in the "A New Solution, Removing Moving Average Lag" article featured in the March 2025 edition of TASC's Traders' Tips .
█ CONCEPTS
In his article, Ehlers explains that the average price in a time series represents a statistical estimate for a block of price values, where the estimate is positioned at the block's center on the time axis. In the case of a simple moving average (SMA), the calculation moves the analyzed block along the time axis and computes an average after each new sample. Because the average's position is at the center of each block, the SMA inherently lags behind price changes by half the data length.
As a solution to removing moving average lag, Ehlers proposes a new projected moving average (PMA) . The PMA smooths price data while maintaining responsiveness by calculating a projection of the average using the data's linear regression slope.
The slope of linear regression on a block of financial time series data can be expressed as the covariance between prices and sample points divided by the variance of the sample points. Ehlers derives the PMA by adding this slope across half the data length to the SMA, creating a first-order prediction that substantially reduces lag:
PMA = SMA + Slope * Length / 2
In addition, the article includes methods for calculating predictions of the PMA and the slope based on second-order and fourth-order differences. The formulas for these predictions are as follows:
PredictPMA = PMA + 0.5 * (Slope - Slope ) * Length
PredictSlope = 1.5 * Slope - 0.5 * Slope
Ehlers suggests that crossings between the predictions and the original values can help traders identify timely buy and sell signals.
█ USAGE
This indicator displays the SMA, PMA, and PMA prediction for a specified series in the main chart pane, and it shows the linear regression slope and prediction in a separate pane. Analyzing the difference between the PMA and SMA can help to identify trends. The differences between PMA or slope and its corresponding prediction can indicate turning points and potential trade opportunities.
The SMA plot uses the chart's foreground color, and the PMA and slope plots are blue by default. The plots of the predictions have a green or red hue to signify direction. Additionally, the indicator fills the space between the SMA and PMA with a green or red color gradient based on their differences:
Users can customize the source series, data length, and plot colors via the inputs in the "Settings/Inputs" tab.
█ NOTES FOR Pine Script® CODERS
The article's code implementation uses a loop to calculate all necessary sums for the slope and SMA calculations. Ported into Pine, the implementation is as follows:
pma(float src, int length) =>
float PMA = 0., float SMA = 0., float Slope = 0.
float Sx = 0.0 , float Sy = 0.0
float Sxx = 0.0 , float Syy = 0.0 , float Sxy = 0.0
for count = 1 to length
float src1 = src
Sx += count
Sy += src
Sxx += count * count
Syy += src1 * src1
Sxy += count * src1
Slope := -(length * Sxy - Sx * Sy) / (length * Sxx - Sx * Sx)
SMA := Sy / length
PMA := SMA + Slope * length / 2
However, loops in Pine can be computationally expensive, and the above loop's runtime scales directly with the specified length. Fortunately, Pine's built-in functions often eliminate the need for loops. This indicator implements the following function, which simplifies the process by using the ta.linreg() and ta.sma() functions to calculate equivalent slope and SMA values efficiently:
pma(float src, int length) =>
float Slope = ta.linreg(src, length, 0) - ta.linreg(src, length, 1)
float SMA = ta.sma(src, length)
float PMA = SMA + Slope * length * 0.5
To learn more about loop elimination in Pine, refer to this section of the User Manual's Profiling and optimization page.
CSR Ultimate (Final)This indicator calculates and displays a "Candle Strength Ratio" (CSR) to help you gauge bullish versus bearish momentum on a given timeframe. Here’s what it does:
*Multiple Calculation Methods:*
*You can choose among three different methods:*
-Classic CSR: Compares the difference between the upper and lower parts of the candle relative to its total range.
-Weighted Body CSR: Gives more weight to the candle’s body relative to its wicks.
-Close-Focused CSR: Focuses on the net movement from open to close relative to the full range.
*Optional Enhancements:*
The indicator allows you to enable additional features to refine it:
-Volume Weighting: Adjusts the CSR based on the ratio of current volume to a moving average of volume, so a candle on higher-than-average volume might carry more weight.
-ATR Normalization: Normalizes the CSR using the Average True Range (ATR) to account for market volatility.
-Multi-Bar Averaging: Averages the CSR over a specified number of bars to smooth out noise.
-RSI Filter: Optionally checks an RSI condition (bullish if RSI > 50 or bearish if RSI < 50) to help filter out signals that might not be supported by overall momentum.
*Visual and Alert Features:*
The indicator plots the CSR line with color coding (green for bullish, red for bearish) and draws horizontal threshold lines. It also adjusts the chart background color when the CSR exceeds defined bullish or bearish levels and provides alerts when these thresholds are crossed.
CBC Strategy with Trend Confirmation & Separate Stop LossCBC Flip Strategy with Trend Confirmation and ATR-Based Targets
This strategy is based on the CBC Flip concept taught by MapleStax and inspired by the original CBC Flip indicator by AsiaRoo. It focuses on identifying potential reversals or trend continuation points using a combination of candlestick patterns (CBC Flips), trend filters, and a time-based entry window. This approach helps traders avoid false signals and increase trade accuracy.
What is a CBC Flip?
The CBC Flip is a candlestick-based pattern that identifies moments when the market is likely to change direction or strengthen its trend. It checks for a shift in price behavior between consecutive candles, signaling a bullish (upward) or bearish (downward) move.
However, not all flips are created equal! This strategy differentiates between Strong Flips and All Flips, allowing traders to choose between a more conservative or aggressive approach.
Strong Flips vs. All Flips
Strong Flips
A Strong Flip is a high-probability setup that occurs only after liquidity is swept from the previous candle’s high or low.
What is a liquidity sweep? This happens when the price briefly moves beyond the high or low of the previous candle, triggering stop-losses and trapping traders in the wrong direction. These sweeps often create fuel for the next move, making them powerful reversal signals.
Examples:
Long Setup: The price dips below the previous candle’s low (sweeping liquidity) and then closes higher, signaling a potential bullish move.
Short Setup: The price moves above the previous candle’s high and then closes lower, signaling a potential bearish move.
Why Use Strong Flips?
They provide fewer signals, but the accuracy is generally higher.
Ideal for trending markets where liquidity sweeps often mark key turning points.
All Flips
All Flips are less selective, offering both Strong Flips and additional signals without requiring a liquidity sweep.
This approach gives traders more frequent opportunities but comes with a higher risk of false signals, especially in sideways markets.
Examples:
Long Setup: A CBC flip occurs without sweeping the previous low, but the trend direction is confirmed (slow EMA is still above VWAP).
Short Setup: A CBC flip occurs without sweeping the previous high, but the trend is still bearish (slow EMA below VWAP).
Why Use All Flips?
Provides more frequent entries for active or aggressive traders.
Works well in trending markets but requires caution during consolidation periods.
How This Strategy Works
The strategy combines CBC Flips with multiple filters to ensure better trade quality:
Trend Confirmation: The slow EMA (20-period) must be positioned relative to the VWAP to confirm the overall trend direction.
Long Trades: Slow EMA must be above VWAP (upward trend).
Short Trades: Slow EMA must be below VWAP (downward trend).
Time-Based Filter: Traders can specify trading hours to limit entries to a particular time window, helping avoid low-volume or high-volatility periods.
Profit Target and Stop-Loss:
Profit Target: Defined as a multiple of the 14-period ATR (Average True Range). For example, if the ATR is 10 points and the profit target multiplier is set to 1.5, the strategy aims for a 15-point profit.
Stop-Loss: Uses a dynamic, candle-based stop-loss:
Long Trades: The trade closes if the market closes below the low of two candles ago.
Short Trades: The trade closes if the market closes above the high of two candles ago.
This approach adapts to recent price behavior and protects against unexpected reversals.
Customizable Settings
Strong Flips vs. All Flips: Choose between a more selective or aggressive entry style.
Profit Target Multiplier: Adjust the ATR multiplier to control the distance for profit targets.
Entry Time Range: Define specific trading hours for the strategy.
Indicators and Visuals
Fast EMA (10-Period) – Black Line
Slow EMA (20-Period) – Red Line
VWAP (Volume-Weighted Average Price) – Orange Line
Visual Labels:
▵ (Triangle Up) – Marks long entries (buy signals).
▿ (Triangle Down) – Marks short entries (sell signals).
Credits
CBC Flip Concept: Inspired by MapleStax, who teaches this concept.
Original Indicator: Developed by AsiaRoo, this strategy builds on the CBC Flip framework with additional features for improved trade management.
Risks and Disclaimer
This strategy is for educational purposes only and does not constitute financial advice.
Trading involves significant risk and may result in the loss of capital. Past performance does not guarantee future results. Use this strategy in a simulated environment before applying it to live trading.
MTF- Standard Deviation ChannelWhat Is Standard Deviation?
Standard deviation is a statistical measurement that looks at how far individual points in a dataset are dispersed from the mean of that set. If data points are further from the mean, there is a higher deviation within the data set. It is calculated as the square root of the variance.
Key Takeaways:
Standard deviation measures the dispersion of a dataset relative to its mean.
It is calculated as the square root of the variance.
Standard deviation, in finance, is often used as a measure of the relative riskiness of an asset.
A volatile stock has a high standard deviation, while the deviation of a stable blue-chip stock is usually rather low.
Standard deviation is also used by businesses to assess risk, manage business operations, and plan cash flows based on seasonal changes and volatility.
Source: Investopedia
--------------- UPDATE ---------------
The deviation is calculated automatically. (via stdev function).
--
The targeted timeframe is available in the options (recalculation cycle).
--
If the selected security is a contract the number of days before expiration is automatically managed, otherwise it will use the 'default' options.
---------------------------------------
SMA with Std Dev Bands (Futures/US Stocks RTH)Rolling Daily SMA With Std Dev Bands
Upgrade your technical analysis with Rolling Daily SMA With Std Dev Bands, a powerful indicator that dynamically adjusts to your trading instrument. Whether you’re analyzing futures or US stocks during regular trading hours (RTH), this indicator seamlessly applies the correct logic to calculate a rolling daily Simple Moving Average (SMA) with customizable standard deviation bands for precise trend and volatility tracking.
Key Features:
✅ Automatic Instrument Detection– The indicator automatically recognizes whether you're trading futures or US equities and applies the correct daily lookback period based on your chart’s timeframe.
- Futures: Uses full trading day lengths (e.g., 1380 bars for 1‑minute charts).
- US Stocks (RTH): Uses regular session lengths (e.g., 390 bars for 1‑minute charts).
✅ Rolling Daily SMA (3‑pt Purple Line) – A continuously updated daily moving average, giving you an adaptive trend indicator based on market structure.
✅ Three Standard Deviation Bands (1‑pt White Lines) –
- Customizable multipliers allow you to adjust each band’s width.
- Toggle each band on or off to tailor the indicator to your strategy.
- The inner band area is color-filled: light green when the SMA is rising, light red when falling, helping you quickly identify trend direction.
✅ Works on Any Chart Timeframe – Whether you trade on 1-minute, 3-minute, 5-minute, or 15-minute charts, the indicator adjusts dynamically to provide accurate rolling daily calculations.
# How to Use:
📌 Identify Trends & Volatility Zones – The rolling daily SMA acts as a dynamic trend guide, while the standard deviation bands help spot potential overbought/oversold conditions.
📌 Customize for Precision – Adjust band multipliers and toggle each band on/off to match your trading style.
📌 Trade Smarter – The filled inner band offers instant visual feedback on market momentum, while the outer bands highlight potential breakout zones.
🔹 This is the perfect tool for traders looking to combine trend-following with volatility analysis in an easy-to-use, adaptive indicator.
🚀 Add Rolling Daily SMA With Std Dev Bands to your chart today and enhance your market insights!
---
*Disclaimer: This indicator is for informational and educational purposes only and should not be considered financial advice. Always use proper risk management and conduct your own research before trading.*
WaridTR15 Dakika ve Üzeri Periyotlar İçin Önerilen Ayarlar:
EMA Uzunlukları:
Kısa EMA: 9 yerine 12 veya 14 kullanılabilir.
Uzun EMA: 21 yerine 26 veya 50 kullanılabilir.
Golden Cross için 50 EMA ve 200 EMA zaten uzun vadeli trendleri yakalar, bu nedenle değiştirmeye gerek yok.
RSI Uzunluğu:
RSI uzunluğu 14 yerine 21 veya 28 yapılabilir. Bu, daha uzun vadeli aşırı alım/aşırı satım bölgelerini daha doğru tespit eder.
Volume Filtresi:
Volume ortalaması için 20 periyot yerine 50 veya 100 periyot kullanılabilir. Bu, daha uzun vadeli hacim eğilimlerini yakalar.
Ichimoku Parametreleri:
Ichimoku, varsayılan olarak 9-26-52 periyotlarıyla çalışır. Bu, zaten uzun vadeli trendleri yakalamak için uygundur. Ancak, daha uzun periyotlar için:
Tenkan-Sen: 9 yerine 14.
Kijun-Sen: 26 yerine 52.
Senkou Span B: 52 yerine 104.
Power of MovingThe Power of Moving indicator is a multi-moving average indicator designed to help traders identify strong trending conditions by analyzing the alignment and separation of multiple moving averages.
This indicator allows users to select between different types of moving averages (SMA, EMA, SMMA, WMA, VWMA) and plots four configurable moving averages on the chart. The background color dynamically changes when the moving averages are correctly stacked in a bullish (green) or bearish (yellow) formation, with sufficient distance between them. This ensures that trends are not only aligned but also have strong momentum. The indicator also includes alert conditions, notifying traders when the trend direction changes, allowing them to stay ahead of market moves.
This indicator works well in trending markets and should be combined with price action analysis or other confirmation indicators like RSI or volume for optimal results.
G-FRAMA | QuantEdgeBIntroducing G-FRAMA by QuantEdgeB
Overview
The Gaussian FRAMA (G-FRAMA) is an adaptive trend-following indicator that leverages the power of Fractal Adaptive Moving Averages (FRAMA), enhanced with a Gaussian filter for noise reduction and an ATR-based dynamic band for trade signal confirmation. This combination results in a highly responsive moving average that adapts to market volatility while filtering out insignificant price movements.
_____
1. Key Features
- 📈 Gaussian Smoothing – Utilizes a Gaussian filter to refine price input, reducing short-term noise while maintaining responsiveness.
- 📊 Fractal Adaptive Moving Average (FRAMA) – A self-adjusting moving average that adapts its sensitivity to market trends.
- 📉 ATR-Based Volatility Bands – Dynamic upper and lower bands based on the Average True Range (ATR), improving signal reliability.
- ⚡ Adaptive Trend Signals – Automatically detects shifts in market structure by evaluating price in relation to FRAMA and its ATR bands.
_____
2. How It Works
- Gaussian Filtering
The Gaussian function preprocesses the price data, giving more weight to recent values and smoothing fluctuations. This reduces whipsaws and allows the FRAMA calculation to focus on meaningful trend developments.
- Fractal Adaptive Moving Average (FRAMA)
Unlike traditional moving averages, FRAMA uses fractal dimension calculations to adjust its smoothing factor dynamically. In trending markets, it reacts faster, while in sideways conditions, it reduces sensitivity, filtering out noise.
- ATR-Based Volatility Bands
ATR is applied to determine upper and lower thresholds around FRAMA:
- 🔹 Long Condition: Price closes above FRAMA + ATR*Multiplier
- 🔻 Short Condition: Price closes below FRAMA - ATR
This setup ensures entries are volatility-adjusted, preventing premature exits or false signals in choppy conditions.
_____
3. Use Cases
✔ Adaptive Trend Trading – Automatically adjusts to different market conditions, making it ideal for both short-term and long-term traders.
✔ Noise-Filtered Entries – Gaussian smoothing prevents false breakouts, allowing for cleaner entries.
✔ Breakout & Volatility Strategies – The ATR bands confirm valid price movements, reducing false signals.
✔ Smooth but Aggressive Shorts – While the indicator is smooth in overall trend detection, it reacts aggressively to downside moves, making it well-suited for traders focusing on short opportunities.
_____
4. Customization Options
- Gaussian Filter Settings – Adjust length & sigma to fine-tune the smoothness of the input price. (Default: Gaussian length = 4, Gaussian sigma = 2.0, Gaussian source = close)
- FRAMA Length & Limits – Modify how quickly FRAMA reacts to price changes.(Default: Base FRAMA = 20, Upper FRAMA Limit = 8, Lower FRAMA Limit = 40)
- ATR Multiplier – Control how wide the volatility bands are for long/short entries.(Default: ATR Length = 14, ATR Multiplier = 1.9)
- Color Themes – Multiple visual styles to match different trading environments.
_____
Conclusion
The G-FRAMA is an intelligent trend-following tool that combines the adaptability of FRAMA with the precision of Gaussian filtering and volatility-based confirmation. It is versatile across different timeframes and asset classes, offering traders an edge in trend detection and trade execution.
____
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
C&P MA/KT Compare & Predict Moving average / Current market price.
This is simple table indicator. Located at right-top of chart. Shows which way will MA's head go.
I made this indicator for automate candle countings & compare price. With this friend, you will be know trend more faster then waiting traditional MA golden / dead crossing.
In factory settings, current market price will be compared with closing price of the candle, corresponding to previous number 7, 25, 60, 99, 130, 240. If Current market price is lower then past, the box for the corresponding MA is highlighted in red and appears as Down. In opposite case, it will be highlighted in green and indicates Up.
MA와 시장가 차이로 MA의 머리 방향을 예측해주는 간단한 지표입니다.
수동으로 캔들 되돌려서 종가와 시장가 비교하는게 너무 번거로워서 자동화를 위해 제작되었습니다. 해당 지표를 이용하시면 MA의 골든/데드 크로스를 기다리는 것보다 더 빠른 예측이 가능합니다.
차트 우측 상단에 예측 값이 표시되며, 기본 설정에선 7, 25, 60, 99, 130, 240개 전 캔들의 종가와 시장가가 비교됩니다. 시장가가 비교 값보다 높을 때는 초록 배경에 Up 텍스트가 출력됩니다. 반대의 경우엔 빨간색 배경에 Down 표기가 나타납니다.