Custom MTF EMA CloudsVisualize market structure and trend alignment across multiple timeframes with six layered EMA clouds — from short-term momentum to macro trend anchors.
Each pair of EMAs forms a dynamic cloud that adapts to your selected timeframe.
Colors, lengths, and visibility are fully customizable, allowing you to tailor the setup for any trading style.
⚙️ Default Configuration
EMA Short Long Purpose
1 8 13 🔸 Intraday momentum cloud (scalping layer)
2 21 24 🟩 Short-term trend confirmation
3 50 55 🔵 Medium-term swing structure
4 120 144 🔴 Long-term support/resistance band
5 200 238 🟠 Institutional trend foundation
6 400 460 🟣 Macro directional anchor
🧩 Features
✅ Up to 6 independent EMA clouds
✅ Fully customizable short & long lengths
✅ Individual line and cloud colors
✅ Toggle each layer on/off
✅ Works with any timeframe via the Resolution input
✅ Automatic cloud transparency for better chart clarity
📈 How to Use
Use EMA 1–2 (8/13, 21/24) for momentum shifts and intraday entries.
Use EMA 3–4 (50/55, 120/144) for swing confirmation and trend continuation.
Use EMA 5–6 (200/238, 400/460) as long-term anchors to stay aligned with institutional flow.
Watch for crossovers or price breaking in/out of clouds — they often precede strong directional moves.
Multitimeframe
Smart Weekly Lines — Clean & Scroll-Proof (Pine v6)Because your chart deserves structure. Elegant weekly dividers that stay aligned, scroll smoothly, and project future weeks using your wished UTC offset.
Smart Weekly Lines draws precise, full-height vertical lines marking each new week — perfectly aligned to your local UTC offset. It stays clean, smooth, and consistent no matter how far you scroll.
Features
• Accurate weekly boundaries based on your local UTC offset (supports half-hour zones like India +5.5)
• Clean, full-height lines that never cut off with zoom or scroll
• Adjustable color, opacity, width, and style (solid, dashed, dotted)
• Future week projection for planning and alignment
• Optional visibility: show only on Daily and Intraday charts
Works with any market — stocks, crypto, forex, or futures.
Built for traders who value clarity, structure, and precision.
Developed collaboratively with the assistance of ChatGPT under my direction and testing.
Logit RSI [AdaptiveRSI]The traditional 0–100 RSI scale makes statistical overlays, such as Bollinger Bands or even moving averages, technically invalid. This script solves this issue by placing RSI on an unbounded, continuous scale, enabling these tools to work as intended.
The Logit function takes bounded data, such as RSI values ranging from 0 to 100, and maps them onto an unbounded scale ranging from negative infinity (−∞) to positive infinity (+∞).
An RSI reading of 50 becomes 0 on the Logit scale, indicating a balanced market. Readings above 50 map to positive Logit values (price above Wilder’s EMA / RSI above 50), while readings below 50 map to negative values (price below Wilder’s EMA / RSI below 50).
For the detailed formula, which calculates RSI as a scaled distance from Wilder’s EMA, check the RSI
: alternative derivation script.
The main issue with the 0–100 RSI scale is that different lookback periods produce very different distributions of RSI values. The histograms below illustrate how often RSIs of various lengths spend time within each 5-point range.
On RSI(2), the tallest bars appear at the edges (0–5 and 95–100), meaning short-term RSI spends most of its time at the extremes. For longer lookbacks, the bars cluster around the center and rarely reach 70 or 30.
This behavior makes it difficult to generalize the two most common RSI techniques:
Fixed 70/30 thresholds: These overbought and oversold levels only make sense for short- or mid-range lookbacks (around the low teens). For very short periods, RSI spends most of its time above or below these levels, while for long-term lookbacks, RSI rarely reaches them.
Bollinger Bands (±2 standard deviations): When applied directly to RSI, the bands often extend beyond the 0–100 limits (especially for short-term lookbacks) making them mathematically invalid. While the issue is less visible on longer settings, it remains conceptually incorrect.
To address this, we apply the Logit Transform :
Logit RSI = LN(RSI / (100 − RSI))
The transformed data fits a smooth bell-shaped curve, allowing statistical tools like Bollinger Bands to function properly for the first time.
Why Logit RSI Matters:
Makes RSI statistically consistent across all lookback periods.
Greatly improves the visual clarity of short-term RSIs
Allows proper use of volatility tools (like Bollinger Bands) on RSI.
Replaces arbitrary 70/30 levels with data-driven thresholds.
Simplifies RSI interpretation for both short- and long-term analysis.
INPUTS:
RSI Length — set the RSI lookback period used in calculations.
RSI Type — choose between Regular RSI or Logit RSI .
Plot Bollinger Bands — ON/OFF toggle to overlay statistical envelopes around RSI or Logit RSI.
SMA and Standard Deviation Length — defines the lookback period for both the SMA (Bollinger Bands midline) and Standard Deviation calculations.
Standard Deviation Multiplier — controls the width of the Bollinger Bands (e.g., 2.0 for ±2σ).
While simple, the Logit transformation represents an unexplored yet powerful mathematically grounded improvement to the classic RSI.
It offers traders a structured, intuitive, and statistically consistent way to use RSI across all timeframes.
I welcome your feedback, suggestions, and code improvements—especially regarding performance and efficiency. Your insights are greatly appreciated.
KANNADI MOHANRAJA 2All time frame candle colour green
From day chart, 2h, 1h, 30m, 15m, 5m, 3m charts
Entry
3m (MACD crossover, MACD histogram bar green or above the baseline, Awesome oscilltor above the base line, supertrnd (10, 3) (7,2) up )
Exit
All the above said reverses
Market Trend Indicator MTFJust a small indicator to improve intraday trading. The default setting is kept for Length (Smoothed MA) at 10, Volatility Step Length 10 and Sensitivity Multiplier (Bull/Bear): 0.8 to address market conditions. You may increase Length (Smoothed MA) and Volatility Step Length , or reduce the sensitivity Multiplier accordingly as per the underlying asset and trading pattern of yours. We will keep adding other features on the same indicator to facilitate better intraday trading.
Buy Sell Signals MKSConditions for Buying is Current candle a0 LOW = OPEN, b) Has a smaller wick than the previous cabndle size. Size here means high minus low of previous candle. More importantly Buy signal is genarated if the prious candle or series of candles were red. Condition for Sell signal is completely opposite of Buy signal. Buy signal will appear only after a Sell signal was generated earlier and vice versa for Sell signal. Signals are generated on a 5 minute timeframe. Idea is solely concieived by me.
Disclaimer: Just donot blindly take trades based on signals. Analyse the chart pattern, price action on different time frames of your own...
Bitcoin Buy-the-Dip Line (Auto timeframe switch)Many people ask me when is the right time to buy Bitcoin. However, most of them have little trading experience and no time to study technical strategies or tools.
That’s why I created a simple and intuitive indicator — easy enough for anyone to use.
Usage 1 – Buy the Dip
This indicator works only on 4H, 1D, 1W, and 1M timeframes.
On each timeframe, you will see a single EMA line.
During a bull market, whenever the price dips below this EMA, it usually represents a good opportunity to buy the dip .
Usage 2 – Bull to Bear Transition
On the daily timeframe, if the price stays below the EMA and continues to make lower lows , it often signals that the market is transitioning into a bearish phase .
Time Line Indicator - by LMTime Line Indicator – by LM
Description:
The Time Line Indicator is a simple, clean, and customizable tool designed to visualize specific time periods within each hour directly in a dedicated indicator pane. It allows traders to mark important intraday minute ranges across multiple past hours, providing a clear visual reference for time-based analysis. This indicator is perfect for identifying recurring hourly windows, session patterns, or custom time-based events in your charts.
Unlike traditional overlays, this indicator does not interfere with price candles and draws its lines in a separate pane at the bottom of your chart for clarity.
Key Features:
Custom Hourly Lines:
Draw horizontal lines for a specific minute range within each hour, e.g., from the 45th minute to the 15th minute of the next hour.
Multi-Hour Support:
Choose how many past hours to display. The indicator will replicate the line for each selected hourly period, following the same minute logic.
Automatic Start/End Logic:
If your chosen start minute is in the previous hour, the line correctly begins at that time.
The end minute can cross into the next hour when applicable.
If the selected end minute does not yet exist in the current chart data, the line will extend to the latest available bar.
Dedicated Indicator Pane:
Lines appear in a fixed, non-intrusive y-axis within the indicator pane (overlay=false), keeping your price chart clean.
Customizable Appearance:
Line Color: Choose any color to match your chart theme.
Line Thickness: Adjust the width of the lines for better visibility.
Inputs:
Input Name Type Default Description
Line Color Color Orange The color of the horizontal lines.
Line Thickness Integer 2 The thickness of each line (1–5).
Start Minute Integer 5 The minute within the hour where the line begins (0–59).
End Minute Integer 25 The minute within the hour where the line ends (0–59).
Hours Back Integer 3 Number of past hours to display lines for.
Use Cases:
Intraday Analysis: Quickly visualize recurring minute ranges across multiple hours.
Session Tracking: Mark critical time windows for trading sessions or market events.
Pattern Recognition: Easily identify time-based patterns or setups without cluttering the price chart.
How It Works:
The indicator calculates the nearest bars corresponding to your start and end minutes.
It draws horizontal lines at a fixed y-axis value within the indicator pane.
Lines are drawn for each selected past hour, replicating the chosen minute span.
All logic respects the actual chart data; lines never extend into the future beyond the most recent bar.
Notes:
Overlay is set to false, so lines appear in a dedicated pane below the price chart.
The indicator is fully compatible with any timeframe. Lines adjust automatically to match the chart’s bar spacing.
You can change the number of hours displayed at any time without affecting existing lines.
If you want, I can also draft a shorter “TradingView Store / Public Library description” version under 500 characters for the “Short Description” field — concise and punchy for users scrolling through indicators.
PPI Inflation Monitor (Change YoY & MoM)📊 PPI Inflation Monitor - Leading Inflation Indicator
The Producer Price Index (PPI) measures wholesale/producer-level prices and serves as a critical leading indicator for consumer inflation trends. This tool helps you anticipate CPI movements and identify corporate margin pressures before they show up in earnings.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual producer price inflation
- Month-over-Month (MoM): Line overlay showing monthly wholesale price changes
- Visual Reference System:
- Dashed line at 2% (typical target for producer price inflation)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current PPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from target level
- Automated Alerts:
- YoY crosses above/below target
- MoM crosses above/below target
- Early warning system for inflation trends
📈 WHY PPI IS YOUR EARLY WARNING SYSTEM:
PPI typically leads CPI by 1-3 months because:
- Producers face cost increases first
- These costs are eventually passed to consumers
- Shows whether companies can maintain pricing power
Rising PPI with stable CPI = Margin compression → Bearish for stocks
Rising PPI followed by rising CPI = Broad inflation → Fed hawkishness incoming
Falling PPI = Disinflationary trend starting → Positive for risk assets
🔍 TRADING APPLICATIONS:
1. Lead Time Advantage: Position before CPI confirms PPI trends
2. Sector Rotation: High PPI = favor companies with pricing power
3. Margin Analysis: PPI-CPI divergence = margin pressure/expansion signals
4. Fed Anticipation: PPI acceleration = Fed likely to turn hawkish soon
💡 STRATEGIC USE CASES:
- Value vs. Growth: Rising PPI favors value stocks with pricing power
- Commodities: PPI often correlates with commodity price trends
- Small Caps: More vulnerable to input cost increases (high PPI = cautious)
- Corporate Earnings: Anticipate margin pressure before quarterly reports
🔄 COMBINE WITH:
- CPI: Confirm if producer costs reach consumers
- PCE: Validate Fed's preferred inflation metric response
- Fed Funds Rate: Assess if Fed is behind/ahead of curve
📊 DATA SOURCE:
Official PPI data from FRED (Federal Reserve Economic Data), updated monthly when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust reference target levels
- Customize colors
- Show/hide absolute PPI values
Perfect for: Macro traders, fundamental analysts, earnings traders, and investors seeking early inflation signals before they appear in consumer prices.
⚡ Remember: PPI leads CPI. Use this advantage to position ahead of the crowd.
PCE Inflation Monitor (Change YoY & MoM)📊 PCE Inflation Monitor - The Fed's Most Important Metric
Personal Consumption Expenditures (PCE) is the Federal Reserve's preferred inflation measure and THE metric they target for their 2% inflation goal. If you want to predict Fed policy, you need to watch PCE.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual PCE inflation
- Month-over-Month (MoM): Line overlay showing monthly consumption price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official PCE inflation target)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above Fed target, Green below target
- Real-Time Data Table:
- Current PCE Index value
- YoY inflation rate vs. Fed's 2% target
- MoM inflation rate with color coding
- Exact deviation from Fed target (critical for policy predictions)
- Automated Alerts:
- PCE crosses Fed's 2% target (major policy signal!)
- MoM crosses monthly target
- Stay informed of Fed-relevant inflation changes
📈 WHY PCE IS DIFFERENT (AND MORE IMPORTANT):
PCE vs. CPI differences:
- Flexible basket: PCE adjusts for substitution (beef → chicken if prices rise)
- Broader coverage: Includes healthcare paid by insurance/government
- Lower readings: Typically 0.2-0.4% below CPI
- Fed's choice: Explicitly stated as their target metric
Most importantly: When Powell speaks about "our 2% target," he means PCE, not CPI!
🔍 TRADING IMPLICATIONS:
PCE Above 2% (Red Zone):
→ Fed under pressure to maintain/raise rates
→ Hawkish policy stance likely
→ Negative for growth stocks, crypto
→ Positive for USD, bearish for gold
PCE Below 2% (Green Zone):
→ Fed has flexibility to cut rates
→ Dovish policy stance possible
→ Positive for risk assets, growth stocks
→ Negative for USD, bullish for commodities
PCE Approaching 2% from Above:
→ Fed "mission accomplished" narrative
→ Rate cut cycle becomes possible
→ Major bullish signal for equities/crypto
💡 ADVANCED STRATEGIES:
1. Fed Meeting Preparation: Check PCE before FOMC meetings for policy clues
2. Dot Plot Predictions: PCE trend determines Fed's rate forecast updates
3. Pivot Timing: When PCE MoM turns negative, Fed pivot becomes realistic
4. Press Conference Analysis: Compare Powell's comments to PCE deviation
🎯 KEY LEVELS TO WATCH:
- 2.0% YoY: Fed's official target - crossing this level is major news
- 2.5% YoY: "Uncomfortably high" - Fed forced to stay restrictive
- 3.0% YoY: "Crisis mode" - Fed turns very hawkish
- 1.5% YoY: "Below target" - Rate cuts become likely
🔄 COMBINE WITH:
- CPI: Public perception vs. Fed's metric (often diverge)
- Core PCE: Even more important (excludes food/energy volatility)
- Fed Funds Rate: Is Fed responding appropriately to PCE?
📊 DATA SOURCE:
Official PCE data from FRED (Federal Reserve Economic Data), updated monthly typically in the last week of each month (after CPI/PPI releases).
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust Fed target if needed
- Customize colors
- Show/hide absolute PCE values
Perfect for: Fed watchers, macro traders, policy analysts, and serious investors who want to predict monetary policy changes before they happen.
⚠️ CRITICAL INSIGHT: While media focuses on CPI, the Fed focuses on PCE. Trade what the Fed trades, not what the headlines say.
🎓 Pro Tip: Fed members often mention "Core PCE" (excluding food/energy). Consider adding that indicator alongside this one for complete Fed policy analysis.
CPI Inflation Monitor (Change YoY & MoM)📊 CPI Inflation Monitor - Complete Macro Analysis Tool
This indicator provides a comprehensive view of Consumer Price Index (CPI) inflation trends, essential for understanding monetary policy, market conditions, and making informed trading decisions.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual inflation rate
- Month-over-Month (MoM): Line overlay showing monthly price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official inflation target for YoY)
- Dotted line at 0.17% (equivalent monthly target for MoM)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current CPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from Fed target
- Automated Alerts:
- YoY crosses above/below 2% target
- MoM crosses above/below 0.17% target
- Perfect for staying informed without constant monitoring
📈 WHY THIS MATTERS FOR TRADERS:
CPI is the most widely reported inflation metric and directly influences:
- Federal Reserve interest rate decisions
- Bond yields and currency valuations
- Stock market sentiment (especially growth vs. value rotation)
- Cryptocurrency and risk asset performance
Rising inflation (red bars) typically leads to:
→ Higher interest rates → Negative for growth stocks, crypto
→ Stronger USD → Pressure on commodities
Falling inflation (green bars) typically leads to:
→ Rate cut expectations → Positive for growth stocks, crypto
→ Weaker USD → Support for commodities
🔍 HOW TO USE:
1. Strategic Positioning: Use YoY trend (thick bars) for long-term asset allocation
2. Tactical Timing: Use MoM trend (thin line) to identify turning points early
3. Divergence Trading: When MoM falls but YoY remains high, anticipate trend reversal
4. Fed Policy Prediction: Distance from 2% target indicates Fed's likely hawkishness
💡 PRO TIPS:
- Multiple months of MoM above 0.3% = Accelerating inflation → Fed turns hawkish
- MoM turning negative while YoY still elevated = Peak inflation → Position for pivot
- Compare with PPI and PCE indicators for complete inflation picture
- Use alerts to catch important threshold crossings automatically
📊 DATA SOURCE:
Official CPI data from FRED (Federal Reserve Economic Data), updated monthly mid-month when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable through settings:
- Toggle YoY/MoM displays
- Adjust target levels
- Customize colors for visual preference
- Show/hide absolute CPI values
Perfect for: Macro traders, swing traders, long-term investors, and anyone wanting to understand the inflation environment affecting their portfolio.
Note: This indicator works on any chart timeframe as it loads external monthly economic data.
Multi Timeframe Market Structure ContinuationOverview
This indicator identifies Break of Structure (BOS) and Change of Character (ChoCh) patterns using multi-timeframe (MTF) analysis to filter high-probability trade setups. By aligning lower timeframe signals with higher timeframe bias, it helps traders enter positions in the direction of the dominant trend while avoiding counter-trend traps.
Multi-Timeframe Analysis
The indicator analyzes market structure on two timeframes simultaneously:
Current Timeframe (CTF): Detects immediate BOS and ChoCh signals for entry timing
Higher Timeframe (HTF): Establishes the overall trend direction (default: 1H, customizable)
Signals only appear when the current timeframe structure aligns with the higher timeframe bias, ensuring you're trading with the momentum, not against it.
Break of Structure (BOS)
BOS signals indicate trend continuation - when price breaks a previous high in an uptrend or a previous low in a downtrend. These are reliable entries that confirm the trend is still active and strong.
Change of Character (ChoCh)
ChoCh signals mark early trend reversals - when market structure shifts from bearish to bullish (or vice versa). When captured in alignment with the higher timeframe trend, ChoCh entries can achieve exceptional risk-to-reward ratios as they allow entry near the beginning of a new impulse move.
Exit Signals
Exit signals are plotted when a ChoCh occurs in the opposite direction of the HTF trend. For example, if the HTF is bullish and a bearish ChoCh forms on the current timeframe, an orange "EXIT" signal appears - warning long traders that the lower timeframe structure is shifting against them. This provides an early warning system to protect profits or minimize losses before the HTF trend itself reverses.
Trading Strategy Recommendations
Trending Markets (Recommended)
In strong trending conditions, both BOS and ChoCh signals can be taken when aligned with the HTF bias. ChoCh entries are particularly powerful as they catch early reversals within the larger trend, offering entries with tight stop losses and extended profit targets.
Ranging Markets
During consolidation or choppy conditions, it's best to be selective and take only BOS entries. BOS signals confirm that the trend is continuing beyond the range, reducing false breakouts and whipsaw trades that are common with counter-trend ChoCh signals in sideways markets.
Customization
Pivot Length: Adjust the sensitivity of structure detection (default: 5). Lower values detect structure more frequently with earlier but potentially noisier signals. Higher values provide cleaner, more significant structural breaks but with some delay.
Higher Timeframe: Customize the HTF to suit your trading style. Day traders might use 1H HTF on 5m charts, while swing traders could use 4H or Daily HTF.
Alert System
Six alert conditions available:
Long BOS Entry / Long ChoCh Entry
Short BOS Entry / Short ChoCh Entry
Long Exit / Short Exit
All alerts fire only on confirmed candle closes to eliminate repainting and false signals.
Visual Features
Color-coded background showing HTF bias
Clear BOS/ChoCh labels with horizontal lines at structure levels
Orange "EXIT" signals when structure breaks against your position
Gray lines tracking current swing highs/lows
HTF trend indicator in the top-right corner
Custom Weekly WED→TUEPurpose:
This indicator creates custom weekly candles with a week boundary running from Wednesday to Tuesday (WED→TUE) for any symbol. It is designed for systems that prefer to close the trading week on Tuesday’s session instead of the standard weekend.
Custom Candle Logic (WED→TUE):
• Open = Opening price on Wednesday (start of the custom week).
• Close = Closing price on Tuesday (end of the custom week).
• High/Low = Maximum/minimum during the entire range from Wednesday → Tuesday.
Display Behavior:
• Only renders when the chart timeframe = 1W (Weekly).
• Completed weeks (with full Wed→Tue data) are shown as candlesticks (colored up/down based on O/C).
• The current incomplete week is shown as a preview box shifted to the next weekly slot (the column to the right), allowing you to see the progress of the ongoing week while keeping the last completed week intact.
Inputs:
• Start day (1=Mon…7=Sun) — default is 3 = Wednesday. You can change this to redefine the week boundary.
• Show current (incomplete) custom week — toggles the preview box for the current running week.
• Up/Down/Doji color — defines the colors of completed weekly candles.
• Preview box transparency — controls the opacity of the preview box for the ongoing week.
MTF MACD + Accelerator Oscillator Strategy ※日本語説明は英文の下にあります。
Concept:
This is a multi-timeframe trend-following strategy that combines:
Higher timeframe MACD → determines the major trend direction.
Lower timeframe Accelerator Oscillator (AC) → identifies acceleration in momentum for optimal entry timing.
The strategy enters trades in the direction of the higher timeframe trend when the AC shows a momentum acceleration.
Entry Rules:
Long (Buy):
Higher timeframe MACD line > signal line (uptrend)
AC crosses above zero line on the lower timeframe
Short (Sell):
Higher timeframe MACD line < signal line (downtrend)
AC crosses below zero line on the lower timeframe
Exit Rules:
Take Profit: ATR(14) * 1.5 (configurable)
Stop Loss: ATR(14) * 1.0 (configurable)
Exit on opposite signal or if TP/SL is hit
Plotting:
AC is plotted on the chart (green for positive, red for negative)
Buy/Sell signals are marked with small triangles below/above bars
Customization:
Timeframe, MACD parameters, ATR multipliers can be adjusted in the input settings.
Works for scalping, day trading, or swing trading on various instruments.
---------------------------------------------------------------------
コンセプト:
この戦略はマルチタイムフレームのトレンドフォロー型で、以下を組み合わせています:
上位足MACD → 大きなトレンド方向を確認
下位足Accelerator Oscillator(AC) → モメンタム加速のタイミングを捉え、最適なエントリーを判断
上位足のトレンド方向に沿って、下位足でACが勢いの加速を示したタイミングでエントリーします。
エントリールール:
ロング(買い):
上位足MACDライン > シグナルライン(上昇トレンド)
下位足ACが0ラインを上抜け
ショート(売り):
上位足MACDライン < シグナルライン(下降トレンド)
下位足ACが0ラインを下抜け
エグジットルール:
利確:ATR(14) * 1.5(設定可能)
損切り:ATR(14) * 1.0(設定可能)
逆シグナル発生時やTP/SL到達時にも決済
チャート表示:
ACはチャート上にプロット(正なら緑、負なら赤)
買い/売りシグナルはバーの下/上に小さな三角で表示
カスタマイズ:
時間足、MACDパラメータ、ATR倍率は入力設定で変更可能
スキャルピング、デイトレード、スイングトレードなど幅広く利用可能
PivotBoss Oscillator (PBOsc)PivotBoss Oscillator (PBOsc) – Description
The PivotBoss Oscillator (PBOsc) is a momentum-based indicator derived from the PivotBoss PEMA Method, designed to identify market bias, trend strength, and potential reversals across all timeframes and instruments.
Unlike traditional oscillators, PBOsc measures the differential among three pivot-based EMAs (fast, medium, and slow) relative to the pivot point (PP) of each bar, allowing it to self-adjust dynamically with current market volatility.
Calculation Logic
Pivot Point (PP):
𝑃
𝑃
=
(
𝐻
𝑖
𝑔
ℎ
+
𝐿
𝑜
𝑤
+
𝐶
𝑙
𝑜
𝑠
𝑒
)
/
3
PP=(High+Low+Close)/3
Pivot-Based EMAs:
Fast PEMA = EMA(PP, fast length)
Medium PEMA = EMA(PP, medium length)
Slow PEMA = EMA(PP, slow length)
Differentials:
Diff1 = Fast PEMA − Slow PEMA
Diff2 = Medium PEMA − Slow PEMA
Diff3 = Fast PEMA − Medium PEMA
Oscillator Value:
𝑃
𝐵
𝑂
𝑠
𝑐
=
(
𝐷
𝑖
𝑓
𝑓
1
+
𝐷
𝑖
𝑓
𝑓
2
+
𝐷
𝑖
𝑓
𝑓
3
)
/
𝑃
𝑃
PBOsc=(Diff1+Diff2+Diff3)/PP
Interpretation
Above Zero Line (0): Bullish bias; momentum favors the upside.
Below Zero Line (0): Bearish bias; momentum favors the downside.
Advancing Bars (Green): PBOsc rising → Strengthening trend or positive momentum.
Declining Bars (Red): PBOsc falling → Weakening trend or negative momentum.
Analytical Uses
Change of Bias: Detects short-term shifts in market sentiment.
Trending Markets: Measures pullbacks or continuations within ongoing trends.
Divergence: Divergence between price and PBOsc can signal potential reversals.
Default Settings
Default: (8, 13, 21)
Alternate Presets: (5, 8, 13), (13, 21, 34), (21, 34, 55)
ATR Anchored Range %b by TradeSeekersAll time highs got you spooked to enter with no levels in sight?
Stuck in a multi-week range and wondering where the heck the pivots are!?
Wondering if you're longing the top or shorting the potential bottom and about to get smoked, sending you back to burger flipping?!
Fret not trading friends!
I've been crafting the ultimate map for scalpers, slingers, swingers, swindlers, swashbucklers -and traders too.
Why should I care about this, what's an ATR!?
Nearly any trader that's entered the markets has heard of ATR, perhaps even taken a stab at trying to calculate the flux capacity of a weekly ATR on a lower timeframe. Continually calculating things manually sucks!
Ok, so you haven't heard of ATR? It's the average true range... what's the true range!? It's simply the low subtracted from the high (high - low) of any given candle.
How is ATR useful?
The theory is simple, if the ATRs on the daily timeframe for a stock are 5, then traders may have a reasonable expectation that any day in the near future the stock will mostly move +/- 5 pts. This +/- 5 can be used as a possible daily high and low for traders to use.
But ATR changes as time passes, with every billionaire X post, viral cat meme, fed announcement or government shutdown the market makes it's move. This means without this tool, traders need to run the standard lame (sorry) ATR indicator and then hand draw a bunch of important levels (barf).
I'm convinced and ready to join the ATR army, what do I do?
Glad to have you aboard sailor, slap this indicator on your layout - it'll initially display a bottom panel, say nice things to it.
Usage
The lower panel provides a %b plot representative of the current price relative to the timeframe and period ATR. (Defaults to 1D timeframe and 20 - 20 trading days in a month yo)
This %b plot is a map for price against the key ATR based levels and resets each time the timeframe change occurs.
Keep reading! (maybe grab a snack, you're doing great)
If you want to see what the indicator sees, how it maths the math, open the settings and check the "overlay" option... it's amazing, I know.
Main base of operations
This will be the gray area between first red and green lines, imagine this is a future candle for the timeframe anchored. The red would represent the candle high (red means stop/overbought), and the green would represent the candle low (green means go/oversold).
Regardless of the timeframe anchored, this area always represents the area the ATR indicates will be the building area of the current candle being formed. Traders should expect most of the trading to occur within this area.
The mid line
Don't diddle in the middle, this by default is the open price and it's the ultimate bias filter for bull or bear riders.
Extension areas
Beyond the gray area is the extension zone, this provides a whole ATR from the mid line to the extension.
Assembling a trade plan
There are just a couple of key concepts to master in order to become the ultimate ATR samurai warrior, capable of slicing through even the messiest liquidity.
Above the midline and holding, but still within the gray area? Could be a great long entry with targets to upper levels. The same holds true for below open and holding while still being within the lower gray area.
As price makes it's ascension or decline towards the ends of the initial gray ATR range, consider managing trades here. If it's suspected, due to a strong hold of the midline, that the range low or high is the midline, then continue to manage trades towards the extension zones.
Timeframes and periods oh my
The tooltips already provide some hints, but not everyone goes around clicking and hovering everything in sight (maybe I'm the only one that does that?).
There's a thoughtful approach to the default values, I like to consider the big market participants with my day trades, swings trades and beyond.
By default I've chosen the daily timeframe and a period of 20, one for each trading day of the calendar month.
It's no large leap to consider alternatives, what about 1W timeframe and a period of 4 (1 month) or 52 (1 year)?
The possibilities are nearly infinite, comment on any particular favorite combos.
An Italian Special Bonus!!!
...sorry, it's not pizza....
First, did you know the famous Italian Fibonacci's real name was actually Leonardo? I'm not sure how I feel about that. Fun fact, my ancestors are Italian.
Alright, you may have guessed that the special bonus is the mythical Fibonacci inspired "Golden Pocket", maybe it's a foreshadowing of your pockets - one can only hope.
Use this feature to show the commonly referenced Fibonacci levels within each major ATR range. I've seen some totally mathematical epic-ness with these hence the addition.
Once key ATR levels have been hit look for reversals back to golden pockets (you tricksy hobbits) for potential entry back towards the prior hit ATR level.
The %b turns gold if you have the feature enabled and of course the overlay displays them also, how fun!
Final thoughts
I hope you have as much fun using this indicator as I do, it has brought much joy to my trading experience. If you don't have fun with it, well I hope you had fun reading about it at least.
100% human crafted and darn proud of it
- SyntaxGeek
Sessions Candle Colors1. Candle Display Mode
Choose how your candles are rendered:
Normal – Standard bullish/bearish candles with theme-based colors.
Normal – Single – Candles displayed in a single neutral tone.
Session – Candles colored by active trading sessions.
Session – Single – Session-based candles in a single tone.
None – Disables custom candles (useful if you prefer chart elements only).
2. Theme: Normal Candles
Includes a curated set of themes for standard candles.
Default: Light – BW
Available Themes:
Dark – Prime
Dark – Violet
Dark – Ice
Dark – Bronze
Dark – BW
Light – BW
Light – ICT (Inner Circle Trader)
Light – S&F (Set and Forget)
3. Theme: Session Candles
Custom palettes for session-based modes:
Light – AnandaDivine
Light – WealthFRX
Note: “Light” and “Dark” indicate which chart background the theme is optimized for.
4. Hide Gaps
Enables a custom gapless mode by forcing each candle’s open to match the previous close.
This option helps maintain visual continuity on charts with irregular price feeds.
Tip: For best results, disable TradingView’s built-in candles under chart settings before enabling this indicator.
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
PD Break Behavior AnalysisThe PD Break Behavior Analysis indicator tracks and classifies daily price action relative to the previous day's high (PDH) and low (PDL). It evaluates how often price:
Breaks only the PDH (single upper breakout)
Breaks only the PDL (single lower breakdown)
Breaks both PDH and PDL (double breakout)
Remains inside the previous day’s range (no break)
Gaps and stays entirely above the previous day’s high (strong bullish gap)
The indicator maintains rolling counts for the past:
50 trading days
100 trading days
300 trading days
These statistics are displayed in a clear on-chart table, providing insight into market behavior over multiple timeframes.
Sessions, Killzones & Macros🌟 A Very Special Thanks
To ChatGPT and Copilot for helping me put this together 🙏💻✨
🚀 Session Script Release by AnandaDivine
KitBashed with love & light ✨
⚠️ Disclaimer:
I take no credit for the original scripts used in this compilation, nor any responsibility for how it's used. Modify and explore at your own discretion!
💡 Inspired by Legends:
📊 Sessions on the Chart – by Aurocks_AIF
🧠 ICT KillZones Macros – by TFlab
💧 Watermark FX – by AGFXTRADING
🎯 Features Included:
🕒 Sessions:
🕒 Asia
🕒 London
🕒 New York
🔫 KillZones:
🧬 CBDR (for those who use it)
🕒 Asia
🕒 London
🕒 New York
🧩 Macros:
🕰️ London 1 & 2
🌅 NY AM1, AM2, AM3
🍽️ NY Lunch
🌆 NY PM
🕛 NY Last Hour
💦 Watermark – Clean and minimal branding
🎨 Color Palette:
Optimized for light theme users – crisp, clean, and easy on the eyes.
🔮 Future Features (if requested):
🧱 Dark theme support
🕯️ Candle coloring based on session zones
🧘 Philosophy:
I kept it fast & light – no clutter, no bloat.
Feel free to customize or extend it however you like.
If you add something cool, please share it with me! 🙌
🧪 I tried adding day-of-week and separators, but it looked messy on higher timeframes. Maybe someone else can crack that cleanly.
ATR Adaptive (auto timeframe)This indicator automatically adjusts the Average True Range (ATR) period based on the current chart timeframe, helping traders define dynamic Stop Loss (SL) and Take Profit (TP) levels that adapt to market volatility.
The ATR measures the average range of price movement over a defined number of bars. By using adaptive periods, the indicator ensures that volatility is interpreted consistently across different timeframes — from 1-minute charts to daily or weekly charts.
It plots two main levels on the chart:
🔴 Low – ATR × Multiplier → Suggested Stop Loss (below the candle’s low)
🟢 High + ATR × Multiplier → Suggested Take Profit or trailing level (above the candle’s high)
Optional additional lines show ATR-based TP levels calculated from the current close.
💡 How to use
Select your desired ATR multiplier (e.g., 1.3× for SL, 1.0× for TP).
The script automatically detects the chart timeframe and uses an appropriate ATR length (e.g., ATR(30) on M5, ATR(21) on H1, ATR(14) on Daily).
Use the plotted levels to:
Set Stop Loss just below the red ATR band (for long trades).
Set Take Profit near or slightly below the green ATR band (for short trades, reverse logic).
⚙️ Why it helps
Maintains consistent volatility-based risk across multiple timeframes.
Avoids arbitrary fixed SL/TP values.
Makes the trading strategy more responsive in high-volatility markets and more conservative when volatility contracts.
Particularly useful for intraday and swing trading, where volatility varies significantly between sessions.
Institutional Confluence Strategy - 4H Only This is the best 4H Strategy with over 8.1 Win rate. Test before implementing it.
| 🧠 **Auto Risk Sizing** | Calculates position size dynamically (based on equity & ATR). |
| ⚙️ **Dynamic SL/TP** | Adjusts to volatility automatically. |
| ⚡ **Range Adaptation** | Uses RSI + BB compression to catch sideways reversals. |
| 🎯 **Low-Noise Entries** | Requires SMA crossover + RSI + BB touch. |
| 📊 **Backtestable** | Use Strategy Tester to view win rate, profit factor, etc. |