Momentum Reversal Indicator (MRI)This is the Beta release of the Momentum Reversal Indicator (MRI), expect an update by the end of year.
The Momentum Reversal Indicator (MRI) is an advanced script for professional traders who have taken the time to learn all its functions. It is a time based indicator that anticipates the ending of trends based on the momentum in price movement. As an important secondary element, MRI also suggests when a trend might be starting or continuing, which a trader can certainly take advantage of. It is useful across all assets and all time frames but is ideal in more liquid assets on Daily & Weekly time frames.
Since this is an Invite Only Script, I will not be making the code public nor explain the math logic of the code here in TradingView. TradingView also limits any external links, but those interested in details or access should be resourceful enough to find all the information they need on my website. However, I will try and explain the usefulness of the MRI indicator with the following images.
MRI will display a downwards red arrow above the candle when the bullish trend is ending and an upwards green arrow above the candle when the bearish trend is ending. The candle before the MRI top/bottom is marked by an orange arrow warning you that the trend might be ending on the next candle. (It's common that the trend ends on the candle before or after this MRI signal, I personally like to use single candlestick reversals for confirmation like Shooting Stars, Hammers and Doji). The orange arrow will disappear if a green or red arrow shows up, but will remain on the chart if on the following candle, the conditions needed to make the MRI signal are not met. See NYSE:UBER chart below:
When the number above the arrow is something other than a 1, it indicates a strong trend and the number represents consecutive instances of hitting that MRI extreme condition. These consecutive instances have been known to cause major changes in trend and the larger the number, the bigger the move might be. Here is a recent example of the daily chart hitting a 3 on the MRI, with the market falling 6.5% in the following 3 days and 10% over the next 3 weeks (you can see this in the image used to publish this script)
The biggest number I have seen is a 5, this occurred on the weekly chart of AMEX:CBOE as it was followed by a 30% correction over the next two weeks.
Following an MRI Top/Bottom there are three different Extensions of trend if the price continues to move in the same direction and does not reverse with the MRI. It’s up to the trader to decide which of the three they find most relevant, for me it’s B & C, and there are settings you can use to remove what you don't care for from display. They have a different but similar rule set which is explained to those serious about the indicator and purchase access, which comes with full explanations in a video. Here is a recent chart of NASDAQ:AMZN for an example:
And here is a weekly chart of NYSE:GM topping on Extension C with the MRI warning (Orange Arrow). Extensions A & B also provided good profit takes after a big run up
These Extensions are particularly useful when they occur on (or right around) an MRI Top/Bottom. Here is an example where it timed the 2018 stock market SPCFD:SPX top perfectly leading directly into an MRI Bottom two weeks later (Also notice how we can show multiple timeframes hitting MRI levels)
In addition to Extensions, an MRI Top/Bottom generates a Resistance/Support line (dotted) and a Breakout Line (solid). The Support/Resistance not only has a tendency to reverse the price but also increases the probability of the MRI leading to a full reversal if the line is not broken. By breaking this dotted line, you increase the probability of entering the Extension of Trend. The Breakout line tends to notify the trader that the trend is very strong and continuing. As an example of Support line, here is a recent 1 hour BITSTAMP:BTCUSD chart
Here is FX_IDC:EURUSD as of today on a daily chart which shows the Extension of trends once these critical support/resistance and breakout lines are taken out.
The indicator also shows you if the MRI is hitting critical levels on higher level time frames. We have set the defaults to Hourly (H), Daily (D), Weekly (W), Monthly (M) and Yearly (Y). You can turn these off in settings and you can also add up to 3 additional custom timeframes of your choice to the display list. When MRI lines up across several time frames it has a history of causing significant moves, here is an example of NSE:TITAN which fell 25% after aligning with the Daily, Weekly and Monthly timeframes for a top.
The recent top in TVC:GOLD came on a Friday which had a Daily Extension B & C top. The following Monday kicked off a weekly MRI Top and a week later was the start of September, which happens to be a Monthly MRI Top. Gold is still trending lower as of today and is down 11% since this top less than 2 months ago.
One final note on the multi-timeframe is that if you have the Hourly (H) set to display on a chart that only has end of day data, the Indicator will not work so make sure to uncheck all timeframes that can't be identified in the settings.
Here are additional charts that show the power of MRI including cryptocurrencies:
Recent 25% crash in BINANCE:BNBBTC
Of course we have to mention BITSTAMP:BTCUSD here is how MRI called the time period around the big crash in March 2020. There was a very timely MRI Top several weeks prior and once the Support line broke, it went right down into a nice MRI Bottom.
Volatility Index Weekly & Daily as of today CBOE:VIX
Here is the current look at the weekly USD chart TVC:DXY you can see how it tops on Extension C in March and seems to have bottomed with the MRI in late August.
One more look at a stock chart, here we have the Weekly NASDAQ:SBUX as of today, it perfectly oscillates between the MRI calls the last two years.
Disclaimer : Trading is risky and using MRI (like any other indicator) does not guarantee positive returns. It does not blindly provide Buy/Sell/Short calls and the trader will need to evaluate every alert.
“The average man doesn’t wish to be told that it is a bull or a bear market. What he desires is to be told specifically which particular stock to buy or sell. He wants to get something for nothing. He does not wish to work. He doesn’t even wish to have to think.” - Jesse Livermore
Personal Note: I would like to credit the following people that all lead to the knowledge needed to build the MRI: Larry Williams, Tom DeMark, Tyler Jenks, Martin Armstrong & Kevin O’Dowd (most of whom I have met or interacted with)
Thank you everyone, if this indicator interests you, you know what to do...
Good Luck Trader,
Tone Vays
Cerca negli script per "momentum"
Neglected Volume by DGTVolume is one piece of information that is often neglected, however, learning to interpret volume brings many advantages and could be of tremendous help when it comes to analyzing the markets. In addition to technicians, fundamental investors also take notice of the numbers of shares traded for a given security.
What is Volume?
The volume represents all the recorded trades for a security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security. Think of volume as the force that drives the market. Volume substantiates, energizes, and empowers price. When volume increases, it confirms price direction; when volume decreases, it contradicts price direction.
In theory, increases in volume generally precede significant price movements. However, If the price is rising in an uptrend but the volume is reducing or unchanged, it may show that there’s little interest in the security, and the price may reverse.
A high volume usually indicates more interest in the security and the presence of institutional traders. However, a rapidly rising price in an uptrend accompanied by a huge volume may be a sign of exhaustion.
Traders usually look for breaks of support and resistance to enter positions. When security break critical levels without volume, you should consider the breakout suspect and prime for a reversal off the highs/lows
Volume spikes are often the result of news-driven events. Volume spike will often lead to sharp reversals since the moves are unsustainable due to the imbalance of supply and demand
note : there’s no centralized exchange where trades are recorded, so the volume data represents what happens at a particular exchange only
In most charting platforms, the volume indicator is presented as color-coded bars, green if the security closes up and red if the security closed lower, where the height of the bars show the amount of the recorded trades
Within this study, Relative Volume , Volume Weighted Bars and Volume Moving Average are presented, where Relative Volume relates current trading volume to past trading volume over long period, Volume Weighted Bars presents price bars colored based on short period past trading volume average, and Volume Moving Average is average of volume over shot period
Relative Volume is presented as color-coded bars similar to regular Volume indicator but uses four color codes instead two. Notable increases of volume are presented in green and red while average values with back and gray, hence adding ability to emphasis notable increases in the volume. It is kind of a like a radar for how "in-play" a security is. Users are allowed to change the threshold, default value is set to Fibonacci golden ration standard deviation away from its moving average.
Volume Weighted Bars, a study of Kıvanç Özbilgiç, aims to present if price movements are supported by Volume. Volume Weighted Bars are calculated based on shot period volume moving average which will reflect more recent changes in volume. Price actions with high volume will be displayed with darker colors, average volume values will remain as they are and low volume values will be indicated with lighter colors.
Volume Moving Average, Is short period volume moving average, aims to display visually the volume changes. Please not that Relative Volume bars are calculated based on standard deviation of long volume moving average.
What Else?
Apart from the volume itself, your ability to assess what volume is telling you in conjunction with price action can be a key factor in your ability to turn a profit in the market. It makes little sense to analyze the volume alone. To correctly interpret the volume data, it shall be seen in the light of what the price is doing. there are a lot of other indicators that are based on the volume data as well as price action. Analysing those volume indicators has always helped traders and investors to better understand what is happening in the market.
Here are the ones adapted with this study. Some of them used as a source for our aim, some adapted as they are with slight changes to fit visually to this study and please note that the numerical presentation may differ from their regular use
• On Balance Volume
• Divergence Indicator
• Correlation Coefficient
• Chaikin Money Flow
Shortly;
On Balance Volume
The On Balance Volume indicator, is a technical analysis indicator that relates volume flow to changes in a security’s price. It uses a cumulative total of positive and negative trading volume to predict the direction of price. The OBV is a volume-based momentum oscillator, so it is a leading indicator — it changes direction before the price
Granville, creator of OBV, proposed the theory that changes in volume precede price movements in a measurable way. He believed that volume was the main force behind major market moves and thought of OBV’s prediction of price changes as a compressed spring that expands rapidly when released.
It is believed that the OBV shows the interactions between the institutional and retail traders in the market
If the price makes a new high, the OBV should also make a new high. If the OBV makes a lower high when the price makes a higher high, there’s a classical bearish divergence — indicating that only the retail traders are buying. Another type of bearish divergence occurs when the price remains relatively quiet and fails to make a higher high but the OBV soars higher than the previous high — indicating that the institutional traders are accumulating short positions. On the other hand, if the price makes a lower low and the OBV makes a higher low, there is a classical bullish divergence, showing that the institutional traders don’t believe in that move
With this study, Momentum and Acceleration (optional) of OBV is calculated and presented, where momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security. It is also referred to as a technical analysis indicator and oscillator that is able to determine market trends.
Additionally, smoothing functionality with Least Squares Method is added
Divergences especially, should always be noted as a possible reversal in the current trend, so the divergence indicator is adapted with this study where the Momentum of OBV is assumed as Oscillator with similar usages as to RSI. Divergence is most often used to track and analyze the momentum in an asset’s price and the odds of a price reversal within the current trend. The divergence indicator warns traders and technical analysts of changes in a price/volume trend, oftentimes that it is weakening or changing direction.
Correlation Coefficient
The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables. A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation. A correlation of 0.0 shows no linear relationship between the movement of the two variables. In other words, the closer the Correlation Coefficient is to 1.0, indicates the instruments will move up and down together as it is mostly expected with volume and price. So the Correlation Coefficient Indicator aims to display when the price and volume (on balance volume) is in correlation and when not. With this study blue represent positive correlation while orange negative correlation. The strength of the correlation is determined by the width of the bands, to emphasis the effect horizontal lines are drawn with values set to 0.5 and -0.5. the values above 0.5 (or below -0.5) shows stronger correlation.
Chaikin Money Flow , provide optionally as a companion indicator
The Chaikin money flow indicator (CMF) is a volume indicator that measures the money flow volume over a chosen period. The money flow volume is a measure of the volume and where the price closed relative to the trading session’s range. It comes from the idea that buying pressure is indicated by a rising volume and recurrent closes in the upper part of the session’s price range while selling pressure is demonstrated by an increasing volume and repeated closes in the lower part of the price range.
Both buying and selling pressures are accompanied by an increase in volume, but the location of the closing prices are in accordance with the direction of price
Special thanks to @InvestCHK and @hjsjshs , who have enormously contributed while preparing this study
related studies:
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Momentum ZigZag Territories & Momentum
Territories:overall Bullish , overall Bearish, minor Bullish , minor Bearish
Definition of trend:
BULL - consecutive HIGHER HIGH and HIGHER LOW, once NO NEW HIGHER HIGHS is formed, doesn't mean its automatically BEARISH; Once HIGHER LOW is BROKEN and PRICE forms LOWER LOW and LOWE HIGH bellow previous HIGHER LOW its officially BEAR TREND
BEAR - consecutive LOWR LOW and LOWER LOW, once NO NEW LOWER LOW is formed, doesn't mean its automatically BULLISH ; Once LOWER HIGH is BROKEN and PRICE forms HIGHER HIGH above previous HIGH its officially BULL TREND
Minor territory is shorter trend within overall trend: as Long as overall trend is not broken , it is bound to continue once minor territory gets broken
MOMENTUM - its is the motion of trend, and character of condition
Momentum is not Strategy alone, it is part of technical analysis
momentum is used to determent : current conditions (trend , range , channel ) heath and strength
Momentum DivergenceTrading Divergence based on Momentum (Indicator below), If you want to make this a strategy i would use all those indicators above for extra confirmation.
"Momentum Divergence" indicator includes the following:
-"Momentum Waves" (blue waves)
-"Stochastic RSI" color change (green/red lines)
-"RSI" (purple line)
-"Money Flow Index" (green/red bar below)
-"Volume Weighted Average Price" ( (yellow/red areas ) (not included yet, but i will include it soon))
Green/Red circles added for possible trend Reversals
Alerts can be set on those Green/Red circles
How to Trade:
Draw Divergence between waves as shown on the chart for LONG/SHORT position (From a Big Wave to a small Wave ... The big Wave MUST be above Blue line in order to draw a divergence line (60 Threshold))
When to Sell:
There is no specific way to exit but with support/resistance zones will help to exit position AND the other indicators will help too (DONT GET GREEDY)
More info:
Since this is a combination of oscillators it should work in any time frame.
-MUST use Heikin Ashi candles.
Coming updates:
-Include VWAP
-Automatic draws divergence between HH HL LH LL waves with pine script version @4
Momentum TraderThis study combines two versatile momentum indicators :
Chande Momentum Oscillator:
-Measures trend strength, with higher absolute values meaning greater strength.
-Also tracks divergence. When price increases, but is not accompanied by an increase in Chande Momentum Oscillator values, it signifies bearish divergence and a reversal is likely to follow.
-Shown as the teal and pink histogram.
Percentage Price Oscillator:
-Similar to the MACD, except that it expresses the difference between the two moving averages in terms of a percentage. This makes it a little easier to visualize.
-PPO values greater than zero indicate an uptrend, as that means the fast EMA is greater than the slow (and vice versa).
Entry and Exit Conditions:
Enter When:
1) Chande Momentum crosses over zero from negative to positive territory. AND
2) It has been less than 3 bars since Chande Momentum was less than the lower green line. AND
3) Chande Momentum is rising(positive slope).
Exit When:
1) Chande Momentum is greater than the upper line. AND
2) It has been less than 6 bars since the PPO value was greater than the upper bound. AND
3) PPO is less than 5 (meaning the difference between the two EMA's is less than 5%). AND
4)PPO has a negative slope.
This study comes with alert conditions for long entries and exits.
~Happy Trading~
MPT - MEDIAN PRICE TRADING - custom forex indicator
MPT is a unique custom indicator i created to enter a trade with the right timing
This indicator catches the momentum of a Forex pair and tells you when to enter
It's based on the idea that when the median price in the current timeframe is crossing the median price of the higher timeframe, the momentum is changing and that is an opportunity to trade
red line is median line of current timeframe (default is 1D)
aqua line is projection of past median line on higher timeframe (default is 1W)
white crosses can be used as a trail stop values to follow a trend
when red cross aqua up the background is green and so momentum of the pair is up
when red cross aqua down no background color and momentum down
You can try this indicator for a limited period, just ask for access in comments
If you want unlimited access you can PM me
Trading is a risky business, use it at your own risk. I'm not responsible for any profit or loss
CSA / Infinity MKR / Final Pro [NPR21}Title: CSA – Precision Infinity MKR & Confluence Dashboard
The Institutional Edge: Multi-Kernel Smoothing & Real-Time Confluence
The CSA Precision Infinity MKR is an advanced trend-following suite that replaces traditional, lagging EMAs with a high-performance Multi-Kernel Regression (MKR) engine. Designed for the "Top Center" of the chart, this script features our proprietary Infinity Bridge —a logic system that ensures your trend signal never breaks or snaps, tracking price action with surgical precision directly to the live candle.
Key Technical Features
1
7-Kernel Smoothing Engine: Unlike standard indicators, you can cycle through 17 different mathematical kernels (Sinc, Gaussian, Lorentzian, etc.) to match the specific volatility of any asset class, from high-cap Stocks to volatile Crypto.
The Infinity Bridge: We solved the "broken line" issue. Our script bridges historical regression math with live price data, providing a continuous, seamless trend line that never lags behind the current price.
15-Indicator Confluence HUD: A professional "Heads-Up Display" tracks 15 momentum and trend metrics (Heikin Ashi, SuperTrend, TTM, RSI, etc.) simultaneously. It does the heavy lifting so you can focus on execution.
High-Vis Neon Aesthetics: Built for dark-mode traders. Featuring Neon Fluorescent Green and Bright Red trend lines with a high-contrast dark green dashboard for zero eye strain.
Trader’s Manual: How to Trade the Suite
Step 1: Identify the Regime (The MKR Line)
Bullish: When the MKR line is Neon Green , you are in a buy-only regime.
Bearish: When the MKR line is Bright Red , you are in a sell-only regime.
The Curve: Watch the "hook" of the line. When the line begins to curve toward price, a trend shift is imminent.
Step 2: Confirm Confluence (The Dashboard)
Look at the CONFIRMED tally on the far right of the HUD:
Strong Buy (11/15 – 15/15): Deep green signal. High-probability entry.
Caution (7/15 – 10/15): Orange signal. The trend is weakening or consolidating.
No Trade (Below 7/15) : Red signal. High risk of "chop" or reversal. Avoid new entries.
Step 3: Check the "Non-Trending" Filter
Look for the Non-Trending cell. If it is Dark Blue , the market has officially entered a "Trending State." If it is Gray, the market is sideways, and signals should be taken with caution.
Settings & Customization
Thickness: Defaulted to 3px for a strong chart presence.
Styles: Fully adjustable Solid, Dashed, and Dotted options in the Inputs tab.
Alerts: Built-in alert conditions for Strong Confluence (11/15) and State Flips (Long to Short).
Momentum Table View (Bar-Based)// NOTE:
// This script uses bar-based lookbacks instead of calendar months.
// Approximate conversions for daily charts:
// - 21 bars ≈ 1 month
// - 63 bars ≈ 3 months
// - 252 bars ≈ 1 year
// For other timeframes, adjust accordingly for different time periods and needs.
// For hourly I have it set at 24*5, 24*5*4 and then finally 24*5*4 to give the same,
// daily, weekly and monthly aggregate returns but on the hourly scale.
// Of course you can split it anyway you like as well depends on the expected needs you have.
Running idea so there will likely be revisions to the z scoring to possibly a different method and the atan angle represented in the code will also likely be changed at some point as to maybe a regression method. These changes will take time as this is only a secondary platform for me not the main source of data. In saying that the table has the data representing the log returns of an asset of n bars which I decided on over the original more accurate daily, weekly and monthly close points which the user can always specify using this method if wanting to be more accurate with the standard method of momentum returns factor.
Momentum Burst Pullback System v66 * Detects **momentum “bursts”** using:
* **Keltner breakout** (high above upper band for long, low below lower band for short), and/or
* **MACD histogram extreme** (highest/lowest in a lookback window, with correct sign).
* Optional **burst-zone extension** keeps the burst “active” for N extra bars after the burst.
* Marks bursts with **K** (Keltner) and **M** (MACD) labels:
* Core burst labels use one color, extension labels use a different color.
* Tracks the most recent burst as the **dominant side** (long or short), and stores burst “leg” anchors (high/low context).
* Adds **structure-based invalidation**:
* On a new **core burst**, it locks the most recent **confirmed swing** level (pivot):
* Long: locks the last confirmed **swing low**.
* Short: locks the last confirmed **swing high**.
* After the burst, if price **breaks that locked level**, the burst regime is **cancelled** (and any pending setup on that side is dropped).
* Finds **pullback setups** after a dominant burst (and not inside the active burst zone), within min/max bars:
* Long pullback requires a sequence of **lower highs** and price still below the burst high.
* Short pullback requires **higher lows** and price still above the burst low.
* Optional background shading highlights pullback bars.
* On pullback bars, plots **static TP/SL crosses** using ATR:
* Anchor is the pullback bar’s high (long) or low (short).
* TP/SL are ± ATR * multiple.
* TP plots are visually classified (bright vs faded) based on whether TP would exceed the prior burst extreme.
* Maintains a **state-machine entry + trailing stop**:
* Sets a “waiting” trigger on pullback.
* Enters when price breaks the trigger (high break for long, low break for short).
* Trails a stop using **R-multiples**, with different behavior pre-break-even, post-break-even, and near-TP.
* Optionally draws the trailing stop as horizontal line segments.
* Optionally shows a **last-bar label** with the most recent pullback’s TP and SL values.
Momentum Burst Pullback System v66* Detects **momentum “bursts”** using:
* **Keltner breakout** (high above upper band for long, low below lower band for short), and/or
* **MACD histogram extreme** (highest/lowest in a lookback window, with correct sign).
* Optional **burst-zone extension** keeps the burst “active” for N extra bars after the burst.
* Marks bursts with **K** (Keltner) and **M** (MACD) labels:
* Core burst labels use one color, extension labels use a different color.
* Tracks the most recent burst as the **dominant side** (long or short), and stores burst “leg” anchors (high/low context).
* Adds **structure-based invalidation**:
* On a new **core burst**, it locks the most recent **confirmed swing** level (pivot):
* Long: locks the last confirmed **swing low**.
* Short: locks the last confirmed **swing high**.
* After the burst, if price **breaks that locked level**, the burst regime is **cancelled** (and any pending setup on that side is dropped).
* Finds **pullback setups** after a dominant burst (and not inside the active burst zone), within min/max bars:
* Long pullback requires a sequence of **lower highs** and price still below the burst high.
* Short pullback requires **higher lows** and price still above the burst low.
* Optional background shading highlights pullback bars.
* On pullback bars, plots **static TP/SL crosses** using ATR:
* Anchor is the pullback bar’s high (long) or low (short).
* TP/SL are ± ATR * multiple.
* TP plots are visually classified (bright vs faded) based on whether TP would exceed the prior burst extreme.
* Maintains a **state-machine entry + trailing stop**:
* Sets a “waiting” trigger on pullback.
* Enters when price breaks the trigger (high break for long, low break for short).
* Trails a stop using **R-multiples**, with different behavior pre-break-even, post-break-even, and near-TP.
* Optionally draws the trailing stop as horizontal line segments.
* Optionally shows a **last-bar label** with the most recent pullback’s TP and SL values.
Momentum Quality Index (MQI)
Welcome to the Momentum Quality Index! This indicator aims to provide insight into short term trends by measuring the efficiency of price movement relative to the momentum of the trend. This indicator is designed to work better on short term time frames, capturing the micro-level of trends for practices such as day-trading, options trading, and shorter term swing trading.
How to read:
The main way of reading this indicator is through moving average crossovers. Upwards crossovers indicates uptrends whereas downwards crossovers indicates downtrends.
Customization:
This indicator includes a few adjustable options for fine tuning, such as optimized smoothing options and moving average length for efficiency in spotting reversals.
Momentum Gamma StraddleExact definition of what that script does
1) Purpose
The script is a decision aid for intraday expiry-day ATM straddle trades. It detects intraday structure breakouts and signals candidate long straddle entries for Nifty or Sensex using price structure, volume, RSI momentum, and a user-supplied combined ATM premium value (CE + PE). It draws support/resistance, shows an info box, and raises alerts.
2) Inputs the user can change
Trading time window: startHour, startMin, endHour, endMin.
Structure lookback: res_lookback (how many candles to use to compute resistance/support).
Minimum candle body as fraction of candle range: min_body_pct.
Volume multiplier threshold: vol_mult (breakout candle volume must exceed vol_mult * sma5).
RSI length and thresholds: rsi_len, rsi_bull_thresh, rsi_bear_thresh.
Combined premium source: choose Manual or Symbol. If Manual, set manual_combined. If Symbol, provide a TradingView symbol that returns CE+PE combined ATM premium.
Combined premium acceptable band: min_combined_ok and max_combined_ok.
Profit target percent and SL percent (target_pct and sl_pct).
Misc pattern heuristics: min_res_hits (min tests of resistance inside lookback), low_slope_min (used to detect rising lows).
Micro-confirmation toggle, micro timeframe, nonrepaint option, show_entry_label toggle (in the later fixed versions some of these were added, but the earlier fixed script had basic combined_symbol options and a lookahead fallback).
3) Data calculated on each bar
Safety check hasEnough: true when bar_index >= res_lookback.
resistance: the highest high over res_lookback bars.
support: the lowest low over res_lookback bars.
res_hits: count of bars within lookback whose high is within a tolerance of resistance. Tolerance is 10 percent of the range between resistance and support.
low_slope: simple slope of lows over res_lookback bars.
body_pct: the candle body as a fraction of its high-low range. strong_body true when body_pct >= min_body_pct.
bull_breakout: true if hasEnough and current close > resistance and strong_body and res_hits >= min_res_hits.
bear_breakout: true if hasEnough and current close < support and strong_body and res_hits >= min_res_hits.
vol_sma5 and vol_ok: vol_ok true when current volume > vol_mult * vol_sma5.
rsi and rsi checks: rsi_bull_ok true if rsi >= rsi_bull_thresh; rsi_bear_ok true if rsi <= rsi_bear_thresh.
combined_premium: either the manual_combined input or the value read from combined_symbol via request.security. The script attempted a fallback to manual when the symbol was not valid.
combined_ok: true if combined_premium lies between min_combined_ok and max_combined_ok.
final signals: bull_signal when in_time_window and bull_breakout and vol_ok and rsi_bull_ok and combined_ok. bear_signal similar for bearish breakout.
4) Visual output and alerts
Plots resistance and support lines on the chart.
Plots a label shape "STRADDLE BUY" below the bar for bull_signal and above the bar for bear_signal.
Creates an info label (on last bar) that shows TimeOK, VolOK and vol ratio, RSI, Combined premium and whether it is OK, ResHits and LowSlope.
Sets two alertcondition events: "Bull Straddle BUY" and "Bear Straddle BUY" with a short candidate message. The alerts fire when the corresponding signal is true.
5) Execution assumptions you must follow manually
The script does not place any orders or compute option strike-level prices or greeks. It only flags candidate entry bars.
When combined_source is Manual you must type CE+PE yourself. The indicator will only accept the manual number and treat it as the combined premium.
When combined_source is Symbol the script uses request.security to read that symbol. For historical bars the indicator may repaint depending on lookahead settings. The earlier fixed script attempted to use request.security inside a conditional which leads to runtime or compile errors. You experienced that exact error.
6) Known implementation caveats and bugs you encountered
Pine typing issue with low_slope. The earlier version set low_slope = na without explicit type. That triggers the Pine error: "Value with NA type cannot be assigned to a variable that was defined without type keyword". This required changing to float low_slope = na.
The earlier version attempted to call request.security() inside an if block or conditional. Pine prohibits request.security in conditional blocks unless allowed patterns are followed. That produced the error you saw: "Cannot use request.* call within loops or conditional structures" or similar. The correct pattern is to call request.security at top-level and decide later which value to use.
If combined_symbol is invalid or not available on your TradingView subscription, request.security can return na and the script must fall back to manual value. The earlier fixed script attempted fallback but compiled errors prevented reliable behavior.
The earlier script did not include micro-confirmation or advanced nonrepaint controls. Those were added in later versions. Because of that, the earlier script may have given signals that appear to repaint on historical bars or may have thrown errors when using combined_symbol.
7) Decision logic summary (exact)
Only operate if current chart time is inside user set time window.
Only consider trade candidates when enough history exists for res_lookback.
Identify a resistance level as the highest high in the lookback. Count how many times that resistance was tested. Ensure the breakout candle has a strong body and volume spike. Ensure RSI is aligned with breakout direction.
Require combined ATM premium to be inside a user preferred band. If combined_symbol is used the script tries to read that value and use it; otherwise it uses manual_combined input.
If all the above conditions are true on a confirmed bar, the script plots a STRADDLE BUY label and triggers an alertcondition.
8) What the script does not do
It does not calculate CE and PE prices by strike. It only consumes or accepts combined premium number.
It does not compute greeks, IV, or OI. OI and IV checks must be done manually.
It does not manage positions. No SL management or automatic exits are executed by the script.
It does not simulate fills or account for bid/ask spreads or slippage.
It cannot detect off-exchange block trades or read exchange-level auction states beyond raw volume bars.
It may repaint historical labels if the combined_symbol was read with lookahead_on or the script used request.security in a way that repainted. The corrected final version uses nonrepaint options.
9) Manual checks you must always perform even when the script signals BUY
Confirm the live combined ATM premium and the bid/ask for CE and PE.
Check ATM IV and recent IV movement for a potential IV crush risk.
Check option OI distribution and recent OI changes for strike pinning or large player exposure.
Confirm CE and PE liquidity and depth. Wide spreads make fills unrealistic.
Confirm there is no scheduled news or auction within the next few minutes.
Confirm margin and position sizing fits your risk plan.
10) Quick testing checklist you can run now
Add the script to a 5-minute chart with combined_source = Manual.
Enter manual_combined equal to the real CE+PE at the moment you test.
Set startHour and endHour so the in_time_window is true for current time.
Look for STRADDLE BUY label on confirmed bars. Inspect the info box to see why it did or did not signal.
If you set combined_source = Symbol, verify the symbol exists and that TradingView returns values for it. If you previously saw the request.security error, that was caused by placing the request inside a conditional. The correct behavior is to call request.security unconditionally at top-level like in the final fixed version.
Momentum & Flow PanelA lower-panel indicator for institutional flow analysis:
RSI with automatic divergence detection
Money Flow Index (MFI) - volume-weighted momentum
Chaikin Money Flow (CMF) - accumulation/distribution
OBV trend analysis
Stochastic RSI
Force Index
Composite Scores: Momentum (0-100) + Flow (0-100) → Combined Assessment
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
Price FX Indicator v1📈 Price FX Indicator - Multi-Framework Trend & Continuation Model
This indicator is designed to support traders who work with structured, rule-based trend continuation techniques. Rather than relying on a single signal or timeframe, it blends several types of commonly used technical behaviour into a unified framework. The goal is to simplify multi-step analysis that traders often perform manually when identifying continuation opportunities inside established directional moves.
Unlike a traditional mashup, this script does not simply combine indicators.
Its logic is built around the relationship between trend behaviour across multiple timeframes, the structure of pullbacks during directional moves, and the interaction of local momentum shifts with dynamic support/resistance areas. These components work together to highlight moments where conditions across different analytical layers align.
🧩 What the Indicator Does
This tool evaluates:
- The direction and consistency of trend behaviour across several timeframes
- The structure of local retracements relative to dynamic averages
- The transition of momentum during corrective phases
- The interaction between price and commonly monitored moving average zones
- Confluence between higher-timeframe context and lower-timeframe continuation behaviour
When these elements meet internally defined criteria, the indicator highlights potential continuation setups using on-chart labels.
The aim is not to predict reversals, but to identify conditions where higher-timeframe trend behaviour and short-term continuation structure are in agreement, something many traders typically assess manually by checking several charts and indicators.
🔍 How to Use It
The script is designed for traders who:
- Prefer trading in the direction of broader trend behaviour
- Use pullback-continuation structures in their workflow
- Monitor moving-average dynamics as part of trend filtering
- Want a single tool to reduce chart clutter and manual cross-checking
Signals appear only when internal conditions align.
These are not stand-alone trading signals; they are informational markers that correspond to a specific style of continuation analysis.
⚠️ Disclaimer
This indicator is for educational and informational purposes only. Nothing contained within this script, its alerts, its outputs, or any associated material should be interpreted as financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument.
By using this indicator, you acknowledge and agree to the following:
- Trading involves risk, including the potential loss of your entire investment.
- Past performance does not guarantee future results. Historical signals shown by this indicator are not a reliable guide to future outcomes.
- The indicator does not guarantee accuracy, profitability, consistency, or any form of successful trading results.
- All trading decisions you make are entirely your own responsibility.
- The creator of this indicator is not liable for any financial losses, missed opportunities, or negative outcomes that may occur through the use of this tool.
- No part of this indicator should be considered a signal service, automated trading system, or financial product.
- The indicator does not account for your personal financial situation, trading experience, risk tolerance, or investment objectives.
- Market conditions can change rapidly, and even high-confluence setups can fail without warning.
- Alerts, drawings, signals, or interpretations generated by this indicator can repaint, be delayed, or behave unexpectedly depending on market volatility, user chart settings, or TradingView data feed limitations.
- You should always verify signals independently and use proper risk management, stop-loss placement, and capital protection practices.
- This tool is provided “as is,” with no warranties or guarantees of any kind. Use at your own risk.
If you choose to trade using information derived from this indicator, you accept full responsibility for all consequences.
Smart Accumulation Pro – US SmallCap Edition v2
Smart Accumulation Pro v2 — US SmallCap Edition
Institutional Footprint and Structural Behavior Engine
Overview
Smart Accumulation Pro v2 detects structural behavior, internal liquidity shifts, and multi-phase accumulation footprints that are not visible through momentum or volatility indicators. The engine focuses on underlying institutional habits rather than reacting to price alone.
ULTRA — High-Threshold Structural Trigger
ULTRA appears only when multiple internal phases align simultaneously. It is not a momentum spike or volume anomaly. It represents compression pressure, phase readiness, and structural alignment. ULTRA does not repaint. When this signal appears, internal liquidity has already transitioned into an acceleration phase.
PRE — Early Structural Drift (Not a Buy Signal)
PRE should not be interpreted as a buy signal. It indicates gradual accumulation or controlled liquidity positioning. PRE usually appears during stable or quiet phases but rarely appears during panic drops or disorderly downtrends.
ACC — Transitional Footprint Signal
ACC identifies late-stage structural footprints. It is not intended as a standalone buy trigger. ACC highlights that structural preparation is underway, but direction and timing require user validation. ACC often precedes larger institutional behavior.
Philosophy
This engine does not attempt to cover every market pattern. It focuses on the highest-probability institutional habits. Exit timing, risk management, and execution remain user responsibility. The tool minimizes noise and emphasizes rare, high-impact structural zones.
Preset Modes
1) Conservative
For ETFs or stable large-cap instruments. Minimal noise and lower signal frequency.
2) Normal
Optimized for US mid-cap and small-cap behavior. Balanced and recommended as the default mode.
3) Aggressive
For volatile or thematic instruments. Higher frequency, higher risk.
Usage Notes
This indicator does not provide financial advice. It highlights structural conditions that often precede institutional movement. Execution and risk decisions depend on the user.
License Notice
Unauthorized copying, redistribution, or sharing is prohibited. Invite-Only access requires your TradingView username. One purchase equals one user license.
------------------------------------------------------------
Korean Summary (한국어 요약본)
------------------------------------------------------------
Smart Accumulation Pro v2는 세력의 습관, 유동성 이동, 압축 단계 등의 “보이지 않는 내부 구조”를 추적하는 지표다. 기존 모멘텀 기반 지표로는 포착되지 않는 패턴을 분석한다.
ULTRA 신호는 여러 내부 단계가 동시에 정렬될 때만 등장하는 극히 희귀한 트리거다. 페인팅이 없으며, 신호가 뜰 때 이미 내부 구조는 가속 단계에 진입한 상태다.
PRE는 매수 신호가 아니다. 세력이 서서히 움직이기 시작하거나 유동성을 재정렬할 때 나타나는 미세한 초기 흔적이다.
ACC는 본격 움직임 전에 나타나는 마지막 흔적이다. 단독 매수 신호가 아니며, 이후 더 큰 구조적 변화로 이어질 가능성을 나타내는 정도로 해석해야 한다.
이 지표는 모든 패턴을 잡지 않는다. 세력이 반복적으로 사용해 온 고확률 구조만 좁게 추적한다. 출구 전략과 리스크 관리는 사용자의 몫이다.
프리셋은 Conservative, Normal, Aggressive의 3가지 모드로 구성되며, 각각 안정형·균형형·변동성형 종목에 맞춰 설계되었다.
본 지표는 금융 조언을 제공하지 않으며, 무단 공유 또는 재배포는 금지된다. Invite-Only 기반이며 1인 1라이선스 방식이다.
AJFFRSI+QQEROC Uses Jurik RSI for smooth, responsive momentum measurement
Incorporates QQE features for trend strength and dynamic trailing stop signals
Designed for clearer, more reliable overbought/oversold and reversal signals on TradingView
Suitable for intraday, swing, and longer-term analysis
Not a financial advice. DYOR
Universal Sentiment Score — V3 Bottom DetectorThe Universal Sentiment Score (USS) condenses a wide range of market conditions into one easy-to-read oscillator. Instead of relying on a single signal, USS blends multiple forms of trend strength, momentum behavior, volatility shifts, and reversal conditions to generate a unified sentiment metric.
RSI PriceThe relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to detect overbought or oversold conditions in the price of that security. The RSI is displayed as an oscillator (a line graph) on a scale of 0 to 100.
Traditionally, an RSI reading of 70 or above indicates an overbought condition. A reading of 30 or below indicates an oversold condition. In addition to identifying overbought and oversold securities, the RSI can also indicate securities that may be primed for a trend reversal or a corrective pullback in price.
MILLION MEN - Zone Scanner ProWhat it is
MILLION MEN - Zone Scanner is a context-driven momentum tool that visualizes trend regimes (bullish / bearish) and highlights the first-touch opportunity within each regime’s reactive zones. It’s designed to help traders identify pullbacks inside an existing bias rather than chasing breakouts.
How it works
Uses a custom RSI-style momentum meter calculated from RMA of up/down moves.
When the meter > upper threshold → Green Regime.
When the meter < lower threshold → Red Regime.
Defines LONG Zone (34 – 40) and SHORT Zone (60 – 70) for mean-reversion touches.
Prints L FT or S FT on the first confirmed touch after a regime turns on.
Optional candle-color filter (green bar for LONG / red bar for SHORT).
Exit signals trigger once the meter revisits the regime boundary.
Optional Neon Glow styling improves visual clarity without clutter.
How to use
Identify regime direction (green = bullish bias, red = bearish bias).
Wait for the first touch into the relevant zone.
Confirm with higher-time-frame structure or volume context.
Manage position or exit once the meter retests its regime limit.
Use it as a context tool, not an auto-entry system.
Originality & Value
This script enforces discipline by allowing only one signal per regime, reducing over-trading and noise. The zone visualization and glow layers offer a clean, cinematic UI consistent with the MILLION MEN visual standard.
Limitations & Transparency
Works best on standard candlesticks and normal-time frames (tested on BTC, ETH, XRP, BNB, XAUUSD).
No look-ahead or future data.
Signals are bar-close confirmed (barstate.isconfirmed).
Educational tool — not financial advice.
for educational use under the MILLION MEN framework. Core logic is protected to maintain script integrity.
Golden Ladder – Louay Joha (Wave & Gann Hi/Lo + ATR R-Levels)Overview
Golden Ladder is a momentum-and-structure tool that detects three-bar ladder waves and filters them with a Gann Hi/Lo regime guide (SMA-based). When a valid wave aligns with the current Hi/Lo bias and passes optional market filters (ADX, RSI, and proximity to recent extremes), the script prints BUY/SELL n labels (n = wave index) and draws a complete Entry / SL / TP1–TP4 ladder using ATR-based risk units (R) or fixed caps—configured for clarity and consistency. The script also keeps the chart clean: the last trade remains fully drawn while historical groups are trimmed to compact “ENTRY-only” stubs.
Why these components together (originality)
Three-bar ladder captures short-term momentum structure (progressively higher highs/lows for buys; the reverse for sells).
Gann Hi/Lo (SMA of highs/lows with a directional state) acts as a regime filter, reducing counter-trend ladders.
ATR-based R ladder turns signals into an actionable plan: a volatility-aware SL and TP1–TP4 that scale across instruments/timeframes.
Smart Entry filters (ADX strength, RSI extremes, and distance from recent top/bottom using ATR buffers) seek to avoid low-quality, stretched entries.
Slim history keeps only a short ENTRY stub for prior groups, so the signal you just got is always the most readable.
This is not a mere mashup; each layer constrains the others to produce fewer, clearer setups.
How it works (high-level logic)
Regime (Gann Hi/Lo):
Compute SMA(high, HPeriod) and SMA(low, LPeriod).
Direction state HLv flips when the close crosses above/below its track; one unified Hi/Lo guide is plotted.
Ladder signal (structure + confirmation):
BUY ladder: three consecutive green bars with rising highs and rising lows and HLv == +1.
SELL ladder: mirror conditions with HLv == -1.
Signals evaluate intrabar and are controlled by Smart Entry filters (ADX/RSI/extreme checks).
Risk ladder (R-based or capped):
Default: risk = ATR(atr_len) × SL_multiple and TPs in R.
Optional fixed caps by timeframe (e.g., M1/M5) using USD per point.
Longs: SL = entry – risk; TPi = entry + (Ri × risk).
Shorts: SL = entry + risk; TPi = entry – (Ri × risk).
All levels auto-reflow to the right as bars print.
Chart hygiene:
The latest trade shows ENTRY/SL/TP1–TP4 fully.
Older trades are automatically trimmed (only a short ENTRY line remains, with optional label).
Alerts:
BUY – Smart Entry (Tick) & SELL – Smart Entry (Tick) fire on live-qualified signals.
You can connect alerts to your automation, respecting your broker’s risk controls.
Inputs (English summary of UI)
Label settings: label size; ATR-based vs fixed-tick offsets; leader line width/transparency; horizontal label shift.
Gann Hi/Lo: HIGH Period (HPeriod), LOW Period (LPeriod).
Market filters: ADX (length, smoothing, minimum), RSI (length + caps), recent extremes (lookback + ATR buffer).
Entry/SL/TP Levels: TP1–TP4 (R), label right-shift, show last-trade prices on labels.
Fixed SL Caps: per-timeframe caps (M1/M5) via USD per point.
How to use
Apply on your instrument/timeframe; tune H/L periods and filters to your market (e.g., XAUUSD on M1/M5).
Favor signals aligned with the Hi/Lo regime; tighten filters (higher ADX, stricter RSI caps) to reduce noise.
Choose ATR-Risk or fixed caps depending on your preferences.
The drawing policy ensures the most recent trade remains front-and-center.
Notes & limitations
Signals can evaluate intrabar; MA-based context is inherently lagging.
ATR-based ladders adapt to volatility; extreme spikes can widen risk.
This is a technical analysis tool, not financial advice.
MILLION MEN - Greed Fear MatrixWhat it is
MILLION MEN — Greed Fear Matrix is a sentiment oscillator based on a Stochastic Momentum Index (SMI) core with optional smart percentile levels, an EMA signal line, HTF filter, histogram, and lightweight emoji markers for tops/bottoms/warnings. It’s a context tool, not a buy/sell signal generator.
How it works
SMI core: computes SMI (K/D smoothing + signal EMA).
Levels: choose fixed Greed/Fear bands or Smart Levels (percentiles over a configurable lookback).
Fills & histogram: shaded regions above/below bands; histogram = SMI − Signal.
HTF filter (optional): confirm bias via higher timeframe (midline or signal rule).
Emoji pivots & lite divergence: labels at SMI pivots beyond bands; simple price/SMI divergence on the last two pivots.
How to use
Greed zone suggests crowd chasing / potential exhaustion; Fear zone suggests panic/liquidity pockets.
Use crossings (SMI vs bands / SMI vs Signal) and HTF bias as confluence, not standalone entries.
Tune percentile thresholds, lookback, and HTF timeframe to your market and style.
Originality & value
Unlike standard SMI/RSI overlays, this matrix adds percentile-driven adaptive levels, HTF validation, and on-chart context (fills/emoji/mini-divergence) to keep sentiment readable across regimes while staying lightweight and non-repainting.
Tested markets
Primarily tested on Gold (XAUUSD) . Behavior on other markets may vary; validate before use.
Limitations
Extremes can persist in strong trends; always add structure/volume confirmation.
Non-standard chart types aren’t supported for signal logic.
No future data is used; this is not financial advice.
Arabic summary (optional)
أداة زخم/معنويات مبنية على SMI مع مستويات ثابتة أو ذكية (Percentiles)، خط إشارة، فلتر إطار أعلى، تظليل للمناطق، وإيموجي للقمم/القيعان، ودايفرجنس خفيف. الهدف تحليل سياقي وليس إشارات بيع/شراء. مُجرّبة أساسًا على Gold (XAUUSD) وقد يختلف السلوك في أسواق أخرى.
Momentum Flow Build w/ FVG v2Good day.
The Momentum Flow Build w/ FVG v2 indicator
shows the previous session levels of Asia and London,
and the 5 min NY open levels (for 15 min go to 15 min chart).
The indicator also shows the FVGs.
The idea is that if price reaches a key level, we then
watch the level for whether price respects FVGs with a
retracement and engulfing candle at the FVG, or whether
price inverts the FVG (IFVG).
Cool. Be encouraged. Peace






















