Renko Live Price Simulation-AYNETHow It Works:
Inputs:
Box Size (box_size): The size of a Renko brick (in price units).
Candle and Wick Colors: Users can customize colors for up and down candles and toggle wicks on or off.
Logic:
The script tracks the renko_open, renko_close, renko_high, and renko_low variables to simulate the formation of Renko bricks.
A new Renko brick is formed when the price moves up or down by the specified box size.
Candle Plotting:
The plotcandle function is used to draw the simulated Renko bricks on the chart.
Wicks are optional and controlled via the show_wicks input.
Visual Guides:
Two lines represent the thresholds for forming the next up or down Renko brick.
Features:
Real-Time Updates:
Bricks dynamically update as the live price moves.
Customizable Parameters:
Box size, candle colors, and wicks can be tailored to user preferences.
Overlay on Regular Chart:
The Renko simulation overlays the existing candlestick chart, providing context for real-time price action.
Threshold Levels:
Visual guides show how far the current price is from forming the next Renko brick.
Usage Instructions:
Copy and paste the script into the Pine Script editor in TradingView.
Customize the box size and colors to your preference.
Apply the indicator to your chart to visualize the Renko simulation in real time.
Applications:
Trend Analysis:
Renko bricks simplify price trends by filtering out minor fluctuations.
Entry/Exit Points:
Use Renko bricks as potential trade triggers when new bricks form.
Volatility Visualization:
The frequency of brick formation reflects the asset's volatility.
This code provides a live Renko simulation overlay that can be further customized based on user needs. Let me know if you'd like additional features, such as alerts or enhanced visualizations! 😊
Educational
Math Art with Fibonacci, Trigonometry, and Constants-AYNETScientific Explanation of the Code
This Pine Script code is a dynamic visual representation that combines mathematical constants, trigonometric functions, and Fibonacci sequences to generate geometrical patterns on a TradingView chart. The code leverages Pine Script’s drawing functions (line.new) and real-time bar data to create evolving shapes. Below is a detailed scientific explanation of its components:
1. Inputs and User-Defined Parameters
num_points: Specifies the number of points used to generate the geometrical pattern. Higher values result in more complex and smoother shapes.
scale: A scaling factor to adjust the size of the shape.
rotation: A dynamic rotation factor that evolves the shape over time based on the bar index (bar_index).
shape_color: Defines the color of the drawn shapes.
2. Mathematical Constants
The script employs essential mathematical constants:
Phi (ϕ): Known as the golden ratio
(
1
+
5
)
/
2
(1+
5
)/2, which governs proportions in Fibonacci spirals and natural growth patterns.
Pi (π): Represents the ratio of a circle's circumference to its diameter, crucial for trigonometric calculations.
Euler’s Number (e): The base of natural logarithms, incorporated in exponential growth modeling.
3. Geometric and Trigonometric Calculations
Fibonacci-Based Radius: The radius for each point is determined using a Fibonacci-inspired formula:
𝑟
=
scale
×
𝜙
⋅
𝑖
num_points
r=scale×
num_points
ϕ⋅i
Here,
𝑖
i is the point index. This ensures the shape grows proportionally based on the golden ratio.
Angle Calculation: The angular position of each point is calculated as:
𝜃
=
𝑖
⋅
Δ
𝜃
+
rotation
⋅
bar_index
100
θ=i⋅Δθ+rotation⋅
100
bar_index
where
Δ
𝜃
=
2
𝜋
num_points
Δθ=
num_points
2π
. This generates evenly spaced points along a circle, with dynamic rotation.
Coordinates: Cartesian coordinates
(
𝑥
,
𝑦
)
(x,y) for each point are derived using:
𝑥
=
𝑟
⋅
cos
(
𝜃
)
,
𝑦
=
𝑟
⋅
sin
(
𝜃
)
x=r⋅cos(θ),y=r⋅sin(θ)
These coordinates describe a polar-to-Cartesian transformation.
4. Dynamic Line Drawing
Connecting Points: For each pair of consecutive points, a line is drawn using:
line.new
(
𝑥
1
,
𝑦
1
,
𝑥
2
,
𝑦
2
)
line.new(x
1
,y
1
,x
2
,y
2
)
The coordinates are adjusted by:
bar_index: Aligns the x-axis to the chart’s time-based bar index.
int() Conversion: Ensures x-coordinates are integers, as required by line.new.
Line Properties:
Color: Set by the user.
Width: Fixed at 1 for simplicity.
5. Real-Time Adaptation
The shapes evolve dynamically as new bars form:
Rotation Over Time: The rotation parameter modifies angles proportionally to bar_index, creating a rotating effect.
Bar Index Alignment: Shapes are positioned relative to the current bar on the chart, ensuring synchronization with market data.
6. Visualization and Applications
This script generates evolving geometrical shapes, which have both aesthetic and educational value. Potential applications include:
Mathematical Visualization: Demonstrating the interplay of Fibonacci sequences, trigonometry, and geometry.
Technical Analysis: Serving as a visual overlay for price movement patterns, highlighting cyclical or wave-like behavior.
Dynamic Art: Creating visually appealing and evolving patterns on financial charts.
Scientific Relevance
This code synthesizes principles from:
Mathematical Analysis: Incorporates constants and formulas central to calculus, trigonometry, and algebra.
Geometry: Visualizes patterns derived from polar coordinates and Fibonacci scaling.
Real-Time Systems: Adapts dynamically to market data, showcasing practical applications of mathematics in financial visualization.
If further optimization or additional functionality is required, let me know! 😊
Renko Periodic Spiral of Archimedes-Secret Geometry - AYNETHow It Works
Dynamic Center:
The spiral is centered on the close price of the chart, with an optional vertical offset (center_y_offset).
Spiral Construction:
The spiral is drawn using segments_per_turn to divide each turn into small line segments.
spacing determines the radial distance between successive turns.
num_turns controls how many full rotations the spiral will have.
Line Drawing:
Each segment is computed using trigonometric functions (cos and sin) to calculate its endpoints.
These segments are drawn sequentially to form the spiral.
Inputs
Center Y Offset: Adjusts the vertical position of the spiral relative to the close price.
Number of Spiral Turns: Total number of full rotations in the spiral.
Spacing Between Turns: Distance between consecutive turns.
Segments Per Turn: Number of segments used to create each turn (higher values make the spiral smoother).
Line Color: Customize the color of the spiral lines.
Line Width: Adjust the thickness of the spiral lines.
Example
If num_turns = 5, spacing = 2, and segments_per_turn = 100:
The spiral will have 5 turns, with a radial distance of 2 between each turn, divided into 100 segments per turn.
Let me know if you have further requests or adjustments to the visualization!
[AWC] Vector -AYNETThis Pine Script code is a custom indicator designed for TradingView. Its purpose is to visualize the opening and closing prices of a specific timeframe (e.g., weekly, daily, or monthly) by drawing lines between these price points whenever a new bar forms in the specified timeframe. Below is a detailed explanation from a scientific perspective:
1. Input Parameters
The code includes user-defined inputs to customize its functionality:
tf1: This input defines the timeframe (e.g., 'W' for weekly, 'D' for daily). It determines the periodicity for analyzing price data.
icol: This input specifies the color of the lines drawn on the chart. Users can select from predefined options such as black, red, or blue.
2. Color Assignment
A switch statement maps the user’s color selection (icol) to the corresponding color object in Pine Script. This mapping ensures that the drawn lines adhere to the user's preference.
3. New Bar Detection
The script uses the ta.change(time(tf1)) function to determine when a new bar forms in the specified timeframe (tf1):
ta.change checks if the timestamp of the current bar differs from the previous one within the selected timeframe.
If the value changes, it indicates that a new bar has formed, and further calculations are triggered.
4. Data Request
The script employs request.security to fetch price data from the specified timeframe:
o1: Retrieves the opening price of the previous bar.
c1: Calculates the average price (high, low, close) of the previous bar using the hlc3 formula.
These values represent the key price levels for visualizing the line.
5. Line Drawing
When a new bar is detected:
The script uses line.new to create a line connecting the previous bar's opening price (o1) and the closing price (c1).
The line’s properties are defined as follows:
x1, y1: The starting point corresponds to the opening price at the previous bar index.
x2, y2: The endpoint corresponds to the closing price at the current bar index.
color: Uses the user-defined color (col).
style: The line style is set to line.style_arrow_right.
Additionally, the lines are stored in an array (lines) for later reference, enabling potential modifications or deletions.
6. Visual Outcome
The script visually represents price movements over the specified timeframe:
Each line connects the opening and closing price of a completed bar in the given timeframe.
The lines are drawn dynamically, updating whenever a new bar forms.
Scientific Context
This script applies concepts of time series analysis and visualization in financial data:
Time Segmentation: By isolating specific timeframes (e.g., weekly), the script provides a focused analysis of price behavior.
Price Dynamics: Connecting opening and closing prices highlights key price transitions within each period.
User Customization: The inclusion of inputs allows for adaptable use, accommodating different analytical preferences.
Applications
Trend Analysis: Identifies how price evolves between opening and closing levels across periods.
Market Behavior Comparison: Facilitates the observation of patterns or anomalies in price transitions over time.
Technical Indicators: Serves as a supplementary tool for decision-making in trading strategies.
If further enhancements or customizations are needed, let me know! 😊
Mandala Visualization-Secret Geometry-AYNETCode Explanation
Dynamic Center:
The center Y coordinate is dynamic and defaults to the close price.
You can change it to a fixed level if desired.
Concentric Rings:
The script draws multiple circular rings spaced evenly using ring_spacing.
Symmetry Lines:
The Mandala includes num_lines radial symmetry lines emanating from the center.
Customization Options:
num_rings: Number of concentric circles.
ring_spacing: Distance between each ring.
num_lines: Number of radial lines.
line_color: Color of the rings and lines.
line_width: Thickness of the rings and lines.
How to Use
Add the script to your TradingView chart.
Adjust the input parameters to fit the Mandala within your chart view.
Experiment with different numbers of rings, lines, and spacing for unique Mandala patterns.
Let me know if you'd like additional features or visual tweaks!
Candle Movement MarkerThe Candle Movement Marker is a powerful Pine Script indicator designed to help traders quickly identify significant price movements within candles. Whether you're looking for large swings or want to analyze volatile periods, this tool gives you the visual cues you need to make better trading decisions.
Features:
Customizable Movement Detection: Specify whether to measure movement based on the full candle range (High-Low) or the candle body (Open-Close).
Movement Threshold Setting: Set a percentage threshold, and the indicator will mark all candles with movement greater than this value.
Visual Arrows: Bullish and bearish arrows (green and red) mark the significant candles, with the arrows moving dynamically along with the chart.
Average Movement Calculation: Displays the average movement of the last 'N' candles (fully customizable) in a convenient informational box on the chart.
Informative Placement: Choose whether to show the average movement in the top right or bottom right of the chart to avoid cluttering your analysis.
This indicator is ideal for traders who want to analyze price action, identify volatile candles, and study significant price behavior in a visually intuitive manner. Whether you’re a breakout trader or interested in understanding market momentum, Candle Movement Marker helps make the analysis easy and clear.
Use Case: This script helps traders study historical market movements by marking the most significant candles and providing an average movement over a customizable range. This makes it easy to spot when the market is making significant moves and identify trends or reversals, supporting informed decision-making.
Sri Yantra-Scret Geometry - AYNETExplanation of the Script
Inputs:
periods: Number of bars used for calculating the moving average and standard deviation.
yloc: Chooses the display location (above or below the bars).
Moving Average and Standard Deviation:
ma: Moving average of the close price for the specified period.
std: Standard deviation, used to set the range for the Sri Yantra triangle points.
Triangle Points:
p1, p2, and p3 are the points for constructing the triangle, with p1 and p2 set at two standard deviations above and below the moving average, and p3 at the moving average itself.
Sri Yantra Triangle Drawing:
Three lines form a triangle, with the moving average line serving as the midpoint anchor.
The triangle pattern shifts across bars as new moving average values are calculated.
Moving Average Plot:
The moving average is plotted in red for visual reference against the triangle pattern.
This basic script emulates the Sri Yantra pattern using price data, creating a spiritual and aesthetic overlay on price charts, ideal for users looking to incorporate sacred geometry into their technical analysis.
ABCD Harmonic Pattern [TradingFinder] ABCD Pattern indicator🔵 Introduction
The ABCD harmonic pattern is a tool for identifying potential reversal zones (PRZ) by using Fibonacci ratios to pinpoint critical price reversal points on price charts.
This pattern consists of four key points, labeled A, B, C, and D. In this structure, the AB and CD waves move in the same direction, while the BC wave acts as a corrective wave in the opposite direction.
The ABCD pattern follows specific Fibonacci ratios that enhance its accuracy in identifying PRZ. Typically, point C lies within the 0.382 to 0.886 Fibonacci retracement of the AB wave, indicating the correction extent of the BC wave.
Subsequently, the CD wave, as the final wave in this pattern, reaches point D with a Fibonacci extension between 1.13 and 2.618 of the BC wave. Point D, which marks the PRZ, is where a potential price reversal is likely to occur.
The ABCD pattern appears in both bullish and bearish forms. In the bullish ABCD pattern, prices tend to increase at point D, which defines the PRZ; in the bearish ABCD pattern, prices typically decrease upon reaching the PRZ at point D.
These characteristics make the ABCD pattern a popular tool for identifying PRZ and price reversal points in financial markets, including forex, cryptocurrencies, and stocks.
Bullish Pattern :
Beaish Pattern :
🔵 How to Use
🟣 Bullish ABCD Pattern
The bullish ABCD pattern is another harmonic structure used to identify a potential reversal zone (PRZ) where the price is likely to rise after a downward movement. This pattern includes four main points A, B, C, and D. In the bullish ABCD, the AB and CD waves move downward, and the BC wave acts as a corrective, upward wave. This setup creates a PRZ at point D, where the price may reverse and move upward.
To identify a bullish ABCD pattern, begin with the downward AB wave. The BC wave retraces upward between 0.382 and 0.886 of the AB wave, indicating the extent of the correction.
After the BC retracement, the CD wave forms and extends from point C down to point D, with an extension of around 1.13 to 2.618 of the BC wave. Point D, as the PRZ, represents the area where the price may reverse upwards, making it a strategic level for potential buy positions.
When the price reaches point D in the bullish ABCD pattern, traders look for upward reversal signals. This can include bullish candlestick formations, such as hammer or morning star patterns, near the PRZ to confirm the trend reversal. Entering a long position after confirmation near point D provides a calculated entry point.
Additionally, placing a stop loss slightly below point D helps protect against potential loss if the reversal does not occur. The ABCD pattern, with its precise Fibonacci structure and PRZ identification, gives traders a disciplined approach to spotting bullish reversals in markets, particularly in forex, cryptocurrency, and stock trading.
Bullish Pattern in COINBASE:BTCUSD :
🟣 Bearish ABCD Pattern
The bearish ABCD pattern is a harmonic structure that indicates a potential reversal zone (PRZ) where price may shift downward after an initial upward movement. This pattern consists of four main points A, B, C, and D. In a bearish ABCD, the AB and CD waves move upward, while the BC wave acts as a corrective wave in the opposite, downward direction. This reversal zone (PRZ) can be identified with specific Fibonacci ratios.
To identify a bearish ABCD pattern, start by observing the AB wave, which forms as an upward price movement. The BC wave, which follows, typically retraces between 0.382 to 0.886 of the AB wave. This retracement indicates how far the correction goes and sets the foundation for the next wave.
Finally, the CD wave extends from point C to reach point D with a Fibonacci extension of approximately 1.13 to 2.618 of the BC wave. Point D represents the PRZ where the potential reversal may occur, making it a critical area for traders to consider short positions.
Once point D in the bearish ABCD pattern is reached, traders can anticipate a downward price movement. At this potential reversal zone (PRZ), traders often wait for additional bearish signals or candlestick patterns, such as engulfing or evening star formations, to confirm the price reversal.
This confirmation around the PRZ enhances the accuracy of the entry point for a bearish position. Setting a stop loss slightly above point D can help manage risk if the price doesn’t reverse as anticipated. The ABCD pattern, with its reliance on Fibonacci ratios and clearly defined points, offers a strategic approach for traders looking to capitalize on potential bearish reversals in financial markets, including forex, stocks, and cryptocurrencies.
Bearish Pattern in OANDA:XAUUSD :
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🟣 Conclusion
The ABCD harmonic pattern offers a structured approach in technical analysis, helping traders accurately identify potential reversal zones (PRZ) where price movements may shift direction. By leveraging the relationships between points A, B, C, and D, alongside specific Fibonacci ratios, traders can better anticipate points of market reversal and make more informed decisions.
Both the bearish and bullish ABCD patterns enable traders to pinpoint ideal entry points that align with anticipated market shifts. In a bearish ABCD, point D within the PRZ often signals a downward trend reversal, while in a bullish ABCD, this same point typically suggests an upward reversal. The adaptability of the ABCD pattern across different markets, such as forex, stocks, and cryptocurrencies, further highlights its utility and reliability.
Integrating the ABCD pattern into a trading strategy provides a methodical and calculated approach to entry and exit decisions. With accurate application of Fibonacci ratios and confirmation of the PRZ, traders can enhance their trading precision, reduce risks, and boost overall performance. The ABCD harmonic pattern remains a valuable resource for traders aiming to leverage structured patterns for consistent results in their technical analysis.
Comprehensive Time Chain Indicator - AYNETFeatures and Enhancements
Dynamic Timeframe Handling:
The script monitors new intervals of a user-defined timeframe (e.g., daily, weekly, monthly).
Flexible interval selection allows skipping intermediate time periods (e.g., every 2 days).
Custom Marker Placement:
Markers can be placed at:
High, Low, or Close prices of the bar.
A custom offset above or below the close price.
Special Highlights:
Automatically detects the start of a week (Monday) and the start of a month.
Highlights these periods with a different marker color.
Connecting Lines:
Markers are connected with lines to visually link the events.
Line properties (color, width) are fully customizable.
Dynamic Labels:
Optional labels display the timestamp of the event, formatted as per user preferences (e.g., yyyy-MM-dd HH:mm).
How It Works:
Timeframe Event Detection:
The is_new_interval flag identifies when a new interval begins in the selected timeframe.
Special flags (is_new_week, is_new_month) detect key calendar periods.
Dynamic Marker Drawing:
Markers are drawn using label.new at the specified price levels.
Colors dynamically adjust based on the type of event (interval vs. special highlight).
Connecting Lines:
The script dynamically connects markers with line.new, creating a time chain.
Previous lines are updated for styling consistency.
Customization Options:
Timeframe (main_timeframe):
Adjust the timeframe for detecting new intervals, such as daily, weekly, or hourly.
Interval (interval):
Skip intermediate events (e.g., draw a marker every 2 days).
Visualization:
Enable or disable markers and labels independently.
Customize colors, line width, and marker positions.
Special Periods:
Highlight the start of a week or month with distinct markers.
Applications:
Event Tracking:
Highlight and connect key time intervals for easier analysis of patterns or trends.
Custom Time Chains:
Visualize periodic data, such as specific trading hours or cycles.
Market Session Analysis:
Highlight market opens, closes, or other critical time-based events.
Usage Instructions:
Copy and paste the code into the Pine Script editor on TradingView.
Adjust the input settings for your desired timeframe, visualization preferences, and special highlights.
Apply the script to a chart to see the time chain visualized.
This implementation provides robust functionality while remaining easy to customize. Let me know if further enhancements are required! 😊
Time Change Indicator-AYNETDetailed Scientific Explanation of the Time Change Indicator Code
This Pine Script code implements a financial indicator designed to measure and visualize the percentage change in the closing price of an asset over a specified timeframe. It uses historical data to calculate changes and displays them as a histogram for intuitive analysis. Below is a comprehensive scientific breakdown of the code:
1. User Inputs
The script begins by defining user-configurable parameters, enabling flexibility in analysis:
timeframe: The user selects the timeframe for measuring price changes (e.g., 1 hour, 1 day). This determines the granularity of the analysis.
positive_color and negative_color: Users choose the colors for positive and negative changes, enhancing visual interpretation.
2. Data Retrieval
The script employs request.security to fetch closing price data (close) for the specified timeframe. This function ensures that the indicator adapts to different timeframes, providing consistent results regardless of the chart's base timeframe.
Current Closing Price (current_close):
current_close
=
request.security(syminfo.tickerid, timeframe, close)
current_close=request.security(syminfo.tickerid, timeframe, close)
Retrieves the closing price for the defined timeframe.
Previous Closing Price (prev_close): The script uses a variable (prev_close) to store the previous closing price. This variable is updated dynamically as new data is processed.
3. Price Change Calculation
The script calculates both the absolute and percentage change in closing price:
Absolute Price Change (price_change):
price_change
=
current_close
−
prev_close
price_change=current_close−prev_close
Measures the difference between the current and previous closing prices.
Percentage Change (percent_change):
percent_change
=
price_change
prev_close
×
100
percent_change=
prev_close
price_change
×100
Normalizes the change relative to the previous closing price, making it easier to compare changes across different assets or timeframes.
4. Conditional Logic for Visualization
The script uses a conditional statement to determine the color of each histogram bar:
Positive Change: If price_change > 0, the bar is assigned the user-defined positive_color.
Negative Change: If price_change < 0, the bar is assigned the negative_color.
This differentiation provides a clear visual cue for understanding price movement direction.
5. Visualization
The script visualizes the percentage change using a histogram and enhances the chart with dynamic labels:
Histogram (plot.style_histogram):
Each bar represents the percentage change for a given timeframe.
Bars above the zero line indicate positive changes, while bars below the zero line indicate negative changes.
Zero Line (hline(0)): A reference line at zero provides a baseline for interpreting changes.
Dynamic Labels (label.new):
Each bar is annotated with its exact percentage change value.
The label's position and color correspond to the bar, improving clarity.
6. Algorithmic Flow
Data Fetching: Retrieve the current and previous closing prices for the specified timeframe.
Change Calculation: Compute the absolute and percentage changes between the two prices.
Bar Coloring: Determine the color of the histogram bar based on the change's direction.
Plotting: Visualize the changes as a histogram and add labels for precise data representation.
7. Applications
This indicator has several practical applications in financial analysis:
Volatility Analysis: By visualizing percentage changes, traders can assess the volatility of an asset over specific timeframes.
Trend Identification: Positive and negative bars highlight periods of upward or downward momentum.
Cross-Asset Comparison: Normalized percentage changes enable the comparison of price movements across different assets, regardless of their nominal values.
Market Sentiment: Persistent positive or negative changes may indicate prevailing bullish or bearish sentiment.
8. Scientific Relevance
This script applies fundamental principles of data visualization and time-series analysis:
Statistical Normalization: Percentage change provides a scale-invariant metric for comparing price movements.
Dynamic Data Processing: By updating the prev_close variable with real-time data, the script adapts to new market conditions.
Visual Communication: The use of color and labels improves the interpretability of quantitative data.
Conclusion
This indicator combines advanced Pine Script functions with robust financial analysis techniques to create an effective tool for evaluating price changes. It is highly adaptable, providing users with the ability to tailor the analysis to their specific needs. If additional features, such as smoothing or multi-timeframe analysis, are required, the code can be further extended.
Deshmukh TVWAP (Time Weighted Average Price)Deshmukh TVWAP (Time Weighted Average Price)
The Deshmukh TVWAP is a custom Time Weighted Average Price indicator designed for the Indian stock market, including stocks, futures, options, Nifty 50, and Bank Nifty charts. This indicator calculates the average price weighted by time within a specified session period, helping traders identify key price levels during intraday trading.
Key Features:
Calculates TVWAP based on intraday data between user-defined session start and end times (default: 9:15 AM to 3:30 PM).
Provides a dynamic average price level to gauge market trends.
Plots a blue line representing the TVWAP value on the chart.
Generates buy (green label up) and sell (red label down) signals based on price crossover with TVWAP:
Buy Signal: When the current price falls below the TVWAP line, indicating potential upward momentum.
Sell Signal: When the current price rises above the TVWAP line, suggesting possible downward pressure.
How to Use:
Use the TVWAP line as a reference for determining intraday price trends.
Buy signals can be used for scalping or initiating long positions when price trades below TVWAP.
Sell signals can be used for shorting or exiting long trades when price trades above TVWAP.
This indicator is best suited for intraday trading strategies on the Indian market, including equities, futures, and indices.
Recommended Timeframes:
Works best on 1-minute, 5-minute, or 15-minute intraday charts.
LTF Fisher Transform - AYNETJohn F. Ehlers is a renowned figure in the field of financial markets and technical analysis. With a strong background in engineering and digital signal processing (DSP), Ehlers has applied his expertise to the development of innovative technical indicators and trading systems. His work focuses on using mathematical concepts, particularly those from signal processing, to analyze financial data. THANKS.
Detailed Explanation of Code: "LTF Fisher Transform"
This code calculates the Fisher Transform on a lower timeframe (LTF) and visualizes it on the current timeframe. It includes bands to identify overbought/oversold conditions, fills the area between these bands for visualization, and generates momentum signals (bullish or bearish) based on the Fisher Transform's position relative to the bands.
Key Features of the Code
Fisher Transform Calculation on a Lower Timeframe
Applies Fisher Transform on a user-specified lower timeframe.
Captures short-term momentum shifts.
Overbought and Oversold Levels
Defines custom thresholds for momentum analysis using user-defined bands.
Visual Enhancements
Visualizes momentum zones (neutral, bullish, bearish) using filled areas and dynamic shapes.
Momentum Signal Generation
Identifies bullish and bearish momentum conditions when Fisher Transform exceeds bands.
Manual Trading Checklist by Afnan TajuddinHey traders! This Trading Checklist indicator like your personal to-do list right on your chart! Here’s what it does:
Easy Tracking: Seven checkboxes to make sure you’ve done all your trading steps.
Colorful Signs: Green "✔" for done stuff and red "✘" for things you need to fix.
Make It Yours: Change where the table is on the chart, pick your favorite colors, and set the text size just how you like it.
Simple Setup: Rename the checklist items and toggle them on or off in the settings.
Clean Look: It stays neat on your chart without messing things up.
Whether you’re just starting out or you’ve been trading for a while, this checklist helps you stay organized and stick to your plan. Perfect for anyone who loves keeping things tidy and on track!
Important to Know: This checklist is not dynamic or automatic and not specific to any symbol. You need to manually check it every time for all the stocks you’re planning to trade. It won’t do the checking for you, so make sure to update it yourself! 🚨
Wick Trend Analysis with Supertrend and RSI -AYNETScientific Explanation
1. Wick Trend Analysis
Upper and Lower Wicks:
Calculated based on the difference between the high or low price and the candlestick body (open and close).
The trend of these wick lengths is derived using the Simple Moving Average (SMA) over the defined trend_length period.
Trend Direction:
Positive change (ta.change > 0) indicates an increasing trend.
Negative change (ta.change < 0) indicates a decreasing trend.
2. Supertrend Indicator
ATR Bands:
The Supertrend uses the Average True Range (ATR) to calculate dynamic upper and lower bands:
upper_band
=
hl2
+
(
supertrend_atr_multiplier
×
ATR
)
upper_band=hl2+(supertrend_atr_multiplier×ATR)
lower_band
=
hl2
−
(
supertrend_atr_multiplier
×
ATR
)
lower_band=hl2−(supertrend_atr_multiplier×ATR)
Trend Detection:
If the price is above the upper band, the Supertrend moves to the lower band.
If the price is below the lower band, the Supertrend moves to the upper band.
The Supertrend helps identify the prevailing market trend.
3. RSI (Relative Strength Index)
The RSI measures the momentum of price changes and ranges between 0 and 100:
Overbought Zone (Above 70): Indicates that the price may be overextended and due for a pullback.
Oversold Zone (Below 30): Indicates that the price may be undervalued and due for a reversal.
Visualization Features
Wick Trend Lines:
Upper wick trend (green) and lower wick trend (red) show the relative strength of price rejection on both sides.
Wick Trend Area:
The area between the upper and lower wick trends is filled dynamically:
Green: Upper wick trend is stronger.
Red: Lower wick trend is stronger.
Supertrend Line:
Displays the Supertrend as a blue line to highlight the market's directional bias.
RSI:
Plots the RSI line, with horizontal dotted lines marking the overbought (70) and oversold (30) levels.
Applications
Trend Confirmation:
Use the Supertrend and wick trends together to confirm the market's directional bias.
For example, a rising lower wick trend with a bullish Supertrend suggests strong bullish sentiment.
Momentum Analysis:
Combine the RSI with wick trends to assess the strength of price movements.
For example, if the RSI is oversold and the lower wick trend is increasing, it may signal a potential reversal.
Signal Generation:
Generate entry signals when all three indicators align:
Bullish Signal:
Lower wick trend increasing.
Supertrend bullish.
RSI rising from oversold.
Bearish Signal:
Upper wick trend increasing.
Supertrend bearish.
RSI falling from overbought.
Future Improvements
Alert System:
Add alerts for alignment of Supertrend, RSI, and wick trends:
pinescript
Kodu kopyala
alertcondition(upper_trend_direction == 1 and supertrend < close and rsi > 50, title="Bullish Signal", message="Bullish alignment detected.")
alertcondition(lower_trend_direction == 1 and supertrend > close and rsi < 50, title="Bearish Signal", message="Bearish alignment detected.")
Custom Thresholds:
Add thresholds for wick lengths and RSI levels to filter weak signals.
Multiple Timeframes:
Incorporate multi-timeframe analysis for more robust signal generation.
Conclusion
This script combines wick trends, Supertrend, and RSI to create a comprehensive framework for analyzing market sentiment and detecting potential trading opportunities. By visualizing trends, market bias, and momentum, traders can make more informed decisions and reduce reliance on single-indicator strategies.
Wick Trend Analysis - AYNETScientific Explanation
1. Wick Trend Lines
Upper Wick Trend Line: The upper_wick_trend is calculated as the Simple Moving Average (SMA) of the upper wick lengths over the user-defined period (trend_length).
pinescript
Kodu kopyala
float upper_wick_trend = ta.sma(upper_wick_length, trend_length)
Lower Wick Trend Line: The lower_wick_trend is similarly calculated for the lower wick lengths.
pinescript
Kodu kopyala
float lower_wick_trend = ta.sma(lower_wick_length, trend_length)
2. Filling Between Lines
fill Function: The fill function colors the area between two plotted lines (plot_upper and plot_lower) based on a defined condition.
pinescript
Kodu kopyala
fill(plot_upper, plot_lower, color=fill_color, title="Wick Trend Area")
Condition for Coloring: The color is determined based on whether the upper wick trend is greater or less than the lower wick trend:
Green Fill: Indicates that the upper wick trend is dominant (i.e., upper_wick_trend > lower_wick_trend).
Red Fill: Indicates that the lower wick trend is dominant (i.e., upper_wick_trend <= lower_wick_trend).
Visualization Features
Trend Lines:
Upper wick trend is plotted as a green line.
Lower wick trend is plotted as a red line.
Filled Area:
The area between the two trend lines is filled:
Green when the upper wick trend is dominant.
Red when the lower wick trend is dominant.
Dynamic Adjustments:
The user can adjust the trend_length to change the sensitivity of the SMA calculations.
Applications
Sentiment Analysis:
Green Fill (Upper Trend Dominance): Indicates stronger rejection at higher prices, suggesting bearish sentiment.
Red Fill (Lower Trend Dominance): Indicates stronger rejection at lower prices, suggesting bullish sentiment.
Signal Generation:
Transitions in the fill color (from green to red or vice versa) can serve as potential trade signals.
Volatility Assessment:
Wider gaps between the trend lines indicate higher market volatility, while narrower gaps suggest lower volatility.
Enhancements
1. Trend Strength Filtering
Add thresholds to filter out minor trends or insignificant wick activity:
pinescript
Kodu kopyala
bool significant_upper_wick = upper_wick_length > 10 // Minimum length for upper wick
bool significant_lower_wick = lower_wick_length > 10
2. Alerts for Trend Changes
Trigger alerts when the dominance of the trend changes:
pinescript
Kodu kopyala
alertcondition(upper_wick_trend > lower_wick_trend, title="Upper Wick Dominance", message="Upper wick trend is now dominant.")
alertcondition(lower_wick_trend > upper_wick_trend, title="Lower Wick Dominance", message="Lower wick trend is now dominant.")
3. Combined Wick Analysis
Incorporate total wick activity (upper + lower wicks) for holistic analysis:
pinescript
Kodu kopyala
float total_wick_trend = ta.sma(upper_wick_length + lower_wick_length, trend_length)
Conclusion
This script provides a robust visualization of wick trends with dynamic color filling to indicate trend dominance. By observing the relative strength of upper and lower wick trends, traders can assess market sentiment, detect potential reversals, and gauge volatility. This method can be further enhanced with additional filters, alerts, and composite indicators to refine trading strategies.
Wick Detection (1 and 0) - AYNETDetailed Scientific Explanation
1. Wick Detection Logic
Definition of a Wick:
A wick, also known as a shadow, represents the price action outside the range of a candlestick's body (the region between open and close).
Upper Wick: Occurs when the high value exceeds the greater of open and close.
Lower Wick: Occurs when the low value is lower than the smaller of open and close.
Upper Wick Detection:
pinescript
Kodu kopyala
bool has_upper_wick = high > math.max(open, close)
This checks if the high price of the candle is greater than the maximum of the open and close prices. If true, an upper wick exists.
Lower Wick Detection:
pinescript
Kodu kopyala
bool has_lower_wick = low < math.min(open, close)
This checks if the low price of the candle is less than the minimum of the open and close prices. If true, a lower wick exists.
2. Binary Representation
The presence of a wick is encoded as a binary value for simplicity and computational analysis:
Upper Wick: Represented as 1 if present, otherwise 0.
pinescript
Kodu kopyala
float upper_wick_binary = has_upper_wick ? 1 : 0
Lower Wick: Represented as 1 if present, otherwise 0. This value is inverted (-1) for visualization purposes.
pinescript
Kodu kopyala
float lower_wick_binary = has_lower_wick ? 1 : 0
3. Visualization with Histograms
The plot function is used to create histograms for visualizing the binary wick data:
Upper Wicks: Plotted as positive values with green columns:
pinescript
Kodu kopyala
plot(upper_wick_binary, title="Upper Wick", color=color.new(color.green, 0), style=plot.style_columns, linewidth=2)
Lower Wicks: Plotted as negative values with red columns:
pinescript
Kodu kopyala
plot(lower_wick_binary * -1, title="Lower Wick", color=color.new(color.red, 0), style=plot.style_columns, linewidth=2)
Features and Applications
1. Wick Visualization:
Upper wicks are displayed as positive green columns.
Lower wicks are displayed as negative red columns.
This provides a clear visual representation of wick presence in historical data.
2. Technical Analysis:
Wick formations often indicate market sentiment:
Upper Wicks: Sellers pushed the price lower after buyers drove it higher, signaling rejection at the top.
Lower Wicks: Buyers pushed the price higher after sellers drove it lower, signaling rejection at the bottom.
3. Signal Generation:
Traders can use wick detection to build strategies, such as identifying key price levels or market reversals.
Enhancements and Future Improvements
1. Wick Length Measurement
Instead of binary detection, measure the actual length of the wick:
pinescript
Kodu kopyala
float upper_wick_length = high - math.max(open, close)
float lower_wick_length = math.min(open, close) - low
This approach allows for thresholds to identify significant wicks:
pinescript
Kodu kopyala
bool significant_upper_wick = upper_wick_length > 10 // For wicks longer than 10 units.
bool significant_lower_wick = lower_wick_length > 10
2. Alerts for Long Wicks
Trigger alerts when significant wicks are detected:
pinescript
Kodu kopyala
alertcondition(significant_upper_wick, title="Long Upper Wick", message="A significant upper wick has been detected.")
alertcondition(significant_lower_wick, title="Long Lower Wick", message="A significant lower wick has been detected.")
3. Combined Wick Analysis
Analyze both upper and lower wicks to assess volatility:
pinescript
Kodu kopyala
float total_wick_length = upper_wick_length + lower_wick_length
bool high_volatility = total_wick_length > 20 // Combined wick length exceeds 20 units.
Conclusion
This script provides a compact and computationally efficient way to detect candlestick wicks and represent them as binary data. By visualizing the data with histograms, traders can easily identify wick formations and use them for technical analysis, signal generation, and volatility assessment. The approach can be extended further to measure wick length, detect significant wicks, and integrate these insights into automated trading systems.
Mt.Olive Plot ProfitsMt.Olive Plot Profits Indicator
As day traders, it's important to set profit goals for the day. By inputting your order size, commission percentage, entry price, and desired target profit percentages, this indicator helps you visualize your target profit levels by displaying horizontal lines and labels on your chart showing the levels you need to reach to achieve your profit goals.
With up to 5 customizable profit targets, you can see exactly where price should move to reach each target. This can help you prepare take-profit levels in advance, so if the price reverses, you can lock in profits based on your daily targets.
Use this tool to plan your trades more effectively, ensuring you're aligned with your profit goals and ready to take action when price hits your key levels.
Vesica Piscis Visualization-Secret Geometry-AYNETExplanation
Customization Options:
circle_radius: Adjust the size of the circles.
line_color: Choose the color of the circles.
line_width: Adjust the thickness of the circle lines.
segments: Increase or decrease the smoothness of the circles (higher values make smoother circles but use more computational resources).
Placement:
The first circle is centered at circle1_x and the second is offset horizontally by 2 * circle_radius to ensure their centers intersect each other's circumference.
Intersection Highlight:
The intersection area is visually emphasized with a semi-transparent background (bgcolor), which can be customized or removed if unnecessary.
Smoothness:
The segments input determines how many points are used to create each circle. Higher values create smoother curves.
Adjustments
Ensure the circles fit within the visible chart area by adjusting circle1_x and circle_radius.
If needed, you can add additional features, such as drawing lines to connect the centers or labeling the Vesica Piscis region.
Let me know if you want further refinements or additional features!
Custom V2 KillZone US / FVG / EMAThis indicator is designed for traders looking to analyze liquidity levels, opportunity zones, and the underlying trend across different trading sessions. Inspired by the ICT methodology, this tool combines analysis of Exponential Moving Averages (EMA), session management, and Fair Value Gap (FVG) detection to provide a structured and disciplined approach to trading effectively.
Indicator Features
Identifying the Underlying Trend with Two EMAs
The indicator uses two EMAs on different, customizable timeframes to define the underlying trend:
EMA1 (default set to a daily timeframe): Represents the primary underlying trend.
EMA2 (default set to a 4-hour timeframe): Helps identify secondary corrections or impulses within the main trend.
These two EMAs allow traders to stay aligned with the market trend by prioritizing trades in the direction of the moving averages. For example, if prices are above both EMAs, the trend is bullish, and long trades are favored.
Analysis of Market Sessions
The indicator divides the day into key trading sessions:
Asian Session
London Session
US Pre-Open Session
Liquidity Kill Session
US Kill Zone Session
Each session is represented by high and low zones as well as mid-lines, allowing traders to visualize liquidity levels reached during these periods. Tracking the price levels in different sessions helps determine whether liquidity levels have been "swept" (taken) or not, which is essential for ICT methodology.
Liquidity Signal ("OK" or "STOP")
A specific signal appears at the end of the "Liquidity Kill" session (just before the "US Kill Zone" session):
"OK" Signal: Indicates that liquidity conditions are favorable for trading the "US Kill Zone" session. This means that liquidity levels have been swept in previous sessions (Asian, London, US Pre-Open), and the market is ready for an opportunity.
"STOP" Signal: Indicates that it is not favorable to trade the "US Kill Zone" session, as certain liquidity conditions have not been met.
The "OK" or "STOP" signal is based on an analysis of the high and low levels from previous sessions, allowing traders to ensure that significant liquidity zones have been reached before considering positions in the "Kill Zone".
Detection of Fair Value Gaps (FVG) in the US Kill Zone Session
When an "OK" signal is displayed, the indicator identifies Fair Value Gaps (FVG) during the "US Kill Zone" session. These FVGs are areas where price may return to fill an "imbalance" in the market, making them potential entry points.
Bullish FVG: Detected when there is a bullish imbalance, providing a buying opportunity if conditions align with the underlying trend.
Bearish FVG: Detected when there is a bearish imbalance, providing a selling opportunity in the trend direction.
FVG detection aligns with the ICT Silver Bullet methodology, where these imbalance zones serve as probable entry points during the "US Kill Zone".
How to Use This Indicator
Check the Underlying Trend
Before trading, observe the two EMAs (daily and 4-hour) to understand the general market trend. Trades will be prioritized in the direction indicated by these EMAs.
Monitor Liquidity Signals After the Asian, London, and US Pre-Open Sessions
The high and low levels of each session help determine if liquidity has already been swept in these areas. At the end of the "Liquidity Kill" session, an "OK" or "STOP" label will appear:
"OK" means you can look for trading opportunities in the "US Kill Zone" session.
"STOP" means it is preferable not to take trades in the "US Kill Zone" session.
Look for Opportunities in the US Kill Zone if the Signal is "OK"
When the "OK" label is present, focus on the "US Kill Zone" session. Use the Fair Value Gaps (FVG) as potential entry points for trades based on the ICT methodology. The identified FVGs will appear as colored boxes (bullish or bearish) during this session.
Use ICT Methodology to Manage Your Trades
Follow the FVGs as potential reversal zones in the direction of the trend, and manage your positions according to your personal strategy and the rules of the ICT Silver Bullet method.
Customizable Settings
The indicator includes several customization options to suit the trader's preferences:
EMA: Length, source (close, open, etc.), and timeframe.
Market Sessions: Ability to enable or disable each session, with color and line width settings.
Liquidity Signals: Customization of colors for the "OK" and "STOP" labels.
FVG: Option to display FVGs or not, with customizable colors for bullish and bearish FVGs, and the number of bars for FVG extension.
-------------------------------------------------------------------------------------------------------------
Cet indicateur est conçu pour les traders souhaitant analyser les niveaux de liquidité, les zones d’opportunité, et la tendance de fond à travers différentes sessions de trading. Inspiré de la méthodologie ICT, cet outil combine l'analyse des moyennes mobiles exponentielles (EMA), la gestion des sessions de marché, et la détection des Fair Value Gaps (FVG), afin de fournir une approche structurée et disciplinée pour trader efficacement.
CBBS Suite [KFB Quant]CBBS Suite
The CBBS Suite is a specialized technical indicator that aggregates central bank balance sheet (CBBS) data from major global economies (US, EU, China, and Japan) and analyzes the data to assist with trend-following strategies. By using CBBS data as an economic signal, this tool provides insights into long and short trading opportunities based on macroeconomic changes.
Functionality :
The CBBS Suite aggregates central bank balance sheets, converting the combined data into percentage changes over multiple timeframes (30–360 days). It then calculates average scores to highlight the direction and strength of the CBBS trend, with customizable smoothing options for precision.
Signal Modes :
Users can select from three modes for optimal customization:
Standard – Displays unsmoothed trend signals.
Smoothed – Applies a smoothing function for clearer signal representation.
Combined – Shows both standard and smoothed signals for a comprehensive view
Indicator Features :
Thresholds : Customize long and short entry points based on score thresholds and percentage change limits.
Signal Smoothing : Choose from EMA, SMA, or WMA for trend smoothing, with adjustable lengths for greater flexibility.
Visuals : Background color coding for long and short zones and up/down triangles on chart bars to clearly identify long and short signals.
Limitations :
As with any indicator, CBBS Suite should be used as part of a broader trading strategy. It doesn’t predict future movements but instead reflects central bank activity trends.
This indicator is designed to add value to the TradingView community by providing unique macroeconomic insights based on central bank data trends. It’s a valuable tool for users looking to incorporate CBBS data into their technical analysis toolkit.
Disclaimer: This tool is provided for informational and educational purposes only and should not be considered as financial advice. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions.
Percentile Momentum IndicatorInput Parameters:
lengthPercentile: Defines the period used to calculate the percentile values (default: 30).
lengthMomentum: Defines the period for calculating the Rate of Change (ROC) momentum (default: 10).
Core Logic:
Rate of Change (ROC): The script calculates the ROC of the closing price over the specified period (lengthMomentum).
Percentile Calculations: The script calculates two key percentiles:
percentile_upper (80th percentile of the high prices)
percentile_lower (20th percentile of the low prices)
Percentile Average: An average of the upper and lower percentiles is calculated (avg_percentile).
Trade Signals:
Buy Signal: Triggered when the ROC is positive, the close is above the percentile_lower, and the close is above the avg_percentile.
Sell Signal: Triggered when the ROC is negative, the close is below the percentile_upper, and the close is below the avg_percentile.
Trade State Management:
The script uses a binary state: 1 for long (buy) and -1 for short (sell).
The trade state is updated based on buy or sell signals.
Bar Coloring:
Bars are colored dynamically based on the trade state:
Green for long (buy signal).
Red for short (sell signal).
The same color is applied to the percentile and average percentile lines for visual consistency.
Previous Daily Candle The Previous Daily Candle indicator is a powerful tool designed to enhance your intraday trading by providing clear visual cues of the previous day's price action. By outlining the high, low, open, and close of the previous daily candle and adding a middle dividing line, this indicator offers valuable context to inform your trading decisions.
🎯 Purpose
Visual Clarity: Highlight the key levels from the previous day's price movement directly on your intraday charts.
Trend Confirmation: Quickly identify bullish or bearish sentiment based on the previous day's candle structure.
Support and Resistance: Use the outlined high and low as potential support and resistance levels for your trading strategies.
Customizable Visualization: Tailor the appearance of the outlines and middle line to fit your trading style and chart aesthetics.
🛠️ Features
Outlined Candle Structure:
High and Low Lines: Clearly mark the previous day's high and low with customizable colors and line widths.
Open and Close Representation: Visualize the previous day's open and close through the outlined structure.
Middle Dividing Line:
Average Price Level: A horizontal line divides the candle in half, representing the average of the open and close prices.
Customizable Appearance: Adjust the color and thickness to distinguish it from the high and low outlines.
Bullish and Bearish Differentiation:
Color-Coded Outlines: Automatically change the outline color based on whether the previous day's candle was bullish (green by default) or bearish (red by default).
Enhanced Visual Feedback: Quickly assess market sentiment with intuitive color cues.
Customization Options:
Outline Colors: Choose distinct colors for bullish and bearish candle outlines to match your chart's color scheme.
Middle Line Color: Select a color that stands out or blends seamlessly with your existing chart elements.
Line Width Adjustment: Modify the thickness of all lines to ensure visibility without cluttering the chart.
Transparent Candle Body:
Non-Intrusive Display: The indicator only draws the outlines and middle line, keeping the candle body transparent to maintain the visibility of your primary chart data.
⚙️ How It Works
Data Retrieval: The indicator fetches the previous day's open, high, low, and close prices using TradingView's request.security function.
Candle Analysis: Determines whether the previous day's candle was bullish or bearish by comparing the close and open prices.
Dynamic Drawing: Upon the start of a new day, the indicator deletes the previous outlines and redraws them based on the latest data.
Time Synchronization: Accurately aligns the outlines with the corresponding time periods on your intraday chart.
📈 How to Use
Add to Chart:
Open TradingView and navigate to the Pine Editor.
Paste the provided Pine Script code into the editor.
Click on Add to Chart to apply the indicator.
Customize Settings:
Access the indicator's settings by clicking the gear icon next to its name on the chart.
Adjust the Bullish Outline Color, Bearish Outline Color, Middle Line Color, and Outline Width to your preference.
Interpret the Lines:
Bullish Candle: If the previous day's close is higher than its open, the outlines will display in the bullish color (default green).
Bearish Candle: If the previous day's close is lower than its open, the outlines will display in the bearish color (default red).
Middle Line: Represents the midpoint between the open and close, providing a quick reference for potential support or resistance.
Integrate with Your Strategy:
Use the high and low outlines as potential entry or exit points.
Combine with other indicators for confirmation to strengthen your trading signals.