PrimeMomentum 1.1The PrimeMomentum indicator is not just an adaptation of classic tools like MA, BB, RSI, or WaveTrend. It is an innovative tool that combines several key elements and offers a unique methodology for market analysis. Its primary goal is to help traders avoid false entries and provide signals for making trading decisions.
What Makes PrimeMomentum Unique?
Integration of Multi-Timeframe Data with a Unique Signal Filtering Approach
PrimeMomentum processes data from four timeframes simultaneously, not merely to display trends but to assess the synchronization of momentum across each timeframe. This allows traders to receive signals only when all intervals confirm the direction. This approach minimizes the risk of false signals often encountered with standard tools.
PrimeMomentum analyzes the market across four timeframes:
TF1 (long-term): Displays the overall market direction.
TF2 (medium-term): Refines the current dynamics.
TF3 (short-term): Provides detailed analysis.
TF4 (very short-term): Confirms entry or exit points.
The combination of data from these timeframes allows traders to avoid frequent switching between intervals, simplifying analysis.
Innovative Reversal Logic
PrimeMomentum features a specialized algorithm for identifying trend reversals. Its uniqueness lies in the interaction between dynamic smoothing (EMA) and multi-level momentum assessment, enabling accurate identification of potential trend reversal points.
Dynamic Adaptation to Market Conditions
The indicator automatically adjusts smoothing parameters and threshold values based on market volatility. This enables it to adapt effectively to both calm and volatile markets.
Signals for entering Long or Short positions are generated only when the following conditions are met:
- Momentum shifts from negative to positive (for Long) or from positive to negative (for Short).
- Dynamic smoothing confirms the trend.
- Defined thresholds are reached.
Trend Strength Assessment
Unlike traditional indicators, PrimeMomentum evaluates not only the direction but also the strength of a trend by analyzing the relationship between momentum across each timeframe. This helps traders understand how stable the current market movement is.
The indicator analyzes price changes over a specific period, determining how much current prices deviate from previous ones. This data allows for assessing the strength of market movements.
Combination of Classic Elements with Proprietary Logic
While PrimeMomentum may utilize some widely known components like EMA, its algorithm is built on proprietary logic for evaluating market conditions. This sets it apart from standard solutions that merely display basic indicators without deeper analysis.
Added Value of PrimeMomentum
Trend Visualization with Concept Explanations
PrimeMomentum provides traders with clear visual signals, simplifying market analysis. Each element (color, line direction) is based on momentum and trend-smoothing concepts, enabling traders to make decisions quickly.
Results are displayed as color-coded lines:
- Dark violet: Long-term trend.
- Blue: Medium-term trend.
- Turquoise and light blue: Short-term trends.
If all momentum lines reach a peak and begin turning downward, it may indicate an approaching bearish trend.
If all lines reach a bottom and start turning upward, it may signal the beginning of a bullish trend.
Reversals can also serve as signals for exiting positions.
MoneyFlow
The PrimeMomentum indicator includes a visualization of MoneyFlow, allowing traders to assess capital flows within the selected timeframe. This functionality helps to analyze market trends more accurately and make well-informed decisions.
MoneyFlow Features:
Dynamic MoneyFlow Visualization:
MoneyFlow is displayed as an area that changes color based on its value:
- Green (with transparency) when MoneyFlow is above zero (positive flow).
- Red (with transparency) when MoneyFlow is below zero (negative flow).
Automatic Scaling:
MoneyFlow values automatically adjust to the chart’s scale to ensure visibility alongside the Momentum lines.
Double Smoothing:
To ensure a smoother and more representation, MoneyFlow uses double smoothing based on EMA.
Customizable Colors and Transparency:
Traders can customize the colors for positive and negative MoneyFlow and adjust the transparency level to fit their preferences.
How MoneyFlow Works:
- MoneyFlow calculations are based on the MFI (Money Flow Index), which considers both price and volume.
- MoneyFlow values are integrated into the overall PrimeMomentum chart and combined with other signals for deeper analysis.
Advantages of the New Functionality:
- Helps quickly identify capital flows into or out of the market.
- Complements Momentum analysis to provide a more comprehensive view of market conditions.
- Enhances decision-making efficiency through flexible visualization settings.
Note: MoneyFlow adapts to the selected timeframe and displays data corresponding to the current interval on the price chart.
Simplicity for Beginners and Depth for Professionals
The indicator is designed to be user-friendly for traders of all experience levels. Beginners benefit from intuitive signals, while experienced traders can leverage in-depth analysis for more complex strategies.
PrimeMomentum Usage Modes
PrimeMomentum adapts to various strategies and supports three modes:
Short-term: Recommended to use a 2H timeframe. Optimal for intraday trading with small TakeProfit levels.
Medium-term: Recommended to use a 1D timeframe for trades lasting several days.
Long-term: Use the 1W timeframe for analyzing global trends.
Support for Different Strategies
Thanks to its flexible settings and support for multiple timeframes, PrimeMomentum is suitable for both day trading and long-term analysis.
Why Is PrimeMomentum Worth Your Attention?
Unlike standard indicators, which often rely solely on basic mathematical models or publicly available components, PrimeMomentum offers a comprehensive approach to market analysis. It combines unique momentum assessment algorithms, multi-timeframe analysis, and volatility adaptation. This not only provides traders with signals but also helps them understand the underlying market processes, making it a truly innovative solution.
Disclaimer
The PrimeMomentum indicator is designed to assist traders in market analysis but does not guarantee future profitability. Its use should be combined with traders' own research and informed decision-making.
Momentumindicator
Momentum TrackerTo screen for momentum movers, one can filter for stocks that have made a noticeable move over a set period—this initial move defines the momentum or swing move. From this list of candidates, we can create a watchlist by selecting those showing a momentum pause, such as a pullback or consolidation, which later could set up for a continuation.
This Momentum Tracker Indicator serves as a study tool to visualize when stocks historically met these momentum conditions. It marks on the chart where a stock would have appeared on the screener, allowing us to review past momentum patterns and screener requirements.
Indicator Calculation
Bullish Momentum: Price is above the lowest point within the lookback period by the specified threshold percentage.
Bearish Momentum: Price is below the highest point within the lookback period by the specified threshold percentage.
The tool is customizable in terms of lookback period and percentage threshold to accommodate different trading styles and timeframes, allowing us to set criteria that align with specific hold times and momentum requirements.
Salman Indicator: Multi-Purpose Price ActionSalman Indicator: Multi-Purpose Price Action Tool for Pin Bars, Breakouts, and VWAP Anchoring
This indicator provides a comprehensive suite of price action insights, designed for active traders looking to identify key market structures and potential reversals. The script incorporates a Quarterly VWAP for trend bias, marks pin bars for possible reversal points, highlights outside bars for volatility signals, and indicates simple breakouts and pivot-level breaks. Customizable settings allow for flexibility in various trading styles, with default settings optimized for daily charts.
Outside Bars : Represented by an ⤬ symbol on the chart, these indicate bars where the current high is greater than the previous bar’s high, and the low is lower than the previous bar’s low, signaling high volatility and potential market reversals.
Pin Bars : Denoted by a small dot at the top or bottom of a candle’s wick, these are crucial signals of potential reversal areas. Pin bars are identified based on the percentage length of their shadows, with adjustable strictness in settings.
Quarterly VWAP : The light blue line on the chart represents the VWAP (Volume-Weighted Average Price), which is anchored to the Quarterly period by default. The VWAP acts as a directional bias filter, helping you to determine underlying market trends. This period, source, and offset are fully adjustable in the script’s settings.
Simple Breaks : Hollow candles on the chart indicate "simple breaks," defined when the current bar closes above the previous high or below the previous low. This is an effective way to highlight directional momentum in the market.
Bonus Pivot Breaks : The tilde symbol ~ appears when the price closes above or below prior pivot high/low levels, helping traders spot significant breakout or breakdown points relative to recent pivots.
Alerts
Simple Breaks : Alerts you when a breakout occurs beyond the previous bar’s high or low. Pin Bars : Notifies you of potential reversal points as indicated by bullish or bearish pin bars. Outside Bars : Triggers an alert whenever an outside bar is detected, indicating possible volatility changes.
How to Use
VWAP for Trend Bias : Use the Quarterly VWAP line to gauge overall market trend, with settings that allow adjustment to daily, weekly, monthly, or even larger time frames.
Pin Bars for Reversal Potential : Look for the dot markers on candle wicks, where the strictness of the pin bar detection can be adjusted via settings to match your trading preference.
Simple and Pivot Breaks for Momentum : Watch for hollow candles and the tilde symbol ~ as indicators of potential breakout momentum and pivot break levels, respectively.
This script can serve traders on multiple timeframes, from daily to weekly and beyond. The flexible configuration allows for adjustments in VWAP anchoring and pin bar criteria, providing a tailored fit for individual trading strategies.
CMF and Scaled EFI OverlayCMF and Scaled EFI Overlay Indicator
Overview
The CMF and Scaled EFI Overlay indicator combines the Chaikin Money Flow (CMF) and a scaled version of the Elder Force Index (EFI) into a single chart. This allows traders to analyze both indicators simultaneously, facilitating better insights into market momentum and volume dynamics , specifically focusing on buying/selling pressure and momentum , without compromising the integrity of either indicator.
Purpose
Chaikin Money Flow (CMF): Measures buying and selling pressure by evaluating price and volume over a specified period. It indicates accumulation (buying pressure) when values are positive and distribution (selling pressure) when values are negative.
Elder Force Index (EFI): Combines price changes and volume to assess the momentum behind market moves. Positive values indicate upward momentum (prices rising with strong volume), while negative values indicate downward momentum (prices falling with strong volume).
By scaling the EFI to match the amplitude of the CMF, this indicator enables a direct comparison between pressure and momentum , preserving their shapes and zero crossings. Traders can observe the relationship between price movements, volume, and momentum more effectively, aiding in decision-making.
Understanding Pressure vs. Momentum
Chaikin Money Flow (CMF):
- Indicates the level of demand (buying pressure) or supply (selling pressure) in the market based on volume and price movements.
- Accumulation: When institutional or large investors are buying significant amounts of an asset, leading to an increase in buying pressure.
- Distribution: When these investors are selling off their holdings, increasing selling pressure.
Elder Force Index (EFI):
- Measures the strength and speed of price movements, indicating how forceful the current trend is.
- Positive Momentum: Prices are rising quickly, indicating a strong uptrend.
- Negative Momentum: Prices are falling rapidly, indicating a strong downtrend.
Understanding the difference between pressure and momentum is crucial. For example, a market may exhibit strong buying pressure (positive CMF) but weak momentum (low EFI), suggesting accumulation without significant price movement yet.
Features
Overlay of CMF and Scaled EFI: Both indicators are plotted on the same chart for easy comparison of pressure and momentum dynamics.
Customizable Parameters: Adjust lengths for CMF and EFI calculations and fine-tune the scaling factor for optimal alignment.
Preserved Indicator Integrity: The scaling method preserves the shape and zero crossings of the EFI, ensuring accurate analysis.
How It Works
CMF Calculation:
- Calculates the Money Flow Multiplier (MFM) and Money Flow Volume (MFV) to assess buying and selling pressure.
- CMF is computed by summing the MFV over the specified length and dividing by the sum of volume over the same period:
CMF = (Sum of MFV over n periods) / (Sum of Volume over n periods)
EFI Calculation:
- Calculates the EFI using the Exponential Moving Average (EMA) of the price change multiplied by volume:
EFI = EMA(n, Change in Close * Volume)
Scaling the EFI:
- The EFI is scaled by multiplying it with a user-defined scaling factor to match the CMF's amplitude.
Plotting:
- Both the CMF and the scaled EFI are plotted on the same chart.
- A zero line is included for reference, aiding in identifying crossovers and divergences.
Indicator Settings
Inputs
CMF Length (`cmf_length`):
- Default: 20
- Description: The number of periods over which the CMF is calculated. A higher value smooths the indicator but may delay signals.
EFI Length (`efi_length`):
- Default: 13
- Description: The EMA length for the EFI calculation. Adjusting this value affects the sensitivity of the EFI to price changes.
EFI Scaling Factor (`efi_scaling_factor`):
- Default: 0.000001
- Description: A constant used to scale the EFI to match the CMF's amplitude. Fine-tuning this value ensures the indicators align visually.
How to Adjust the EFI Scaling Factor
Start with the Default Value:
- Begin with the default scaling factor of `0.000001`.
Visual Inspection:
- Observe the plotted indicators. If the EFI appears too large or small compared to the CMF, proceed to adjust the scaling factor.
Fine-Tune the Scaling Factor:
- Increase or decrease the scaling factor incrementally (e.g., `0.000005`, `0.00001`, `0.00005`) until the amplitudes of the CMF and EFI visually align.
- The optimal scaling factor may vary depending on the asset and timeframe.
Verify Alignment:
- Ensure that the scaled EFI preserves the shape and zero crossings of the original EFI.
- Overlay the original EFI (if desired) to confirm alignment.
How to Use the Indicator
Analyze Buying/Selling Pressure and Momentum:
- Positive CMF (>0): Indicates accumulation (buying pressure).
- Negative CMF (<0): Indicates distribution (selling pressure).
- Positive EFI: Indicates positive momentum (prices rising with strong volume).
- Negative EFI: Indicates negative momentum (prices falling with strong volume).
Look for Indicator Alignment:
- Both CMF and EFI Positive:
- Suggests strong bullish conditions with both buying pressure and upward momentum.
- Both CMF and EFI Negative:
- Indicates strong bearish conditions with selling pressure and downward momentum.
Identify Divergences:
- CMF Positive, EFI Negative:
- Buying pressure exists, but momentum is negative; potential for a bullish reversal if momentum shifts.
- CMF Negative, EFI Positive:
- Selling pressure exists despite rising prices; caution advised as it may indicate a potential bearish reversal.
Confirm Signals with Other Analysis:
- Use this indicator in conjunction with other technical analysis tools (e.g., trend lines, support/resistance levels) to confirm trading decisions.
Example Usage
Scenario 1: Bullish Alignment
- CMF Positive: Indicates accumulation (buying pressure).
- EFI Positive and Increasing: Shows strengthening upward momentum.
- Interpretation:
- Strong bullish signal suggesting that buyers are active, and the price is likely to continue rising.
- Action:
- Consider entering a long position or adding to existing ones.
Scenario 2: Bearish Divergence
- CMF Negative: Indicates distribution (selling pressure).
- EFI Positive but Decreasing: Momentum is positive but weakening.
- Interpretation:
- Potential bearish reversal; price may be rising but underlying selling pressure suggests caution.
- Action:
- Be cautious with long positions; consider tightening stop-losses or preparing for a possible trend reversal.
Tips
Adjust for Different Assets:
- The optimal scaling factor may differ across assets due to varying price and volume characteristics.
- Always adjust the scaling factor when analyzing a new asset.
Monitor Indicator Crossovers:
- Crossings above or below the zero line can signal potential trend changes.
Watch for Divergences:
- Divergences between the CMF and EFI can provide early warning signs of trend reversals.
Combine with Other Indicators:
- Enhance your analysis by combining this overlay with other indicators like moving averages, RSI, or Ichimoku Cloud.
Limitations
Scaling Factor Sensitivity:
- An incorrect scaling factor may misalign the indicators, leading to inaccurate interpretations.
- Regular adjustments may be necessary when switching between different assets or timeframes.
Not a Standalone Indicator:
- Should be used as part of a comprehensive trading strategy.
- Always consider other market factors and indicators before making trading decisions.
Disclaimer
No Guarantee of Performance:
- Past performance is not indicative of future results.
- Trading involves risk, and losses can exceed deposits.
Use at Your Own Risk:
- This indicator is provided for educational purposes.
- The author is not responsible for any financial losses incurred while using this indicator.
Code Summary
//@version=5
indicator(title="CMF and Scaled EFI Overlay", shorttitle="CMF & Scaled EFI", overlay=false)
cmf_length = input.int(20, minval=1, title="CMF Length")
efi_length = input.int(13, minval=1, title="EFI Length")
efi_scaling_factor = input.float(0.000001, title="EFI Scaling Factor", minval=0.0, step=0.000001)
// --- CMF Calculation ---
ad = high != low ? ((2 * close - low - high) / (high - low)) * volume : 0
mf = math.sum(ad, cmf_length) / math.sum(volume, cmf_length)
// --- EFI Calculation ---
efi_raw = ta.ema(ta.change(close) * volume, efi_length)
// --- Scale EFI ---
efi_scaled = efi_raw * efi_scaling_factor
// --- Plotting ---
plot(mf, color=color.green, title="CMF", linewidth=2)
plot(efi_scaled, color=color.red, title="EFI (Scaled)", linewidth=2)
hline(0, color=color.gray, title="Zero Line", linestyle=hline.style_dashed)
- Lines 4-6: Define input parameters for CMF length, EFI length, and EFI scaling factor.
- Lines 9-11: Calculate the CMF.
- Lines 14-16: Calculate the EFI.
- Line 19: Scale the EFI by the scaling factor.
- Lines 22-24: Plot the CMF, scaled EFI, and zero line.
Feedback and Support
Suggestions: If you have ideas for improvements or additional features, please share your feedback.
Support: For assistance or questions regarding this indicator, feel free to contact the author through TradingView.
---
By combining the CMF and scaled EFI into a single overlay, this indicator provides a powerful tool for traders to analyze market dynamics more comprehensively. Adjust the parameters to suit your trading style, and always practice sound risk management.
GAP Momentum Oscillator
This function calculates GAP Momentum, a measure of momentum based on the gaps between opening and closing prices over several periods.
Gaps are calculated for defined periods (here, by default, 14 periods). It determines :
UpGaps: the sum of positive gaps, i.e. openings that are higher than the previous period's close.
DnGaps: the sum of negative gaps, i.e. openings below the previous period's close.
It then calculates the GAP Momentum as the ratio between the sum of the up gaps and the sum of the down gaps, multiplied by 100. If the total of the down gaps is zero, the ratio takes a default value of 1 to avoid division by zero.
Advanced Stochastic ForLoopAdvanced Stochastic ForLoop
OVERVIEW
Advanced Stochastic ForLoop is an improved version of Stochastic it is designed to calculate an array of values 1 or -1 depending if soruce for calculations is above or below basis.
It takes avereage of values over a range of lengths, providing trend signals smothed based on various moving averages in order to get rid of noise.
It offers flexibility with different signal modes and visual customizations.
TYPE OF SIGNALS
-FAST (MA > MA or MA > 0.99)
-SLOW (MA > 0)
-THRESHOLD CROSSING (set by user treshold for both directions)
-FAST THRESHOLD (when theres an change in signal by set margin e.g 0.4 -> 0.2 means bearsih when FT is set to 0.1, when MA is > 0.99 it will signal bullish, when MA < -0.99 it will signal bearish)
Generaly Lime color of line indicates Bullish, Fuchsia indicates Bearish.
This colors are not set in stone so you can change them in settings.
Alerts included when line color is:
-Bullish Trend, line color is lime
-Bearish Trend, line color is fuchsia
Credit
Idea for this script was from one of indicators created by www.tradingview.com
Warning
This indicator can be really noisy depending on the settings, signal mode so it should be used preferably as a part of an strategy not as a stand alone indicator
Remember the lower the timeframe you use the more noise there is.
No single indicator should be used alone when making investment decisions.
Relative Strength and MomentumRelative Strength and Momentum Indicator
Unlock deeper market insights with the Relative Strength and Momentum Indicator—a powerful tool designed to help traders and investors identify the strongest stocks and sectors based on relative performance. This custom indicator displays essential information on relative strength and momentum for up to 15 different symbols, compared against a benchmark index, all within a clear and organized table format.
Key Features:
1. Customizable Inputs: Choose up to 15 symbols to compare, along with a benchmark index, allowing you to tailor the indicator to your trading strategy. The 'Lookback Period' input defines how many weeks of data are analyzed for relative strength and momentum.
2. Relative Strength Calculation: For each selected symbol, the indicator calculates the Relative Strength (RS) against the chosen benchmark. This RS is further refined using an exponential moving average (EMA) to smooth the results, providing a more stable trend overview.
3. Momentum Analysis: Momentum is determined by analyzing the rate of change in relative strength. The indicator calculates a momentum rank for each symbol, based on its relative strength’s improvement or deterioration.
4. Percentile Ranking System: Each symbol is assigned a percentile rank (from 1 to 100) based on its relative strength compared to the others. Similarly, momentum rankings are also assigned from 1 to 100, offering a clear understanding of which assets are outperforming or underperforming.
5. Visual Indicators:
a. Green: Signals improving or stable relative strength and momentum.
b. Red: Indicates declining relative strength or momentum.
c. Aqua: Highlights symbols performing well on both relative strength and momentum—ideal candidates for further analysis.
6. Two Clear Tables:
a. Relative Strength Rank Table: Displays weekly rankings of relative strength for each symbol.
b. Momentum Table: Shows momentum trends, helping you identify which symbols are gaining or losing strength.
7. Color-Coded for Easy Analysis: The tables are color-coded to make analysis quick and straightforward. A green color means the symbol is performing well in terms of relative strength or momentum, while red indicates weaker performance. Aqua marks symbols that are excelling in both areas.
Use Case:
a. Sector Comparison: Identify which sectors or indexes are showing both relative strength and momentum to pick high-potential stocks. This allows you to align with broader market trends for improved trade entries.
b. Stock Selection: Quickly compare symbols within the same sector to find the stronger performers.
Intramarket Difference Index StrategyHi Traders !!
The IDI Strategy:
In layman’s terms this strategy compares two indicators across markets and exploits their differences.
note: it is best the two markets are correlated as then we know we are trading a short to long term deviation from both markets' general trend with the assumption both markets will trend again sometime in the future thereby exhausting our trading opportunity.
📍 Import Notes:
This Strategy calculates trade position size independently (i.e. risk per trade is controlled in the user inputs tab), this means that the ‘Order size’ input in the ‘Properties’ tab will have no effect on the strategy. Why ? because this allows us to define custom position size algorithms which we can use to improve our risk management and equity growth over time. Here we have the option to have fixed quantity or fixed percentage of equity ATR (Average True Range) based stops in addition to the turtle trading position size algorithm.
‘Pyramiding’ does not work for this strategy’, similar to the order size input togeling this input will have no effect on the strategy as the strategy explicitly defines the maximum order size to be 1.
This strategy is not perfect, and as of writing of this post I have not traded this algo.
Always take your time to backtests and debug the strategy.
🔷 The IDI Strategy:
By default this strategy pulls data from your current TV chart and then compares it to the base market, be default BINANCE:BTCUSD . The strategy pulls SMA and RSI data from either market (we call this the difference data), standardizes the data (solving the different unit problem across markets) such that it is comparable and then differentiates the data, calling the result of this transformation and difference the Intramarket Difference (ID). The formula for the the ID is
ID = market1_diff_data - market2_diff_data (1)
Where
market(i)_diff_data = diff_data / ATR(j)_market(i)^0.5,
where i = {1, 2} and j = the natural numbers excluding 0
Formula (1) interpretation is the following
When ID > 0: this means the current market outperforms the base market
When ID = 0: Markets are at long run equilibrium
When ID < 0: this means the current market underperforms the base market
To form the strategy we define one of two strategy type’s which are Trend and Mean Revesion respectively.
🔸 Trend Case:
Given the ‘‘Strategy Type’’ is equal to TREND we define a threshold for which if the ID crosses over we go long and if the ID crosses under the negative of the threshold we go short.
The motivating idea is that the ID is an indicator of the two symbols being out of sync, and given we know volatility clustering, momentum and mean reversion of anomalies to be a stylised fact of financial data we can construct a trading premise. Let's first talk more about this premise.
For some markets (cryptocurrency markets - synthetic symbols in TV) the stylised fact of momentum is true, this means that higher momentum is followed by higher momentum, and given we know momentum to be a vector quantity (with magnitude and direction) this momentum can be both positive and negative i.e. when the ID crosses above some threshold we make an assumption it will continue in that direction for some time before executing back to its long run equilibrium of 0 which is a reasonable assumption to make if the market are correlated. For example for the BTCUSD - ETHUSD pair, if the ID > +threshold (inputs for MA and RSI based ID thresholds are found under the ‘‘INTRAMARKET DIFFERENCE INDEX’’ group’), ETHUSD outperforms BTCUSD, we assume the momentum to continue so we go long ETHUSD.
In the standard case we would exit the market when the IDI returns to its long run equilibrium of 0 (for the positive case the ID may return to 0 because ETH’s difference data may have decreased or BTC’s difference data may have increased). However in this strategy we will not define this as our exit condition, why ?
This is because we want to ‘‘let our winners run’’, to achieve this we define a trailing Donchian Channel stop loss (along with a fixed ATR based stop as our volatility proxy). If we were too use the 0 exit the strategy may print a buy signal (ID > +threshold in the simple case, market regimes may be used), return to 0 and then print another buy signal, and this process can loop may times, this high trade frequency means we fail capture the entire market move lowering our profit, furthermore on lower time frames this high trade frequencies mean we pay more transaction costs (due to price slippage, commission and big-ask spread) which means less profit.
By capturing the sum of many momentum moves we are essentially following the trend hence the trend following strategy type.
Here we also print the IDI (with default strategy settings with the MA difference type), we can see that by letting our winners run we may catch many valid momentum moves, that results in a larger final pnl that if we would otherwise exit based on the equilibrium condition(Valid trades are denoted by solid green and red arrows respectively and all other valid trades which occur within the original signal are light green and red small arrows).
another example...
Note: if you would like to plot the IDI separately copy and paste the following code in a new Pine Script indicator template.
indicator("IDI")
// INTRAMARKET INDEX
var string g_idi = "intramarket diffirence index"
ui_index_1 = input.symbol("BINANCE:BTCUSD", title = "Base market", group = g_idi)
// ui_index_2 = input.symbol("BINANCE:ETHUSD", title = "Quote Market", group = g_idi)
type = input.string("MA", title = "Differrencing Series", options = , group = g_idi)
ui_ma_lkb = input.int(24, title = "lookback of ma and volatility scaling constant", group = g_idi)
ui_rsi_lkb = input.int(14, title = "Lookback of RSI", group = g_idi)
ui_atr_lkb = input.int(300, title = "ATR lookback - Normalising value", group = g_idi)
ui_ma_threshold = input.float(5, title = "Threshold of Upward/Downward Trend (MA)", group = g_idi)
ui_rsi_threshold = input.float(20, title = "Threshold of Upward/Downward Trend (RSI)", group = g_idi)
//>>+----------------------------------------------------------------+}
// CUSTOM FUNCTIONS |
//<<+----------------------------------------------------------------+{
// construct UDT (User defined type) containing the IDI (Intramarket Difference Index) source values
// UDT will hold many variables / functions grouped under the UDT
type functions
float Close // close price
float ma // ma of symbol
float rsi // rsi of the asset
float atr // atr of the asset
// the security data
getUDTdata(symbol, malookback, rsilookback, atrlookback) =>
indexHighTF = barstate.isrealtime ? 1 : 0
= request.security(symbol, timeframe = timeframe.period,
expression = [close , // Instentiate UDT variables
ta.sma(close, malookback) ,
ta.rsi(close, rsilookback) ,
ta.atr(atrlookback) ])
data = functions.new(close_, ma_, rsi_, atr_)
data
// Intramerket Difference Index
idi(type, symbol1, malookback, rsilookback, atrlookback, mathreshold, rsithreshold) =>
threshold = float(na)
index1 = getUDTdata(symbol1, malookback, rsilookback, atrlookback)
index2 = getUDTdata(syminfo.tickerid, malookback, rsilookback, atrlookback)
// declare difference variables for both base and quote symbols, conditional on which difference type is selected
var diffindex1 = 0.0, var diffindex2 = 0.0,
// declare Intramarket Difference Index based on series type, note
// if > 0, index 2 outpreforms index 1, buy index 2 (momentum based) until equalibrium
// if < 0, index 2 underpreforms index 1, sell index 1 (momentum based) until equalibrium
// for idi to be valid both series must be stationary and normalised so both series hae he same scale
intramarket_difference = 0.0
if type == "MA"
threshold := mathreshold
diffindex1 := (index1.Close - index1.ma) / math.pow(index1.atr*malookback, 0.5)
diffindex2 := (index2.Close - index2.ma) / math.pow(index2.atr*malookback, 0.5)
intramarket_difference := diffindex2 - diffindex1
else if type == "RSI"
threshold := rsilookback
diffindex1 := index1.rsi
diffindex2 := index2.rsi
intramarket_difference := diffindex2 - diffindex1
//>>+----------------------------------------------------------------+}
// STRATEGY FUNCTIONS CALLS |
//<<+----------------------------------------------------------------+{
// plot the intramarket difference
= idi(type,
ui_index_1,
ui_ma_lkb,
ui_rsi_lkb,
ui_atr_lkb,
ui_ma_threshold,
ui_rsi_threshold)
//>>+----------------------------------------------------------------+}
plot(intramarket_difference, color = color.orange)
hline(type == "MA" ? ui_ma_threshold : ui_rsi_threshold, color = color.green)
hline(type == "MA" ? -ui_ma_threshold : -ui_rsi_threshold, color = color.red)
hline(0)
Note it is possible that after printing a buy the strategy then prints many sell signals before returning to a buy, which again has the same implication (less profit. Potentially because we exit early only for price to continue upwards hence missing the larger "trend"). The image below showcases this cenario and again, by allowing our winner to run we may capture more profit (theoretically).
This should be clear...
🔸 Mean Reversion Case:
We stated prior that mean reversion of anomalies is an standerdies fact of financial data, how can we exploit this ?
We exploit this by normalizing the ID by applying the Ehlers fisher transformation. The transformed data is then assumed to be approximately normally distributed. To form the strategy we employ the same logic as for the z score, if the FT normalized ID > 2.5 (< -2.5) we buy (short). Our exit conditions remain unchanged (fixed ATR stop and trailing Donchian Trailing stop)
🔷 Position Sizing:
If ‘‘Fixed Risk From Initial Balance’’ is toggled true this means we risk a fixed percentage of our initial balance, if false we risk a fixed percentage of our equity (current balance).
Note we also employ a volatility adjusted position sizing formula, the turtle training method which is defined as follows.
Turtle position size = (1/ r * ATR * DV) * C
Where,
r = risk factor coefficient (default is 20)
ATR(j) = risk proxy, over j times steps
DV = Dollar Volatility, where DV = (1/Asset Price) * Capital at Risk
🔷 Risk Management:
Correct money management means we can limit risk and increase reward (theoretically). Here we employ
Max loss and gain per day
Max loss per trade
Max number of consecutive losing trades until trade skip
To read more see the tooltips (info circle).
🔷 Take Profit:
By defualt the script uses a Donchain Channel as a trailing stop and take profit, In addition to this the script defines a fixed ATR stop losses (by defualt, this covers cases where the DC range may be to wide making a fixed ATR stop usefull), ATR take profits however are defined but optional.
ATR SL and TP defined for all trades
🔷 Hurst Regime (Regime Filter):
The Hurst Exponent (H) aims to segment the market into three different states, Trending (H > 0.5), Random Geometric Brownian Motion (H = 0.5) and Mean Reverting / Contrarian (H < 0.5). In my interpretation this can be used as a trend filter that eliminates market noise.
We utilize the trending and mean reverting based states, as extra conditions required for valid trades for both strategy types respectively, in the process increasing our trade entry quality.
🔷 Example model Architecture:
Here is an example of one configuration of this strategy, combining all aspects discussed in this post.
Future Updates
- Automation integration (next update)
Relative Strength according to Oster (RSO)Overview:
Relative Strength according to Oster (RSO) is an innovative tool that redefines how traders assess an asset's market strength. Moving beyond traditional indicators, RSO offers a sophisticated and highly responsive measure of an asset's potential to continue performing well. By integrating groundbreaking methodologies, RSO equips traders with unparalleled insights into market dynamics, making it an essential tool for anyone looking to stay ahead in today's fast-paced trading environment.
Understanding RSL (Relative Strength according to Levy):
At its core, Relative Strength according to Levy (RSL) is a powerful concept rooted in the idea that an asset currently exhibiting strength is more likely to maintain or even enhance that strength in the future. RSL calculates this by comparing an asset's current price to its moving average, providing a clear picture of its relative performance over time. The further its value is above 1, the higher the market momentum and vice versa. This relationship to the moving average is crucial, as it indicates not just where the asset stands today but also its trajectory in the context of historical performance. The ability to identify assets that consistently outperform is a game-changer for traders, and RSL has long been a cornerstone in this pursuit.
RSO vs. Traditional RSL: A Leap Forward
The RSO takes the traditional RSL concept and propels it into new territory with its innovative correlation-based approach. This is where RSO truly shines, offering a unique and sophisticated analysis that goes far beyond the basics.
Why RSO is Revolutionary:
Correlation Adjustment: The RSO doesn’t just measure an asset’s strength in isolation. Instead, it adjusts its readings based on how closely the asset's price movements correlate with a chosen benchmark. This groundbreaking feature ensures that the RSO is not just reactive to past performance but also predictive of how the asset might behave relative to the broader market, adding a layer of precision that is unparalleled in traditional strength indicators.
Superior Strength Option: With the RSO, traders have the option to include superior strength factors, adding another dimension of insight. This feature allows for more stable and reliable long-term signals. On the flip side, those who prefer a more dynamic trading style can opt to exclude this factor for more frequent, shorter-term signals. This level of customization is rare and sets the RSO apart as a truly adaptable tool.
Enhanced Market Insights: RSO’s correlation-based approach doesn’t just show how strong an asset is—it reveals how that strength is likely to develop in relation to the benchmark's underlying trends. This isn’t merely about comparing performance; it’s about understanding the asset’s potential trajectory in a much broader market context. Such insight is invaluable for making informed, strategic trading decisions.
Practical Application:
The RSO isn’t just innovative in theory; it’s designed for practical, real-world trading. Traders can set customized alerts based on RSO’s readings, ensuring they’re always aware of key buy or sell signals as they occur. The flexibility to include or exclude superior strength factors means that RSO can be tailored to fit any trading style, whether focused on long-term investments or short-term opportunities.
Conclusion:
In conclusion, the Relative Strength according to Oster (RSO) is more than just an indicator; it’s a breakthrough in market analysis. By integrating correlation adjustments and offering unparalleled customization options, RSO provides traders with insights that are both deeper and more actionable than ever before. This innovative tool is designed to empower traders, giving them the edge they need to succeed in an increasingly complex market landscape. Whether you’re a seasoned trader or just starting out, the RSO is a must-have tool for navigating market trends with confidence and precision.
Aggressor Volume ImbalanceAggressor volume imbalance represents the ratio between market aggressor buy volume (market buy orders) and market aggressor sell volume (market sell orders). This ratio enables traders to evaluate the interest of market aggressors and whether aggressive market activity favours the price's direction.
Analysing aggressor volume is critical in understanding market sentiment and aids in identifying shifts in momentum and potential exhaustion points in the market. When the aggressor buy volume significantly exceeds the sell volume, it typically indicates strong buying interest, driving prices higher if the offer-side liquidity cannot contain it, and vice versa.
How it Works
The imbalance ratio is calculated as follows, according to the selected session timeframe (see settings):
imbalance := ((buyVolumeAccumulator - sellVolumeAccumulator)
/ (buyVolumeAccumulator + sellVolumeAccumulator)) * 100
Aggressive Volume Imbalance uses lower timeframe historical data to calculate Historical Aggressor Volume Imbalances, while live data is used for live aggressor volume imbalances.
How to Use It
You can set the indicator to use any historical data timeframe you prefer. However, it is highly recommended to use lower timeframes (e.g., 1 second), as the lower the timeframe, the more granular the data.
The indicator resets to 0% whenever a new session timeframe begins (e.g., a new day) and calculates new values for the rest of the session. This can be configured in the settings.
Trend Spotter v1Trend Spotter - Advanced Trend and Momentum Trading Strategy
Overview:
Trend Spotter is an advanced trading script designed to help traders identify high-probability buy and sell opportunities in the market. This closed-source script combines trend detection and momentum analysis to deliver reliable and actionable trading signals.
How It Works:
Trend Spotter integrates two powerful technical indicators: the Moving Average Convergence Divergence (MACD) and the Stochastic Relative Strength Index (StochRSI). These indicators are known for their effectiveness in identifying market trends and momentum shifts, respectively.
MACD Component: The MACD indicator is used to determine the strength and direction of a trend. By calculating the difference between a fast and a slow exponential moving average (EMA) of the asset’s price, the MACD helps to identify changes in the strength, direction, momentum, and duration of a trend. This script uses optimized settings for MACD to filter out market noise and focus on significant trends.
StochRSI Enhancement: The StochRSI is an oscillator that applies the Stochastic formula to the Relative Strength Index (RSI) values, making it a more sensitive indicator for detecting overbought and oversold conditions. StochRSI provides early signals of potential trend reversals, adding an extra layer of precision to the MACD signals.
Signal Generation Logic:
Trend Spotter generates buy and sell signals based on a combination of MACD crossovers and StochRSI levels:
Buy Signal: A buy signal is triggered when the MACD line crosses above the signal line, indicating a potential bullish trend, and the StochRSI confirms rising momentum.
Sell Signal: A sell signal occurs when the MACD line crosses below the signal line, indicating a potential bearish trend, and the StochRSI confirms falling momentum.
How to Use the Script:
Apply to Chart: Add Trend Spotter to any asset’s chart. It is best suited for time frames of 1-hour or higher.
Interpret Signals: Look for green arrows below the bars for buy signals and red arrows above the bars for sell signals.
Risk Management: Use stop-loss and take-profit levels to manage risk, ideally based on the asset’s volatility.
Unique Features:
Adaptive Settings: Trend Spotter adjusts its sensitivity based on historical volatility and market conditions, ensuring that the signals remain relevant across different market environments.
Visual and Audible Alerts: Traders receive clear visual signals on the chart and optional audible alerts when a buy or sell condition is met, ensuring that no trading opportunity is missed.
Conclusion:
Trend Spotter provides traders with a robust tool for trend and momentum analysis, combining the strengths of MACD and StochRSI to generate high-quality trading signals. This script is ideal for traders looking for a reliable method to identify entry and exit points in various market conditions.
Disclaimer:
While Trend Spotter has been backtested and optimized for performance, it is important to use it as part of a comprehensive trading strategy. Past performance is not indicative of future results, and traders should practice proper risk management when using this tool.
Simple Volatility MomentumOverview:
The Simple Volatility Momentum indicator calculates the mean and standard deviation of the changes of price (returns) using various types of moving averages (Incremental, Rolling, and Exponential). With quantifying the dispersion of price data around the mean, statistical insights are provided on the volatility and the movements of price and returns. The indicator also ranks the mean absolute value of the changes of price over a specified time period which helps you assess the strength of the "trend" and "momentum" regardless of the direction of returns.
Simple Volatility Momentum
This indicator can be used for mean reversion strategies and "momentum" or trend based strategies.
The indicator calculates the average return as the momentum metric and then gets the moving average of the average return and standard deviations from average return average. On the options you can determine if you want to use 1 or 2 standard deviation bands or have both of them enabled.
Settings:
Source: By default it's at close.
M Length: This is the length of the "momentum".
Rank Length: This is the length of the rank calculation of absolute value of the average return
MA Type: This is the different type of calculations for the mean and standard deviation. By default its at incremental.
Smoothing factor: (Only used if you choose the exponential MA type.)
The absolute value of the average return helps you see the strength of the "momentum" and trend. If there is a low ranking of the absolute value of the average return then you can eventually expect it to increase which means that the average return is trending, leading to trending price moves. If the Mean ABS rank value is at or near the maximum value 100 and the average return is at -2 standard deviation from the mean, you can see it as the negative momentum or trend being "finished". Similarly, if the Mean ABS value is near or at the maximum value 100 and the average return is at +2 standard deviation from the mean, you can view the uptrend, as "finished" and the Mean ABS rank can't really go higher than 100.
Moving Average Calculations type:
Incremental: Incremental moving averages use an incremental approach to update the moving average by adding the newest data point and subtracting the oldest one.
Exponential: The exponential moving average gives more weight to recent data points while still considering older ones. This is achieved by applying a smooth factor to the previous EMA value and the current data point. EMA's react more quickly to recent changes in the data compared to simple moving averages, making them useful for short term trends and momentum in financial markets.
Rolling: The moving average is calculated by taking the average of a fixed number of data points within a defined window. As new data becomes available, the window moves forward and the average is recalculated. Rolling Moving Averages are useful for smoothing out short-fluctuations and identifying trends over time.
Important thing to note about indicators involving bands and "momentum" or "trend" or prices:
For the explanation we will assume that stock returns follow a normal distribution and price follows a log normal distribution. Please note that in the live market this assumption isn't always true. Many people incorrectly use standard deviations on prices and trade them as mean reversion strategies or overbought or oversold levels which is not what standard deviations are meant for. Assuming you have applied the log transformation on the standard deviation bands (if your input is raw price then you should use a log transformation to remove the skewness of price), and you have a range of 2 standard deviations from the mean, under the empirical rule with enough occurrences 95% of the values will be within the 2 standard deviation range. This doesn't mean that if price falls to the bottom of the 2 standard deviation bound, there is a 95% chance it will revert back to mean, this is incorrect and not how standard deviations or mean reversion works.
"MOMENTUM"
In finance "momentum" refers to the rate of change of a time series data point. It shows the persistence or tendency for a data series to continue moving in its current direction. In finance, "momentum" based strategies capitalize on the observed tendency of assets that have performed well (or poorly) in the recent past to continue performing well (or poorly) in the near future. This persistence is often observed in various financial instruments including stocks, currencies and commodities.
"Momentum" is commonly calculated with the average return, and relies on the assumption that assets with positive "momentum" or a positive average return will likely continue to perform well in the short to medium term, while assets with a negative average return are expected to continue underperforming. This average return or expected value is derived from historical observations and statistical analysis of previous price movements. However, real markets are subject to levels of efficiencies, market fluctuations, randomness, and may not always produce consistent returns over time involving momentum based strategies.
Mean Reversion:
In finance, the average return is an important parameter in mean reversion strategies. Using statistical methodologies, mean reversion strategies aim to exploit the deviations from the historical average return by identifying instances where current prices and their changes diverge from their expected levels based on past performance. This approach involves statistical analysis and predictive modelling techniques to check where and when the average rate of change is likely to revert towards the mean. It's important to know that mean reversion is a temporary state and will not always be present in a specific timeseries.
Using the average return over price offers several advantages in finance and trading since it is less sensitive to extreme price movements or outliers compared to raw price data. Price itself contains a distribution that is usually positively-skewed and has no upper bound. Mean reversion typically occurs in distributions where extreme values are followed by a tendency for the variable to return towards its mean over time, however the probability distribution of price has no tendency for values to revert towards any specific level. Instead, values may continue to increase without a bound. Returns themself contain more stationary behavior than price levels. Mean reversion strategies rely on the assumption that deviations from the mean will eventually revert back to the mean. Returns, being more likely to exhibit stationary, are better suited for mean reversion based strategies.
The distribution of returns are often more symmetrically distributed around their mean compared to price distributions. This symmetry makes it easier to identify deviations from the mean and assess the likelihood of mean reversion occurrence. Returns are also less sensitive to trends and long-term price movements compared to price levels. Mean reversion strategies aim to exploit deviations from mean, which can be obscured when analyzing raw price data since raw price is almost always trending. Returns can filter out the trend component of price movements, making it easier to identify opportunities.
Stationary Process: Implication that properties like mean and variance remain relatively constant over time.
Dynamic Momentum GaugeOverview
The Dynamic Momentum Gauge is an indicator designed to provide information and insights into the trend and momentum of a financial asset. While this indicator is not directional , it helps you know when there will be a trend, big move, or when momentum will have a run, and when you should take profits.
How It Works
This indicator calculates momentum and then removes the negative values to focus instead on when the big trend could likely happen and when it could end, or when you should enter a trade based on momentum or exit. Traders can basically use this indicator to time their market entries or exits, and align their strategies with momentum dynamics.
How To Use
As previously mentioned, this is not a directional indicator but more like a timing indicator. This indicator helps you find when the trend moves, and big moves in the markets will occur and its possibly best to exit the trades. For example, if you decide to enter a long trade if the Dynamic Momentum Gauge value is at an extreme low and another momentum indicator that you use has conditions that you would consider to long with, then this indicator is basically telling you that there isn't more space for the momentum to squeeze any longer, can only really expand from that point or stay where it currently is, but this is also a mean reverting process so it does tend to go back up from the low point.
Settings:
Length: This is the length of the momentum, by default its at 100.
Normalization Length: Length of the Normalization which ensures the the values fall within a consistent range.
Bubble Risk IndicatorThe Bubble Risk Indicator is a sophisticated tool designed to assess the potential risk level of a trading instrument by measuring its deviation from a 20-week Simple Moving Average (SMA). This dynamic indicator visually represents the deviation with a color-changing line, indicating the degree of risk based on the distance from the SMA.
🔷 Calculation
The indicator calculates the deviation from the 20-week SMA and expresses it as a percentage extension:
20-Week SMA : Averages the closing prices over the past 20 periods, providing a consistent measure of the long-term trend.
Deviation Percentage : Measures the percentage difference between the current closing price and the 20-week SMA.
🔷 Color Coding
The line changes color based on the deviation level to represent different risk levels. Users can customize these colors as per their preferences. However, the following are the default recommended settings:
Extreme Low Risk (Below 0) : Blue
Low Risk (Below 0) : Light Blue
Low Risk (Above 0) : Light Purple
Medium Risk : Orange
High Risk : Red
Colors transition smoothly to reflect the increasing or decreasing risk based on the deviation from the SMA.
🔷 Customization
Users have the flexibility to change the colors representing each risk level through the indicator settings. While the default colors are recommended for a standard view, users comfortable with custom color schemes can adjust according to their preference.
🔷 Usage
This indicator is beneficial for gauging the relative risk associated with current price movements compared to a historical average. It's most effective when used in conjunction with other technical analysis tools and market knowledge.
🔷 Limitations
While the Bubble Risk Indicator provides valuable insights, it should form part of a broader trading strategy. It assesses risk levels based on historical data and does not predict future market directions.
🔷 Conclusion
The Bubble Risk Indicator offers a nuanced and visually intuitive way to understand market risk levels, providing traders with an additional tool for informed decision-making.
🔷 Risk Disclaimer
Trading involves significant risk and is not suitable for every investor. The value of investments can fluctuate. Past performance is not indicative of future results. Always consider your circumstances and seek independent advice before making financial decisions. This indicator is provided for informational purposes only and is not intended as financial advice.
Logical Trading Indicator V.1Features of the Logical Trading Indicator V.1
ATR-Based Trailing Stop Loss
The Logical Trading Indicator V.1 utilizes the Average True Range (ATR) to implement a dynamic trailing stop loss. You can customize the sensitivity of your alerts by adjusting the ATR Multiple and ATR Period settings.
Higher ATR Multiple values create wider stops, while lower values result in tighter stops. This feature ensures that your trades are protected against adverse price movements. For best practice, use higher values on higher timeframes and lower values on lower term timeframes.
Bollinger Bands
The Logical Trading Indicator V.1 includes Bollinger Bands, which can be customized to use either a Simple Moving Average (SMA) or an Exponential Moving Average (EMA) as the basis.
You can adjust the length and standard deviation multiplier of the Bollinger Bands to fine-tune your strategy. The color of the basis line changes to green when price is above and red when price is below the line to represent the trend.
The bands show a range vs a single band that also represents when the price is in overbought and oversold ranges similar to an RSI. These bands also control the take profit signals.
You also have the ability to change the band colors as well as toggle them off, which only affects the view, they are still active which will still fire the take profit signals.
Momentum Indicator
Our indicator offers a momentum filter option that highlights market momentum directly on the candlesticks, identifying periods of bullish, bearish, or consolidation phases. You can enable or disable this filter as needed, providing valuable insights into market conditions.
By default, you will see the candlestick colors represent the momentum direction as green or red, and consolidation periods as white, but the filter on the BUY and SELL signals is not active. The view options and filter can be toggled on and off in the settings.
Buy and Sell Signals
The Logical Trading Indicator V.1 generates buy and sell signals based on a combination of ATR-based filtering, Bollinger Band basis crossover, and optional momentum conditions if selected in the settings. These signals help you make informed decisions about when to enter or exit a trade. You can also enable a consolidation filter to stay out of trades during tight ranges.
Basically a BUY signal fires when the price closes above the basis line, and the price meets or exceeds the ATR multiple from the previous candle length, which is also editable in the settings.
If the momentum filter is engaged, it will not fire BUY signals when in consolidation periods. It works just the opposite for SELL signals.
Take Profit Signals
We've integrated a Take Profit feature that helps you identify points to exit your trades with profits. The indicator marks Long Take Profit when prices close below the upper zone line of the Bollinger Bands after the previous candle closes inside the band, suggesting an optimal point to exit a long trade or consider a short position.
Conversely, Short Take Profit signals appear when prices close above the lower zone after the previous candle closes inside of it, indicating the right time to exit a short trade or contemplate a long position.
Alerts for Informed Trading
The Logical Trading Indicator V.1 comes equipped with alert conditions for buy signals, sell signals, take profit points, and more. Receive real-time notifications to your preferred devices or platforms to stay updated on market movements and trading opportunities.
Alpha Momentum Trade - AMT (QUAD Financial)The "Alpha Momentum Trend" indicator was conceived by Tiago Friedrich and programmed by Conrado Villaça.
The indicator description applies to the daily chart. When used on other timeframes, the indicator also changes its signals based on the timeframe used.
It has five fields, from top to bottom:
1. "ATR Multiple MA" greater than multiple: shows how many candles the asset stayed 7 times the ATR (average true range) above the 50-period simple moving average (SMA) in the last 126 candles. The purpose is to identify the strength of the asset because the more times it stayed at this distance from the SMA 50, the greater the acceleration of its prices tends to be, indicating a high momentum asset. You can change the period of the SMA in the indicator settings.
2. ATR% Multiple from MA: shows the multiple of ATR that the asset is from the same SMA as in the upper field. The default is the SMA 50, and the indicator helps identify interesting regions to take profits from long positions. When the asset is more than 7 ATRs above the SMA 50, the asset is considered "stretched," and a correction or price consolidation becomes likely. For high beta assets with a very strong trend, you can use a multiple of 10 ATRs for this purpose.
3. ATR% Multiple from 52w Low: shows the multiple of ATR that the asset is in relation to the 52-week low price. The higher the number, the more the asset has risen relative to its volatility standards, indicating a stronger trend. For momentum traders, it's ideal for the asset to be at least 15 ATRs above the minimum for this period to ensure that it's in a strong uptrend and far from the lows.
4. Longest streak above SMA: within the last 126 candles, it shows the longest streak of days when the asset didn't close below a specific simple moving average. The default definition is with the 10-day SMA, but you can change it in the indicator settings. The more consecutive days the asset can stay above the SMA10, the sign that its trend is consistent and not very volatile, which is desirable. Ideally, an asset should have previously formed an uptrend by staying at least 20 consecutive days above the SMA10.
5. Longest streak above EMA: within the last 126 candles, it shows the longest streak of days when the asset didn't close below a specific exponential moving average. The default definition is with the 21-day EMA, but you can change it in the indicator settings. The more consecutive days the asset can stay above the EMA21, the sign that its trend is consistent and not very volatile, which is desirable. Ideally, an asset should have previously formed an uptrend by staying at least 35 consecutive days above the EMA21.
It's also possible to visualize on the chart the moving averages used for the calculation of the "ATR Multiple MA," "Longest streak above SMA," and "Longest streak above EMA". In the default configuration, this results in a simple 50-day moving average, a simple 10-day moving average, and an exponential 21-day moving average being displayed on the chart, respectively.
PhantomFlow TrendDetectorThe TrendDetector calculates waves on the chart using the built-in ZigZag indicator and detects a trend change after the last high/low update occurs in a minimum sequence of non-updated highs/lows. This assumes a continuation of the trend for the subsequent update of the remaining high/low.
For trend determination:
When you see a pink or light yellow trend color, it means that a new trend may potentially be emerging right now, and you can join it almost at the beginning. So, if you see patterns from your trading system aligning with the TrendDetector indicator and they have the same direction, it further increases the likelihood of your plan working out.
In the case where the trend phase has a red or green color, it may indicate that the primary market impulse has already occurred, and therefore, joining the trend at this time may not be advisable.
For trade entry:
Additionally, you can use the indicator specifically for entering the market using market orders. Depending on the timeframe (the smaller the timeframe, the more confirmation candles are needed), you can open a trade when one trend replaces another at the close, for example, the second candle in the case of a 10-minute timeframe. Stop-loss can be placed under the signal candle, a local peak, or a reversal trend valley, a global peak, or a reversal trend valley. In the example above, the second option was used.
Settings
You cannot technically adjust anything in this indicator because all the logic is hardcoded. However, for a better chart visualization, after adding it to the chart, click on the three dots next to the indicator name, select "Visual order," and then "Bring to front".
Momentum Memory Indicator
The Momentum Memory Indicator (MMI) is a custom tool designed to predict future price movements based on the historical momentum of an asset. By calculating the Rate of Change (ROC) and then averaging it over a specified "memory" period, the MMI provides a prediction that reflects both recent and slightly older momentum data. The prediction is visualized as a histogram, with colors indicating the direction of the momentum.
**Parameters:**
1. **Rate of Change Period (ROC Period):** This parameter sets the period for the Rate of Change calculation, which measures the momentum of the asset. The default value is 14.
2. **Memory Period:** This parameter determines the period over which the average momentum is calculated. By considering momentum over this "memory" period, the indicator aims to provide a more stable and reliable prediction. The default value is 5.
**Logic:**
1. **Rate of Change (Momentum):** The ROC is calculated based on the asset's closing prices over the specified ROC period. It provides a measure of how much the price has changed over that period, indicating momentum.
2. **Average Momentum:** The average momentum is calculated by taking a simple moving average (SMA) of the ROC values over the memory period. This smoothens out the momentum data and provides a more stable value for prediction.
3. **Prediction:** The prediction is calculated by adjusting the current closing price based on the average momentum. This gives an estimate of where the price might be in the next period, assuming the momentum continues.
4. **Prediction Color:** The color of the prediction histogram is determined by the direction of the average momentum. A positive momentum results in a green histogram, while a negative momentum results in a red histogram.
**Plots:**
1. **Prediction (Histogram):** Represents the predicted price movement based on the average momentum. The direction and magnitude of the histogram bars provide insights into the expected price change. The color of the bars (green or red) indicates the direction of the momentum.
Market Scanner Pro - NAS100/S&P500 [FxScripts]***** OVERVIEW *****
Market Scanner Pro is both a multi-functional indicator and market scanner combined. The combination allows you to have multiple eyes across the market, all from a single chart.
The scanner is comprised of an intuitively designed 3-in-1 tool that tracks the key metrics that drive markets. Each use advanced algorithms to gather information from multiple data points, distilled into one simplified view.
***** TREND SCANNER *****
The first indicator featured on the chart is the Trend Scanner, this allows you to track price action across the wider market. Instantly see pattern shifts and emerging trends; when the market moves, you move with it.
***** MOMENTUM SCANNER *****
The second is the Momentum Scanner which offers a realtime representation of momentum shifts as they occur. This allows you to monitor false breakouts and catch the moves that matter.
***** VOLUME SCANNER *****
The third is the Volume Scanner which provides unique insight into where buy and sell volume is being placed across the market. It offers a further way of determining entry and exit points or simply confirmation that a trend is underway.
***** HOW IT WORKS *****
1. The scanner surveys the market looking for strengths and weaknesses in Trend, Momentum or Volume.
2. It displays the underlying strength or weakness as a series of dots with up to 10 green dots showing strength and up to 10 red dots showing weakness.
3. Lighter colored dots are displayed where the strength of the trend, momentum or volume is lesser; if a dot is missing this is a sign of market neutrality.
4. All scanners have a sensitivity setting plus a volatility filter which can be adjusted according to your style of trading and the underlying instrument (full details below).
5. The background can be set to color-fill when the majority of dots are coloured either red or green, with higher values denoting greater strength or greater weakness.
6. Alerts can be configured in the same way as the background to provide both entry and exit signals (further details below).
***** INSTRUMENTS *****
Market Scanner Pro is made up of both a European and US indices scanner, both forming part of the same package.
European features the DAX40 and FTSE100; US (this scanner) features the NAS100 plus S&P500. The US scanner works on futures and options such as ES, NQ, QQQ, SPX and SPY.
***** SETTINGS OVERVIEW *****
The scanner features the following customizable settings:
~~ Trend Settings ~~
▶ Trend Filter - adjusting this will allow you to focus on short term trends (most suitable for scalping), medium or long term (best for swing trading).
▶ Countertrend Strength - increases the sensitivity of weaker vs stronger countertrends. As countertrends are trends that run against the main trend, this will assist in detecting the strength of a pullback or reversal and allow you to either hold, exit or reverse the trade with confidence.
~~ Momentum Settings ~~
▶ Momentum Filter - increase or decrease the sensitivity of the momentum scanner. Increase to avoid periods of low or weak momentum, decrease to highlight stronger surges in momentum.
~~ Volume Settings ~~
▶ Volume Filter - increase or decrease the sensitivity of the volume scanner. Increase to avoid periods where buy and sell volume can potentially cancel each other out.
~~ Volatility Settings ~~
▶ Volatility Offset - use this to fine tune the volatility filter. A higher value generally delays the volatility filter allowing for confirmation of stronger trends, a lower value will detect trend, momentum or volume movement sooner but may be less accurate.
▶ Each scanner has its own setting allowing you to adjust how you monitor the underlying volatility for each.
▶ As with all settings, we recommend adjusting this to your style of trading, instrument and timeframe.
~~ Alerts ~~
Alerts can be configured to send notifications when anything from 6-10 bullish or bearish dots are showing. Exit markers can be configured when anything from 2+ dots are revealed. This adds an extra layer of sensitivity for traders who appreciate complete control over their trade.
~~ Display Settings ~~
You have the ability to hide all colored dots and only show the background or, alternatively, hide the background and only show colored dots.
***** TRIAL PERIOD *****
We offer a FREE, no questions asked, 7-day trial with every new registration. Visit the link below to register.
Market Scanner Pro - DAX/FTSE [FxScripts]***** OVERVIEW *****
Market Scanner Pro is both a multi-functional indicator and market scanner combined. The combination allows you to have multiple eyes across the market, all from a single chart.
The scanner is comprised of an intuitively designed 3-in-1 tool that tracks the key metrics that drive markets. Each use advanced algorithms to gather information from multiple data points, distilled into one simplified view.
***** TREND SCANNER *****
The first indicator featured on the chart is the Trend Scanner, this allows you to track price action across the wider market. Instantly see pattern shifts and emerging trends; when the market moves, you move with it.
***** MOMENTUM SCANNER *****
The second is the Momentum Scanner which offers a realtime representation of momentum shifts as they occur. This allows you to monitor false breakouts and catch the moves that matter.
***** VOLUME SCANNER *****
The third is the Volume Scanner which provides unique insight into where buy and sell volume is being placed across the market. It offers a further way of determining entry and exit points or simply confirmation that a trend is underway.
***** HOW IT WORKS *****
1. The scanner surveys the market looking for strengths and weaknesses in Trend, Momentum or Volume.
2. It displays the underlying strength or weakness as a series of dots with up to 10 green dots showing strength and up to 10 red dots showing weakness.
3. Lighter colored dots are displayed where the strength of the trend, momentum or volume is lesser; if a dot is missing this is a sign of market neutrality.
4. All scanners have a sensitivity setting plus a volatility filter which can be adjusted according to your style of trading and the underlying instrument (full details below).
5. The background can be set to color-fill when the majority of dots are coloured either red or green, with higher values denoting greater strength or greater weakness.
6. Alerts can be configured in the same way as the background to provide both entry and exit signals (further details below).
***** INSTRUMENTS *****
Market Scanner Pro is made up of both a European and US indices scanner, both forming part of the same package.
European (this scanner) features the DAX40 and FTSE100; US features the NAS100 plus S&P500. The US scanner works on futures and options such as ES, NQ, QQQ, SPX and SPY.
***** SETTINGS OVERVIEW *****
The scanner features the following customizable settings:
~~ Trend Settings ~~
▶ Trend Filter - adjusting this will allow you to focus on short term trends (most suitable for scalping), medium or long term (best for swing trading).
▶ Countertrend Strength - increases the sensitivity of weaker vs stronger countertrends. As countertrends are trends that run against the main trend, this will assist in detecting the strength of a pullback or reversal and allow you to either hold, exit or reverse the trade with confidence.
~~ Momentum Settings ~~
▶ Momentum Filter - increase or decrease the sensitivity of the momentum scanner. Increase to avoid periods of low or weak momentum, decrease to highlight stronger surges in momentum.
~~ Volume Settings ~~
▶ Volume Filter - increase or decrease the sensitivity of the volume scanner. Increase to avoid periods where buy and sell volume can potentially cancel each other out.
~~ Volatility Settings ~~
▶ Volatility Offset - use this to fine tune the volatility filter. A higher value generally delays the volatility filter allowing for confirmation of stronger trends, a lower value will detect trend, momentum or volume movement sooner but may be less accurate.
▶ Each scanner has its own setting allowing you to adjust how you monitor the underlying volatility for each.
▶ As with all settings, we recommend adjusting this to your style of trading, instrument and timeframe.
~~ Alerts ~~
Alerts can be configured to send notifications when anything from 6-10 bullish or bearish dots are showing. Exit markers can be configured when anything from 2+ dots are revealed. This adds an extra layer of sensitivity for traders who appreciate complete control over their trade.
~~ Display Settings ~~
You have the ability to hide all colored dots and only show the background or, alternatively, hide the background and only show colored dots.
***** TRIAL PERIOD *****
We offer a FREE, no questions asked, 7-day trial with every new registration. Visit the link below to register.
Gold & Silver Scanner Pro [FxScripts]***** FEATURES *****
Gold & Silver Scanner Pro is both a multi-functional indicator and market scanner combined. The combination allows you to have multiple eyes across the market, all from a single chart.
The scanner is comprised of an intuitively designed 3-in-1 tool that tracks the key metrics that drive markets. Each use advanced algorithms to gather information from multiple data points, distilled into one simplified view.
***** TREND SCANNER *****
The first indicator featured on the chart is the Trend Scanner, this allows you to track price action across the wider market. Instantly see pattern shifts and emerging trends; when the market moves, you move with it.
***** MOMENTUM SCANNER *****
The second is the Momentum Scanner which offers a realtime representation of momentum shifts as they occur. This allows you to monitor false breakouts and catch the moves that matter.
***** VOLUME SCANNER *****
The third is the Volume Scanner which provides unique insight into where buy and sell volume is being placed across the market. It offers a further way of determining entry and exit points or simply confirmation that a trend is underway.
***** HOW IT WORKS *****
1. The scanner surveys the market looking for strengths and weaknesses in Trend, Momentum or Volume.
2. It displays the underlying strength or weakness as a series of dots with up to nine green dots showing strength and up to nine red dots showing weakness (nine data points in total).
3. Lighter colored dots are displayed where the strength of the trend, momentum or volume is lesser; if a dot is missing this is a sign of market neutrality.
4. All scanners have a sensitivity setting plus a volatility filter which can be adjusted according to your style of trading and the underlying instrument (full details below).
5. The background can be set to color-fill when the majority of dots are coloured either red or green, with higher values denoting greater strength or greater weakness.
6. Alerts can be configured in the same way as the background to provide both entry and exit signals (further details below).
***** INSTRUMENTS *****
Gold & Silver Scanner Pro works effortlessly with any of the XAG and XAU major or minor crosses:
XAGAUD, XAGCHF, XAGEUR, XAGGBP, XAGJPY, XAGUSD, XAUAUD, XAUCHF, XAUEUR, XAUGBP, XAUJPY, XAUUSD
Plus the following gold and silver futures:
GC, SI
***** SETTINGS OVERVIEW *****
The scanner features the following customizable settings:
~~ Trend Settings ~~
▶ Trend Filter - adjusting this will allow you to focus on short term trends (most suitable for scalping), medium or long term (best for swing trading).
▶ Countertrend Strength - increases the sensitivity of weaker vs stronger countertrends. As countertrends are trends that run against the main trend, this will assist in detecting the strength of a pullback or reversal and allow you to either hold, exit or reverse the trade with confidence.
~~ Momentum Settings ~~
▶ Momentum Filter - increase or decrease the sensitivity of the momentum scanner. Increase to avoid periods of low or weak momentum, decrease to highlight stronger surges in momentum.
~~ Volume Settings ~~
▶ Volume Filter - increase or decrease the sensitivity of the volume scanner. Increase to avoid periods where buy and sell volume can potentially cancel each other out.
~~ Volatility Settings ~~
▶ Volatility Offset - use this to fine tune the volatility filter. A higher value generally delays the volatility filter allowing for confirmation of stronger trends, a lower value will detect trend, momentum or volume movement sooner but may be less accurate.
▶ Each scanner has its own setting allowing you to adjust how you monitor the underlying volatility for each.
▶ As with all settings, we recommend adjusting this to your style of trading, instrument and timeframe.
~~ Alerts ~~
Alerts can be configured to send notifications when anything from 5-9 bullish or bearish dots are showing. Exit markers can be configured when anything from 2+ dots are revealed. This adds an extra layer of sensitivity for traders who appreciate complete control over their trade.
~~ Display Settings ~~
You have the ability to hide all colored dots and only show the background or, alternatively, hide the background and only show colored dots.
***** TRIAL PERIOD *****
We offer a FREE, no questions asked, 7-day trial with every new registration. Visit the link below to register.
TEWY - Magic Momentum IndicatorMy goal is to equip every trader and investor with the essential tools necessary to confidently navigate the complexities of the financial markets, enabling them to consistently identify opportunities and maintain a position of strength on the winning side of their trades. This indicator stands as a potent tool, offering the capability to effectively assess longer-term momentum trends.
Allow me to provide some context regarding the genesis of this indicator. By keenly observing the pattern of momentum loss preceding each trend reversal, coupled with the notable decrease in the rate of price change, I've formulated this indicator. This design is rooted in the understanding that these dynamics hold key insights into the market's shifting trends.
So, I've developed this indicator with the purpose of granting you the ability to select and construct optional combinations of up to two comparable symbols. Through this, you gain a comprehensive and insightful perspective on the ever-evolving dynamics of the market.
This indicator acts like an oscillator and momentum line serves as a key determinant. When the line is positioned above 0, it signifies a positive momentum; conversely, if it rests below 0, it indicates a sideways to negative trend. This mechanism offers a clear and intuitive means of gauging prevailing market conditions.
Should you have any inquiries or require further clarification regarding this indicator, please do not hesitate to reach out to me via direct message. I am here to provide you with the necessary guidance and support to ensure your experience with this tool is both seamless and enriching. Your understanding and satisfaction remain my utmost priority.
By TEWY - Trade Easy With Yogesh
I am Yogesh
TEWY - Magic Strength Indicator V2My goal is to equip every trader and investor with the essential tools necessary to confidently navigate the complexities of the financial markets, enabling them to consistently identify opportunities and maintain a position of strength on the winning side of their trades. This indicator stands as an immensely powerful tool, delivering a comprehensive and robust approach to market analysis and decision-making.
Allow me to provide some context regarding the genesis of this indicator. The global financial landscape encompasses a multitude of markets, ranging from the money market to the stock market, cryptocurrencies, commodities, and beyond. Often, these markets display proportional or inverse correlations, unveiling the intricate interplay between them. At the heart of this concept lies a meticulous comparison between a selected ticker and other analogous markets. This analytical approach serves as a pathway to unearthing invaluable insights and intricate patterns across interconnected sectors.
So, I created this indicator, to empower you with the capability to select and construct combinations of up to seven comparable markets and offer a comprehensive perspective on market dynamics.
Let me to elucidate the intricacies of this indicator and delve into its versatile configurations. By understanding its components and tailoring its settings, traders can harness its full potential to make informed and strategic trading decisions.
Related to indicator configuration sections
Section 1. 'PRIMARY AND SECONDARY INDEX' and Section 2. 'GLOBAL REFERENCE INDEX'
To utilize this indicator, begin by configuring at least one comparison indicator in the "Primary Index" field. Additional options include the secondary index (which can function as a sector index) and five global indices. Furthermore, you have the flexibility to adjust their timeframes, allowing for comparisons across various time horizons.
Section 3. ADVANCED FEATURS
Consider a scenario where you've pulled up a chart for "NSE:BANKNIFTY" and desire to assess the relative strength of "NSE:NIFTY" in comparison to global indices. To accomplish this, explore the Advanced Feature section and toggle the "Use Different Base Ticker" option to "Yes." Subsequently, input "NSE:NIFTY" as the symbol/ticker in the designated box. This ingenious feature empowers you to evaluate the strength of "NSE:NIFTY" the backdrop of the "NSE:BANKNIFTY" chart. The result? A remarkably potent analytical capability at your fingertips! The possibilities it offers are indeed remarkable!
Section 4. LINE AND BARCOLOR RELATED
I have dedicated considerable effort to scrutinize historical patterns within the strength indicator of various symbols. Through meticulous analysis, I've identified pivotal conditions that often herald shifts in market or symbol trends. Leveraging this insight, I've devised a system to determine optimal strength line colors and bar colors. This strategic approach adds a layer of precision to the indicator, enhancing its effectiveness in recognizing and visualizing trend changes.
Recognizing the prevailing tendency of global markets to exhibit more upward momentum than downward movement, I've taken into account this inherent "Long Bias." With this understanding in mind, I've incorporated a unique feature that aims to prompt an early transition from red to green bar colors when there's a potential indication of a trend reversal from a downtrend. By proactively signaling the shift in color dynamics, this feature aligns with the overall upward-leaning nature of the markets, enabling traders/investors to respond swiftly to potential changes in trend direction.
By employing the 'Use Simple Method of Calculation,' the determination of strength line color is executed through a straightforward crossover technique. This approach proves particularly effective in scenarios where inverse correlations exist between the symbols or tickers being compared. Additionally, an 'Inverse Scale' option is available, wherein a simple multiplication by -1 is applied to all values. This ingenious feature offers a convenient perspective on symbols or tickers that exhibit inverse correlations, further enhancing the indicator's adaptability to a wide array of market dynamics.
**** It's important to note that the 'Change Bar Color' option is intentionally set to the default selection of 'No.' By design, only when you opt to set it to 'Yes' do custom bar colors come into play on the chart. This thoughtful design choice acknowledges the potential need to preserve bar colors when seeking to discern inverse correlations between symbols. Should you require a modification in bar colors, kindly select 'Yes' to initiate this change and access the custom color functionality.
Section 5. LABELS
Moreover, to facilitate ease of use and organization, I've included a practical feature for instances where you deploy this indicator multiple times on a single chart. Within this context, should you wish to assign quick tags to each instance, a dedicated free-text box is at your disposal. This allows you to conveniently label and categorize different instances of the indicator, ensuring a streamlined and efficient approach to managing your chart analyses.
I encourage you all to embark on a rewarding journey in your trading and investing endeavors. With this indicator as your ally, equipped with its potent analytical capabilities, may your path be marked by well-informed decisions and prosperous outcomes. Wishing you every success in your trading and investment journey!
Should you have any inquiries or require further clarification regarding this indicator, please do not hesitate to reach out to me via direct message. I am here to provide you with the necessary guidance and support to ensure your experience with this tool is both seamless and enriching. Your understanding and satisfaction remain my utmost priority.
By TEWY - Trade Easy With Yogesh
I am Yogesh