Combo Backtest 123 Reversal & Chande Momentum Oscillator This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator plots Chande Momentum Oscillator. This indicator was
developed by Tushar Chande. A scientist, an inventor, and a respected
trading system developer, Mr. Chande developed the CMO to capture what
he calls "pure momentum". For more definitive information on the CMO and
other indicators we recommend the book The New Technical Trader by Tushar
Chande and Stanley Kroll.
The CMO is closely related to, yet unique from, other momentum oriented
indicators such as Relative Strength Index, Stochastic, Rate-of-Change,
etc. It is most closely related to Welles Wilder`s RSI, yet it differs
in several ways:
- It uses data for both up days and down days in the numerator, thereby
directly measuring momentum;
- The calculations are applied on unsmoothed data. Therefore, short-term
extreme movements in price are not hidden. Once calculated, smoothing
can be applied to the CMO, if desired;
- The scale is bounded between +100 and -100, thereby allowing you to
clearly see changes in net momentum using the 0 level. The bounded scale
also allows you to conveniently compare values across different securities.
WARNING:
- For purpose educate only
- This script to change bars colors
在腳本中搜尋"momentum"
Combo Strategy 123 Reversal & Chande Momentum OscillatorThis is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator plots Chande Momentum Oscillator. This indicator was
developed by Tushar Chande. A scientist, an inventor, and a respected
trading system developer, Mr. Chande developed the CMO to capture what
he calls "pure momentum". For more definitive information on the CMO and
other indicators we recommend the book The New Technical Trader by Tushar
Chande and Stanley Kroll.
The CMO is closely related to, yet unique from, other momentum oriented
indicators such as Relative Strength Index, Stochastic, Rate-of-Change,
etc. It is most closely related to Welles Wilder`s RSI, yet it differs
in several ways:
- It uses data for both up days and down days in the numerator, thereby
directly measuring momentum;
- The calculations are applied on unsmoothed data. Therefore, short-term
extreme movements in price are not hidden. Once calculated, smoothing
can be applied to the CMO, if desired;
- The scale is bounded between +100 and -100, thereby allowing you to
clearly see changes in net momentum using the 0 level. The bounded scale
also allows you to conveniently compare values across different securities.
WARNING:
- For purpose educate only
- This script to change bars colors.
Rumpy's Dynamic Momentum IndexNote : I haven't been able to determine from the info I've found whether the variable length is used for the average gain/loss part of the calculation and/or for the relative strength portion of the calculation . If anyone knows for certain please let me know.
Type A only uses the variable length for the final relative strength calculation and the fixed RSI length for the average gain/loss.
Type B uses the variable length for both.
I do suspect that Type B is correct though as it is a lot more sensitive to momentum changes while Type A tends to just exaggerate normal RSI
-------------------------------------------------------------------------------------------------------------------------------------------
This indicator, developed by Tushar Chande and Stanley Kroll, is similar to the relative strength index (RSI). The main difference between the two is that the RSI uses a fixed number of time periods (usually 14) in its calculation, while the dynamic momentum index uses different time periods as volatility changes, typically between five and 30.
The dynamic momentum index uses fewer periods in its calculation when volatility is high, and more periods when volatility is low.
The number of time periods used in the dynamic momentum index decreases as volatility in the underlying security increases, making this indicator more responsive to changing prices than the RSI. This is particularly useful when an asset's price moves quickly as it approaches key support or resistance levels. Because the indicator is more sensitive, traders can potentially find earlier entry and exit points than with the RSI.
-------------------------------------------------------------------------------------------------------------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Linear Momentum and Performance IndicatorsThis a porting to Trading View of the 12 new indicators introduced in IFTA Journal (January Edition) by Akram El Sherbini, MFTA, CFTe, CETA.
Indicators are available in "Linear Momentum and Performance Indicators" at page four.
IFTA Journal is available below:
ifta.org
Indicators implemented herein:
Linear Force Index: The linear force index LFI measures the force of buyers and sellers during rallies and declines, respectively. It combines two important pieces of market information—the price acceleration
and volumes.
Pressure Index: The pressure index PRI measures the buying and selling pressure over a certain range within a time interval by moving around its zero line. The index indicates a rise in buying pressure when it crosses above the zero line and a rise in selling pressure
when it crosses below the zero line level. The buying and selling force moves the last price during the session to form a range with low and high boundaries.
Strength Index Index: The strength index SI is a leading indicator to the pressure index. It measures the ability of buyers to resist sellers and vice versa. SI of today is the ratio of the latest pressure index value to the strain of today.
Power Index: It measures the buying and selling power within a time interval by moving around its zero line.
Intensity Index: The intensity index II measures the buying and selling intensity within a time interval by moving around its zero line.
Dynamic Strength Index: The sole purpose of the dynamic strength index DSI and the integral dynamic strength index IDSI is to lead their intensity indicator peers.
Integral Force Index
Integral Pressure Index
Integral Strength Index
Integral Power Index
Integral Intensity Index
Integral Dynamic Strength Index
The following example shows a trade following the signal while several indicators are crossing the zero line:
Integral performance indicators have a fewer number of trades than the performance indicators. This result is normal, as the integral indicators are less sensitive than their peers. Moreover, the power, intensity, and dynamic strength are less sensitive than the force, pressure, and strength indicators. The same applies for their integrals. Therefore, the integrals of power, intensity, and dynamic strength indicators are more inclined to be medium-term indicators.
As the paper is suggesting "the linear momentum and the new performance indicators should make a significant change in categorizing several indicators in technical analysis."
Technical indicators are using biased mathematical implementations. For example Momentum Index is in reality a velocity indicator, Force index a Momentum indicator and so on. From a Physical perspective correct momentum, force, velocity etc. needs to be corrected and re-categorized.
The author also gives important insights in how these indicators can be used "simultaneously to identify price turning points and filter irrelevant divergences."
"This paper will attempt to adjust the price momentum and force concepts introduced by Welles Wilder and Alexander Elder, respectively. By introducing the concept of linear momentum, new indicators will emerge to dissect the market performance into six main elements: market’s force, pressure, strength, power, intensity, and dynamic strength. This will lead to a deeper insight about market action. The leading performance indicators can be used simultaneously to identify price turning points and filter irrelevant divergences. The linear momentum and the new performance indicators should make a significant change in categorizing several indicators in technical analysis."
Suggestions and feedbacks are welcome
Hope you enjoy this,
CryptoStatistical
Linear Momentum and Performance Indicators (IFTA Jan 2019)This a porting to Trading View of the 12 new indicators introduced in IFTA Journal (January Edition) by Akram El Sherbini, MFTA, CFTe, CETA.
Indicators are available in "Linear Momentum and Performance Indicators" at page four.
IFTA Journal is available below:
ifta.org
Indicators implemented herein:
Linear Force Index: The linear force index LFI measures the force of buyers and sellers during rallies and declines, respectively. It combines two important pieces of market information—the price acceleration
and volumes.
Pressure Index: The pressure index PRI measures the buying and selling pressure over a certain range within a time interval by moving around its zero line. The index indicates a rise in buying pressure when it crosses above the zero line and a rise in selling pressure
when it crosses below the zero line level. The buying and selling force moves the last price during the session to form a range with low and high boundaries.
Strength Index Index : The strength index SI is a leading indicator to the pressure index. It measures the ability of buyers to resist sellers and vice versa. SI of today is the ratio of the latest pressure index value to the strain of today.
Power Index : It measures the buying and selling power within a time interval by moving around its zero line.
Intensity Index : The intensity index II measures the buying and selling intensity within a time interval by moving around its zero line.
Dynamic Strength Index : The sole purpose of the dynamic strength index DSI and the integral dynamic strength index IDSI is to lead their intensity indicator peers.
Integral Force Index
Integral Pressure Index
Integral Strength Index
Integral Power Index
Integral Intensity Index
Integral Dynamic Strength Index
The following example shows a trade following the signal while several indicators are crossing the zero line:
Integral performance indicators have a fewer number of trades than the performance indicators. This result is normal, as the integral indicators are less sensitive than their peers. Moreover, the power, intensity, and dynamic strength are less sensitive than the force, pressure, and strength indicators. The same applies for their integrals. Therefore, the integrals of power, intensity, and dynamic strength indicators are more inclined to be medium-term indicators.
As the paper is suggesting "the linear momentum and the new performance indicators should make a significant change in categorizing several indicators in technical analysis."
Technical indicators are using biased mathematical implementations. For example Momentum Index is in reality a velocity indicator, Force index a Momentum indicator and so on. From a Physical perspective correct momentum, force, velocity etc. needs to be corrected and re-categorized.
The author also gives important insights in how these indicators can be used "simultaneously to identify price turning points and filter irrelevant divergences."
"This paper will attempt to adjust the price momentum and force concepts introduced by Welles Wilder and Alexander Elder, respectively. By introducing the concept of linear momentum, new indicators will emerge to dissect the market performance into six main elements: market’s force, pressure, strength, power, intensity, and dynamic strength. This will lead to a deeper insight about market action. The leading performance indicators can be used simultaneously to identify price turning points and filter irrelevant divergences. The linear momentum and the new performance indicators should make a significant change in categorizing several indicators in technical analysis."
Suggestions and feedback are welcome
Hope you enjoy this,
CryptoStatistical
Newton Force and MomentumThis indicator is meant to show the Force of price, based on Newton's Second Law of Motion; and the momentum of price. Force is the value on the left, and momentum on the right.
Originally this was supposed to only be an indicator looking at Force, but because the already popular indicator called "Momentum" does not calculate the momentum of price, but rather the change of price depending on how far back you want to look; I decided to add the Momentum aspect to the indicator.
*BTW if you find this script useful thank and follow @overttherainbow, because they are the one who gave me the idea for this script.*
Stochastic Momentum Index (Stoch MTM, SMI)Stochastic Momentum Index (Stoch MTM, SMI)
The Stochastic Momentum Index (Stoch MTM, SMI) is based on the Stochastic Oscillator. The difference is that the Stochastic Oscillator calculates where the close is relative to the high/low range, while the SMI calculates where the close is relative to the midpoint of the high/low range. The values of the SMI range from +100 to -100. When the close is greater than the midpoint, the SMI is above zero, when the close is less than than the midpoint, the SMI is below zero.
The SMI is interpreted the same way as the Stochastic Oscillator. Extreme high/low SMI values indicate overbought/oversold conditions. A buy signal is generated when the SMI rises above -50, or when it crosses above the signal line. A sell signal is generated when the SMI falls below +50, or when it crosses below the signal line. Also look for divergence with the price to signal the end of a trend or indicate a false trend.
The Stochastic Momentum Index was developed by William Blau and was introduced in his article in the January, 1993 issue of Technical Analysis of Stocks & Commodities magazine.
Stochastic MomentumStochastic Momentum adds shorter and longer term Stochastic movements on the same chart to indicate relative momentum for short and slightly longer term outlooks.
Can be used like a regular Stochastic indicator for overbought / oversold levels, divergence and additionally also the crossing of the shorter (blue) and longer (orange) levels.
It is a leading indicator and often signals early moves of momentum, which may or may not translate into the same price movements.
Noro's Squeeze Momentum Strategy v1.0This strategy uses 3 different indicators:
1) Squeeze Momentum Indicator (by LazyBear)
2) Color of a candle as filter of signals
3) Candle body size as filter of signals (EMA Body)
Strategy
If Squeeze Momentum Indicator is indicated uptrend both at the same time by a candle red and at the same time more than a third of a body of an average candle - to open long (and to close short)
If Squeeze Momentum Indicator is indicated downtrend both at the same time by a candle green and at the same time more than a third of a body of an average candle - to open short (and to close long)
Relative Momentum Index Backtest The Relative Momentum Index (RMI) was developed by Roger Altman. Impressed
with the Relative Strength Index's sensitivity to the number of look-back
periods, yet frustrated with it's inconsistent oscillation between defined
overbought and oversold levels, Mr. Altman added a momentum component to the RSI.
As mentioned, the RMI is a variation of the RSI indicator. Instead of counting
up and down days from close to close as the RSI does, the RMI counts up and down
days from the close relative to the close x-days ago where x is not necessarily
1 as required by the RSI). So as the name of the indicator reflects, "momentum" is
substituted for "strength".
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Relative Momentum Index Strategy The Relative Momentum Index (RMI) was developed by Roger Altman. Impressed
with the Relative Strength Index's sensitivity to the number of look-back
periods, yet frustrated with it's inconsistent oscillation between defined
overbought and oversold levels, Mr. Altman added a momentum component to the RSI.
As mentioned, the RMI is a variation of the RSI indicator. Instead of counting
up and down days from close to close as the RSI does, the RMI counts up and down
days from the close relative to the close x-days ago where x is not necessarily
1 as required by the RSI). So as the name of the indicator reflects, "momentum" is
substituted for "strength".
WARNING:
- This script to change bars colors.
CMO & WMA Strategy This indicator plots Chande Momentum Oscillator and its WMA on the
same chart. This indicator plots the absolute value of CMO.
The CMO is closely related to, yet unique from, other momentum oriented
indicators such as Relative Strength Index, Stochastic, Rate-of-Change,
etc. It is most closely related to Welles Wilder?s RSI, yet it differs
in several ways:
- It uses data for both up days and down days in the numerator, thereby
directly measuring momentum;
- The calculations are applied on unsmoothed data. Therefore, short-term
extreme movements in price are not hidden. Once calculated, smoothing
can be applied to the CMO, if desired;
- The scale is bounded between +100 and -100, thereby allowing you to clearly
see changes in net momentum using the 0 level. The bounded scale also allows
you to conveniently compare values across different securities.
CMO (Chande Momentum Oscillator) Strategy Backtest This indicator plots Chande Momentum Oscillator. This indicator was
developed by Tushar Chande. A scientist, an inventor, and a respected
trading system developer, Mr. Chande developed the CMO to capture what
he calls "pure momentum". For more definitive information on the CMO and
other indicators we recommend the book The New Technical Trader by Tushar
Chande and Stanley Kroll.
The CMO is closely related to, yet unique from, other momentum oriented
indicators such as Relative Strength Index, Stochastic, Rate-of-Change,
etc. It is most closely related to Welles Wilder`s RSI, yet it differs
in several ways:
- It uses data for both up days and down days in the numerator, thereby
directly measuring momentum;
- The calculations are applied on unsmoothed data. Therefore, short-term
extreme movements in price are not hidden. Once calculated, smoothing
can be applied to the CMO, if desired;
- The scale is bounded between +100 and -100, thereby allowing you to
clearly see changes in net momentum using the 0 level. The bounded scale
also allows you to conveniently compare values across different securities.
Absolute Momentum Indicator Covered intensevely by Gary Antonnacci in his paper " Absolute Momentum : A simple Rule Based Strategy and Universal Trend Following Overlay , Absolute momentum buys asset with excess return, which is calculated by taking the return of the asset for a giving period of time LESS the Treasury bill rate . The following indicator is based on the rules found in the paper. However you have the liberty to choose your time frame and symbol to calculate the excess return .
Read more about this indicator here
Cheers
UCS_Squeeze_Timing-V3Another Version with More Features . I am confident enough this works fine now. I am Sure this will be a valuable tool for you guys who love squeezes.
///////////////// This can be further optimized, Let me know with a comment, if you still need this to be optimized. ////////////////////
This update includes
- Added Options to detect squeeze using Heikin Ashi Candle
- Added Options to use BBR or Momentum (ROC) for the Momentum Histogram
- Custom Momentum Smoothing time period
- Removed the Separate Look back periods for BB/KC - Since it doesn't really make sense using different lengths for KC and BB.
HA Closes can be really helpful in trading ETFs like FXE, GLD, FXY, SLV etc, which constantly gaps on daily basis. This helps in smoothing out. And most Importantly it Lines up with the Underlying's Squeeze.
[The Next Major Version is currently being Back tested with better timing triggers etc...... That will replace all other Squeeze indicators in the market - Some Major upgrades have been done to the squeezes to read the consolidation is with support or resistance. Also plan on adding best bet entries and pre-breakout signals. So far so good, this recent contradicting trends in daily / weekly in the market is making the indicator hard to work per theory]
The delay is because, I do not like to post any script (with signals) without sufficient back testing . I will not post these indicator with signals, unless I am sure it works per my theoretical derivations.
-
Thanks for Being Patient and all your support.
Until then - Good Luck Trading.
Squeeze Momentum Indicator [LazyBear]
Fixed a typo in the code where BB multiplier was stuck at 1.5. Thanks @ucsgears for bringing it to my notice.
Updated source: pastebin.com
Use the updated source instead of the what TV shows below.
This is a derivative of John Carter's "TTM Squeeze" volatility indicator, as discussed in his book "Mastering the Trade" (chapter 11).
Black crosses on the midline show that the market just entered a squeeze (Bollinger Bands are with in Keltner Channel). This signifies low volatility, market preparing itself for an explosive move (up or down). Gray crosses signify "Squeeze release".
Mr.Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change). My (limited) experience with this shows, an additional indicator like ADX / WaveTrend, is needed to not miss good entry points. Also, Mr.Carter uses simple momentum indicator, while I have used a different method (linreg based) to plot the histogram.
More info:
- Book: Mastering The Trade by John F Carter
List of all my indicators:
CMO (Chande Momentum Oscillator)Hi
Let me introduce my CMO (Chande Momentum Oscillator) script.
This indicator plots Chandre Momentum Oscillator. This indicator was
developed by Tushar Chande. A scientist, an inventor, and a respected
trading system developer, Mr. Chande developed the CMO to capture what
he calls "pure momentum". For more definitive information on the CMO and
other indicators we recommend the book The New Technical Trader by Tushar
Chande and Stanley Kroll.
The CMO is closely related to, yet unique from, other momentum oriented
indicators such as Relative Strength Index, Stochastic, Rate-of-Change,
etc. It is most closely related to Welles Wilder`s RSI, yet it differs
in several ways:
- It uses data for both up days and down days in the numerator, thereby
directly measuring momentum;
- The calculations are applied on unsmoothed data. Therefore, short-term
extreme movements in price are not hidden. Once calculated, smoothing
can be applied to the CMO, if desired;
- The scale is bounded between +100 and -100, thereby allowing you to
clearly see changes in net momentum using the 0 level. The bounded scale
also allows you to conveniently compare values across different securities.
Gold 15m Momentum IndicatorThe Gold 15m Momentum Indicator is a custom-built technical tool designed specifically for trading XAU/USD (Gold) on the 15-minute timeframe. It leverages momentum, trend direction, and overbought/oversold filters to generate reliable intraday buy and sell signals.
Pivot Squeeze IndicatorThe Pivot Squeeze Indicator is an oscillator that identifies when markets are "squeezed" between recent pivot highs and lows, then signals when they're ready to make their next big move.
How it Works
The indicator calculates the percentage distance between the current price and the most recent pivot high vs. pivot low. When this distance gets compressed (small), the market is "squeezed" and building energy. When it expands rapidly, you get your breakout signal.
The indicator adapts to current market volatility using four different modes:
- ATR-Based
- Bollinger Bands
- Keltner Channels
- Fixed %
What to Look For
🟠 Orange Background = Squeeze Zone
Market is compressed between recent pivots
Low volatility, building pressure
🟢 Green Breakout = Bullish Signal
Price breaking out above recent highs
Momentum shifting upward
Time to look for long opportunities
🔴 Red Breakout = Bearish Signal
Price breaking down below recent lows
Momentum shifting downward
Time to look for short opportunities
Using Histogram Colors:
Green bars = Bullish territory (closer to recent highs)
Red bars = Bearish territory (closer to recent lows)
Orange bars = Squeeze conditions (compressed between pivots)
Using MA Line:
When Histogram bars cross below or above MA Line in opposite direction, it might be good time to exit.
Default Settings: ATR-based thresholds with 14-period lookback - works great out of the box, but feel free to experiment with the different threshold modes to find what works best for your trading style! Recommended to use with other indicators to confirm signals
RSI with 2-Pole FilterA momentum indicator that tells you if a stock is overbought or oversold.
RSI goes between 0 and 100.
70 = overbought (might fall)
<30 = oversold (might rise)
It often looks jagged or choppy on volatile days.
Think of this filter like a momentum smoother:
It still follows RSI closely,
But it doesn’t react to every little jiggle in price,
Which helps avoid false signals.
it keeps track of:
The current RSI,
The last 2 RSI values (inputs), and
The last 2 outputs (filtered RSIs).
It uses feedback to shape the output based on previous values, making it smoother than a simple moving average.
MACD Breakout SuperCandlesMACD Breakout SuperCandles
The MACD Breakout SuperCandles indicator is a candle-coloring tool that monitors trend alignment across multiple timeframes using a combination of MACD behavior and simple price structure. It visually reflects market sentiment directly on price candles, helping traders quickly recognize shifting momentum conditions.
How It Works
The script evaluates trend behavior based on:
- Multi-timeframe MACD Analysis: Uses MACD values and signal line relationships to gauge trend direction and strength.
- Price Relative to SMA Zones: Analyzes whether price is positioned above or below the 20-period high and low SMAs on each timeframe.
For each timeframe, the script assigns one of five possible trend statuses:
- SUPERBULL: Strong bullish MACD signal with price above both SMAs.
- Bullish: Bullish MACD crossover with price showing upward bias.
- Basing: MACD flattening or neutralizing near zero with no directional dominance.
- Bearish: Bearish MACD signal without confirmation of stronger trend.
- SUPERBEAR: Strong bearish MACD signal with price below both SMAs.
-Ghost Candles: Candles with basing attributes that can signal directional change or trend strength.
Signal Scoring System
The script compares conditions across four timeframes:
- TF1 (Short)
- TF2 (Medium)
- TF3 (Long)
- MACD at a fixed 10-minute resolution
Each status type is tracked independently. A colored candle is only applied when a status type (e.g., SUPERBULL) reaches the minimum match threshold, defined by the "Min Status Matches for Candle Color" setting. If no status meets the required threshold, the candle is displayed in a neutral "Ghost" color.
Customizable Visuals
The indicator offers full control over candle appearance via grouped settings:
Body Colors
- SUPERBULL Body
- Bullish Body
- Basing Body
- Bearish Body
- SUPERBEAR Body
- Ghost Candle Body (used when no match)
Border & Wick Colors
- SUPERBULL Border/Wick
- Bullish Border/Wick
- Basing Border/Wick
- Bearish Border/Wick
- SUPERBEAR Border/Wick
- Ghost Border/Wick
Colors are grouped by function and can be adjusted independently to match your chart theme or personal preferences.
Settings Overview
- TF1, TF2, TF3: Select short, medium, and long timeframes to monitor trend structure.
- Min Status Matches: Set how many timeframes must agree before a candle status is applied.
- MACD Settings: Customize MACD fast, slow, and signal lengths, and choose MA type (EMA, SMA, WMA).
This tool helps visualize how aligned various timeframe conditions are by embedding sentiment into the candles themselves. It can assist with trend identification, momentum confirmation, or visual filtering for discretionary strategies.
Laplace Momentum Percentile ║ BullVision 🔬 Overview
Laplace Momentum Percentile ║ BullVision is a custom-built trend analysis tool that applies Laplace-inspired smoothing to price action and maps the result to a historical percentile scale. This provides a contextual view of trend intensity, with optional signal refinement using a Kalman filter.
This indicator is designed for traders and analysts seeking a normalized, scale-independent perspective on market behavior. It does not attempt to predict price but instead helps interpret the relative strength or weakness of recent movements.
⚙️ Key Concepts
📉 Laplace-Based Smoothing
The core signal is built using a Laplace-style weighted average, applying an exponential decay to price values over a specified length. This emphasizes recent movements while still accounting for historical context.
🎯 Percentile Mapping
Rather than displaying the raw output, the filtered signal is converted into a percentile rank based on its position within a historical lookback window. This helps normalize interpretation across different assets and timeframes.
🧠 Optional Kalman Filter
For users seeking additional smoothing, a Kalman filter is included. This statistical method updates signal estimates dynamically, helping reduce short-term fluctuations without introducing significant lag.
🔧 User Settings
🔁 Transform Parameters
Transform Parameter (s): Controls the decay rate for Laplace weighting.
Calculation Length: Sets how many candles are used for smoothing.
📊 Percentile Settings
Lookback Period: Defines how far back to calculate the historical percentile ranking.
🧠 Kalman Filter Controls
Enable Kalman Filter: Optional toggle.
Process Noise / Measurement Noise: Adjust the filter’s responsiveness and tolerance to volatility.
🎨 Visual Settings
Show Raw Signal: Optionally display the pre-smoothed percentile value.
Thresholds: Customize upper and lower trend zone boundaries.
📈 Visual Output
Main Line: Smoothed percentile rank, color-coded based on strength.
Raw Line (Optional): The unsmoothed percentile value for comparison.
Trend Zones: Background shading highlights strong upward or downward regimes.
Live Label: Displays current percentile value and trend classification.
🧩 Trend Classification Logic
The indicator segments percentile values into five zones:
Above 80: Strong upward trend
50–80: Mild upward trend
20–50: Neutral zone
0–20: Mild downward trend
Below 0: Strong downward trend
🔍 Use Cases
This tool is intended as a visual and contextual aid for identifying trend regimes, assessing historical momentum strength, or supporting broader confluence-based analysis. It can be used in combination with other tools or frameworks at the discretion of the trader.
⚠️ Important Notes
This script does not provide buy or sell signals.
It is intended for educational and analytical purposes only.
It should be used as part of a broader decision-making process.
Past signal behavior should not be interpreted as indicative of future results.
Buy/Sell Ei - Premium Edition (Fixed Momentum)**📈 Buy/Sell Ei Indicator - Smart Trading System with Price Pattern Detection 📉**
**🔍 What is it?**
The **Buy/Sell Ei** indicator is a professional tool designed to identify **buy and sell signals** based on a combination of **candlestick patterns** and **moving averages**. With high accuracy, it pinpoints optimal entry and exit points in **both bullish and bearish trends**, making it suitable for forex pairs, stocks, and cryptocurrencies.
---
### **🌟 Key Features:**
✅ **Advanced Candlestick Pattern Detection**
✅ **Momentum Filter (Customizable consecutive candle count)**
✅ **Live Trade Mode (Instant signals for active trading)**
✅ **Dual MA Support (Fast & Slow MA with multiple types: SMA, EMA, WMA, VWMA)**
✅ **Date Filter (Focus on specific trading periods)**
✅ **Win/Loss Tracking (Performance analytics with success rate)**
---
### **🚀 Why Choose Buy/Sell Ei?**
✔ **Precision:** Reduces false signals with strict pattern rules.
✔ **Flexibility:** Works in both live trading and backtesting modes.
✔ **User-Friendly:** Clear labels and alerts for easy decision-making.
✔ **Adaptive:** Compatible with all timeframes (M1 to Monthly).
---
### **🛠 How It Works:**
1. **Trend Confirmation:** Uses MAs to filter trades in the trend’s direction.
2. **Pattern Recognition:** Detects "Ready to Buy/Sell" and confirmed signals.
3. **Momentum Check:** Optional filter for consecutive bullish/bearish candles.
4. **Live Alerts:** Labels appear instantly in Live Trade Mode.
---
### **📊 Ideal For:**
- **Day Traders** (Scalping & Intraday)
- **Swing Traders** (Medium-term setups)
- **Technical Analysts** (Backtesting strategies)
**🔧 Designed by Sahar Chadri | Optimized for TradingView**
**🎯 Trade Smarter, Not Harder!**