Period SeparatorA useful indicator designed to display vertical line separators at specified periods, for example every hour or every 4 hours.
To use this indicator, you must be in a timeframe lower than the specified timeframe on the indicator.
I haven't found any other scripts that allow for custom time frames so I created my own :)
Let me know if you have any suggestions.
Candlestick analysis
ORB With Buffer, Target & Stop LossThe "ORB With Buffer" is a comprehensive technical analysis tool designed to identify, plot, and visualize key levels associated with price breakouts. It offers a dynamic representation of breakout zones, buffer areas, target levels, and stop-loss levels on both sides of the market.
Key Features:
ORB Levels (Opening Range Breakout):
The indicator identifies and plots the Opening Range Breakout levels, marking the high and low points of the initial trading period. In our case the ORB range is locked to 15 Minutes irrespective of the chart's timeframe.
Buffer Areas for Breakout:
Buffer zones are displayed around the ORB levels, representing a range where traders cant wait to join the direction to counter fake ORB breakouts
Targets:
The indicator calculates and visualizes target levels. Approximately 1% of instrument's price from entry point
Stop Loss Levels:
Stop-loss levels are indicated on both sides of the market, offering traders a clear reference point to manage risk.
HL range by durgaThe script we've been working on is an indicator designed to display the high-low range of the last candlestick on a TradingView chart. It does so by plotting two lines: one for the high and another for the low of the last completed candlestick.
Additionally, the script includes a label that shows the numerical value of the high-low range. This label is positioned between the plotted lines, showing the difference between the high and low prices of the last candlestick.
The script operates in real-time, updating dynamically as new candlesticks form. Furthermore, it automatically removes the label after the close of the candlestick, maintaining a clean and clutter-free chart.
This indicator can help traders quickly visualize and assess the range of the last completed candlestick, aiding in their analysis of price action.
Crypto Candlestick Patterns - CN VersionIntroduction:
The candlestick chart has been used for centuries since the Japanese applications. Based on the candlestick charting, people developed candle pattern analysis. Now we have tons of books or articles illustrating the usage of reversal patterns and continuation patterns, and computers provide a faster and preciser way to recognize these pattern.
Originally we have a common *All Candlestick Patterns* indicator to use. This indicator works well for most of the markets or commodities including stocks and futures. However, for cryptocurrency market, quite a few patterns are not suitable anymore. For example, crypto markets are continuously running 7x24hrs and the big coins with good volume tend to have almost continuous price in commonly used time periods. Hence, original patterns with "window" or "jump" concepts are usually not applied to crypto.
For these issues, I modified the original *All Candlestick Patterns* indicator and introduced the Chinese version for people speaking such language.
Like most of the other indicators, I personally do not recommend anyone to simply follow the patterns it shows to enter the market. You may take these recognized patterns as a reference, and further actions on trading should be done with several other tools, such as MACD, RSI, Stochastic and etc.
Usage:
The application of this indicator is basically the same as the original *All Candlestick Patterns* and you will get an automatically generated pattern recognition by your computer system.
There are a few parameters to adjust for the indicator:
Trending Detection Settings: Here you can choose SMA-Fast, SMA-Fast/Slow or None detecting options to recognize the current market trend. This is a minor improvement from the original indicator and you can choose your preferred trending detecting settings by changing the length of SMA.
Candlestick Settings: You may adjust the rules to recognize the properties of candlesticks. I add a "perturbation" parameter here, which actually is an error tolerance for pattern recognition. Some seemingly pattern may not fulfill the strict rules of classic candlestick patterns, but we may recognize them by watch the charting on our own. Hence this error tolerance may show more potential patterns from the charting.
Plot Settings: It is the usually colour choice and providing options for bullish/bearish.
Pattern Settings: Here you can select the patterns that you would like to see from the charting. You can pick the preferred reversal patterns or choose to show all the patterns. It's all up to you!
Features:
Language Translation: Since this is a Chinese language version. I have replaced all the English explanation of patterns to Chinese ones. Move your mouse to the label, you will find a brief intro of the pattern and a notice about bullish or bearish signals it indicates.
Alerts: As the same as the original one, we will have the alert options from this indicator. All the alerts and their messages are Chinese. You can activate alerts based on this indicator from the alert management section, as the same as many other indicators you have used before.
Future Improvements:
For now I am satisfied with the work I have done, and I may apply it to several charts. It's welcome for any users to take a look at the codes and put modifications or improvements towards it. Currently most of the comments in the code are in Chinese language, since basically it's for Chinese speaking users, while the code itself and the parameter names should be pretty easy to understand in English. (I have been using English for writing in the past 8 years, hence this introduction is in English as well.)
Lot Size Calculator (CZ) This is upgraded version of existing Lot size Calculator from melodicfish.
I added CZK as a new base currency and translated the whole user interface into Czech language, so this version is made mainly for people from Czech Republic.
Here is the original code description from the original creator:
This is a public release of my Lot Size Calculator. I received a request for the code from a user so I am republishing the script so I can make it public (TV doesn't seem to give me the option to simply make it public once published ).
This is a very simple script to use. Simply choose your entry level and stop level on the chart and the indicator will calculate the lots. You can change your account risk and base currency units in the settings along with changing the scaling of the calculation to adjust the results with the lot sizing units of your broker. This allows the calculator to be used with CFDs, forex, Gold, etc.. Hope it helps in your trading it has been the single most useful tool in my trading as it has helped me always keep my risk locked up and on point that is why I released it.
One final quick note: Remember you can save your settings for your own account size and risk so you do not always have to modify the defaults when loading the script. Just a ease of use tip. I only add the script to my chart when I am about to take a trade so it is helpful to have everything set up in advance.
As i said, the whole user interface is in Czech language, but you can find exactly the same indicator in english language under the name Lot Size Calculator by melodicfish. So i hope i don´t need to provide english translation here.
I hope this time it won´t get taken down :( :D
Doji Candle _ ThaerAbusalahIdentify doji candles in heikin ashi .
the indicator will search for a doji candles that are same in upper and lower wick by 50% and more .
Breakout Probability Indicator (FinnoVent)The Breakout Probability Indicator is a cutting-edge tool designed for traders looking to gauge the likelihood of price breakouts above or below current levels. This indicator intelligently combines Average True Range (ATR) and recent price action to provide a probabilistic insight into potential future price movements, enhancing strategy formulation and risk management.
Core Features:
Volatility Assessment: Utilizes the Average True Range (ATR) to measure market volatility, a critical component in identifying potential breakout scenarios.
Dynamic Price Levels: Calculates and plots potential breakout levels based on recent highs and lows, adjusted for current market volatility.
Probability Estimation: Provides an estimation of the probability of reaching these breakout levels, using a responsive logarithmic scale for improved sensitivity.
Real-time Updates: Continuously updates probabilities and levels as new price information becomes available, ensuring traders have the most current data at their fingertips.
Usage:
Add this indicator to any chart in TradingView to see the upper and lower breakout levels, each accompanied by a dynamically calculated probability percentage. These probabilities help traders understand the potential for price movement in either direction, forming a basis for entry or exit decisions, stop-loss placement, and strategy adjustments.
Compliance and Guidelines:
This script is shared for educational purposes, offering a novel approach to understanding market dynamics. It does not constitute financial advice and should be used as part of a comprehensive trading strategy. Traders are encouraged to backtest and paper-trade any new tool before live implementation to ensure it aligns with their trading style and risk tolerance.
Bullish Candle Highlighter by MalviyaOverview:
The Bullish Candle Highlighter is a comprehensive and user-friendly TradingView indicator designed to assist traders in identifying individual bullish candles, facilitating the recognition of potential bullish trends and reversal patterns. This tool is meticulously crafted to enhance the precision of your technical analysis, making it an essential addition to your trading arsenal.
Key Features:
Bullish Candle Identification:
The indicator meticulously scans price action, pinpointing individual candles with a bullish bias.
Each identified bullish candle is distinctly marked on the chart for easy recognition.
Minimum Body Size Filter:
To refine the selection of signals, the indicator incorporates a minimum body size filter.
This filter ensures that only candles with a significant body size are considered, reducing noise and enhancing the reliability of bullish signals.
Visual Highlighting:
Bullish candles are visually highlighted with a vibrant green background, ensuring they stand out on your chart.
The visual cues simplify the process of identifying potential entry points during bullish market conditions.
How to Use:
Bullish Candle Identification:
Keep an eye on the chart for instances where the indicator marks a candle with the label "Bullish Candle."
Each marked candle signifies a potential bullish reversal or continuation pattern.
Buy Signal:
Consider entering a long position when the current candle closes above the high of the identified bullish candle.
The indicator's signals can be used to align your trading decisions with emerging bullish trends.
Advanced Tips:
Confirmation with Other Indicators:
Boost the accuracy of your trades by combining Bullish Candle Highlighter signals with other technical indicators or trend analysis tools.
Risk Management:
Implement sound risk management strategies to protect your capital and optimize your trading performance.
Important Note:
The Bullish Candle Highlighter is a valuable tool, but no indicator guarantees profits. Always conduct thorough analysis and consider multiple factors before making trading decisions.
Disclaimer:
This indicator is provided for educational purposes and is not financial advice. Trading involves risk, and past performance is not indicative of future results.
Feel free to tailor the description to match any specific features or nuances of your indicator. Providing detailed information and usage guidance will help users understand and maximize the benefits of your Bullish Candle Highlighter.
Smallest Swing [Truth Indie]This indicator is designed to test the smallest swing draw using the swing capture concept of the Pivot Points High Low indicator, setting the length to 1 for all periods, and combining it with price action that I think makes sense.
Example of a valid swing high.
Example of a valid swing low.
Inside Bars/Candles [CodeCraftedTrading]This Pine Script indicator is designed to identify and visually represent inside bars or candles. Here's a breakdown of its features and functionality:
1. Inputs:
insideCandlesColor: Color of the inside bars or candles.
highColor: Color of the horizontal line representing the high of the inside bar.
lowColor: Color of the horizontal line representing the low of the inside bar.
showHighLowLabel: Option to display labels for the high and low prices.
2. Logic:
The script checks for the conditions of an inside bar:
high < high and low > low
If an inside bar is detected and is not already in the range:
* Stores the high and low prices of the previous bar.
* Records the parent bar index and sets the broken flag to false.
If the current bar's high exceeds the stored high or the low falls below the stored low, the broken flag is set to true.
If the current bar is within the stored high and low range, it is considered in-range.
The script then dynamically plots horizontal lines at the high and low prices of the parent bar until the inside bar is broken.
3. Visualization:
The inside bars are colored based on the insideCandlesColor.
Horizontal lines are drawn at the high and low prices of the parent bar within the inside bar.
Optional labels display the rounded values of the high and low prices.
4. Usage:
Apply the script to your chart.
Adjust the input parameters according to your preferences.
The indicator will highlight inside bars with colored bars and draw lines representing the high and low prices. Labels are optional.
5. Note:
Inside bars are bars where the entire price range is within the high and low of the previous bar.
The script uses historical bar information and visualizes the inside bars dynamically on the chart.
Back Week For BacktestIt is Backtest Calculator For Essential and Plus plan holders, the length of available intraday data is calculated as follows: from now to 6 weeks back multiplied by timeframe(in minutes), i.e. you can go 6 weeks back on the 1-minute chart, 12 weeks back on the 2-minute chart, 30 weeks back on the 5-minute chart, 90 weeks back on the 15-minute chart and so on. The higher timeframe is selected, the more intraday data is available.
This show creates a weekday label based on the data in the plans allowed by TradingView. This show creates a weekday label based on the data in the plans allowed by TradingView. How much data is available for Bar Replay? According to the article, we can replay 6 weeks backwards for a 1-minute chart. This indicator is a label that shows how far we can go back, consisting of multiplying each minute by 6 between 1 minute and 60 minutes.
1 minute => 6 week backtest
2 minutes => 12 week backtest
.....
15 minutes => 90 week backtest
...
59 minutes => 354 week backtest
ICT Handle CounterThe "Handle Counter" is a unique TradingView script designed for ease and effectiveness in tracking price movements. It's particularly useful for traders who follow ICT methodologies. Users manually input their trade entry price, and the script then dynamically calculates and displays the number of Handles, or price changes, in a clear box above the latest candle on the chart. This real-time updating feature provides traders with crucial, current data on price movement, aiding in informed decision-making and a better understanding of market dynamics.
The "Handle Counter" script operates in the following way:
User Input: It starts by allowing you to input your trade's entry price. This is the price level from which the script will measure price movement.
Handles Calculation: The script calculates "Handles," which represent the price difference from your entry point to the current market price. This is done using a mathematical formula that finds the absolute value of this difference.
Display Mechanism: The calculated Handles are then displayed in a box, which is positioned above the latest candle on your trading chart. This box updates in real-time, giving you an ongoing view of how many Handles (price changes) have occurred since your entry point.
This script is designed to be straightforward and easy to use, providing clear, real-time information.
How to use:
Add the Indicator.
Open the Menu by clicking on the 'Settings' icon.
Navigate to the 'Inputs' tab and enter your entry price.
Click 'OK.' The indicator should immediately place a box above the latest candle, showing the current handles.
Additional Settings
Change Color of the Box
Change Color of the Font
[F][IND] - Candle Range SizeDescription:
Understanding market volatility is paramount for making informed trading decisions, and the Candle Range Histogram Indicator is designed to provide traders with a visual representation of price volatility over time.
Key Features:
1. Histogram Display:
The indicator presents a histogram on your TradingView chart, offering a clear visualization of the range of each candle, calculated as the difference between the high and low prices.
2. Volatility Insight:
Easily identify periods of heightened or subdued volatility. Larger histograms indicate greater price ranges, suggesting increased volatility, while smaller histograms signify lower volatility.
3. Intraday Analysis:
Intraday traders can benefit from monitoring the Candle Range Histogram to gauge volatility patterns throughout the trading day. This information is valuable for setting realistic profit targets and adjusting risk management strategies.
4. Breakout Opportunities:
Recognize potential breakout opportunities by observing significant increases in candle range. Traders often associate expanded ranges with potential strong price movements.
5. Trend Confirmation:
Confirm the strength of trends by assessing consecutive candles with expanding or contracting ranges. This can aid trend-following traders in making more informed decisions.
It's important to note that while the histogram 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!
Candlestick Patterns [NAS Algo]Candlestick Patterns plots most commonly used chart patterns to help and understand the market structure.
Bullish Reversal Patterns:
Hammer:
Appearance: Small body near the high, long lower shadow.
Interpretation: Indicates potential bullish reversal after a downtrend.
Inverted Hammer:
Appearance: Small body near the low, long upper shadow.
Interpretation: Signals potential bullish reversal, especially when the preceding trend is bearish.
Three White Soldiers:
Appearance: Three consecutive long bullish candles with higher closes.
Interpretation: Suggests a strong reversal of a downtrend.
Bullish Harami:
Appearance: Small candle (body) within the range of the previous large bearish candle.
Interpretation: Implies potential bullish reversal.
Bearish Reversal Patterns:
Hanging Man:
Appearance: Small body near the high, long lower shadow.
Interpretation: Suggests potential bearish reversal after an uptrend.
Shooting Star:
Appearance: Small body near the low, long upper shadow.
Interpretation: Indicates potential bearish reversal, especially after an uptrend.
Three Black Crows:
Appearance: Three consecutive long bearish candles with lower closes.
Interpretation: Signals a strong reversal of an uptrend.
Bearish Harami:
Appearance: Small candle (body) within the range of the previous large bullish candle.
Interpretation: Implies potential bearish reversal.
Dark Cloud Cover:
Appearance: Bearish reversal pattern where a bullish candle is followed by a bearish candle that opens above the high of the previous candle and closes below its midpoint.
Continuation Patterns:
Rising Three Methods:
Appearance: Consists of a long bullish candle followed by three small bearish candles and another bullish candle.
Interpretation: Indicates the continuation of an uptrend.
Falling Three Methods:
Appearance: Consists of a long bearish candle followed by three small bullish candles and another bearish candle.
Interpretation: Suggests the continuation of a downtrend.
Gravestone Doji:
Appearance: Doji candle with a long upper shadow, little or no lower shadow, and an opening/closing price near the low.
Interpretation: Signals potential reversal, particularly in an uptrend.
Long-Legged Doji:
Appearance: Doji with long upper and lower shadows and a small real body.
Interpretation: Indicates indecision in the market and potential reversal.
Dragonfly Doji:
Appearance: Doji with a long lower shadow and little or no upper shadow.
Interpretation: Suggests potential reversal, especially in a downtrend.
FalconRed 3 Candlestick LevelsThis Pine Script indicator is designed to enhance price action analysis by identifying specific candle patterns that signal potential buying and selling levels. The analysis is based on the characteristics of the current candle and its two immediate predecessors.
For identifying buying levels, the script examines the wicks of the candles, highlighting areas where buying and selling struggle is evident. The indicator recognizes significant breaks above wick levels, especially when followed by a subsequent candle with a lower wick. This combination suggests that previous selling pressure has been challenged and overcome.
Buy breakout and retest levels are highlighted with green color, providing a clear visual indication of potential buying opportunities. The indicator draws horizontal lines that extend to the right, offering insights into the frequency of retests and the recurrence of similar patterns in specific price zones, thereby confirming and reinforcing the observed price action.
Similarly, the indicator scrutinizes the selling side, pinpointing breakdown and retest levels. These areas are highlighted with red color, aiding in the identification of potential selling opportunities.
This indicator serves as a valuable tool for analyzing price action levels and visualizing buying and selling areas. It can be effectively combined with other technical indicators to enhance confidence in trading decisions. Gain deeper insights into market dynamics and improve decision-making by integrating this candle pattern analysis indicator into your trading strategy.
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.
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.