PDL PWL [Dans]PDL PWL
Overview:
The PDL PWL indicator is a simple-designed for traders seeking to visualize key price levels derived from previous daily and weekly trading sessions. By incorporating significant price points such as Previous Day High (PDH), Previous Day Low (PDL), Previous Week High (PWH), and Previous Week Low (PWL), this indicator helps to make informed decisions based on historical price action.
Key Features:
Toggle Options:
Easily toggle the visibility of Previous Daily Levels and Previous Weekly Levels. This flexibility allows you to customize your chart according to your trading style and preferences.
Customizable Colors :
Personalize your chart by selecting colors for PDH, PDL, PWH, and PWL.
Equilibrium Levels:
The indicator calculates and displays equilibrium levels (EQ) for both daily and weekly levels.
Dynamic Updates:
The indicator automatically updates at 18:00 NY time, ensuring that you always have the latest previous high and low levels on your chart.
Daily Divider:
A daily divider line is drawn at the start of each trading day, helping you distinguish between trading sessions (daily) easily.
How to Use: Simply add the PDL PWL indicator to your chart, adjust the settings to fit your trading style, and observe how price interacts with the key levels.
Hope you will find this insightful !
Love,
Dans.
Indicators and strategies
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.
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.
Elite By Ashu4750Inside Bar Detection:
The script identifies inside bars, which are candles where the high is lower and the low is higher than the previous bar. It tracks the high and low of the mother candle (the candle preceding the inside bars) and plots the ranges on the chart using lines and labels.
Exponential Moving Averages (EMA):
Three EMAs are calculated and plotted (with default periods of 9, 21, and 50). This is a classic trend-following technique used to smooth price data and identify the direction of the market.
Bollinger Bands (BB):
The script includes a Bollinger Band calculation using the simple moving average (SMA) with a standard deviation multiplier. The bands help visualize volatility and potential overbought or oversold conditions.
The user can configure settings like the length of the SMA and the multiplier for the upper and lower bands.
Volume Weighted Average Price (VWAP):
The VWAP is plotted on the chart and reset based on user-defined timeframes (e.g., session, week, month). VWAP is a popular indicator for institutional trading, as it shows the average price weighted by volume and can act as support or resistance.
Crossover Signals (Buy/Sell):
A combination of crossovers between VWAP, EMAs, and Bollinger Bands triggers buy and sell signals. Specifically:
Buy signal is generated when VWAP crosses over the 9 EMA, the close crosses over the Bollinger Band line, and VWAP crosses over the Bollinger Band.
Sell signal is triggered when VWAP crosses under the 9 EMA, and similar conditions exist for the other indicators.
These signals are plotted with a green "Buy" or red "Sell" marker below the bars, and alerts are set up for both buying and selling.
Additional Bollinger Band Configuration:
The script provides more flexibility in Bollinger Bands by allowing the user to select between SMA, EMA, or SMMA for the moving average.
The user can also choose the standard deviation multiplier and whether to display the bands.
Alerts:
Buy and sell conditions are linked to alert conditions, allowing the user to be notified when a signal is triggered, based on the defined crossover logic.
Technical Breakdown:
Inside Bar Logic: Tracks inside bars and plots lines representing the high and low of the mother candle. The line and label functions are used to draw these on the chart, which provides a visual representation of the range.
EMA and VWAP Crossovers:
The 9, 21, and 50-period EMAs are calculated and used in crossover logic with VWAP. Crossovers between VWAP and EMAs are a common method for identifying potential trend changes.
Bollinger Bands:
The Bollinger Band component allows for volatility analysis by calculating the upper and lower bands based on the moving average's standard deviation.
Alert System:
Alerts are set for crossover signals, allowing for real-time notifications of potential buy and sell opportunities.
Visualization:
The script plots the EMAs, VWAP, and Bollinger Bands on the price chart. It highlights inside bar patterns and displays buy/sell markers on the chart when the specified conditions are met. These visual cues make it easier to follow the market’s movements and spot trading opportunities.
Customizability:
The script is highly customizable with inputs for:
EMA periods.
VWAP settings.
Bollinger Band parameters (moving average type, length, standard deviation).
Candle color options for inside bars.
In this traders looking for multiple indicators to analyze market trends, volatility, and price action.
Rolling Straddle PremiumScript is Basically intended to provide insight's on the Rolling Straddle premium for the selected index based on the input settings.
Important thing to consider for the script to work seamlessly:
Specify the LTP in the input field (need not be very accurate)
Specify the Expiry Date for the Option Strike.
Ensure Profile matches to the chart script (Index Script)
Note: Zones marked in Blue, is the max level that indicator can track the option prices. beyond which it may fail to track, during such time consider reloading the indicator with Latest LTP .
Labels on the chart indicate that If i had shorted the Straddle, what would be my current position of that Straddle. however the rational behind shorting is only the pivot high points (not sure if this is right or wrong! )
Note On Labels: Labels are delayed basis the pivot point candles specified in the indicator settings.
EN: Entry Price (Straddle Premium) of the Strike Specified.
Cur: Current Price ( Current Straddle Premium ) of the Strike Specified.
SH: Max Straddle Premium ( Increase in Premium ) since position is active.
SL: Min Straddle Premium ( Premium Erosion ) since position is active.
Flexible Moving Average StrategyThis strategy offers flexibility to choose between SMA and EMA, and allows users to set the review frequency to Daily, Weekly, or Monthly. It adapts to different market conditions by providing full control over the length and timeframe of the Moving Average.
### Key Features:
- **Moving Average Method**: Select between SMA and EMA.
- **Review Frequency**: Choose Daily, Weekly, or Monthly review periods.
- **Customizable**: Set the Moving Average length and timeframe.
- **Entry/Exit Rules**:
- **Enter Long**: When the close price is above the Moving Average at the end of the period.
- **Exit**: When the close price falls below the Moving Average.
### Parameters:
- **Review Frequency**: Daily, Weekly, Monthly
- **Moving Average Method**: SMA or EMA
- **Length & Timeframe**: Fully adjustable
This strategy suits traders who prefer a flexible, trend-following approach based on long-term price movements.
Shifted Symbol Overlay with OffsetThe Shifted Symbol Overlay Indicator is a custom TradingView indicator designed to overlay the price data of one stock or asset over another, allowing for direct visual comparison. This is particularly useful for comparing the performance of two assets over different time periods. The indicator enables you to shift the data from one asset either forward or backward in time, making it easier to compare historical data from one stock with more recent data from another. The indicator supports shifting both to the right (future periods) and to the left (earlier periods), helping traders and analysts explore correlations or divergences between two financial instruments.
The indicator also includes a normalization option that adjusts the scale of the two assets, so you can compare them even if they have vastly different price levels. This is useful when you're interested in relative performance rather than the absolute price values.
TechniTrend: Relative Volume IndexRelative Volume Index (RVI)
Short Description:
Relative Volume Index (RVI) with customizable volume bands, moving averages, and alerts for high and low volume thresholds. Includes options for displaying daily and weekly relative volume for enhanced analysis.
Full Description:
The Relative Volume Index is a powerful and versatile tool designed to help traders easily identify volume trends and anomalies in the market. By comparing the current volume to its moving average, this indicator highlights significant increases or decreases in relative volume, allowing traders to catch potential breakouts, breakdowns, or volume spikes early on.
Key Features:
Relative Volume Comparison : Compares the current volume to the moving average volume over a customizable period, highlighting overbought and oversold conditions.
Volume Alerts : Customizable alert thresholds for high and low relative volume to quickly notify traders when volume exceeds predefined limits.
Custom Moving Averages : Choose from various moving average types (SMA, EMA, WMA) to calculate the average volume over a given length.
Volume Normalization : For better readability, volumes greater than 1000 are divided by 1000 and displayed with a 'K' suffix (thousands).
Volume Bands : Configurable high, average, and low volume bands for visual reference.
Daily Relative Volume : Option to display the daily relative volume in comparison to its daily average.
Weekly Average Volume : Option to display the weekly average volume for broader market trends.
Customization Options:
Length : Customize the period for calculating the moving average.
Volume Moving Average : Toggle to show/hide the volume moving average (normalized in 'K').
Alerts : Set thresholds for high and low volume alerts and configure alerts for immediate notification.
Volume Bands : Toggle to show/hide volume bands for easy visual identification of volume zones.
Daily/Weekly Relative Volume : Optional display of relative volume data on a daily and weekly basis.
This indicator provides traders with a more intuitive view of market volume dynamics, making it easier to spot significant volume changes and take action accordingly.
Recommended Settings:
High Volume Alert Threshold: 2.0
Low Volume Alert Threshold: 0.5
Length for Moving Average Calculation: 14
Show Weekly Average Volume: On for broader trend insights
Use this indicator to stay ahead of market moves by monitoring volume trends with precision.
Alerts:
High Volume Alert : Get notified when relative volume exceeds your high threshold.
Low Volume Alert : Get notified when relative volume drops below your low threshold.
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.
Precision Cloud by Dr ABIRAM SIVPRASAD
Precision Cloud by Dr. Abhiram Sivprasad"
The " Precision Cloud" script, created by Dr. Abhiram Sivprasad, is a multi-purpose technical analysis tool designed for Forex, Bitcoin, Commodities, Stocks, and Options trading. It focuses on identifying key levels of support and resistance, combined with moving averages (EMAs) and central pivot ranges (CPR), to help traders make informed trading decisions. The script also provides a visual "light system" to highlight potential long or short positions, aiding traders in entering trades with a clear strategy.
Key Features of the Script:
Central Pivot Range (CPR):
The CPR is calculated as the average of the high, low, and close of the price, while the top and bottom pivots are derived from it. These act as dynamic support and resistance zones.
The script can plot daily CPR, support, and resistance levels (S1/R1, S2/R2, S3/R3) as well as optional weekly and monthly pivot points.
The CPR helps identify whether the price is in a bullish, bearish, or neutral zone.
Support and Resistance Levels:
Three daily support (S1, S2, S3) and resistance (R1, R2, R3) levels are plotted based on the CPR.
These levels act as potential reversal or breakout points, allowing traders to make decisions around key price points.
EMA (Exponential Moving Averages):
The script includes two customizable EMAs (default periods of 9 and 21). You can choose the source for these EMAs (open, high, low, or close).
The crossovers between EMA1 and EMA2 help identify potential trend reversals or momentum shifts.
Lagging Span:
The Lagging Span is plotted with a customizable displacement (default 26), which helps identify overall trend direction by comparing past price with the current price.
Light System:
A color-coded table provides a visual representation of market conditions:
Green indicates bullish signals (e.g., price above CPR, EMAs aligning positively).
Red indicates bearish signals (e.g., price below CPR, EMAs aligning negatively).
Yellow indicates neutral conditions, where there is no clear trend direction.
The system includes lights for CPR, EMA, Long Position, and Short Position, helping traders quickly assess whether the market is in a buying or selling opportunity.
Trading Strategies Using the Script
1. Forex Trading:
Trend-Following with EMAs: Use the EMA crossovers to capture trending markets in Forex. A green light for the EMA combined with a price above the daily or weekly pivot levels suggests a buying opportunity. Conversely, if the EMA light turns red and price falls below the CPR levels, look for shorting opportunities.
Reversal Strategy: Watch for price action near the daily S1/R1 levels. If price holds above S1 and the EMA is green, this could signal a reversal from support. The same applies to resistance levels.
2. Bitcoin Trading:
Momentum Breakouts: Bitcoin is known for its sharp moves. The script helps to identify breakouts from the CPR range. If the price breaks above the TC (Top Central Pivot) with bullish EMA alignment (green light), it could signal a strong uptrend.
Lagging Span Confirmation: Use the Lagging Span to confirm the trend direction. For Bitcoin's volatility, when the lagging span shows consistent alignment with the price and CPR, it often indicates continuation of the trend.
3. Commodities Trading:
Support/Resistance Bounce: Commodities such as gold and oil often react well to pivot levels. Look for price bouncing off S1 or R1 for potential entry points. A green CPR light along with price above the pivot range supports a bullish bias.
EMA Pullback Strategy: If price moves in a strong trend and pulls back to one of the EMAs, a green EMA light suggests re-entry on a pullback. If the EMA light is red and price breaks below the BC (Bottom Central Pivot), short positions could be considered.
4. Stocks Trading:
Long Position Strategy: For stocks, use the combination of the long position light turning green (price above TC and EMA alignment) as a signal to buy. This could be especially useful for riding bullish trends in growth stocks or during earnings seasons when volatility is high.
Short Position Strategy: If the short position light turns green, indicating price below BC and EMAs turning bearish, this could be an ideal setup for shorting overvalued stocks or during market corrections.
5. Options Trading:
Directional Bias for Options: The light system is particularly helpful for options traders. A green long position light provides a clear signal to buy call options, while a green short position light supports buying puts.
Pivot Breakout Strategy: Buy options (calls or puts) when the price breaks above resistance or below support, with confirmation from the CPR and EMA lights. This helps capture the sharp moves required for profitable options trades.
Conclusion
The S&R Precision Cloud script is a versatile tool for traders across markets, including Forex, Bitcoin, Commodities, Stocks, and Options. It combines critical technical elements like pivot ranges, support and resistance levels, EMAs, and the Lagging Span to provide a clear picture of market conditions. The intuitive light system helps traders quickly assess whether to take a long or short position, making it an excellent tool for both new and experienced traders.
The S&R Precision Cloud by Dr. Abhiram Sivprasad script is a technical analysis tool designed to assist traders in making informed decisions. However, it should not be interpreted as financial or investment advice. The signals generated by the script are based on historical price data and technical indicators, which are inherently subject to market fluctuations and do not guarantee future performance.
Trading in Forex, Bitcoin, Commodities, Stocks, and Options carries a high level of risk and may not be suitable for all investors. You should be aware of the risks involved and be willing to accept them before engaging in such activities. Always conduct your own research and consult with a licensed financial advisor or professional before making any trading decisions.
The creators of this script are not responsible for any financial losses that may occur from its use. Past performance is not indicative of future results, and the use of this script is at your own risk.
AHR999 Bitcoin Buy/Sell Signals Indicator - Accurate Trading OppThis Pine Script indicator combines the AHR999 metric with Bitcoin's historical price trends to provide clear buy and sell signals, assisting you in making informed trading decisions at crucial moments. It calculates the AHR999 index based on Bitcoin's 200-day Geometric Moving Average (GMA) and the estimated price, offering customizable buy and sell thresholds for precise entry and exit points. Ideal for traders looking to capture long-term investment trends, this indicator helps you effectively identify Bitcoin market opportunities.
Smooth Cloud [BigBeluga]This trend-following indicator, called Smooth Cloud, is built on top of a SuperSmoother Filter of John Ehlers with small modification.
It consists of three smoothed lines—Fast, Middle, and Slow—that together form a cloud. These lines are based on different periods, helping traders analyze market changes over different timeframes (fast, mid, and slow). The indicator offers a color-coded visual cloud to depict trend direction, along with a detailed dashboard that shows the positioning of the lines, whether they are rising or falling, and their price levels.
🔵 IDEA
The Smooth Cloud indicator is designed to help traders quickly assess the market trend by using three smoothed lines with varying periods. The lines represent fast, mid, and slow market changes, and their relative positioning provides a clear view of trend shifts. The dashboard gives a more granular view by showing if the lines are rising or falling individually, without comparing them to each other, providing insights into potential trend changes before they are fully formed. The color-coded cloud further enhances the visual experience by allowing traders to see trend direction at a glance, making it easier to spot major and minor shifts in the market.
🔵 KEY FEATURES & USAGE
◉ Three Smoothed Lines (Fast, Mid, Slow):
The indicator consists of three smoothed lines, each representing a different periods. The Fast line reacts more quickly to price changes, while the Slow line reacts more slowly, allowing traders to capture both short-term and long-term trend information. The lines are based on different lengths, and their positioning relative to each other helps determine market direction.
◉ Color-Coded Cloud:
The cloud formed between the lines is color-coded to indicate trend direction. When the Fast line is above the Slow line, it signals an upward trend, and the cloud is green. When the Fast line is below the Slow line, the cloud turns red, indicating a downward trend. This color coding makes it easy to spot the overall trend direction visually without having to analyze the lines in detail.
◉ Dashboard for Line Positioning and Trend Direction:
A dashboard in the top right corner of the chart shows the positioning of the Fast, Middle, and Slow lines relative to each other. It displays arrows for each line to indicate whether the line is above or below the other lines. For exae determines its trend direction based on its position to mid line — if it's above, an upward arrow is displayed, and if it's below mid line, a downward arrow is shown.mple, if the Fast line is above the Slow line, the dashboard shows an upward arrow for the Fast line. The Slow lin
Up trend:
Up trend shift:
Down trend shift:
Down Trend:
◉ Rising and Falling Detection:
The dashboard also tracks whether the lines are rising or falling based solely on their own values. If a line rises or falls consistently over three bars, the dashboard shows an upward or downward arrow under the "Rising or Falling" section. This feature provides additional insight into the market's momentum, allowing traders to spot potential trend reversals more quickly.
◉ Price Levels for Fast, Middle, and Slow Lines:
The dashboard includes the price levels for the Fast, Middle, and Slow lines, displayed at the bottom. These levels give traders a quick reference for where the lines are currently positioned relative to the price, adding further context to the trend information displayed.
◉ Fast Signals:
The fast signals are diplayed when fast line crosses slow line. Gree arrows up shows fast line crossed over slow and when arrow down fast line crossed under slow one.
🔵 CUSTOMIZATION
Length Input: You can adjust the length parameter, which affects the smoothing period for the lines. A shorter length makes the lines react more quickly to price changes, while a longer length provides a smoother, more gradual response.
Source Input: The indicator uses the hl2 source (the average of the high and low prices), but you can change this to another source to better suit your trading strategy.
Signals Type: Select between "Fast" and "Slow". Fast signals - is interaction of fast and slow lines. Slow signals is interaction of mid and slow lines
Related script:
Backside Bubble ScalpingFrom LIHKG
Pine from Perplexity AI
以下是Backside Bubble Scalping策略的使用說明,旨在幫助交易者理解如何在美股交易中應用這一策略。
使用說明:Backside Bubble Scalping 策略
1. 前提條件
交易時間:此策略適用於香港時間晚上9:30 PM至12:00 AM。
圖表類型:使用1分鐘圖表進行交易。
2. 策略概述
Backside Bubble Scalping策略包含兩種主要的設置:尖backside和鈍backside。這些設置通常在10:00 PM至12:00 AM之間出現。
3. 指標設定
VWAP(粉紅色):成交量加權平均價格,用於識別市場趨勢。
9 EMA(綠色):9期指數移動平均線,用於捕捉短期價格變化。
4. 識別 Backside 設置
尖backside
特徵:
當市場趨勢為純紅色下跌,並形成尖尖的V形底部。
入場條件:
當價格突破9 EMA並經過小幅盤整後,進場做多。
鈍backside
特徵:
在混合顏色的趨勢中,形成鈍鈍的V形底部。
入場條件:
在盤整期間進場做多。
5. 止損和止盈設置
止損位置:
尖backside:設置在9 EMA上方的盤整範圍底部加上0.2。
鈍backside:設置在V底部的最低點加上0.2。
止盈位置:
尖backside:當價格跌破VWAP或出現一根K線沒有跟隨時出場。
鈍backside:當一根K線的三分之二身體向下突破9 EMA時出場。
6. 操作步驟
監控市場動態:在指定的交易時間內,觀察VWAP和9 EMA的變化。
識別入場信號:根據尖backside或鈍backside的條件進行判斷,確定何時進場。
設置止損和止盈:根據上述條件設置止損和止盈位,以管理風險。
執行交易:根據信號執行交易,並持續監控市場情況以調整策略。
7. 注意事項
避免在VWAP附近進行交易,以減少失敗風險。
如果出現影線(wick bar),建議不要進行交易,因為這可能表示該設置失敗。
Sigma 2.0 - Advanced Buy and Sell Signal IndicatorOverview:
Sigma 2.0 is a sophisticated trading indicator designed to help traders identify potential buy and sell opportunities across various financial markets. By leveraging advanced mathematical calculations and incorporating multiple analytical tools, Sigma 2.0 aims to enhance trading strategies by providing precise entry and exit signals.
Key Features:
Advanced Sigma Calculations:
Utilizes a combination of Exponential Moving Averages (EMAs) and price deviations to calculate the Sigma lines (sigma1 and sigma2).
Detects potential trend reversals through the crossover of these Sigma lines.
Customizable Signal Filtering:
Offers the ability to filter buy and sell signals based on user-defined thresholds.
Helps reduce false signals in volatile markets by setting overbought and oversold levels.
Overbought and Oversold Detection:
Identifies extreme market conditions where price reversals are more likely.
Changes the background color of the chart to visually indicate overbought or oversold states.
Integration of Exponential Moving Averages (EMAs):
Includes EMAs of different lengths (10, 21, 55, 200) to assist in identifying market trends.
EMAs act as dynamic support and resistance levels.
Higher Timeframe Signal Incorporation:
Allows users to include signals from a higher timeframe to align trades with the broader market trend.
Enhances the reliability of signals by considering multiple timeframes.
Custom Alerts:
Provides alert conditions for both buy and sell signals.
Enables traders to receive notifications, ensuring timely decision-making.
How It Works:
Sigma Calculation Methodology:
The indicator calculates an average price (ap) and applies EMAs to derive the Sigma lines.
sigma1 represents the smoothed price deviation, while sigma2 is a moving average of sigma1.
A crossover of sigma1 above sigma2 generates a buy signal, indicating potential upward momentum.
Conversely, a crossover of sigma1 below sigma2 generates a sell signal.
Signal Filtering and Thresholds:
Users can enable filtering to only consider signals when sigma1 is below or above certain thresholds.
This helps in focusing on more significant market movements and reducing noise.
Overbought/Oversold Levels:
The indicator monitors sigma1 to detect when the market is in extreme conditions.
Background color changes provide a quick visual cue for these conditions.
EMA Analysis:
The plotted EMAs help in confirming the trend direction.
They can be used alongside Sigma signals to validate trade entries and exits.
Higher Timeframe Signals:
Incorporates signals from a user-selected higher timeframe.
Helps in aligning trades with the overall market trend, increasing the potential success rate.
How to Use:
Adding the Indicator to Your Chart:
Search for "Sigma 2.0" in the TradingView Indicators menu and add it to your chart.
Configuring the Settings:
Adjust the Sigma configurations (Channel Length, Average Length, Signal Line Length) to suit your trading style.
Set the overbought and oversold levels according to your risk tolerance.
Choose whether to filter signals by thresholds.
Select the higher timeframe for additional signal confirmation.
Interpreting the Signals:
Buy Signals:
Indicated by a green triangle below the price bar.
Occur when sigma1 crosses above sigma2 and other conditions are met.
Sell Signals:
Indicated by a red triangle above the price bar.
Occur when sigma1 crosses below sigma2 and other conditions are met.
Higher Timeframe Signals:
Plotted with lime (buy) and maroon (sell) triangles.
Help confirm signals in the current timeframe.
Utilizing EMAs:
Observe the EMAs to gauge the overall trend.
Consider aligning buy signals when the price is above key EMAs and sell signals when below.
Setting Up Alerts:
Use the built-in alert conditions to receive notifications for buy and sell signals.
Customize alert messages as needed.
Credits:
Original Concept Inspiration:
This indicator is inspired by the WaveTrend oscillator and other momentum-based indicators.
Special thanks to the original authors whose work laid the foundation for this enhanced version.
Disclaimer:
Trading involves significant risk, and past performance is not indicative of future results.
This indicator is a tool to assist in analysis and should not be the sole basis for any trading decision.
Always perform thorough analysis and consider multiple factors before entering a trade.
Note:
Ensure your chart is clean and only includes this indicator when publishing.
The script is open-source and can be modified to fit individual trading strategies.
For any questions or support, feel free to reach out or comment.
Big 5 Checklist | XEONEDIAThe Big 5 Checklist | XEONEDIA indicator is a powerful trading tool designed to help traders prepare their trading decisions in a structured and effective manner. The indicator encompasses five key areas:
Strategy Documentation :
✅ Ensure that the trading strategy is clearly defined and documented.
✅ Conduct backtesting.
✅ Perform demo testing with an 80% success rate.
✅ Analyze trading results.
✅ Regularly refine the strategy.
Risk Management :
✅ Minimize financial losses and ensure responsible trading.
✅ Set a risk limit of 1-2%.
✅ Use stop-loss orders.
✅ Ensure a risk-reward ratio of at least 2:1.
✅ Adjust position sizes.
Technical Analysis :
✅ Evaluate charts and indicators to identify trading opportunities.
✅ Identify support and resistance levels.
✅ Use technical indicators (e.g., RSI).
✅ Set entry and exit points.
✅ Establish alerts for specific market conditions.
Market Conditions :
✅ Consider external factors that may influence trading.
✅ Monitor the economic calendar.
✅ Apply fundamental analysis.
✅ Observe market volatility.
✅ Analyze global trends.
Psychological Management :
✅ Control emotions and mindset during trading.
✅ Adhere to the trading plan.
✅ Manage emotions while trading.
✅ Set realistic expectations.
✅ Take regular mental breaks.
Mastercheck
The Mastercheck provides a digital checklist where traders can track their progress live. Users can make their own notes and view their checklist on any TradingView device, ensuring they stay informed about their trading readiness and can make adjustments in real-time. ✅
Overall, the Big 5 Checklist | XEONEDIA indicator helps minimize risks and maximize the chances of successful trades by promoting systematic and comprehensive trading preparation.
Hyperbolic Tangent Volatility Stop [InvestorUnknown]The Hyperbolic Tangent Volatility Stop (HTVS) is an advanced technical analysis tool that combines the smoothing capabilities of the Hyperbolic Tangent Moving Average (HTMA) with a volatility-based stop mechanism. This indicator is designed to identify trends and reversals while accounting for market volatility.
Hyperbolic Tangent Moving Average (HTMA):
The HTMA is at the heart of the HTVS. This custom moving average uses a hyperbolic tangent transformation to smooth out price fluctuations, focusing on significant trends while ignoring minor noise. The transformation reduces the sensitivity to sharp price movements, providing a clearer view of the underlying market direction.
The hyperbolic tangent function (tanh) is commonly used in mathematical fields like calculus, machine learning and signal processing due to its properties of “squashing” inputs into a range between -1 and 1. The function provides a non-linear transformation that can reduce the impact of extreme values while retaining a certain level of smoothness.
tanh(x) =>
e_x = math.exp(x)
e_neg_x = math.exp(-x)
(e_x - e_neg_x) / (e_x + e_neg_x)
The HTMA is calculated by applying a non-linear transformation to the difference between the source price and its simple moving average, then adjusting it using the standard deviation of the price data. The result is a moving average that better tracks the real market direction.
htma(src, len, mul) =>
tanh_src = tanh((src - ta.sma(src, len)) * mul) * ta.stdev(src, len) + ta.sma(src, len)
htma = ta.sma(tanh_src, len)
Important Note: The Hyperbolic Tangent function becomes less accurate with very high prices. For assets priced above 100,000, the results may deteriorate, and for prices exceeding 1 million, the function may stop functioning properly. Therefore, this indicator is better suited for assets with lower prices or lower price ratios.
Volatility Stop (VolStop):
HTVS employs a Volatility Stop mechanism based on the Average True Range (ATR). This stop dynamically adjusts based on market volatility, ensuring that the indicator adapts to changing conditions and avoids false signals in choppy markets.
The VolStop follows the price, with a higher ATR pushing the stop farther away to avoid premature exits during volatile periods. Conversely, when volatility is low, the stop tightens to lock in profits as the trend progresses.
The ATR Length and ATR Multiplier are customizable, allowing traders to control how tightly or loosely the stop follows the price.
pine_volStop(src, atrlen, atrfactor) =>
if not na(src)
var max = src
var min = src
var uptrend = true
var float stop = na
atrM = nz(ta.atr(atrlen) * atrfactor, ta.tr)
max := math.max(max, src)
min := math.min(min, src)
stop := nz(uptrend ? math.max(stop, max - atrM) : math.min(stop, min + atrM), src)
uptrend := src - stop >= 0.0
if uptrend != nz(uptrend , true)
max := src
min := src
stop := uptrend ? max - atrM : min + atrM
Backtest Mode:
HTVS includes a built-in backtest mode, allowing traders to evaluate the indicator's performance on historical data. In backtest mode, it calculates the cumulative equity curve and compares it to a simple buy and hold strategy.
Backtesting features can be adjusted to focus on specific signal types, such as Long Only, Short Only, or Long & Short.
An optional Buy and Hold Equity plot provides insight into how the indicator performs relative to simply holding the asset over time.
The indicator includes a Hints Table, which provides useful recommendations on how to best display the indicator for different use cases. For example, when using the overlay mode, it suggests displaying the indicator in the same pane as price action, while backtest mode is recommended to be used in a separate pane for better clarity.
The Hyperbolic Tangent Volatility Stop offers traders a balanced approach to trend-following, using the robustness of the HTMA for smoothing and the adaptability of the Volatility Stop to avoid whipsaw trades during volatile periods. With its backtesting features and alert system, this indicator provides a comprehensive toolkit for active traders.
Hyperbolic Tangent SuperTrend [InvestorUnknown]The Hyperbolic Tangent SuperTrend (HTST) is designed for technical analysis, particularly in markets with assets that have lower prices or price ratios. This indicator leverages the Hyperbolic Tangent Moving Average (HTMA), a custom moving average calculated using the hyperbolic tangent function, to smooth price data and reduce the impact of short-term volatility.
Hyperbolic Tangent Moving Average (HTMA):
The indicator's core uses a hyperbolic tangent function to calculate a smoothed average of the price. The HTMA provides enhanced trend-following capabilities by dampening the impact of sharp price swings and maintaining a focus on long-term market movements.
The hyperbolic tangent function (tanh) is commonly used in mathematical fields like calculus, machine learning and signal processing due to its properties of “squashing” inputs into a range between -1 and 1. The function provides a non-linear transformation that can reduce the impact of extreme values while retaining a certain level of smoothness.
tanh(x) =>
e_x = math.exp(x)
e_neg_x = math.exp(-x)
(e_x - e_neg_x) / (e_x + e_neg_x)
The HTMA is calculated by taking the difference between the price and its simple moving average (SMA), applying a multiplier to control sensitivity, and then transforming it using the hyperbolic tangent function.
htma(src, len, mul) =>
tanh_src = tanh((src - ta.sma(src, len)) * mul) * ta.stdev(src, len) + ta.sma(src, len)
htma = ta.sma(tanh_src, len)
Important Note: The Hyperbolic Tangent function becomes less accurate with very high prices. For assets priced above 100,000, the results may deteriorate, and for prices exceeding 1 million, the function may stop functioning properly. Therefore, this indicator is better suited for assets with lower prices or lower price ratios.
SuperTrend Calculation:
In addition to the HTMA, the indicator includes an Average True Range (ATR)-based SuperTrend calculation, which helps identify uptrends and downtrends in the market. The SuperTrend is adjusted dynamically using the HTMA to avoid false signals in fast-moving markets.
The ATR period and multiplier are customizable, allowing users to fine-tune the sensitivity of the trend signals.
pine_supertrend(src, calc_price, atrPeriod, factor) =>
atr = ta.atr(atrPeriod)
upperBand = src + factor * atr
lowerBand = src - factor * atr
prevLowerBand = nz(lowerBand )
prevUpperBand = nz(upperBand )
lowerBand := lowerBand > prevLowerBand or calc_price < prevLowerBand ? lowerBand : prevLowerBand
upperBand := upperBand < prevUpperBand or calc_price > prevUpperBand ? upperBand : prevUpperBand
int _direction = na
float superTrend = na
prevSuperTrend = superTrend
if na(atr )
_direction := 1
else if prevSuperTrend == prevUpperBand
_direction := calc_price > upperBand ? -1 : 1
else
_direction := calc_price < lowerBand ? 1 : -1
superTrend := _direction == -1 ? lowerBand : upperBand
Inbuilt Backtest Mode:
The HTST includes an inbuilt backtest mode that enables users to test the indicator's performance against historical data, similar to TradingView strategies.
The backtest mode allows you to compare the performance of different indicator settings with a simple buy and hold strategy to assess its effectiveness in different market conditions.
Hint Table for Display Modes:
The indicator includes a Hint Table that recommends the best pane to use for different display modes. For example, it suggests using the "Overlay" mode in the same pane as the price action, while the "Backtest Mode" is better suited for a separate pane. This ensures a more organized and clear visual experience.
The Hint Table appears as a small table at the bottom of the chart with easy-to-follow recommendations, ensuring the best setup for both visual clarity and indicator functionality.
With these features, the Hyperbolic Tangent SuperTrend Indicator offers traders a versatile and customizable tool for analyzing price trends while providing additional functionalities like backtesting and display mode hints for optimal usability.
New York Opening Bell MarkerThe Opening Bell Marker indicator is designed to assist traders by marking the 09:30 AM Eastern Time (ET) opening of the U.S. stock market with a red dashed vertical line on the chart. This feature is particularly useful for back testing strategies around market open, providing a visual reference point for the start of regular trading hours. The indicator automatically adjusts to display the line at 09:30 ET, helping traders spot key moments and potential setups during market open.
movingAveragesUtilitiesLibrary "movingAveragesUtilities"
get_movingAverages_data(source, length_fast, length_medium, length_slow)
Parameters:
source (float)
length_fast (simple int)
length_medium (simple int)
length_slow (simple int)
Cumulative Volume Delta Divergence [TradingFinder] Periodic EMA🔵 Introduction
The Cumulative Volume Delta (CVD) is a powerful tool in technical analysis that is derived from market volume or trading activity. The Cumulative Volume Delta Divergence Detector Indicator helps traders identify Cumulative Volume Delta Divergences (CVD Divergence), which can provide reliable trading signals.
These divergences, such as bullish and bearish CVD divergences, act as key indicators of potential trend reversals in financial markets. By analyzing CVD divergences, traders can gain insights into the strength of buying and selling pressure and make more informed predictions about price trends.
The CVD indicator is particularly effective for traders who engage in day trading and scalping, as it helps identify price reversal points by analyzing volume and price behavior.
Using the CVD indicator in combination with other technical tools such as support and resistance levels and candlestick patterns allows for a more accurate market analysis.
🔵 How to Use
Divergences are one of the most important technical analysis signals that indicate the current strength of a price move may not be sustainable.
Cumulative Volume Delta Divergence helps traders identify potential trading opportunities that may not be visible on the price chart alone.
This type of divergence examines the relationship between buying and selling volume and price, enabling traders to better understand price trends.
🟣 Bullish CVD Divergence
A bullish CVD divergence occurs when the price makes a lower low, but the CVD indicator shows a higher low. This indicates increasing buying pressure in the market, even though the price is declining. In other words, despite the price dropping, buyers are gradually gaining strength, which could signal a price reversal and the start of a bullish trend.
How to use this signal : In this scenario, traders looking to go long can use this signal as a favorable opportunity to enter the market. After a bullish divergence, the market typically tends to move upward.
To reduce risk, traders can wait for further confirmation from the price chart. For example, if the price breaks through the previous high after the divergence or breaks a resistance level, this could be a more reliable signal for entering the market.
🟣 Bearish CVD Divergence
A bearish CVD divergence is the opposite of a bullish divergence. In this type of divergence, the price makes a higher high, but the CVD indicator shows a lower high. This indicates decreasing buying pressure and weakening momentum in the current bullish trend. A bearish divergence often serves as a warning of a potential market reversal to the downside.
How to use this signal : Traders can use this divergence as an opportunity to exit long positions or enter short positions. When the CVD indicator makes a lower high compared to the price, it signals weakness in buyer strength.
If traders receive further confirmation from the price chart, such as a break of key support levels or an increase in selling volume, this can serve as a stronger signal for the beginning of a bearish trend.
🟣 How to Build a Trading Strategy with Cumulative Volume Delta Divergence
Using CVD divergence alone may not be sufficient. Traders should combine this tool with other technical analysis techniques and indicators to have more confidence in their decisions. For example, when observing a CVD divergence, traders can also analyze volume, trend lines, or candlestick patterns to get a more accurate market analysis.
Additionally, risk management should always be a priority. Using stop-loss orders and properly sizing trades can help traders minimize their losses if they make a mistake.
🔵 Setting
Divergence Fractal Period : Determines the period of swings. The minimum and default value is 2.
CVD Period : You can set the period of " Periodic " and " EMA " modes.
Cumulative Mode : It has three modes "Periodic" and "EMA". In "Periodic" mode, it accumulates the volume periodically and in "EMA" mode, it calculates the moving average of the volume.
Market Ultra Data : If you turn on this feature, 26 large brokers will be included in the calculation of the trading volume. The advantage of this capability is to have more reliable volume data. You should be careful to specify the market you are in, FOREX brokers and Crypto brokers are different.
🔵 Conclusion
The Cumulative Volume Delta (CVD) indicator is a powerful tool in technical analysis, helping traders better identify price trends and make more accurate market predictions. By identifying CVD divergences, traders can anticipate price reversals and time their market entries and exits accordingly.
Bullish and bearish CVD divergences each provide valuable signals that can help traders identify the best entry and exit points in the market. A bullish CVD divergence signals strength in buying that will likely lead to a price increase, while a bearish CVD divergence indicates weakness in the bullish trend and the potential for the beginning of a bearish trend.
Overall, combining CVD with other technical analysis tools and employing risk management strategies can help traders make better trading decisions and capitalize on available market opportunities.
Bullish Gap Up DetectionThis indicator is designed to identify gap-up trading opportunities in real-time. A gap-up occurs when the opening price of a stock is higher than the previous day's high, signaling potential bullish momentum.
Key Features :
Gap Detection : The indicator detects when today’s open is above yesterday’s high and remains above that level throughout the trading session.
Visual Alerts : A triangle shape appears below the price bar when a gap-up condition is met, providing clear visual signals for traders to consider potential entry points.
EMA Analysis : The indicator incorporates two Exponential Moving Averages:
10-day EMA: Used to assess short-term price trends and help determine if the stock is currently in an upward momentum phase.
20-day EMA: Provides additional context for medium-term trends, ensuring that gaps are only considered when the stock is in a favorable trend.
The indicator confirms that the 10-day EMA is above the 20-day EMA, indicating bullish sentiment in the market.
This indicator can be used in various trading strategies to capitalize on momentum following gap-up openings. It’s suitable for day traders and swing traders looking for entry points in trending stocks.
gridUtilitiesLibrary "gridUtilities"
TODO: add library description here
get_fibonacciGrid_data(length, trend_direction, plot_grid, plot_labels, bars_to_right, include_levels)
: Gets and plots a fibonacci grid.
Parameters:
length (int) : (int): The direction flag that indicates where the trend is going.
trend_direction (string) : (string): Direction of the trend (Long, Short or Neutral)
plot_grid (bool) : (bool): Plots the fibonacci grid.
plot_labels (bool) : (bool): Plots the datatable.
bars_to_right (int) : (bool): Plots the datatable.
include_levels (bool) : (bool): Plots the datatable.
Returns: : Returns a map with the grid levels, as string with the direction of the grid and a map with the values for the dataTable.