Inverted Yield Curve with VIX Fear IndexUS 2 year and US 10 year comparison, inverted yield curve with VIX. I use this on a weekly chart with 2 moving averages, the 40 week (ma200 daily) and the 520 week (10 year median).
The bottom histogram is the VIX and the plot is the yield curve. When the VIX is above a certain level (you can set it in settings) and the ýield curve is close to or at inversion the background goes red.
The last seven recessions were preceded by an inverted yield curve. Here I combined the two main fear indexes, the VIX and the run for safe US treasuries (Inverted Yield Curve).
This is preset to the 2 year and 10 year US bond, weekly, and the normal VIX ticker but you can set it to whatever you like.
Published with source code for anyone to modify. Please comment below if you do so! This is the second in a series of indicators I intend to publish as a package of economic recoverty/recession symptom indicators.
Follow me for updates, next one up is commodities with dr Copper and oil!
Cari dalam skrip untuk "weekly"
Automatic Support, Resistance, Fibonacci LevelsThis indicator plots absolute high and low values for up to five completely adjustable time periods (in months, weeks, days, hours, minutes) and optionally calculates the Fibonacci levels on the pair of absolutes of your choice, ascending or descending, and mimics the shading available in the built-in Fib charting tools (e.g. retracement).
Here are a few screenshots of the same chart with various options selected.
3-Month, 4-Week, and 5-Day absolutes with 3-Monthly Fib plotted:
The same chart with 4-Weekly Fib:
The same chart with 5-Daily Fib:
5-Day, 12-Hour, 90-Minute absolutes with 12-Hourly Fib:
Zoomed in, on a 30-minute interval, with 90-minute Fib:
With descending ("inverted") 90-minute Fib:
I started putting this together for Vazzyb, who was looking for a way to automate plotting horizontal support and resistance levels for monthly, weekly, and daily extremes, and then I added additional features as they occurred to me. Special thanks to Paaax, who suggested I add Fib levels.
I am leaving the code open, so you may feel free to grab snippets you like and use them for your own purposes. Of particular interest may be my custom "calc_fib()" function, which accepts any series pair, as well as a Boolean indicating whether to invert, and returns an array with each of the major Fibonacci levels: .
If anyone likes this enough to feel generous, please feel free:
BTC
3KmFchJ18QvMzAJKDcFQXvyK9p1EHWQdhP
BCH
qqtrw64ptuwprk5vtj3z8qwkvh3v0jawxq7khqng7x
ETH
0x9b51361A278910Ba3945C7519C9f0FA8a77df18d
LTC
MDeWWsP7XCG2zQuZ2dYALZXQ52u2qkc8fh
P.S. If you want the time lengths to be as close to accurate as possible, don't forget to change the number of days per week when using for cryptocurrency!
Dual Timeframe SMA Ribbon CrossoverCopyright by RJ 3/2018
Should be used with lower timeframe and higher timeframe charts
First set your chart to the lower timeframe you'd like to analyze
see f.bpcdn.co
For this method, low timeframe/high suitable timeframe pairs are:
5min with 30min parent
15min with 1hr parent
30min with 4hr parent
4hr with daily parent
daily with weekly parent
weekly with monthly parent
On lower timeframe chart - Plot of 2 smas length 6, 1 Offset
If smas cross - and bar crosses the sma convergence, and full body of bar crosses SMAs - then this is a buy or sell opportunity
For confirmation - on the higher timeframe chart, check if bar is above or below the smas for that day
Auto DayWeekMonth Fib Levels R2 by JustUncleLThis indicator automatically draws up to Three Sets of Fibonacci Pivot levels based on the previous Candle period's Range (High-Low). The HLC3 is used as the default Pivotal level. Only the most Recent period Candle Levels are displayed. The longer Weekly and Monthly sets are particularly useful in finding long term Supply and Demand levels.
The three sets of selectable periods are spit into the following sets:
Daily Set (1,2,3,4,5,7,10 or 14 Days)
Weekly Set (1,2,3,4,5,10, or 13 Weeks)
Monthly Set (1,2,3,4,5,6,9 or 12 months)
Each set has the option to display Extension levels.
The Pivotal Level HLC3 and Range = (High - Low), are extracted from previous Period Candle.
FIB LEVELS Colours (same in each period set):
Yellow = Pivot and Pivot Zone (HLC3 by default)
Fuchsia = R1,S1 Levels 0.368 * Range
Lime = R2,S2 Levels 0.618 * Range
Red = R3,S3 Levels 0.786 * Range
Aqua = R4,S4 Levels 1.000 * Range
Green = R5,S5 Levels 1.236 * Range
Orange = R6,S6 Levels 1.382 * Range
Black = R7,S7 Levels 1.618 * Range
Maroon = R8,S8 Levels 2.000 * Range
Pullback Trading Tool R5-65 by JustUncleLBy request this is an updated version of the "PullBack Trading Tool": removes experimental "OCC" channel, added option to display ribbons or just single moving average lines, added alert arrows for "PB" exits, added alertcondition for TV alarm subsystem, added some extract options for Pivot points and general cleanup of code.
Description:
This project incorporates the majority of the indicators needed to analyse and trade Trends for Pullbacks, swings and reversals.
Incorporated within this tool are the following indicators:
1. Major industry (Banks) recognised important EMAs in an EMA Ribbon:
Lime = EMA5 (Optional Display)
DodgerBlue = EMA12 (Optional Display)
Red = EMA36 (Optional display)
Green = EMA89
Blue = EMA200
Black = EMA633
2. The 5 EMA (default) High/Low/Close Price Action Channel (PAC), the PAC channel display is disabled by default.
3. Optionally display Fractals and optional Fractal levels
4. Optional HH, LH, LL, HL finder.
5. Optional Buy/Sell "PB" exit Alerts with Optional 200EMA filter.
6. Coloured coded Bar high lighting based on the PAC:
blue = bar closed above PAC
red = bar closed below PAC
gray = bar closed inside PAC
7. Alert condition sent to TradingView's Alarm subsystem for PB exits.
8. Pivot points with optional labels.
9. EMA5-12 Ribbon is displayed by default.
10.EMA12-36 Ribbon is displayed by default
Set up and hints:
I am unable to provide a full description here, as Pullback Trading incorporates a full trading Methodology, there are a number of articles and books written on the subject.
Set the chart to Heikin Ashi Candles (optional).
I also add a "Sweetspot Gold R3" indicator to the chart as well to help with support and resistance finding and shows where the important "00" lines are.
First on a weekly basis say Sunday night or Monday morning, analyse the Daily and Weekly charts to establish overall trends, and support/resistant levels. Draw significant mini trend lines (2/3 TL), vertical trend lines (VTL) and S/R levels. Can use the Pivots points to guide VTL drawing and Fractals to help guide 2/3 TL drawing.
Once the trend direction and any potential major reversals highlighted, drop down to lower timeframe chart and draw appropriate mini Trend line (2/3 TL) matching the established momentum direction. Take note of potential pull backs from and of the EMAs, in particular the EMA5-12 ribbon, EMA12-36 Ribbon and the 200EMA. Can use the Pivots and/or Fractals points to guide your 2/3 TL drawing.
Set a TradingView alarm on the "PBTOOL alert", with the default settings this normally occurs before or during the Break of the manually drawn TL lines.
Once alerted check to see if the TL is broken and is returning to trend away from the EMA lines, this is indicated by bar colour change to trend directional colour.
You can trade that alert or drop down to even lower time frames and perform the same TL analysis there to find trades at the lower TF. Trading at lower TF you will allow tighter Stop loss settings.
Other than the "SweetSpot Gold R3" indicator, you should not need any other indicator to successfully trade trends for Pullbacks and reversals. If you really want another indicator I suggest a momentum one for example: AO ( Awesome Oscillator ), MACD or Squeeze Momentum.
KK_Average Directional Index (ADX) Higher TFHey guys,
sometimes you just want to plot an Indicator value from a higher Timeframe on your Chart. For most Indicators this is pretty straightforward however there is one Indicator that has been giving me quite a headache while trying to do this: The Average Directional Index . Anyway after going through almost 200 versions of this script I finally found a solution that works and thought I would share this with you, since I'm sure some of you have encountered the same problem.
How it works
Go to your desired Instrument/Timeframe and add the Script
Under Settings in the field for "Higher ADX TF" put the Timeframe-code you want to pull the ADX Values from.
- Codes: Monthly - M, Weekly W, Daily - D
- Codes Intraday: The amount of hours in minutes, e.g. if you want to pull values from the 4h-Chart the code is 240 (60 for 1h, 15 for 15m ...)
In some cases (see below) the calculation might not be correct. So make sure the values are correct:
a) Write down the latest ADX of the higher TF while you are on the lower TF
b) Switch the Resolution to the higher TF
c) Compare the value you have just written down to the next to last value. They should be the same.
d) Switch back the Resolution to the lower TF and you're good to go.
Limitations
You can only pull values from higher Timeframes, e.g. you're on a 4h Chart, so you can only pull values from the Daily, Weekly and Monthly Chart. You can't pull values from the 1h Chart.
You can only pull values from Timeframes, where the higher Timeframe Close always has a corresponding Close on the lower Timeframe, e.g. you can't pull values from the 3h Chart when you are on a 2h Chart. This should be pretty rare.
The Script needs a certain amount of Data from the Higher TF before the calculated values are correct. I have tested this on several Instruments and the Script usually needs approximately 100 Bars on the higher Timeframe (often less) for the values to be correct (error < 1%).
So when the difference between your lower Timeframe and you higher Timeframe is large, e.g. you want to pull the Daily ADX value on a 15m-Chart, the calculation can be wrong. This can lead to errors in 2 Cases:
a) Backtesting: When you go over old data and get close to the last available Bar the Data will be wrong. This will limit the amount of data you can backtest.
b) Live values: When the difference between the two Timeframes is too large, it is possible that even live values are wrong, e.g. this will be the case when you are trying to pull the Daily ADX value on a 5 minute Chart. Always check if the calculation works with your desired combination of Timeframes before using it (see above).
I hope this is useful for you and whish all of you successful trading!
Best regards
Kurbelklaus
Range Delta Heiken Ashi Bollinger|Buy/Sell |OB & OS CandlesPurpose: Mathematically represent buying and selling zones for Daily/ Weekly Traders
Indicator: Calculates moving average of the candle's body with respect to the daily trading range
Buy and Sell Signals: Calculates Bollinger Range with Max/Min and Buy/Sell Bollinger signals
Overbought and Oversold Signals: Candlesticks show overbought and oversold conditions
Level of Difficulty: This indicator was written to make life easier. Follow the Rules and anyone can use it.
Rule 1: Buy when candlestick is below "purple" line
Rule 2: Sell when candlestick is above "blue" line
Rule 3: Add bollinger bands to your currency chart
Rule 4: Confirm indicator bollinger bands with currency chart's bollinger bands
Rule 5: Trade in direction of trend
Rule 6: As with all trading; no indicators are fool proof. Please trade responsibly.
****Full Customization for you****
Suggestion 1: Add bollinger bands to currency chart to improve probability
Suggestion 2: Trade the direction of Trend
Suggestion 3: This indicator works very well with Ranged Markets (or use Suggestion 2)
Disclaimer 1: This Indicator words best on Daily and Weekly time frames
Disclaimer 2: Enjoy the Indicator and feel free to ADD COMMENTS; I worked very hard for you and me :)
Auto Pivots with S/R LevelsPlots out the pivot point with corresponding Support / Resistance levels.
It will automatically determine the time frame to calculate pivots based on the current view resolution.
Monthly resolution will pull a yearly pivot
Weekly resolution will pull a monthly pivot
Daily view will pull a weekly pivot
Intraday view will pull a daily pivot.
You have the choice of using Standard pivots or Fibonacci pivots
You can choose to only display the most recent pivot or all pivots
You can chose to extend the most recent pivot across the whole chart as a price line
TODO:
- Add in the ability to choose how far back historically to display pivots
- Add in calculations for smaller resolutions to calculate off lower time frames. EX: minute resolution should pull hour time frame to calculate pivots.
Herrick Payoff Index for Quandl DataUpdate to my previous Herrick Payoff Index script. This script pulls Quandl futures data with daily open interest. The prior version only used the weekly Commitment of Traders open interest data so could only be used on weekly bars. Note: Must use Quandl Symbol methodology in chart (i.e. enter symbol as QUANDL:CHRIS/CME_FC2, QUANDL:CME/FCX2016, ect.). Unfortunately, I haven't been able to program this to pull from the embedded futures data.
UCS_S_Stochastic Pop and Drop StrategyMy Contribution to Jake Bernstein Educational Series, Initiated by Chris Moody.
The Stochastic Pop was developed by Jake Bernstein and modified by David Steckler. Bernstein's original Stochastic Pop is a trading strategy that identifies price pops when the Stochastic Oscillator surges above 80. Steckler modified this strategy by adding conditional filters using the Average Directional Index (ADX) and the weekly Stochastic Oscillator.
Modifications
1. Weekly Stochastic Oscillator for Trading Bias = 5* Daily Stochastic
2. Optional Volume Confirmation, Custom Average Volume Length
Future Plans
1. Adding Triggers for Entry, Stops and Target. - This will be release when we have ability to code the complete Strategy. Although it can be done with the current pinescript options, it would be far more easier if we have strategy ability.
Link for Educational Purpose
stockcharts.com
-
Good Luck Trading
UCSgears
Rolling VWAP Structure [MTF]Core Logic: Rolling VWAP & MTF**
* **Rolling VWAP (Volume-Weighted Average Price):** Unlike a simple Moving Average, this centerline weighs price by volume. It represents the true "Institutional Cost Basis" over the rolling period (default 20).
* **MTF (Multi-Timeframe) Capability:** The indicator is locked to the **Daily (1D)** timeframe by default. This acts as a stable "Lighthouse," ensuring that intraday noise does not distort the major structural levels.
* *Stepped Lines:* On lower timeframes, the lines appear stepped. This is intentional. It shows that the structural value remains constant throughout the day until the daily close shifts the calculation.
**3. Market Profile Logic: Balance vs. Imbalance**
This indicator visually decodes the market cycle using Auction Market Theory:
* **Orange Zone (Squeeze) = Balance:** When the bands contract (and turn Orange), the market is in equilibrium. This is a high-volume node where price is accepted. **Note:** Historical Orange Zones often act as strong Support/Resistance upon retest.
* **Grey Cloud (Expansion) = Imbalance:** When price breaks into the Grey "Highway" (1.0 - 2.0 StdDev), the market enters Price Discovery mode (Trending).
**4. Key Features & Settings**
* **Fixed Timeframe:** Select the timeframe you want to monitor (e.g., "1D" for Daily structure, "1W" for Weekly).
* **Clean Visuals:** The bottom signal dots have been removed for a cleaner chart.
* **Squeeze Toggle:** You can now **hide the Orange Squeeze color** in the settings if you prefer a unified Grey look for strictly structural analysis.
---
### **中文说明**
核心逻辑:Rolling VWAP 与 跨周期 (MTF)**
* **Rolling VWAP (滚动成交量加权均价):** 与简单移动平均线不同,中轨根据成交量对价格进行加权。它代表了滚动周期内(默认20)真实的“机构持仓成本”。
* **MTF (跨周期) 能力:** 指标默认锁定在 **日线 (1D)** 周期。这就像一座稳定的“灯塔”,确保日内的短期噪音不会扭曲主要的结构性点位。
* *阶梯状线条:* 在小周期图表上,轨道呈现阶梯状。这是有意设计的,代表当天的结构价值是固定的,不会随秒级波动而改变。
**3. 市场轮廓逻辑:平衡与失衡**
本指标利用拍卖市场理论可视化解码市场周期:
* **橙色区域 (挤压) = 平衡 (Balance):** 当布林带收缩(并变橙色)时,市场处于均衡状态。这是筹码密集的高成交量区。**注意:** 历史上的橙色区域在未来回踩时往往起到强力的 支撑/阻力 作用。
* **灰色云带 (扩张) = 失衡 (Imbalance):** 当价格突破进入灰色“高速公路”(1.0 - 2.0 标准差)时,市场进入价格发现模式(趋势)。
**4. 主要功能与设置**
* **Fixed Timeframe (锁定时间框架):** 选择你想要监控的周期(例如 "1D" 看日线结构,"1W" 看周线结构)。
* **视觉净化:** 移除了底部的信号圆点,让主图背景更加纯粹干净。
* **Squeeze Toggle (挤压色开关):** 你现在可以在设置中**隐藏橙色挤压显示**。如果你更偏向纯粹的结构分析,可以选择让通道始终保持灰色。
GARCH Adaptive Volatility & Momentum Predictor
💡 I. Indicator Concept: GARCH Adaptive Volatility & Momentum Predictor
-----------------------------------------------------------------------------
The GARCH Adaptive Momentum Speed indicator provides a powerful, forward-looking
view on market risk and momentum. Unlike standard moving averages or static
volatility indicators (like ATR), GARCH forecasts the Conditional Volatility (σ_t)
for the next bar, based on the principle of volatility clustering.
The indicator consists of two essential components:
1. GARCH Volatility (Level): The primary forecast of the expected magnitude of
price movement (risk).
2. Vol. Speed (Momentum): The first derivative of the GARCH forecast, showing
whether market risk is accelerating or decelerating. This component is the
main visual signal, displayed as a dynamic histogram.
⚙️ II. Key Features and Adaptive Logic
-----------------------------------------------------------------------------
* Dynamic Coefficient Adaptation: The indicator automatically adjusts the GARCH
coefficients (α and β) based on the chart's timeframe (TF):
- Intraday TFs (M1-H4): Uses higher α and lower β for quicker reaction
to recent shocks.
- Daily/Weekly TFs (D, W): Uses lower α and higher β for a smoother,
more persistent long-term forecast.
* Momentum Visualization: The Vol. Speed component is plotted as a dynamic
histogram (fill) that automatically changes color based on the direction of
acceleration (Green for up, Red for down).
📊 III. Interpretation Guide
-----------------------------------------------------------------------------
- GARCH Volatility (Blue Line): The predicted level of market risk. Use this to
gauge overall position sizing and stop loss width.
- Vol. Speed (Green Histogram): Momentum is ACCELERATING (Risk is increasing rapidly).
A strong signal that momentum is building, often preceding a breakout.
- Vol. Speed (Red Histogram): Momentum is DECELERATING (Risk is contracting).
Indicates momentum is fading, often associated with market consolidation.
🎯 IV. Trading Application
-----------------------------------------------------------------------------
- Breakout Timing: Look for a strong, high GREEN histogram bar. This suggests
the volatility pressure is increasing rapidly, and a breakout may be imminent.
- Consolidation: Small, shrinking RED histogram bars signal that market energy
is draining, ideal for tight consolidation patterns.
Smart Money Swing Strategy [All-in-One]# Pro Swing Trader 📈
A comprehensive swing trading indicator for TradingView that combines multiple confluence factors to identify high-probability trade setups with built-in risk management.
## 🎯 Overview
This indicator is designed for swing traders who want to catch momentum pullbacks with precision entries. It filters trades using multiple timeframe analysis, RSI zones, volume confirmation, and EMA trends to deliver only the highest-confidence setups.
### Key Features
✅ **Multi-Timeframe Confluence** - Confirms trades with higher timeframe analysis (Daily, 4H, etc.)
✅ **Smart Entry Signals** - Detects pullback-to-EMA reclaim patterns
✅ **Automatic Risk Management** - Calculates stops, targets, and R-multiples
✅ **Dynamic Stop Loss** - ATR trailing stop + break-even automation
✅ **Real-Time HUD Dashboard** - Live confluence scoring and trade metrics
✅ **Comprehensive Alerts** - Entry, TP1, TP2, and stop-loss notifications
✅ **Visual Trade Levels** - Clear on-chart stop-loss and take-profit lines
---
## 📊 How It Works
### Signal Logic
The indicator identifies two types of signals:
**Base Signals** (Small triangles):
- Price pulls back between Fast EMA and Slow EMA
- RSI is in the swing zone (40-60 by default)
- Price reclaims the Fast EMA with momentum
- Optional: Volume spike confirmation
**High-Confidence Signals** (Large triangles):
- All base signal criteria met
- Higher timeframe confirms the trend direction
- HTF RSI and slope alignment
- These are your primary trade signals
### Entry Conditions
#### Long Entry (🟢 HC L)
1. Fast EMA > Slow EMA (uptrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses above and closes above Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price above EMA50, RSI > 50, positive slope
6. Optional: Volume > 1.5x 20-bar average
#### Short Entry (🔻 HC S)
1. Fast EMA < Slow EMA (downtrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses below and closes below Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price below EMA50, RSI < 50, negative slope
6. Optional: Volume > 1.5x 20-bar average
---
## 🎛️ Settings & Parameters
### Trend Parameters
- **Fast EMA**: Default 20 - Quick trend detection
- **Slow EMA**: Default 50 - Major trend filter
- **Swing Lookback**: Default 10 - Bars to find swing high/low for stops
### RSI Settings
- **RSI Length**: Default 14
- **RSI Min**: Default 40 - Lower bound of swing zone
- **RSI Max**: Default 60 - Upper bound of swing zone
### Risk Management
- **Final TP Risk-Reward (R)**: Default 2.0 - Main profit target multiplier
- **TP1 R Multiple**: Default 1.0 - Partial profit target
- **Use Break-even Stop**: Move stop to entry after 1R profit
- **ATR Trailing Stop**: Dynamic stop based on ATR(14) x 2.0
### Filters
- **Require Volume Spike**: Optional volume confirmation filter
- **Use Higher TF Confirmation**: Enable multi-timeframe analysis
- **Higher TF**: Default "D" (Daily) - Can use 240 (4H), W (Weekly), etc.
---
## 📈 Dashboard (HUD)
The top-center dashboard shows real-time confluence status:
| Column | Meaning |
|--------|---------|
| **Trend** | Current trend direction (UP/DOWN/Flat) |
| **HTF** | Higher timeframe alignment (Bull/Bear/Flat) |
| **RSI Zone** | Is RSI in swing zone? (YES/NO) |
| **Volume** | Volume spike detected? (YES/NO) |
| **Signal** | Active signal type (HC LONG/HC SHORT/None) |
| **R Risk** | Current profit in R-multiples |
| **Stop** | Current stop-loss level |
| **TP1** | Partial take-profit status |
| **TP2** | Final take-profit status |
| **Conf %** | Overall confluence score (0-100%) |
### Confidence Score Breakdown
- **20%** - Trend present (up or down)
- **30%** - HTF confirmation aligned (or 15% if HTF off)
- **20%** - RSI in swing zone
- **10%** - Volume spike
- **20%** - High-confidence signal triggered
**Scoring**:
- 🟢 70%+ = High probability setup
- 🟡 40-69% = Moderate setup
- 🔴 <40% = Low probability
---
## 🔔 Alert Setup
The indicator includes 8 alert conditions:
### Entry Alerts
- **HC LONG ENTRY** - High-confidence long signal triggered
- **HC SHORT ENTRY** - High-confidence short signal triggered
### Profit Target Alerts
- **LONG TP1 Reached** - Hit partial profit (1R by default)
- **LONG Final TP Reached** - Hit final target (2R by default)
- **SHORT TP1 Reached** - Hit partial profit
- **SHORT Final TP Reached** - Hit final target
### Stop Loss Alerts
- **LONG Stop/BE/Trail Level Hit** - Long position stopped out
- **SHORT Stop/BE/Trail Level Hit** - Short position stopped out
### How to Set Up Alerts
1. Click "Add Alert" on TradingView
2. Choose this indicator from the dropdown
3. Select desired alert condition
4. Set alert to trigger "Once Per Bar Close"
5. Customize notification method (popup/email/webhook)
---
## 📋 Trading Workflow
### 1. Wait for High-Confidence Signal
Look for the large **HC L** or **HC S** triangle on chart close.
### 2. Verify Confluence
Check the HUD dashboard:
- Confidence score should be 70%+
- HTF status should show alignment
- RSI Zone should be "YES"
### 3. Entry
Enter the trade at market or on next candle open.
### 4. Set Stop Loss
Use the **initial stop** shown in the HUD (red line on chart):
- **Longs**: Below the swing low (10-bar lookback)
- **Shorts**: Above the swing high (10-bar lookback)
### 5. Set Take Profits
- **TP1**: 1R (50% position close) - Yellow line
- **TP2**: 2R (remaining 50% close) - Green line
### 6. Manage the Trade
- Monitor the **R Risk** column to track profit
- Stop moves to break-even automatically after 1R (if enabled)
- ATR trailing stop engages dynamically (red line adjusts)
- Exit if price hits dynamic stop level
---
## 🎨 Visual Guide
### On-Chart Elements
**Triangles**:
- Small lime/red triangles = Base signals (lower confidence)
- Large lime/red triangles = High-confidence signals (trade these!)
**Lines**:
- 🟢 Green line = Fast EMA (20)
- 🟠 Orange line = Slow EMA (50)
- 🔴 Red line = Dynamic stop-loss level
- 🟡 Yellow line = TP1 level
- 🟢 Green line = TP2 (final target)
**HUD Colors**:
- 🟢 Green = Bullish/Active/Good
- 🔴 Red = Bearish/Inactive/Warning
- 🟡 Yellow = Neutral/Caution
- 🔵 Blue = Informational
- ⚫ Gray = Disabled/Off
---
## 💡 Strategy Tips
### Best Practices
1. **Only trade High-Confidence signals** - Ignore base signals unless very experienced
2. **Respect the HTF** - Don't fight the higher timeframe trend
3. **Use proper position sizing** - Risk 1-2% of account per trade
4. **Partial profits work** - Take 50% off at TP1, let rest run to TP2
5. **Let winners run** - Trailing stop helps capture extended moves
6. **Be patient** - Quality over quantity; wait for 70%+ confluence
### Optimal Timeframes
- **Primary Chart**: 1H, 4H, Daily (swing trading)
- **HTF Setting**: One level higher than your chart
- If trading 1H → Set HTF to 4H or D
- If trading 4H → Set HTF to D or W
- If trading Daily → Set HTF to W
### Market Conditions
**Best Performance**:
- Trending markets with healthy pullbacks
- Clear support/resistance zones
- Moderate volatility
**Avoid Trading**:
- Extremely choppy/sideways markets
- Major news events (unless experienced)
- Low confidence scores (<40%)
---
## ⚙️ Advanced Customization
### Aggressive Setup (More Signals)
```
Fast EMA: 12
Slow EMA: 26
RSI Min: 35
RSI Max: 65
Use HTF Confirmation: OFF
Require Volume Spike: OFF
```
### Conservative Setup (Fewer, Higher Quality)
```
Fast EMA: 20
Slow EMA: 50
RSI Min: 45
RSI Max: 55
Use HTF Confirmation: ON
Require Volume Spike: ON
Final TP R: 3.0
```
### Scalping Adaptation (Not Recommended)
```
Fast EMA: 9
Slow EMA: 21
Swing Lookback: 5
TP1 R: 0.5
Final TP R: 1.0
```
---
## ⚠️ Risk Disclaimer
**IMPORTANT**: This indicator is for educational and informational purposes only.
- Past performance does not guarantee future results
- No indicator is 100% accurate
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider using a demo account first
- Seek professional financial advice if needed
Trading involves substantial risk of loss and is not suitable for all investors.
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if HTF confirmation is enabled but market isn't aligned
- Verify RSI zone isn't too restrictive
- Ensure volume spike isn't filtering out all setups
- Try adjusting EMA lengths for your asset
### "Too many false signals"
- Enable HTF confirmation
- Tighten RSI zone (e.g., 45-55)
- Enable volume spike requirement
- Only trade 70%+ confidence setups
### "Stops too tight/wide"
- Adjust Swing Lookback length
- Modify ATR multiplier for trailing stop
- Consider the asset's volatility
### "Alerts not working"
- Ensure alert is set to "Once Per Bar Close"
- Check indicator is added to the chart
- Verify TradingView notification settings
---
## 📚 Version History
**v1.0 (Current)**
- Initial release
- Multi-timeframe confluence system
- Dynamic risk management
- Real-time HUD dashboard
- Comprehensive alert system
- ATR trailing stops
- Break-even automation
---
## 🤝 Support & Feedback
If you find this indicator helpful:
- ⭐ Star the script on TradingView
- 💬 Share your results and feedback
- 🐛 Report bugs or suggest improvements
- 📖 Share with other traders
---
## 📖 Additional Resources
### Recommended Reading
- "The New Trading for a Living" by Dr. Alexander Elder
- "Swing Trading Using Multiple Timeframes" - Educational articles
- Risk management and position sizing guides
### Learn More About
- Multiple timeframe analysis
- EMA crossover strategies
- RSI divergence and zones
- ATR-based stops
- R-multiple profit management
---
## 📝 License
This indicator is provided as-is for personal trading use.
**Usage Rights**:
- ✅ Use for personal trading
- ✅ Modify for personal use
- ❌ Resell or redistribute
- ❌ Claim as original work
---
## 🎓 Quick Start Checklist
- Add indicator to TradingView chart
- Set your preferred timeframe (1H/4H/Daily)
- Configure HTF setting (one level higher)
- Review default parameters
- Set up entry alerts (HC LONG/SHORT)
- Set up TP and SL alerts
- Test on historical data
- Paper trade first
- Start with small position sizes
- Track your results
---
**Happy Trading! 📊💰**
*Remember: Discipline, patience, and risk management are the keys to long-term success.*
[AlscapeLabs] HTF Candle Stack (Multi-Timeframe)
Overview
The HTF Candle Stack (Multi-TF) indicator is a powerful visualization tool designed to overlay high-timeframe (HTF) price action directly onto your current chart, independent of the chart's price scale. This gives traders a clear, aligned, and non-overlapping view of simultaneous price movements across customizable timeframes.
By stacking the candles horizontally next to the chart's price action, the indicator allows for quick identification of multi-timeframe correlation, trend confluence, and key levels without switching chart timeframes.
Key Features
6 Independent Stacks: Configure up to 6 separate timeframes (e.g., 5m, 15m, 1H, 4H, Daily, Weekly) to view the complete market fractals from micro to macro.
Price-Aligned Visualization : All HTF candle stacks are perfectly aligned with the main chart's vertical price axis
Replay Mode Safe : Includes dedicated logic to prevent "duplicate candles" during Bar Replay, ensuring accurate backtesting and historical analysis.
Toggleable Stacks : Each stack can be individually enabled or disabled via input settings
Dynamic Spacing : The distance between active stacks is automatically calculated and adjusted based on the visibility of the preceding stack.
Settings Guide
Stack Configuration (1 - 6)
Each of the six stacks has identical controls:
Show/Hide : Enable or disable this specific stack.
Timeframe : The specific HTF to display (e.g., "60" for 1 Hour, "D" for Daily).
[*} Count : How many candles to show in this stack (Current Active Candle + Past Closed Candles). Tip: Use higher counts (10-12) for lower TFs (Stack 1-2) and lower counts (2-4) for higher TFs (Stack 5-6)
Candle Color
Controls global coloring
Bullish / Bearish : Customize the body colors.
Wick : Separate control for wick color and transparency
Layout
Distance from Chart : How far (in bars) to the right the first stack begins
Space between Stacks : The gap (in bars) between each active stack.
Candle Width : The thickness of the HTF candles.
Labels
Displays a time-frame next to the active (live) candle in each stack
Show TF Labels : Enable or disable labels through all stacks
Text Color : Label text color
Background : Label background color
Style : Label position (Left, Down)
Size : Label text size (Tiny, Small, Normal, Large, Huge)
Developed by AlscapeLabs
HAR Volatility ATR (Multi-Asset) - Andreus VillalobosIndicator based on the HAR (Hyper-Realized Volatility) model.
Combines daily, weekly, and monthly ATRs to project:
– Most probable price range (90%)
– Most probable take profit (60%)
Does not generate entry signals.
Designed for use in conjunction with:
market structure, liquidity, and price action.
Works on Forex, Indices, Gold, and Cryptocurrencies.
HAR Volatility ATR v1.0 (Andreus Villalobos)
Indicator based on the HAR (Hyper-Realized Volatility) model.
Combines daily, weekly, and monthly ATRs to project:
– Most probable price range (90%)
– Most probable take profit (60%)
Does not generate entry signals.
Designed for use in conjunction with:
market structure, liquidity, and price action.
Works on Forex, Indices, Gold, and Cryptocurrencies.















