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
Cari dalam skrip untuk "weekly"
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.
BTC Prophet Of The Weekly MarketThis indicator is engineered to deliver clear and confident Buy/Sell signals for BTC only, based entirely on the weekly timeframe and long-term momentum. Analyzes major BTC market cycles using weekly candles. Focused on holding — no clutter, no noise, no day trading — just clear trend moves. Optimized for long-term swing entries and exits
How it works:
1. Max Buy – Weekly confirmation of potential trend reversal. Ideal for positioning early in bull cycles and big capital
2. White Arrow - Weekly confirmation to drop and improve your average entry price using small capital on a weekly basis
3. Sell – Weekly alert for trend exhaustion. Helps identify key areas to secure profits or reduce risk.
Recommended timeframes:
1W
Suitable for:
Long-term investors who want high-confidence entries and exits with minimal chart time
Please note:
The signals generated by this tool are meant to serve as analytical guidance, not strict trading instructions.
Important:
At ProphetAlgoAI, we build tools to empower traders with clarity and confidence, but no indicator, including those in the AI suite, should ever be used blindly. Always exercise caution, manage your risk wisely, and protect your capital before executing any trade.
License:
This indicator has been created by the ProphetAlgoAI team. For any usage outside TradingView with/without permission, you must reach out to the team.
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
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.
VWAP Balance ZonesVWAP Balance Zones (VBZ) Is based on 3 concepts.
Many Traders use VWAP to help determine Price Trends.
Trends are typically identified by new Highs or new Lows.
Balanced is found when Supply and Demand are mostly Equal.
VBZ tracks the daily, weekly, and monthly highs and lows; Then plots the average (50%) between the VWAP and the respective extremes.
50% VWAP Zones can be considered significant since they attempt to identify the equilibrium between market participants within the current trend, serving as key reference points to consider for decision making. >While in an uptrend, Buyers may see price falling to the Hi 50% as an attractive value entry for the continuation upwards.
>While ALSO in an uptrend, Sellers may see price falling to the Hi 50% as a change in sentiment with more downwards movement on the way.
Because of these conflicting mindsets, these zones are thought to display areas of balance between buyers and sellers, which can serve as potential decision points throughout the day.
VBZ Draws Zones from the Daily (High/Low/Close) VWAPs and the Day's (High/Low/Close) extremes as seen below.
Technically speaking, an average between vwap and extreme is a single point, to make these into zones I am using multiple sources for vwap and tracking different points of the bar throughout the day (ex. Close VWAP & Daily Highest Close)
Weekly and Monthly are only displaying the Average Price between the VWAP and the (Weekly or Monthly) High/Low.
These hold up as important levels for speculation; however, since most action will be discovered at the daily zones, I am not displaying the zones for the Weekly and Monthly to keep noise to a minimum.
Unique Behaviors:
- Weekly values are hidden on the first day of the week since they are similar to the daily values on the first day of the week.
- Monthly values are hidden in the first week of the month for the same reason.
[TTI] IBD Base Analysis (WEEKLY)📜 ––––HISTORY & CREDITS––––
This indicator, titled " IBD Base Analysis (WEEKLY)," is an original creation by TinTinTrading. It synthesises multiple metrics and visual cues to provide a comprehensive overview of market bases on a weekly timeframe. It is based on the teachings of Investors Business Daily (IBD) and William O'Neil. Mainly from attending all IBD Seminars, Courses and part of man IBD MeetUps. I have compiled most criteria and made it into indicator.
🦄 –––UNIQUENESS–––
What sets this indicator apart is its multi-faceted approach to base analysis. It doesn't just measure base depth or length, or plot a base structure with target (Cup with Handle, Double Bottoms, Flat Bases or other);
The IBD Base Analysis (WEEKLY) allows the user to pick the beginning and end of base and then runs through the criteria for a HEALTHY vs FAULTY Bases. The script is intended for a Weekly timeframe and is base agnostic - hence it can be used on any base pattern you want to analyse. By using the script you will be able to grab a quick visual if there are any faulty characteristics that you have be aware of. Furthermore, its user-friendly interface, complete with customisable color-coding and toggle-able advanced metrics, makes it a great tool for both novice and expert traders to incorporate into their trading.
🛠️ ––––WHAT IT DOES––––
👉 Analysis Table with customisable position. Each cell has additional information when you hover over it with a mouse to show what is required and what is faulty. The cells are color coordinated by user customisable color-coding. If the cell is green then it is bullish. If it is orange then it is soft violating condition and if it is red it is bearish.
Depth: First we look at the Depth of the base expressed in percent
Length: How many weeks long is the base
Number of Weeks under Accumulation (Acc Wks)
Number of Weeks under Distribution (Distrb Wks)
Number of Weeks showing Supporting action
Number of weeks which show wide and loose action (unfavorable), "10% WKs)
Number of weeks we close above the mid point
Grading of the close within the first 3 weeks after bottoming
Counting the Gap ups vs Gap down for the given period
👉 Base plots
+ plot under weeks where we have a tight action compared to previous week - this is considered favorable
▲ plot under down weeks where we show supporting action
⏺ appear under the 3 most important weeks in the base: The Week at the bottom, The week with the Largest Spread and the Week with the Largest Volume. Green means bullish action, Orange means soft violation. The tooltips on the circles show the Closing Range of the week.
- midpoint (in blue), this draws the midpoint within the base.
👉 18 month line - According to IBD the True Market Leaders Breakout and run for on average of 18 months before topping. For this reason I have included a customizable on/off line that plots 18 months back. What I want to see is if the stock has been in a strong uptrend (Stage 2 accumulation for those knowing the Stan Weinstein methodology) for the last18 months. If yes, you ought to consider the base higher risk than one that is just starting its move.
💡 ––––HOW TO USE IT––––
Add the indicator to your chart
Determine the beginning and the end of the base (use the settings in the indicator or drag the verical blue lines)
Read the price action based on the coloring and the criteria explained in the tooltips. Additionally familiarize yourself with the general tips for reading a base below.
💡 ––––GENERAL TIPS FOR READING THE ANALYSIS TABLE––––
Depth: IBD recommends bases to be under 30%. However, during a strong bear market some stocks can exhibit 1.5-2x the volatility. Yet, it is key within the IBD methodology to buy breakouts from proper Non-deep bases
Length: Many newer traders misinterpret small patterns for bases. This common misunderstanding is addressed by calculating the length of the base and determining if it is developed or immature.
Number of Weeks under Accumulation (Acc Wks): This is the first thing the late Market Wizard William O'neill looks into the base. How many weeks are showing signs of accumualtion and how many are showing signs of distribution (the cell below). Always look for Accumulation weeks to be more than distribution weeks.
Number of Weeks under Distribution (Dist Wks): See above
Number of Weeks showing Supporting action: New traders determine down week as bearish. However, within the methodology and extensive research IBD has given criteria of down weeks that are actually a bullish sign. Counting the number of weeks within the base that meet this criteria gives us this metric.
Number of weeks which show wide and loose action: If the base is not compact but it is wide and loose it is considered an unfavorable pattern. Generally, occurs within Stage 3 of a stock topping.
Wks > Mid: Utilizes a simple 'hack' of base reading. How many weeks have closed above the mid level of the base and how many have closed below the mid level of the base.
Grading of the close within the first 3 weeks of the bottom: The next cell looks at the price action subsequent of the 3 weeks after the bottom. These are very important as they show if accumulation is happening (strengthening the breakout hypothesis) or if it is not.
Counting the Gap ups vs Gap down for the given period: Lastly gaps are key footprint of institutional moves. We look for the number of DAILY gaps on the WEEKLY timeframe and compare the daily gap up vs the daily gap downs within the base.
REMEMBER, ALL TRADING INCLUDES RISK. NEVER RELY SOLELY ON A SINGLE INDICATOR. INCORPORATE IT INTO YOUR BROADER TRADING METHODOLOGY AS A COMPLEMENTING SOURCE OF INFORMATION.
CPR Weekly Variable Weekday SellerGood afternoon traders,
This is a script I built for option selling, in attempt to have a high success rate. This is pretty much the same as my other one titled "CPR Option Selling Strategy." The difference is this one is strictly for Weeklies, with a variable weekday to expiry. I've had many requests to have a weekly that would end on Thursday, so here it is. Just select the date for expiry of the option, then it will calculate a "weekly" option set, using the the same set up as the traditional M-F weekly CPR information, except for offset for the weekday in question.
So for expiry dates for options on Thursday, you would choose "Thursday" in the parameters and it will calculate using Fri through Thu data for the pivot timeframes.
The rest is like this...
The gist of how it works:
It uses the opening or close of the current chart's timeframe opening bar when referenced against a "weekly" timeframe determined by the week ending weekday chosen for the central pivot range ( CPR ).
Using that comparison, this script calculates an option to sell: put, call, or iron condor. It will calculate a call value using an average of the CPR central pivot and the max value of the prior higher timeframe's high or R1 (whichever is higher.)
It does the same for the put side, but uses the higher timeframe's low or S1 (whichever is lower.)
It will use the option on the other side of the source (open or close) of the CPR as the "option in play."
Settings:
There are many settings, most are simply "viewable" settings, and probably self explanatory, others, not so much:
"Source for Trigger" - this is the value used on the "opening bar," such as the close. This value is the one compared to the Central Pivot Range in determining whether to sell a call (if the source is lower,) sell a put (if the source is higher,) or an iron condor if it's in the CPR .
"Show Historical Win/Loss Percentages" - this shows a table in the bottom right of the W/L percentages for the current ticker and settings. Used for a quick glance at historical success rates.
Example use (OLD EXAMPLE):
An example use (which I completed last week) on the chart referenced in this share: I sold a put-spread for $0.90, selling a 590 and buying a 570 strike in the middle of the week. I was looking at an hourly timeframe chart with a weekly pivot timeframe for the strategy.
Obviously, making only $0.90 on a $20 spread, there is a lot more to lose than to make, but I did some other analysis to go with it, so I felt safe, and I had a stop set for $1.50. So it worked, along with 3 other plays I did, very similar, and if that "Historical Win/Loss Percentage" is accurate, which I am fairly certain it is, I felt good about it.
The key all comes down to what you sell it for, right? That piece only you can determine. :)
Happy trading and enjoy,
Deuce
Daily/Weekly ExtremesBACKGROUND
This indicator calculates the daily and weekly +-1 standard deviation of the S&P 500 based on 2 methodologies:
1. VIX - Using the market's expectation of forward volatility, one can calculate the daily expectation by dividing the VIX by the square root of 252 (the number of trading days in a year) - also know as the "rule of 16." Similarly, dividing by the square root of 50 will give you the weekly expected range based on the VIX.
2. ATR - We also provide expected weekly and daily ranges based on 5 day/week ATR.
HOW TO USE
- This indicator only has 1 option in the settings: choosing the ATR (default) or the VIX to plot the +-1 standard deviation range.
- This indicator WILL ONLY display these ranges if you are looking at the SPX or ES futures. The ranges will not be displayed if you are looking at any other symbols
- The boundaries displayed on the chart should not be used on their own as bounce/reject levels. They are simply to provide a frame of reference as to where price is trading with respect to the market's implied expectations. It can be used as an indicator to look for signs of reversals on the tape.
- Daily and Weekly extremes are plotted on all time frames (even on lower time frames).