KAMAKaufman's Adaptive Moving Average (KAMA)
A unique moving average that accounts for volatility and automatically adjusts to price behavior.
What Is Kaufman's Adaptive Moving Average?
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small, and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can identify the overall trend, time turning points and filter price movements.
Interpreting KAMA
KAMA is like any other trend-following indicator, such as a moving average and can look for price crosses, directional changes and filtered signals.
First, a cross above or below KAMA indicates directional changes in prices. As with any moving average, a simple crossover system will generate lots of signals and lots of whipsaws. One can reduce whipsaws by applying a price or time filter to the crossovers. One might require price to hold the cross for a set number of days or require the cross to exceed KAMA by a set percentage.
source: chartschool.stockcharts.com
Analisi trend
Money Flow: In & Out Detector[THANHCONG]Indicator Name:
Money Flow: In & Out Detector
Indicator Description:
The Money Flow: In & Out Detector indicator uses technical indicators such as RSI (Relative Strength Index), MFI (Money Flow Index), and volume analysis to determine money inflow and outflow in the market.
This indicator helps traders identify changes in money flow, allowing them to detect buy and sell signals based on the combination of the following factors:
RSI > 50 and MFI > 50: Money inflow, indicating a buy signal.
RSI < 50 and MFI < 50: Money outflow, indicating a sell signal.
Volume increase/decrease relative to the average: Identifies strong market behavior changes.
Adjustable Parameters:
RSI Length: The number of periods to calculate the RSI (default is 14).
MFI Length: The number of periods to calculate the MFI (default is 14).
Volume MA Length: The number of periods to calculate the moving average of volume (default is 20).
Volume Increase/Decrease (%): The percentage threshold for volume change compared to the moving average (default is 20%).
Look Back Period: The number of periods used to identify peaks and troughs (default is 20).
How to Use the Indicator:
Money Inflow: When both RSI and MFI are above 50, and volume increases significantly relative to the moving average, the indicator shows a Buy signal.
Money Outflow: When both RSI and MFI are below 50, and volume decreases significantly relative to the moving average, the indicator shows a Sell signal.
Identifying Peaks and Troughs: The indicator also helps identify market peaks and troughs based on technical conditions.
Note:
This indicator assists in decision-making, but does not replace comprehensive market analysis.
Use this indicator in conjunction with other technical analysis methods to increase the accuracy of trade signals.
Steps for Publishing the Indicator on TradingView:
Log in to TradingView:
Go to TradingView and log into your account.
Access Pine Script Editor:
Click on Pine Editor from the menu under the chart.
Paste your Pine Script® code into the editor window.
Check the Source Code:
Ensure your code is error-free and running correctly.
Review the entire source code and add the MPL-2.0 license notice if necessary.
Save and Publish:
After testing and confirming the code works correctly, click Add to Chart to try the indicator on your chart.
If satisfied with the result, click Publish Script at the top right of the Pine Editor.
Provide a name for the indicator and then enter the detailed description you’ve prepared.
Ensure you specify the MPL-2.0 license in the description if required.
Choose the Access Type:
You can choose either Public or Private access for your indicator depending on your intention.
Submit for Publication:
Wait for TradingView to review and approve your indicator. Typically, this process takes a few working days for verification and approval.
User Guide:
You can share detailed instructions for users on how to use the indicator on TradingView, including how to adjust the parameters and interpret the signals. For example:
Set RSI Length: Experiment with different RSI Length values to find the sensitivity that suits your strategy.
Interpreting Buy/Sell Signals: When there is strong money inflow (Buy), consider entering a buy order. When there is strong money outflow (Sell), consider selling.
Consecutive CandlesSummary
This indicator helps visualize short-term momentum by automatically drawing boxes around sequences of consecutive same-colored candles (bullish or bearish). It's designed to quickly highlight periods of sustained buying or selling pressure directly on your chart.
How it Works
Consecutive Candle Detection: The script monitors the chart bar by bar, tracking consecutive candles where close > open (bullish) or close < open (bearish).
Box Drawing: When a sequence of same-colored candles reaches a user-defined minimum length (default is 3) and this sequence is then broken by an opposite-colored candle or a doji, a box is drawn.
Box Boundaries:
The top of the box is set to the highest high price reached during the sequence.
The bottom of the box is set to the lowest low price reached during the sequence.
The left edge of the box aligns with the start time of the first candle in the sequence.
The right edge of the box aligns with the end time of the last candle in the sequence.
Stability: Uses xloc = xloc.bar_time to ensure boxes remain accurately anchored to the price bars when zooming or panning the chart.
Real-time Extension: For active sequences meeting the minimum length on the latest developing bar, the box is optionally extended to the right.
Features
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bullish candles.
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bearish candles.
Extends box in real-time for active qualifying sequences.
Customizable minimum candle count (>= 2).
Customizable colors for bullish/bearish boxes and borders.
Settings
You can customize the indicator via the Settings menu (gear icon):
Minimum Consecutive Candles: Define how many candles in a row are needed to draw a box (Default: 3).
Bullish Box Color: Set the fill color for boxes around bullish sequences.
Bearish Box Color: Set the fill color for boxes around bearish sequences.
Box Border Color: Set the color for the border of all boxes.
Potential Use Cases
Momentum Identification: Quickly spot periods of strong, uninterrupted buying or selling.
Exhaustion/Reversal Signals: Very long sequences might indicate potential exhaustion, setting up reversal opportunities.
Consolidation Breakouts: A box forming after a period of tight consolidation can highlight the range just before a potential breakout.
Confirmation: Use the boxes as confirmation for entries or exits based on momentum shifts.
Disclaimer: This indicator provides visual aids based on price action. It should not be used as a standalone trading system. Always use indicators in conjunction with your own analysis and risk management rules.
Trend Is My FriendThis Pine Script indicator, "Trend Is My Friend", displays the market trend across multiple timeframes using the 21-period Exponential Moving Average (EMA). It checks whether the price is above or below the EMA on the Daily, 4H, 1H, 15min, and 5min timeframes. The trend for each timeframe is shown in a color-coded table (green for bullish, red for bearish) at the top-right corner of the chart. It also plots the EMA on the main chart for quick visual reference, helping traders align their entries with the broader trend. By Dipendra
Market Trend Levels Detector [BigBeluga] + Alerts & Visuals
Combines Market Trend Levels Detector with visuals and alerts
Boosted Scalp Sniper🚀 Boosted Scalp Sniper | EMA, RSI & Volume Combination 🚀
An effective indicator designed for traders who want to execute fast and aggressive scalp trades!
Features:
EMA Cross (2 and 5 periods): Captures ultra-fast trend reversals using short-term EMA crossovers.
Dynamic RSI (7 period, 40-60 range): Confirms the strength and direction of momentum.
Volume Filter: Ensures more reliable trade signals by requiring volume to be above the 10-bar average.
How to Use:
A Buy (▲) signal indicates a potential short-term upward opportunity.
A Sell (▼) signal indicates a potential short-term downward opportunity.
You can test this indicator across different timeframes (1D, 1H, 15M, 5M, etc.) and optimize it to suit your trading style.
Important Notes:
This indicator provides visual entry signals only; apply your own risk management strategy.
Always use a stop-loss in your real trades to protect capital.
Good luck and happy trading! 📈
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TP📈 Strategy: 15-Minute Scalping — EMA + MACD + RSI + ATR-based SL/TP
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
🔧 Indicators Used:
EMA 50 — identifies the main trend
MACD Histogram — confirms momentum direction
RSI (14) — filters overbought/oversold conditions
ATR (14) — dynamically sets SL and TP based on market volatility
📊 Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
🛑 Risk Management:
Stop Loss: 1×ATR (user-configurable)
Take Profit: 2×ATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
⚠️ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
Blood IndicatorBlood Indicator
Weekly (FRED:TB3MS / FRED:BAMLH0A0HYM2) plotted against the 100 WK MA. If red be ready for a sell off. Use Confluence in price action to confirm trades.
MohammadBayazid techinique - (06-16-24)my TRADING PLAN.... everything start reading AMD and together with signal days.
6-Step Trade Setup [Bull/Bear]This indicator spots high-probability bullish breakouts (blue zones) and bearish breakdowns (red zones) using Fibonacci pullbacks, volume spikes, and momentum shifts. It automatically draws profit targets (green lines for longs, red for shorts) based on Fibonacci extensions and volatility. Includes real-time alerts and works on any market
3%TRADERS POWER TRENDLINEThe 3%TRADERS POWER TRENDLINE indicator is designed to help traders identify significant trendlines based on pivot points in price data. This indicator draws trendlines by connecting pivot highs and pivot lows, which can help traders visualize trends and potential reversal points in the market.
### Key Features:
- **Lookback Length Pivots:** Customize the lookback period for identifying pivot points.
- **Wicks or Real Bodies:** Choose whether to draw trendlines from wicks or real bodies of the candles.
- **Display Options:** Option to display only falling 'high' and rising 'low' trendlines.
- **Monochrome Lines:** Option to draw trendlines in monochrome or direction-colored lines.
- **Limit Line Extensions:** Set limits for the extensions of the trendlines.
- **Alerts:** Option to enable alerts for trendline breaks.
- **Limit Number of Trendlines:** Limit the number of trendlines displayed on the chart.
- **Log Chart:** Special settings for log scale charts.
## How to Use
1. **Add the Indicator:**
- Open your TradingView chart.
- Click on the "Indicators" button at the top.
- Search for "3%TRADERS TRENDLINE" and add it to your chart.
2. **Configure Input Settings:**
- **Lookback Length Pivots:** Adjust the lookback period to control how far back the indicator looks for pivot points.
- **Wicks or Real Bodies:** Check this option to draw trendlines from the wicks of candles, or uncheck to draw from the real bodies.
- **Display Options:** Choose whether to display only falling 'high' and rising 'low' trendlines.
- **Monochrome Lines:** Check this option to draw all trendlines in a single color, or uncheck to use different colors for rising and falling trendlines.
- **Limit Line Extensions:** Set a limit for how far the trendlines can extend. A value of 0 means infinite extension.
- **Alerts:** Enable this option to receive alerts when trendlines are broken.
- **Limit Number of Trendlines:** Check this option to limit the number of trendlines shown on the chart.
- **Number of Trendlines:** Set the maximum number of trendlines to display if the above option is checked.
- **Log Chart:** Check this option if you are using a logarithmic scale chart.
3. **Interpret the Trendlines:**
- The indicator will draw trendlines connecting pivot highs and pivot lows based on your configuration.
- Rising trendlines are typically drawn in green (or a single color if monochrome is enabled).
- Falling trendlines are typically drawn in red (or a single color if monochrome is enabled).
4. **Monitor for Alerts:**
- If alerts are enabled, the indicator will notify you of trendline breaks, which can signal potential trend reversals or breakout opportunities.
## Example Usage:
- Use the indicator to identify key support and resistance levels based on trendlines.
- Combine with other technical analysis tools to confirm trend reversals or continuation patterns.
- Adjust the lookback length and other settings to fit your trading strategy and the specific asset you are analyzing.
The 3%TRADERS TRENDLINE indicator is a powerful tool for visualizing trends and making informed trading decisions based on key price levels.
Pivot Clouds [SS]Hey everyone,
Whopper indicator here that I have been working on for some time, excited to finally release it! So let's get into it!
☁️☁️ What are Pivot Clouds?! ☁️☁️
The concept for pivot clouds came from trailing and erroring different iterations of support and resistance (which ultimately led to the creation of the BIN Based Support and Resistance indicator).
In the design and creation of my BIN support and resistance indicator, I initially tried to do something similar with pivot points. However, I found pivots to be relatively ineffective as support and resistance, especially in very trendy markets, and the BIN approach reigned supreme. However, not wanting to abandon the utility of pivots, I tried something different, creating a pivot based SMA.
This proved most useful and very helpful for determining directions, rejections and trends! From there, came this indicator, the Pivot Clouds. This is currently iteration 32 haha, which will be the final iteration for the time being and most functional.
The pivot cloud indicator works by smoothing pivot highs and pivot lows over the course of your inputted length. My general suggestion is to keep it between 150 to 250. Going to low will make it incredibly choppy. Using 200 seems to be the sweet spot for most tickers.
Over the course of the pivot lookback, it collects all pivot highs and pivot lows, then averages them out to create 2 separate SMAs, those being an SMA for the pivot high and an SMA for the pivot low. Together, these create the cloud you see in the main chart.
In addition to creating this cloud, the indicator marks and tracks pivot maxes to both the upside and downside and will draw cloud support on a fall below the main cloud and cloud resistance on a rise above the main cloud, as exampled here:
Above:
And Below:
These clouds represent the average of the pivot high/pivot low and extend to the max or min (high or low depending on position on the main cloud).
💡 Alternative Abilities 💡
Resulting from the sometimes inadequacy of pivots to determine targets and resistance/support, the indicator is capable of pulling in ATR target prices. This allows the user to either use both, pivot max/min clouds AND ATR targets, or simply one or the other.
The ATR targets can be customized in the indicator settings, with a default of daily timeframe targets on a 14 ATR lookback.
Here are some examples of how the ATR targets look:
And to the upside:
📈 Standalone Strategy 📈
This indicator can be used as a standalone strategy, or to complement other strategies. I will go over both briefly, starting with standalone strategy:
Select your target preference (ATR, Pivot Maxes and Mins or both)
Long on a break and hold over the main cloud to the targets; or
Shrot on a break below the main cloud to the targets.
That simple!
🎯Supplemental to existing Strategy 🎯
This indicator for me is gold for my strategy, which involves longing or shorting to calculated target prices.
You essentially follow the above, only your targets are determined by your strategy. So for me, I look for a rejection or hold of the cloud, to long or short to my targets:
💰Customizing the Indicator 💰
Let's quickly go over these options:
Smooth length: Creates a smooth cloud. Suggested limits are 150 - 250
Lookback Length: This determines the length of lookback for the indicator to store historical pivot information and create the clouds.
Pivot Lookforward/backward: Allows the user to select custom pivot timeframes. The traditional rule is 10, but 5 sometimes is preferred on larger timeframes.
Show Pivot Max and Min: These enables the pivot max and min cloud for a crossover or crossunder of the main cloud.
ATR timeframe: determines the ATR target price levels to look for. You can toggle weekly, daily, hourly, whichever you prefer.
ATR Length: Allows you to customize the lookback for determining the ATR targets.
USE ATR targets: This will turn on / off the ATR targets, if you wish to use/not use these reference points with the indicator, same as with the pivot max and min cloud toggle.
And that's the indicator, folks!
Hope you like it,
Take care and safe trades!🚀
P*V Liquidity Check (in M)
By Alireza Sharifan
This indicator highlights the value of trading rather than just volume. It calculates today’s trading value (today’s volume × today’s closing price) and allows you to compare it with the 20-day and 50-day average trading values.
This tool helps you assess liquidity and filter stocks that align with your swing trading strategy."
hasan s an oscillator based on the QQE (Quantitative Qualitative Estimation) method. This version incorporates refinements for additional visualization and interpretation options. It is designed to help traders observe momentum changes and divergence patterns in price movements.
BTC Dominance Excluding StablecoinsBTC Dominance Excluding Stablecoins
Description:
The "BTC Dominance Excluding Stablecoins" indicator calculates Bitcoin's dominance as a percentage of the total cryptocurrency market capitalization, excluding the market caps of major stablecoins (USDT and USDC). Unlike the standard BTC.D ticker, which includes stablecoins in the total market cap, this indicator provides a clearer view of Bitcoin’s dominance relative to the "non-stable" crypto market. This can be useful for traders and analysts who want to assess Bitcoin’s strength without the influence of stablecoin market caps, which often skew dominance metrics during periods of high stablecoin usage.
How It Works:
Bitcoin Market Cap: Fetches Bitcoin’s market capitalization using CRYPTOCAP:BTC.
Total Market Cap: Retrieves the total cryptocurrency market cap via CRYPTOCAP:TOTAL.
Stablecoin Adjustment: Subtracts the market caps of USDT (CRYPTOCAP:USDT) and USDC (CRYPTOCAP:USDC) from the total market cap.
Dominance Calculation: Computes Bitcoin’s dominance as (BTC Market Cap / Adjusted Total Market Cap) * 100, where the adjusted total excludes stablecoins.
Output: Plots the resulting dominance percentage as a line chart.
Features:
Displays Bitcoin dominance excluding stablecoins on any timeframe.
Customizable line color and thickness for better visualization.
Provides a more accurate representation of Bitcoin’s market share in the volatile, non-stablecoin crypto ecosystem.
Usage:
Add this indicator to your TradingView chart to compare Bitcoin’s dominance against the broader altcoin market, free from stablecoin distortions. Use it alongside other indicators like BTC.D or price charts to analyze market trends, especially during periods of high stablecoin inflows or outflows.
Notes:
The indicator currently excludes USDT and USDC, the two largest stablecoins by market cap. Additional stablecoins (e.g., DAI, BUSD) can be added by modifying the script if desired.
Data is sourced from TradingView’s CRYPTOCAP symbols, which may have slight delays or variations depending on exchange data feeds.
Best used on daily or higher timeframes for smoother, more reliable results.
Author:
Created by K Du₿
Version:
Pine Script v5
TQ's Support & Resistance(My goal creating this indicator): Provide a way to categorize and label key structures on multiple different levels so I can create a plan based on those observable facts.
The Underlying Concept / What is Momentum?
Momentum indicates transaction pressure. If the algorithm detects price is going up, that would be considered positive momentum. If the algorithm detects price is going down negative momentum would be detected.
The Momentum shown is derived from a price action pattern. Unlike my previous Support & Resistance indicator that used Super Trend, this indicator uses a unique pattern I created. On the first bar bearish momentum is detected a resistance Level is made at the highest point of the previous bullish condition. On the first bar bullish momentum is detected a support Level is made at the lowest point of the previous bearish condition. This happens on 5 different Momentum Levels, (short-term to long-term). I currently use this pattern to trade so the source code is protected.
What is Severity?
Severity is How we differentiate the importance of different Highs and Lows. If Momentum is detected on a higher level the Supply or Demand Level is updated. The Color and Size representing that Level will be shown. Demand and Supply Levels made by higher levels are more SEVERE than a demand level made by a lower level.
Technical Inputs
- to ensure the correct calculation of Support and Resistance levels change BAR_INDEX. BAR_INDEX creates a buffer at the start of the chart. For example: If you set BAR_INDEX to 300. The script will wait for 300 bars to elapse on the current chart before running. This allows the script more time to gather data. Which is needed in order for our dynamic lookback length to never return an error (Dynamic lookback length can't be negative or zero). The lower the timeframe the greater the number of bars need. For Example, if I open up a 1min chart I would enter 5000 as my BAR_INDEX since that will provide enough data to ensure the correct calculation of Support and Resistance levels. If I was on a daily chart, I would enter a lower number such as 800. Don't be afraid to play around with this.
- Toggle options (Close) or (High & Low) creates Support and Resistance Levels using the Lowest close and Highest close or using the Lowest low and Highest high.
Level Inputs
- The indicator has 5 Different Levels indicating SEVEREITY of a Supply and Demand Levels. The higher the Level the more SEVERE the Level.
Display Inputs
- You have the option to customize the Length, Width, Line Style, and Colors of all 5 different
- This indicator includes a Trend Chart. To Easily verify the current trend of any displayed by this indicator toggle on Chart On/Off. You also get the option to change the Chart Position and the size of the Trend Chart
How Trend Is being Determined?
(Close > Current Supply Level) if this statement is true technically price made a HH, so the trend is bullish.
(Close < Current Demand Level) if this statement is true technically price made a LL, so the trend is bearish.
- Fully customize how you display Market Structure on different levels. Line Length, Line Width, Line Style, and Line color can all be customized.
How it can be used?
(Examples of Different ways you can use this indicator): Easily categorize the severity of each and every Supply or Demand Level in the market (The higher Level the stronger the level)
: Quickly Determine the trend of any Level.
: Get a consistent view of a market and how different Levels are behaving but just use one chart.
: Take the discretion from hand drawing support and resistance lines out of your trading.
: Find and categorize strong levels for potential breakouts.
: Trend Analysis, use Levels to create a narrative based on observable facts from these Levels.
: Different Targets to take money off the table.
: Use Severity to differentiate between different trend line setups.
: Find Great places to move your stop loss too.
Double RSI OscillatorThe Double RSI Oscillator
Hello Gs,
I came back from the dead and tried to see what a little tweak to RSI could do, and I think it is quite interesting and might be worth checking out.
Warning:
This indicator has lots of false signals unfortunatly
How does the DRSI Oscillator work?
Very simple, the DRSI oscillator at the very base is just 2 RSIs that should smooth each other out, making a smoother trend signal generation for trend analysis. One RSI is set to have lower values, by considering the lowest point of the price, and one RSI is set to have higher values using pretty much the same thing. The trend changes from positive to negative if RSI with higher values crosses negative treshhold, and from negative to positive if RSI with lower value crosses positive treshhold. On top of this I added some additional settings to smooth or speed it further, if these were a good idea, I guess only time will tell :D.
Settings
Here is a guide of what setting changes what and how it might be suitable for you:
RSI Optimism length: length of the RSI with higher values (higher values will be better for longer term, lower for medium term)
RSI Pesimism length: length of the RSI with lower values (higher values will be better for longer term, lower for medium term)
Positive treshhold: The value RSI pesimism needs to pass in order to change trends (in case of using RSI avg. the value the average needs to pass), making this higher can give you faster signals, but expect more false ones
Negative treshholds: The value RSI optimism needs to pass in order to change trends (in case of using RSI avg. the value the average needs to pass), lowering this can give you faster signals, but expect more false ones
Smoothing type: Select the type of smoothing (or none) to smooth your signals as you want, this one you need to play around with.
Smoothing length: The length of your smoothing method (if none is selected it wont change anything)
Use RSI average instead: self-explanatory, go figure
Above/Below Mean Trend: Changes the way trend logic works
Why consider using this indicator?
The DRSI Oscillator is a tool that has huge flexibility (due to tons of settings that base RSI doesnt, like trend treshholds), and is smoother allowing traders and investors to get high quality or high speed signals, allowing great entries and exits
Autofib Extensions | DTDHello trader comuunity!
I'm introducing another script that is part of my main day-trading strategy. We all know regardless of what strategy we use, we need to know what levels offer the least amount of risk to our trade entry and a great tool to anticipate how far a move might go or what level a move may retrace to are the Fibonacci Retracement and Extensions. This indicator combines both together, but with a twist.
The main elements of the script are:
1. Multiple Session High and Lows | Developing my first script led me to understand that measuring key times during each session provides understanding of the market's continuity. I have provided 3 "sessions' a user can define according to CST time where the script saves the high and low of that session window to produce the retracement and extensions from those plots. Currently, the levels are always plotted from low to high (with the 0 mark being the high) and negative values provided so the levels are consistent. You can toggle each session on or off.
2. Coloring Key Retracements / Extensions | I use a dark background for my charts so the default colors help me distinguish from other another indicator I use. Feel free to adjust the colors to your preference. I consider 3 different colors because of their significance. Retracements that you want to see continue fall back into the .50 to .618 level (this I consider the "Golden Zone"). While basic Elliott Wave Theory states a wave is completed near the 1.618 level (this I consider "Major Extensions"). Everything isn't noise, but minor levels in a larger sequence.
______________
Script Limitations
All of my scripts are made with the help of ChatGPT so there are going to be limitations. One current one that I have made progress on, but not fully is when you are viewing a timeframe where the candle doesn't start when a session window starts. On smaller timeframes like the 7-minute this is not an issue. However, on the hourly, if your session window starts at the half hour which the 3rd session default window does, the lines will not produce. I will hopefully have this rectified in the near future. I will open the script since none of this work is original in nature and I would love to see how others can create a better product. Also, this is mainly a futures trading tool. If you are using this on stocks you will find it not as useful if the session window is too wide since the script waits until the session window closes to calculate the extension values.
Cheers,
DTD
Weekly Levels Prep (Smart Weekly Candle)This script draws key weekly levels based on the most recent completed weekly candle (Monday–Friday). It automatically calculates and plots:
✅ Weekly High & Low
✅ Midpoint (50% level)
✅ Extension levels above and below
All levels are dynamically updated every new week and are visually marked with clean color-coded horizontal lines. Price values are shown near the price axis for clear visibility across all timeframes.
Great for:
Weekly preparation
Swing trading setups
Mean reversion and range breakouts
🔄 Works on all timeframes
🔍 Lightweight and non-intrusive
Built by a trader, for traders. 💼📈
Trend Indicator with ArrowsTrend Indicator with arrows is a NoBrainer indicator to see the trend clearly.
UpTrend is defined as a candle closing above previous high. I
DownTrend is defined as a candle closing below previous low
A consolidation is defined as a candle closing inside previous candle high low.
UpTrend - Indicated with a green arrow below the candle with the current indicator.
DownTrend - ndicated with a red arrow above the candle with the current indicator.
So How to use this Indicator?
Identify zones of consolidation where the indicator doesn't show any arrows. Upon shift from consolidation to UpTrend or DownTrend take a entry. This is one way.
Second and most useful way is wait for Support or resistant hit.
If it's a support. Upon support hit wait for Consolidation, DownTrend and then UpTrend/(Consolidation again with uptrend) for long entry.
If its a resistance. Upon resistance hit wait for Consolidation, Uptrend and then DownTrend/(Consolidation again with DownTrend) for short Entry.
P-Motion Trend | QuantEdgeB⚡ Introducing P-Motion Trend (PMT) by QuantEdgeB
🧭 Overview
P-Motion Trend is a refined trend-following framework built for modern market dynamics. It combines DEMA filtering, percentile-based smoothing, and volatility-adjusted envelopes to create a clear, noise-filtered trend map directly on your chart.
This overlay indicator is engineered to detect breakout zones, trend continuation setups, and market regime shifts with maximum clarity and minimum lag.
Whether you're swing trading crypto, managing intraday FX moves, or positioning in equities — P-Motion Trend adapts, aligns, and simplifies.
🧠 Core Logic
1️⃣ DEMA Filtering Core
The input source is processed through a Double EMA to reduce lag while retaining trend sensitivity.
2️⃣ Percentile Median Smoothing
To eliminate short-lived spikes, the DEMA output is passed through a percentile median rank — effectively smoothing without distortion.
3️⃣ Volatility Envelope with EMA Basis
An exponential moving average (EMA) is applied to the smoothed median, and standard deviation bands are wrapped around it:
• ✅ Long Signal → Price closes above the upper band
• ❌ Short Signal → Price closes below the lower band
• ➖ Inside Band = Neutral
These bands expand/contract with market volatility — protecting against false breakouts in quiet regimes and adapting quickly to strong moves.
📊 Visual & Analytical Layers
• 🎯 Bar Coloring: Color-coded candles highlight trend state at a glance.
• 📈 EMA Ribbon Overlay: A dynamic ribbon of EMAs helps confirm internal momentum and detect transitions (trend decay or acceleration).
• 🔹Gradient Fill Zones: Visually communicates squeeze vs. expansion phases based on band width.
⚙️ Custom Settings
• EMA Length – Defines the core trend path (default: 21)
• SD Length – Controls volatility band smoothing (default: 30)
• SD Mult Up/Down – Sets thresholds for breakout confirmation (default: 1.5)
• DEMA Filter Source – Raw input used for trend processing
• DEMA Filter Length – Sets DEMA smoothing (default: 7)
• Median Length – Percentile-based smoothing window (default: 2)
📌 Use Cases
✅ Trend Confirmation
Use PMT to confirm whether the price action is structurally valid for trend continuation. A close above the upper band signals entry alignment.
🛡️ Reversal Guard
Avoid early reversion entries. PMT keeps you in-trend until price truly breaks structure.
🔍 Momentum Visualizer
With multiple EMA bands, the indicator also functions as a momentum envelope to spot divergence between price and smoothed trend flow.
🔚 Conclusion
P-Motion Trend is a hybrid volatility + trend system built with precision smoothing, dynamic filtering, and clean visual output. It balances agility with stability, helping you:
• Filter out price noise
• Enter with structure
• Stay in trades longer
• Exit with confidence
🧩 Summary of Benefits
• 🔹 Lag-minimized trend structure via DEMA core
• 🔹 Real-time volatility band adaptation
• 🔹 Gradient visual feedback on compression/expansion
• 🔹 EMA ribbon assists in phase detection
• 🔹 Suitable for all markets & timeframes
📌 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.
DEGA RMA | QuantEdgeB🧠 Introducing DEGA RMA (DGR ) by QuantEdgeB
🛠️ Overview
DEGA RMA (DGR) is a precision-engineered trend-following system that merges DEMA, Gaussian kernel smoothing, and ATR-based envelopes into a single, seamless overlay indicator. Its mission: to filter out market noise while accurately capturing directional bias using a layered volatility-sensitive trend core.
DGR excels at identifying valid breakouts, sustained momentum conditions, and trend-defining price behavior without falling into the trap of frequent signal reversals.
🔍 How It Works
1️⃣ Double Exponential Moving Average (DEMA)
The system begins by applying a DEMA to the selected price source. DEMA responds faster than a traditional EMA, making it ideal for capturing transitions in momentum.
2️⃣ Gaussian Filtering
A custom Gaussian kernel is used to smooth the DEMA signal. The Gaussian function applies symmetrical weights, centered around the most recent bar, effectively softening sharp price oscillations while preserving the underlying trend structure.
3️⃣ Recursive Moving Average (RMA) Core
The filtered Gaussian output is then processed through an RMA to generate a stable dynamic baseline. This baseline becomes the foundation for the final trend logic.
4️⃣ ATR-Scaled Breakout Zones
Upper and lower trend envelopes are calculated using a custom ATR filter built on DEMA-smoothed volatility.
• ✅ Long Signal when price closes above the upper envelope
• ❌ Short Signal when price closes below the lower envelope
• ➖ Neutral when inside the band (no signal noise)
✨ Key Features
🔹 Multi-Layer Trend Model
DEMA → Gaussian → RMA creates a signal structure that is both responsive and robust.
🔹 Volatility-Aware Entry System
Adaptive ATR bands adjust in real-time, expanding during high volatility and contracting during calm periods.
🔹 Noise-Reducing Gaussian Kernel
Sigma-adjustable kernel ensures signal smoothness without introducing excessive lag.
🔹 Clean Visual System
Candle coloring and band fills make trend state easy to read and act on at a glance.
⚙️ Custom Settings
• DEMA Source – Input source for trend core (default: close)
• DEMA Length – Length for initial smoothing (default: 30)
• Gaussian Filter Length – Determines smoothing depth (default: 4)
• Gaussian Sigma – Sharpness of Gaussian curve (default: 2.0)
• RMA Length – Core baseline smoothing (default: 12)
• ATR Length – Volatility detection period (default: 40)
• ATR Mult Up/Down – Controls the upper/lower threshold range for signals (default: 1.7)
📌 How to Use
1️⃣ Trend-Following Mode
• Go Long when price closes above the upper ATR band
• Go Short when price closes below the lower ATR band
• Remain neutral otherwise
2️⃣ Breakout Confirmation Tool
DGR’s ATR-based zone logic helps validate price breakouts and filter out false signals that occur inside compressed ranges.
3️⃣ Volatility Monitoring
Watch the ATR envelope width — a narrowing band often precedes expansion and potential directional shifts.
📌 Conclusion
DEGA RMA (DGR) is a thoughtfully constructed trend-following framework that goes beyond basic moving averages. Its Gaussian smoothing, adaptive ATR thresholds, and layered filtering logic provide a versatile solution for traders looking for cleaner signals, less noise, and real-time trend awareness.
Whether you're trading crypto, forex, or equities — DGR adapts to volatility while keeping your chart clean and actionable.
🔹 Summary
• ✅ Advanced Smoothing → DEMA + Gaussian + RMA = ultra-smooth trend core
• ✅ Volatility-Adjusted Zones → ATR envelope scaling removes whipsaws
• ✅ Fully Customizable → Tailor to any asset or timeframe
• ✅ Quant-Inspired Structure → Built for clarity, consistency, and confidence
📌 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.
Gaussian Smooth Trend | QuantEdgeB🧠 Introducing Gaussian Smooth Trend (GST) by QuantEdgeB
🛠️ Overview
Gaussian Smooth Trend (GST) is an advanced volatility-filtered trend-following system that blends multiple smoothing techniques into a single directional bias tool. It is purpose-built to reduce noise, isolate meaningful price shifts, and deliver early trend detection while dynamically adapting to market volatility.
GST leverages the Gaussian filter as its core engine, wrapped in a layered framework of DEMA smoothing, SMMA signal tracking, and standard deviation-based breakout thresholds, producing a powerful toolset for trend confirmation and momentum-based decision-making.
🔍 How It Works
1️⃣ DEMA Smoothing Engine
The indicator begins by calculating a Double Exponential Moving Average (DEMA), which provides a responsive and noise-resistant base input for subsequent filtering.
2️⃣ Gaussian Filter
A custom Gaussian kernel is applied to the DEMA signal, allowing the system to detect smooth momentum shifts while filtering out short-term volatility.
This is especially powerful during low-volume or sideways markets where traditional MAs struggle.
3️⃣ SMMA Layer with Z-Filtering
The filtered Gaussian signal is then passed through a custom Smoothed Moving Average (SMMA). A standard deviation envelope is constructed around this SMMA, dynamically expanding/contracting based on market volatility.
4️⃣ Signal Generation
• ✅ Long Signal: Price closes above Upper SD Band
• ❌ Short Signal: Price closes below Lower SD Band
• ➖ No trade: Price stays within the band → market indecision
✨ Key Features
🔹 Multi-Stage Trend Detection
Combines DEMA → Gaussian Kernel → SMMA → SD Bands for robust signal integrity across market conditions.
🔹 Gaussian Adaptive Filtering
Applies a tunable sigma parameter for the Gaussian kernel, enabling you to fine-tune smoothness vs. responsiveness.
🔹 Volatility-Aware Trend Zones
Price must close outside of dynamic SD envelopes to trigger signals — reducing whipsaws and increasing signal quality.
🔹 Dynamic Color-Coded Visualization
Candle coloring and band fills reflect live trend state, making the chart intuitive and fast to read.
⚙️ Custom Settings
• DEMA Source: Price stream used for smoothing (default: close)
• DEMA Length: Period for initial exponential smoothing (default: 7)
• Gaussian Length / Sigma: Controls smoothing strength of kernel filter
• SMMA Length: Final smoothing layer (default: 12)
• SD Length: Lookback period for standard deviation filtering (default: 30)
• SD Mult Up / Down: Adjusts distance of upper/lower breakout zones (default: 2.5 / 1.8)
• Color Modes: Six distinct color palettes (e.g., Strategy, Warm, Cool)
• Signal Labels: Toggle on/off entry markers ("𝓛𝓸𝓷𝓰", "𝓢𝓱𝓸𝓻𝓽")
📌 Trading Applications
✅ Trend-Following → Enter on confirmed breakouts from Gaussian-smoothed volatility zones
✅ Breakout Validation → Use SD bands to avoid false breakouts during chop
✅ Volatility Compression Monitoring → Narrowing bands often precede large directional moves
✅ Overlay-Based Confirmation → Can complement other QuantEdgeB indicators like K-DMI, BMD, or Z-SMMA
📌 Conclusion
Gaussian Smooth Trend (GST) delivers a precision-built trend model tailored for modern traders who demand both clarity and control. The layered signal architecture, combined with volatility awareness and Gaussian signal enhancement, ensures accurate entries, clean visualizations, and actionable trend structure — all in real-time.
🔹 Summary Highlights
1️⃣ Multi-stage Smoothing — DEMA → Gaussian → SMMA for deep signal integrity
2️⃣ Volatility-Aware Filtering — SD bands prevent false entries
3️⃣ Visual Trend Mapping — Gradient fills + candle coloring for clean charts
4️⃣ Highly Customizable — Adapt to your timeframe, style, and volatility
📌 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.