Economic RegimeThis indicator, "Economic Regime" , provides a comprehensive analysis of market conditions by combining multiple asset classes and financial metrics. It uses normalized scores and trend analysis to classify the current economic regime into one of four categories: Goldilocks, Reflation, Inflation, or Deflation. The classification is based on inputs like S&P 500 performance, bond yields, commodity prices, volatility indices, and sector ETFs. Additionally, it plots key financial spreads, including the yield spread (10Y-2Y) and credit spread (HYG-LQD), to offer deeper insights into liquidity and market sentiment. The background color dynamically reflects the identified economic regime, facilitating quick visual interpretation.
Breadth Indicators
Volume Profile Auto [line] v2 code is credited to juliangonzaconde. Have taken his help to modify his beautiful creation.
Volume profile is a key study when comes to understanding the auction trading process. Volume Profiles will show you exactly how much volume, as well as relative volume, occurred at each price as well as the exact number of contracts for the entire session. It is a visualization tool to understand the high activity zone and low activity zone.
Volume profile measures the confidence of the traders in the market. From short term trading perspective monitoring the developing volume profile in realtime make more sense to track current market participation behavior to take better trading decisions.
Hope this helps you in trading on daily timeframe.
Happy Trading.
WPR45789This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
TREND 1The Trend 1 Indicator is a technical analysis tool designed to identify and visualize the prevailing trend direction in financial markets. It's particularly useful for traders who rely on trend-following strategies.
Key Features:
Trend Identification: The indicator helps identify the current trend as either uptrend, downtrend, or sideways.
Trend Strength: It can provide insights into the strength or weakness of the prevailing trend.
Potential Reversal Signals: While not explicitly designed for reversal signals, traders may observe changes in the indicator's behavior to anticipate potential trend shifts.
How it Works:
The exact calculation and interpretation of the Trend 1 Indicator can vary depending on the specific implementation and the platform used. However, generally, it involves analyzing price movements over a specific period to determine the overall direction and momentum.
Common Uses:
Trading Decisions: Traders may use the indicator to align their trades with the identified trend direction. For example, if the indicator suggests an uptrend, they might favor long positions (buying).
Risk Management: The indicator can help traders assess the risk associated with their trades by providing insights into the strength and potential volatility of the current trend.
Portfolio Allocation: Investors may use the indicator to determine the overall market trend and adjust their portfolio allocations accordingly.
Important Considerations:
No Holy Grail: The Trend 1 Indicator, like any other technical indicator, is not foolproof. It should be used in conjunction with other analysis methods and risk management strategies.
Customization: The parameters and settings of the indicator can be customized to suit individual trading styles and preferences.
Backtesting: It's essential to backtest any trading strategy using the Trend 1 Indicator on historical data to evaluate its performance and effectiveness.
By understanding the principles of the Trend 1 Indicator and incorporating it into their trading arsenal, traders can potentially improve their decision-making process and enhance their overall trading performance.
TICK Charting & DivergencesOverview
The TICK index measures the number of NYSE stocks making an uptick versus a downtick. This indicator identifies divergences between price action and TICK readings, potentially signaling trend reversals.
Key Features
Real-time TICK monitoring during market hours (9:30 AM - 4:00 PM ET)
Customizable smoothing factor for TICK values
Regular and hidden divergences detection
Reference lines at ±500 and ±1000 levels
Current TICK value display
TICK Internals Interpretation
Above +1000: Strong buying pressure, potential exhaustion
Above +500: Moderate buying pressure
Below -500: Moderate selling pressure
Below -1000: Strong selling pressure, potential exhaustion
Best Practices
Use in conjunction with support/resistance levels, market trend direction, and time of day.
Higher probability setups with multiple timeframe confirmation, divergence at key price levels, and extreme TICK readings (±1000).
Settings Optimization
Smoothing Factor: 1-3 (lower for faster signals)
Pivot Lookback: 5-10 bars (adjust based on timeframe)
Range: 5-60 bars (wider for longer-term signals)
Warning Signs
Multiple failed divergences
Choppy price action
Low volume periods
Major news events pending
Remember: TICK divergences are not guaranteed signals. Always use proper risk management and combine with other technical analysis tools.
SS Actionbest movement ind. for intra day and long term position also like more best work in intraday option buy also
MA Distance with StdDev BandsThis Pine Script indicator calculates and visualizes the percentage deviation from a moving average with dynamic standard deviation bands. Here's what it does:
Key Features
Calculates the percentage difference between current price and a user-selected moving average (SMA, EMA, or VWMA)
Computes standard deviation bands using the entire historical dataset
Displays dynamic color changes based on price movement and band positions
Visual Components
Main line: Shows percentage deviation from the moving average
Dashed bands: Upper and lower standard deviation boundaries
Zero line: Reference for neutral position
Color signals:
Red: Price outside standard deviation bands
Green: Above MA and rising
Orange: Below MA but rising
Blue: Other conditions
MA Distance with StdDev BandsThis Pine Script indicator calculates and visualizes the percentage deviation from a moving average with dynamic standard deviation bands. Here's what it does:
Key Features
Calculates the percentage difference between current price and a user-selected moving average (SMA, EMA, or VWMA)
Computes standard deviation bands using the entire historical dataset
Displays dynamic color changes based on price movement and band positions
Visual Components
Main line: Shows percentage deviation from the moving average
Dashed bands: Upper and lower standard deviation boundaries
Zero line: Reference for neutral position
Color signals:
Red: Price outside standard deviation bands
Green: Above MA and rising
Orange: Below MA but rising
Blue: Other conditions
Binary Options Pro Helper By Himanshu AgnihotryThe Binary Options Pro Helper is a custom indicator designed specifically for one-minute binary options trading. This tool combines technical analysis methods like moving averages, RSI, Bollinger Bands, and pattern recognition to provide precise Buy and Sell signals. It also includes a time-based filter to ensure trades are executed only during optimal market conditions.
Features:
Moving Averages (EMA):
Uses short-term (7-period) and long-term (21-period) EMA crossovers for trend detection.
RSI-Based Signals:
Identifies overbought/oversold conditions for entry points.
Bollinger Bands:
Highlights market volatility and potential reversal zones.
Chart Pattern Recognition:
Detects double tops (sell signals) and double bottoms (buy signals).
Time-Based Filter:
Trades only within specified hours (e.g., 9:30 AM to 11:30 AM) to avoid unnecessary noise.
Visual Signals:
Plots buy and sell markers directly on the chart for ease of use.
How to Use:
Setup:
Add this script to your TradingView chart and select a 1-minute timeframe.
Signal Interpretation:
Buy Signal: Triggered when EMA crossover occurs, RSI is oversold (<30), and a double bottom pattern is detected.
Sell Signal: Triggered when EMA crossover occurs, RSI is overbought (>70), and a double top pattern is detected.
Timing:
Ensure trades are executed only during the specified time window for better accuracy.
Best Practices:
Use this indicator alongside fundamental analysis or market sentiment.
Test it thoroughly with historical data (backtesting) and in a demo account before live trading.
Adjust parameters (e.g., EMA periods, RSI thresholds) based on your trading style.
EMA Crossover with Alerts taufiqiskcross over ema 9 dan ema 21 sangat cocok untuk scalping dikit dikit
heaven rope Meta AI: Here's a brief description of a price action indicator that works similarly to the Super Moving Channel (SMC) indicator:
Indicator Name: Moving Average Cloud (MAC)
*Description:*
The Moving Average Cloud (MAC) is a price action indicator that combines multiple moving averages to create a "cloud" that surrounds the price action. This cloud acts as a dynamic support and resistance zone, helping traders identify trends, reversals, and potential trading opportunities.
*Key Components:*
1. *Multiple Moving Averages*: The MAC uses a combination of short-term and long-term moving averages to create the cloud.
2. *Cloud Formation*: The moving averages are plotted on the chart, creating a cloud-like formation that adapts to changing market conditions.
3. *Support and Resistance*: The cloud acts as a dynamic support and resistance zone, helping traders identify potential trading opportunities.
*Trading Strategies:*
1. *Trend Following*: Use the MAC to identify the trend direction and follow it.
2. *Mean Reversion*: Look for price action to revert to the mean (the cloud) after a significant move.
3. *Breakout Trading*: Trade breakouts from the cloud, using the cloud as a reference point for support and resistance.
The Moving Average Cloud (MAC) indicator provides a unique perspective on price action, helping traders make more informed decisions.
Meta AI: Here's a brief description of a price action indicator that works similarly to the Super Moving Channel (SMC) indicator:
Indicator Name: Moving Average Cloud (MAC)
*Description:*
The Moving Average Cloud (MAC) is a price action indicator that combines multiple moving averages to create a "cloud" that surrounds the price action. This cloud acts as a dynamic support and resistance zone, helping traders identify trends, reversals, and potential trading opportunities.
*Key Components:*
1. *Multiple Moving Averages*: The MAC uses a combination of short-term and long-term moving averages to create the cloud.
2. *Cloud Formation*: The moving averages are plotted on the chart, creating a cloud-like formation that adapts to changing market conditions.
3. *Support and Resistance*: The cloud acts as a dynamic support and resistance zone, helping traders identify potential trading opportunities.
*Trading Strategies:*
1. *Trend Following*: Use the MAC to identify the trend direction and follow it.
2. *Mean Reversion*: Look for price action to revert to the mean (the cloud) after a significant move.
3. **Breakout Trading
heaven rope Meta AI: Here's a brief description of a price action indicator that works similarly to the Super Moving Channel (SMC) indicator:
Indicator Name: Moving Average Cloud (MAC)
*Description:*
The Moving Average Cloud (MAC) is a price action indicator that combines multiple moving averages to create a "cloud" that surrounds the price action. This cloud acts as a dynamic support and resistance zone, helping traders identify trends, reversals, and potential trading opportunities.
*Key Components:*
1. *Multiple Moving Averages*: The MAC uses a combination of short-term and long-term moving averages to create the cloud.
2. *Cloud Formation*: The moving averages are plotted on the chart, creating a cloud-like formation that adapts to changing market conditions.
3. *Support and Resistance*: The cloud acts as a dynamic support and resistance zone, helping traders identify potential trading opportunities.
*Trading Strategies:*
1. *Trend Following*: Use the MAC to identify the trend direction and follow it.
2. *Mean Reversion*: Look for price action to revert to the mean (the cloud) after a significant move.
3. *Breakout Trading*: Trade breakouts from the cloud, using the cloud as a reference point for support and resistance.
The Moving Average Cloud (MAC) indicator provides a unique perspective on price action, helping traders make more informed decisions.
Meta AI: Here's a brief description of a price action indicator that works similarly to the Super Moving Channel (SMC) indicator:
Indicator Name: Moving Average Cloud (MAC)
*Description:*
The Moving Average Cloud (MAC) is a price action indicator that combines multiple moving averages to create a "cloud" that surrounds the price action. This cloud acts as a dynamic support and resistance zone, helping traders identify trends, reversals, and potential trading opportunities.
*Key Components:*
1. *Multiple Moving Averages*: The MAC uses a combination of short-term and long-term moving averages to create the cloud.
2. *Cloud Formation*: The moving averages are plotted on the chart, creating a cloud-like formation that adapts to changing market conditions.
3. *Support and Resistance*: The cloud acts as a dynamic support and resistance zone, helping traders identify potential trading opportunities.
*Trading Strategies:*
1. *Trend Following*: Use the MAC to identify the trend direction and follow it.
2. *Mean Reversion*: Look for price action to revert to the mean (the cloud) after a significant move.
3. **Breakout Trading
//@version=5 indicator("5 Supertrend with Custom Settings", overAynı anda beş farklı zaman verisini görebilirsiniz.
High-Low Breakout its about high & low of the candle stick pattern he highest high of the last 3 candles is broken then buy, and sell signals when the lowest low of the last 3 candles is broken then sell. after buy when trend changes than give other signal
Abdulelah Eid//@version=5
strategy("VWAP and MA Strategy with Volume Confirmation - Customizable", overlay=true)
// إعدادات VWAP
vwapSource = input.source(title="VWAP Source", defval=hlc3)
// إعدادات المتوسطات المتحركة
ma20Length = input.int(title="MA20 Length", defval=20)
ma50Length = input.int(title="MA50 Length", defval=50)
// إعدادات حجم التداول
volumeMultiplier = input.float(title="Volume Multiplier", defval=1.5)
// حساب VWAP
vwap = ta.vwap(vwapSource, volume)
// حساب المتوسطات المتحركة
ma20 = ta.sma(close, ma20Length)
ma50 = ta.sma(close, ma50Length)
// شروط الشراء
longCondition = close > vwap and ma20 > ma50 and volume > ta.sma(volume, 20) * volumeMultiplier
// شروط البيع
shortCondition = close < vwap and ma20 < ma50 and volume > ta.sma(volume, 20) * volumeMultiplier
// رسم VWAP والمتوسطات المتحركة
plot(vwap, color=color.blue, title="VWAP")
plot(ma20, color=color.red, title="MA20")
plot(ma50, color=color.green, title="MA50")
// رسم إشارات الدخول والخروج (باستخدام plotchar)
plotchar(longCondition, char="كول", location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotchar(shortCondition, char="بوت", location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// أوامر الدخول والخروج (اختياري)
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
123@123@. //@version=5
strategy("VWAP and MA Strategy with Volume Confirmation - Customizable", overlay=true)
// إعدادات VWAP
vwapSource = input.source(title="VWAP Source", defval=hlc3)
// إعدادات المتوسطات المتحركة
ma20Length = input.int(title="MA20 Length", defval=20)
ma50Length = input.int(title="MA50 Length", defval=50)
// إعدادات حجم التداول
volumeMultiplier = input.float(title="Volume Multiplier", defval=1.5)
// حساب VWAP
vwap = ta.vwap(vwapSource, volume)
// حساب المتوسطات المتحركة
ma20 = ta.sma(close, ma20Length)
ma50 = ta.sma(close, ma50Length)
// شروط الشراء
longCondition = close > vwap and ma20 > ma50 and volume > ta.sma(volume, 20) * volumeMultiplier
// شروط البيع
shortCondition = close < vwap and ma20 < ma50 and volume > ta.sma(volume, 20) * volumeMultiplier
// رسم VWAP والمتوسطات المتحركة
plot(vwap, color=color.blue, title="VWAP")
plot(ma20, color=color.red, title="MA20")
plot(ma50, color=color.green, title="MA50")
// رسم إشارات الدخول والخروج (باستخدام plotchar)
plotchar(longCondition, char="كول", location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotchar(shortCondition, char="بوت", location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// أوامر الدخول والخروج (اختياري)
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
ATR news targetThis indicator is based on the calculation of the ATR and the use of multipliers to define specific price levels. It is crucial that it is fixed to the price axis.
During periods of high volatility, such as during the release of macroeconomic data, it is essential to understand the magnitude of price movements.
By multiplying the ATR (customizable period) by specific multipliers (customizable variables), exit targets (stop loss and take profit) are determined based on the current volatility, ensuring greater adaptability to the market.
The directionality will be determined by the news, but thanks to the indicator (calculated on the last closed candle), you will have the ability to precisely determine stop loss, take profit, and retracement points.
Enhanced Spread MonitorThis indicator helps you monitor market spreads and identify potential trading opportunities by analyzing spread behavior, market liquidity, and volatility across multiple exchanges. It's particularly useful for crypto traders looking for market inefficiencies or arbitrage opportunities.
Visuals:
-Blue Line: The real-time spread, enhanced by market conditions
-Orange Line: A smoothed threshold that helps identify unusual spread levels
-Red Background: Appears when the spread exceeds the threshold, signaling a potential opportunity
Key Features:
Multi-Exchange Monitoring
-Can track up to 3 different exchanges/markets
-Option to view individual or aggregated spreads
-Useful for spotting arbitrage opportunities between venues
Enhanced Spread Detection
-Automatically amplifies the spread when liquidity is low
-Increases sensitivity during volatile periods
-Helps identify true trading costs beyond the simple bid-ask spread
How to Configure:
Symbol Settings
-Choose up to three markets to monitor
-Enable "Aggregate Multiple Symbols" to see a volume-weighted combined view
Market Impact Factor (Depth Settings)
-Default: 0.5
-Higher values (>1.0): More sensitive to low liquidity
-Lower values (<0.5): More conservative spread estimation
Volatility Settings
-Short-term Volatility: React to immediate market changes
-Long-term Volatility: Establish baseline market behavior
-Recommended: Keep long-term 3-5x larger than short-term
Threshold Settings
-Historical Lookback: How much history to consider (500 bars recommended)
-Threshold Smoothing: Stability of the threshold line (14 default)
-Std Dev Multiplier: How extreme spreads need to be for signals (2.0 default)
Trading Application:
-Watch for red background highlighting - these are potential opportunities
Consider trading when:
-Spread exceeds threshold significantly
-Multiple exchanges show similar patterns
-Market conditions suggest the spread is due to real inefficiencies
Be cautious when:
-High volatility is the main driver of spread increases
-Only one exchange shows unusual spread behavior
-Market depth is very low (might be hard to execute)
Risk Management:
-Large spreads during low liquidity might indicate difficult trading conditions
-Verify actual executable prices before trading
-Consider exchange fees and withdrawal costs for arbitrage
Pro Stock Scanner + MACD# Pro Stock Scanner - Advanced Trading System
### Professional Scanning System Combining MACD, Momentum & Technical Analysis
## 🎯 Indicator Purpose
This indicator was developed to identify high-quality trading opportunities by combining:
- Strong positive momentum
- Clear technical trend
- Significant trading volume
- Precise MACD signals
## 💡 Core Mechanics
The indicator is based on three core components:
### 1. Advanced MACD Analysis (40%)
- MACD line crossover tracking
- Momentum strength measurement
- Positive/negative divergence detection
- Score range: 0-40 points
### 2. Trend Analysis (40%)
- Moving average relationships (MA20, MA50)
- Primary trend direction
- Current trend strength
- Score range: 0-40 points
### 3. Volume Analysis (20%)
- Comparison with 20-day average volume
- Volume breakout detection
- Score range: 0-20 points
## 📊 Scoring System
Total score (0-100) composition:
```
Total Score = MACD Score (40%) + Trend Score (40%) + Volume Score (20%)
```
### Score Interpretation:
- 80-100: Strong Buy Signal 🔥
- 65-79: Developing Bullish Trend ⬆️
- 50-64: Neutral ↔️
- 0-49: Technical Weakness ⬇️
## 📈 Chart Markers
1. **Large Blue Triangle**
- High score (80+)
- Positive MACD
- Bullish MACD crossover
2. **Small Triangles**
- Green: Bullish MACD crossover
- Red: Bearish MACD crossover
## 🎛️ Customizable Parameters
```
MACD Settings:
- Fast Length: 12
- Slow Length: 26
- Signal Length: 9
- Strength Threshold: 0.2%
Volume Settings:
- Threshold: 1.5x average
```
## 📱 Information Panel
Real-time display of:
1. Total Score
2. MACD Score
3. MACD Strength
4. Volume Score
5. Summary Signal
## ⚙️ Optimization Guidelines
Recommended adjustments:
1. **Bull Market**
- Decrease MACD sensitivity
- Increase volume threshold
- Focus on trend strength
2. **Bear Market**
- Increase MACD sensitivity
- Stricter trend conditions
- Higher score requirements
## 🎯 Recommended Trading Strategy
### Phase 1: Initial Scan
1. Look for 80+ total score
2. Verify sufficient trading volume
3. Confirm bullish MACD crossover
### Phase 2: Validation
1. Check long-term trend
2. Identify nearby resistance levels
3. Review earnings calendar
### Phase 3: Position Management
1. Set clear stop-loss
2. Define realistic profit targets
3. Monitor score changes
## ⚠️ Important Notes
1. This indicator is a supplementary tool
2. Combine with fundamental analysis
3. Strict risk management is essential
4. Not recommended for automated trading
## 📈 Usage Examples
Examples included:
1. Successful buy signal
2. Trend reversal identification
3. False signal analysis and lessons learned
## 🔄 Future Updates
1. RSI integration
2. Advanced alerts
3. Auto-optimization features
## 🎯 Key Benefits
1. Clear scoring system
2. Multiple confirmation layers
3. Real-time market feedback
4. Customizable parameters
## 🚀 Getting Started
1. Add indicator to chart
2. Adjust parameters if needed
3. Monitor information panel
4. Wait for strong signals (80+ score)
## 📊 Performance Metrics
- Success rate: Monitor and track
- Best performing in trending markets
- Optimal for swing trading
- Most effective on daily timeframe
## 🛠️ Technical Details
```pine
// Core components
1. MACD calculation
2. Volume analysis
3. Trend confirmation
4. Score computation
```
## 💡 Pro Tips
1. Use multiple timeframes
2. Combine with support/resistance
3. Monitor sector trends
4. Consider market conditions
## 🤝 Support
Feedback and improvement suggestions welcome!
## 📜 License
MIT License - Free to use and modify
## 📚 Additional Resources
- Recommended timeframes: Daily, 4H
- Best performing markets: Stocks, ETFs
- Optimal market conditions: Trending markets
- Risk management guidelines included
## 🔍 Final Notes
Remember:
- No indicator is 100% accurate
- Always use proper position sizing
- Combine with other analysis tools
- Practice proper risk management
// @version=5
// @description Pro Stock Scanner - Advanced trading system combining MACD, momentum and volume analysis
// @author AviPro
// @license MIT
//
// This indicator helps identify high-quality trading opportunities by analyzing:
// 1. MACD momentum and crossovers
// 2. Trend strength and direction
// 3. Volume patterns and breakouts
//
// The system provides:
// - Total score (0-100)
// - Visual signals on chart
// - Information panel with key metrics
// - Customizable parameters
//
// IMPORTANT: This indicator is for educational and informational purposes only.
// Always conduct your own analysis and use proper risk management.
//
// If you find this indicator helpful, please consider leaving a like and comment!
// Feedback and suggestions for improvement are always welcome.
Category SpaghettiThis indicator aims to analyze the strength and weakness between categories by grouping multiple symbols into a single category, calculating the geometric or weighted average rate of change over a specified period, and displaying it as a Spaghetti Chart.
On the left side of the screen, it displays the rate of change for each category, while on the right side, it shows the rate of change for symbols belonging to the selected category.
The indicator is computationally heavy as it can draw up to 10 symbols per category and up to 20 categories. You can slightly improve performance by reducing the number of bars loaded in the Performance Settings.
#################### Settings Description ####################
Calculation Method
You can select either the geometric average or the weighted average.
When the Weighting option is checked, the calculation uses "symbol*weight," enabling weighting for the symbols.
ROC Period
Select the calculation period for the rate of change.
If a symbol included in the calculation period is newly listed or delisted, the result will be NaN.
Date and Time
When checked, the rate of change is calculated from the specified date and time.
Base Symbol Basis Chart
When checked, the rate of change is displayed based on the base symbol specified in Base Symbol.
Highlight
When checked, only the categories specified by numbers in the text box are highlighted.
Separate the numbers with commas.
==================== Symbols Table Settings ====================
Symbols Table
When checked, the Symbols Table is displayed on the right side of the screen.
Select Category
Displays the rate of change for the symbols belonging to the selected category.
Display Limit
When checked, switches the display of the rate of change from all entries to only the top or bottom symbols based on the selected count.
Text Size
Adjusts the text size in the table.
==================== Category Table Settings ====================
Category Table
When checked, the Category Table is displayed on the left side of the screen.
Other settings are similar to the Symbols Table Settings.
==================== Category Settings ====================
Base Symbol
Sets the symbol used for comparison in each category.
The settings include an ON/OFF checkbox, symbol name, color, and line thickness.
Category setting field
The settings include an ON/OFF checkbox, category name, color, line thickness, and a text area below.
In the text area, enter the symbols that make up the category, one per line, in the format "symbol" or "symbol*weight", ensuring each entry is on a new line.
You can register up to 10 symbols per category; registering more than 11 symbols will result in an error.
==================== Color Settings ====================
Table Text
Sets the text color in the table.
Table Background
Sets the table background color.
Positive
Sets the display color when the rate of change is positive.
Negative
Sets the display color when the rate of change is negative.
Reset Line
When checked, a vertical line is drawn at points where the calculation period changes.
Label Shift
Specifies the position of the category name labels displayed on the right side of the Spaghetti Chart.
==================== Performance Settings ====================
Request Bars Count
Sets the number of candlesticks to be called for rate of change calculations.
The smaller the number, the lighter the processing load is expected to be.
----------------------------------------------------------------------------------------------
このインジケーターは、複数のシンボルを一つのカテゴリーにまとめて指定した期間の幾何平均または加重平均騰落率を計算し、Spaghetti Chartとして描画することで、カテゴリー間の強弱の分析を目的としています。
画面左側に各カテゴリーの騰落率、右側に指定したカテゴリーに属するシンボルの騰落率を表示しています。
カテゴリーあたり最大10シンボル、最大20カテゴリーを描画するため、インジケーターの動作が非常に重くなります。
設定のPerformance Settingsから読み込むBarsの数を減らすことで動作が少しだけ軽量になります。
#################### 設定の説明 ####################
Calculation Method
幾何平均と加重平均を選択できます。
Weightingにチェックを入れると「symbol*weight」となり、計算時にシンボルの重み付けが有効になります。
ROC Period
騰落率の計算期間を選択します。
計算期間中に新規上場または上場廃止したシンボルが含まれる場合、計算結果はNaNとなります。
Date and Time
チェックを入れると指定した日時からの騰落率を計算します。
Base Symbol Basis Chart
チェックを入れるとBase Symbolで設定したシンボル基準での騰落率を表示します。
Highlight
チェックを入れるとテキストボックスで指定した番号のカテゴリーのみがハイライトされます。
番号はカンマで区切ってください。
==================== Symbols Table Settings ====================
Symbols Table
チェックを入れると画面右側のSymbols Tableを表示します。
Select Category
選択した番号のカテゴリーに属するシンボルの騰落率を表示します。
Display Limit
チェックを入れると騰落率を全件表示から選択した件数の上位下位のみ表示に切り替えます。
Text Size
テーブルのテキストサイズを変更します。
==================== Category Table Settings ====================
Category Table
チェックを入れると画面左側のCategory Tableを表示します。
他の設定はSymbols Table Settingsと同様です。
==================== Category Settings ====================
Base Symbol
各カテゴリーの比較対象となるシンボルを設定します。
設定は左からON/OFFチェックボックス、シンボル名、色、ラインの太さです。
Category setting field
設定は左からON/OFFチェックボックス、カテゴリー名、色、ラインの太さ、下の段のテキストエリアはカテゴリーを構成するシンボルを入力します。
テキストエリアは、一行ごとに「symbol」または「symbol*weight」のように記述し、必ず改行を行ってください。
最大10シンボルまで登録可能で、11シンボル以上登録するとエラーになります。
==================== Color Settings ====================
Table Text
テーブルのテキストカラーです。
Table Background
テーブルの背景色です。
Positive
騰落率がプラスの時の表示色です。
Negative
騰落率がマイナスの時の表示色です。
Reset Line
チェックを入れると計算期間が切り替えるポイントに縦線を描画します。
Label Shift
Spaghetti Chartの右側に表示するカテゴリー名のラベル位置を指定します。
==================== Performance Settings ====================
Request Bars Count
騰落率計算時に呼び出すローソク足の本数です。
数値が小さいほど動作が軽量になるはずです。
Price Analysis with Custom LookbackThis TradingView indicator analyzes price data over a customizable lookback period to identify key metrics:
The highest daily close, representing the peak closing price during the specified period.
The highest wick, showing the maximum price reached within the same timeframe.
The lowest daily close, indicating the lowest closing price.
The lowest wick, reflecting the minimum price reached during the lookback period.
The indicator is useful for traders looking to understand recent price extremes and ranges. It provides a visual representation of these metrics on the chart, with customizable settings for the analysis period.
Hezy Levels {Darkoexe}This indicator plots area's of hesitation as price levels on the chart or at least perceived areas of hesitation. I call them "hezy levels". Area's of hesitation are defined as being price levels where price usually has trouble displacing through. Either price will displace through them with hesitation or price will reject off that level.
Each hezy level starts with an attribute "chance" when they are first formed that has the value 3. If price breaks clean through a hezy level, the hezy levels integrity will decrease which will decrement chance by 1. If price rejects off a hezy level, the hezy levels integrity will increase which will increment chance by 1. All hezy levels start orange. If chance reaches a value of 5, it's corresponding hezy level will be changed to blue, if chance reaches a value of 1 its corresponding hezy level will be changed to pink, and if chance reaches a value of 0, the hezy level will be deleted with all its attributes.
Creating a hezy level:
After a candle close, if the script detects a clean rejection at a price point it will search up to 5000 bars back for the most recent area of rejection that happened at that same relative price point. If the script does find rejection at that price point, then the script will ensure that the potential hezy level is valid between the past rejecting price point and the current rejecting price point. If it is valid, the script then ensures the hezy level does not already exist at the relative specified price point, if it does no hezy level will be added. If it does not already exist, if there's a hezy level close to the price point, a new hezy level will be created between the price point and the hezy level and the upper, lower or both hezy level will be deleted.
Factors:
ATR same price factor is the range from a hezy level that is considered the same price level. The factor is multiplied with the ATR to determine the range.
ATR same hezy factor is the range from a hezy level that is considered the same hezy level. This means if there's another hezy level in that range, they are considered the same hezy level and will be merged. The factor is multiplied with the ATR to determine the range.
ATR same break hezy factor is the range from a hezy level where if the close of a candle and the open of a candle are outside the range, then the hezy level will have been considered broken. The factor is multiplied with the ATR to determine the range.
Hammer Ratio:
This indicator considers hammers/shooting stars for hesitation, so if one of these types of candles form near a hezy level, that hezy levels integrity may increase. The ratio is based on the size of the body compared to the entire candle top to bottom. If the body is entirely contained on one side of the candle with a margin of error of the ratio, then that candle will be considered a hammer or shooting star.
HOD/LOD/PMH/PML/PDH/PDL Strategy by @tradingbauhaus This script is a trading strategy @tradingbauhaus designed to trade based on key price levels, such as the High of Day (HOD), Low of Day (LOD), Premarket High (PMH), Premarket Low (PML), Previous Day High (PDH), and Previous Day Low (PDL). Below, I’ll explain in detail what the script does:
Core Functionality of the Script:
Calculates Key Price Levels:
HOD (High of Day): The highest price of the current day.
LOD (Low of Day): The lowest price of the current day.
PMH (Premarket High): The highest price during the premarket session (before the market opens).
PML (Premarket Low): The lowest price during the premarket session.
PDH (Previous Day High): The highest price of the previous day.
PDL (Previous Day Low): The lowest price of the previous day.
Draws Horizontal Lines on the Chart:
Plots horizontal lines on the chart for each key level (HOD, LOD, PMH, PML, PDH, PDL) with specific colors for easy visual identification.
Defines Entry and Exit Rules:
Long Entry (Buy): If the price crosses above the PMH (Premarket High) or the PDH (Previous Day High).
Short Entry (Sell): If the price crosses below the PML (Premarket Low) or the PDL (Previous Day Low).
Long Exit: If the price reaches the HOD (High of Day) during a long position.
Short Exit: If the price reaches the LOD (Low of Day) during a short position.
How the Script Works Step by Step:
Calculates Key Levels:
Uses the request.security function to fetch the HOD and LOD of the current day, as well as the highs and lows of the previous day (PDH and PDL).
Calculates the PMH and PML during the premarket session (before 9:30 AM).
Plots Levels on the Chart:
Uses the plot function to draw horizontal lines on the chart representing the key levels (HOD, LOD, PMH, PML, PDH, PDL).
Each level has a specific color for easy identification:
HOD: White.
LOD: Purple.
PDH: Orange.
PDL: Blue.
PMH: Green.
PML: Red.
Defines Trading Rules:
Uses conditions with ta.crossover and ta.crossunder to detect when the price crosses key levels.
Long Entry: If the price crosses above the PMH or PDH, a long position (buy) is opened.
Short Entry: If the price crosses below the PML or PDL, a short position (sell) is opened.
Long Exit: If the price reaches the HOD during a long position, the position is closed.
Short Exit: If the price reaches the LOD during a short position, the position is closed.
Executes Orders Automatically:
Uses the strategy.entry and strategy.close functions to open and close positions automatically based on the defined rules.
Advantages of This Strategy:
Based on Key Levels: Uses important price levels that often act as support and resistance.
Easy to Visualize: Horizontal lines on the chart make it easy to identify levels.
Automated: Entries and exits are executed automatically based on the defined rules.
Limitations of This Strategy:
Dependent on Volatility: Works best in markets with significant price movements.
False Crosses: There may be false crosses that generate incorrect signals.
No Advanced Risk Management: Does not include dynamic stop-loss or take-profit mechanisms.
How to Improve the Strategy:
Add Stop-Loss and Take-Profit: To limit losses and lock in profits.
Filter Signals with Indicators: Use RSI, MACD, or other indicators to confirm signals.
Optimize Levels: Adjust key levels based on the asset’s behavior.
In summary, this script is a trading strategy that operates based on key price levels, such as HOD, LOD, PMH, PML, PDH, and PDL. It is useful for traders who want to trade based on significant support and resistance levels.