Furious PivotsSimple script marking out quarter points plus weekly and daily highs and lows! pretty damn useful
Pesquisar nos scripts por "weekly"
[astropark] price levels lightDear Followers,
today I'm glad to present you an light version indicator of my "price levels" one that you can see here below:
It's a great analysis tool, for both scalpers, day traders and swing traders, and it works on every timeframe, market and pair .
I suggest you so check-out previous version indicator's description to understand how to use it and why such a tool may be important for your trading journey.
This light indicator puts the focus on following values only:
Monday Range (High - Low - Mid Range)
Weekly Open (which is also Monday Open)
Monthly Open
Yearly Open
Yearly Range (High - Low)
Besides it's a light version, it comes with a nice feature, enabled by default: shows only latest value of each type!
This way you will have a very clean chart, as you can skip to see previous not anymore important values, focusing on latest ones.
As in the not-light version, you can:
choose price levels to hide and show
change each level color / thickness / display style (solid or dotted)
choose to show or hide price labels and change their size
This is a premium indicator , so send me a private message in order to get access to this script.
Mtl Weekly This Pine Script indicator for TradingView calculates and plots a line on the weekly chart, representing the average of the weekly high and low prices. The script uses conditional statements to determine and update the weekly high and low values. The calculated average is then plotted as a line on the chart in blue color. This indicator helps visualize the central point between weekly highs and lows, providing insights into potential trend directions.
Previous Day, Week, Month High/Low Line IndicatorMade a line indicator for previous Daily Weekly & Monthly High / Low. You can use all 3 (D,W,M) or just one by editing the settings.
Pivot Point Std With CPR,2 EMA,MW S R,P Day H L - by AnanthPivot Point Std With CPR,2 EMA,Monthly Weekly Support Resistance,Previous Day High and Low - by Ananth
MAGNUS® CyclesThis indicator will help you if you struggle making any profit in bitcoin.
It generates very few signals with very nice profit potential ( around 100% this year ! ).
Perfect tool for longterm swing traders and new traders that need help figuring out the midterm trend.
Use it with these parameters only:
weekly: 13, 5, 12
daily: 92, 21, 96
BTC Prophet Of The Weekly MarketBTC Prophet Of The Weekly Market — Advanced Weekly Bitcoin Signal Suite
Overview
BTC Prophet Of The Weekly Market is a comprehensive weekly timeframe indicator designed to identify significant Bitcoin accumulation and distribution opportunities. By combining on-chain valuation models, long-term momentum readings, and volume-adjusted baselines, this tool provides high-confidence signals that reflect deep market behavior rather than short-term volatility. This indicator is accurate and combines accumulation and distribution processes.
What It Does
This indicator evaluates Bitcoin market conditions using a multi-layered analytical framework that includes:
1. On-Chain Valuation Metrics
-- Market Capitalization and Realized Market Capitalization are retrieved daily and contextualized within historical valuation ranges.
-- A custom Cost Basis Valuation Delta (CVDD) model helps define zones of potential undervaluation or overheated conditions.
2. Dynamic Momentum Analysis
-- Utilizes a dual-layer EMA system inspired by momentum oscillators to gauge the directional bias of price relative to recent trends.
-- Incorporates RSI-based thresholds to estimate whether market sentiment is oversold or overbought.
3. Volume-Adjusted Filters
-- Integrates a smoothed moving average of network transaction volume to further refine signals and avoid excessive noise.
How It Works
BTC Prophet Of The Weekly Market classifies each weekly candle into one of three actionable signals:
1. MAX BUY (Solid Buy Signal)
Triggers under strict conditions combining:
-- Deep oversold momentum readings
-- Price trading below dynamic CVDD thresholds
-- Negative unrealized profit and loss environment
-- Candle closing in the lower range
-- This signal historically aligns with major accumulation opportunities.
2. Accumulation Buy Signal
Indicates a less stringent but still favorable accumulation environment where price trades in undervalued zones alongside moderate oversold momentum.
3. Distribution Sell Signal
Highlights probable distribution phases when:
-- Momentum readings are strongly overbought
-- Price exceeds volume-adjusted valuation zones
-- Unrealized profits reach elevated levels
-- This environment typically coincides with profit-taking and increased downside risk.
When signals are detected, the indicator dynamically plots clear, color-coded labels above or below price to mark actionable areas on the chart:
MAX BUY: Green label reading “MAX BUY”
Accumulation Buy: White upward arrow
Distribution Sell: Red label reading “SELL”
How To Use It
1. Confirm Settings
The indicator is built specifically for weekly BTC pairs (BTCUSD, BTCUSDT, BTCUSDC). Using other pairs or timeframes will disable signals.
2. Interpret Signals
-- MAX BUY: Considered the highest conviction accumulation zone.
-- Accumulation Buy: Indicates conditions favoring gradual allocation.
-- Distribution Sell: Suggests a high-probability exit or hedging environment.
3. Integrate With Strategy
Use signals to time long-term entries or exits.
Combine with broader market analysis, portfolio goals, and risk management plans.
Why It Is Unique
1. Multi-Factor Analysis
Merges momentum, valuation, and volume into a single system.
2. Timeframe Specificity
Optimized exclusively for the weekly chart to capture primary trends.
3. Strict Filtering Logic
Incorporates multiple conditions to reduce false positives and emphasize only meaningful shifts in market structure.
4. Clear Visual Labels
Makes it easy to recognize signals without clutter.
Apply Risk Management
This indicator does not provide investment advice and is not a standalone trading system. Signals should be used as part of a disciplined process that includes:
-- Additional technical and fundamental analysis
-- Defined entry and exit criteria
-- Careful position sizing and risk control
Timeframe Selection
Weekly timeframe only
Best Suited For
Long-term investors, swing traders, and portfolio managers who prefer to anchor decisions on macro-level signals supported by on-chain data and advanced momentum filters.
Important Notes
All signals and interpretations are for educational and informational purposes. Historical performance does not guarantee future results. You are solely responsible for all trading decisions.
License
Developed by the ProphetAlgoAI team. Use is subject to a private, invite-only TradingView license. Redistribution or unauthorized sharing is strictly prohibited.
S/R Zones (Daily and Weekly) from 1H CandlesS/R Zones (Daily and Weekly) from 1H Candles
🧠 Core Concept: Higher Timeframe Accuracy via Lower Timeframe Data
This indicator delivers high-precision daily and weekly support & resistance (S/R) zones by extracting price-weighted volume data from the 1H timeframe, taking these data into account: approximate POCs, volume spikes, price pivots, etc. Unlike traditional indicators based on current or higher timeframes, this method provides more accurate and responsive levels, ideal for traders focusing on retests, breakouts, and structure-based entries.
⚠ Important: Due to Pine Script limitations, this indicator must be applied on a 1H chart, even though it is intended for daily and weekly trading setups.
🚨 Usage Restrictions
✅ Apply this indicator ONLY on a 1H chart — use the zones for trading decisions on the daily or weekly timeframe.
❌ Do not apply directly on daily or weekly charts — it will not function correctly under current TradingView limitations.
🛠 How to Use It
Input trading hours per day and trading days per week in the indicator settings according to the asset being analysed.
Use the 1H chart for application, but base your trades on the daily or weekly S/R zones it reveals.
Best suited for crypto and tech stocks. May work for commodities and FX, but might require parameter adjustments for optimal performance.
🔍 Support & Resistance Categorisation
Zones are determined by analysing price-weighted volume behaviour on the 1H timeframe, with a 3-day or 3-week confirmation period required before a zone is plotted.
📦 Zone Colors & Labels
• Blue – Daily Support
• Orange – Daily Resistance
• Green – Weekly Support
• Red – Weekly Resistance
• Aqua – 4H Support
• Fuchsia – 4H Resistance
4H Zones are designed to help fine-tune entries/exits when daily or weekly zones are too wide. They are less reliable due to signal strength limitations and should be treated as secondary reference levels. Only the latest 4H zones are shown for clarity.
🔄 Dynamic Features
✅ Automatic Zone Adjustment
When a daily or weekly zone breaks (as detected via the 4H chart), the indicator automatically shifts to the next relevant historical zone just above or below the most recent 1H candle. This reduces guesswork and simplifies post-breakout analysis. You can customise the appearance of adjusted zones in the indicator settings.
✅ Expanded Zone History
Supports up to 100 historical daily and weekly zones, offering a broader view of market structure and context. This setting is adjustable in the indicator menu.
📊 Example in Action
ETH just broke a major weekly support and multiple daily supports — a clearly bearish signal. But where’s the next key level?
The indicator instantly reveals the next major support range (e.g., 1540–1650), helping you decide whether to:
• 📉 Take profits on short positions
• 📈 Re-enter long positions if signs of reversal appear
🧩 Final Thoughts
This tool is more than an S/R indicator — it acts as a signal generator for both long and short trades. It will soon be integrated into a comprehensive trading system, including a risk management module.
📢 Stay tuned for updates – and happy trading! 🚀
CandelaCharts - ICT Weekly Profiles Go (WPG) 📝 Overview
The indicator provides a pattern-based approach to the ICT Weekly Profiles, emphasizing a line that marks the Open, High, Low, and Close of the week. This line allows you to instantly visualize and identify the Weekly Profile.
ICT Weekly Profiles are structured conceptual frameworks designed to outline typical patterns of price behavior over the course of a trading week. These profiles serve as analytical tools, offering traders insights into recurring market tendencies and helping them identify potential opportunities and risks.
The toolkit automatically detects and marks these Weekly Profiles on the chart, enabling traders to quickly pinpoint critical zones for analysis and decision-making.
📦 Features
The Block Concepts toolkit offers a comprehensive set of features designed to enhance trading precision and decision-making. Key features include:
Weekly Profiles (8)
Advanced Styling
Scanner
The indicator supports the following profiles:
ICT Weekly Profiles
Classic Tuesday Low Of The Week Bullish
Classic Tuesday High Of The Week Bearish
Wednesday Low Of The Week Bullish
Wednesday High Of The Week Bearish
Consolidation Thursday Reversal Bullish
Consolidation Thursday Reversal Bearish
Consolidation Midweek Rally Bullish
Consolidation Midweek Rally Bearish
⚙️ Settings
History: Controls how many profiles are displayed on the chart.
Timeframe Limit: Sets the timeframe up to which profiles will be drawn.
Show OHLC Lines: Display the lines for OHLC.
Show Profile Line: Display the Weekly Profile line.
Use NY Midnight Open: Controls from where a profile will start detection.
Open: Style for Open line.
High: Style for High line.
Low: Style for Low line.
Midline: Style for Profile Midline.
Label: Controls the position of the Weekly Profile name.
Scanner: Display the Scanner
⚡️ Showcase
ICT (Inner Circle Trader) weekly profile templates are analytical frameworks that categorize and describe typical patterns of price action observed during a trading week.
ICT Weekly Profiles
Scanner
📒 Usage
The primary objective of the ICT Weekly Profiles indicator is to provide traders with a comprehensive and actionable overview of the Weekly Previous, Current, and Future Profile. This allows traders to interpret market structure, anticipate price behavior, and align their trading decisions with higher time-frame trends.
Load the indicator on the chart
Enable Scanner
See the Predicted Profiles list
Predicted Profiles represent all potential scenarios for the current week, generated by a profile detection algorithm.
By visualizing potential outcomes through Predicted Profiles, the ICT Weekly Profiles indicator provides traders with a strategic edge, allowing them to remain flexible, prepared, and aligned with the most probable market movements.
🚨 Alerts
The indicator does not provide any alerts!
🔹 Notes
ICT Weekly Profiles
pbs.twimg.com
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
CandelaCharts - ICT Weekly Profiles📝 Overview
The indicator provides a pattern-based approach to the ICT Weekly Profiles, emphasizing a line that marks the Open, High, Low, and Close of the week. This line allows you to instantly visualize and identify the Weekly Profile.
The profile detection relies on the week’s high and low, delivering a clear and concise representation of the weekly profile.
ICT Weekly Profiles are structured conceptual frameworks designed to outline typical patterns of price behavior over the course of a trading week. These profiles serve as analytical tools, offering traders insights into recurring market tendencies and helping them identify potential opportunities and risks.
The ICT Weekly Profiles indicator offers two distinct types of profiles to provide a clearer understanding of weekly price action:
ICT Weekly Profiles
ICT Missing Weekly Profiles
The toolkit automatically detects and marks these ICT Weekly Profiles and ICT Missing Weekly Profiles on the chart, enabling traders to quickly pinpoint critical zones for analysis and decision-making.
📦 Features
The ICT Weekly Profiles toolkit offers a comprehensive set of features designed to enhance trading precision and decision-making. Key features include:
Weekly Profiles
Missing Weekly Profiles
Advanced Styling
Scanner
The indicator supports the following profiles:
ICT Weekly Profiles
Classic Tuesday Low Of The Week Bullish
Classic Tuesday High Of The Week Bearish
Wednesday Low Of The Week Bullish
Wednesday High Of The Week Bearish
Consolidation Thursday Reversal Bullish
Consolidation Thursday Reversal Bearish
Consolidation Midweek Rally Bullish
Consolidation Midweek Rally Bearish
Wednesday Weekly Reversal Bullish
Wednesday Weekly Reversal Bearish
Seek And Destroy Bullish Friday
Seek And Destroy Bearish Friday
ICT Missing Weekly Profiles
Monday Low Tuesday High Bullish
Monday High Tuesday Low Bearish
Monday Low Wednesday High Bullish
Monday High Wednesday Low Bearish
Monday Low Thursday High Bullish
Monday High Thursday Low Bearish
Tuesday Low Wednesday High Bullish
Tuesday High Wednesday Low Bearish
Tuesday Low Friday High Bullish
Tuesday High Friday Low Bearish
Wednesday Low Thursday High Bullish
Wednesday High Thursday Low Bearish
Monday Low Friday High Bullish
Monday Friday Bearish Rally
Monday High/Low Range
Tuesday High/Low Range
Wednesday High/Low Range
Thursday High/Low Range
Friday High/Low Range
⚙️ Settings
History: Controls how many profiles are displayed on the chart.
Timeframe Limit: Sets the timeframe up to which profiles will be drawn.
Show OHLC Lines: Display the lines for OHLC.
Show Profile Line: Display the Weekly Profile line.
Use NY Midnight Open: Controls from where a profile will start detection.
Open: Style for Open line.
High: Style for High line.
Low: Style for Low line.
Midline: Style for Profile Midline.
Label: Controls the position of the Weekly Profile name.
Scanner: Display the Scanner
⚡️ Showcase
ICT (Inner Circle Trader) weekly profile templates are analytical frameworks that categorize and describe typical patterns of price action observed during a trading week.
ICT Weekly Profiles
ICT Missing Weekly Profiles
Scanner
📒 Usage
The primary objective of the ICT Weekly Profiles indicator is to provide traders with a comprehensive and actionable overview of the Weekly Previous, Current, and Future Profile. This allows traders to interpret market structure, anticipate price behavior, and align their trading decisions with higher time-frame trends.
Load the indicator on the chart
Enable Scanner
See the Predicted Profiles list
Predicted Profiles represent all potential scenarios for the current week, generated by a profile detection algorithm.
By visualizing potential outcomes through Predicted Profiles, the ICT Weekly Profiles indicator provides traders with a strategic edge, allowing them to remain flexible, prepared, and aligned with the most probable market movements.
🚨 Alerts
The indicator does not provide any alerts!
🔹 Notes
ICT Weekly Profiles
pbs.twimg.com
ICT Missing Weekly Profiles
pbs.twimg.com
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
Daily Weekly Monthly Highs & Lows - Alerts !
1. Purpose
The script helps traders:
• Visualize the high and low levels for the previous daily, weekly, and monthly periods.
• Receive alerts when the current price crosses these levels.
• Identify key support and resistance zones based on historical highs and lows.
2. Key Features
User Inputs
The script offers customization options through input parameters:
• Daily Levels:
• Enable/disable displaying daily levels (Show Daily Levels).
• Customize the color for daily level lines (Daily Line Color).
• Weekly Levels:
• Enable/disable displaying weekly levels (Show Weekly Levels).
• Customize the color for weekly level lines (Weekly Line Color).
• Monthly Levels:
• Enable/disable displaying monthly levels (Show Monthly Levels).
• Customize the color for monthly level lines (Monthly Line Color).
3. Core Functionality
Level Calculations
The script retrieves the previous daily, weekly, and monthly highs and lows using the request.security() function:
• Daily High/Low: Taken from the previous day’s high and low.
• Weekly High/Low: Taken from the previous week’s high and low.
• Monthly High/Low: Taken from the previous month’s high and low.
Price Crossing Detection
For each level (daily, weekly, monthly), the script checks if the current high or low price has crossed:
• The previous high (triggering a “High Reached” alert).
• The previous low (triggering a “Low Reached” alert).
4. Visual Features
The script plots lines to represent the previous highs and lows:
• Daily Levels:
• Dashed lines for the previous daily high and low.
• Configurable color (Daily Line Color).
• Weekly Levels:
• Dashed lines for the previous weekly high and low.
• Configurable color (Weekly Line Color).
• Monthly Levels:
• Dashed lines for the previous monthly high and low.
• Configurable color (Monthly Line Color).
These lines extend forward by one bar for better visibility on the chart.
5. Alert Features
The script provides alerts for when the price crosses these levels:
• Daily Alerts:
• “Daily High Reached” when the current price crosses the previous daily high.
• “Daily Low Reached” when the current price crosses the previous daily low.
• Weekly Alerts:
• “Weekly High Reached” when the current price crosses the previous weekly high.
• “Weekly Low Reached” when the current price crosses the previous weekly low.
• Monthly Alerts:
• “Monthly High Reached” when the current price crosses the previous monthly high.
• “Monthly Low Reached” when the current price crosses the previous monthly low.
6. Practical Use Case
This script is ideal for traders who:
• Use support and resistance levels from daily, weekly, and monthly timeframes as part of their strategy.
• Want to monitor price interactions with these levels in real-time.
• Need automatic alerts for key price movements without continuously monitoring the chart.
7. Limitations
• Max Line Count: TradingView limits the number of lines that can be drawn on the chart to max_lines_count = 500.
• No Historical Levels: The script only tracks the most recent daily, weekly, and monthly levels and does not display historical levels.
DTT Weekly Volatility Grid [Pro+] (NINE/ANARR)Introduction:
Automate Digital Time Theory (DTT) Weekly Models with the DTT Weekly Volatility Grid , leveraging the proprietary framework developed by Nine and Anarr. This tool allows to navigate the advanced landscape of Time-based statistical trading for futures, crypto, and forex markets.
Description:
Built on the Digital Time Theory (DTT), this script provides traders with a structured view of time and price interactions, ideal for swing insights. It divides the weekly range into Time models and inner intervals, empowering traders with data-driven insights to anticipate market expansions, detect Time-based distortions, and understand volatility fluctuations at specific Times during the trading week.
Key Features:
Time-Based Weekly Models and Volatility Awareness: The DTT Weekly Time Models automatically map onto your chart, highlighting critical volatility points in weekly sessions. These models help traders recognize potential shifts in the market, ideal for identifying larger, swing-oriented moves.
Average Model Range Probability (AMRP): The AMRP feature calculates the historical probability of reaching previous DTT Weekly Model Ranges. With AMRP and Standard Deviation metrics, traders can evaluate the likelihood of DTT model continuations or breaks, aligning their strategy with higher Timeframe volatility trends.
Root Candles and Liquidity Draws: Visualize Root Candles as liquidity draws, emphasizing premium and discount areas and marking the origin of a Time-based price movement. The tool allows traders to toggle features like opening prices and equilibrium points of each Root Candle. Observing accumulation or distribution zones around these candles provides crucial reference points for strategic swing entries and exits.
Extended Visualization of Weekly Model Ranges: Leverage previous weekly model ranges within the current Time model to observe historical high, low, and equilibrium levels. This feature aids traders in visualizing premium and discount ranges of prior models, pinpointing areas of liquidity and imbalance to watch.
Customization Options: Tailor Time intervals with a variety of line styles (solid, dashed, dotted) and colours to customize each model. Adjust settings to display specific historical weekly models, apply custom labels, and create a personalized view that suits your trading style and focus.
Lookback Periods and Model Count: Select customizable lookback periods to display past models, offering insights into market behaviour over a chosen historical range. This feature enables clean, organized charts and allows analysts to add more models for detailed backtesting and analysis.
Detailed Real-Time Data Table: The live data table provides easy access to AMRP and range data for selected models. This table highlights model targets and anticipated ranges, offering insights into whether previous models have exceeded historical volatility expectations or remained within them.
How Traders Can Use The DTT Weekly Volatility Grid Effectively:
Identifying Premium and Discount Zones: Track weekly ranges using Root Candles and previous model equilibrium levels to assess if prices are trading in premium or discount areas. This information helps framing the broader swing outlook.
Timing Trades Based on Volatility: Recognize potential exhaustion points through AMRP insights or completed model distortions that may signal new expansions. By observing inner intervals and Root Candles, traders can identify periods of high market activity, assisting in Timing weekly entries and exits.
Avoiding Low Volatility Phases: AMRP calculations can indicate periods when price action may slow or become choppy. If price remains within AMRP deviations or near them, traders can adjust risk or step aside, awaiting more favourable conditions for volatility-driven trades as new inner intervals or model roots appear.
Designed for Swing Traders and Higher Timeframes: The Weekly DTT Models are suited for those looking to study higher timeframe trends across futures, forex, and crypto markets. This tool equips traders with volatility-aware, and data-driven insights during extended market cycles.
Usage Guidance:
Add DTT Weekly Volatility Grid (NINE/ANARR) to your TradingView chart.
Customize your preferred time intervals, model history, and visual settings for your session.
Use the data table to track average model ranges and probabilities, ensuring you align your trades with key levels.
Incorporate DTT Weekly Volatility Grid (NINE/ANARR) into your existing strategies to fine-tune your view through based on data-driven insights into volatility and price behaviour.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
(Early Test) Weekly Seasonality with Dynamic Kelly Criterion# Enhancing Trading Strategies with the Weekly Seasonality Dynamic Kelly Criterion Indicator
Amidst this pursuit to chase price, a common pitfall emerges: an overemphasis on price movements without adequate attention to risk management, probabilistic analysis, and strategic position sizing. To address these challenges, I developed the **Weekly Seasonality with Dynamic Kelly Criterion Indicator**. It is designed to refocus traders on essential aspects of trading, such as risk management and probabilistic returns, thereby catering to both short-term swing traders and long-term investors aiming for tax-efficient positions.
## The Motivation Behind the Indicator
### Overemphasis on Price: A Common Trading Pitfall
Many traders concentrate heavily on price charts and technical indicators, often neglecting the underlying principles of risk management and probabilistic analysis. This overemphasis on price can lead to:
- **Overtrading:** Making frequent trades based solely on price movements without considering the associated risks.
- **Poor Risk Management:** Failing to set appropriate stop-loss levels or position sizes, increasing the potential for significant losses.
- **Emotional Trading:** Letting emotions drive trading decisions rather than objective analysis, which can result in impulsive and irrational trades.
### The Need for Balanced Focus
To achieve sustained trading success, it is crucial to balance price analysis with robust risk management and probabilistic strategies. Key areas of focus include:
1. **Risk Management:** Implementing strategies to protect capital, such as setting stop-loss orders and determining appropriate position sizes based on risk tolerance.
2. **Probabilistic Analysis:** Assessing the likelihood of various market outcomes to make informed trading decisions.
3. **Swing Trading Percent Returns:** Capitalizing on short- to medium-term price movements by buying assets below their average return and selling them above.
## Introducing the Weekly Seasonality with Dynamic Kelly Criterion Indicator
The **Weekly Seasonality with Dynamic Kelly Criterion Indicator** is designed to integrate these essential elements into a comprehensive tool that aids traders in making informed, risk-aware decisions. Below, we explore the key components and functionalities of this indicator.
### Key Components of the Indicator
1. **Average Return (%)**
- **Definition:** The mean percentage return for each week across multiple years.
- **Purpose:** Serves as a benchmark to identify weeks with above or below-average performance, guiding buy and sell decisions.
2. **Positive Percentage (%)**
- **Definition:** The proportion of weeks that yielded positive returns.
- **Purpose:** Indicates the consistency of positive returns, helping traders gauge the reliability of certain weeks for trading.
3. **Volatility (%)**
- **Definition:** The standard deviation of weekly returns.
- **Purpose:** Measures the variability of returns, providing insights into the risk associated with trading during specific weeks.
4. **Kelly Ratio**
- **Definition:** A mathematical formula used to determine the optimal size of a series of bets to maximize the logarithmic growth of capital.
- **Purpose:** Balances potential returns against risks, guiding traders on the appropriate position size to take.
5. **Adjusted Kelly Fraction**
- **Definition:** The Kelly Ratio adjusted based on user-defined risk tolerance and external factors like Federal Reserve (Fed) stance.
- **Purpose:** Personalizes the Kelly Criterion to align with individual risk preferences and market conditions, enhancing risk management.
6. **Position Size ($)**
- **Definition:** The calculated amount to invest based on the Adjusted Kelly Fraction.
- **Purpose:** Ensures that position sizes are aligned with risk management strategies, preventing overexposure to any single trade.
7. **Max Drawdown (%)**
- **Definition:** The maximum observed loss from a peak to a trough of a portfolio, before a new peak is attained.
- **Purpose:** Assesses the worst-case scenario for losses, crucial for understanding potential capital erosion.
### Functionality and Benefits
- **Weekly Data Aggregation:** Aggregates weekly returns across multiple years to provide a robust statistical foundation for decision-making.
- **Quarterly Filtering:** Allows users to filter weeks based on quarters, enabling seasonality analysis and tailored strategies aligned with specific timeframes.
- **Dynamic Risk Adjustment:** Incorporates the Dynamic Kelly Criterion to adjust position sizes in real-time based on changing risk profiles and market conditions.
- **User-Friendly Visualization:** Presents all essential metrics in an organized Summary Table, facilitating quick and informed decision-making.
## The Origin of the Kelly Criterion and Addressing Its Limitations
### Understanding the Kelly Criterion
The Kelly Criterion, developed by John L. Kelly Jr. in 1956, is a formula used to determine the optimal size of a series of bets to maximize the long-term growth of capital. The formula considers both the probability of winning and the payout ratio, balancing potential returns against the risk of loss.
**Kelly Formula:**
\
Where:
- \( b \) = the net odds received on the wager ("b to 1")
- \( p \) = probability of winning
- \( q \) = probability of losing ( \( q = 1 - p \) )
### The Risk of Ruin
While the Kelly Criterion is effective in optimizing growth, it carries inherent risks:
- **Overbetting:** If the input probabilities or payout ratios are misestimated, the Kelly Criterion can suggest overly aggressive position sizes, leading to significant losses.
- **Assumption of Constant Probabilities:** The criterion assumes that probabilities remain constant, which is rarely the case in dynamic markets.
- **Ignoring External Factors:** Traditional Kelly implementations do not account for external factors such as Federal Reserve rates, margin requirements, or market volatility, which can impact risk and returns.
### Addressing Traditional Limitations
Recognizing these limitations, the **Weekly Seasonality with Dynamic Kelly Criterion Indicator** introduces enhancements to the traditional Kelly approach:
- **Incorporation of Fed Stance:** Adjusts the Kelly Fraction based on the current stance of the Federal Reserve (neutral, dovish, or hawkish), reflecting broader economic conditions that influence market behavior.
- **Margin and Leverage Considerations:** Accounts for margin rates and leverage, ensuring that position sizes remain within manageable risk parameters.
- **Dynamic Adjustments:** Continuously updates position sizes based on real-time risk assessments and probabilistic analyses, mitigating the risk of ruin associated with static Kelly implementations.
## How the Indicator Aids Traders
### For Short-Term Swing Traders
Short-term swing traders thrive on capitalizing over weekly price movements. The indicator aids them by:
- **Identifying Favorable Weeks:** Highlights weeks with above-average returns and favorable volatility, guiding entry and exit points.
- **Optimal Position Sizing:** Utilizes the Adjusted Kelly Fraction to determine the optimal amount to invest, balancing potential returns with risk exposure.
- **Probabilistic Insights:** Provides metrics like Positive Percentage (%) and Kelly Ratio to assess the likelihood of favorable outcomes, enhancing decision-making.
### For Long-Term Tax-Free Investors
This is effectively a drop-in replacement for DCA which uses fixed position size that doesn't change based on market conditions, as a result, it's like catching multiple falling knifes by the blade and smiling with blood on your hand... I don't know about you, but I'd rather juggle by the hilt and look like an actual professional...
Long-term investors, especially those seeking tax-free positions (e.g., through retirement accounts), benefit from:
- **Consistent Risk Management:** Ensures that position sizes are aligned with long-term capital preservation strategies.
- **Seasonality Analysis:** Allows for strategic positioning based on historical performance trends across different weeks and quarters.
- **Dynamic Adjustments:** Adapts to changing market conditions, maintaining optimal risk profiles over extended investment horizons.
### Developers
Please double check the logic and functionality because I think there are a few issue and I need to crowd source solutions and be responsible about the code I publish. If you have corrections, please DM me or leave a respectful comment.
I want to publish this by the end of the year and include other things like highlighting triple witching weeks, adding columns for volume % stats, VaR and CVaR, alpha, beta (to see the seasonal alpha and beta based off a benchmark ticker and risk free rate ticker and other little goodies.
Master Accumulation Weekly Buy SignalsMaster Accumulation Weekly Buy Signals
The Master Accumulation Weekly Buy Signals indicator is designed to help traders identify potential buy opportunities based on the accumulation and distribution of volume, with a primary focus on weekly timeframes. This indicator combines the On Balance Volume (OBV) and the Accumulation/Distribution (AD) indicators to generate buy signals when both metrics show a decline.
Key Features:
Percentage Change Calculation: Calculates the percentage change in OBV and AD over a specified length tailored to weekly timeframes.
Timeframe Adaptability: While optimized for weekly timeframes, the indicator can also adjust to daily and monthly charts.
Volume Validation: Ensures that volume data is available and valid for accurate calculations.
Buy Signals: Generates buy signals when both OBV and AD percentage changes are negative, indicating potential accumulation by informed traders.
Visual Alerts: Plots buy signal triangles below the price bars on the main chart for easy identification.
How It Works:
On Balance Volume (OBV): Tracks the cumulative volume, considering the direction of price changes, and calculates the percentage change over the specified period, primarily for weekly analysis.
Accumulation/Distribution (AD): Measures the flow of volume into or out of a security, considering the relationship between the closing price and the high-low range, and calculates the percentage change over the specified period, primarily for weekly analysis.
Buy Signal Generation: A buy signal is generated when both OBV and AD show a negative percentage change, suggesting a potential buying opportunity.
How to Use:
Apply the indicator to your chart and select the weekly timeframe for optimal performance.
Look for buy signal triangles that appear below the price bars on the main chart.
Use the buy signals as part of your broader trading strategy, confirming them with other technical analysis tools and indicators.
Important Note:
This indicator is a tool to assist in identifying potential buy signals based on volume accumulation patterns. It is primarily designed for weekly timeframes and should not be used as a standalone trading strategy. Always perform comprehensive analysis and consider risk management practices before making any trading decisions.
This description highlights the indicator's primary focus on weekly timeframes while providing comprehensive information about its features and usage.
THIS IS TEST ONLY*******
RD Key Levels (Weekly, Daily, Previous vWAP)The RexDog Key Levels indicator plots the weekly open, daily open, and the previous day vWAP close.
These are all critical price levels (zones) to know when trading any market or instrument. These areas are also high probability reaction areas that you can trade using simple confirmation trading patterns.
First, I'll cover an overview of the indicator then I'll share general usage tips.
Weekly Open - default is white/orange. White is when price is above the weekly open. Orange is when price is below the weekly open.
Weekly High/Low - there are options to turn on the weekly high and lows. Default plot is circles. Green is the high. Red is the low.
Daily Open - default is green/red. Green is when price is above the daily open. Red is when price is below the daily open.
Previous vWAPs - aqua single lines. These are the closing price of the daily vWAPs.
Top Indicators - The triangles at the top of the chart signify is price is currently above or below the weekly open. This is helpful on lower timeframe charts (5m, 15m) to get a quick indication when price is far extended beyond the weekly open. Green triangle = above weekly open. Red triangle = below weekly open.
General Usage
Each one of these levels are important levels markets look use for continuation or failure of momentum and bias. I also find it extremely helpful to think of these levels as magnets, dual magnets. They both attract and repel price at the same time. Now you might say, how is that helpful to have opposing views at the same time? Be indifferent to direction, create your own rules on when these price zones repel or attract price, I have my own.
Here's the easiest way to use these price levels.
As price approaches one of these levels to expect a reaction. A reaction is price is going in one direction and price hits a price level zone and reacts in the opposite direction.
These are price zones, sometimes you will see a reaction right at the price but visualize these areas as zones of reaction.
A high percentage of the time when price approaches these level zones there will be a reaction. So trade the reaction .
How do you do that?
Simple. Trade patterns that repeat. I have 3 solid patterns I trade around these key levels:
The first pattern is early entry with precise scale in rules and a very effective protective stop loss placement.
The second pattern is wait for confirmation that the level holds. This requires more patience and for you to fully trust the chart. The benefit of this pattern is with confirmation you have even more precise stop placement.
There is a bonus third pattern I trade around these levels. I call this the confirmation and bluff entry. It's a combination of both of the patterns above. You wait for confirmation but on any pull back you call the bluff on the market and enter on key test. Trade management here is critical. In addition to the pattern you trade you should have a series of failure patterns that tell you to get out of the trade, I use 2 primary failure patterns.
I trade all markets, same system, same rules, so I'll show a few examples.
Usually I start with Bitcoin but let's start with equities:
BA - Boeing - 8 Trades
Here we see weekly low patterns, previous week low test, vwAP hold patterns, day magnets and day holding. Then 2 week failures and a double hold pattern.
These are all straightforward trades to execute following really simple patterns.
BTCUSD Previous vWAP and Day Open Trades
We see here on the circle areas both daily open and previous day vWAP zone tests. Within this chart are all 3 highly effective patterns I trade.
SPY - 7 High Probability Trades
Here we see a pDay vWAP mixed with a daily failure. Next a daily retest, then a pDay vWAP failure, then a vWAP capture and test. Then a double weekly failure test (great trade there) and finally a daily test.
I could provide more examples but most are just derivatives of the above examples.
10/5 Weekly/Daily EMAs with ConfirmationsPlots Daily and Weekly 10 & 5 EMAs (but fully customizable to your own).
In addition to plotting the EMAs it color coordinates trend bias and has cross confirmation signals.
Philosophy and how to read:
I use this indicator when trading strictly on the daily timeframe. I have not tested it on other timeframes.
In my trade system I start with both the monthly and weekly charts to define overall bias.
Here’s the general rule of thumb.
10 EMA is direction (bias) and 5 EMA is price.
If 5EMA is below 10EMA there is a bear bias. If 5EMA is above 10EMA there is a bull bias.
This indicator will plot both the daily and weekly 10 & 5 EMAs.
It will also color code the background based on how these EMAs relate to each other.
Light red typically is just the daily is confirmed bear (typically because it could be either or)
Dark red, both daily and weekly in confirmed bear.
Light green, typically just daily is confirmed bull (typically because it could be either or)
Dark green, both daily and weekly in confirmed bull.
In addition to background highlight there is confirmation crosses.
The daily confirmation cross is default yellow triangle.
Down triangle is 5 crossing the 10 downward.
Up triangle is the 5 crossing the 10 upward.
The weekly confirmation is the same only is aqua color.
Generally, on a color change you want to see one or both confirmation in the direction of the bias change.
If you only want to plot the daily bias in the options unclick the setting: Include Weekly Background Plotting. Unclicking this will remove the background coloring for the weekly bias. This might be helpful if you only want to see the strength of what the weekly timeframe is telling you.
Also, I’m primarily a trend trader but I also do have a reversal system I trade with lower R:R parameters.
A good reversal confirmation signal I’ve noticed is the instrument that you are trading should go through a cycle of light color to dark color.
You could also create alerts with this indicator based on just signals. When the signal fires the value will be 1.
Future Updates:
I want to find some way to correlate the distance between these EMAs to enhance the signal. Also to include a velocity component. Plus a few more things.
If you like this indicator please like and leave a comment down below.
WaveTrend Weekly Lower Highs V4This Pine Script creates a WaveTrend Weekly Lower Highs indicator designed to identify weakening momentum and potential trend reversals by tracking lower highs in weekly price action.
Core Purpose:
Calculates the WaveTrend oscillator using weekly timeframe data with smoothing algorithms
Automatically detects and categorizes pivot highs into different types based on their position relative to overbought levels and zero line
Key Features:
High Classification System: Labels highs as "H" (above overbought), "LH" (lower high), "LH-S" (secondary lower high), "Int-LH" (intermediate lower high below zero), or "Int-H" (intermediate high)
Lower High Detection: Specifically tracks when highs form below previous highs after an overbought condition, indicating potential weakness.
Trading Application:
This indicator helps traders identify when an asset's momentum is deteriorating through a series of lower highs, which often precedes trend reversals or significant corrections. It's particularly useful for swing traders and position traders working on weekly charts who want to spot early signs of trend exhaustion before major moves occur.
The script includes alert conditions to notify traders when different types of highs are detected.
ACD Weekly🔷 ACD Weekly — Discover Weekly Ranges with Market Precision 🔷
Understanding where key levels lie at the beginning of the week can unlock powerful insights into market structure, breakout potential, and directional conviction.
The ACD Weekly indicator is designed to help you identify these levels with clarity and consistency.
🚀 What It Does
The ACD Weekly plots dynamic levels based on Monday’s price action and weekly volatility. These levels are useful for:
Identifying potential breakout and breakdown zones
Understanding market range expansions
Creating clean, repeatable weekly trade setups
Without diving into the formula, this tool uses the weekly opening range and historical volatility to highlight zones where institutional accumulation, distribution, or trending moves are more likely to initiate.
📌 How to Use It
Apply the script to any chart and timeframe – best viewed on intraday timeframes.
Observe the green and red lines that appear every Monday — they mark the reference high/low for the week.
The yellow zones extending above and below act as targets and thresholds — price movement into or beyond these areas can signal trend continuation or potential reversal zones.
Use it in combination with your own system — price action, volume, or momentum tools — to confirm entries/exits.
🧠 Who Is It For?
Intraday and swing traders who want clarity at the start of the week
Traders who use breakout or range strategies
Those who want structure without clutter
⚙️ Features
Customizable opening range multiplier
Choose your higher timeframe (daily/weekly)
Optional real-time or historical plotting with Lookahead mode
Add this to your chart and let the structure guide your setups throughout the week.
Happy trading! 📈
Disclaimer:
This is an educational idea, past performance does not guarantee future success.
All outputs will be your own responsibility.
Regards!
Daily & Weekly False-Breakout DetectorDaily & Weekly Lines
We retrieve previous day/week’s High and Low.
lookahead=barmerge.lookahead_on means we see the “final” daily/weekly bar values intraday, so it may repaint in real‐time.
False Breakout Logic
Intraday crosses of close above the previous high (PDH or PWH).
By the end of the daily/weekly bar, close is back below that high.
Similarly for false breakdowns below PDL or PWL.
Shape/Alert
Each time an intraday bar crosses up or down, if the final daily/weekly close reverts back inside the prior range, a label is drawn and an alert is triggered.
Because we are “peeking” at the daily/weekly close, these signals can appear or disappear in real‐time.
If you only want a confirmed signal after the period’s close, switch to lookahead_off, which will finalize them at the next day or next week.
ROBO STB Custom Weekly Candle (Fri-Thu)Description:
This indicator creates custom weekly candles that start on Friday and end on Thursday, instead of the standard Monday–Friday weekly structure in TradingView. It aggregates the open, high, low, and close (OHLC) values from Friday to Thursday and displays them as candlesticks on the chart.
Features:
✅ Custom weekly candles from Friday to Thursday
✅ Dynamic calculation of open, high, low, and close
✅ Works on any timeframe
✅ Helps traders analyze market structure differently
How It Works:
Identifies the custom weekly session based on Friday's start and Thursday's end.
Aggregates OHLC values within this time range.
Resets the values when a new custom week begins.
Plots the calculated weekly candles on the chart.
Use Case:
This indicator is useful for traders who prefer to analyze weekly price movements based on a non-standard start and end day, especially those focusing on forex, crypto, or commodities where trading hours differ.
Notes:
This script does not modify existing candles but overlays new custom weekly candles on the chart.
It does not repaint and updates in real-time.
If you find this useful, like and share! 🚀
Multi-Timeframe Liquidity LevelsMulti-Timeframe Liquidity Levels – Overview
The Multi-Timeframe Liquidity Levels indicator automatically displays significant highs and lows from various timeframes (Daily, Weekly, Monthly, and Quarterly) on your current chart. This allows traders to quickly identify potential support and resistance zones without frequently switching between different timeframe charts. Additionally, the script offers extra lines for special reference points (e.g., the “Midnight” midpoint of the current day and the previous day’s open/close) to highlight potential liquidity zones even more clearly.
1. Core Idea and Benefits
Time-Saving: Instead of manually reviewing charts in different timeframes, the indicator fetches relevant high/low levels automatically and shows them on your active timeframe.
Clear Layout: Traders instantly see where the Daily, Weekly, Monthly, and Quarterly highs and lows lie—areas often associated with institutional orders or liquidity hunts.
Customizable: You can tailor the color scheme, line style (Solid, Dashed, Dotted), and line width, ensuring the displayed levels fit your personal charting style.
2. How It Works
Multi-Timeframe High/Low
For each timeframe (Day, Week, Month, Quarter), the indicator references the previous candle’s high and low (high , low ).
Using request.security(...), these values are plotted on the chart you’re currently viewing.
Flexible Display
You can individually enable or disable the Daily, Weekly, Monthly, and Quarterly lines, depending on which levels are most relevant to your trading.
With Line Style (Solid, Dashed, Dotted) and Line Width, you can easily emphasize certain lines you consider more important.
Additional Lines
“Midnight” Line: A theoretical midpoint between today’s high and low, which can be useful for gauging daily pivot areas.
Previous Day’s Open/Close: Many traders track these reference points to anticipate market reactions. You can show or hide these lines as desired.
Automatic Line Removal & Creation
When a particular timeframe (e.g., “Show Monthly Levels”) is disabled, the script automatically removes the existing monthly lines.
Enabling it again recreates those lines without hassle.
3. Usage and Interpretation
Identifying Support and Resistance
Highs and lows from higher timeframes are often key zones for entries, exits, or major market reactions.
A Daily level may be crucial for short-term traders, whereas Monthly or Quarterly levels can indicate long-term liquidity areas.
Spotting Market Shifts
If price decisively moves above a Higher-Timeframe line, it could signal strong momentum.
Conversely, a failed breakout (where price quickly returns under or above a level) might warn of a potential reversal.
Extra Lines as Filters
The “Midnight” Line helps visualize a rough central price for the current day, aiding in intraday directional bias.
Previous Day’s Open/Close: Common reference points for day traders, where swift approaches and rejections can indicate potential entries or partial take-profit zones.
4. Practical Tips
Use Color-Coding Wisely: Assign distinct colors (e.g., Blue for Daily, Green for Weekly, Orange for Monthly, Purple for Quarterly) so you can easily discern which timeframe you’re looking at.
Toggle On/Off As Needed: Day traders might focus on Daily and Weekly, while long-term traders may pay closer attention to Monthly and Quarterly.
Combine with Price Action: Lines alone don’t constitute a trading strategy. Use them alongside candlestick patterns, volume analysis, or other indicators for a more complete market perspective.
5. Important Notes & Recommendations
Not Financial Advice: This indicator simply reflects historical high/low data across multiple timeframes and does not constitute a buy or sell recommendation.
Trader Responsibility: Observe how the market actually behaves around these lines and adapt your risk management accordingly.
CANSLIM IBD Relative Strength NIFTYSMLCAP250 (Daily & Weekly)This Pine Script (written in version 5) is designed to calculate the IBD Relative Strength for both daily and weekly timeframes, comparing the current chart's security to the NIFTY SMLCAP 250 index. Here's a breakdown of the code:
1. Indicator Initialization: This line sets up the indicator with both a short and full title. The overlay=true means the plot will be drawn on top of the price chart.
2. Fetching Data: This fetches the daily ("D") and weekly ("W") close prices for the NIFTY SMLCAP 250 index.
3. Relative Strength Calculation: Relative strength is calculated as the ratio of the security's current close price to the close price of the NIFTY SMLCAP 250, multiplied by 100 for both daily and weekly timeframes.
4. Timeframe-Based Selection: Here, the script checks whether the chart is in daily or weekly mode and selects the corresponding relative strength value.
5. Scaling with Multiplier: This section ensures there are at least 60 bars of data and scales the relative strength by using a multiplier derived from the 60th previous bar's close price.
6. Plotting: Finally, the scaled relative strength is plotted on the chart in black.
Improvements :
Dynamic Timeframe Handling: You might want to extend this for other timeframes, e.g., monthly.
Customization: You can add user input parameters to adjust the timeframe, scale factor, or period dynamically.
Color Enhancements: You can add color variation to indicate strength/weakness more clearly.
ICT Weekly Profile Templates Dashboard by AlgoCadosThe ICT Weekly Profile Templates Dashboard is a tool meticulously crafted to integrate ICT Weekly Profiles and enrich your trading approach with profound insights. It provides a real-time analysis of market sessions, Daily Session Opens openings, and potential Points of Interest (POI) within the week, It outlines 12 profiles, serving as a roadmap with enhanced precision. By breaking down the trading week into specific profiles, it provides a clear framework to navigate market fluctuations.
# Key Features
Weekly Templates Dashboard : An advanced feature supported by an easy-to-understand table that lists all 12 profiles, simplifying the process of identifying current market scenarios and potential future movements.
Intraweek POI : Identifies key intraweek levels of interest (Daily Highs / Daily Lows) with configurable visual styles. Distinguish between buyside and sellside POIs with solid, dotted, or dashed lines in colors that stand out or blend in, according to your preference.
POI Raids Insights : Automatically updates the lines and label of a key level once it gets broken, highlighting the time when the high or low was taken out,.to provide a comprehensive overview of weekly market dynamics.
Customization at its Core : With inputs for line styles, colors, and even font specifications for text and labels, the dashboard is fully customizable to fit your charting needs. Whether you prefer solid lines for emphasis or dotted lines for a more subdued look, the choice is yours.
Utility and Style : The script doesn't just offer functional benefits; it also considers aesthetics. Choose from Monospace or Sans Serif fonts and adjust the size to ensure that your dashboard is not only informative but also visually pleasing.
# ICT Weekly Pattern
"xOTW" serves as placeholder for "LOTW" (Low of the Week) and "HOTW" (High of the Week). This visual shorthand allows traders to quickly interpret market conditions, with a combination of "xOTW" alongside directional arrows "↗" (Bullish) and "↘" (Bearish).
Bullish Patterns Analyzed
Mon LOTW: Monday Low Of The Week / Classic Buy Week;
Tue LOTW: Tuesday Low Of The Week / Classic Buy Week;
Wed LOTW: Wednesday Low of the Week;
MWK R: Consolidation Midweek Rally;
Thu LOTW: Thursday Low Of The Week / Consolidation Thursday Reversal (Bullish);
Fri S&D: Seek and Destroy Bullish Friday;
Bearish Patterns Analyzed
Mon HOTW: Monday High Of The Week / Classic Sell Week;
Tue HOTW: Tuesday High Of The Week / Classic Sell Week;
Wed HOTW: Wednesday High of the Week;
MWK D: Consolidation Midweek Decline;
Thu HOTW: Thursday High Of The Week / Consolidation Thursday Reversal (Bearish);
Fri S&D: Seek and Destroy Bearish Friday;
# Inputs
Offset: Adjusts the offset for the daily open marker, allowing users to shift the position of the session start visual cue on the chart.
Show Historic Data: Toggles the display of historical session data, enabling traders to either keep a continuous record of sessions throughout the chart or reset data at the start of each new week.
CME_MINI:ESH2024
Show Session Start: Activates vertical dividers at the start of each trading session, providing a clear demarcation of session boundaries.
Show Session Open: Displays the opening price for each session, offering immediate visual cues to the session's starting strength or weakness.
Extend Session Open: Extends the session's opening price line to the current bar, giving a persistent reference point throughout the trading session.
CME_MINI:ESH2024
Intraweek POI Styles and Colors
Start Line Style: Customizes the style of session start lines with options for solid, dotted, or dashed appearances.
Start Line Color: Chooses the color for session start lines, enhancing chart readability.
Daily Open Style and Color: Sets the style and color for the daily open lines, distinguishing them from other chart elements.
Buyside Line Style and Color: Adjusts the visualization of potential buyside areas of interest with customizable line styles and colors.
Sellside Line Style and Color: Configures the display for potential sellside points of interest, allowing for distinct visual differentiation.
Utils for Aesthetics and Clarity
Font Family and Size: Selects the font family and size for text elements within the indicator, ensuring clarity and consistency with your chart's aesthetic.
Text and Background Colors: Defines the color for text and background elements, facilitating a harmonious integration with the chart's overall color scheme.
CME_MINI:ESH2024
Embrace the essence of smarter trading where every insight is "Healthy For Your Trading."
Adaptive MFT Extremum Pivots [Elysian_Mind]Adaptive MFT Extremum Pivots
Overview:
The Adaptive MFT Extremum Pivots indicator, developed by Elysian_Mind, is a powerful Pine Script tool that dynamically displays key market levels, including Monthly Highs/Lows, Weekly Extremums, Pivot Points, and dynamic Resistances/Supports. The term "dynamic" emphasizes the adaptive nature of the calculated levels, ensuring they reflect real-time market conditions. I thank Zandalin for the excellent table design.
---
Chart Explanation:
The table, a visual output of the script, is conveniently positioned in the bottom right corner of the screen, showcasing the indicator's dynamic results. The configuration block, elucidated in the documentation, empowers users to customize the display position. The default placement is at the bottom right, exemplified in the accompanying chart.
The deliberate design ensures that the table does not obscure the candlesticks, with traders commonly situating it outside the candle area. However, the flexibility exists to overlay the table onto the candles. Thanks to transparent cells, the underlying chart remains visible even with the table displayed atop.
In the initial column of the table, users will find labels for the monthly high and low, accompanied by their respective numerical values. The default precision for these values is set at #.###, yet this can be adjusted within the configuration block to suit markets with varying degrees of volatility.
Mirroring this layout, the last column of the table presents the weekly high and low data. This arrangement is part of the upper half of the table. Transitioning to the lower half, users encounter the resistance levels in the first column and the support levels in the last column.
At the center of the table, prominently displayed, is the monthly pivot point. For a comprehensive understanding of the calculations governing these values, users can refer to the documentation. Importantly, users retain the freedom to modify these mathematical calculations, with the table seamlessly updating to reflect any adjustments made.
Noteworthy is the table's persistence; it continues to display reliably even if users choose to customize the mathematical calculations, providing a consistent and adaptable tool for informed decision-making in trading.
This detailed breakdown offers traders a clear guide to interpreting the information presented by the table, ensuring optimal use and understanding of the Adaptive MFT Extremum Pivots indicator.
---
Usage:
Table Layout:
The table is a crucial component of this indicator, providing a structured representation of various market levels. Color-coded cells enhance readability, with blue indicating key levels and a semi-transparent background to maintain chart visibility.
1. Utilizing a Table for Enhanced Visibility:
In presenting this wealth of information, the indicator employs a table format beneath the chart. The use of a table is deliberate and offers several advantages:
2. Structured Organization:
The table organizes the diverse data into a structured format, enhancing clarity and making it easier for traders to locate specific information.
3. Concise Presentation:
A table allows for the concise presentation of multiple data points without cluttering the main chart. Traders can quickly reference key levels without distraction.
4. Dynamic Visibility:
As the market dynamically evolves, the table seamlessly updates in real-time, ensuring that the most relevant information is readily visible without obstructing the candlestick chart.
5. Color Coding for Readability:
Color-coded cells in the table not only add visual appeal but also serve a functional purpose by improving readability. Key levels are easily distinguishable, contributing to efficient analysis.
Data Values:
Numerical values for each level are displayed in their respective cells, with precision defined by the iPrecision configuration parameter.
Configuration:
// User configuration: You can modify this part without code understanding
// Table location configuration
// Position: Table
const string iPosition = position.bottom_right
// Width: Table borders
const int iBorderWidth = 1
// Color configuration
// Color: Borders
const color iBorderColor = color.new(color.white, 75)
// Color: Table background
const color iTableColor = color.new(#2B2A29, 25)
// Color: Title cell background
const color iTitleCellColor = color.new(#171F54, 0)
// Color: Characters
const color iCharColor = color.white
// Color: Data cell background
const color iDataCellColor = color.new(#25456E, 0)
// Precision: Numerical data
const int iPrecision = 3
// End of configuration
The code includes a configuration block where users can customize the following parameters:
Precision of Numerical Table Data (iPrecision):
// Precision: Numerical data
const int iPrecision = 3
This parameter (iPrecision) sets the precision of the numerical values displayed in the table. The default value is 3, displaying numbers in #.### format.
Position of the Table (iPosition):
// Position: Table
const string iPosition = position.bottom_right
This parameter (iPosition) sets the position of the table on the chart. The default is position.bottom_right.
Color preferences
Table borders (iBorderColor):
// Color: Borders
const color iBorderColor = color.new(color.white, 75)
This parameters (iBorderColor) sets the color of the borders everywhere within the window.
Table Background (iTableColor):
// Color: Table background
const color iTableColor = color.new(#2B2A29, 25)
This is the background color of the table. If you've got cells without custom background color, this color will be their background.
Title Cell Background (iTitleCellColor):
// Color: Title cell background
const color iTitleCellColor = color.new(#171F54, 0)
This is the background color the title cells. You can set the background of data cells and text color elsewhere.
Text (iCharColor):
// Color: Characters
const color iCharColor = color.white
This is the color of the text - titles and data - within the table window. If you change any of the background colors, you might want to change this parameter to ensure visibility.
Data Cell Background: (iDataCellColor):
// Color: Data cell background
const color iDataCellColor = color.new(#25456E, 0)
The data cells have a background color to differ from title cells. You can configure this is a different parameter (iDataColor). You might even set the same color for data as for the titles if you will.
---
Mathematical Background:
Monthly and Weekly Extremums:
The indicator calculates the High (H) and Low (L) of the previous month and week, ensuring accurate representation of these key levels.
Standard Monthly Pivot Point:
The standard pivot point is determined based on the previous month's data using the formula:
PivotPoint = (PrevMonthHigh + PrevMonthLow + Close ) / 3
Monthly Pivot Points (R1, R2, R3, S1, S2, S3):
Additional pivot points are calculated for Resistances (R) and Supports (S) using the monthly data:
R1 = 2 * PivotPoint - PrevMonthLow
S1 = 2 * PivotPoint - PrevMonthHigh
R2 = PivotPoint + (PrevMonthHigh - PrevMonthLow)
S2 = PivotPoint - (PrevMonthHigh - PrevMonthLow)
R3 = PrevMonthHigh + 2 * (PivotPoint - PrevMonthLow)
S3 = PrevMonthLow - 2 * (PrevMonthHigh - PivotPoint)
---
Code Explanation and Interpretation:
The table displayed beneath the chart provides the following information:
Monthly Extremums:
(H) High of the previous month
(L) Low of the previous month
// Function to get the high and low of the previous month
getPrevMonthHighLow() =>
var float prevMonthHigh = na
var float prevMonthLow = na
monthChanged = month(time) != month(time )
if (monthChanged)
prevMonthHigh := high
prevMonthLow := low
Weekly Extremums:
(H) High of the previous week
(L) Low of the previous week
// Function to get the high and low of the previous week
getPrevWeekHighLow() =>
var float prevWeekHigh = na
var float prevWeekLow = na
weekChanged = weekofyear(time) != weekofyear(time )
if (weekChanged)
prevWeekHigh := high
prevWeekLow := low
Monthly Pivots:
Pivot: Standard pivot point based on the previous month's data
// Function to calculate the standard pivot point based on the previous month's data
getStandardPivotPoint() =>
= getPrevMonthHighLow()
pivotPoint = (prevMonthHigh + prevMonthLow + close ) / 3
Resistances:
R3, R2, R1: Monthly resistance levels
// Function to calculate additional pivot points based on the monthly data
getMonthlyPivotPoints() =>
= getPrevMonthHighLow()
pivotPoint = (prevMonthHigh + prevMonthLow + close ) / 3
r1 = (2 * pivotPoint) - prevMonthLow
s1 = (2 * pivotPoint) - prevMonthHigh
r2 = pivotPoint + (prevMonthHigh - prevMonthLow)
s2 = pivotPoint - (prevMonthHigh - prevMonthLow)
r3 = prevMonthHigh + 2 * (pivotPoint - prevMonthLow)
s3 = prevMonthLow - 2 * (prevMonthHigh - pivotPoint)
Initializing and Populating the Table:
The myTable variable initializes the table with a blue background, and subsequent table.cell functions populate the table with headers and data.
// Initialize the table with adjusted bgcolor
var myTable = table.new(position = iPosition, columns = 5, rows = 10, bgcolor = color.new(color.blue, 90), border_width = 1, border_color = color.new(color.blue, 70))
Dynamic Data Population:
Data is dynamically populated in the table using the calculated values for Monthly Extremums, Weekly Extremums, Monthly Pivot Points, Resistances, and Supports.
// Add rows dynamically with data
= getPrevMonthHighLow()
= getPrevWeekHighLow()
= getMonthlyPivotPoints()
---
Conclusion:
The Adaptive MFT Extremum Pivots indicator offers traders a detailed and clear representation of critical market levels, empowering them to make informed decisions. However, users should carefully analyze the market and consider their individual risk tolerance before making any trading decisions. The indicator's disclaimer emphasizes that it is not investment advice, and the author and script provider are not responsible for any financial losses incurred.
---
Disclaimer:
This indicator is not investment advice. Trading decisions should be made based on a careful analysis of the market and individual risk tolerance. The author and script provider are not responsible for any financial losses incurred.
Kind regards,
Ely