MTF MACD 4-Color Momentum System🎯 Overview
The MTF MACD 4-Color Momentum System is an advanced MACD indicator that provides crystal-clear momentum visualization through an innovative 4-color state system. Unlike traditional MACD indicators that only show positive/negative values, this indicator identifies four distinct market states to help traders make more informed decisions.
📊 Key Features
1. Four-State Color System:
🟢 Lime: Above zero + Rising (Strong Bullish Momentum)
🟢 Dark Green: Above zero + Falling (Weakening Bullish Momentum)
🔴 Red: Below zero + Falling (Strong Bearish Momentum)
🔴 Maroon: Below zero + Rising (Weakening Bearish Momentum)
2. Multi-Timeframe Analysis:
View higher timeframe MACD on lower timeframe charts
Confirm trends across multiple timeframes
Reduce false signals with multi-timeframe confluence
3. Flexible Display Options:
Three visualization styles: Histogram, Columns, or Line
Toggle individual color states on/off
Customizable colors and line widths
4. Advanced Features:
Optional histogram smoothing to reduce noise
Zero-cross alerts with visual markers
Color state change alerts
Real-time value display
Customizable signal line overlay
💡 How to Use
1. Momentum Identification:
Lime bars indicate strong upward momentum - ideal for long entries
Dark green suggests momentum is slowing - consider taking profits
Red bars show strong downward momentum - ideal for short entries
Maroon indicates potential reversal brewing - prepare for direction change
2. Zero Line Crosses:
Blue triangles mark bullish crosses above zero
Pink triangles mark bearish crosses below zero
Use these as confirmation signals with other indicators
3. Multi-Timeframe Confirmation:
Set to higher timeframe (e.g., 4H on 15m chart)
Look for alignment between timeframes before entering trades
Avoid trades against higher timeframe momentum
⚙️ Settings Guide
MACD Parameters:
Fast EMA: 12 (default) - Adjust for more/less sensitivity
Slow EMA: 26 (default) - Standard MACD setting
Signal: 9 (default) - Smoothing period
Display Customization:
Choose between Histogram, Columns, or Line display
Enable/disable specific color states
Adjust visual properties to match your chart theme
Alerts:
Zero cross alerts for trend changes
Color state alerts for momentum shifts
📈 Trading Strategies
1. Momentum Continuation:
Enter longs when MACD turns lime (above zero + rising)
Enter shorts when MACD turns red (below zero + falling)
Exit when color shifts to "weakening" state
2. Reversal Trading:
Watch for maroon in downtrends (potential bottom)
Watch for dark green in uptrends (potential top)
Confirm with price action and support/resistance
3. Multi-Timeframe Confluence:
Use daily MACD on 1H chart for trend direction
Enter on lower timeframe signals in direction of higher timeframe
Avoid counter-trend trades when higher timeframe shows strong momentum
🎓 Pro Tips
Combine with volume indicators for confirmation
Use with support/resistance levels for better entries
Enable smoothing in choppy markets to reduce false signals
Pay attention to divergences between price and MACD
⚠️ Risk Disclaimer
This indicator is for educational purposes only. Always use proper risk management and combine with other analysis methods. Past performance does not guarantee future results.
Medie mobili
RSI SwingRadar🧠 Strategy Overview
This long-only strategy combines RSI/MA crossovers with ATR-based risk management, designed for cleaner entries during potential bounce phases — especially tuned for assets like XMR/USDT.
🔍 Core Logic:
- RSI Crossover: Entry occurs when the 14-period RSI crosses above its 14-period SMA, signaling a potential shift in momentum.
- Oversold Filter: The RSI must have been below a user-defined oversold threshold (default: 35) on the previous candle, filtering for bounce setups after a pullback.
- ATR-Based Stop/Target: Stop-loss is placed below the low by a user-adjustable ATR multiplier (default: 0.5×). Take-profit is calculated with a Risk:Reward multiplier (default: 4×).
These elements work in tandem — RSI crossovers give momentum confirmation, oversold filtering adds context, and ATR-based exits adapt to volatility, creating a compact yet responsive strategy.
📉 Visuals:
- Dynamic Bands: The chart displays the active stop-loss, entry price, and take-profit as colored bands for easy visual tracking.
- Clean Overlay: Designed with simplicity — only confirmed setups are shown, keeping noise low.
✅ Suggested Use:
- Works best on XMR/USDT or similarly trending assets.
- Best suited for pullback entries during broader uptrends.
- Adjustable for different volatility conditions and asset behaviors.
⚠️ Disclaimer
- This strategy is for educational and research purposes only.
- It does not guarantee profitability in any market.
- Always backtest, forward-test, and understand your own risk tolerance before using any
strategy in a live environment.
- Past performance is not indicative of future results.
- This script is not financial advice.
Hull Moving Average RibbonGradient Wave HMA - Multi-Ribbon Hull Moving Average System
Overview
The Gradient Wave HMA is an advanced technical indicator that transforms Alan Hull's Hull Moving Average (HMA) into a dynamic multi-layered ribbon system. Unlike traditional moving average ribbons that use simple or exponential calculations, this indicator applies Hull's innovative lag-reduction formula across 12 different timeframes simultaneously, creating a visually striking gradient effect that flows with market momentum.
Technical Foundation
This indicator is built upon the Hull Moving Average, developed by Alan Hull in 2005. The HMA uses a weighted moving average calculation designed to almost eliminate lag while maintaining curve smoothness:
HMA = WMA(2*WMA(n/2) − WMA(n), sqrt(n))
Credit: Alan Hull (www.alanhull.com)
Key Features
Multi-Period Ribbon Structure
12 individual HMA lines with customizable periods
Preset configurations for different trading styles:
Fast: 3-30 period range (scalping/intraday)
Swing: 8-55 period range (swing trading)
Position: 20-100 period range (position trading)
Custom: User-defined periods
2. Neon Gradient Visualization
Bullish Gradient: Transitions from blue-purple to hot purple
Bearish Gradient: Flows from hot pink to purple-pink
Each line has a unique color in the spectrum
Gradient fills between lines create depth and visual flow
3. Advanced Alert System
Trend Reversal Alerts: Notifies when ribbon changes direction
Price Breakout Alerts: Triggers when price crosses the ribbon
Compression Alerts: Signals potential breakouts during consolidation
Expansion Alerts: Confirms strong trending conditions
Momentum Surge Alerts: Catches explosive moves early
How It Works
The indicator calculates 12 Hull Moving Averages, each with a different period length. The trend direction is determined by the middle HMA (6th line), which triggers the color change across the entire ribbon. When trending up, the ribbon displays a purple gradient; when trending down, it shifts to a pink gradient.
Trading Applications
1. Trend Identification
Ribbon color indicates overall trend direction
All lines moving in sync confirms strong trend
Mixed signals suggest choppy or transitioning markets
2. Dynamic Support/Resistance
In uptrends, the ribbon acts as moving support
In downtrends, it provides resistance levels
Multiple layers offer various strength levels
3. Momentum Analysis
Expanding ribbon = Increasing momentum
Contracting ribbon = Decreasing momentum/consolidation
Ribbon angle indicates trend strength
4. Trading Example
Advantages Over Traditional MAs
Reduced Lag: Hull's formula provides faster response than SMA/EMA ribbons
Visual Clarity: Gradient effect makes trend changes immediately visible
Multiple Timeframes: 12 periods provide comprehensive market view
Flexibility: Presets adapt to different trading styles
Best Practices
Use higher timeframes (4H, Daily) for position trading
Combine with volume indicators for confirmation
Watch for ribbon compression before major moves
Consider overall market conditions when interpreting signals
Customization Options
Adjust individual HMA periods
Fine-tune transparency for different backgrounds
Choose between WMA and EMA base calculations
The Gradient Wave HMA combines Alan Hull's breakthrough moving average formula with modern visualization techniques to create a powerful trend-following tool that's both technically sophisticated and visually intuitive.
NoNoiseMA & SlopeHappy trade,
This is a noise-reduced moving average — let's call it the No-Noise MA. A MA where false breakout price action should have little to no impact, while the main trend remains fully represented. In comparison to previous MAs this one's trend appear more linear, and sideways price actions becomes easier to detect thanks to it's unique two filter stages.
In short, the No-Noise-MA (Noise-Reduced Moving Average) is calculated as the cumulative sum of the slopes derived from the center line of the last x pivot points. Let’s break it down step by step:
Pivot Detection:
A pivot algorithm (an adapted variant of the Bilson-Gann-Count method) identifies consecutive pivot points (high, low, high, low, etc.) in the close price series. Let's call this set of Pivots S.
Center Line Calculation:
Out of the set S the last x pivots are used to compute a center line (linear regression line). Always when a new pivot is confirmed, the oldest pivot in the queue is removed, and the new pivot is added.
Slope Extraction:
The center line is defined by its equation shown in the image below
Image 1
Cumulative Slope Sum:
As shown in the image 1 the slope is a series with values around zero. The No-Noise-MA is then just the cumulative sum of the slope series and a correction term. A correction term is needed otherwise the No-Noise-MA would run away over time from the original close price. The correction term is just the deviation between close price and cumulative slope sum multiply with a factor around 0.01 added to the No-Noise-MA.
Noise Reduction:
The goal of noise reduction is done by two filter stages. First Filter is the reduction of the input values. As shown above not all bars close prices are use, instead it uses just the pivot points delivered by the Bilson-Gann-Count method. Favorable the Bilson-Gann-Count method delivers the Pivot points in most cases much faster as other Pivot methods. Already after two bars a new Pivot is confirmed. This takes out all ups and downs between two consecutive Pivots. This first filter stage is legit because all price action in between is hedged by the Pivots.
The second filter stage is the done by the length of the center line. As more pivots are used to calculate the center line as smoother the slope becomes. Out liners just gets less impact if the base is bigger. So the number of involved Pivots has the same meaning as the lengths in any other MA.
Comparison with usual MAs:
For a comparison with other MAs this script also calculate the average lengths of the center line, shown in the upper right chart. So choose for example SMA and set the length parameter to the average length of the center line. As shown in the following image 2.
Image 2
This way both MAs have the same data base and can be objectively compared.
Trend detection:
The slope of the center line can be used for trend confirmation. A slope bigger then zero is an up trend while a slope smaller then zero is a down trend. And side way price action is indicated when the slope is around zero within a certain threshold.
Image 3
One hint should be mentioned here. The side way section gets indicated much later. About the number of bars as the center line is long. Before that there are just up or down trend predicted. In the image 2 you see the slope is firstly tin and as more bars past by the slope becomes more thick. This should indicate the point where no side way predictions will happens anymore.
Variation of calculation
In the settings menu you can find the setting "Include last close to center line". With this activated the center line is calculated with the last pivots and the last close price. The last close price is assumed as a pivot too. This gives the slope a more early reaction to volatile price action. But also brings back some noise.
Custom Paul MACD-likePaul MACD is an indicator created by David Paul. It is implemented to effectively represent trend periods and non-trend (sideways/consolidation) periods, and its calculation method is particularly designed to reduce whipsaw.
Unlike the existing MACD which uses the difference between short-term (12) and long-term (26) exponential moving averages (EMA), Paul MACD has a different calculation method. This indicator uses a "center value" or "intermediate value". Calculation occurs when this intermediate value is higher than the High value (specifically, the difference between the center and High is calculated) or lower than the Low value (specifically, the difference between the center and Low is calculated). Otherwise, the value becomes 0. Here, the High and Low values are intended to be smoothly reflected using Smoothed Moving Average (SMMA). The indicator's method itself (using SMMA and ZLMA) is aimed at diluting whipsaws.
Thanks to this calculation method, in sections where whipsaw occurs, meaning when the intermediate value is between High and Low, the indicator value is expressed as 0 and appears as a horizontal line (zero line). This serves to visually clearly show sideways/consolidation periods.
21-Day Trend Direction📈 21-Day Trend Direction Indicator
📊 How It Works:
🎯 Trend Detection Logic:
Analyzes last 21 daily candles
Calculates total price change from start to end
Compares against sideways threshold (default 2%)
Counts bullish vs bearish days
Tracks higher highs and lower lows
📈 Trend Classifications:
• 📈 UPTREND: Price change > +2% over 21 days
• 📉 DOWNTREND: Price change < -2% over 21 days
• ➡️ SIDEWAYS: Price change between -2% and +2%
💪 Trend Strength Levels:
• 🔥 Very Strong: >5% price change
• 💪 Strong: 3-5% price change
• 📊 Moderate: 1.5-3% price change
• 📉 Weak: <1.5% price change
🎨 Visual Features:
📋 Information Table Shows:
• Trend Direction with color coding
• Price Change % over 21 days
• Trend Strength classification
• Bull/Bear Days count
• Higher Highs/Lower Lows count
• Analysis Period (customizable)
📊 Chart Indicators:
• Trend Line (21-day moving average)
• Background Color for quick trend identification
• Trend Arrows (▲ ▼ ➡) on chart
• Customizable display options
⚙️ Customizable Settings:
🎯 Analysis Settings:
• Lookback Days: 5-50 days (default: 14)
• Sideways Threshold: 0.5-10% (default: 2%)
• Trend Strength: Low/Medium/High sensitivity
🎨 Display Options:
• Table Position: 9 different positions
• Table Size: Tiny to Large
• Show/Hide: Table, Trend Line, Background, Arrows
🚨 Alert Options:
• Trend Change to Uptrend
• Trend Change to Downtrend
• Trend Change to Sideways
This indicator gives you a clear, objective view of the 21-day trend with multiple confirmation signals! 🚀
SMA Zone with Breakouts/Tests 1.0.This indicator plots a dynamic “SMA Zone” between two simple moving averages (one applied to lows, one to highs) and highlights key interaction points with the zone:
Breakouts
Bull Break: price closes above the upper SMA
Bear Break: price closes below the lower SMA
Requires confirmation via either above-average volume or an unusually wide bar (spread > ATR) closing near its extreme
Tests & Retests
After a breakout, the first re-entry into the zone edge is labeled “Test,” subsequent re-entries are numbered “Retest,” “2nd Retest,” etc.
Zone Weakening: each additional Test/Retest signifies diminished zone strength—fewer reliable boundaries remain (Traditional S/R theory)
Alerts
Fires a unified “Zone Signal” alert on every Break, Test, and Retest (set condition to “Any alert() function call”).
Disclaimer:
This is not financial advice and should not be used as a standalone trading signal.
It’s designed to draw your attention to important price-zone interactions so you can manually tune in.
The logic can be further enhanced or combined with other indicators/algorithms as part of a more complex trading system.
Smooth BTCSPL [GiudiceQuantico] – Dual Smoothed MAsSmooth BTCSPL – Dual Smoothed MAs
What it measures
• % of Bitcoin addresses in profit vs loss (on-chain tickers).
• Spread = profit % − loss % → quick aggregate-sentiment gauge.
• Optional alpha-decay normalisation ⇒ keeps the curve on a 0-1 scale across cycles.
User inputs
• Use Alpha-Decay Adjusted Input (true/false).
• Fast MA – type (SMA / EMA / WMA / VWMA) & length (default 100).
• Slow MA – type & length (default 200).
• Colours – Bullish (#00ffbb) / Bearish (magenta).
Computation flow
1. Fetch daily on-chain series.
2. Build raw spread.
3. If alpha-decay enabled:
alpha = (rawSpread − 140-week rolling min) / (1 − rolling min).
4. Smooth chosen base with Fast & Slow MAs.
5. Bullish when Fast > Slow, bearish otherwise.
6. Bars tinted with the same bull/bear colour.
How to read
• Fast crosses above Slow → rising “addresses-in-profit” momentum → bullish bias.
• Fast crosses below Slow → stress / capitulation risk.
• Price-indicator divergences can flag exhaustion or hidden accumulation.
Tips
• Keep in a separate pane (overlay = false); bar-colouring still shows on price chart.
• Shorter lengths for swing trades, longer for macro outlook.
• Combine with funding rates, NUPL or simple price-MA crossovers for confirmation.
MNQ EMA StrategyThis strategy is not perfected yet. ONE MINUTE TIMEFRAME
The goal is to take Longs above the 5 ema when price is above all the 200, 30, and 5 ema.
Short side is when candle closes below the 5 ema and price is below the 300, 30, and 5 ema.
I use candle range blocks for different time zones to avoid excess orders from being triggered. As well as blocks when stoploss is hit or after a profitable trade of certain ticks.
There is an RSI to avoid trades when there isn't too much movement.
My goal is to get an entry when price trades above the 5 ema and then next candle passes it by .25 instead of entering immediately. The stoploss as the low of candle before entry and TP as 3 times the stoploss. I've tried a million times to make it like this but I don't know how to use pine script or Code.
The sell side is basically the same, enter at candle close below 5 ema wait for low to get swept to enter and stoploss above previous high, with TP 3 times the stoploss.
Publishing in hopes anyone knows how to adjust this
CAUTION THIS STRATEGY WORKS WITH CURRENT PRICE ACTION DUE TO ME USING RECENT TICK COUNT RATHER THAN BASED ON CANDLES OR PERCENTAGES. THIS WILL ONLY WORK AS LONG AS MARKET MOVES AS IT HAS BEEN SINCE 2024. CME_MINI:MNQ1!
Hull MA Channel with Filtered CrossoversI've created an indicator that let's you create a HMA channel with 2 displaced HMA (A/B). As well as a HMA crossover set (C/D).
Here's how it works:
The HMA crossovers from C and D will not signal unless they are outside of the channel of A and B. As a matter of fact, NO buy signal whatsoever will occur above the channel and NO sell signal will occur below the channel.
The crossover HMA pair (C/D) can have their lengths adjusted to the 0.00 decimal point for VERY fine tuning of the crossovers.
(edit-it doesn't fine tune to the .00. This must not be a feature that is able to be utilized. I tried) The length adjustment still works to the nearest whole number. The .00 are mute :(
In keeping with that same logic, you can adjust the displacement of the channel independently to the 0.00 decimal, again for VERY fine tuning.
This is great for reversals while eliminating noise from false signals, keeping the chart nice and clean. Should be used in combination with other indicators for the best confirmations.
EMA5/21 + VWAP + MACD HistogramScript Summary: EMA + VWAP + MACD + RSI Strategy
Objective: Combine multiple technical indicators to identify market entry and exit opportunities, aiming to increase signal accuracy.
Indicators Used:
EMAs (Exponential Moving Averages): Periods of 5 (short-term) and 21 (long-term) to identify trend crossovers.
VWAP (Volume Weighted Average Price): Serves as a reference to determine if the price is in a fair value zone.
MACD (Moving Average Convergence Divergence): Standard settings of 12, 26, and 9 to detect momentum changes.
RSI (Relative Strength Index): Period of 14 to identify overbought or oversold conditions.
Entry Rules:
Buy (Long): 5-period EMA crosses above the 21-period EMA, price is above VWAP, MACD crosses above the signal line, and RSI is above 40.
Sell (Short): 5-period EMA crosses below the 21-period EMA, price is below VWAP, MACD crosses below the signal line, and RSI is below 60.
Exit Rules:
For long positions: When the 5-period EMA crosses below the 21-period EMA or MACD crosses below the signal line.
For short positions: When the 5-period EMA crosses above the 21-period EMA or MACD crosses above the signal line.
Visual Alerts:
Buy and sell signals are highlighted on the chart with green (buy) and red (sell) arrows below or above the corresponding candles.
Indicator Plotting:
The 5 and 21-period EMAs, as well as the VWAP, are plotted on the chart to facilitate the visualization of market conditions.
This script is a versatile tool for traders seeking to combine multiple technical indicators into a single strategy. It can be used across various timeframes and assets, allowing adjustments according to the trader's profile and market characteristics.
Juliano Einhardt Ulguim, Brazil, 05/27/2025.
Precision Entry Signals (RSI + MA12 Logic)Description:
This script provides precise entry signals based on a clean confluence of MA12 breakouts and RSI momentum, filtered by a VWMA (Volume-Weighted Moving Average) of the RSI.
-----------------------------------------------------------------------------------------------------------------
🔹 Long entry conditions:
- Candle opens below the 12-period MA and closes above it
- RSI crosses above its VWMA
- Previous candle is bearish (additional confirmation)
🔹 Short entry conditions:
- Candle opens above the 12-period MA and closes below it
- RSI crosses below its VWMA
- Previous candle is bullish
----------------------------------------------------------------------------------------------------------------
Once a signal is confirmed, the script automatically draws:
Entry line (at close price)
Stop Loss line (just below recent lows for long, or above highs for short)
Take Profit 1 (1R)
Take Profit 2 (2R)
Labels are attached to the lines for clarity: ENTRY, SL, TP1, and TP2.
⚠️ Note: This tool only provides entry signals and visual risk/reward guidance. It does not manage exits dynamically. Manual trade management is recommended.
This script is intended for active intraday traders, especially on lower timeframes like 3-minute, 5-minute or 15-minute charts.
---------------------------------------------------------------------------------------------------------------
🔧 Recommended companion indicator:
For better confirmation and visual tracking of the RSI/VWMA cross logic, it is strongly recommended to also use the companion script:
🔹 Relative Strength Index (with MA based cross signals)
→ Shows RSI and its moving average visually, with triangle plots on every valid cross.
→ Matches exactly the RSI/VWMA behavior used in this entry signal script.
📌 Important:
After adding the RSI script to your chart, make sure to set:
RSI Length = 14
MA Type = VWMA
MA Length = 20
This ensures it visually matches the logic used by the entry signal script.
Both indicators are fully open source and meant to be used together — especially when trading manually.
Hammer + EMA Strategy with Tick-based SL/TPWhat This Script Does:
Detects Hammer (bullish reversal) and Inverted Hammer (bearish reversal) patterns
Requires a simple trend context (using 2 bars back)
Confirms price position relative to EMA 50
Applies tick-based SL and TP
Plots buy/sell signals on chart with emoji labels
Moving Average Deviation Rate with MA TypeJapanese below / 日本語説明は下記
This indicator displays moving average deviation rate with the ability to select moving average type with signals and alerts.
Price and moving average have the characteristics that when the price moves away from the moving average, it moves back to the moving average.
Example:
In the chart below, when the deviation rate increases to 2%(green circle), price momentum gradually decreases and it moves back to the moving average.
Taking advantage of this characteristic, traders can make decisions to take profit and/or take contrarian trades.
Signals can be displayed either on main chart or sub chart when the deviation rate crosses over/under upper/lower band.
Alert can be set with the same condition as the signals.
----------------------
移動平均線乖離率を表示することのできるインジケーターです。
移動平均線タイプを選択できる他、乖離率とアッパーバンド/ロワーバンドとのクロスでシグナルを表示することができます。
価格と移動平均線には、価格が移動平均線から乖離すると、再び移動平均線まで戻ってくるという特徴があります。
この特徴を利用することで、トレーダーは利益確定のタイミングや逆張りでポジションを取るタイミングを図ることができます。
例
以下のチャートでは乖離率が2%付近(黄緑の丸)まで上昇すると、価格の上昇の勢いが衰えて再び移動平均線まで戻っていることが確認できます。
乖離率とアッパーバンド/ロワーバンドがクロスした時に、メインチャートまたはサブチャートのいずれかにシグナルを表示することが可能です。
また、同じ条件でアラートを設定することもできます。
Enhanced TEMA with Decimal PeriodsImagine you have a special type of moving average line called a TEMA (Triple
Moving Average). A TEMA is designed to be even quicker to react to price changes than a regular EMA (Exponential Moving Average), helping traders spot trends faster.
What this script does:
Super-Precise TEMA Length:
Normally, when you set the "length" or "period" for a moving average, you use whole numbers (like 10 days, 20 days).
This script lets you be more precise and use decimal numbers for the TEMA's length (like 26.0 days, or even 26.7 days). This allows for very fine-tuning.
How it gets the "Decimal" EMA part (if you choose to use it):
If you want a TEMA with a length of, say, 26.7:
The script first needs to calculate EMAs with a length of 26.7.
To do this, it cleverly calculates two regular EMAs: one with a length of 26 and another with a length of 27 (the whole numbers just below and above 26.7).
Then, it blends these two EMAs. Since 26.7 is closer to 27, it takes more from the "27-period EMA" and a bit less from the "26-period EMA." This mix gives you an EMA that acts like it has a 26.7 period.
Building the TEMA:
A TEMA isn't just one EMA. It's made by taking an EMA of an EMA, and then an EMA of that. It's like smoothing the line multiple times, but in a special mathematical way to make it faster.
So, this script:
-Calculates the first "decimal EMA" (e.g., for 26.7).
-Calculates another "decimal EMA" of that first EMA line (again, using 26.7).
-Calculates a third "decimal EMA" of the second EMA line (still using 26.7).
Finally, it combines these three EMAs using a special TEMA formula to get the final, quick-reacting TEMA line.
Option to Switch Off Decimals:
There's a setting ("Use Decimal Periods"). If you turn this off, the script will just use regular whole-number EMAs to build the TEMA (it will round down your decimal input, so 26.7 would become 26).
Plotting:
The final "Enhanced TEMA" line is drawn on your price chart.
In Simple Terms:
This script gives you a TEMA (a fast-moving average) that you can set up with very precise decimal lengths (like 26.7 instead of just 26 or 27).
It does this "decimal magic" by smartly blending two regular EMAs. You can also choose to use it like a normal TEMA with whole numbers if you prefer. The goal is to give traders a very responsive trend-following line that can be fine-tuned to a high degree of precision.
magic wand STSM"Magic Wand STSM" Strategy: Trend-Following with Dynamic Risk Management
Overview:
The "Magic Wand STSM" (Supertrend & SMA Momentum) is an automated trading strategy designed to identify and capitalize on sustained trends in the market. It combines a multi-timeframe Supertrend for trend direction and potential reversal signals, along with a 200-period Simple Moving Average (SMA) for overall market bias. A key feature of this strategy is its dynamic position sizing based on a user-defined risk percentage per trade, and a built-in daily and monthly profit/loss tracking system to manage overall exposure and prevent overtrading.
How it Works (Underlying Concepts):
Multi-Timeframe Trend Confirmation (Supertrend):
The strategy uses two Supertrend indicators: one on the current chart timeframe and another on a higher timeframe (e.g., if your chart is 5-minute, the higher timeframe Supertrend might be 15-minute).
Trend Identification: The Supertrend's direction output is crucial. A negative direction indicates a bearish trend (price below Supertrend), while a positive direction indicates a bullish trend (price above Supertrend).
Confirmation: A core principle is that trades are only considered when the Supertrend on both the current and the higher timeframe align in the same direction. This helps to filter out noise and focus on stronger, more confirmed trends. For example, for a long trade, both Supertrends must be indicating a bearish trend (price below Supertrend line, implying an uptrend context where price is expected to stay above/rebound from Supertrend). Similarly, for short trades, both must be indicating a bullish trend (price above Supertrend line, implying a downtrend context where price is expected to stay below/retest Supertrend).
Trend "Readiness": The strategy specifically looks for situations where the Supertrend has been stable for a few bars (checking barssince the last direction change).
Long-Term Market Bias (200 SMA):
A 200-period Simple Moving Average is plotted on the chart.
Filter: For long trades, the price must be above the 200 SMA, confirming an overall bullish bias. For short trades, the price must be below the 200 SMA, confirming an overall bearish bias. This acts as a macro filter, ensuring trades are taken in alignment with the broader market direction.
"Lowest/Highest Value" Pullback Entries:
The strategy employs custom functions (LowestValueAndBar, HighestValueAndBar) to identify specific price action within the recent trend:
For Long Entries: It looks for a "buy ready" condition where the price has found a recent lowest point within a specific number of bars since the Supertrend turned bearish (indicating an uptrend). This suggests a potential pullback or consolidation before continuation. The entry trigger is a close above the open of this identified lowest bar, and also above the current bar's open.
For Short Entries: It looks for a "sell ready" condition where the price has found a recent highest point within a specific number of bars since the Supertrend turned bullish (indicating a downtrend). This suggests a potential rally or consolidation before continuation downwards. The entry trigger is a close below the open of this identified highest bar, and also below the current bar's open.
Candle Confirmation: The strategy also incorporates a check on the candle type at the "lowest/highest value" bar (e.g., closevalue_b < openvalue_b for buy signals, meaning a bearish candle at the low, suggesting a potential reversal before a buy).
Risk Management and Position Sizing:
Dynamic Lot Sizing: The lotsvalue function calculates the appropriate position size based on your Your Equity input, the Risk to Reward ratio, and your risk percentage for your balance % input. This ensures that the capital risked per trade remains consistent as a percentage of your equity, regardless of the instrument's volatility or price. The stop loss distance is directly used in this calculation.
Fixed Risk Reward: All trades are entered with a predefined Risk to Reward ratio (default 2.0). This means for every unit of risk (stop loss distance), the target profit is rr times that distance.
Daily and Monthly Performance Monitoring:
The strategy tracks todaysWins, todaysLosses, and res (daily net result) in real-time.
A "daily profit target" is implemented (day_profit): If the daily net result is very favorable (e.g., res >= 4 with todaysLosses >= 2 or todaysWins + todaysLosses >= 8), the strategy may temporarily halt trading for the remainder of the session to "lock in" profits and prevent overtrading during volatile periods.
A "monthly stop-out" (monthly_trade) is implemented: If the lres (overall net result from all closed trades) falls below a certain threshold (e.g., -12), the strategy will stop trading for a set period (one week in this case) to protect capital during prolonged drawdowns.
Trade Execution:
Entry Triggers: Trades are entered when all buy/sell conditions (Supertrend alignment, SMA filter, "buy/sell situation" candle confirmation, and risk management checks) are met, and there are no open positions.
Stop Loss and Take Profit:
Stop Loss: The stop loss is dynamically placed at the upTrendValue for long trades and downTrendValue for short trades. These values are derived from the Supertrend indicator, which naturally adjusts to market volatility.
Take Profit: The take profit is calculated based on the entry price, the stop loss, and the Risk to Reward ratio (rr).
Position Locks: lock_long and lock_short variables prevent immediate re-entry into the same direction once a trade is initiated, or after a trend reversal based on Supertrend changes.
Visual Elements:
The 200 SMA is plotted in yellow.
Entry, Stop Loss, and Take Profit lines are plotted in white, red, and green respectively when a trade is active, with shaded areas between them to visually represent risk and reward.
Diamond shapes are plotted at the bottom of the chart (green for potential buy signals, red for potential sell signals) to visually indicate when the buy_sit or sell_sit conditions are met, along with other key filters.
A comprehensive trade statistics table is displayed on the chart, showing daily wins/losses, daily profit, total deals, and overall profit/loss.
A background color indicates the active trading session.
Ideal Usage:
This strategy is best applied to instruments with clear trends and sufficient liquidity. Users should carefully adjust the Your Equity, Risk to Reward, and risk percentage inputs to align with their individual risk tolerance and capital. Experimentation with different ATR Length and Factor values for the Supertrend might be beneficial depending on the asset and timeframe.
BVB dominance bars
Hello everyone, this is my first indicator. these candles shows you who's in control. I like to think its some what close to heikin ashi candles as it shows you the Trend but doesn't average it out. also shows you when there is indecision. please read the instructions on how it works. its not a stand alone strategy. but adds value to your own strategy.
📖 How It Works
The BvB Dominance Bars indicator is a visual tool that colors candles based on market control—whether bulls or bears are in charge. It uses a custom metric comparing the price's relationship to a smoothed moving average (EMA), then normalizes that difference over time to express relative bullish or bearish pressure.
Here’s the breakdown:
Bulls vs Bears Logic:
A short-term EMA (default: 14-period) is used to establish a midpoint reference.
Bull Pressure is calculated as how far the high is above this EMA.
Bear Pressure is how far the low is below this EMA.
These are normalized over a lookback period (default: 120 bars) to produce percentile scores (0–100) for both bulls and bears.
Dominance & Color Coding:
The indicator compares normalized bull and bear scores.
Candles are color-coded based on:
Bright Lime: Strong Bull Dominance (with high confidence)
Soft Lime/Yellow: Moderate Bull Control
Bright Red: Strong Bear Dominance
Soft Red/Yellow: Moderate Bear Control
Gray: Neutral/Low conviction
Optional Live Label:
A small floating label shows who has control: “Bull Control,” “Bear Control,” or “Neutral.”
🧠 How to Use It (Example Strategy)
The BvB Dominance Bars indicator is not a standalone buy/sell signal but a market sentiment overlay. It’s most effective when combined with your own strategy, like price action or trend-following tools.
Here’s an example use case:
🧪 Reversal Confirmation Strategy
Objective: Catch high-probability reversals during key kill zones or supply/demand levels.
Setup:
Mark your key support/resistance zones using your standard method (e.g., FVGs, liquidity sweeps, or ICT PD arrays).
Wait for price to reach one of these zones.
Watch candle colors from the BvB Dominance Bars:
If you expect a bullish reversal, wait for a transition from red/gray candles to lime green or bright lime (bullish dominance taking over).
If you expect a bearish reversal, look for a change from green/gray to red or bright red.
Entry Filter:
Only enter if the dominant color holds for 2+ candles.
Avoid trades when candles are gray or yellow (indecision/neutral).
Exit Option:
Exit if dominance shifts against you (e.g., from lime to red), or use structure-based stops.
⚙️ Settings You Can Adjust:
BvB Period: Controls how fast EMA responds.
Bars Back: Determines how long the normalization looks back.
Thresholds: Influence how strong the dominance must be to change candle color.
✅ Best Used When:
You already have a bias and just want a confirmation of sentiment.
You're trading intraday and want a feel for shifting momentum without relying on noisy indicators.
You want a clean, color-coded overlay to help filter out fakeouts and indecision.
Trucker Doug Master Indicator for Making Money📈 Trucker Doug Master Indicator for Making Money™
This all-in-one indicator was built for speed, clarity, and dominance — designed by a trader, for traders who hate fluff and want to get paid.
🔥 What It Does:
TP/SL/R:R Overlay: Automatically plots entry, stop-loss, and 5 take-profit levels (including a "TP LAMBO" target) based on your custom ATR multiplier and risk percentage. Each TP level includes its R:R ratio, so you can instantly see if the trade is worth it.
Live Volume Analysis: Displays Relative Volume (RVOL) as a percentage, with color-coded states (red = weak, black = neutral, yellow = increasing, green = explosive). Also shows average volume for context.
ATR Value: Dynamically calculated and displayed so you always know your volatility baseline.
MACD & RSI Values: Shown in the overlay box for a quick read — no extra indicators cluttering your chart.
EMA/SMA Lines: Clean, adjustable moving averages (default: EMA 5, EMA 9, SMA 50) plotted directly on the chart.
Fuse Visual Explainer™: Marks EMA 5 crossing EMA 9 (colored dot) and EMA 5 crossing SMA 50 (black X) directly where they intersect. Helps you visually confirm momentum or momentum reversals in real time.
⚙️ Fully Customizable in Settings:
Toggle on/off: TP lines, the volume/ATR table, EMA/SMA lines, RSI/MACD display, Fuse visuals.
Adjust:
TP multipliers (TP1–TP4, Lambo)
Stop-loss offset %
ATR period
Volume average period
Line colors for each TP level, SL, entry, and even the R:R label
Table text size and position
TP/SL line length (how far it stretches left/right)
💡 Why It’s Awesome:
No more layering 5 indicators. No more eyeballing risk-to-reward. No more guessing if volume is legit. This is a precision tool for real traders.
Built for those who are tired of chart noise and want everything that matters — clean, calculated, and completely in your control.
5 DMA (Close Above) Buy5 DMA (Close Above) Buy
This indicator identifies momentum-based breakout signals when a green candle closes above the 5-day Simple Moving Average (5DMA) for the first time after price was previously below it.
🔹 Signal Logic:
The script plots a green arrow below the candle when a bullish candle (close > open) closes above the 5DMA
Signals are only shown once per trend leg
The signal resets only after price closes back below the 5DMA
🔔 Built-in Alerts:
Use the included alert condition: "Buy Alert" to be notified in real time whenever a valid signal occurs.
This tool is ideal for traders seeking simple price-action confirmations to catch early trend continuation after pullbacks.
Parabolic-Fibonacci MA ForecastThis indicator displays a series of projected price levels based on Fibonacci moving averages. For each selected Fibonacci period, it calculates a simple moving average (SMA) and mirrors the distance from the current price to that SMA in the opposite direction, creating a vertical forecast distance. These forecast distances are drawn forward into the future using geometric spacing (squared increments: 1², 2², 3², etc.), creating a fan-like or polyline visual structure.
Users can choose between three display modes:
Fan: Lines drawn from the current price to projected values at increasing intervals
Polyline: Forecast points connected to form a jagged projection path
Both: Displays both fan and polyline structures simultaneously
Options are provided to adjust the number of Fibonacci lines (up to 12), line width, and colors for lines above/below price or up/down slope.
This tool can help visualize directional price tendencies using multiple SMA-based forecasts in a spatially meaningful layout.
Leslie's EMA Ribbon: 5/9/21 + VWAPEMA + VWAP Crossover Indicator with Alerts
This script blends three Exponential Moving Averages (5, 9, 21) with VWAP to identify momentum shifts and volume-confirmed trend signals. It’s optimized for the Daily timeframe, but also adaptable to shorter-term trading.
🔍 Why this combination?
EMAs provide fast and reliable trend signals:
- 5/9 EMA crossover → short-term shifts (more frequent)
- 9/21 EMA crossover → swing confirmation (less noise)
- VWAP adds volume context used by institutions for fair value tracking.
- 9EMA crossing VWAP confirms price action supported by volume.
Together, these tools offer a multi-layered view of market momentum — combining speed, confirmation, and conviction.
⚙️ Features:
Clean plots with dynamic labels on latest bar
Adjustable line weights for clarity
Alerts included for all crossovers:
- 5EMA / 9EMA
- 9EMA / 21EMA
- 9EMA / VWAP
✅ How to Use:
- Best on the Daily timeframe
- Use 5/9 as early signals, 9/21 for trend filtering, and 9/VWAP for volume-backed setups
- Turn on alerts to stay informed of key shifts without staring at charts
Decimal EMAImagine you want a moving average line, but you want its "length" or "period" to be super precise, like 2.7 days instead of just 2 days or 3 days.
This script lets you do that. Here's the simple idea:
You Pick a Decimal Number: In the settings, you can type in a period with a decimal, say, 2.7.
The Script Does a Smart Blend:
It first calculates two regular EMAs: one for the whole number below your choice (EMA for 2 days) and one for the whole number above (EMA for 3 days).
Then, it cleverly mixes these two EMA lines. Since 2.7 is closer to 3 than to 2, it takes more from the "3-day EMA" and a bit less from the "2-day EMA." (Specifically, it takes 70% from the 3-day EMA and 30% from the 2-day EMA).
You Get a Decimal EMA Line: The result is a new EMA line that acts as if its period was exactly 2.7. This line is drawn on your chart.
Why do this?
It allows for very fine-tuned adjustments to how responsive your moving average is, giving a smoother change if you're testing slightly different period lengths.
In Short:
This script calculates an EMA for a period like "2.7" by intelligently blending the results of an EMA for "2" and an EMA for "3".
Hybrid Adaptive Momentum Average (HAMA)Hybrid Adaptive Momentum Average (HAMA)
Imagine you want a moving average line on your chart that's usually smooth but gets really quick to follow the price when the market suddenly makes a big, fast move. That's what HAMA tries to be.
Here's the simple breakdown:
Slightly Better Starting Price: Instead of just using the closing price, HAMA first creates a slightly "smarter" starting price by giving a bit more importance to the very latest prices (like a quick WMA).
Checks Market Speed (Momentum): It then looks at how fast this "smarter price" has been moving recently.
-If the price is shooting up or down quickly, HAMA knows there's strong momentum.
-If the price is just drifting sideways, momentum is low.
Adjusts Its Own Speed: Based on this momentum:
-Strong Momentum (Fast Market): HAMA makes itself "faster." This means its line will stick closer to the current price and react quickly to changes. (It uses a shorter "period" internally).
-Weak Momentum (Slow/Choppy Market): HAMA makes itself "slower." Its line will be smoother and less jumpy, ignoring minor wiggles. (It uses a longer "period" internally).
-Draws the Line: Finally, it calculates and draws the moving average line using this automatically adjusted speed.
Why "Hybrid"?
It's called "hybrid" because it takes bits and pieces of ideas from several standard moving averages:
-Like an EMA, it's built to be responsive.
-Like a WMA, it initially focuses on recent prices.
-Inspired by the HMA, it tries to be smart about detecting momentum to adjust itself.
In a Nutshell:
The HAMA is a custom moving average that tries to be the best of both worlds: smooth in calm markets and quick to react in fast-moving markets by automatically changing its own calculation speed based on price momentum.