Prometheus Auto Optimizing SaberThis indicator is a tool that uses prior ranges to determine the directional trend of the market. The process is along the lines of a volatility estimate to determine relative strength.
Calculation:
Square rooting the highest high and lowest low, helps it be easier to work with if there are extreme values. Then we normalize it by subtracting it by the range of the current bar. Next, we get bands for the value. The highest high plus that value, v, and the lowest low minus v.
Next we get that average, then smooth it so we can view it nicely.
Now for the Auto Optimizing part in the title. Instead of trying different lookback values for different tickers and timeframes. Prometheus uses a Sum of Squared Errors, SSE, calculation to determine which price would most closely represent the current price. This gives us a dynamic value to use as the lookback. There is no guarantee this is the best value to use for a given point in time.
hh = ta.highest(high, N_opt)
ll = ta.lowest(low, N_opt)
v = math.sqrt(hh - ll) / (high - low)
vu = hh + v
vd = ll - v
vma = ta.sma((vu + vd) / 2, N_opt)
The user is able to use a custom lookback value if they please.
Chart examples.
Here on the NASDAQ:QQQ daily chart we see the Saber colored in blue when it is a bullish scenario, characterized by close being above the Saber , and when it is below it is red, for bearish.
This Saber is quite resistant to large moves, until the range widens quickly. This example shows that.
We see on the NYSE:PLTR daily chart, the earnings candle in the white box shows that. The Saber is resistant to change until things get fast. After the trend switches bullish from the earnings candle, it stays bullish regardless of the last drawdown.
Intra Day example:
The range here is quite wide and the moves are well spread apart from wide trends, slow moves, and pops. The Saber acts in a way to provide an aid identifying the direction of the moves.
We encourage traders to not follow indicators blindly, none are 100% accurate. SSE does not guarantee that the values generated will be the best for a given moment in time. Please comment on any desired updates, all criticism is welcome!
Cycles
Breakout LevelsBreakout Levels Indicator
The Breakout Levels indicator is a tool designed to help traders identify potential breakout points based on a specified time range and market volatility. By combining user-defined time frames with Average True Range (ATR) calculations, it provides actionable entry and stop-loss levels for both upward and downward breakouts. Additionally, it includes risk management features to calculate appropriate position sizes based on your account capital and risk tolerance.
Key Features
Custom Time Range Selection: Define a specific period during which the indicator calculates the highest high and lowest low to establish breakout levels.
ATR-Based Calculations: Use the ATR to adjust entry and stop-loss levels according to market volatility.
Risk Management: Automatically calculate position sizes based on your account capital and desired risk per trade.
Indicator Inputs
Start Time : The beginning of the time range for calculating the highest high and lowest low.
End Time : The end of the time range.
Entry Multiplier: A factor that determines how far the entry level is from the breakout level, scaled by the ATR.
Stop-Loss Multiplier: A factor that determines the distance of the stop-loss from the entry level, scaled by the ATR.
Risk per Trade (%) : The percentage of your account capital you're willing to risk on each trade.
Account Capital : Your total trading capital used for position size calculations.
ATR Length : The number of periods over which the ATR is calculated.
Position Size Up / Down : Shows you Lot size to maintain no loss more than allowed percentage at that entry
Seasonal Tendency (fadi)Seasonal tendency refers to the patterns in stock market performance that tend to repeat at certain times of the year. These patterns can be influenced by various factors such as economic cycles, investor behavior, and historical trends. For example, the stock market often performs better during certain months like November to April, a phenomenon known as the “best six months” strategy. Conversely, months like September are historically weaker.
These tendencies can help investors and traders make more informed decisions by anticipating potential market movements based on historical data. However, it’s important to remember that past performance doesn’t guarantee future results.
This indicator calculates the average daily move patterns over the specified number of years and then removes any outliers.
Settings
Number of years : The number of years to use in the calculation. The number needs to be large enough to create a pattern, but not so large that it may distort the price move.
Seasonality line color : The plotted line color.
Border : Show or hide the border and the color to use.
Grid : Show or hide the grid and the color to use.
Outlier Factor : The Outlier Factor is used to identify unusual price moves that are not typical and neutralize them to avoid skewing the predictions. It is the amount of deviation calculated using the total median price move.
EMA CheatsheetEMA Clouds Indicator: A Comprehensive Guide for Traders
The Exponential Moving Average (EMA) Clouds indicator is a dynamic tool designed to provide traders with visual cues about the current trend and potential shifts in market momentum. The EMA is a type of moving average that gives more weight to recent price data, making it highly responsive to price changes compared to a Simple Moving Average (SMA). When used in the form of clouds, EMAs are layered on top of each other to form a visual representation of bullish and bearish trends.
Understanding EMA Clouds
EMA Clouds consist of two or more EMAs, typically a short-term EMA (e.g., 9-period) and a longer-term EMA (e.g., 21-period). When these two EMAs are plotted together, they create a "cloud" between them. The interaction between these EMAs gives traders critical insights into the market's trend:
Bullish Clouds: When the shorter-term EMA crosses above the longer-term EMA, the market is considered to be in a bullish trend. This creates a green (or lighter colored) cloud between the EMAs, signaling upward momentum. Bullish clouds suggest that buyers are in control, and the price is likely to continue higher.
Bearish Clouds: Conversely, when the shorter-term EMA crosses below the longer-term EMA, the market is considered to be in a bearish trend. This forms a red (or darker colored) cloud between the EMAs, indicating downward momentum. Bearish clouds imply that sellers are dominating the market, and the price is likely to decline.
Key Components of the EMA Clouds Indicator:
Short-Term EMA: This is the fast-moving average (e.g., 9-period EMA) and reacts quickly to recent price changes. It’s used to detect short-term shifts in momentum.
Long-Term EMA: This is the slower-moving average (e.g., 21-period EMA), which smooths out price data over a longer period and identifies the general trend direction.
Cloud: The area between the short-term and long-term EMAs. When this cloud is green (bullish), it indicates that the short-term trend is stronger than the long-term trend. When the cloud turns red (bearish), it suggests that the short-term trend is weaker than the long-term trend.
Cloud Thickness: The thickness of the cloud provides additional information about the strength of the trend. A thicker cloud suggests strong price divergence between short and long-term trends, which could indicate a robust trend. A thinner cloud, on the other hand, may signal trend weakness or consolidation.
Sector Performance v0.3Sector Performance Dashboard v0.3 (Work In Progress)
- Provides a comprehensive view of sector and stock performance across multiple timeframes
Features:
- Displays performance data for various Indian market sectors and their constituent stocks
- Allows selection of different sector groups (e.g., NIFTY, BANKNIFTY, CNXAUTO, etc.)
- Shows performance over four customizable time periods (default: Year, Quarter, Month, Week)
- Calculates percentage change for each time period
- Presents current price, 250-day high and low, and percentage distance from these extremes
- Uses color-coding to quickly identify positive (green) and negative (red) performance
- Adjustable text size for better visibility
- Functionality:
- Creates a table in the center of the chart
- Populates the table with up to 15 symbols per sector
- Updates data in real-time on daily timeframe
- Allows for easy comparison of different stocks within a sector
- User Inputs:
- Sector selection
- Four customizable date inputs for different time periods
- Adjustable text size for the table
- Use Cases:
- Quick sector rotation analysis
- Identifying outperforming and underperforming stocks within a sector
- Monitoring multiple timeframes simultaneously for comprehensive market view
- Assisting in stock screening and selection process
Seasonality with Custom IntervalSeasonality with Custom Interval Lookback
by TradersPod
Description:
This script is a modified version of Kaschko's original Seasonal Trend with Interval Lookback indicator, designed to help traders analyze seasonal trends over customizable intervals. The modifications in this version provide enhanced flexibility and improved visualization, making it a valuable tool for analyzing seasonal patterns in various markets.
Key Features:
1. Custom Lookback Multiplier: The script allows users to adjust the lookback period with a multiplier, giving more control over the number of years analyzed for seasonality. This feature is especially useful for traders looking to tailor the analysis based on different market cycles or election cycles.
2. Enhanced Visualization: Users can customize the color and line width of the plotted seasonality line for better readability. The smoothing parameter has been added to allow for flexible moving averages, reducing noise in the trend visualization.
3 Detailed Chart Plotting: The script plots the trading week of the year (TWOY), trading day of the month (TDOM), and trading day of the year (TDOY) on the status line, providing users with additional insights into how seasonal trends affect price movements.
How to Use:
1. Lookback Period: Set the number of years to look back. For example, if you set it to 16 years, the script will gather data from the last 16 years.
2. Interval Years: You can set an interval (e.g., 4 years for U.S. elections) to focus on specific years:
Interval = 0: This setting will use all years within the lookback period.
Interval > 0: This setting will use only every nth year, based on the interval you set (e.g., 4 for U.S. elections, 10 for decennial years).
3 Future Projections: You can specify how many bars into the future the script should project the seasonal trend.
Example Settings:
>Lookback Period: 16 years.
>Interval: 4 years (this would focus on U.S. election years).
>]Future Projections: 30 bars (the seasonal trend is projected 30 bars into the future).
Intended Use : This indicator is ideal for traders who:
>Want to analyze how market prices react to seasonal cycles.
>Need flexible, customizable tools for tracking longer-term trends.
>Prefer visual clarity in their seasonal trend analysis with adjustable settings for better readability.
How It Works:
>The script calculates the average price change for each trading day, week, or month, using a lookback period of up to 30 years. It then smooths the seasonal trend using a customizable moving average and projects the trend into the future, allowing users to forecast potential price movements based on historical seasonal patterns.
>The script also offers a projection of future seasonality by plotting the seasonal trend up to 252 bars into the future, with options to offset the start of the seasonality.
Notes:
>This script is open-source under the Mozilla Public License 2.0.
>Original script by Kaschko. Modifications by TradersPod.
E9 PLRRThe E9 PLRR (Power Law Residual Ratio) is a custom-built indicator designed to evaluate the overvaluation or undervaluation of an asset, specifically by utilizing logarithmic price data and a power law-based model. It leverages a dynamic regression technique to assess the deviation of the current price from its expected value, giving insights into how much the price deviates from its long-term trend.
This indicator is primarily used to detect market extremes and cycles, often used in the analysis of long-term price movements in assets like Bitcoin, where cyclical behavior and significant price deviations are common.
This chart is back from 2019 and shows (From left to right) 2018 Bear market bottom at $3.5k (Dark Blue) , following a peak at 12k (dark red) before the Covid crash back down to EUROTLX:4K (Dark blue)
Key Components
Logarithmic Price Data:
The indicator works with logarithmic price data (ohlc4), which represents the average of open, high, low, and close prices. The logarithmic transformation is crucial in financial modeling, especially when analyzing long-term price data, as it normalizes exponential price growth patterns.
Dynamic Exponent 𝑘:
The model calculates a dynamic exponent k using regression, which defines the power law relationship between time and price. This exponent is essential in determining the expected power law price return and how far the current price deviates from that expected trend.
Power Law Price Return:
The power law price return is computed using the dynamic exponent
k over a defined period, such as 365 days (1 year). It represents the theoretical price return based on a power law relationship, which is used to compare against the actual logarithmic price data.
Risk-Free Rate:
The indicator incorporates an adjustable risk-free rate, allowing users to model the opportunity cost of holding an asset compared to risk-free alternatives. By default, the risk-free rate is set to 0%, but this can be modified depending on the user's requirements.
Volatility Adjustment:
A key feature of the PLRR is its ability to adjust for price volatility. The indicator smooths out short-term price fluctuations using a moving average, helping to detect longer-term cycles and trends.
PLRR Calculation:
The core of the indicator is the calculation of the Power Law Residual Ratio (PLRR). This is derived by subtracting the expected power law price return and risk-free rate from the logarithmic price return, then multiplying the result by a user-defined multiplier.
Color Gradient:
The PLRR values are represented visually using a color gradient. This gradient helps the user quickly identify whether the asset is in an undervalued, fair value, or overvalued state:
Dark Blue to Light Blue: Indicates undervaluation, with increasing blue tones representing a higher degree of undervaluation.
Green to Yellow: Represents fair value, where the price is aligned with the expected power law return.
Orange to Dark Red: Indicates overvaluation, with increasing red tones representing a higher degree of overvaluation.
Zero Line:
A zero line is plotted on the indicator chart, serving as a reference point. Values above the zero line suggest potential overvaluation, while values below indicate potential undervaluation.
Dots Visualization:
The PLRR is plotted using dots, with each dot color-coded based on the PLRR value. This dot-based visualization makes it easier to spot significant changes or reversals in market sentiment without overwhelming the user with continuous lines.
Bar Coloring:
The chart’s bars are colored in accordance with the PLRR value at each point in time, making it visually clear when an asset is potentially overvalued or undervalued.
Indicator Functionality
Cycle Identification : The E9 PLRR is especially useful for identifying cyclical market behavior. In assets like Bitcoin, which are known for their boom-bust cycles, the PLRR can help pinpoint when the market is likely entering a peak (overvaluation) or a trough (undervaluation).
Overvaluation and Undervaluation Detection: By comparing the current price to its expected power law return, the PLRR helps traders assess whether an asset is trading above or below its fair value. This is critical for long-term investors seeking to enter the market at undervalued levels and exit during periods of overvaluation.
Trend Following: The indicator helps users identify the broader trend by smoothing out short-term volatility. This makes it useful for both momentum traders looking to ride trends and contrarian traders seeking to capitalize on market extremes.
Customization
The E9 PLRR allows users to fine-tune several parameters based on their preferences or specific market conditions:
Lookback Period:
The user can adjust the lookback period (default: 100) to modify how the moving average and regression are calculated.
Risk-Free Rate:
Adjusting the risk-free rate allows for more realistic modeling of the opportunity cost of holding the asset.
Multiplier:
The multiplier (default: 5.688) amplifies the sensitivity of the PLRR, allowing users to adjust how aggressively the indicator responds to price movements.
This indicator was inspired by the works of Ashwin & PlanG and their work around powerLaw. Thank you. I hall be working on the calculation of this indicator moving forward to make improvements and optomisations.
Hourly Separator + Opening LineThis indicator shows the vertical and horizontal opening lines for the hourly timeframe.
Also has options to choose a different opening time:
- 1 Hour
- 30 Min
- 15 Min
- 10 Min
- 5 Min
BTC Power of Law x Central Bank LiquidityThis indicator combines Bitcoin's long-term growth model (Power Law) with global central bank liquidity to help identify potential buy and sell signals.
How it works:
Power Law Oscillator: This part of the indicator tracks how far Bitcoin's current price is from its expected long-term growth, based on an exponential model. It helps you see when Bitcoin may be overbought (too expensive) or oversold (cheap) compared to its historical trend.
Central Bank Liquidity: This measures the amount of money injected into the financial system by major central banks (like the Fed or ECB). When more money is printed, asset prices, including Bitcoin, tend to rise. When liquidity dries up, prices often fall.
By combining these two factors, the indicator gives you a more accurate view of Bitcoin's price trends.
How to interpret:
Green Line : Bitcoin is undervalued compared to its long-term growth, and the liquidity environment is supportive. This is typically a buy signal.
Yellow Line: Bitcoin is trading near its expected value, or there's uncertainty due to mixed liquidity conditions. This is a hold signal.
Red Line: Bitcoin is overvalued, or liquidity is tightening. This is a potential sell signal.
Zones:
The background will turn green when Bitcoin is in a buy zone and red when it's in a sell zone, giving you easy-to-read visual cues.
E9 ASIA Session
*note: Upon updating the script the conversion from V4 to v5 has lost the weekend extended lines and now prints an asia session for each day. It is recommended (esp for crypto) to extend these lines across the weekend like in the chart example above.
The E9 Asia Session Indicator is a valuable tool for traders aiming to track and analyze the Asia trading session on financial charts. This indicator provides insights into price behavior during the Asia session, which is crucial for making informed trading decisions. Here's an overview of its key functionalities and uses:
1. Session Highs and Lows
Purpose:
The indicator calculates and plots the high and low of the Asia session.
It helps identify key levels of support and resistance established during this trading period.
Importance:
These levels can act as significant reference points for future price movements.
Price action that occurs near these levels often provides clues about potential breakouts or reversals.
2. Session Background Color
Purpose:
The indicator can shade the background of the chart during the Asia session.
Importance:
This visual cue helps quickly identify the session's timeframe, enhancing the trader’s ability to observe price behavior within this specific period.
It aids in distinguishing between different trading sessions and understanding their influence on price action.
3. Start of Session Marker
Purpose:
A visual marker (such as a circle) is plotted at the beginning of each Asia session.
Importance:
This marker helps traders visually pinpoint the start of the session, making it easier to analyze how the price reacts from the session's opening.
4. End of Session Marker
Purpose:
A marker is plotted at the end of the Asia session, indicating where the session closes.
Importance:
This marker is useful for tracking the end of the session and observing price behavior around this critical juncture.
It helps in analyzing whether the session's high or low gets revisited or broken in subsequent sessions.
Practical Uses:
Strategic Planning: Traders can use the plotted high and low levels to set their trading strategies, stop-loss orders, and profit targets.
Market Analysis: Understanding how price interacts with the Asia session’s high and low levels can provide insights into market sentiment and potential price movements.
By incorporating the E9 Asia Session Indicator into your trading toolkit, you can gain a deeper understanding of the Asia session's impact on price dynamics, enhancing your overall trading strategy and decision-making process.
Disclaimer: The information contained in this article does not constitute financial advice or a solicitation to buy or sell any securities. All investments involve risk, and past performance does not guarantee future results. Always evaluate your financial circumstances and investment objectives before making trading decisions.
RSI ProfitGuard [CHE]The RSI ProfitGuard Indicator is a comprehensive tool designed to assist traders in making informed decisions by integrating the Relative Strength Index (RSI) with automated Take Profit (TP) and Stop Loss (SL) levels. This indicator enhances trading strategies by providing clear entry signals and risk management parameters.
Key Features
RSIBased Signals: Utilizes RSI crossovers and crossunders to generate trade signals.
Automated TP and SL: Automatically calculates and plots Take Profit and Stop Loss levels based on userdefined methods.
Customizable Trade Types: Supports Long trades, Short trades, or both simultaneously.
Flexible Calculation Methods: Choose between Percentagebased or ATRbased methods for determining TP and SL levels.
Visual Enhancements: Highlights overbought and oversold RSI regions with background colors and marks trade entries with arrows.
Alerts: Provides realtime alerts when TP or SL levels are reached, ensuring timely trade management.
How It Works
1. RSI Calculation: The indicator calculates the RSI value based on the specified length.
2. Trade Signals:
Long Entry: Triggered when RSI crosses above the defined crossover threshold.
Short Entry: Triggered when RSI crosses below the defined crossunder threshold.
3. TP/SL Level Determination:
Percentage Method: Sets TP and SL as a percentage above and below the entry price.
ATR Method: Sets TP and SL based on the Average True Range (ATR), allowing for dynamic adjustments based on market volatility.
4. Visualization: Draws lines and labels on the chart to indicate TP, SL, and entry points.
5. Trade Management: Monitors price movements to determine if TP or SL levels are hit, automatically managing the trade state.
Customization Options
Trade Type Selection: Choose to execute Long trades, Short trades, or both.
RSI Settings:
RSI Length: Defines the period for RSI calculation (default is 14).
Crossover Threshold: RSI level above which a Long entry is signaled (default is 65).
Crossunder Threshold: RSI level below which a Short entry is signaled (default is 35).
Delay Settings: Sets the minimum number of bars between consecutive trade signals to avoid overtrading.
TP/SL Settings:
Method Selection: Choose between Percentage or ATRbased calculations.
Percentage Values: Define the percentage for TP and SL levels.
ATR Settings: Define ATR length and multipliers for TP and SL when using the ATR method.
Visual Settings:
Line Colors and Styles: Customize the appearance of TP, SL, crossover, and crossunder lines.
Transparency: Adjust the transparency of lines for better chart visibility.
Label Offset: Position labels at a specified number of bars to the right for clarity.
Using the Indicator
1. Add to Chart: Apply the RSI ProfitGuard Indicator to your TradingView chart.
2. Configure Settings: Adjust the parameters according to your trading strategy and risk tolerance.
3. Interpret Signals:
Long Entries: Look for green upward arrows indicating potential buy opportunities.
Short Entries: Look for red downward arrows indicating potential sell opportunities.
4. Monitor TP and SL Levels: Observe the plotted lines and labels to manage your trades effectively.
5. Set Up Alerts: Enable alerts to receive notifications when TP or SL levels are reached, ensuring you can act promptly.
Benefits
Enhanced DecisionMaking: Combines RSI signals with clear risk management levels.
Time Efficiency: Automates the calculation and plotting of TP and SL, saving time and reducing manual errors.
Flexibility: Adapts to various trading styles and market conditions through customizable settings.
Risk Management: Helps in defining and adhering to risk parameters, essential for longterm trading success.
Conclusion
The RSI ProfitGuard Indicator is an invaluable tool for traders seeking to integrate technical analysis with automated risk management. Its customizable features and realtime alerts provide a robust framework for executing and managing trades with confidence.
Disclaimer
The content provided with our RSI ProfitGuard Indicator, including all code, scripts, lessons, and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell, or an offer of any financial product or service.
Key Points:
Educational Purpose:
All strategies, tools, and examples included within the RSI ProfitGuard Indicator are provided solely for illustrative purposes. They are designed to demonstrate coding techniques and the functionality of Pine Script within a trading context.
No Financial Advice:
The RSI ProfitGuard Indicator does not constitute financial advice. Users should not rely on it as a basis for making investment or trading decisions.
Hypothetical Results:
Any results or performance metrics derived from using the RSI ProfitGuard Indicator are purely hypothetical. Past performance is not indicative of future results, and there is no guarantee of profitability.
Risk Disclosure:
Trading and investing involve significant risks, including the potential loss of principal. The RSI ProfitGuard Indicator is not suitable for all persons, and users should be aware of the inherent risks involved in trading.
Professional Consultation:
Before making any trading decisions, it is strongly recommended to consult with a qualified financial professional to fully understand the risks and ensure that such decisions align with your financial situation and goals.
User Responsibility:
By using the RSI ProfitGuard Indicator, you acknowledge and agree that all trading decisions are made solely at your own discretion and risk. The developers and providers of the RSI ProfitGuard Indicator assume no responsibility or liability for any losses or damages resulting from its use.
Additional Notes:
No Guarantees:
There are no guarantees regarding the accuracy, reliability, or completeness of the RSI ProfitGuard Indicator. Users utilize the tool at their own risk.
No Endorsement:
Any mention of third-party products, services, or strategies within the RSI ProfitGuard Indicator does not constitute an endorsement or recommendation.
Updates and Modifications:
The RSI ProfitGuard Indicator may be updated or modified over time. Users are responsible for staying informed about any changes and understanding how they may impact the use of the tool.
Summary
This disclaimer clearly states that the RSI ProfitGuard Indicator is intended for educational purposes and should not be used as financial advice. It highlights the risks associated with trading, the hypothetical nature of any results, and the importance of consulting with a financial professional. Additionally, it emphasizes that users are solely responsible for their trading decisions and any outcomes that result from using the indicator.
Tips for Implementation:
Visibility:
Ensure that this disclaimer is prominently displayed wherever the RSI ProfitGuard Indicator is offered, such as on your website, within the TradingView description, or in any accompanying documentation.
Clarity:
Use clear and concise language to make sure that all users understand the limitations and responsibilities associated with using the indicator.
Legal Review:
Consider having the disclaimer reviewed by a legal professional to ensure that it meets all necessary legal requirements and adequately protects your interests.
Regular Updates:
Periodically review and update the disclaimer to reflect any changes in the indicator's functionality or in relevant laws and regulations.
Adjustable Correction from ATH SignalA "Correction Signal from All-Time High" is an indicator used to identify potential reversals or pullbacks in an asset's price after it has reached its highest historical level, known as an all-time high (ATH). This signal typically occurs when the price begins to decline after hitting the ATH, suggesting a correction phase where the asset retraces part of its upward movement.
Key elements of this signal include:
Overbought Conditions: The asset may have experienced a strong rally leading to an overbought condition, where the price could be considered too high relative to recent trends.
Reversal Patterns: The correction signal is often accompanied by technical patterns or indicators that suggest a reversal, such as bearish candlestick formations, negative divergence in momentum indicators, or moving average crossovers.
Percentage Decline: A correction is generally defined as a price drop of at least 10% from the ATH, although smaller pullbacks may also signal potential market shifts.
Volume Analysis: Increased selling volume after the ATH can validate the correction signal, indicating that more market participants are taking profits or exiting positions.
This signal helps traders and investors anticipate periods of market consolidation or potential downturns after significant price advances, allowing for better risk management or entry points for new positions.
Multi-Symbol Volume Increase Screener [CHE] MultiSymbol Volume Increase Screener
Designed for TradingView
Presented by Chervolino
Introduction
Welcome to the presentation of the MultiSymbol Volume Increase Screener—a powerful tool designed to enhance your trading strategy on TradingView. Developed at the request of jscott143, this screener provides traders with realtime insights into significant volume movements across multiple symbols, enabling more informed and timely trading decisions.
Purpose and Objectives
Identify HighVolume Opportunities: Detect symbols experiencing a significant increase in volume compared to their historical average.
Monitor Multiple Symbols Simultaneously: Efficiently track up to five symbols in one view.
RealTime Alerts: Receive instant notifications when predefined volume conditions are met.
Comprehensive Overview: Display volume data and percentage increases in an organized table for easy analysis.
Key Features
1. MultiSymbol Monitoring
Track up to five different symbols simultaneously.
Customize the list of symbols based on your trading portfolio.
2. Volume Analysis
Compare current candle volume against the average volume over a specified period.
Calculate and display the percentage increase in volume.
3. RealTime Alerts
Set a volume increase multiplier (e.g., 1.5x) to trigger alerts.
Receive alerts via email, popup, or SMS when conditions are met.
4. UserFriendly Table Display
View symbols, their current volume, and percentage increase in a clear, concise table.
Colorcoded indicators highlight significant volume changes.
5. Customizable Parameters
Adjust the average volume period to suit different trading strategies.
Set your preferred volume increase multiplier for alerts.
How It Works
1. User Inputs:
Symbols Selection: Choose up to five symbols you wish to monitor.
Average Volume Period: Define the number of bars over which the average volume is calculated (default is 20).
Volume Increase Multiplier: Set the threshold for volume increase to trigger alerts (default is 1.5x).
2. Volume Calculation:
The screener fetches the current volume and calculates the simple moving average (SMA) of volume over the defined period for each symbol.
It then determines if the current volume exceeds the average volume by the specified multiplier.
3. Data Display:
A table is generated on the chart displaying each symbol, its current volume, and the percentage increase.
Green text indicates that the volume increase condition has been met.
4. Alert Generation:
When a symbol's current volume surpasses the average volume by the set multiplier, an alert is triggered.
Alerts are customizable and can be set to notify you through various channels.
Benefits
Enhanced DecisionMaking: Quickly identify highvolume trading opportunities across multiple assets.
Time Efficiency: Monitor several symbols without the need to switch between charts.
Proactive Trading: Stay informed with realtime alerts, allowing for timely trading actions.
Customization: Tailor the screener settings to align with your unique trading strategies and preferences.
Setup Instructions
1. Add the Screener to TradingView:
Navigate to TradingView and open the Pine Editor.
Add the MultiSymbol Volume Increase Screener indicator to your chart.
Save and apply the indicator.
2. Configure User Inputs:
Select up to five symbols you wish to monitor in the input fields "Symbol 1" to "Symbol 5".
Adjust the "Average Volume Period" and "Volume Increase Multiplier" as needed.
3. Set Up Alerts:
Click on the Alarm icon (🔔) in the TradingView toolbar.
In the "Condition" dropdown, select the "MultiSymbol Volume Increase Screener".
Choose the specific alert condition for each symbol (e.g., "Volume Increase Alert for Symbol 1").
Configure the alert actions (e.g., email, popup, SMS) and click "Create".
Repeat this process for each symbol you wish to monitor.
Visual Demonstration
Table Display Example:
| Symbol | Volume | % Increase |
| AAPL | 150,000 | 50.00% |
| MSFT | 120,000 | 20.00% |
| GOOGL | 180,000 | 80.00% |
| AMZN | 130,000 | 30.00% |
| TSLA | 160,000 | 60.00% |
Green Text: Indicates that the volume increase condition has been met for that symbol.
Alert Notification Example:
```
🚀 Symbol 1 shows a volume increase!
```
Note: Replace "Symbol 1" with the actual symbol as per your configuration.
Customization Options
Increase the Number of Symbols:
While the current screener monitors five symbols, it can be extended to monitor more by adding additional input fields and corresponding calculations. However, be mindful of TradingView's Pine Script limitations and potential performance impacts.
Adjust Volume Period and Multiplier:
Tailor the "Average Volume Period" and "Volume Increase Multiplier" to align with your specific trading strategies and market conditions.
Enhance Table Information:
Incorporate additional data points such as current price, price change percentage, or other technical indicators to enrich your analysis.
Benefits of Using the Screener
Efficiency: Saves time by providing a consolidated view of multiple symbols' volume activity.
Proactive Trading: Enables you to act swiftly on significant volume movements, which often precede price changes.
DataDriven Decisions: Facilitates informed trading decisions based on realtime volume analysis.
Customization: Offers flexibility to adapt the screener to various trading styles and preferences.
Conclusion
The MultiSymbol Volume Increase Screener is an invaluable tool for traders looking to capitalize on significant volume movements across multiple assets. Developed at the request of jscott143, this screener integrates seamlessly with TradingView, providing realtime insights and alerts to enhance your trading strategy.
Q&A
Feel free to ask any questions or request further customization to better suit your trading needs.
Contact Information
Created for: jscott143
Thank you for your attention!
Market Structure Inducements ICT [TradinFinder] CHoch BOS Sweeps🔵 Introduction
Market Structure is the foundation for identifying trends in the market, crucial in technical analysis and strategies like ICT and SMC. Understanding key concepts such as Break of Structure (BOS) and Change of Character (CHOCH) helps traders recognize critical shifts in the market. BOS, referring to a Market Structure Change (BMS), and CHOCH or Market Structure Shift (MSS) signal trend reversals in the market.
Additionally, the concept of Inducement, a vital tool in Smart Money strategies, allows traders to avoid price traps. Identifying valid pullback, valid inducement, POI, and Liquidity Grab helps traders find optimal entry and exit points and leverage Smart Money movements effectively.
Bullish Market Structure :
Bearish Market Structure :
🔵 How to Use
The Market Structure indicator is designed to help traders better understand market structure and detect price traps. By using this indicator, you can identify the right entry and exit points based on structural changes in the market and avoid unprofitable trades. Below, we explain the key concepts and how to apply them in trading.
🟣 Market Structure
Market Structure refers to the overall pattern of price movement in the market. Using this indicator, traders can identify uptrends and downtrends and make better trading decisions based on changes in market structure. The two key concepts here are Break of Structure (BOS) and Change of Character (CHOCH).
Change of Character (CHOCH) : CHOCH occurs when the market shifts from an uptrend to a downtrend or vice versa. These changes typically indicate a broader trend reversal, and the indicator assists you in identifying them accurately.
Break of Structure (BOS) : When the market breaks a key support or resistance level, it signals a change in market structure. This indicator helps you identify these breakouts in time and take advantage of trading opportunities.
🟣 Inducement
Inducement refers to price traps set by Smart Money to trick retail traders into making the wrong trades. This indicator helps you recognize these traps and avoid unprofitable trades.
Valid Inducement : Valid Inducement refers to deliberately created price traps by major market players to gather liquidity from retail traders. Once the market has collected sufficient liquidity, it makes the real move, and professional traders use this moment to enter.
🟣 Valid Pullback
A Valid Pullback refers to a temporary market retracement, indicating a price correction within the main trend. This concept is crucial in technical analysis as it helps traders enter trades at the right time and profit from the continuation of the trend. The Market Structure indicator can identify these valid retracements, allowing traders to enter trades with greater confidence.
🟣 Point of Interest (POI)
Another important concept in market analysis is the Point of Interest (POI), referring to key price areas on the chart. POI includes zones where significant price movements are likely to occur. The Market Structure indicator helps you locate these key points and use them as entry signals for trades.
🟣 Liquidity Grab
Liquidity Grab refers to a scenario where the market intentionally moves to areas where retail traders' stop losses are placed. The goal is to gather liquidity, allowing major players to execute trades at better prices. By using this indicator, you can spot these liquidity grabs and avoid falling into price traps.
🔵 Setting
ChoCh Detector Period : The period of identifying the major market levels that occur when they break ChoCh.
BoS & Liquidity Detector Period : The period of identifying minor levels, which are used to identify BoS and Liquidity levels.
Inducement Detector Period : The period of identification of Inducement levels.
Fast Trend Detector : This feature will help you update the major market structure levels sooner.
Inducement Type Detector : Two modes "Sweeps" and "Total" can be used to identify the levels of Inducement. In "Sweeps" mode only Levels detected by touch shadow. In "Total" mode, all Levels are detected.
🔵 Conclusion
In financial market analysis and forex trading, identifying Market Structure and Inducement is crucial. Market Structure helps you detect uptrends and downtrends, and understand Break of Structure (BOS) and Change of Character (CHOCH). The concept of Inducement also enables traders to spot Smart Money price traps and avoid unprofitable trades.
The Market Structure indicator is a powerful tool that, by analyzing the market structure and concepts like valid pullback and valid inducement, helps you make more precise trade entries. Additionally, by identifying POI and Liquidity Grab, the indicator gives you the ability to spot key market zones and use them to your advantage in trading.
Interest Rate Trading (Manually Added Rate Decisions) [TANHEF]Interest Rate Trading: How Interest Rates Can Guide Your Next Move.
How were interest rate decisions added?
All interest rate decision dates were manually retrieved from the 'Record of Policy Actions' and 'Minutes of Actions' on the Federal Reserve's website due to inconsistent dates from other sources. These were manually added as Pine Script currently only identifies rate changes, not pauses.
█ Simple Explanation:
This script is designed for analyzing and backtesting trading strategies based on U.S. interest rate decisions which occur during Federal Open Market Committee (FOMC) meetings, to make trading decisions. No trading strategy is perfect, and it's important to understand that expectations won't always play out. The script leverages historical interest rate changes, including increases, decreases, and pauses, across multiple economic time periods from 1971 to the present. The tool integrates two key data sources for interest rates—USINTR and FEDFUNDS—to support decision-making around rate-based trades. The focus is on identifying opportunities and tracking trades driven by interest rate movements.
█ Interest Rate Decision Sources:
As noted above, each decision date has been manually added from the 'Record of Policy Actions' and 'Minutes of Actions' documents on the Federal Reserve's website. This includes +50 years of more than 600 rate decisions.
█ Interest Rate Data Sources:
USINTR: Reflects broader U.S. interest rate trends, including Treasury yields and various benchmarks. This is the preferred option as it corresponds well to the rate decision dates.
FEDFUNDS: Tracks the Federal Funds Rate, which is a more specific rate targeted by the Federal Reserve. This does not change on the exact same days as the rate decisions that occur at FOMC meetings.
█ Trade Criteria:
A variety of trading conditions are predefined to suit different trading strategies. These conditions include:
Increase/Decrease: Standard rate increases or decreases.
Double/Triple Increase/Decrease: A series of consecutive changes.
Aggressive Increase/Decrease: Rate changes that exceed recent movements.
Pause: Identification of no changes (pauses) between rate decisions, including double or triple pauses.
Complex Patterns: Combinations of pauses, increases, or decreases, such as "Pause after Increase" or "Pause or Increase."
█ Trade Execution and Exit:
The script allows automated trade execution based on selected criteria:
Auto-Entry: Option to enter trades automatically at the first valid period.
Max Trade Duration: Optional exit of trades after a specified number of bars (candles).
Pause Days: Minimum duration (in days) to validate rate pauses as entry conditions. This is especially useful for earlier periods (prior to the 2000s), where rate decisions often seemed random compared to the consistency we see today.
█ Visualization:
Several visual elements enhance the backtesting experience:
Time Period Highlighting: Economic time periods are visually segmented on the chart, each with a unique color. These periods include historical phases such as "Stagflation (1971-1982)" and "Post-Pandemic Recovery (2021-Present)".
Trade and Holding Results: Displays the profit and loss of trades and holding results directly on the chart.
Interest Rate Plot: Plots the interest rate movements on the chart, allowing for real-time tracking of rate changes.
Trade Status: Highlights active long or short positions on the chart.
█ Statistics and Criteria Display:
Stats Table: Summarizes trade results, including wins, losses, and draw percentages for both long and short trades.
Criteria Table: Lists the selected entry and exit criteria for both long and short positions.
█ Economic Time Periods:
The script organizes interest rate decisions into well-defined economic periods, allowing traders to backtest strategies specific to historical contexts like:
(1971-1982) Stagflation
(1983-1990) Reaganomics and Deregulation
(1991-1994) Early 1990s (Recession and Recovery)
(1995-2001) Dot-Com Bubble
(2001-2006) Housing Boom
(2007-2009) Global Financial Crisis
(2009-2015) Great Recession Recovery
(2015-2019) Normalization Period
(2019-2021) COVID-19 Pandemic
(2021-Present) Post-Pandemic Recovery
█ User-Configurable Inputs:
Rate Source Selection: Choose between USINTR or FEDFUNDS as the primary interest rate source.
Trade Criteria Customization: Users can select the criteria for long and short trades, specifying when to enter or exit based on changes in the interest rate.
Time Period: Select the time period that you want to isolate testing a strategy with.
Auto-Entry and Pause Settings: Options to automatically enter trades and specify the number of days to confirm a rate pause.
Max Trade Duration: Limits how long trades can remain open, defined by the number of bars.
█ Trade Logic:
The script manages entries and exits for both long and short trades. It calculates the profit or loss percentage based on the entry and exit prices. The script tracks ongoing trades, dynamically updating the profit or loss as price changes.
█ Examples:
One of the most popular opinions is that when rate starts begin you should sell, then buy back in when rate cuts stop dropping. However, this can be easily proven to be a difficult task. Predicting the end of a rate cut is very difficult to do with the the exception that assumes rates will not fall below 0.25%.
2001-2009
Trade Result: +29.85%
Holding Result: -27.74%
1971-2024
Trade Result: +533%
Holding Result: +5901%
█ Backtest and Real-Time Use:
This backtester is useful for historical analysis and real-time trading. By setting up various entry and exit rules tied to interest rate movements, traders can test and refine strategies based on real historical data and rate decision trends.
This powerful tool allows traders to customize strategies, backtest them through different economic periods, and get visual feedback on their trading performance, helping to make more informed decisions based on interest rate dynamics. The main goal of this indicator is to challenge the belief that future events must mirror the 2001 and 2007 rate cuts. If everyone expects something to happen, it usually doesn’t.
Session HighlighterSession Highlighter Script
This Pine Script highlights the major trading sessions on your chart with distinct background colors and markers:
- Asian Session: From 22:00 to 06:00 UTC (Tokyo Open to Close), highlighted in blue.
-European Session: From 07:00 to 15:00 UTC (London Open to Close), highlighted in green.
-U.S. Session: From 13:00 to 21:00 UTC (New York Open to Close), highlighted in red.
Features:
- Background Colors: Different colors indicate the active trading session.
- Markers: Displays labels or shapes at the start of each session to show session changes.
Usage:
- Helps visualize trading session overlaps and market activity throughout the day.
- Ideal for identifying session-specific trends and planning trading strategies.
This script ensures that you can easily see when each major trading session starts and ends, allowing for better market timing and analysis.
ETH Signal 15m
This strategy uses the Supertrend indicator combined with RSI to generate buy and sell signals, with stop loss (SL) and take profit (TP) conditions based on ATR (Average True Range). Below is a detailed explanation of each part:
1. General Information BINANCE:ETHUSDT.P
Strategy Name: "ETH Signal 15m"
Designed for use on the 15-minute time frame for the ETH pair.
Default capital allocation is 15% of total equity for each trade.
2. Backtest Period
start_time and end_time: Define the start and end time of the backtest period.
start_time = 2024-08-01: Start date of the backtest.
end_time = 2054-01-01: End date of the backtest.
The strategy will only run when the current time falls within this specified range.
3. Supertrend Indicator
Supertrend is a trend-following indicator that provides buy or sell signals based on the direction of price changes.
factor = 2.76: The multiplier used in the Supertrend calculation (increasing this value makes the Supertrend less sensitive to price movements).
atrPeriod = 12: Number of periods used to calculate ATR.
Output:
direction: Determines the buy/sell direction based on Supertrend.
If direction decreases, it signals a buy (Long).
If direction increases, it signals a sell (Short).
4. RSI Indicator
RSI (Relative Strength Index) is a momentum indicator, often used to identify overbought or oversold conditions.
rsiLength = 12: Number of periods used to calculate RSI.
rsiOverbought = 70: RSI level considered overbought.
rsiOversold = 30: RSI level considered oversold.
5. Entry Conditions
Long Entry:
Supertrend gives a buy signal (ta.change(direction) < 0).
RSI must be below the overbought level (rsi < rsiOverbought).
Short Entry:
Supertrend gives a sell signal (ta.change(direction) > 0).
RSI must be above the oversold level (rsi > rsiOversold).
The strategy will only execute trades if the current time is within the backtest period (in_date_range).
6. Stop Loss (SL) and Take Profit (TP) Conditions
ATR (Average True Range) is used to calculate the distance for Stop Loss and Take Profit based on price volatility.
atr = ta.atr(atrPeriod): ATR is calculated using 12 periods.
Stop Loss and Take Profit are calculated as follows:
Long Trade:
Stop Loss: Set at close - 4 * atr (current price minus 4 times the ATR).
Take Profit: Set at close + 2 * atr (current price plus 2 times the ATR).
Short Trade:
Stop Loss: Set at close + 4 * atr (current price plus 4 times the ATR).
Take Profit: Set at close - 2.237 * atr (current price minus 2.237 times the ATR).
Summary:
This strategy enters a Long trade when the Supertrend indicates an upward trend and RSI is not in the overbought region. Conversely, a Short trade is entered when Supertrend signals a downtrend, and RSI is not oversold.
The trade is exited when the price reaches the Stop Loss or Take Profit levels, which are determined based on price volatility (ATR).
Disclaimer:
The content provided in this strategy is for informational and educational purposes only. It is not intended as financial, investment, or trading advice. Trading in cryptocurrency, stocks, or any financial markets involves significant risk, and you may lose more than your initial investment. Past performance is not indicative of future results, and no guarantee of profit can be made. You should consult with a professional financial advisor before making any investment decisions. The creator of this strategy is not responsible for any financial losses or damages incurred as a result of following this strategy. All trades are executed at your own risk.
Trend Fusion: ADX&EMA+Ichimoku (Custom)SAME AS THE ORIGINAL (WITHOUT BOTTOM PART)
Trend Fusion: ADX & EMA+Ichimoku is an innovative indicator designed to provide traders with comprehensive insights into market trends. Combining the power of the Average Directional Index (ADX) with Exponential Moving Averages (EMA) and the Ichimoku Cloud, this indicator offers a sophisticated approach to trend analysis.
This indicator stands out for its unique integration of multiple trend-following indicators, offering traders a holistic view of market dynamics. Unlike traditional trend indicators that focus solely on price movements, Trend Fusion incorporates the ADX, EMA, and Ichimoku Cloud to provide a more nuanced understanding of trend strength and direction. By combining these indicators, traders can make more informed decisions and enhance their trading strategies.
How it works:
Trend Fusion generates buy and sell signals based on the convergence of these indicators. A combination of strong ADX readings, EMA crossovers, and alignment with the Ichimoku Cloud confirms trend direction and provides entry and exit points for traders.
Average Directional Index (ADX): Measures the strength of the prevailing trend by analyzing price movements. A rising ADX indicates a strengthening trend, while a falling ADX suggests weakening momentum.
Exponential Moving Averages (EMA): Detects potential trend reversals through crossover signals. A bullish crossover (fast EMA crossing above slow EMA) suggests an uptrend, while a bearish crossover indicates a downtrend.
Ichimoku Cloud: Provides support and resistance levels along with trend direction. Price movements above the cloud indicate bullish sentiment, while movements below the cloud suggest bearish sentiment.
How to useColour codes:
Green Candles: Represent a strong uptrend, indicating robust buying momentum. The intensity of green color deepens with increasing trend strength.
Red Candles: Indicate a strong downtrend, signaling significant selling pressure in the market. The intensity of red color deepens with increasing trend strength.
Yellow Candles: Suggest a weak trend, characterized by indecision and lack of clear direction. The intensity of yellow color varies based on the strength of the trend, with lighter shades indicating weaker trends and darker shades suggesting slightly stronger trends.
Trend Strength: Monitor the ADX to gauge the strength of the prevailing trend. Higher ADX values indicate stronger trends, while lower values suggest weaker trends.
Trend Direction: Confirm trend direction using EMA crossovers and Ichimoku Cloud signals. Look for bullish crossovers and price movements above the cloud for uptrends, and bearish crossovers and movements below the cloud for downtrends.
Entry and Exit Signals: Enter trades when all components align, signaling a strong trend. Use EMA crossovers and cloud confirmations to identify potential entry points, and consider exiting trades when these signals reverse.
The ADX calculation and signal logic are based on the ADX script by PineCoders, with modifications to integrate it into this indicator.
The EMA crossover logic is adapted from the GDAX EMA Cross script by stefano98.
The Ichimoku Cloud calculation and plotting are adapted from the Ichimoku Cloud script by lonesometheblue.
Trading involves risk, and past performance is not indicative of future results. It is recommended to use this indicator alongside other technical analysis tools and risk management strategies.
ICT MACROS (UTC-4)This Pine Script creates an indicator that draws vertical lines on a TradingView chart to mark specific time intervals during the day. It allows the user to see when certain predefined time periods start and end, using vertical lines of different colors. The script is designed to work with time frames aligned to the UTC-4 timezone.
### Key Features of the Script
1. **Vertical Line Drawing Function**:
- The script uses a custom function, `draw_vertical_line`, to draw vertical lines at specific times.
- This function takes four parameters:
- `specificTime`: The specific timestamp when the vertical line should be drawn.
- `lineColor`: The color of the vertical line.
- `labelText`: The text label for the line (used internally for debugging purposes).
- `adjustment_minutes`: An integer value that allows time adjustment (in minutes) to make the lines align more accurately with the chart’s candles.
- The function calculates an adjusted time using the `adjustment_minutes` parameter and checks if the current time (`time`) falls within a 3-minute range of the adjusted time. If it does, it draws a vertical line.
2. **User Input for Time Adjustment**:
- The `adjustment_minutes` input allows users to fine-tune the appearance of the lines by shifting them slightly forward or backward in time to ensure they align with the chart candles. This is useful because of potential minor discrepancies between the script’s timestamps and the chart’s actual candle times.
3. **Predefined Time Intervals**:
- The script specifies six different time intervals (using the UTC-4 timezone) and draws vertical lines to mark the start and end of each interval:
- **First interval**: 8:50 - 9:10 AM
- **Second interval**: 9:50 - 10:10 AM
- **Third interval**: 10:50 - 11:10 AM
- **Fourth interval**: 13:10 - 13:40 PM
- **Fifth interval**: 14:50 - 15:10 PM
- **Sixth interval**: 15:15 - 15:45 PM
- For each interval, there are two timestamps: the start time and the end time. The script draws a green vertical line for the start and a red vertical line for the end.
4. **Line Drawing Logic**:
- For each time interval, the script calculates the timestamp using the `timestamp()` function with the specified time in UTC-4.
- The `draw_vertical_line` function is called twice for each interval: once for the start time (with a green line) and once for the end time (with a red line).
5. **Visual Overlay**:
- The script uses the `overlay=true` setting, which means that the vertical lines are drawn directly on top of the existing price chart. This helps in visually identifying the specific time intervals without cluttering the chart.
### Summary
This Pine Script is designed for traders or analysts who want to visualize specific time intervals directly on their TradingView charts. It provides a customizable way to highlight these intervals using vertical lines, making it easier to analyze price action or trading volume during key times of the day. The `adjustment_minutes` input adds flexibility to align these lines accurately with chart data.
Time Range### Indicator Name: **Time Range**
#### Description:
The **Time Range** indicator allows users to highlight specific time ranges on a chart for each day of the week. It uses customizable time inputs for every day (Monday to Sunday), allowing the user to define trading sessions or any time-based range. These sessions are visualized by shading the background of the chart within the defined periods.
#### Key Features:
- **Custom Sessions**: For each day of the week (Monday to Sunday), the user can define a unique time session by specifying the start time using the input fields.
- **Day-wise Session Activation**: The user can toggle the activation of sessions for each day by using checkboxes. If the session for a particular day is disabled, no background shading will appear for that day.
- **Background Highlighting**: When a session is active, the background of the chart during the specified session period will be shaded in gray with a 70% transparency. This helps the user visually identify active time ranges across multiple days.
#### Use Cases:
- **Highlighting Trading Sessions**: Traders can use this indicator to easily visualize specific market sessions such as the New York or London trading sessions.
- **Visualizing Custom Time Blocks**: Can be used to highlight any custom time blocks that are important for the trader, such as key trading hours, news release periods, or other time-based strategies.
#### Customizable Parameters:
- **Day Toggles**: Checkboxes to activate or deactivate sessions for each day of the week.
- **Time Range Inputs**: Time range inputs allow the user to set start times for each session, which are applied based on the user's selection for the day.
This indicator helps streamline chart analysis by giving clear visual markers for time-based events or trading windows.
Solar System in 3D [Astro Tool w/ Zodiac]Hello Traders and Developers,
I am excited to announce my latest Open Source indicator. At the core, this is a demonstration of PineScript’s capabilities in Rendering 3D Animations, while at the same time being a practical tool for Financial Astrologists.
This 3D Engine dynamically renders all the major celestial bodies with their individual orbits, rotation speeds, polar inclinations and astrological aspects, all while maintaining accurate spatial relationships and perspective.
This is a Geocentric model of the solar system (viewed from the perspective of Earth), since that is what most Astrologists use. Thanks to the AstroLib Library created by @BarefootJoey, this model uses the real coordinates of cosmic bodies for every timestamp.
This script truly comes to life when using the “Bar Replay” mode in TradingView, as you can observe the relationships between planets and price action as time progresses, with the full animation capabilities as mentioned above.
In addition to what I have described, this indicator also displays the orbital trajectories for each cosmic body, and has labels for everything. I have also added the ability to hover on all the labels, and see a short description of what they imply in Astrology.
Optional Planetary Aspect Computation
This indicator supports all the Major Planetary Aspects, with an accuracy defined by the user (1° by default).
Conjunction: 0° Alignment. This draws a RED line starting from the center, and going through both planets.
Sextile: 60° Alignment. This draws three YELLOW lines, connecting the planets to each other and to the center.
Square: 90° Alignment. This draws three BLUE lines, connecting the planets to each other and to the center.
Trine: 120° Alignment. This draws three PURPLE lines, connecting the planets to each other and to the center.
Opposition: 180° Alignment. This draws a GREEN line starting from one planet, passing through the center and ending on the second planet.
The below image depicts a Top-Down view of the system, with the Moon in Opposition to Venus and with Mars in Square with Neptune .
Retrograde Computation
This indicator also displays when a planet enters Retrograde (Apparent Backward Motion) by making its orbital trajectory dashed and the planet name getting a red background.
The image below displays an example of Jupiter, Saturn, Neptune and Pluto in Retrograde Motion, from the camera perspective of a 65 degree inclination.
Optional Zodiac Computation (Tropical and Sidereal)
Zodiac represents the relatively stationary star formations that rest along the ecliptic plane, with planets transitioning from one to the next, each with a 30° separation (making 12 in total). I have implemented the option to switch between Tropical mode (where these stars were 2,000 years ago) and Sidereal (where these stars are today).
The image below displays the Zodiac labels with clear lines denoting where each planet falls into.
While this indicator is deployed in a separate pane, it is trivial to transfer it onto your price chart, just by clicking and dragging the graphics. After that, you can adjust the visuals by dragging the scale on the side, or optimizing model settings. You can also drag the model above or below the price, as shown in the following image:
Of course, there are a lot of options to customize this planetary model to your tastes and analytical needs. Aside from visual changes for the labels, colors or resolution you can also disable certain planets that don’t meet your needs as shown below:
Once can also infer the current lunar phases using the Aspects between the Sun and Moon. When the Moon is Opposite the Sun that is a Full Moon, while when they are Conjunct that is a New Moon (and sometimes Eclipse).
—---------------------------------------------------------------------------
I have made this indicator open source to help PineScript programmers understand how to approach 3D graphics rendering, enabling them to develop ever more capable scripts and continuously push the boundaries of what's possible on TradingView.
The code is well documented with comments and has a clear naming convention for functions and variables, to aid developers understand how everything operates.
For financial astrologists, this indicator offers a new way to visualize and correlate planetary movements, adding depth and ease to astrological market analysis.
Regards,
Hawk
LRS-Strategy: 200-EMA Buffer & Long/Short Signals LRS-Strategy: 200-EMA Buffer & Long/Short Signals
This indicator is designed to help traders implement the Leveraged Return Strategy (LRS) using the 200-day Exponential Moving Average (EMA) as a key trend-following signal. The indicator offers clear long and short signals by analyzing the price movements relative to the 200-day EMA, enhanced by customizable buffer zones for increased precision.
Key Features:
200-Day EMA: The main trend indicator. When the price is above the 200-day EMA, the market is considered in an uptrend, and when it is below, it indicates a downtrend.
Customizable Buffer Zones: Users can define a percentage buffer around the 200-day EMA (default is 3%). The upper and lower buffer zones help filter out noise and prevent premature signals.
Precise Long/Short Signals:
Long Signal: Triggered when the price moves from below the lower buffer zone, crosses the 200-day EMA, and then breaks above the upper buffer zone.
Short Signal: Triggered when the price moves from above the upper buffer zone, crosses the 200-day EMA, and then breaks below the lower buffer zone.
Alternating Signals: Ensures that a new signal (long or short) is only generated after the opposite signal has been triggered, preventing multiple signals of the same type without a reversal.
Clear Visual Aids: The indicator displays the 200-day EMA and buffer zones on the chart, along with buy (long) and sell (short) signals. This makes it easy to track trends and time entries/exits.
How to Use:
Long Entry: Look for the price to move below the lower buffer, cross the 200-day EMA from below, and then break out of the upper buffer to confirm a long signal.
Short Entry: Look for the price to move above the upper buffer, cross below the 200-day EMA, and then break below the lower buffer to confirm a short signal.
This indicator is perfect for traders who prefer a structured, trend-following approach, using clear rules to minimize noise and identify meaningful long or short opportunities.
Bitcoin Thermocap [InvestorUnknown]The Bitcoin Thermocap indicator is designed to analyze Bitcoin's market data using a variant of the "Thermocap Multiple" concept from BitBo. This indicator offers several modes for interpreting Bitcoin's historical block and price data, aiding investors and analysts in understanding long-term market dynamics and generating potential investing signals.
Key Features:
1. Thermocap Calculation
The core of the indicator is based on the Thermocap Multiple, which evaluates Bitcoin's value relative to its cumulative historical blocks mined.
Thermocap Formula:
Source: Bitbo
btc_price = request.security("INDEX:BTCUSD", "1D", close)
BTC_BLOCKSMINED = request.security("BTC_BLOCKSMINED", "D", close)
// Variable to store the cumulative historical blocks
var float historical_blocks = na
// Initialize historical blocks on the first bar
if (na(historical_blocks))
historical_blocks := 0.0
// Update the cumulative blocks for each day
historical_blocks += BTC_BLOCKSMINED * btc_price
// Calculate the Thermocap
float thermocap = ((btc_price / historical_blocks) * 1000000) // the multiplication is just for better visualization
2. Multiple Display Modes:
The indicator can display data in four different modes, offering flexibility in interpretation:
RAW: Displays the raw Thermocap value.
LOG: Applies the logarithm of the Thermocap to visualize long-term trends more effectively, especially for large-value fluctuations.
MA Oscillator: Shows the ratio between the Thermocap and its moving average (MA). Users can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA) for smoothing.
Normalized MA Oscillator: Provides a normalized version of the MA Oscillator using a dynamic min-max rescaling technique.
3. Normalization and Rescaling
The indicator normalizes the Thermocap Oscillator values between user-defined limits, allowing for easier interpretation. The normalization process decays over time, with values shrinking towards zero, providing more relevance to recent data.
Negative values can be allowed or restricted based on user preferences.
f_rescale(float value, float min, float max, float limit, bool negatives) =>
((limit * (negatives ? 2 : 1)) * (value - min) / (max - min)) - (negatives ? limit : 0)
f_max_min_normalized_oscillator(float x) =>
float oscillator = x
var float min = na
var float max = na
if (oscillator > max or na(max)) and time >= normalization_start_date
max := oscillator
if (min > oscillator or na(min)) and time >= normalization_start_date
min := oscillator
if time >= normalization_start_date
max := max * decay
min := min * decay
normalized_oscillator = f_rescale(x, min, max, lim, neg)
Usage
The Bitcoin Thermocap indicator is ideal for long-term market analysis, particularly for investors seeking to assess Bitcoin's relative value based on mining activity and price dynamics. The different display modes and customization options make it versatile for a variety of market conditions, helping users to:
Identify periods of overvaluation or undervaluation.
Generate potential buy/sell signals based on the MA Oscillator and its normalized version.
By leveraging this Thermocap-based analysis, users can gain a deeper understanding of Bitcoin's historical and current market position, helping to inform investment strategies.