MSTR mNAV indicatorTrack and compute MicroStrategy's mNAV (EV divided by BTC reserve value) over time.
- compute method: www.strategy.com
- data source: www.strategy.com
指標和策略
Institutional Trend & Liquidity Nexus [Pro]Concept & Methodology
The core philosophy of this script is "Confluence Filtering." It does not simply overlay indicators; it forces them to work together. A signal is only valid if it aligns with the macro trend and liquidity structure.
Key Components:
Trend Engine: Uses a combination of EMA (7/21) for fast entries and SMA (200) for macro trend direction. The script includes a logical filter that invalidates Buy signals below the SMA 200 to prevent counter-trend trading.
Liquidity Imbalance (FVG): Automatically detects Fair Value Gaps to identify areas where price is likely to react. Unlike standalone FVG scripts, this module is visually optimized to show support/resistance zones without obscuring price action.
Smart Confluence Zones (Originality):
The script calculates a background "State" based on multiple factors.
Bullish Zone (Green Background): Triggers ONLY when Price > SMA 200 AND RSI > 50 AND Price > Baseline EMA.
Bearish Zone (Red Background): Triggers ONLY when Price < SMA 200 AND RSI < 50 AND Price < Baseline EMA.
This visual aid helps traders stay out of choppy markets and only focus when momentum and trend are aligned.
█ How to Use
Entry: Wait for a "Triangle" signal (Buy/Sell).
Validation: Check the Background Color. Is it highlighting a Confluence Zone?
Example: A Buy Signal inside a Green Confluence Zone is a high-probability setup.
Example: A Buy Signal with no background color suggests weak momentum and should be taken with caution.
Targets: Use the plotted FVG boxes as potential take-profit targets or re-entry zones.
BTC vs Russell2000Description
The BTC vs Russell2000 – Weekly Cycle Map compares Bitcoin’s performance against the Russell 2000 (IWM) to identify long-term risk-on and risk-off market regimes.
The indicator calculates the BTC/RUT ratio on a weekly timeframe and applies a moving average filter to highlight macro momentum shifts.
White line: BTC/RUT ratio (Bitcoin relative strength vs small-cap equities)
Yellow line: Weekly SMA of the ratio (trend filter)
Green background: BTC outperforming → macro bull regime
Red background: Russell 2000 outperforming → macro bear regime
Halving markers: Visual reference points for Bitcoin market cycles
This tool is designed to help traders understand capital rotation between crypto and traditional markets, improve timing of macro entries, and visualize where Bitcoin stands within its broader cycle.
Manual Zones SafeUse cases:
Support and resistance levels
Supply and demand zones
Price action areas for manual trading strategies
Crypto Market Pulse: Dom vs Vol AnalyzerConcept & Methodology
The core logic of this indicator is based on the "Money Flow" theory. It aggregates data from multiple sources (CRYPTOCAP:TOTAL, BTC.D, BINANCE:BTCUSDT) to provide a comprehensive market overview in a single panel.
Key Calculations:
Total Market Cap & Volume: Fetches real-time data to determine the overall health of the market.
Inverse Dominance Logic: Unlike standard indicators, this script applies inverse color coding to Bitcoin Dominance (BTC.D).
When BTC Dominance drops, it is colored Green (indicating liquidity flowing into Altcoins).
When BTC Dominance rises, it is colored Red (indicating risk for Altcoins).
Volume Delta: Compares the current timeframe's volume against the previous candle to calculate the percentage change, highlighting sudden liquidity injections.
█ Features
Real-time Dashboard: Displays Cap, Volume, BTC Price, and BTC Dominance.
Altcoin-Focus Coloring: Automatically interprets data to favor Altcoin traders (Green Signals = Good for Alts).
Dynamic Alerts:
Volume Surge Alert: Triggers when volume exceeds a user-defined threshold (default +50%), signaling potential breakout activity.
Dominance Drop Alert: Triggers when BTC Dominance falls significantly, signaling the start of potential Altcoin movement.
█ How to Use
Look for Confluence: The ideal "Altseason" signal is when the Total Cap is Green (Market up) AND BTC Dominance is Green (Dominance down). This indicates money is moving from BTC to Alts.
Volume Confirmation: Use the Volume row to confirm the strength of the move. A price rise without volume is often a fakeout.
Customization: You can adjust the table position and text size from the settings menu to fit your screen setup.
HTF Frequency Zone [BigBeluga]🔵 OVERVIEW
HTF Frequency Zone highlights the dominant price level (Point of Control) and the full high–low expansion of any higher timeframe — Daily, Weekly, or Monthly. It captures the frequency of closes inside each HTF candle and plots the most traded “frequency zone”, allowing traders to easily see where price spent the most time and where buy/sell pressure accumulated.
This tool transforms each higher-timeframe bar into a fully visualized structure:
• Top = HTF high
• Bottom = HTF low
• Midline = HTF Frequency POC
• Color-coded zones = bullish or bearish bias
• Labels = counts of bullish and bearish candles inside the HTF range
It is designed to give traders an immediate understanding of high-timeframe balance, imbalance, and price attraction zones.
🔵 CONCEPTS
HTF Partitioning — Each Weekly/Daily/Monthly candle is converted into a dedicated zone with its own High, Low, and Frequency Point of Control.
Frequency POC (Most Touched Price) — The indicator divides the HTF range into 100 bins and counts how many times price closed near each level.
Dominant Zone — The level with the highest frequency becomes the HTF “Value Zone,” plotted as a bold central line.
Directional Bias —
• Bullish HTF zone
• Bearish HTF zone
Internal Candle Counting — Within each HTF period the indicator counts:
• Buy candles (close > open)
• Sell candles (close < open)
This reveals whether intraperiod flow was bullish or bearish.
HTF Structure Blocks — High, Low, and POC are connected across the entire higher-timeframe duration, showing the real shape of HTF balance.
🔵 FEATURES
Automatic HTF Zone Construction — Generates a complete price zone every time the selected timeframe flips (Daily / Weekly / Monthly).
Dynamic High & Low Extraction — The indicator scans every bar inside the HTF window to find true extremes of the range.
100-Level Frequency Scan — Each close within the period is assigned to a bin, creating a detailed distribution of price interaction.
HTF POC Highlighting — The most frequent price level is plotted with a bold red line for immediate visual clarity.
Bull/Bear Coloring —
• Green → Bullish HTF zone.
• Orange → Bearish HTF zone.
Zone Shading — High–Low range is filled with a semi-transparent color matching trend direction.
Buy/Sell Candle Counters — Printed at the top and bottom of each HTF block, showing how many internal candles were bullish or bearish.
POC Label — Displays frequency count (how many touches) at the POC level.
Adaptive Threshold Warning — If bars inside the HTF window are too few (<10), the indicator warns the trader to switch timeframe.
🔵 HOW TO USE
Higher-Timeframe Biasing — Read the zone color to determine if the HTF candle leaned bullish or bearish.
Value Zone Reactions — Price often reacts to the Frequency POC; use it as support/resistance or liquidity magnet.
Range Context — Identify when price is trading near HTF highs (breakout potential) or lows (reversal potential).
Momentum Evaluation — More bullish internal candles = internal buying pressure; more bearish = internal selling pressure.
Swing Trading — Use HTF zones as the “macro map,” then execute trades on lower timeframes aligned with the zone structure.
Liquidity Awareness — The HTF POC often aligns with algorithmic liquidity levels, making it a strong reaction point.
🔵 CONCLUSION
HTF Frequency Zone transforms raw higher-timeframe candles into detailed distribution zones that reveal true market behavior inside the HTF structure. By showing highs, lows, buying/selling activity, and the most interacted price level (Frequency POC), this tool becomes invaluable for traders who want to align executions with powerful HTF levels, liquidity magnets, and structural zones.
GMMA + RVOL Hariss 369GMMA + RVOL Trend Strategy
This indicator combines Guppy Multiple Moving Averages (GMMA) with Relative Volume (RVOL) to identify high-probability trend continuation entries.
GMMA uses two groups of EMAs—short-term (3–15) and long-term (30–60).
When the short-term group stays above the long-term group, it indicates a bullish trend.
When short-term EMAs stay below the long-term group, the market is in a bearish trend.
To avoid weak and low-volume signals, the strategy uses RVOL. A trade signal only appears when volume is stronger than average, confirming participation from market players.
✔ Buy Signal
Short-term GMMA above long-term GMMA (bull trend)
RVOL > threshold
Price above short GMMA average
Shows only long SL and TP based on ATR
✔ Sell Signal
Short GMMA below long GMMA (bear trend)
RVOL > threshold
Price below short GMMA average
Shows only short SL and TP based on ATR
ATR-based stop-loss and take-profit levels help identify realistic volatility-adjusted exit zones while keeping the chart clean by displaying only the relevant SL/TP depending on market direction.
Further, background color has been given for clear visibility of market trend. One can use this indicator for any class of asset and in any time frame.
This indicator is for education purpose.
Magic Moving AveragesThis indicator plots up to three adaptive “Magic MAs” plus a weighted combo line, with optional traditional SMAs for comparison.
Instead of averaging only closes, each Magic MA:
looks at the midpoints of highs/lows and opens/closes
decides whether recent behaviour favours the highs or the lows
builds a series of either highs or lows, then smooths it over your chosen length
You can run:
Short / Medium / Long Magic MAs
A weighted combo line (using 1–10 weights)
Optional traditional short/long SMAs on close
How I use it:
Price above the combo line → bullish bias
Price below the combo line → bearish bias
Short/medium/long Magic MAs together → dynamic support/resistance and trend structure
Traditional SMAs on for comparison with “classic” moving average behaviour
Inputs:
Magic MA lengths control how reactive vs smooth each regime is
Weights (1–10) let you emphasise short, medium or long regimes in the combo
This is a free / educational version of the Magic MAs.
It’s not financial advice – always manage your own risk.
Profitable Pair Correlation Divergence Scanner v6This strategy identifies divergence opportunities between two correlated assets using a combination of Z-Score spread analysis, trend confirmation, RSI & MACD momentum checks, correlation filters, and ATR-based stop-loss/take-profit management. It’s optimized for positive P&L and realistic trade execution.
Key Features:
Pair Divergence Detection:
Measures deviation between returns of two assets and identifies overbought/oversold spread conditions using Z-Score.
Trend Alignment:
Trades only in the direction of the primary asset’s trend using a fast EMA vs slow EMA filter.
Momentum Confirmation:
Confirms trades with RSI and MACD to reduce false signals.
Correlation Filter:
Ensures the pair is strongly correlated before taking trades, avoiding noisy signals.
Risk Management:
Dynamic ATR-based stop-loss and take-profit ensures proper reward-to-risk ratio.
Exit Conditions:
Automatically closes positions when Z-Score normalizes, or ATR-based exits are hit.
How It Works:
Calculate Returns:
Computes returns for both assets over the selected timeframe.
Z-Score Spread:
Calculates the spread between returns and normalizes it using moving average and standard deviation.
Trend Filter:
Only takes long trades if the fast EMA is above the slow EMA, and short trades if the fast EMA is below the slow EMA.
Momentum Confirmation:
Confirms trade direction with RSI (>50 for longs, <50 for shorts) and MACD alignment.
Correlation Check:
Ensures the pair’s recent correlation is strong enough to validate divergence signals.
Trade Execution:
Opens positions when Z-Score crosses thresholds and all conditions align. Positions close when Z-Score normalizes or ATR-based SL/TP is hit.
Plot Explanation:
Z-Score: Blue line shows divergence magnitude.
Entry Levels: Red/Green lines mark long/short thresholds.
Exit Zone: Gray lines show normalization zone.
EMA Trend Lines: Purple (fast), Orange (slow) for trend alignment.
Correlation: Teal overlay shows current correlation strength.
Usage Tips:
Use highly correlated pairs for best results (e.g., EURUSD/GBPUSD).
Run on higher timeframe charts (1h or 4h) to reduce noise.
Adjust ATR multiplier based on volatility to avoid premature stops.
Combine with alerts for automated notifications or webhook execution.
Conclusion:
The Profitable Pair Correlation Divergence Scanner v6 is designed for traders who want systematic, low-risk, positive P&L trading opportunities with minimal manual monitoring. By combining trend alignment, momentum confirmation, correlation filters, and dynamic exits, it reduces false signals and improves execution reliability.
Run it on TradingView and watch how it captures divergence opportunities while maintaining positive P&L across trades.
specific breakout FiFTOStrategy Description: 10:14 Breakout Only
Overview This is a time-based intraday trading strategy designed to capture momentum bursts that occur specifically after the 10:14 AM candle closes. It operates on the logic that if price breaks the high of this specific candle within a short window, a trend continuation is likely.
Core Logic & Rules
The Setup Candle (10:14 AM)
The strategy waits specifically for the minute candle at 10:14 to complete.
Once this candle closes, the strategy records its High price.
Defining the Entry Level
It calculates a trigger price by taking the 10:14 High and adding a user-defined Buffer (e.g., +1 point).
Formula: Entry Level = 10:14 High + Buffer
The "Active Window" (Expiry)
The trade setup does not remain open all day. It has a strict time limit.
By default, the setup is valid from 10:15 to 10:20.
If the price does not break the Entry Level by the expiry time (default 10:20), the setup is cancelled and no trade is taken for the day.
Entry Trigger
If a candle closes above the Entry Level while the window is open, a Long (Buy) position is opened immediately.
Exits (Risk Management)
Stop Loss: A fixed number of points below the entry price.
Target: A fixed number of points above the entry price.
Visual & Automation Features
Visual Boxes: Upon entry, the strategy draws a "Long Position" style visual on the chart. A green box highlights the profit zone, and a red box highlights the loss zone. These boxes extend automatically until the trade closes.
JSON Alerts: The strategy is pre-configured to send data-rich alerts for automation (e.g., Telegram bots).
Entry Alert: Includes Symbol, Entry Price, SL, and TP.
Exit Alerts: Specific messages for "Target Hit" or "SL Hit".
Summary of User Inputs
Entry Buffer: Extra points added to the high to filter false breaks.
Fixed Stop Loss: Risk per trade in points.
Fixed Target: Reward per trade in points.
Expiry Minute: The minute (10:xx) at which the setup becomes invalid if not triggered.
52 Week High LowPurpose
This indicator plots the rolling **52-week high and low price levels** to highlight long-term breakout zones, major support/resistance bands, and trend structure used by position and swing traders.
## How It Works
The script dynamically calculates:
- The highest high over the last ~260 trading sessions (52-week high)
- The lowest low over the last ~260 trading sessions (52-week low)
- Visual bands that update in real time as price evolves
## Best Timeframe
Optimized for **daily charts** to reflect true yearly price ranges.
Can be adapted to other timeframes using the bar-count inputs.
## Trading Applications
✅ Breakout confirmation tool
✅ Long-term trend validation
✅ Relative strength filter alignment
✅ RRG and momentum cross-checks
✅ Swing trade zone identification
## How To Use
1. Apply to daily charts.
2. Track price interaction with the 52-week bands.
3. Look for:
- Breakouts above the high band for trend continuation
- Pullbacks toward the high band for retest entries
- Rejections at the low band as breakdown confirmation
⚠️ This indicator maps key price structure — it does **not predict directional outcomes**.
Always combine with volume or momentum confirmation.
---
## Mathematical Basis
Rolling extreme calculations based on:
- **Highest high over N bars**
- **Lowest low over N bars**
N defaults to **52 weeks × 5 sessions = 260 bars** for daily charts.
---
Developed for professional retail traders seeking institutional-grade structural tools.
CloudScore by ExitAnt📘 CloudScore by ExitAnt
CloudScore by ExitAnt 는 일목균형표(Ichimoku Cloud)의 구름대 돌파 신호를 기반으로,
다양한 추세 보조지표를 결합하여 매수 추세 강도를 점수화(0~5점) 해주는 트렌드 분석 지표입니다.
기존 일목구름 단독 신호는 변동성이 크거나 신뢰도가 낮을 수 있기 때문에,
이 지표는 여러 기술적 요소를 종합적으로 평가하여
“지금이 얼마나 강력한 추세 전환 구간인가?” 를 직관적으로 보여줍니다.
🎯 지표 목적
일목균형표 구름 돌파의 신뢰도 강화
보조지표 신호를 자동으로 점수화하여 한눈에 판단 가능
캔들 위에 이모지를 배치해 시각적으로 즉시 해석 가능
초보자부터 숙련자까지 모두 활용 가능한 추세 진입 필터링 도구
🧠 점수 계산 방식 (0~5점)
구름 상향 돌파가 발생하면 아래 조건들을 체크하여 점수를 부여합니다.
▶ +1점 조건 항목
1. 골든 크로스 발생
* 최근 설정한 n봉 이내에서 Fast MA가 Slow MA를 상향 돌파한 경우
2. RSI 과매도 구간
* RSI가 설정 값 이하일 때 추세 전환 가능성이 증가
3. MACD 강세 전환
* MACD가 0 아래에 있으면서 시그널선 상향 돌파 발생
4. RSI 상승 다이버전스
* 가격은 낮아지지만 RSI는 상승 → 바닥 신호
5. 200MA 위에 위치
* 장기 추세와 일치하는 시점만 점수 강화
▶ 점수별 이모지
1점 🟡 : 약한 진입 신호
2점 🟢 : 관찰이 필요한 강화 신호
3점 📈 : 추세 전환 가능성 증가
4점 🚀 : 강한 추세 신호
5점 👑 : 매우 강력한 진입 시그널
🖥 차트 표시 요소
구름대(Span A / Span B)만 표시하여 더 깔끔한 시각화
이모지는 캔들 위에 자동 배치
필요 시 최근 n개의 캔들만 표시하도록 설정 가능
오른쪽 상단에 조건 요약 안내창 표시
🔧 사용자 설정
Tenkan / Kijun / SenkouB 기간 조정
MA, RSI, MACD, 다이버전스 사용 여부 선택
최근 몇 개의 캔들까지 점수를 표시할지 설정 가능
이모지는 사용자 취향에 따라 변경 가능
⚠️ 유의사항
본 지표는 **가격 움직임의 확률적 해석을 돕는 보조지표**이며, 단독으로 매수·매도 결정을 내려서는 안 됩니다.
시장 상황(변동성, 거래량, 프레임)에 따라 신호의 신뢰도는 달라질 수 있습니다.
실제 매매 전략에 적용하기 전 반드시 백테스트와 검증이 필요합니다.
# **📘 CloudScore by ExitAnt — English Description**
📘 CloudScore by ExitAnt
CloudScore by ExitAnt is a trend analysis indicator that evaluates bullish trend strength by scoring (0–5 points) signals based on Ichimoku Cloud breakouts combined with multiple momentum and trend indicators.
Since the default Ichimoku Cloud breakout alone can be unreliable or highly volatile, this indicator integrates several technical conditions to visually and intuitively show
“How strong is the current trend reversal opportunity?”
🎯 Purpose of the Indicator
Enhance the reliability of Ichimoku Cloud breakout signals
Automatically score multiple signals for quick visual judgment
Place emojis directly above candles for instant interpretation
Works for both beginners and experienced traders as a trend-entry filtering tool
🧠 Scoring Logic (0–5 points)
When a bullish breakout above the cloud occurs, the indicator checks the following conditions and assigns points.
▶ +1 Point Conditions
1. Golden Cross
* Fast MA crosses above Slow MA within the user-defined lookback window
2. RSI Oversold
* RSI below threshold increases the probability of trend reversal
3. MACD Bullish Shift
* MACD is below zero while crossing above the signal line
4. RSI Bullish Divergence
* Price makes a lower low while RSI makes a higher low → potential bottom signal
5. Above the 200MA
* Only scores when price aligns with long-term trend direction
▶ Emoji by Score
1 Point 🟡 : Weak early signal
2 Points 🟢 : Improved setup; watch closely
3 Points 📈 : Decent trend reversal possibility
4 Points 🚀 : Strong trend entry signal
5 Points 👑 : Very strong bullish signal
🖥 Chart Elements
Displays only Span A / Span B to keep the cloud visually clean
Emojis automatically appear above candles
Optionally limit the number of candles displaying signals
Summary box appears in the upper-right corner
🔧 User Settings
Adjustable Tenkan / Kijun / Senkou B periods
Enable/disable MA, RSI, MACD, divergence filters
Set how many recent candles should show the score
Emojis can be customized by the user
⚠️ Disclaimer
This is a technical assistant tool that helps interpret price movement probabilities; it should not be used as a standalone buy/sell signal.
Signal reliability may vary depending on volatility, volume, and timeframe.
Always conduct backtesting and validation before using it in real trading strategies.
Imbalance Heatmap (Free) – pc75A clean, efficient visualisation of liquidity voids, 3-bar imbalances, and price inefficiency zones.
This indicator highlights where the market left gaps in the order flow — areas price often revisits to rebalance.
Imbalances are displayed as stacked horizontal “heatmap strips,” making it easy to see:
Where aggressive buying/selling left a void
Whether multiple voids overlap (stronger zones)
Whether price is likely to return to fill the imbalance
How old a void is (older zones are marked differently)
This is a refined v6 rewrite based on a script I liked, completely modernised with cleaner logic, better performance, and optional labels.
🔍 Features
3-bar liquidity void detection (ICT-style logic)
Bullish imbalance when price displaces upward with no wick overlap
Bearish imbalance for downward displacement
✔ Heatmap-style visualisation
Each imbalance is sliced into multiple thin horizontal bands to create a visual density effect.
✔ Stacking intelligence
If a new void overlaps previous ones, the heatmap is drawn brighter, showing areas where the market left multiple inefficiencies.
✔ “Void xN” labels
Optional labels show how many overlapping voids existed at the moment the imbalance formed.
✔ Automatic deletion when filled
As soon as price trades back through a slice, that slice is removed.
This keeps the chart clean and focuses only on active inefficiencies.
✔ Smart ageing
Older voids are marked with a subtle border so you can distinguish freshly formed inefficiencies from historical ones.
✔ Alerts
Set alerts for when price taps a stacked imbalance zone (“Void x2” and above).
⚙ Inputs & Customisation
ATR threshold (optional)
Minimum tick size gap
Number of heatmap slices
Bullish / bearish toggles
Label toggles
Colour and transparency configuration
Max slice memory for performance
💡 How to Use
Imbalance zones often behave as:
Magnets → price gravitates toward them
Support/resistance → structure respects inefficiencies
Continuity points → used with market structure shifts
Targets → for both scalpers and swing traders
Strong (stacked) voids typically represent areas of institutional displacement, where the market is more likely to return for rebalancing.
📢 Notes
This is the free version.
Educational only — not financial advice.
Trading Session IL7 Session-Based Intraday Momentum IndicatorOverview
This indicator is designed to support discretionary traders by highlighting intraday momentum phases based on price behavior and trading session context.
It is intended as a confirmation tool and not as a standalone trading system or automated strategy.
Core Concept
The script combines multiple market observations, including:
- Directional price behavior within the current timeframe
- Structural consistency in recent price movement
- Session-based filtering to focus on periods with higher activity and liquidity
Signals are only displayed when internal conditions align, helping traders avoid low-quality setups during sideways or low-momentum market phases.
How to Use
This indicator should be used to confirm existing trade ideas rather than generate trades on its own.
It can help traders:
- Identify periods where momentum is more likely to continue
- Filter out trades during unfavorable market conditions
- Align intraday execution with higher-timeframe bias
Best results are achieved when used alongside key price levels, higher-timeframe structure and proper risk management.
Limitations
This indicator does not predict future price movements.
Signals may change during active candles.
Market conditions may reduce effectiveness during extremely low volatility periods.
Language Notice
The indicator’s user interface labels are displayed in German.
This English description is provided first to comply with TradingView community script publishing rules.
BTC Trend Regime Heatmap (50/200 EMA) by FlyingOceanTigerThis is a simple BTC trend regime heatmap built on the 50 EMA and 200 EMA.
Price can only be in one of three zones:
• Strong uptrend: close above the 50 EMA (bright green background).
• Middle / neutral zone: close between the 50 and 200 EMAs (gold background).
• Deep drawdown: close below the 200 EMA (red background).
I’m not using it as a signal generator, just as a daily “where are we in the bigger picture?” dashboard.
How it works:
• Calculates 50 EMA (short-term trend) and 200 EMA (long-term trend).
• Classifies each bar as strong trend, middle zone, or deep drawdown based on where price closes relative to the EMAs.
• Requires N consecutive closes in a zone (Confirm Bars) before changing color, to avoid 1-bar flips and noise.
• Colors only one background per bar so the regimes are easy to read at a glance.
How I use it on BTC 1D:
• Strong uptrend (green): manage existing longs and avoid FOMO chasing every candle.
• Middle / neutral zone (gold): slow down, study how price behaves here, and look for my own entries on lower timeframes.
• Deep drawdown (red): mostly watch and wait instead of forcing trades into weakness.
Default settings:
• Timeframe: 1D
• Fast EMA: 50
• Slow EMA: 200
• Confirm Bars: 2 (increase this if you want slower, more “stable” regime changes)
Try it on BTC, ETH, SOL, or your favorite majors and see how your behavior changes when you respect the regimes instead of guessing where you are in the cycle.
Feel free to fork the script, change the colors, or add your own rules. If you build a variation you like, drop it in the comments so I can check it out.
Not financial advice.
n-Day Stock Return with MAs and SlopesThis indicator calculates the n-day percentage return of a stock and visualizes it either as a histogram or line, with optional moving averages (MA1 and MA2) of the return and their slopes. The script highlights trend changes in the slopes of these moving averages by drawing colored horizontal markers at each reversal point—green for upward slope shifts, red for downward shifts, and gray when the slope turns flat—allowing users to quickly identify strengthening, weakening, or neutral return trends over time. It also includes optional slope plots for additional trend context and a zero reference line for distinguishing positive and negative performance.
Session VWAPs [cryptalent]This indicator provides a more granular and timely analysis of market structure compared to traditional daily Volume Weighted Average Price (VWAP). It splits the 24-hour trading day into four distinct, customizable sessions (T1, T2, T3, T4), calculating an independent Session VWAP and Standard Deviation Bands for each segment.
🌟 Key Features and Functionality
1. Segmented VWAP Calculation
Purpose: To track the true Volume Weighted Average Price (Fair Value) specific to the participants and trading activities within different global market sessions (e.g., Asian, European, US sessions).
Design: By default, the 24 hours (based on UTC time) are divided into T1 (00:00-06:00), T2 (06:00-12:00), T3 (12:00-20:00), and T4 (20:00-00:00).
Mechanism: The VWAP calculation resets at the start of each designated session, offering a clearer, segment-specific view of market consensus and volume absorption.
2. Standard Deviation Bands
Calculation: Each Session VWAP line is accompanied by upper and lower standard deviation bands.
Control: The width of these bands is controlled by the user input "Band Multiplier" (default is 1.0, representing one standard deviation).
Application: These bands measure the Volume-Weighted Volatility and define the expected "normal" trading range for the current session.
- Price within the bands suggests consolidation or a normal auction process.
- Price breaking out of the bands indicates strong directional momentum or an extreme/overbought/oversold condition for that specific session.
3. High Customization (User Inputs)
Session Timing: All four session start and end times (in UTC) are customizable, allowing traders to align the indicator with specific market hours or individual trading strategies.
Price Source: The source price used for the VWAP calculation is selectable (default is close).
💡 Trading Applications
1. Fair Value Identification: The VWAP line serves as the "Fair Value" or "Volume-Weighted Consensus Cost" for the active session.
Price above VWAP: Buyers are in control during that session.
Price below VWAP: Sellers are in control during that session.
2. Dynamic Support & Resistance: Both the VWAP and the Standard Deviation Bands often act as reliable dynamic support and resistance levels.
3. Volatility Assessment: The width of the bands reflects the volume-weighted volatility of the current session. Narrow bands suggest range-bound trading; wide bands imply strong directional activity.
4. Trend Strength: Sustained price action outside of the standard deviation bands is a key measure of the strength and commitment behind a current trend.
TomTrades Candle Behavior & Timing + TP + Alertsgreen mean sell red mean buy if prices breaks above green its a buy same for red if price stay below red its a sell white line is hourly trend line
EMA Market Structure [BOSWaves]// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// Join our channel for more free tools: t.me
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © BOSWaves
//@version=6
indicator("EMA Market Structure ", overlay=true, max_lines_count=500, max_labels_count=500, max_boxes_count=500)
// ============================================================================
// Inputs
// ============================================================================
// Ema settings
emaLength = input.int(50, "EMA Length", minval=1, tooltip="Period for the Exponential Moving Average calculation")
emaSource = input.source(close, "EMA Source", tooltip="Price source for EMA calculation (close, open, high, low, etc.)")
colorSmooth = input.int(3, "Color Smoothing", minval=1, group="EMA Style", tooltip="Smoothing period for the EMA color gradient transition")
showEmaGlow = input.bool(true, "EMA Glow Effect", group="EMA Style", tooltip="Display glowing halo effect around the EMA line for enhanced visibility")
// Structure settings
swingLength = input.int(5, "Swing Detection Length", minval=2, group="Structure", tooltip="Number of bars to the left and right to identify swing highs and lows")
swingCooloff = input.int(10, "Swing Marker Cooloff (Bars)", minval=1, group="Structure", tooltip="Minimum number of bars between consecutive swing point markers to reduce visual clutter")
showSwingLines = input.bool(true, "Show Structure Lines", group="Structure", tooltip="Display lines connecting swing highs and swing lows")
showSwingZones = input.bool(true, "Show Structure Zones", group="Structure", tooltip="Display shaded zones between consecutive swing points")
showBOS = input.bool(true, "Show Break of Structure", group="Structure", tooltip="Display BOS labels and stop loss levels when price breaks structure")
bosCooloff = input.int(15, "BOS Cooloff (Bars)", minval=5, maxval=50, group="Structure", tooltip="Minimum number of bars required between consecutive BOS signals to avoid signal spam")
slExtension = input.int(20, "SL Line Extension (Bars)", minval=5, maxval=100, group="Structure", tooltip="Number of bars to extend the stop loss line into the future for visibility")
slBuffer = input.float(0.1, "SL Buffer %", minval=0, maxval=2, step=0.05, group="Structure", tooltip="Additional buffer percentage to add to stop loss level for safety margin")
// Background settings
showBG = input.bool(true, "Show Trend Background", group="EMA Style", tooltip="Display background color based on EMA trend direction")
bgBullColor = input.color(color.new(#00ff88, 96), "Bullish BG", group="EMA Style", tooltip="Background color when EMA is in bullish trend")
bgBearColor = input.color(color.new(#ff3366, 96), "Bearish BG", group="EMA Style", tooltip="Background color when EMA is in bearish trend")
// ============================================================================
// Ema trend filter with gradient color
// ============================================================================
ema = ta.ema(emaSource, emaLength)
// Calculate EMA acceleration for gradient color
emaChange = ema - ema
emaAccel = ta.ema(emaChange, colorSmooth)
// Manual tanh function for normalization
tanh(x) =>
ex = math.exp(2 * x)
(ex - 1) / (ex + 1)
accelNorm = tanh(emaAccel / (ta.atr(14) * 0.01))
// Map normalized accel to hue (60 = green, 120 = yellow/red)
hueRaw = 60 + accelNorm * 60
hue = na(hueRaw ) ? hueRaw : (hueRaw + hueRaw ) / 2
sat = 1.0
val = 1.0
// HSV to RGB conversion
hsv_to_rgb(h, s, v) =>
c = v * s
x = c * (1 - math.abs((h / 60) % 2 - 1))
m = v - c
r = 0.0
g = 0.0
b = 0.0
if (h < 60)
r := c
g := x
b := 0
else if (h < 120)
r := x
g := c
b := 0
else if (h < 180)
r := 0
g := c
b := x
else if (h < 240)
r := 0
g := x
b := c
else if (h < 300)
r := x
g := 0
b := c
else
r := c
g := 0
b := x
color.rgb(int((r + m) * 255), int((g + m) * 255), int((b + m) * 255))
emaColor = hsv_to_rgb(hue, sat, val)
emaTrend = ema > ema ? 1 : ema < ema ? -1 : 0
// EMA with enhanced glow effect using fills
glowOffset = ta.atr(14) * 0.25
emaGlow8 = plot(showEmaGlow ? ema + glowOffset * 8 : na, "EMA Glow 8", color.new(emaColor, 100), 1, display=display.none)
emaGlow7 = plot(showEmaGlow ? ema + glowOffset * 7 : na, "EMA Glow 7", color.new(emaColor, 100), 1, display=display.none)
emaGlow6 = plot(showEmaGlow ? ema + glowOffset * 6 : na, "EMA Glow 6", color.new(emaColor, 100), 1, display=display.none)
emaGlow5 = plot(showEmaGlow ? ema + glowOffset * 5 : na, "EMA Glow 5", color.new(emaColor, 100), 1, display=display.none)
emaGlow4 = plot(showEmaGlow ? ema + glowOffset * 4 : na, "EMA Glow 4", color.new(emaColor, 100), 1, display=display.none)
emaGlow3 = plot(showEmaGlow ? ema + glowOffset * 3 : na, "EMA Glow 3", color.new(emaColor, 100), 1, display=display.none)
emaGlow2 = plot(showEmaGlow ? ema + glowOffset * 2 : na, "EMA Glow 2", color.new(emaColor, 100), 1, display=display.none)
emaGlow1 = plot(showEmaGlow ? ema + glowOffset * 1 : na, "EMA Glow 1", color.new(emaColor, 100), 1, display=display.none)
emaCore = plot(ema, "EMA Core", emaColor, 3)
emaGlow1b = plot(showEmaGlow ? ema - glowOffset * 1 : na, "EMA Glow 1b", color.new(emaColor, 100), 1, display=display.none)
emaGlow2b = plot(showEmaGlow ? ema - glowOffset * 2 : na, "EMA Glow 2b", color.new(emaColor, 100), 1, display=display.none)
emaGlow3b = plot(showEmaGlow ? ema - glowOffset * 3 : na, "EMA Glow 3b", color.new(emaColor, 100), 1, display=display.none)
emaGlow4b = plot(showEmaGlow ? ema - glowOffset * 4 : na, "EMA Glow 4b", color.new(emaColor, 100), 1, display=display.none)
emaGlow5b = plot(showEmaGlow ? ema - glowOffset * 5 : na, "EMA Glow 5b", color.new(emaColor, 100), 1, display=display.none)
emaGlow6b = plot(showEmaGlow ? ema - glowOffset * 6 : na, "EMA Glow 6b", color.new(emaColor, 100), 1, display=display.none)
emaGlow7b = plot(showEmaGlow ? ema - glowOffset * 7 : na, "EMA Glow 7b", color.new(emaColor, 100), 1, display=display.none)
emaGlow8b = plot(showEmaGlow ? ema - glowOffset * 8 : na, "EMA Glow 8b", color.new(emaColor, 100), 1, display=display.none)
// Create glow layers with fills (from outermost to innermost)
fill(emaGlow8, emaGlow7, showEmaGlow ? color.new(emaColor, 97) : na)
fill(emaGlow7, emaGlow6, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow6, emaGlow5, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow5, emaGlow4, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow4, emaGlow3, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow3, emaGlow2, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow2, emaGlow1, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow1, emaCore, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaCore, emaGlow1b, showEmaGlow ? color.new(emaColor, 70) : na)
fill(emaGlow1b, emaGlow2b, showEmaGlow ? color.new(emaColor, 78) : na)
fill(emaGlow2b, emaGlow3b, showEmaGlow ? color.new(emaColor, 83) : na)
fill(emaGlow3b, emaGlow4b, showEmaGlow ? color.new(emaColor, 87) : na)
fill(emaGlow4b, emaGlow5b, showEmaGlow ? color.new(emaColor, 90) : na)
fill(emaGlow5b, emaGlow6b, showEmaGlow ? color.new(emaColor, 93) : na)
fill(emaGlow6b, emaGlow7b, showEmaGlow ? color.new(emaColor, 95) : na)
fill(emaGlow7b, emaGlow8b, showEmaGlow ? color.new(emaColor, 97) : na)
// ============================================================================
// Swing high/low detection
// ============================================================================
// Swing High/Low Detection
swingHigh = ta.pivothigh(high, swingLength, swingLength)
swingLow = ta.pivotlow(low, swingLength, swingLength)
// Cooloff tracking
var int lastSwingHighPlot = na
var int lastSwingLowPlot = na
// Check if cooloff period has passed
canPlotHigh = na(lastSwingHighPlot) or (bar_index - lastSwingHighPlot) >= swingCooloff
canPlotLow = na(lastSwingLowPlot) or (bar_index - lastSwingLowPlot) >= swingCooloff
// Store swing points
var float lastSwingHigh = na
var int lastSwingHighBar = na
var float lastSwingLow = na
var int lastSwingLowBar = na
// Track previous swing for BOS detection
var float prevSwingHigh = na
var float prevSwingLow = na
// Update swing highs with cooloff
if not na(swingHigh) and canPlotHigh
prevSwingHigh := lastSwingHigh
lastSwingHigh := swingHigh
lastSwingHighBar := bar_index - swingLength
lastSwingHighPlot := bar_index
// Update swing lows with cooloff
if not na(swingLow) and canPlotLow
prevSwingLow := lastSwingLow
lastSwingLow := swingLow
lastSwingLowBar := bar_index - swingLength
lastSwingLowPlot := bar_index
// ============================================================================
// Structure lines & zones
// ============================================================================
var line swingHighLine = na
var line swingLowLine = na
var box swingHighZone = na
var box swingLowZone = na
if showSwingLines
// Draw line connecting swing highs with zones
if not na(swingHigh) and canPlotHigh and not na(prevSwingHigh)
if not na(lastSwingHighBar)
line.delete(swingHighLine)
swingHighLine := line.new(lastSwingHighBar, lastSwingHigh, bar_index - swingLength, swingHigh, color=color.new(#ff3366, 0), width=2, style=line.style_solid)
// Create resistance zone
if showSwingZones
box.delete(swingHighZone)
zoneTop = math.max(lastSwingHigh, swingHigh)
zoneBottom = math.min(lastSwingHigh, swingHigh)
swingHighZone := box.new(lastSwingHighBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#ff3366, 80), bgcolor=color.new(#ff3366, 92))
// Draw line connecting swing lows with zones
if not na(swingLow) and canPlotLow and not na(prevSwingLow)
if not na(lastSwingLowBar)
line.delete(swingLowLine)
swingLowLine := line.new(lastSwingLowBar, lastSwingLow, bar_index - swingLength, swingLow, color=color.new(#00ff88, 0), width=2, style=line.style_solid)
// Create support zone
if showSwingZones
box.delete(swingLowZone)
zoneTop = math.max(lastSwingLow, swingLow)
zoneBottom = math.min(lastSwingLow, swingLow)
swingLowZone := box.new(lastSwingLowBar, zoneTop, bar_index - swingLength, zoneBottom, border_color=color.new(#00ff88, 80), bgcolor=color.new(#00ff88, 92))
// ============================================================================
// Break of structure (bos)
// ============================================================================
// Track last BOS bar for cooloff
var int lastBullishBOS = na
var int lastBearishBOS = na
// Check if cooloff period has passed
canPlotBullishBOS = na(lastBullishBOS) or (bar_index - lastBullishBOS) >= bosCooloff
canPlotBearishBOS = na(lastBearishBOS) or (bar_index - lastBearishBOS) >= bosCooloff
// Bullish BOS: Price breaks above previous swing high while EMA is bullish
bullishBOS = showBOS and canPlotBullishBOS and emaTrend == 1 and not na(prevSwingHigh) and close > prevSwingHigh and close <= prevSwingHigh
// Bearish BOS: Price breaks below previous swing low while EMA is bearish
bearishBOS = showBOS and canPlotBearishBOS and emaTrend == -1 and not na(prevSwingLow) and close < prevSwingLow and close >= prevSwingLow
// Update last BOS bars
if bullishBOS
lastBullishBOS := bar_index
if bearishBOS
lastBearishBOS := bar_index
// Plot BOS with enhanced visuals and SL at the candle wick
if bullishBOS
// Calculate SL at the low of the current candle (bottom of wick) with buffer
slLevel = low * (1 - slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, low, "BOS", style=label.style_label_up, color=color.new(#00ff88, 0), textcolor=color.black, size=size.normal, tooltip="Bullish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle low
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#00ff88, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#00ff88, 60), bgcolor=color.new(#00ff88, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#00ff88, 0), textcolor=color.black, size=size.tiny)
if bearishBOS
// Calculate SL at the high of the current candle (top of wick) with buffer
slLevel = high * (1 + slBuffer/100)
// BOS Label with shadow effect
label.new(bar_index, high, "BOS", style=label.style_label_down, color=color.new(#ff3366, 0), textcolor=color.white, size=size.normal, tooltip="Bearish Break of Structure SL: " + str.tostring(slLevel))
// Main SL line at candle high
line.new(bar_index, slLevel, bar_index + slExtension, slLevel, color=color.new(#ff3366, 0), width=2, style=line.style_dashed, extend=extend.none)
// SL zone box for visual emphasis
box.new(bar_index, slLevel + (slLevel * 0.002), bar_index + slExtension, slLevel - (slLevel * 0.002), border_color=color.new(#ff3366, 60), bgcolor=color.new(#ff3366, 85))
// S/R label
label.new(bar_index + slExtension, slLevel, "S/R", style=label.style_label_left, color=color.new(#ff3366, 0), textcolor=color.white, size=size.tiny)
// ============================================================================
// Dynamic background zones
// ============================================================================
bgcolor(showBG and emaTrend == 1 ? bgBullColor : showBG and emaTrend == -1 ? bgBearColor : na)
// ============================================================================
// Alerts
// ============================================================================
alertcondition(bullishBOS, "Bullish BOS", "Bullish Break of Structure detected!")
alertcondition(bearishBOS, "Bearish BOS", "Bearish Break of Structure detected!")
alertcondition(emaTrend == 1 and emaTrend != 1, "EMA Bullish", "EMA turned bullish")
alertcondition(emaTrend == -1 and emaTrend != -1, "EMA Bearish", "EMA turned bearish")
// ╔════════════════════════════════╗
// ║ Download at ║
// ╚════════════════════════════════╝
// ███████╗██╗███╗ ███╗██████╗ ██╗ ███████╗
// ██╔════╝██║████╗ ████║██╔══██╗██║ ██╔════╝
// ███████╗██║██╔████╔██║██████╔╝██║ █████╗
// ╚════██║██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝
// ███████║██║██║ ╚═╝ ██║██║ ███████╗███████╗
// ╚══════╝╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝
// ███████╗ ██████╗ ██████╗ ███████╗██╗ ██╗
// ██╔════╝██╔═══██╗██╔══██╗██╔════╝╚██╗██╔╝
// █████╗ ██║ ██║██████╔╝█████╗ ╚███╔╝
// ██╔══╝ ██║ ██║██╔══██╗██╔══╝ ██╔██╗
// ██║ ╚██████╔╝██║ ██║███████╗██╔╝ ██╗
// ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
// ████████╗ ██████╗ ██████╗ ██╗ ███████╗
// ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██╔════╝
// ██║ ██║ ██║██║ ██║██║ ███████╗
// ██║ ██║ ██║██║ ██║██║ ╚════██║
// ██║ ╚██████╔╝╚██████╔╝███████╗███████║
// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
// ==========================================================================================
KC/BB Squeeze Scanner (10/20>50 EMA, $10–$500, Vol > 1M)High volume, up trending, and compression occurring.
CRR SELL BOX MICROWhat it analyzes
Multi-TF:
1m, 5m, 15m, 30m (tf1–tf4).
In each timeframe it looks at:
EMA 15 / 30 / 200 → trend.
MACD → momentum.
RSI → strength.
From this it derives:
t1, t2, t3, t4 = +1 bullish, -1 bearish, 0 neutral.
A bearScore = how many TFs are bearish → multiTfBear.
Volatility / momentum:
ATR in pips (atrPips) → checks for sufficient movement (sufAtr).
1m candlestick body in pips → momentumBear1
(large bearish candle + MACD bearish + RSI bearish).
Strong downward candle in ticks (bigDrop) → type of large vertical red candle.
Global sensitivity:
Mode: Normal / High / Turbo
Automatically adjusts:
Minimum drop in ticks,
Minimum candlestick body,
Minimum ATR.
2️⃣ Main Sell Signal
SELL WITHOUT PULLBACK 1m
sellNoPull:
EMA 15 < EMA 30 < EMA 200 (strong bearish trend 1m),
MACD crosses bearish,
Price below EMA30 1m.
Multi-TF Bear
multiTfBear:
Normal Mode: 1m bearish and 5m–15m–30m not bullish,
High/Turbo Mode: at least 2 bearish TFs (bearScore >= 2).
Final condition (what triggers the setup)
Conservative:
condSellConservative = sellNoPull + multiTfBear + sufAtr + momentumBear1
Aggressive:
condSellAggressive = (t1 == -1 or bigDrop) + 15m not bullish + sufAtr
Final:
condSellFinal
If aggressiveMicro = true → uses aggressive logic.
Otherwise → uses conservative logic.
When condSellFinal is true:
It is considered a valid sell setup for scalping / micro. 3️⃣ States it shows you
Depending on what it detects:
🔴 "MICRO SELL 10-20p"
(aggressive mode ON + everything aligned for a quick drop).
🟥 "SCALPING SELL"
(if you're in conservative mode).
🟧 "NORMAL SELL"
(multi-timeframe bearish but without a strong trigger).
⚪ "NEUTRAL (NO SELL)"
(no setup).
Extra info (below the light bulb):
"STRONG DROP" if there's a large red candlestick indicating a sharp decline.
"MULTI TF BEARISH" if several timeframes are bearish.
"NO SETUP" if conditions are not met.
4️⃣ HUD + Session Clock
Compact HUD at the top center:
Row 1: STATUS: MICRO SELL / NORMAL SELL / NEUTRAL.
Row 2: Light bulb ● (red, orange, or gray) + extra info text.
New York Clock:
Detects session: TOKYO / LONDON / NEW YORK
(for trading time context only).
5️⃣ Alerts
When condSellFinal is met, it triggers:
"CRR SCALPING/MICRO SELL - sell signal activated"
🧠 In simple terms:
It's your specialized SELL radar:
It combines multi-timeframe analysis, momentum, ATR, and strong bearish candlesticks to alert you when gold is ready for a quick 10-20 pip short trade or a more serious bearish scalp.
CRR BUY What it analyzes
4 timeframes:
1m, 5m, 15m, and 30m.
In each timeframe it looks at:
EMA 15 / 30 / 200 → trend.
MACD → momentum.
RSI → strength.
From this it derives:
t1, t2, t3, t4 = +1 bullish, -1 bearish, 0 neutral.
A multi-timeframe bullScore (how many timeframes are bullish).
2️⃣ Volatility / momentum filters
ATR in pips → checks if there is enough movement (suffAtr).
1m candlestick body in pips → momentumBull1
(strong bullish candle with bullish MACD + bullish RSI).
Strong upward candle (bigPump) measured in ticks/pips.
Sensitivity mode:
Normal / High / Turbo → loosens or tightens filters for:
Strong candle,
Minimum body,
Minimum ATR.
3️⃣ Buy logic
There are three levels:
condBuyConservative
CLASSIC BUY WITHOUT RETRACEMENT:
Strong 1m trend, bullish MACD crossover, price above EMA30, + 1m momentum, + sufficient ATR, + multi-timeframe bullish.
condBuyAggressive (if using aggressive mode):
It's enough to have:
1m bullish (t1 == 1) or bigPump,
15m not bearish,
Sufficient ATR.
condBuyFinal
If aggressiveMicro = true → uses condBuyAggressive.
Otherwise → uses condBuyConservative.
Based on this, it displays states:
✅ "MICRO BUY 10-20p" (aggressive mode ON and everything aligned)
✅ "SCALPING BUY" (conservative mode with confirmations)
✅ "NORMAL BUY" (multi-timeframe bullish but without a strong trigger)
⛔ "NEUTRAL (NO BUY)" (no setup)
And triggers an alert:
CRR SCALPING BUY when condBuyFinal is met.
4️⃣ HUD and sessions
Detects session by New York time:
TOKYO / LONDON / NEW YORK (different color). Compact HUD at the top center with:
STATUS (buy or neutral text),
Green/teal/gray light bulb icon (●),
Extra info:
"STRONG UPTREND" if there's a big pump,
"MULTI TF BULLISH" if many timeframes are bullish,
"NO SETUP" if there's nothing.
🧠 In simple terms:
It's a BUY ONLY bullish radar for scalping/micro trading, which combines multi-timeframe analysis + momentum + ATR + strong candlestick patterns, summarizes it in a HUD, and sends you an alert when there's a real setup to go long.Qué analiza
4 marcos de tiempo:
1m, 5m, 15m y 30m.
En cada TF mira:
EMA 15 / 30 / 200 → tendencia.
MACD → impulso.
RSI → fuerza.
De ahí saca:
t1, t2, t3, t4 = +1 toro, -1 oso, 0 neutro.
Un bullScore multi–TF (cuántos TF están alcistas).
2️⃣ Filtros de volatilidad / momentum
ATR en pips → comprueba si hay suficiente movimiento (sufAtr).
Cuerpo de la vela 1m en pips → momentumBull1
(vela alcista fuerte con MACD bull + RSI bull).
Vela de subida fuerte (bigPump) medida en ticks/pips.
Modo sensibilidad:
Normal / Alta / Turbo → relaja o endurece filtros de:
Vela fuerte,
Cuerpo mínimo,
ATR mínimo.
3️⃣ Lógica de compra
Hay tres niveles:
condBuyConservador
BUY SIN RETRO clásico:
Tendencia 1m fuerte, cruce MACD bull, precio sobre EMA30, + momentum 1m, + ATR ok, + multi–TF bull.
condBuyAgresivo (si usas modo agresivo):
Basta con:
1m toro (t1 == 1) o bigPump,
15m no bajista,
ATR suficiente.
condBuyFinal
Si aggressiveMicro = true → usa condBuyAgresivo.
Si no → usa condBuyConservador.
Según eso, muestra estados:
✅ "COMPRA MICRO 10-20p" (modo agresivo ON y todo alineado)
✅ "COMPRA SCALPING" (modo conservador con confirmaciones)
✅ "COMPRA NORMAL" (multi–TF alcista pero sin trigger fuerte)
⛔ "NEUTRO (NO COMPRA)" (no hay setup)
Y dispara alerta:
CRR COMPRA SCALPING cuando condBuyFinal se cumple.
4️⃣ HUD y sesiones
Detecta sesión por hora de New York:
TOKIO / LONDRES / NEW YORK (color distinto).
HUD compacto arriba al centro con:
ESTADO (texto de compra o neutro),
Bombillo (●) verde/teal/gris,
Info extra:
"SUBIDA FUERTE" si hay bigPump,
"MULTI TF ALCISTA" si muchos TF están bull,
"SIN SETUP" si no hay nada.
🧠 En simple:
Es un radar de COMPRA SOLO BULL para scalping/micro, que mezcla multi–TF + momentum + ATR + vela fuerte, te lo resume en un HUD y te manda alerta cuando hay setup real para disparar largo.
CRR Nemesis Fear & Greed ProIt measures 4 market indicators:
ATR → volatility.
Relative Volume (rVOL) → whether there is more or less volume than average.
Price distance from the moving average (SMA 50) in ATR → how much the trend has extended.
Candlestick shape → size of the body and wicks (who is dominating, bulls or bears).
It calculates two scores (0–100):
Greed → when:
The candlestick is bullish,
The price is above the SMA 50 (uptrend),
There is a good body, good rVOL, the price is far from the average, high volatility,
A longer upper wick adds a little more.
Fear → when:
The candlestick is bearish,
The price is below the SMA 50 (downtrend),
Similarly: strong body, rVOL, distance from the average, volatility,
A longer lower wick adds a little more.
Both scores are smoothed with a 3-period EMA (greedSmoothed and fearSmoothed).
It determines the overall market sentiment (HUD):
ANGEL (greed dominates):
Greed ≥ 55 and Greed − Fear ≥ 10.
DEVIL (fear dominates):
Fear ≥ 55 and Fear − Greed ≥ 10.
If neither condition is met → NEUTRAL.
HUD on screen (table in the upper right corner):
Displays:
STATUS: ANGEL / DEVIL / NEUTRAL (with color).
FEAR: smoothed fear value.
GREED: smoothed greed value.
🧠 In simple terms:
It's a market sentiment engine: it combines volume, ATR, distance from the trend, and candlestick shape to tell you if the market is experiencing strong fear, strong greed, or is neutral, and displays it clearly in a HUD.






















