Universal Adaptive Psychological Levels 1.1This simple indicator is somewhat working around an inability to see big accumulations of limit orders in Tradingview.
It just marks the levels of round psychological prices (e.g. 1000, 1100, 1110) and adjusts to the range of prices of the current ticker.
These psychological levels work as resistance and support levels, especially if the price didn't visit it already lately.
Trend Analysis
openig price +- .13%This is opening price indicator with levels .13% .26 .50 .1 .1.5 .2 simillary for -ve sides .
it is easy to know levels from top to bottom
Morning Break OutThis indicator visualizes a classic morning breakout setup for the DAX and other European markets. The first hour often sets the tone for the trading day — this tool helps you identify that visually and react accordingly.
🔍 How It Works:
Box Range Calculation:
The high and low between 09:00 and 10:00 define the top and bottom of the box.
Color Logic:
Green: Price breaks above the box after 10:00 → bullish breakout
Red: Price breaks below the box after 10:00 → bearish breakout
Gray: No breakout → neutral phase
📈 Use Cases:
Identify breakout setups visually
Ideal for intraday traders and momentum strategies
Combine with volume or trend filters
⚙️ Notes:
Recommended for timeframes 1-minute and above
Uses the chart’s local timezone (e.g. CET/CEST for XETRA/DAX)
Works on all instruments with data before 09:00 — perfect for DAX, EuroStoxx, futures, FX, CFDs, etc.
MERV: Market Entropy & Rhythm Visualizer [BullByte]The MERV (Market Entropy & Rhythm Visualizer) indicator analyzes market conditions by measuring entropy (randomness vs. trend), tradeability (volatility/momentum), and cyclical rhythm. It provides traders with an easy-to-read dashboard and oscillator to understand when markets are structured or choppy, and when trading conditions are optimal.
Purpose of the Indicator
MERV’s goal is to help traders identify different market regimes. It quantifies how structured or random recent price action is (entropy), how strong and volatile the movement is (tradeability), and whether a repeating cycle exists. By visualizing these together, MERV highlights trending vs. choppy environments and flags when conditions are favorable for entering trades. For example, a low entropy value means prices are following a clear trend line, whereas high entropy indicates a lot of noise or sideways action. The indicator’s combination of measures is original: it fuses statistical trend-fit (entropy), volatility trends (ATR and slope), and cycle analysis to give a comprehensive view of market behavior.
Why a Trader Should Use It
Traders often need to know when a market trend is reliable vs. when it is just noise. MERV helps in several ways: it shows when the market has a strong direction (low entropy, high tradeability) and when it’s ranging (high entropy). This can prevent entering trend-following strategies during choppy periods, or help catch breakouts early. The “Optimal Regime” marker (a star) highlights moments when entropy is very low and tradeability is very high, typically the best conditions for trend trades. By using MERV, a trader gains an empirical “go/no-go” signal based on price history, rather than guessing from price alone. It’s also adaptable: you can apply it to stocks, forex, crypto, etc., on any timeframe. For example, during a bullish phase of a stock, MERV will turn green (Trending Mode) and often show a star, signaling good follow-through. If the market later grinds sideways, MERV will shift to magenta (Choppy Mode), warning you that trend-following is now risky.
Why These Components Were Chosen
Market Entropy (via R²) : This measures how well recent prices fit a straight line. We compute a linear regression on the last len_entropy bars and calculate R². Entropy = 1 - R², so entropy is low when prices follow a trend (R² near 1) and high when price action is erratic (R² near 0). This single number captures trend strength vs noise.
Tradeability (ATR + Slope) : We combine two familiar measures: the Average True Range (ATR) (normalized by price) and the absolute slope of the regression line (scaled by ATR). Together they reflect how active and directional the market is. A high ATR or strong slope means big moves, making a trend more “tradeable.” We take a simple average of the normalized ATR and slope to get tradeability_raw. Then we convert it to a percentile rank over the lookback window so it’s stable between 0 and 1.
Percentile Ranks : To make entropy and tradeability values easy to interpret, we convert each to a 0–100 rank based on the past len_entropy periods. This turns raw metrics into a consistent scale. (For example, an entropy rank of 90 means current entropy is higher than 90% of recent values.) We then divide by 100 to plot them on a 0–1 scale.
Market Mode (Regime) : Based on those ranks, MERV classifies the market:
Trending (Green) : Low entropy rank (<40%) and high tradeability rank (>60%). This means the market is structurally trending with high activity.
Choppy (Magenta) : High entropy rank (>60%) and low tradeability rank (<40%). This is a mostly random, low-momentum market.
Neutral (Cyan) : All other cases. This covers mixed regimes not strongly trending or choppy.
The mode is shown as a colored bar at the bottom: green for trending, magenta for choppy, cyan for neutral.
Optimal Regime Signal : Separately, we mark an “optimal” condition when entropy_norm < 0.3 and tradeability > 0.7 (both normalized 0–1). When this is true, a ★ star appears on the bottom line. This star is colored white when truly optimal, gold when only tradeability is high (but entropy not quite low enough), and black when neither condition holds. This gives a quick visual cue for very favorable conditions.
What Makes MERV Stand Out
Holistic View : Unlike a single-oscillator, MERV combines trend, volatility, and cycle analysis in one tool. This multi-faceted approach is unique.
Visual Dashboard : The fixed on-chart dashboard (shown at your chosen corner) summarizes all metrics in bar/gauge form. Even a non-technical user can glance at it: more “█” blocks = a higher value, colors match the plots. This is more intuitive than raw numbers.
Adaptive Thresholds : Using percentile ranks means MERV auto-adjusts to each market’s character, rather than requiring fixed thresholds.
Cycle Insight : The rhythm plot adds information rarely found in indicators – it shows if there’s a repeating cycle (and its period in bars) and how strong it is. This can hint at natural bounce or reversal intervals.
Modern Look : The neon color scheme and glow effects make the lines easy to distinguish (blue/pink for entropy, green/orange for tradeability, etc.) and the filled area between them highlights when one dominates the other.
Recommended Timeframes
MERV can be applied to any timeframe, but it will be more reliable on higher timeframes. The default len_entropy = 50 and len_rhythm = 30 mean we use 30–50 bars of history, so on a daily chart that’s ~2–3 months of data; on a 1-hour chart it’s about 2–3 days. In practice:
Swing/Position traders might prefer Daily or 4H charts, where the calculations smooth out small noise. Entropy and cycles are more meaningful on longer trends.
Day trader s could use 15m or 1H charts if they adjust the inputs (e.g. shorter windows). This provides more sensitivity to intraday cycles.
Scalpers might find MERV too “slow” unless input lengths are set very low.
In summary, the indicator works anywhere, but the defaults are tuned for capturing medium-term trends. Users can adjust len_entropy and len_rhythm to match their chart’s volatility. The dashboard position can also be moved (top-left, bottom-right, etc.) so it doesn’t cover important chart areas.
How the Scoring/Logic Works (Step-by-Step)
Compute Entropy : A linear regression line is fit to the last len_entropy closes. We compute R² (goodness of fit). Entropy = 1 – R². So a strong straight-line trend gives low entropy; a flat/noisy set of points gives high entropy.
Compute Tradeability : We get ATR over len_entropy bars, normalize it by price (so it’s a fraction of price). We also calculate the regression slope (difference between the predicted close and last close). We scale |slope| by ATR to get a dimensionless measure. We average these (ATR% and slope%) to get tradeability_raw. This represents how big and directional price moves are.
Convert to Percentiles : Each new entropy and tradeability value is inserted into a rolling array of the last 50 values. We then compute the percentile rank of the current value in that array (0–100%) using a simple loop. This tells us where the current bar stands relative to history. We then divide by 100 to plot on .
Determine Modes and Signal : Based on these normalized metrics: if entropy < 0.4 and tradeability > 0.6 (40% and 60% thresholds), we set mode = Trending (1). If entropy > 0.6 and tradeability < 0.4, mode = Choppy (-1). Otherwise mode = Neutral (0). Separately, if entropy_norm < 0.3 and tradeability > 0.7, we set an optimal flag. These conditions trigger the colored mode bars and the star line.
Rhythm Detection : Every bar, if we have enough data, we take the last len_rhythm closes and compute the mean and standard deviation. Then for lags from 5 up to len_rhythm, we calculate a normalized autocorrelation coefficient. We track the lag that gives the maximum correlation (best match). This “best lag” divided by len_rhythm is plotted (a value between 0 and 1). Its color changes with the correlation strength. We also smooth the best correlation value over 5 bars to plot as “Cycle Strength” (also 0 to 1). This shows if there is a consistent cycle length in recent price action.
Heatmap (Optional) : The background color behind the oscillator panel can change with entropy. If “Neon Rainbow” style is on, low entropy is blue and high entropy is pink (via a custom color function), otherwise a classic green-to-red gradient can be used. This visually reinforces the entropy value.
Volume Regime (Dashboard Only) : We compute vol_norm = volume / sma(volume, len_entropy). If this is above 1.5, it’s considered high volume (neon orange); below 0.7 is low (blue); otherwise normal (green). The dashboard shows this as a bar gauge and percentage. This is for context only.
Oscillator Plot – How to Read It
The main panel (oscillator) has multiple colored lines on a 0–1 vertical scale, with horizontal markers at 0.2 (Low), 0.5 (Mid), and 0.8 (High). Here’s each element:
Entropy Line (Blue→Pink) : This line (and its glow) shows normalized entropy (0 = very low, 1 = very high). It is blue/green when entropy is low (strong trend) and pink/purple when entropy is high (choppy). A value near 0.0 (below 0.2 line) indicates a very well-defined trend. A value near 1.0 (above 0.8 line) means the market is very random. Watch for it dipping near 0: that suggests a strong trend has formed.
Tradeability Line (Green→Yellow) : This represents normalized tradeability. It is colored bright green when tradeability is low, transitioning to yellow as tradeability increases. Higher values (approaching 1) mean big moves and strong slopes. Typically in a market rally or crash, this line will rise. A crossing above ~0.7 often coincides with good trend strength.
Filled Area (Orange Shade) : The orange-ish fill between the entropy and tradeability lines highlights when one dominates the other. If the area is large, the two metrics diverge; if small, they are similar. This is mostly aesthetic but can catch the eye when the lines cross over or remain close.
Rhythm (Cycle) Line : This is plotted as (best_lag / len_rhythm). It indicates the relative period of the strongest cycle. For example, a value of 0.5 means the strongest cycle was about half the window length. The line’s color (green, orange, or pink) reflects how strong that cycle is (green = strong). If no clear cycle is found, this line may be flat or near zero.
Cycle Strength Line : Plotted on the same scale, this shows the autocorrelation strength (0–1). A high value (e.g. above 0.7, shown in green) means the cycle is very pronounced. Low values (pink) mean any cycle is weak and unreliable.
Mode Bars (Bottom) : Below the main oscillator, thick colored bars appear: a green bar means Trending Mode, magenta means Choppy Mode, and cyan means Neutral. These bars all have a fixed height (–0.1) and make it very easy to see the current regime.
Optimal Regime Line (Bottom) : Just below the mode bars is a thick horizontal line at –0.18. Its color indicates regime quality: White (★) means “Optimal Regime” (very low entropy and high tradeability). Gold (★) means not quite optimal (high tradeability but entropy not low enough). Black means neither condition. This star line quickly tells you when conditions are ideal (white star) or simply good (gold star).
Horizontal Guides : The dotted lines at 0.2 (Low), 0.5 (Mid), and 0.8 (High) serve as reference lines. For example, an entropy or tradeability reading above 0.8 is “High,” and below 0.2 is “Low,” as labeled on the chart. These help you gauge values at a glance.
Dashboard (Fixed Corner Panel)
MERV also includes a compact table (dashboard) that can be positioned in any corner. It summarizes key values each bar. Here is how to read its rows:
Entropy : Shows a bar of blocks (█ and ░). More █ blocks = higher entropy. It also gives a percentage (rounded). A full bar (10 blocks) with a high % means very chaotic market. The text is colored similarly (blue-green for low, pink for high).
Rhythm : Shows the best cycle period in bars (e.g. “15 bars”). If no calculation yet, it shows “n/a.” The text color matches the rhythm line.
Cycle Strength : Gives the cycle correlation as a percentage (smoothed, as shown on chart). Higher % (green) means a strong cycle.
Tradeability : Displays a 10-block gauge for tradeability. More blocks = more tradeable market. It also shows “gauge” text colored green→yellow accordingly.
Market Mode : Simply shows “Trending”, “Choppy”, or “Neutral” (cyan text) to match the mode bar color.
Volume Regime : Similar to tradeability, shows blocks for current volume vs. average. Above-average volume gives orange blocks, below-average gives blue blocks. A % value indicates current volume relative to average. This row helps see if volume is abnormally high or low.
Optimal Status (Large Row) : In bold, either “★ Optimal Regime” (white text) if the star condition is met, “★ High Tradeability” (gold text) if tradeability alone is high, or “— Not Optimal” (gray text) otherwise. This large row catches your eye when conditions are ripe.
In short, the dashboard turns the numeric state into an easy read: filled bars, colors, and text let you see current conditions without reading the plot. For instance, five blue blocks under Entropy and “25%” tells you entropy is low (good), and a row showing “Trending” in green confirms a trend state.
Real-Life Example
Example : Consider a daily chart of a trending stock (e.g. “AAPL, 1D”). During a strong uptrend, recent prices fit a clear upward line, so Entropy would be low (blue line near bottom, perhaps below the 0.2 line). Volatility and slope are high, so Tradeability is high (green-yellow line near top). In the dashboard, Entropy might show only 1–2 blocks (e.g. 10%) and Tradeability nearly full (e.g. 90%). The Market Mode bar turns green (Trending), and you might see a white ★ on the optimal line if conditions are very good. The Volume row might light orange if volume is above average during the rally. In contrast, imagine the same stock later in a tight range: Entropy will rise (pink line up, more blocks in dashboard), Tradeability falls (fewer blocks), and the Mode bar turns magenta (Choppy). No star appears in that case.
Consolidated Use Case : Suppose on XYZ stock the dashboard reads “Entropy: █░░░░░░░░ 20%”, “Tradeability: ██████████ 80%”, Mode = Trending (green), and “★ Optimal Regime.” This tells the trader that the market is in a strong, low-noise trend, and it might be a good time to follow the trend (with appropriate risk controls). If instead it reads “Entropy: ████████░░ 80%”, “Tradeability: ███▒▒▒▒▒▒ 30%”, Mode = Choppy (magenta), the trader knows the market is random and low-momentum—likely best to sit out until conditions improve.
Example: How It Looks in Action
Screenshot 1: Trending Market with High Tradeability (SOLUSD, 30m)
What it means:
The market is in a clear, strong trend with excellent conditions for trading. Both trend-following and active strategies are favored, supported by high tradeability and strong volume.
Screenshot 2: Optimal Regime, Strong Trend (ETHUSD, 1h)
What it means:
This is an ideal environment for trend trading. The market is highly organized, tradeability is excellent, and volume supports the move. This is when the indicator signals the highest probability for success.
Screenshot 3: Choppy Market with High Volume (BTC Perpetual, 5m)
What it means:
The market is highly random and choppy, despite a surge in volume. This is a high-risk, low-reward environment, avoid trend strategies, and be cautious even with mean-reversion or scalping.
Settings and Inputs
The script is fully open-source; here are key inputs the user can adjust:
Entropy Window (len_entropy) : Number of bars used for entropy and tradeability (default 50). Larger = smoother, more lag; smaller = more sensitivity.
Rhythm Window (len_rhythm ): Bars used for cycle detection (default 30). This limits the longest cycle we detect.
Dashboard Position : Choose any corner (Top Right default) so it doesn’t cover chart action.
Show Heatmap : Toggles the entropy background coloring on/off.
Heatmap Style : “Neon Rainbow” (colorful) or “Classic” (green→red).
Show Mode Bar : Turn the bottom mode bar on/off.
Show Dashboard : Turn the fixed table panel on/off.
Each setting has a tooltip explaining its effect. In the description we will mention typical settings (e.g. default window sizes) and that the user can move the dashboard corner as desired.
Oscillator Interpretation (Recap)
Lines : Blue/Pink = Entropy (low=trend, high=chop); Green/Yellow = Tradeability (low=quiet, high=volatile).
Fill : Orange tinted area between them (for visual emphasis).
Bars : Green=Trending, Magenta=Choppy, Cyan=Neutral (at bottom).
Star Line : White star = ideal conditions, Gold = good but not ideal.
Horizontal Guides : 0.2 and 0.8 lines mark low/high thresholds for each metric.
Using the chart, a coder or trader can see exactly what each output represents and make decisions accordingly.
Disclaimer
This indicator is provided as-is for educational and analytical purposes only. It does not guarantee any particular trading outcome. Past market patterns may not repeat in the future. Users should apply their own judgment and risk management; do not rely solely on this tool for trading decisions. Remember, TradingView scripts are tools for market analysis, not personalized financial advice. We encourage users to test and combine MERV with other analysis and to trade responsibly.
-BullByte
BUY in HASH RibbonsHash Ribbons Indicator (BUY Signal)
A TradingView Pine Script v6 implementation for identifying Bitcoin miner capitulation (“Springs”) and recovery phases based on hash rate data. It marks potential low-risk buying opportunities by tracking short- and long-term moving averages of the network hash rate.
⸻
Key Features
• Hash Rate SMAs
• Short-term SMA (default: 30 days)
• Long-term SMA (default: 60 days)
• Phase Markers
• Gray circle: Short SMA crosses below long SMA (start of capitulation)
• White circles: Ongoing capitulation, with brighter white when the short SMA turns upward
• Yellow circle: Short SMA crosses back above long SMA (end of capitulation)
• Orange circle: Buy signal once hash rate recovery aligns with bullish price momentum (10-day price SMA crosses above 20-day price SMA)
• Display Modes
• Ribbons: Plots the two SMAs as colored bands—red for capitulation, green for recovery
• Oscillator: Shows the percentage difference between SMAs as a histogram (red for negative, blue for positive)
• Optional Overlays
• Bitcoin halving dates (2012, 2016, 2020, 2024) with dashed lines and labels
• Raw hash rate data in EH/s
• Alerts
• Configurable alerts for capitulation start, recovery, and buy signals
⸻
How It Works
1. Data Source: Fetches daily hash rate values from a selected provider (e.g., IntoTheBlock, Quandl).
2. Capitulation Detection: When the 30-day SMA falls below the 60-day SMA, miners are likely capitulating.
3. Recovery Identification: A rising 30-day SMA during capitulation signals miner recovery.
4. Buy Signal: Confirmed when the hash rate recovery coincides with a bullish shift in price momentum (10-day price SMA > 20-day price SMA).
⸻
Inputs
Hash Rate Short SMA: 30 days
Hash Rate Long SMA: 60 days
Plot Signals: On
Plot Halvings: Off
Plot Raw Hash Rate: Off
⸻
Considerations
• Timeframe: Best applied on daily charts to capture meaningful miner behavior.
• Data Reliability: Ensure the chosen hash rate source provides consistent, gap-free data.
• Risk Management: Use alongside other technical indicators (e.g., RSI, MACD) and fundamental analysis.
• Backtesting: Evaluate performance over different market cycles before live deployment.
STOCK SCHOOL | SWING TRACKER Swing Tracker is a powerful tool that automatically identifies Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) directly on the chart, helping traders clearly understand market structure and trend direction. Designed for price action traders, it works seamlessly across all timeframes and instruments, offering clean visual labels for swing points to spot trend continuations or potential reversals. Whether you're following the trend or looking for structure shifts, Swing Tracker keeps you aligned with price action for smarter, more confident trading decisions.
Williams Alligator with Background ColoringThe Benefits of the Williams Alligator – Without the “Spaghetti” on Your Chart
If you're one of those traders who prefer a clean, well-structured chart but don't want to miss out on the advantages of the Williams Alligator, this script is the perfect solution.
It includes all the features of the original TradingView script plus a background color feature based on your custom parameters:
Green when all candles are above the Alligator lines
Red when all candles are below all lines
Gray for everything in between
Feel free to customize the colors and transparency to your liking.
Happy Trading!
Koala Trend HackWhat this indicator is
A minimal, “ tweet‑faithful ” trend read with just two visuals:
1. H4 EMA200 (white): the macro/regime line pulled onto any timeframe.
2. Trend Line (colored): the average of EMA‑8 and EMA‑21; its color shows the current state.
How it works (state → color)
Priority is macro first, then short‑term momentum—so it’s simple but still reactive above H4:
Below H4 200 → Red (Be Bearish).
Above H4 200 with wick into it → Yellow (Be Bullish & Pray / Watch the retest).
Above H4 200 and above both 8 & 21 → Green (Be Bullish).
Above H4 200 but below both 8 & 21 → Orange (Be Cautious).
If none of the above applies, it falls back to the 8/21 cluster (above both = green, below both = orange) or stays Yellow (Neutral/Watch).
How it aligns with the tweet’s 5 rules
1. Reclaim EMAs = Long → close > 8 & 21 → Green.
2. Close below EMAs = Be cautious* → close < 8 & 21 → Orange.
3. Retest of H4 EMA200 = Be bullish and pray → close > H4 and low ≤ H4 → Yellow.
4. Lose H4 EMA200 = Be bearish* → close < H4 → Red.
5. Reclaim H4 EMA200 = Be bullish again* → back above H4 (and ideally > 8/21) → Green.
How to use
Green favors longs; Orange means lighten up or wait; Yellow says “watch the level” after a retest; Red warns against longs until H4 200 is reclaimed.
Notes:
The H4 EMA200 is a higher‑timeframe value fetched with request.security; on sub‑H4 charts it updates during the current 4‑hour candle (responsive but can shift slightly until that candle closes).
EMAs 8 & 21 are used internally to color the line; they’re not plotted, keeping the chart clean.
What would make this better? Modify it and show me what you built!
Key Session LevelsKey Session Levels - Indicator Guide
Created by: MecarderoAurum
Why This Indicator Exists: An Overview
The "Key Session Levels" indicator is a comprehensive tool for day traders that automatically plots the most critical price levels from the current premarket and the previous two full trading days. These levels are watched by countless traders and often act as significant areas of support and resistance.
This indicator provides a clear, objective map of these key zones, helping traders anticipate potential turning points, identify areas of confluence, and make more informed trading decisions without having to manually draw and manage these lines every day.
Features & How to Use Them
This indicator plots several types of important historical levels on your chart. Each one is fully customizable.
1. Premarket Levels (PMH / PML)
What they are: The highest (PMH) and lowest (PML) prices reached during the current day's premarket session (04:00 - 09:30 ET).
Why they matter: The premarket high and low are the first significant levels established for the trading day. They often act as initial support or resistance once the market opens.
How to use them: In the settings under "Premarket Levels," you can toggle the visibility of the PMH and PML, and customize their color, line style, and width.
2. Prior Day Levels (PDH / PDL / PDM / PDP)
What they are: The key price points from the previous full trading day.
PDH: Prior Day High
PDL: Prior Day Low
PDM: Prior Day Midpoint (the exact middle of the PDH and PDL)
PDP: Prior Day Pivot (a classic pivot point calculation)
Why they matter: These are often the most important levels for the current trading day. The market frequently tests the previous day's high and low.
How to use them: Under the "Prior Day" settings, you can enable or disable each of these four levels and customize their appearance.
3. 2-Day Prior Levels (PDH2 / PDL2 / etc.)
What they are: The same set of key levels (High, Low, Mid, Pivot) from two trading days ago.
Why they matter: These levels can still be highly relevant, especially if the market is trading within a multi-day range or returning to test a significant prior level.
How to use them: Under the "2-Day Prior" settings, you can customize the visibility and style of these levels. They are styled with more transparency by default to distinguish them from the more recent prior day's levels.
4. General Settings
Days of History: This setting allows you to control how many past days of historical lines are kept on your chart. This is excellent for back-testing strategies and seeing how price has reacted to these levels in the past.
Label Settings: You can customize the color and size of the on-chart labels (e.g., "PDH," "PML") for better visibility.
Sample Strategy: The Key Level Rejection
This strategy focuses on using the indicator's levels to identify potential reversals at key areas of support or resistance.
Identify a Key Level: Watch as the price approaches a significant level plotted by the indicator, such as the Prior Day High (PDH) or the Premarket Low (PML).
Look for Rejection: Do not trade simply because the price touches the level. Wait for a price action signal that confirms the level is holding. This could be a bearish engulfing candle or a shooting star pattern at a resistance level like PDH, or a bullish hammer or morning star pattern at a support level like PML.
Entry: Once you see a clear rejection candle, enter a trade in the direction of the rejection. For a bearish rejection at the PDH, you would enter a short position.
Stop-Loss: A logical place for a stop-loss is just above the high of the rejection candle (for a short trade) or just below the low of the rejection candle (for a long trade). This defines your risk clearly.
Profit Target: Your first profit target could be the next key level plotted by the indicator. For example, if you shorted a rejection at the PDH, your first target might be the Premarket High (PMH) or the day's opening price.
✅ VMA Avg ATR + Days to Targets 🎯1) The trend filter: LazyBear VMA
You implement the well‑known “LazyBear” Variable Moving Average (VMA) from price directional movement (pdm/mdm).
Internally you:
Smooth positive/negative one‑bar moves (pdmS, mdmS),
Turn them into relative strengths (pdiS, mdiS),
Measure their difference/total (iS), and
Normalize that over a rolling window to get a scaling factor vI.
The VMA itself is then an adaptive EMA:
vma := (1 - k*vI) * vma + (k*vI) * close, where k = 1/vmaLen.
When vI is larger, VMA hugs price more; when smaller, it smooths more.
Coloring:
Green when vma > vma (rising),
Red when vma < vma (falling),
White when flat.
Candles are recolored to match.
Why this matters: The VMA color is your trend regime; everything else in the script keys off changes in this color.
2) What counts as a “valid” new trend?
A new trend is valid only when the previous bar was white and the current bar turns green or red:
validTrendStart := vmaColor != color.white and vmaColor == color.white.
When that happens, you start a trend segment:
Save entry price (startPrice = close) and baseline ATR (startATR = ATR(atrLen)).
Reset “extreme” trackers: extremeHigh = high, extremeLow = low.
Timestamp the start (trendStartTime = time).
Effect: You only study / trade transitions out of a flat VMA into a slope. This helps avoid chop and reduces false starts.
3) While the trend is active
On each new bar without a color change:
If green trend: update extremeHigh = max(extremeHigh, high).
If red trend: update extremeLow = min(extremeLow, low).
This tracks the best excursion from the entry during that single trend leg.
4) When the VMA color changes (trend ends)
When vmaColor flips (green→red or red→green), you close the prior segment only if it was a valid trend (started after white). Then you:
Compute how far price traveled in ATR units from the start:
Uptrend ended: (extremeHigh - startPrice) / startATR
Downtrend ended: (startPrice - extremeLow) / startATR
Add that result to a running sum and count for the direction:
totalUp / countUp, totalDown / countDown.
Target checks for the ended trend (no look‑ahead):
T1 uses the previous average ATR move before the just‑ended trend (prevAvgUp/prevAvgDown).
Up: t1Up = startPrice + prevAvgUp * startATR
Down: t1Down = startPrice - prevAvgDown * startATR
T2 is a fixed 6× ATR move from the start (up or down).
You increment hit counters and also accumulate time‑to‑hit (ms from trendStartTime) for any target that got reached during that ended leg.
If T1 wasn’t reached, it counts as a miss.
Immediately initialize the next potential trend segment with the current bar’s startPrice/startATR/extremes and set validTrendStart according to the “white → color” rule.
Important detail: Using prevAvgUp/Down to evaluate T1 for the just‑completed trend avoids look‑ahead bias. The current trend’s performance isn’t used to set its own T1.
5) Running statistics & targets (for the current live trend)
After closing/adding to totals:
avgUp = totalUp / countUp and avgDown = totalDown / countDown are the historical average ATR move per valid trend for each direction.
Current plotted targets (only visible while a valid trend is active and in that direction):
T1 Up: startPrice + avgUp * startATR
T2 Up: startPrice + 6 * startATR
T1 Down: startPrice - avgDown * startATR
T2 Down: startPrice - 6 * startATR
The entry line is also plotted at startPrice when a valid trend is live.
If there’s no history yet (e.g., first trend), avgUp/avgDown are na, so T1 is na until at least one valid trend has closed. T2 still shows (6× ATR).
6) Win rate & time metrics
Win % (per direction):
winUp = hitUpT1 / (hitUpT1 + missUp) and similarly for down.
(This is strictly based on T1 hits vs misses; T2 hits don’t affect Win% directly.)
Average days to hit T1/T2:
The script stores milliseconds from trend start to each target hit, then reports the average in days separately for Up/Down and for T1/T2.
7) The dashboard table (bottom‑right)
It shows, side‑by‑side for Up/Down:
Avg ATR: historical average ATR move per completed valid trend.
🎯 Target 1 / Target 2: the current trend’s price levels (T1 = avgATR×ATR; T2 = 6×ATR).
✅ Win %: T1 hit rate so far.
⏱ Days to T1/T2: average days (from valid trend start) for the targets that were reached.
8) Alerts
“New Trend Detected” when a valid trend starts (white → green/red).
Target hits for the active trend:
Uptrend: separate alerts for T1 and T2 (high >= target).
Downtrend: separate alerts for T1 and T2 (low <= target).
9) Inputs & defaults
vmaLen = 17: governs how adaptive/smooth the VMA is (larger = smoother, fewer trend flips).
atrLen = 14: ATR baseline for sizing targets and normalizing moves.
10) Practical read of the plots
When you see white → green: that bar is your valid entry (trend start).
An Entry Line appears at the start price.
Target lines appear only for the active direction. T1 scales with your historical average ATR move; T2 is a fixed stretch (6× ATR).
The table updates as more trends complete, refining:
The average ATR reach (which resets your T1 sizing),
The win rate to T1, and
The average days it typically takes to hit T1/T2.
Subtle points / edge cases
No look‑ahead: T1 for a finished trend is checked against the prior average (not including the trend itself).
First trends: Until at least one valid trend completes, T1 is na (no history). T2 still shows.
Only “valid” trends are counted: Segments must start after a white bar; flips that happen color→color without a white in between don’t start a new valid trend.
Time math: Uses bar timestamps in ms, converted to days; results reflect the chart’s timeframe/market session.
TL;DR
The VMA color defines the regime; entries only trigger when a flat (white) VMA turns green/red.
Each trend’s max excursion from entry is recorded in ATR units.
T1 for current trends = (historical average ATR move) × current ATR from entry; T2 = 6× ATR.
The table shows your evolving edge (avg ATR reach, T1 win%, and days to targets), and alerts fire on new trends and target hits.
If you want, I can add optional features like: per‑ticker persistence of stats, excluding very short trends, or making T2 a user input instead of a fixed 6× ATR.
London Session & Market StructureFusion of session indicator with market structure ZigZag line. not my own creation just a fusion of 2 indicators which are publicly available on TV
ALMA Optimized Strategy - Volatility Filter + UT BotThe strategy you provided is an ALMA Optimized Strategy implemented in Pine Script™ version 5 for TradingView. Here is a brief English summary of what it is and how it works:
It is a trend-following strategy combining multiple technical indicators to optimize trade entries and exits.
The core moving average used is the ALMA (Arnaud Legoux Moving Average), known for smoother and less lagging price smoothing compared to traditional EMAs or SMAs.
The strategy also uses other indicators:
Fast EMA (Exponential Moving Average)
EMA 50
ATR (Average True Range) for volatility measurement and dynamic stop loss and take profit levels
RSI (Relative Strength Index) for momentum with overbought/oversold levels
ADX (Average Directional Index) for confirming trend strength
Bollinger Bands as a volatility filter
Buy signals trigger when volatility is sufficient (ATR filter), price is above EMA 50 and ALMA, RSI indicates bullish momentum, ADX confirms trend strength, price is below the upper Bollinger Band, and there is a cooldown period to prevent repeated buys within a short time.
Sell signals are generated when price crosses below the fast EMA.
The strategy manages position entries and exits dynamically, applying ATR-based stop loss and take profit levels, and optionally a time-based exit.
Additionally, the script integrates the UT Bot, an ATR-based trailing stop and signal system, enhancing trade exit precision.
Buy and sell signals are visually marked on the chart with colored triangles for easy identification.
In essence, this strategy blends advanced smoothing (ALMA) with volatility filters and trend/momentum indicators to generate reliable buy and sell signals, while managing risk dynamically through ATR-based stops and profit targets. It aims to adapt to changing market conditions by filtering noise and confirming trends before entering trades.
Long and Short Strategy with Multi Indicators [B1P5]Long and Short Strategy with RSI, ROC, MA Selection, Exit Visualization, and Strength Indicator
Advanced ICT Theory - A-ICT📊 Advanced ICT Theory (A-ICT): The Institutional Manipulation Detector
Are you tired of being the liquidity? Stop chasing shadows and start tracking the architects of price movement.
This is not another lagging indicator. This is a complete framework for viewing the market through the lens of institutional traders. Advanced ICT Theory (A-ICT) is an all-in-one, military-grade analysis engine designed to decode the complex language of "Smart Money." It automates the core tenets of Inner Circle Trader (ICT) methodology, moving beyond simple patterns to build a dynamic, real-time narrative of market manipulation, liquidity engineering, and institutional order flow.
AIT provides a living blueprint of the market, identifying high-probability zones, tracking structural shifts, and scoring the quality of setups with a sophisticated, multi-factor algorithm. This is your X-ray into the market's true intentions.
🔬 THE CORE ENGINE: DECODING THE THEORY & FORMULAS
A-ICT is built upon a sophisticated, multi-layered logic system that interprets price action as a story of cause and effect. It does not guess; it confirms. Here is the foundational theory that drives the engine:
1. Market Structure: The Blueprint of Trend
The script first establishes a deep understanding of the market's skeleton through multi-level pivot analysis. It uses ta.pivothigh and ta.pivotlow to identify significant swing points.
Internal Structure (iBOS): Minor swings that show the short-term order flow. A break of internal structure is the first whisper of a potential shift.
External Structure (eBOS): Major swing points that define the primary trend. A confirmed break of external structure is a powerful statement of trend continuation. AIT validates this with optional Volume Confirmation (volume > volumeSMA * 1.2) and Candle Confirmation to ensure the break is driven by institutional force, not just a random spike.
Change of Character (CHoCH): This is the earthquake. A CHoCH occurs when a confirmed eBOS happens against the prevailing trend (e.g., a bearish eBOS in a clear uptrend). A-ICT flags this immediately, as it is the strongest signal that the primary trend is under threat of reversal.
2. Liquidity Engineering: The Fuel of the Market
Institutions don't buy into strength; they buy into weakness. They need liquidity. A-ICT maps these liquidity pools with forensic precision:
Buyside & Sellside Liquidity (BSL/SSL): Using ta.highest and ta.lowest, AIT identifies recent highs and lows where clusters of stop-loss orders (liquidity) are resting. These are institutional targets.
Liquidity Sweeps: This is the "manipulation" part of the detector. AIT has a specific formula to detect a sweep: high > bsl and close < bsl . This signifies that institutions pushed price just high enough to trigger buy-stops before aggressively selling—a classic "stop hunt." This event dramatically increases the quality score of subsequent patterns.
3. The Element Lifecycle: From Potential to Power
This is the revolutionary heart of A-ICT. Zones are not static; they have a lifecycle. AIT tracks this with its dynamic classification engine.
Phase 1: PENDING (Yellow): The script identifies a potential zone of interest based on a specific candle formation (a "displacement"). It is marked as "Pending" because its true nature is unknown. It is a question.
Phase 2: CLASSIFICATION: After the zone is created, AIT watches what happens next. The zone's identity is defined by its actions:
ORDER BLOCK (Blue): The highest-grade element. A zone is classified as an Order Block if it directly causes a Break of Structure (BOS) . This is the footprint of institutions entering the market with enough force to validate the new trend direction.
TRAP ZONE (Orange): A zone is classified as a Trap Zone if it is directly involved in a Liquidity Sweep . This indicates the zone was used to engineer liquidity, setting a "trap" for retail traders before a reversal.
REVERSAL / S&R ZONE (Green): If a zone is not powerful enough to cause a BOS or a major sweep, but still serves as a pivot point, it's classified as a general support/resistance or reversal zone.
4. Market Inefficiencies: Gaps in the Matrix
Fair Value Gaps (FVG): AIT detects FVGs—a 3-bar pattern indicating an imbalance—with a strict formula: low > high (for a bullish FVG) and gapSize > atr14 * 0.5. This ensures only significant, volatile gaps are shown. An FVG co-located with an Order Block is a high-confluence setup.
5. Premium & Discount: The Law of Value
Institutions buy at wholesale (Discount) and sell at retail (Premium). AIT uses a pdLookback to define the current dealing range and divides it into three zones: Premium (sell zone), Discount (buy zone), and Equilibrium. An element's quality score is massively boosted if it aligns with this principle (e.g., a bullish Order Block in a Discount zone).
⚙️ THE CONTROL PANEL: A COMPLETE GUIDE TO THE INPUTS MENU
Every setting is a lever, allowing you to tune the AIT engine to your exact specifications. Master these to unlock the script's full potential.
🎯 A-ICT Detection Engine
Min Displacement Candles: Controls the sensitivity of element detection. How it works: It defines the number of subsequent candles that must be "inside" a large parent candle. Best practice: Use 2-3 for a balanced view on most timeframes. A higher number (4-5) will find only major, more significant zones, ideal for swing trading. A lower number (1) is highly sensitive, suitable for scalping.
Mitigation Method: Defines when a zone is considered "used up" or mitigated. How it works: Cross triggers as soon as price touches the zone's boundary. Close requires a candle to fully close beyond it. Best practice: Cross is more responsive for fast-moving markets. Close is more conservative and helps filter out fake-outs caused by wicks, making it safer for confirmations.
Min Element Size (ATR): A crucial noise filter. How it works: It requires a detected zone to be at least this multiple of the Average True Range (ATR). Best practice: Keep this around 0.5. If you see too many tiny, irrelevant zones, increase this value to 0.8 or 1.0. If you feel the script is missing smaller but valid zones, decrease it to 0.3.
Age Threshold & Pending Timeout: These manage visual clutter. How they work: Age Threshold removes old, mitigated elements after a set number of bars. Pending Timeout removes a "Pending" element if it isn't classified within a certain window. Best practice: The default settings are optimized. If your chart feels cluttered, reduce the Age Threshold. If pending zones disappear too quickly, increase the Pending Timeout.
Min Quality Threshold: Your primary visual filter. How it works: It hides all elements (boxes, lines, labels) that do not meet this minimum quality score (0-100). Best practice: Start with the default 30. To see only A- or B-grade setups, increase this to 60 or 70 for an exceptionally clean, high-probability view.
🏗️ Market Structure
Lookbacks (Internal, External, Major): These define the sensitivity of the trend analysis. How they work: They set the number of bars to the left and right for pivot detection. Best practice: Use smaller values for Internal (e.g., 3) to see minor structure and larger values for External (e.g., 10-15) to map the main trend. For a macro, long-term view, increase the Major Swing Lookback.
Require Volume/Candle Confirmation: Toggles for quality control on BOS/CHoCH signals. Best practice: It is highly recommended to keep these enabled. Disabling them will result in more structure signals, but many will be false alarms. They are your filter against market noise.
... (Continue this detailed breakdown for every single input group: Display Configuration, Zones Style, Levels Appearance, Colors, Dashboards, MTF, Liquidity, Premium/Discount, Sessions, and IPDA).
📊 THE INTELLIGENCE DASHBOARDS: YOUR COMMAND CENTER
The dashboards synthesize all the complex analysis into a simple, actionable intelligence briefing.
Main Dashboard (Bottom Right)
ICT Metrics & Breakdown: This is your statistical overview. Total Elements shows how much structure the script is tracking. High Quality instantly tells you if there are any A/B grade setups nearby. Unmitigated vs. Mitigated shows the balance of fresh opportunities versus resolved price action. The breakdown by Order Blocks, Trap Zones, etc., gives you a quick read on the market's recent character.
Structure & Market Context: This is your core bias. Order Flow tells you the current script-determined trend. Last BOS shows you the most recent structural event. CHoCH Active is a critical warning. HTF Bias shows if you are aligned with the higher timeframe—the checkmark (✓) for alignment is one of the most important confluence factors.
Smart Money Flow: A volume-based sentiment gauge. Net Flow shows the raw buying vs. selling pressure, while the Bias provides an interpretation (e.g., "STRONG BULLISH FLOW").
Key Guide (Large Dashboard only): A built-in legend so you never have to guess. It defines every pattern, structure type, and special level visually.
📖 Narrative Dashboard (Bottom Left)
This is the "story" of the market, updated in real-time. It's designed to build your trading thesis.
Recent Elements Table: A live list of the most recent, high-quality setups. It displays the Type , its Narrative Role (e.g., "Bullish OB caused BOS"), its raw Quality percentage, and its final Trade Score grade. This is your at-a-glance opportunity scanner.
Market Narrative Section: This is the soul of A-ICT. It combines all data points into a human-readable story:
📍 Current Phase: Tells you if you are in a high-volatility Killzone or a consolidation phase like the Asian Range.
🎯 Bias & Alignment: Your primary direction, with a clear indicator of HTF alignment or conflict.
🔗 Events: A causal sequence of recent events, like "💧 Sell-side liquidity swept →
📊 Bullish BOS → 🎯 Active Order Block".
🎯 Next Expectation: The script's logical conclusion. It provides a specific, forward-looking hypothesis, such as "📉 Pullback expected to bullish OB at 1.2345 before continuation up."
🎨 READING THE BATTLEFIELD: A VISUAL INTERPRETATION GUIDE
Every color and line is a piece of information. Learn to read them together to see the full picture.
The Core Zones (Boxes):
Blue Box (Order Block): Highest probability zone for trend continuation. Look for entries here.
Orange Box (Trap Zone): A manipulation footprint. Expect a potential reversal after price interacts with this zone.
Green Box (Reversal/S&R): A standard pivot area. A good reference point but requires more confluence.
Purple Box (FVG): A market imbalance. Acts as a magnet for price. An FVG inside an Order Block is an A+ confluence.
The Structural Lines:
Green/Red Line (eBOS): Confirms the trend direction. A break above the green line is bullish; a break below the red line is bearish.
Thick Orange Line (CHoCH): WARNING. The previous trend is now in question. The market character has changed.
Blue/Red Lines (BSL/SSL): Liquidity targets. Expect price to gravitate towards these lines. A dotted line with a checkmark (✓) means the liquidity has been "swept" or "purged."
How to Synthesize: The magic is in the confluence. A perfect setup might look like this: Price sweeps below a red SSL line , enters a green Discount Zone during the NY Killzone , and forms a blue Order Block which then causes a green eBOS . This sequence, visible at a glance, is the story of a high-probability long setup.
🔧 THE ARCHITECT'S VISION: THE DEVELOPMENT JOURNEY
A-ICT was forged from the frustration of using lagging indicators in a market that is forward-looking. Traditional tools are reactive; they tell you what happened. The vision for A-ICT was to create a proactive engine that could anticipate institutional behavior by understanding their objectives: liquidity and efficiency. The development process was centered on creating a "lifecycle" for price patterns—the idea that a zone's true meaning is only revealed by its consequence. This led to the post-breakout classification system and the narrative-building engine. It's designed not just to show you patterns, but to tell you their story.
⚠️ RISK DISCLAIMER & BEST PRACTICES
Advanced ICT Theory (A-ICT) is a professional-grade analytical tool and does not provide financial advice or direct buy/sell signals. Its analysis is based on historical price action and probabilities. All forms of trading involve substantial risk. Past performance is not indicative of future results. Always use this tool as part of a comprehensive trading plan that includes your own analysis and a robust risk management strategy. Do not trade based on this indicator alone.
観の目つよく、見の目よわく
"Kan no me tsuyoku, ken no me yowaku"
— Miyamoto Musashi, The Book of Five Rings
English: "Perceive that which cannot be seen with the eye."
— Dskyz, Trade with insight. Trade with anticipation.
9:45am NIFTY TRADINGTime Frame: 15 Minutes | Reference Candle Time: 9:45 AM IST | Valid Trading Window: 3 Hours
📌 Introduction
This document outlines a structured trading strategy for NIFTY & BANKNIFTY Options based on a 15-minute timeframe with a 9:45 AM IST reference candle. The strategy incorporates technical indicators, probability analysis, and strict trading rules to optimize entries and exits.
📊 Core Features
1. Reference Time Trading System
9:45 AM IST Candle acts as the reference for the day.
All signals (Buy/Sell/Reversal) are generated based on price action relative to this candle.
The valid trading window is 3 hours after the reference candle.
2. Signal Generation Logic
Signal Condition
Buy (B) Price breaks above reference candle high with confirmation
Sell (S) Price breaks below reference candle low with confirmation
Reversal (R) Early trend reversal signal (requires strict confirmation)
3. Probability Analysis System
The strategy calculates Win Probability (%) using 4 components:
Component Weight Calculation
Body Win Probability 30% Based on candle body strength (body % of total range)
Volume Win Probability 30% Current volume vs. average volume strength
Trend Win Probability 40% EMA crossover + RSI momentum alignment
Composite Probability - Weighted average of all 3 components
Probability Color Coding:
🟢 Green (High Probability): ≥70%
🟠 Orange (Medium Probability): 50-69%
🔴 Red (Low Probability): <50%
4. Timeframe Enforcement
Strictly 15-minute charts only (no other timeframes allowed).
System auto-disables signals if the wrong timeframe is selected.
📈 Technical Analysis Components
1. EMA System (Trend Analysis)
Short EMA (9) – Fast trend indicator
Middle EMA (20) – Intermediate trend
Long EMA (50) – Long-term trend confirmation
Rules:
Buy Signal: Price > 9 EMA > 20 EMA > 50 EMA (Bullish trend)
Sell Signal: Price < 9 EMA < 20 EMA < 50 EMA (Bearish trend)
2. Multi-Timeframe RSI (Momentum)
5M, 15M, 1H, 4H, Daily RSI values are compared for divergence/confluence.
Overbought (≥70) / Oversold (≤30) conditions help in reversal signals.
3. Volume Analysis
Volume Strength (%) = (Current Volume / Avg. Volume) × 100
Strong Volume (>120% Avg.) confirms breakout/breakdown.
4. Body Percentage (Candle Strength)
Body % = (Close - Open) / (High - Low) × 100
Strong Bullish Candle: Body > 60%
Strong Bearish Candle: Body < 40%
📊 Visual Elements
1. Information Tables
Reference Data Table (9:45 AM Candle High/Low/Close)
RSI Values Table (5M, 15M, 1H, 4H, Daily)
Signal Legend (Buy/Sell/Reversal indicators)
2. Chart Overlays
Reference Lines (9:45 AM High & Low)
EMA Lines (9, 20, 50)
Signal Labels (B, S, R)
3. Color Coding
High Probability (Green)
Medium Probability (Orange)
Low Probability (Red)
⚠️ Important Usage Guidelines
✅ Best Practices:
Trade only within the 3-hour window (9:45 AM - 12:45 PM IST).
Wait for confirmation (closing above/below reference candle).
Use probability score to filter high-confidence trades.
❌ Avoid:
Trading outside the 15-minute timeframe.
Ignoring volume & RSI divergence.
Overtrading – Stick to 1-2 high-probability setups per day.
🎯 Conclusion
This NIFTY Trading Strategy is optimized for 15-minute charts with a 9:45 AM IST reference candle. It combines EMA trends, RSI momentum, volume analysis, and probability scoring to generate high-confidence signals.
🚀 Key Takeaways:
✔ Reference candle defines the day’s bias.
✔ Probability system filters best trades.
✔ Strict 15M timeframe ensures consistency.
Happy Trading! 📈💰
🐉 DKD PRO - Death Kiss Dragon [Faraz Edition] 💋may helps u . based on volume and sell/buy powers. share it for more
Elite 30 Min Pivot - by TenAM Trader.🔍 How It Works
Trend Detection:
A trend is defined when a configurable number (default: 3) of same-colored candles (green or red) appear in a row.
The pivot is marked by the first opposite-color candle after the trend.
Signal Logic:
After the pivot forms, the script watches the next few candles (default: 2) for a breakout or close beyond the pivot high/low.
A BUY signal is triggered when price breaks/closes above a pivot high from a downtrend.
A SELL signal is triggered when price breaks/closes below a pivot low from an uptrend.
Entry & Risk Tools:
Optional features include:
Pivot Line – dashed level showing pivot entry point.
Stop Loss Line – opposite side of the pivot candle.
Labels – toggle labels for clarity on entry and risk.
Time Filter – exclude signals during specific hours (e.g. 11 AM–2 PM) to avoid lunchtime chop.
Alerts:
Enable alerts for automated notifications when buy or sell conditions are met.
⚙️ Customizable Settings
Consecutive candles required before pivot
Max bars allowed after pivot for signal
Signal trigger: Break or Close
Toggle visibility of pivot lines, stop loss, and labels
Set excluded time blocks
Enable/disable real-time alerts
✅ Use Case Example
If you set trend length to 3 and signal trigger to “Break,” the script will look for 3 consecutive red candles, then a green candle (pivot). If price breaks above the pivot high within the next 2 candles, a Buy signal will fire.
⚠️ Legal Note
This script is provided for educational and informational purposes only and does not constitute financial advice. Always do your own research before making trading decisions. Use at your own risk.
Market Structure Dashboard @darshakssc📌 Market Structure Dashboard by @darshakssc is a comprehensive visual analysis tool designed to assist traders and analysts in understanding market conditions by presenting multiple key technical insights in one place.
This script does not provide buy or sell signals, but helps you interpret essential elements of market behavior — such as structure shifts, momentum conditions, trend direction, and volatility — for informed decision-making.
🔍 What This Dashboard Displays:
✅ Market Phase Detection
Identifies the current market condition as Bullish, Bearish, Accumulation, or Distribution, based on trend logic and RSI thresholds.
✅ Trend Direction (EMA-Based)
Uses customizable Fast and Slow Exponential Moving Averages (EMAs) to evaluate whether the market is trending upward or downward.
✅ Key Support & Resistance Levels
Highlights potential support and resistance areas based on structural highs and lows and pivot logic.
✅ RSI Momentum State
Tracks whether momentum is Overbought, Oversold, or Neutral, using the classic RSI indicator.
✅ Volatility Overview
Detects high or low volatility zones using ATR (Average True Range) compared to a moving average baseline.
✅ Structure Shift Markers
Displays triangle markers on the chart when a structural trend shift is detected.
✅ Custom Themes and Design
Choose between three clean themes — Classic, Modern, and Dark — for enhanced readability and aesthetics.
📊 Visual Elements
1). An intuitive table-style dashboard appears in the top-right of the chart.
2). Colored EMA overlays and plotted support/resistance circles on the price chart.
3). Structure shift indicators help visually mark potential change zones.
⚠️ Important Notice:
This tool is intended for educational and informational purposes only. It does not provide financial advice, trade recommendations, or guaranteed outcomes. Always use your own discretion and analysis, and consult a qualified financial professional before making investment decisions.
Trading involves risk and past performance does not guarantee future results.
Supertrend Long-Only Strategy for QQQThis strategy is meant to use Micro Momentum to give good Buy and Sell signals in trending markets
ALFA ATC LondonThis indicator is a data indicator focused on the algorithmic opening prices of stock exchanges and shows these areas. Bias can be obtained from these areas. Trades can be executed by taking advantage of the price's ability to test and hold these areas. The indicator, AS ATC5, includes opening information for the CM New York, London, Frankfurt, and Tokyo stock exchanges. This indicator is designed solely for London and Frankfurt.
Trend Flow Oscillator (CMF + MFI) + ADX## Trend Flow Oscillator (TFO + ADX) Indicator Description
The Trend Flow Oscillator (TFO+ADX) combines two volume-based indicators, Money Flow Index (MFI) and Chaikin Money Flow (CMF), along with the Average Directional Index (ADX) into one comprehensive oscillator. This indicator provides traders with insights into momentum, volume flow, and trend strength, clearly indicating bullish or bearish market conditions.
### How the Indicator Works:
1. **Money Flow Index (MFI)**:
* Measures buying and selling pressure based on price and volume.
* Scaled from -1 to +1 (where positive values indicate buying pressure, negative values indicate selling pressure).
2. **Chaikin Money Flow (CMF)**:
* Evaluates money flow volume over a set period, reflecting institutional buying or selling.
* Also scaled from -1 to +1 (positive values suggest bullish accumulation, negative values bearish distribution).
3. **Average Directional Index (ADX)**:
* Measures trend strength, indicating whether a market is trending or ranging.
* Scaled from -1 to +1, with values above 0 suggesting strong trends, and values near or below 0 indicating weak trends or sideways markets.
* Specifically, an ADX value of 0 means neutral trend strength; positive values indicate a strong trend.
### Indicator Levels and Interpretation:
* **Zero Line (0)**: Indicates neutral conditions. When the oscillator crosses above zero, it signals increasing bullish momentum; crossing below zero indicates bearish momentum.
* **Extreme Zones (+/- 0.75)**:
* Oscillator values above +0.75 are considered overbought or highly bullish.
* Oscillator values below -0.75 are considered oversold or highly bearish.
* The indicator features subtle background shading to visually highlight these extreme momentum areas for quick identification.
* Shading when values above or below the +/-1.0 level.
* **Color Coding**:
* Bright blue indicates strengthening bullish momentum.
* Dark blue signals weakening bullish momentum.
* Bright red indicates strengthening bearish momentum.
* Dark maroon signals weakening bearish momentum.
Indexrate Code BIndexrate Code B is an indicator and part of the Indexrate Code Set of Algorithm, which additionally includes the Indexrate Code A strategy.
The Indexrate Code Set of Algorithms can be used for any trading instruments and on any existing markets (Stock market, Forex, Cryptocurrency market, etc.).
Indexrate Code B consists of a set of indicators, oscillators and signals that are uniquely configured to interact with each other and allow traders to analyze the movement of an asset’s price:
- Momentum
This oscillator measures the amount of change in the price of an asset over a certain period of time. This is a great tool for understanding the strength of a trend and its potential sustainability. When the momentum oscillator is rising, it indicates that the price is moving up and vice versa.
Momentum is an advanced technical analysis tool that helps traders determine the rate of change or momentum of the market. It is typically used to determine the strength or rate at which the price of an asset increases or decreases for a set of returns. This oscillator is considered to be "fast moving" and "sensitive" as it reacts quickly to changes in price momentum. The fast-moving nature of this oscillator helps traders get early signals for potential market entry or exit points.
The Momentum Oscillator analyzes the current price compared to the previous price and adds two additional levels of analysis: Buy and Sell Movements and Extremes.
• Buying and Selling Movements: This oscillator layer helps identify the buying and selling pressure in the market. This can provide traders with valuable information about the possible direction of future price movements. When there is high buying pressure (demand), the price tends to rise, and when there is high selling pressure (supply), the price tends to fall.
• Extremes: This layer helps identify extreme overbought or oversold conditions. When the oscillator enters the overbought zone, it may indicate that price has peaked and could potentially reverse. Conversely, if the oscillator enters an oversold zone, it could indicate that the price is at a low and could potentially rebound.
Momentum usage example
Momentum is a sensitive and fast-moving oscillator that quickly adapts to price changes while tracking long-term momentum, making it easier to spot buying or selling opportunities in trends.
-Difference Momentum
The Momentum wave described above consists of two curves combined into a ribbon. Difference Momentum shows the intersection of these waves. Difference Momentum is an important component of the toolkit. It takes into account both the direction and dynamics of market trends. The waves within this system are fast and responsive, acting independently and offering the most relevant information at the most appropriate moments. Their fast response time ensures that traders receive timely information, which is very important in the fast-paced and dynamic world of trading.
An example of using Difference Momentum
Difference Momentum is able to identify trend reversals and pullbacks, allowing traders to enter or exit trades at optimal times.
Movement of the indicator curve from negative to positive values (from bottom to top) for Long and movement of the curve from positive to negative values (from top to bottom) for Short. As well as the intersection of the center line of the indicator channel (value “0”) in one direction or the other. The values can be observed in the status line.
-StochRSI
StochRSI is a type of momentum oscillator that is commonly used in technical analysis to predict price movements. As the name suggests, it is an enhanced form of the traditional Relative Strength Index (RSI) that provides traders with more timely signals to enter and exit the market.
StochRSI works on similar principles but is designed to provide signals ahead of traditional RSI. This is achieved through more complex mathematical modeling and calculations that aim to identify changes in market dynamics before they happen. It takes into account not only current price action, but also takes into account historical data in such a way that changes in trend directions can be anticipated.
Example of using StochRSI
StochRSI is an enhanced version of the traditional relative strength index, offering overbought or oversold market conditions.
The oscillator wave changes color from green to red. Where the green color serves as a priority for Long positions, and the red color serves as a priority for Short positions. Values in the “80” zone and above indicate the asset is overbought, and values in the “20” zone and below indicate the asset is oversold. The values can be observed in the status line.
-Money Flow Index (MFI)
Money Flow Index (MFI) or Money Flow Index is an indicator from the group of oscillators. It reflects the rate at which funds are invested in and withdrawn from a financial asset. Essentially, it measures the pressure of buyers and sellers. The oscillator calculates incoming and outgoing cash flows.
The Money Flow Index helps traders analyze positive and negative money flows and compare these data with price, which in turn allows them to better see trend strength and turning points.
Example of using Money Flow Index (MFI)
The transition of waves from gray to blue means that money is entering the asset, and vice versa from blue to gray means that money is leaving the asset. This leads to the conclusion that when money enters an asset, it becomes more expensive, and when money leaves an asset, it becomes cheaper. A hint of this movement gives the trader additional confirmation of the received signal. The bar at the top of the indicator duplicates the movement of Money Flow Index (MFI) waves for accurate visualization of these transitions. At the same time, when the wave is in blue color (Long), then purchases are considered a priority, and when the wave is in gray color (Short), then sales are considered a priority.
-Trend Score WMA
The Trend Score WMA indicator is an indicator that uses a weighted moving average (WMA). When calculating, each candle is assigned its own weight, which is calculated depending on the selected period. The indicator quickly reacts to market changes. Trend Score WMA is good for quick trading within a day or several days.
The indicator curve resembles a broken line directed up or down, into blue zones (Long) at the top and gray zones (Short) at the bottom. The maximum indicator values are 83 and -83.
Example of using Trend Score WMA
This is an indicator of trend direction. The movement of the indicator curve shows the movement of the trend in real time. The indicator curve moves from bottom to top, from the gray Short zone to the blue Long zone and from top to bottom, from the blue Long zone to the gray Short zone. It is also worth considering that finding a wave in the maximum values of both Long and Short zones may mean the continuation of stronger trend movements.
-Signals
Indexrate Code B(i), shows the direction of price movement, trend breaks, overbought and oversold zones of an asset and creates corresponding signals.
When the Momentum waves intersect, the Difference Momentum wave crosses the zero mark in the status line and the center of the channel boundary (white lines on the indicator having values of 60 and -60), a signal appears in the form of a column of the corresponding color (blue - Long, gray - Short), as well as a cross of the corresponding color appears.
When Momentum Waves intersect and simultaneously cross the channel boundary at a value of 60 or -60, a square of the corresponding color appears. This could mean stronger price movements.
If Momentum waves move from high peaks to lower ones, this also serves as signals for a change in price movement.
When working with the Indexrate Code B(i) indicator, it is necessary to take into account the totality of indicators of other indicators and oscillators to confirm the indicator signals, as shown in their examples.
The Indexrate Code Set of Algorithms is suitable for conservative traders who evaluate their success in the long term, and not in short-term excess profits.
IT IS IMPORTANT TO KNOW that no indicator is capable of 100% predicting a successful trade.
The market is a collection of people. It is thanks to human psychology that shapes the forces of supply and demand that financial markets exist (Charles Dow Theory).
Forecasting based on the analysis of mathematical algorithms (indicators) uses data from past trading - the price of the previous period of time and the volume of previous trading. It is these two indicators that are used by modern technical analysis.
The Indexrate Code Set of Algorithm is based on algorithms that evaluate trends, prices and volume indicators. Besides human psychology, which requires an assessment of the exact preceding periods for a specific timeframe, and not an assessment of the entire period from the moment of listing of a trading instrument on a specific exchange. Since market indicators completely change throughout the trading period and the exchange trading volume also changes.
All updates to the Indexrate Code Set of Algorithm will be free.
Trading is trading on probabilities. Investing is trading on opportunity. Nobody knows the future - Always protect your profits!
Russian translation
Indexrate Code В - это индикатор являющийся частью Комплекта алгоритмов Indexrate Code, включающего в себя дополнительно стратегию Indexrate Code А(s).
Комплект алгоритмов Indexrate Code, может быть использован для любых торговых инструментов и на любых существующих рынках (Фондовый рынок, Форекс, Криптовалютный рынок и тд).
Indexrate Code В состоит из совокупности индикаторов, осцилляторов и сигналов, настроенных уникальным образом для взаимодействия между собой и позволяющих трейдерам комплексно анализировать движение цены актива:
- Momentum
Этот осциллятор измеряет величину изменения цены актива за определенный промежуток времени. Это отличный инструмент для понимания силы тренда и его потенциальной устойчивости. Когда осциллятор импульса растет, это говорит о том, что цена движется вверх и наоборот.
Momentum - это продвинутый инструмент технического анализа, который помогает трейдерам определить скорость изменения или импульс рынка. Обычно он используется для определения силы или скорости, с которой цена актива увеличивается или уменьшается для набора доходностей. Этот осциллятор считается «быстродвижущимся» и «чувствительным», поскольку он быстро реагирует на изменения ценового импульса. Быстродвижущийся характер этого осциллятора помогает трейдерам получать ранние сигналы для потенциальных точек входа или выхода из рынка.
Осциллятор Momentum анализирует текущую цену по сравнению с предыдущей ценой и добавляет два дополнительных уровня анализа: «Движения покупки и продажи» и «Экстремумы».
Движения покупки и продажи: этот слой осциллятора помогает определить давление покупателей и продавцов на рынке. Это может предоставить трейдерам ценную информацию о возможном направлении будущих движений цен. Когда существует высокое давление покупателей (спрос), цена имеет тенденцию расти, а когда существует высокое давление продавцов (предложение), цена имеет тенденцию падать.
Экстремумы: этот слой помогает определить экстремальные условия перекупленности или перепроданности. Когда осциллятор входит в зону перекупленности, это может указывать на то, что цена достигла максимума и потенциально может развернуться. И наоборот, если осциллятор входит в зону перепроданности, это может указывать на то, что цена находится на минимуме и потенциально может отскочить.
Пример использования Momentum
Momentum — это чувствительный и быстро движущийся осциллятор, который быстро адаптируется к изменениям цен, отслеживая при этом долгосрочный импульс, что облегчает обнаружение возможностей покупки или продажи в трендах.
-Difference Momentum
Волна Momentum описанная выше, состоит из двух кривых объединенных в ленту. Difference Momentum, показывает пересечение этих волн. Difference Momentum является важным компонентом набора инструментов. Он учитывает как направление, так и динамику рыночных тенденций. Волны внутри этой системы быстрые и отзывчивые, действуют независимо и предлагают наиболее подходящую информацию в наиболее подходящие моменты. Их быстрое время реагирования гарантирует, что трейдеры получают своевременную информацию, что очень важно в быстро меняющемся и динамичном мире торговли.
Пример использования Difference Momentum.
Difference Momentum способен определять развороты и откаты тренда, позволяя трейдерам входить или выходить из сделок в оптимальные моменты.
Движение кривой индикатора с отрицательных значений в положительные (снизу вверх) для Long и движение кривой с положительных значений в отрицательные (сверху вниз) для Short. А также пересечение центральной линии канала индикатора (значение "0") в одну или в другую сторону. Значения можно наблюдать в строке статуса.
-StochRSI
StochRSI это тип осциллятора импульса, который обычно используется в техническом анализе для прогнозирования движения цен. Как следует из названия, это расширенная форма традиционного индекса относительной силы (RSI), которая предоставляет трейдерам более своевременные сигналы для входа и выхода из рынка.
StochRSI работает по аналогичным принципам, но предназначен для предоставления сигналов, опережающих традиционный RSI. Это достигается за счет более сложного математического моделирования и расчетов, целью которых является выявление изменений в динамике рынка до того, как они произойдут. Он учитывает не только текущее ценовое действие, но также учитывает исторические данные таким образом, чтобы можно было предвидеть изменения в направлениях тренда.
Пример использования StochRSI
StochRSI — это расширенная версия традиционного индекса относительной силы, предлагающая рыночные условия перекупленности или перепроданности.
Волна осциллятора меняет цвет с зеленого на красный. Где зеленый цвет служит приоритетом для позиций Long, а красный цвет приоритетом для позиций Short. Значение в зоне "80" и выше показывают перекупленность актива, а значение в зоне "20" и ниже, показывают перепроданность актива. Значения можно наблюдать в строке статуса.
-Money Flow Index (MFI)
Money Flow Index (MFI) или Индекс денежного потока, — индикатор из группы осцилляторов. Он отражает интенсивность, с которой денежные средства вкладываются в финансовый актив и выводятся из него. По сути, измеряет давление продавцов и покупателей. Осциллятор высчитывает входящие и выходящие денежные потоки.
Money Flow Index помогает трейдерам проанализировать положительные и отрицательные потоки денег и сравнить эти данные с ценой, что в свою очередь позволяет лучше видеть силу тренда и разворотные моменты.
Пример использования Money Flow Index (MFI)
Переход волн из серого цвета в голубой означает, что деньги входят в актив, а наоборот из голубого цвета в серый означает, что деньги из актива выходят. Отсюда следует вывод, что когда деньги входят в актив, он дорожает, а когда деньги выходят из актива, то он дешевеет. Намек на это движение, дает трейдеру дополнительное подтверждение полученного сигнала. Полоса в верхней части индикатора, дублирует движение волн Money Flow Index (MFI) для точности визуализации этих переходов. При этом, когда волна находится в голубом цвете (Long), то приоритетней считаются покупки, а когда волна находится в сером цвете (Short), то приоритетней считаются продажи.
-Trend Score WMA
Индикатор Trend Score WMA - это индикатор использующий взвешенную скользящую среднюю (WMA). При расчете каждой свече присваивается свой вес, который рассчитывается в зависимости от выбранного периода. Индикатор быстро реагирует на изменения рынка. Trend Score WMA хорошо подходит для быстрой торговли в течение дня или нескольких дней.
Кривая индикатора напоминает ломаную линию, направленную вверх или вниз, в зоны голубого цвета (Long) наверху и серого цвета (Short) внизу. Максимальными значениями индикатора являются 83 и -83.
Пример использования Trend Score WMA
Это индикатор направленности тренда. Движение кривой индикатора показывает движение тенденции в реальном времени. Кривая индикатора двигается снизу вверх, от серой зоны Short в голубую зону Long и сверху вниз, от голубой зоны Long до серой зоны Short. Стоит также учесть, что нахождение волны в максимальных значениях зон, как Long так и Short, может означать продолжение более сильных движений тенденции.
-Signals
Indexrate Code В(i), показывает направления движения цены, сломы тренда, зоны перекупленности и перепроданности актива и создает соответствующие сигналы.
Когда волны Momentum пересекаются, волна Difference Momentum пересекает нулевую отметку в строке статуса и центр границы канала (белые линии на индикаторе имеющие значение 60 и -60), появляется сигнал в виде столба соответствующего цвета (голубой - Long, серый - Short), а также появляется крест соответствующего цвета.
Когда Волны Momentum пересекаются и одновременно переходят границу канала в значении 60 или -60, появляется квадрат соответствующего цвета. Это может означать более сильные движения цены.
Если волны Momentum двигаются от высоких пиков к более низким, это тоже служит сигналам к изменению движения цены.
При этом работе с индикатором Indexrate Code В(i), необходимо учитывать совокупность показателей других индикаторов и осцилляторов для подтверждения сигналов индикатора, как показано в их примерах.
Комплект алгоритмов Indexrate Code, подходит консервативным трейдерам, оценивающим свой успех в долгосрочном перспективе, а не в краткосрочной сверх прибыли.
ВАЖНО ЗНАТЬ, что ни один индикатор не способен на 100% предсказать успешную сделку.
Рынок - это совокупность людей. Именно благодаря психологии людей, формирующей силы спроса и предложения, существуют финансовые рынки (Теория Чарльза Доу).
Прогнозирование на основе анализа математических алгоритмов (индикаторов), использует данные прошлых торгов - цену предыдущего периода времени и объем предыдущих торгов. Именно эти два показателя и используются современным техническим анализом.
В основе Комплекта алгоритмов Indexrate Code, лежат алгоритмы оценивающие тенденции, цены и показатели объема. А также психология людей, которая требует оценки точных предшествующих периодов для конкретного таймфрейма, а не оценка всего периода с момента листинга торгового инструмента на конкретной бирже. Так как показатели рынка полностью изменяются на всем торговом периоде и также меняется биржевой объем торгов.
Все обновления Комплекта алгоритмов Indexrate Code, будут бесплатны.
Трейдинг - это торговля на вероятностях. Инвестиции - это торговля на возможностях. Никто не знает будущего - Всегда защищайте свою прибыль.