Dual Moving Average with DotsOverview:
The Dual Moving Average with Dots is a powerful technical analysis tool designed to assist traders in identifying potential trend reversals and confirming trend strength. This indicator combines the simplicity of dual moving averages with visual markers in the form of dots above candles, providing clear signals for both trend following and reversal opportunities.
Key Features:
Dual Moving Averages:
Choose between Simple Moving Average (SMA) and Exponential Moving Average (EMA) for two distinct moving averages.
Customize the source for each moving average, including options such as open, close, high, low, and more.
Adjust the periods for both moving averages to suit your trading preferences.
Visual Signals:
Green Dot: A green triangle-up dot appears above candles where the closing price is greater than both selected moving averages. This signals potential bullish strength and trend continuation.
Red Dot: A red triangle-down dot appears above candles where the closing price is lower than either of the selected moving averages. This signals potential bearish weakness and trend reversal.
Flexible Configuration:
Tailor the indicator to your trading strategy by adjusting parameters such as moving average type, source, and period for each average.
Gain insights into market dynamics by visually interpreting the relationship between closing prices and moving averages.
How to Use:
Trend Confirmation:
Confirm a bullish trend when the green dot appears above a candle, suggesting that the closing price is above both moving averages.
Confirm a bearish trend when the red dot appears above a candle, suggesting that the closing price is below either of the moving averages.
Reversal Signals:
Watch for potential trend reversals when red dots appear, signaling that the closing price is below one of the moving averages.
Customization for Strategy:
Experiment with different combinations of moving average types, sources, and periods to align the indicator with your unique trading strategy.
Usage Tips:
Combine the Dual Moving Average with Dots with other technical indicators for comprehensive market analysis.
Look for confluence with support/resistance levels or chart patterns to enhance the robustness of your trading decisions.
Candlestick analysis
MTF EMA Monitor CQENGLISH
This Dashboard allows you to monitor the Dollar difference between EMAS, if the Dollar difference between EMAS is around $200 on all 3, it is a good entry point for the time frame in which it is happening. It allows you to monitor 15M, 1H, 4H, 1D and 1W timeframes.
SPANISH
Este tablero permite monitorear la diferencia en Dolares entre EMAS, Si la diferencia es de alrededor de $200 en las 3 EMAS, podria ser una buena entrada para la temporalidad en que esta sucediendo. Permite monitorear temporalidades de 15M, 1H, 4H, 1D y 1S.
G2RIntroducing G2R – The Universal Indicator! Unlock the secret to trading success with G2R an extraordinary indicator that provides automatic signals across every time frame and market, from forex, crypto, stocks, & options with over 80% signal accuracy. Say goodbye to guesswork and hello to precision as G2R empowers you with real-time insights , giving you the edge to seize opportunities in any market condition . Elevate your trading strategy and conquer the financial world with G2R – your ultimate guide to profitable trading!
Features
• Bollinger bands
• 2 exponential moving averages
• Automatic buy and sell signals
• Works for Forex, Crypto, Indices, Stocks, & Options
• Tailored for all Timeframes
Trading Tips
• Trading Signals
• 30 Secs - 1 Min | SCALPING
• 3 Min - 5 Min | DAY TRADING
• 15 Min - 1 Hr | SWING & POSITION
• Take signal trades during London, New York, & Asia sessions
• Take Profits are found on the 15 Min, 30 Min, & 1 Hr timeframe at the trend channel or Moving Averages
• Stop loss are found above or below trend channel or moving averages
Warning
Never blindly take a trade on a G2R - wait for a proper market structure to occur before considering a trade.
Hammer and inverted Hammer
The "Hammer and Inverted Hammer" indicator is straightforward and effective. It automatically spots key candlestick patterns for you, making it easier to see potential market turns. You can also adjust a few settings to fit your trading style. Simple, yet quite handy for traders!
Alerts for Hammer Pattern: When the script identifies a Hammer pattern, it can trigger an alert. This is particularly useful if you're looking for potential bullish reversal signals and don't want to miss them.
Alerts for Inverted Hammer Pattern: Similarly, when an Inverted Hammer pattern is detected, the script can also trigger an alert. This is helpful for spotting potential bearish reversal signals.
SETTINGS EXPLAINED
Minimum Lower Tail Length (%): This setting allows you to define what percentage of the total candle size should be considered a significant lower tail. This is important for identifying the Hammer pattern.
Number of Consecutive Candles (for Lower Tails): This input lets you choose how many consecutive candles with significant lower tails must be present to identify a pattern.
Percentage of Candle Below Previous Low: This setting determines what percentage of the candle's range must extend below the lowest low of a specified number of previous candles. It's used to assess the significance of a Hammer pattern.
Number of Previous Candles for Lowest Low: This decides how many previous candles the script should look at to calculate the lowest low, which is then used in the Hammer pattern analysis.
Minimum Upper Tail Length (%): Similar to the lower tail setting, this defines the significant length of an upper tail, used for identifying the Inverted Hammer pattern.
Number of Consecutive Candles (for Upper Tails): This input is for setting how many consecutive candles with significant upper tails are required to confirm an Inverted Hammer pattern.
Percentage of Candle Above Previous High: This setting is used to determine how much of the candle's range must be above the highest high of a set number of previous candles, aiding in the identification of the Inverted Hammer pattern.
Number of Previous Candles for Highest High: It specifies the number of past candles to consider for calculating the highest high, which is important for the analysis of Inverted Hammer patterns.
These settings allow you to customize how the script identifies Hammer and Inverted Hammer patterns, making it adaptable to different trading strategies and market conditions.
High volume candles.
High Volume Candles Indicator:
This is a simple tool that shows you when there's a lot of action in the market. It highlights the candles with the highest trading volume on your chart.
What It Does:
Picks the Busiest Candle: It points out the candle with the most trading in your set time.
Shows Buying and Selling: Green for lots of buying, red for lots of selling.
You Choose the Time Frame: Whether it's a few candles or many, it's up to you.
Best Part - Alerts:
Get Notified: The cool thing? It'll alert you when these big volume candles happen. You won't miss the important moments.
Use this to keep track of when things are really moving in the market, without having to watch your screen all the time.
Peak & Valley Levels [AlgoAlpha]The Peak & Valley Levels indicator is a sophisticated script designed to pinpoint key support and resistance levels in the market. By utilizing candle length and direction, it accurately identifies potential reversal points, offering traders valuable insights for their strategies.
Core Components:
Peak and Valley Detection: The script recognizes peaks and valleys in price action. Peaks (potential resistance levels) are identified when a candle is longer than the previous one, changes direction, and closes lower, especially on lower volume. Valleys (potential support levels) are detected under similar conditions but with the candle closing higher.
Color-Coded Visualization:
Red lines mark resistance levels, signifying peaks in the price action.
Green lines indicate support levels, representing valleys.
Dynamic Level Adjustment: The script adapts these levels based on ongoing market movements, enhancing their relevance and accuracy.
Rejection Functions:
Bullish Rejection: Determines if a candlestick pattern rejects a level as potential support.
Bearish Rejection: Identifies if a pattern rejects a level as possible resistance.
Usage and Strategy Integration:
Visual Aid for Support and Resistance: The indicator is invaluable for visualizing key market levels where price reversals may occur.
Entry and Exit Points: Traders can use the identified support and resistance levels to fine-tune entry and exit points in their trading strategies.
Trend Reversal Signals: The detection of peaks and valleys serves as an early indicator of potential trend reversals.
Application in Trading:
Versatile for Various Trading Styles: This indicator can be applied across different trading styles, including swing trading, scalping, or trend-following approaches.
Complementary Tool: For best results, it should be used alongside other technical analysis tools to confirm trading signals and strategies.
Customization and Adaptability: Traders are encouraged to experiment with different settings and timeframes to tailor the indicator to their specific trading needs and market conditions.
In summary, the Peak & Valley Levels by AlgoAlpha is a dynamic and adaptable tool that enhances a trader’s ability to identify crucial market levels. Its integration of candlestick analysis with dynamic level adjustment offers a robust method for spotting potential reversal points, making it a valuable addition to any trader's toolkit.
Trailing Candle CounterThis script is for users who like to monitor and/or analyze a specified number of candles within the time the last candle closed. Al Brooks fans may enjoy this indicator.
While searching for an indicator that already had this functionality I found a script by @Steversteves which counted the candles/percentage within a set period of time. This let me know it could be done. In honor of Steversteves I kept the table the same colors - although, I added code to allow the table to be modified.
When opening the script the user will need to set a begin/end time to analyze – don't worry as you can set anything you want and it can be altered after the script is running.
This image shows the settings for a user to be able to set a begin time and have the indicator count all the candles from that time through to the current time and update at each candle close. The user can move the beginning time as needed. This is useful if the user is monitoring the length of a trend, wedge, channel, etc.:
If the indicator is in view and the beginning time is on the chart the user can select the table to view/select/change the beginning time.
This image shows the settings for a user to monitor the last set of candles since the last candle closed. This is useful if the user expects a pullback after a set number of candles or expects some alteration in a trend within a set number of candles. In this case the user setting is to watch five candles:
This setting is the reason for my creation of this indicator. This image shows the settings for a user to monitor two sets of candles. In this case an additional set of five candles has been added to the original set of five candles:
If one is watching for movements to last a certain number of bars when the first bar of the movement is exiting the background color the user can expect a change in the price momentum.
This image shows the same functionality as in Steversteves original script (although, I used almost none of his original code). The user can set a begin time and end time to analyze the number or red/green candles and the percentage of each within that time period.
If the indicator is in view and the beginning and end times are on the chart the user can select the table to view/select/change the times.
I hope you find this useful and if you have any questions/comments/suggestions for improvement please comment below.
Price SandwichFor the script in question
This script acts as an indicator that a potential short term or long term trend reversal is coming. Note that not every candle can be used as an indication and the smaller ones tend to have little to no effect, however they can be used alongside orderblocks or future support/resistance areas.
The best timeframes I've found these to be useable are on the 1m, 2m, or second charts.
You may use this as an added confluence that a trend is ending either short term or long term.
You may also decide to use this with other indicators to build further confluence.
Note that this is just something I've noticed personally most likely does not apply to all trend reversals.
Some ideas on how to use it:
If you extend a rectangle out from the block itself, you can often find the next high or low overlaps with said rectangle.
They may also overlap with a fair value gap that could make that gap have more potential.
Hope this is of use and can help with that added confluence or early warning signal of a potential reversal. This should not be used alone and it's recommended to not use this as a surefire indication of whether to take a trade.//Krindler
Script Breakdown
//@version=5 // this makes the script v5 friendly
indicator("Price Sandwich", overlay=true) //makes this script an indicator, overlay=true to make it a part of the main chart
// User input for the highlight color
userColor = input(color.green, title="Highlight Color") //This allows you to choose what color you want the candle to be in the settings
//Function to check the custom candle pattern based on whether the candle is being englulfed by both preceding and latter candle.
isCustomPattern() => //let's me look for a custom candle pattern
high > high and high < high and low < low and low > low
//this checks the candle before and the candle after to check that the candle in the middle doesn't escape the range of the candle before, or the candle afters highs and lows thus making it a sandwiched candle.
//high > high and high < high and low < low and low > low basically says: candle 1 high must be greater than candle 2 high and candle 2 high must be less than candle 3 high and candle 1 low must be less than candle 2 low and candle 2 low must be greater than candle 3 low. Thus making sure that candle 2 is within the range of candle's 1 and 3 and doesn't have a high or low that is either above or below candle 1 and 3. 'and' is the operator to make sure that all of these values must be true in order for that candle to meet the criteria of getting colored.
// Apply bar color to Sandwiched candle if candle is found.
barcolor(isCustomPattern() ? userColor : na, offset=-1) //this targets the findings from isCustomPattern() and uses the user color chosen in settings and colors the middle bar by using offset=-1, otherwise it would color candle 3, so offset goes back 1 candle to color the middle candle.
If this script is already in circulation, please let me know and i'll remove it immediately. I checked but couldn't find one that did it.
No Wick Bull/Bear Candlesticks with Arrow premiumNo Wick Bull/Bear Candlesticks with Arrow premium
This script is for a custom trading indicator called "No Wick Bull/Bear Candlesticks with Arrow premium" developed by ClearTradingMind. It is designed for use with trading platforms that support scripting, such as TradingView. This indicator combines several technical analysis tools to help traders identify potential buy and sell signals in a financial market.
Key Components of the Indicator:
Moving Average (MA): The script allows users to select from various types of moving averages (SMA, EMA, HMA, etc.), which smooth out price data to identify trends. Users can set the length and type of the moving average.
Upper and Lower Bands: These bands are set at a specified deviation percentage above and below the chosen moving average. They help in identifying overbought and oversold conditions.
No Wick Bull/Bear Candlestick Identification:
Bullish Condition: A bullish candlestick is identified when the closing price is higher than the opening price, the low equals the open, and the close is above the moving average.
Bearish Condition: A bearish candlestick is identified when the closing price is lower than the opening price, the high equals the open, and the close is below the moving average.
No Wick: These conditions also imply that the candlesticks have no wicks, suggesting strong buying or selling pressure.
Arrows for Trading Signals:
No lower wick bull bar
No upper wick bear bar
When a bullish condition is met, a green upward-pointing triangle is plotted below the candlestick, indicating a potential buy signal.
When a bearish condition is met, a red downward-pointing triangle is plotted above the candlestick, indicating a potential sell signal.
EMA 20: An additional Exponential Moving Average with a length of 20 periods is plotted for further trend analysis.
Background Color Changes: The script changes the background color to blue if the EMA 20 is above the upper band, and to red if it is below the lower band, providing visual cues about the market trend.
How It Works:
Traders can input their preferences for the moving average type and length, source of the MA (like closing prices), and the deviation percentage for the bands.
The script then calculates the moving average, upper and lower bands, and checks for bullish or bearish candlestick conditions without wicks.
When such conditions are met, it plots arrows to suggest buy or sell signals.
The EMA 20 and background color changes offer additional trend information.
Usage:
This indicator is particularly useful in markets with clear trends. The no wick bull/bear candlesticks indicate strong buying or selling pressure, and the arrows provide clear visual signals for traders to consider entering or exiting positions. As with all trading indicators, it's recommended to use this tool in conjunction with other forms of analysis to confirm trading signals.
NAS100 - 5 Minute Opening Range with EMAsThis indicator is designed for traders who focus on the opening range breakout strategy and use EMAs as part of their trading decisions. The script markes the first 5 min opening candle and generates Buy and Sell signals calculating EMA.
Basic features are :
User Inputs: Allows users to enable/disable alerts and choose to display Exponential Moving Averages (EMAs) for 5, 20, and 50 periods.
Opening Range Calculation: It calculates the first five minutes of the trading day, adjusting for different chart timeframes.
New Day Detection: Determines if the current bar is the first bar of a new day.
Data Storage: Utilizes arrays to store opening range highs, lows, start bars, and last bars for the last five days.
Daily Updates: Updates the stored data at the start of each new day, maintaining data for only the last five days.
Opening Range Plotting: Plots the opening ranges (high and low) for the past five days, with special plotting and filling for the current day.
EMA Calculation and Plotting: Calculates and plots EMAs (5, 20, and 50 periods) if enabled.
Alert Conditions: Sets up conditions for alerts when the price crosses above or below the current day's opening range.
Signal Generation: Generates buy and sell signals based on the relationship of the closing price to the opening range and the position of EMA5 relative to EMA50.
Signal Plotting: Plots buy and sell signals as triangles on the chart.
[F][IND] - Big Candle IdentifierDescription:
The size of a candle in trading offers a fundamental insight into market direction. Larger candles often indicate robust price movements, suggesting strength in either buying or selling activity. In an uptrend, substantial green (bullish) candles signify strong buying momentum, while in a downtrend, sizable red (bearish) candles indicate significant selling pressure. Traders frequently interpret these larger candles as potential signals for a shift in sentiment or the continuation of an existing trend.
This indicator specifically identifies whether the candle body (the difference between Open and Close) is larger than the previous 5 candles. It serves as a simple yet effective tool for traders seeking recent notable candle movements as potential entry signals. It's crucial to emphasize that the indicator labels/alerts are initiated once the technical conditions are satisfied. However, it's imperative to wait for the candle to close to confirm that all technical conditions are met at the close of the candle.
It's important to note that while the candle body size provides valuable information, it's usually more effective when used in conjunction with other technical indicators and analysis methods. Traders often combine multiple tools to gain a comprehensive understanding of the market and make well-informed trading decisions.
Alerts:
You can enable alerts on this indicator to receive timely notifications.
Disclaimer:
This indicator is provided for educational purposes only. Trading involves risk, and users should consult with a financial professional before making any trading decisions.
Your Feedback Matters!
Please feel free to comment or reach out if you have any improvement suggestions or if you would like to request the development of a specific indicator. Your feedback is invaluable!
Candle size in pipsDescription
Enhance your trading strategy with precision using this script, designed to measure the range of a candle from wick to wick in pips. Whether you're implementing a specific pip requirement within a candle for your strategy, or simply seeking to better understand market dynamics, this tool provides valuable insights. The script is calculating the amount of pips between the high and the low then compares it to the minimal size you declared. If the amount of pips is more or equal to minimal size it will show the label.
Features
Alert Functionality: Opt to receive alerts by checking the checkbox (default: false).
Customizable Pip Threshold: Tailor the script to your needs by setting the minimum required pips to display on the screen (default: 12).
Different shape: circle, triangle up, triangle down, none
How to Use
Personalize your trading approach by integrating this script with your preferred strategy. For instance, in my strategy involving a 3M continuation, I leverage this tool to determine the pip count of the M15 candle before making entry decisions.
Note: Ensure you understand your strategy's requirements and adjust the script settings accordingly for optimal result s.
Feel free to reach out if you have any questions or require further assistance in maximizing the utility of this script.
Urika Relative PriceThe Urika Relative Price (URP) indicator is designed to compare the current price of an asset to an average of previous closing prices. It aims to show whether the current price is above or below the historical average and whether it's increasing or decreasing relative to that average. URP is more focused on the relationship between the current price and its historical context.
Calculation:
URP calculates the difference between the current price and the average of previous prices. It uses this difference to create a histogram that can be green (if the current price is higher than the historical average) or red (if it's lower). The color lightens if the current bar is shorter than the previous bar, providing additional visual information.
Blockunity Regime Monitoring (BRM)Efficiently analyze market conditions and detect overheating zones.
Regime Monitoring (BRM) is here to help you analyze the behavior of financial markets. The oscillator allows you to observe when an asset’s trend is likely to reverse. The trend is also given by the indicator, as is the phase the market is in (trending or congested). The BRM also provides the state of the Choppiness Index, indicating whether or not the asset is about to enter a more volatile phase.
The Idea
The goal is to provide the community with a comprehensive tool for tracking market conditions, with a visual approach to identifying overheating zones.
How to Use
This tool consists of 3 main components:
An oscillator, which we describe in detail below.
Bar color to transcribe oscillator information directly onto the graph. To activate Bar Color, make sure the first option is checked in the settings. You must also uncheck "Borders" and "Wick" in your Chart Settings.
A panel that summarizes the status of various indicator information.
Elements
The Regime Monitoring oscillator
The oscillator provides several information points. First, it gives the market trend of the asset:
Green: Bullish trend.
Red: Bearish trend.
Blue: Contested trend.
It then indicates areas of overheating, where it is considered statistically probable that we will see a change in trend dynamics. These moments are shown in yellow.
This market trend is also indicated in the table.
If you see that the oscillator is above or below these limits, but not yellow, this is because we use a Choppiness Index to filter this information.
The "Enable Choppiness Index Filter" is enabled by default in the settings. So, if the Chop is discharged (under 38.2), then the oscillator's overheating state is ignored.
You can see the difference in the images below, the first with the filter and the other without:
Market Phase
We use a Vertical Horizontal Filter (VHF) to define the market phase the asset is in. This phase can have two values:
Trending: Assets evolve within a trend.
Congestion: The asset is in a moment of congestion.
Chop State
Visualize the Choppiness Index, indicating whether an asset is gearing up to enter a phase of increased volatility. It can be:
Charged: Chop is considered to indicate to be entering a stable phase.
Neutral: Chop is neutral and does not provide any specific information.
Discharged: Chop is considered to indicate a continuation of the trend.
In addition, with the "Show Choppiness Index" option, you can plot the Chop on the oscillator:
Other Settings
You can also modify the standard Regime Monitoring parameters (Lookback, Smoothing, Limits), display or hide certain components, and change all the colors.
How it Works
Regime Monitoring's main oscillator is established as follows:
We calculate the percentage of times the closing price was higher than the opening price. This is then divided by a lookback period, which in this case defaults to 20. This calculation gives a probability of the current regime.
Renko Box Chart Overlay by BDThis is Renko chart overlay for Candles chart. You can use it to identify market direction and potential key points.
To use it simply select box size and any timeframe you want.
With this overlay you can be sure that you'll see every brick on a chart showing general market direction with all the details of a candles chart.
Alternatives Renko overlay charts:
If you don't have access to 1s timeframe or you don't want to use low TF here is the situation with built in Renko chart on 5m TF:
This Renko boxes are linked to chart by time(candle) and price. It will draw a box even if price didn't close above(or below) of box level:
But be careful when setting box size too small because it will produce bad results:
The issue is known and I'll work on fixing it in next update, for now use box size at least the size of a body of a candle, after all renko is for general market movement and not for marking up every tick.
Let me know if you want to see any additions.
Trend Finder A Trend Finder is a specialized indicator designed to analyze market trends by combining pivot points and candlestick patterns. This hybrid approach aims to provide more accurate signals for identifying potential market directions. Here's a refined description of its features and usage:
**Overview:**
A Trend Finder indicator utilizes a combination of pivot points and candlestick patterns to offer insights into the prevailing market trend. By incorporating both elements, it seeks to enhance the accuracy of trend analysis.
**How to Use Trend Finder:**
Using the Trend Finder is straightforward and involves interpreting the signals provided by different coloured boxes:
1. **Green Box (Bull Box):**
- Indicates a potential uptrend in the market.
- Highlights possible market direction and key points.
- Offers insights into bullish market conditions.
2. **Red Box (Downtrend Box):**
- Signals a potential downtrend in the market.
- Illustrates possible downward market direction and pivotal points.
- Provides an estimate of potential market decline using pivot point calculations.
**Customization Options:**
The Trend Finder comes with customization options to tailor the analysis based on candlestick patterns. Users can adjust these settings to refine the accuracy of trend identification.
**Additional Features:**
The indicator includes extra features to enhance its functionality:
- Displays the previous day's high, low, and close values.
- Utilizes this historical data to suggest potential trend directions.
- Enables users to make informed trading decisions based on past market behaviour.
**Usage Guidelines:**
Traders can use the Trend Finder by observing the signals within the coloured boxes, considering the pivot point calculations, and factoring in candlestick patterns. The indicator's flexibility allows users to adjust settings to better align with their preferred trading strategies.
In essence, the Trend Finder serves as a comprehensive tool for traders seeking a nuanced understanding of market trends. By combining pivotal technical indicators, it aims to provide a more accurate depiction of potential market movements, assisting traders in making informed decisions.
Modified Box Plots
Box Plot Concept: The script creates a modified box plot where the central box represents the range within 1 standard deviation from the midpoint (hl2), which is the average of the high and low prices. The whiskers extend to cover a range of 3 standard deviations, providing a visualization of the overall price distribution.
Color Scheme: The color of the modified box plot is determined based on comparisons between the current midpoint (g) and the +/- 1 SD values of the previous candle (i and j ). If g > i , the color is green; if g < j , it's red; otherwise, it's yellow. This color scheme allows users to quickly assess the relationship between the current market conditions and recent price movements. if the mid point price is above/below +/- 1 SD values of the previous candle the price movement is considered as significant.
Plotcandle Function: The plotcandle function is employed to visualize the modified box plot. The color of the box is dynamically determined by the candleColor variable, which reflects the current market state based on the color scheme. The wicks, represented by lines extending from the box, are colored in white.
Explanation of Box and Wicks:
Box (Open and Close): In this modified box plot, the box does not represent traditional open and close prices. Instead, it signifies a range within 1 standard deviation of the midpoint (hl2), providing insight into the typical price variation around the average of the high and low.
Wicks (High and Low): The wicks extend from the box to cover a range of 3 standard deviations from the midpoint (hl2). They do not correspond to the actual high and low prices but serve as a visualization of potential outliers in the price distribution. The actual high and low prices are also plotted as green and red dots when the actual high and low prices fall outside the +/- 3SD wicks (whiskers) and also indicate the prices does not fit the distribution based on the recent price volatility.
In summary, this modified box plot offers a unique perspective on price distribution by considering standard deviations from the midpoint. The color scheme aids in quickly assessing market conditions, and the wicks provide insights into the potential presence of outliers. It's essential to understand that the box and wicks do not represent traditional open, close, high, and low prices but offer a different way to visualize and interpret intraday price movements.
Step by step explanation
Here's the step-by-step explanation:
a = ta.highest(high, 7): Calculates the highest high in the last 7 bars.
b = ta.lowest(low, 7): Calculates the lowest low in the last 7 bars.
c = ta.stdev(hl2, 7): Calculates the standard deviation of the average of high and low prices (hl2) over the last 7 bars.
d = (a - b) / c: Computes a scaling factor d based on the highest, lowest, and standard deviation. This factor is used to scale the intraday range in the next steps.
e = (high - low): Calculates the intraday range of the candle.
f = e / d: Estimates the standard deviation (f) of the intraday candle price using the scaling factor d.
g = hl2: Defines the intraday midpoint of the candle, which is the average of high and low prices.
i = g + 1 * f, j = g - 1 * f, k = g + 3 * f, l = g - 3 * f: Calculate values representing coverage of +1 SD, -1 SD, +3 SD, and -3 SD from the intraday midpoint.
The script utilizes historical high, low, and standard deviation values to dynamically estimate the standard deviation of the intraday candle, providing a measure of volatility for the current price range. This estimation is then used to construct a modified box plot around the intraday midpoint.
In addition I have included a 7 period hull moving average just to see the overall trend direction.
Conclusion:
The "Nasan Modified Box Plots" indicator on TradingView is a dynamic visualization tool that provides insights into the distribution of price ranges over a specified period. It adapts to changing market conditions by incorporating historical data in the calculation of a scaling factor (d). The indicator constructs a modified box plot, where the size of the box and the whiskers is determined by recent volatility
Protected Highs & Lows [TFO]This indicator presents an alternative approach to identify Market Structure. The logic used is derived from learning material created by @DaveTeaches
When quantifying Market Structure, it is common to use fractal highs and lows to identify "significant" swing pivots. When price closes through these pivots, we may identify a Market Structure Shift (MSS) for reversals or a Break of Structure (BOS) for continuations. The main difference with this "protected" logic is in how we determine the pivots/levels that are utilized to determine a valid MSS or BOS.
Nonetheless, the significance of our swing pivots is still governed by the input Pivot Strength parameter, which requires valid swing pivots to be compared to this many bars to the left and right of them. This is an optional parameter as it is traditionally set to 1 by default.
When identifying a BOS: When price closes below a valid swing low, we look back from the current bar to find the highest high that was made in that range. This becomes our protected high; similarly, when price closes above a valid swing high, we look back from the current bar to find the lowest low that was made in that range, which then becomes our protected low.
Note these valid highs and lows are the first swing pivots created after a MSS/BOS. For example, when price makes a bullish BOS/MSS and then trades away, a swing high is formed. This first swing high is what needs to be traded through to see a valid BOS.
When identifying a MSS: If the current trend is bearish and we're looking for a bullish reversal, we would need price to close above the most recent protected high. When this happens, we still look back to find the lowest low that was created in that range, and make that our new protected low. Likewise when looking for a bearish reversal, price would need to close below the most recent protected low, which would then give us a new protected high as a result (the highest point in that range).
The Trend Candles option allows users to easily visualize the current state of Market Structure with bullish and bearish colors. Users may also show BOS and MSS labels if desired.
Show Protected Highs & Lows will annotate the protected highs and lows, just note that the labels themselves are plotted in the past due to the lookback function required to identify them.
Lastly, the Show Protected Trail option will draw a line to essentially indicate a trailing stop-like line to denote the most recent protected low (if bullish) or protected high (if bearish).
I am simply a student of Dave's concepts, so please feel free to leave feedback if you are familiar with his concepts and have suggestions/improvements.
CBC FlipThis is an indicator for the Candle By Candle (CBC) Flip strategy as created by @MapleStax
It’s useful to traders because it’s a simple approach to gauge if bulls or bears are in control for any particular candle. The logic is as follows:
If the most recent candle close is above the previous candle high, then bulls are in control.
If the most recent candle close is below the previous candle low, then bears are in control.
If neither of these 2 conditions are met, then whoever was already in control remains in force until one of the 2 conditions is met and the sentiment is flipped, hence the name CBC Flip.
My script is original because there are no other CBC Flip scripts available on TV. This is the first, which is why I created it, to help other traders benefit from the power of CBC Flips.
The indicator output is simply interpreted as follows:
Triangle up = bulls in control
Triangle down = bears in control
In my experience this script is best used on the 5 or 10 minute time frames, as it helps to keep you in the trade for the bigger moves once a trend is established, while not getting shaken out from the “noisy” up/down candle price action of lower time frames like the 1 minute.
I’ve also had more success with this indicator when only taking long trades once the green triangle appears and price is above VWAP, and only taking short trades once the red triangle appears and price is below VWAP.
Tick Volume Direction IndicatorTick Volume Direction Indicator
This indicator captures:
• tick volume
• tick direction
The settings are as follows:
• volume or base currency value selection.
• label distance (away from the low of the candle).
• Tick volume - on/off switch for tick volume.
• label size.
• Up tick move color.
• tick move absorbed - when the tick doesn't change position.
• Down tick move.
On the first initial load, it will have the existing volume data as "?" as tradingview doesn't have a history of each tick.
Be aware, any settings change you make will refresh the tick data from start.
This indicator is one of the best real-time ways of seeing buying and selling pressure.
Choose Symbol, Mode with Hull,Stochatic Mom,EMA,MACD,RSI,TableThis Pine Script code is a comprehensive indicator for the TradingView platform, offering a variety of technical analysis tools. Below is an English introduction to its features and purposes:
Introduction:
This indicator is designed for traders on TradingView and provides a multi-functional analysis toolset. It includes different charting modes (Heikin-Ashi, Linear, and Normal), a Hull Moving Average (Hull), Stochastic Momentum, RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), EMA (Exponential Moving Average), Bollinger Bands, and a summary table displaying key metrics.
Key Features:
Charting Modes:
Users can choose between "Heikin-Ashi," "Linear," or "Normal" modes to visualize price data in different ways.
Hull Moving Average:
The script incorporates the Hull Moving Average for trend analysis, highlighting potential buy and sell signals.
Stochastic Momentum:
Stochastic Momentum, with customizable parameters (K, D, and Smooth), is included to identify overbought and oversold conditions.
RSI (Relative Strength Index):
RSI is calculated and displayed, aiding in identifying potential trend reversals or exhaustion points.
MACD (Moving Average Convergence Divergence):
The MACD indicator is included, along with a histogram, to highlight changes in momentum and potential crossovers.
RSI Momentum:
RSI Momentum is calculated, providing additional insights into momentum changes.
Exponential Moving Averages (EMA):
The script calculates and displays three EMAs (Exponential Moving Averages) with customizable periods.
Bollinger Bands:
Bollinger Bands are incorporated, offering insights into volatility and potential price reversals.
Summary Table:
A table is displayed on the chart summarizing key metrics, including Stochastic MoM, RSI, MACD, RSI EMA, Hull percentage change, and EMA values.
Customization:
Users have the option to customize various parameters, including chart modes, lengths of moving averages, Stochastic parameters, and more.
Usage:
The indicator aims to provide a comprehensive view of price action and potential trend changes. Traders can use it for technical analysis and decision-making.
Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
Pipe tops & bottoms v1.0This indicator detects Pipe Tops and Pipe Bottoms chart patterns, using the concept described by Thomas Bulkowski: Tops , Bottoms .
Pipe tops and bottoms patterns are marked on the chart. You can change the indicator sensitivity by using the main settings which define detected price variation boundaries. This will lead to more dense or sparse pattern detection.
Once the bar following each detected top or bottom pattern satisfies signal condition (the current close price must be higher than the high of the pipe bottom, or lower than the low of the pipe top), these bars are also marked on the chart and can be used to define potential long or short entry points.
You can optionally choose to show only signal marks on the chart (this is preferable to avoid visual cluttering), or both pattern and signal marks.
Script calculations are based on the 'Pipe Bottoms Indicator Based on Thomas Bulkowski's Theories' indicator developed by BoilderRoomColdCaller in 2020.