Smart Money Concept + Strategy Backtesting Toolkit [Shah]This indicator, primarily designed for strategy backtest. It’s important to emphasize that the orders generated by this indicator are in the form of stop-limit orders .
For Long setup , When lower lows and lower highs form, after price moving up from the last higher high, a “change of character” occurs. Entry will takes place in the golden zone.
This the Long setup:
And this is the Long setup Example on chart:
For Short setup , When higher lows and higher highs form after the price moves down from the last higher low, a “change of character” occurs. Entry will take place within the golden zone.
This the Short setup:
And this is the Short setup Example on chart:
Key Features:
Date Period:
Users can customize the date period during which the strategy is tested, allowing for a more granular analysis of performance over specific timeframes.
DCA Entry:
Entry is based on Fibonacci level between the Lower Low and Higher High pivots for Long deals .
Entry is based on Fibonacci level between the Higher High and Lower Low pivots for Short deals .
Allowing a second entry with a specified position size
Entering at a different price based on a Percent or ATR change.
There is a feature that If the risk-to-reward ratio is below the specified input (rr), the trading deal wont initiate, and the signal alert wont be triggered.
Stop Loss:
Adjustable based on Fibonacci levels , Percent and ATR.
The percent and ATR is calculate from LL pivot point for Long and HH pivot point for short (not Entry price)’
Targets:
Adjustable based on Source, Fibonacci levels , Percent and ATR.
Source indicates the maximum (minimum) value between the open and close of the candle where the Higher High (Lower Low) pivot point was formed for Long (Short) deals.
Percent and ATR calculates from Entry 1 Price
There is a feature that closes the part of the position size at Target 1 based on a percentage, leaving the rest to close at Target 2, entry, exit price, or stop loss.
Plots:
The visual representation of the indicator includes the key plots:
Reset Deal Calculation Fibonacci Level
Alert Fire Fibonacci Level
Entry 1
Entry 2
Entry Average
Stop Loss
Target 1
Target 2
Labels:
Displays informative labels upon trade open and close, providing details about each transaction like gain and equity and etc.
Risk Management:
Allows setting initial capital, risk per trade, and commission for each transaction.
Score Table:
Provides statistical information for Regular deals (refers to deals that closed in Target price or Stop loss price) and Exited deals (representing deals that didn’t touch the stop loss or targets.):
Number of trades
Win rate
Profit factor
Average Risk to Reward ratio
Total Profit and Loss (PnL)
Commission paid
Live equity
It should note that Winrate calculated based on closed deals at target or stop loss. (Exited trades doesn’t into account in calculation of Winrate)
Exit Methods :
The goal is to offer users a diverse set of exits before the price touches the target or stop loss.
1. Pending Entry Time-out
cancel pending entry based on candle counting since alert fired. (before deal started)
2. Break Even
If Target 2 is reached, the stop loss automatically adjusts to the entry price.
3. Active Deal Reverse
If a deal (long or short position) is currently open, and the reverse signal is emitted, the script will close the existing deal.
4. Reverse Deal Exit
If a deal (long or short position) is currently open, and the reverse signal is emitted, the script will automatically close the existing deal.
5. Move Exit
With this method, if Entry 2 is triggered, the deal will be closed when the price touches the Entry price.
6. Candle Counting Exit
This exit type is based on the number of candles since the deal started.
7. Profit Zone Shield Exit
Once a deal enters profit, the Exit level moves to the entry level after reaching a Fibonacci level between TP1 and Entry 1.
Deep Backtesting Table:
It includes:
Time period of the backtest
Pair name and timeframe
Count the long and short trades
Win streak and loss streak
Total deal chances and missed chances
Count the deals goes directly from entry 1 to tp1 and entry 2 to tp1
Count the deals that touched entry 2 and entry 2 filled percent
Count the number of each exit type
Other statistics such as CAGR, Sharpe, Kurtosis, Skewness, and Max Drawdown.
Pivot points and levels
Market Structure AlgoThe "Market Structure Algo" (MS Algo) is a comprehensive tool developed by OmegaTools. This advanced indicator is designed to analyze the market's structure through a combination of pivot highs and lows, creating a nuanced understanding of potential market movements.
Core Functionality:
- Internal and External Market Structure (MS): The MS Algo differentiates between internal and external market structures by analyzing pivot points over different periods. This dual analysis allows for a deeper understanding of short-term and long-term market trends.
- Zone Distance and Visualization: The indicator introduces a novel approach to visualizing potential areas of interest or 'zones' around pivot points, adjustable through the 'Zone Distance' setting. This feature enhances the visual representation of zone created on the chart that can be used as a support and resistance area.
- Dynamic Signal Generation: Utilizing a comprehensive algorithm, the MS Algo identifies potential signals for entering and exiting trades based on the internal market structure. These signals are visually represented on the chart, aiding in decision-making. These signals are based on the acceptance and confirmed breakout or the refusal of the pivot points by the price.
Operational Mechanism:
- The MS Algo calculates pivot highs and lows over specified periods (input by the user) to determine the market's current structure. It then evaluates the market's position relative to these pivot points to assign a market structure score, which can range from bullish to bearish extremes.
- Signals for long and short positions, as well as exits, are generated based on the interaction between the close price and these pivot points.
- Additionally, the indicator plots zones around the moving average, adjusted for the ATR and the specified 'Zone Distance,' providing a visual guide to areas where the market might find support or resistance.
Usage Guidelines:
- To apply the MS Algo to your TradingView charts, adjust the 'Internal MS' and 'External MS' settings to align with your analysis preferences. The 'Zone Distance' input allows for customization of the zone visualization feature.
- The color-coded signals and zone fillings serve as guides to understanding the current market structure and potential areas of interest. These should be interpreted within the context of a broader trading strategy and risk management framework.
Understanding the Indicator's Originality:
The MS Algo stands out due to its unique blend of pivot analysis and zone visualization, providing traders with a detailed view of the market's structure that goes beyond traditional indicators. Its originality lies in the methodological integration of these components to offer a tool that enhances market analysis.
Responsible Use Disclaimer:
The financial markets are unpredictable, and the MS Algo is designed to serve as an analytical tool within a trader's arsenal, not a standalone solution for trading decisions. Traders should use this tool judiciously, alongside comprehensive market analysis and sound risk management practices. It's important to understand that the MS Algo does not guarantee trading success nor does it claim to predict specific price movements. Trading involves risks, including the potential loss of capital.
ATR Price Targets w/POC
ATR Price Targets with Point of Control (POC):
This script is designed to help traders identify key price target levels based on configurable multipliers of the the Average True Range (ATR) and the volume based Point of Control (POC). It is intended for intraday traders looking to capture significant price movements.
Features:
ATR Price Targets: The script calculates three levels of price targets above and below the first bar of the day, based on the ATR of the last 22 days (assuming 5-minute candles). These targets are adjustable through the settings, allowing traders to set their own ATR multipliers.
Point of Control (POC): The POC is determined as the price level of the highest volume bar since the start time, providing an indication of the most traded price within the specified period.
Customizable Start Time: Traders can set their desired start time for the calculation of price targets and POC, allowing for flexibility in aligning the indicator with their trading strategy.
Plot Lines: The ATR price targets are plotted as lines for easy visualization on the chart.
Usage:
The ATR price targets can be used as potential take-profit or stop-loss levels.
The POC can serve as a key level for assessing market sentiment and potential reversals.
Traders can adjust the ATR multipliers and start time based on their specific trading style and market conditions.
Settings:
ATR Price Targets 1, 2, 3: Adjust the multipliers for the ATR price targets. By default, these are set to 1*ATR for T1+/T1-, 3*ATR for T2+/T2- and ATR*6 for T3+/T3-. Adjust with caution as the price targets found in defaults have proven to be more accurate over intraday cycles for volatile stocks.
Start Hour & Start Minute: Set the starting hour and minute for the calculations. By default, these are set to the opening 5 minute intraday bar, but can also be set to the opening bar of pre-market hours.
TrippleMACDCryptocurrency Scalping Strategy for 1m Timeframe
Introduction:
Welcome to our cutting-edge cryptocurrency scalping strategy tailored specifically for the 1-minute timeframe. By combining three MACD indicators with different parameters and averaging them, along with applying RSI, we've developed a highly effective strategy for maximizing profits in the cryptocurrency market. This strategy is designed for automated trading through our bot, which executes trades using hooks. All trades are calculated for long positions only, ensuring optimal performance in a fast-paced market.
Key Components:
MACD (Moving Average Convergence Divergence):
We've utilized three MACD indicators with varying parameters to capture different aspects of market momentum.
Averaging these MACD indicators helps smooth out noise and provides a more reliable signal for trading decisions.
RSI (Relative Strength Index):
RSI serves as a complementary indicator, providing insights into the strength of bullish trends.
By incorporating RSI, we enhance the accuracy of our entry and exit points, ensuring timely execution of trades.
Strategy Overview:
Long Position Entries:
Initiate long positions when all three MACD indicators signal bullish momentum and the RSI confirms bullish strength.
This combination of indicators increases the probability of successful trades, allowing us to capitalize on uptrends effectively.
Utilizing Linear Regression:
Linear regression is employed to identify consolidation phases in the market.
Recognizing consolidation periods helps us avoid trading during choppy price action, ensuring optimal performance.
Suitability for Grid Trading Bots:
Our strategy is well-suited for grid trading bots due to frequent price fluctuations and opportunities for grid activation.
The strategy's design accounts for price breakthroughs, which are advantageous for grid trading strategies.
Benefits of the Strategy:
Consistent Performance Across Cryptocurrencies:
Through rigorous testing on various cryptocurrency futures contracts, our strategy has demonstrated favorable results across different coins.
Its adaptability makes it a versatile tool for traders seeking consistent profits in the cryptocurrency market.
Integration of Advanced Techniques:
By integrating multiple indicators and employing linear regression, our strategy leverages advanced techniques to enhance trading performance.
This strategic approach ensures a comprehensive analysis of market conditions, leading to well-informed trading decisions.
Conclusion:
Our cryptocurrency scalping strategy offers a sophisticated yet user-friendly approach to trading in the fast-paced environment of the 1-minute timeframe. With its emphasis on automation, accuracy, and adaptability, our strategy empowers traders to navigate the complexities of the cryptocurrency market with confidence. Whether you're a seasoned trader or a novice investor, our strategy provides a reliable framework for achieving consistent profits and maximizing returns on your investment.
Fourier Smoothed Hybrid Volume Spread AnalysisIndicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
MEANINGFUL DESCRIPTION:
The Fourier Smoothed Hybrid Volume Spread Analysis (FSHVSA) indicator is an innovative trading tool designed to fuse volume analysis with trend detection capabilities, offering traders a comprehensive view of market dynamics.
This indicator stands apart by integrating the principles of the Discrete Fourier Transform (DFT) and volume spread analysis, enhanced with a layer of Fourier smoothing to distill market noise and highlight trend directions with unprecedented clarity.
This smoothing process allows traders to discern the true underlying patterns in volume and price action, stripped of the distractions of short-term fluctuations and noise.
The core functionality of the FSHVSA revolves around the innovative combination of volume change analysis, spread determination (calculated from the open and close price difference), and the strategic use of the EMA (default 10) to fine-tune the analysis of spread by incorporating volume changes.
Trend direction is validated through a moving average (MA) of the histogram, which acts analogously to the Volume MA found in traditional volume indicators. This MA serves as a pivotal reference point, enabling traders to confidently engage with the market when the histogram's movement concurs with the trend direction, particularly when it crosses the Trend MA line, signalling optimal entry points.
It returns 0 when MA of the histogram and EMA of the Price Spread are not align.
HOW TO USE THE INDICATOR:
The FSHVSA plots a positive trend when a positive Volume smoothed Spread and EMA of Volume smoothed price is above 0, and a negative when negative Volume smoothed Spread and EMA of Volume smoothed price is below 0. When this conditions are not met it plots 0.
ORIGINALITY & USEFULNESS:
The FSHVSA is unique because it applies DFT for data smoothing, effectively filtering out the minor fluctuations and leaving traders with a clear picture of the market's true movements. The DFT's ability to break down market signals into constituent frequencies offers a granular view of market dynamics, highlighting the amplitude and phase of each frequency component. This, combined with the strategic application of Ehler's Universal Oscillator principles via a histogram, furnishes traders with a nuanced understanding of market volatility and noise levels, thereby facilitating more informed trading decisions.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is the meaning of price spread?
In finance, a spread refers to the difference between two prices, rates, or yields. One of the most common types is the bid-ask spread, which refers to the gap between the bid (from buyers) and the ask (from sellers) prices of a security or asset.
We are going to use Open-Close spread.
What is Volume spread analysis?
Volume spread analysis (VSA) is a method of technical analysis that compares the volume per candle, range spread, and closing price to determine price direction.
What does this mean?
We need to have a positive Volume Price Spread and a positive Moving average of Volume price spread for a positive trend. OR via versa a negative Volume Price Spread and a negative Moving average of Volume price spread for a negative trend.
What if we have a positive Volume Price Spread and a negative Moving average of Volume Price Spread ?
It results in a neutral, not trending price action.
Thus the indicator returns 0.
In the next Image you can see that trend is negative on 4h, neutral on 12h and neutral on 1D. That means trend is negative .
I am sorry, the chart is a bit messy. The idea is to use the indicator over more than 1 Timeframe.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Fourier and Euler approximation of a spread are taken from aprox library.
Key Features:
Noise Reduction leverages Euler's White noise capabilities for effective Volume smoothing, providing a cleaner and more accurate representation of market dynamics.
Choose between the innovative Double Discrete Fourier Transform (DTF32) and Regular Open & Close price series.
Mathematical equations presented in Pinescript:
Fourier of the real (x axis) discrete:
x_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
x_1 = array.get(x, 0) + array.get(x, 1) * math.cos( -2 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -4 * math.pi * _dir / 3 )
x_2 = array.get(x, 0) + array.get(x, 1) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -8 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -8 * math.pi * _dir / 3 )
Fourier of the imaginary (y axis) discrete:
y_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
y_1 = array.get(x, 0) + array.get(x, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -4 * math.pi * _dir / 3 )
y_2 = array.get(x, 0) + array.get(x, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -8 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -8 * math.pi * _dir / 3 )
Euler's Smooth with Discrete Furrier approximated Volume.
a = math.sqrt(2) * math.pi / _devided
b = math.cos(math.sqrt(2) * 180 / _devided)
c2 = 2 * math.pow(a, 2) * b
c3 = math.pow(a, 4)
c1 = 1 - 2 * math.pow(a, 2) * math.cos(b) + math.pow(a, 4)
filt := na(filt ) ? 0 : c1 * (w + nz(w )) / 2.0 + c2 * nz(filt ) + c3 * nz(filt )
Usecase:
First option:
Leverage the script to identify Bullish and Bearish trends, shown with green and red triangle.
Combine Different Timeframes to accurately determine market trend.
Second option:
Pull the data with API sockets to automate your trading journey.
plot(close, title="ClosePrice", display=display.status_line)
plot(open, title="OpenPrice", display=display.status_line)
plot(greencon ? 1 : redcon ? -1 : 0, title="position", display=display.status_line)
Use ClosePrice, OpenPrice and "position" titles to easily read and backtest your strategy utilising more than 1 Time Frame.
Indicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
Double Inside bar // Consecutive Inside Bar = Ak47Double Inside Bar Indicator Or Consecutive Inside Bar Highlighting
This custom Pine Script indicator is crafted for traders who utilize the traditional Inside Bar . A Double Inside Bar is a more specific pattern, involving two consecutive bars that are both contained within the range of a preceding "mother bar". This script not only detects these patterns but also emphasizes consecutive occurrences with a distinctive visual marker, aiding traders in identifying these setups amidst market fluctuations.
Features:
Double Inside Bar Detection: Identifies Double Inside Bars, where two successive bars are completely contained within the range of the preceding bar. This pattern indicates potential continuation or reversal with a stronger conviction.
Consecutive Pattern Highlighting: Highlights consecutive Double Inside Bar patterns, offering a clear visual indication for traders. This feature can be enabled or disabled as per the user's preference.
Bullish and Bearish Color Coding: Differentiates bullish and bearish setups by coloring the bars green or red, respectively, providing immediate insights into market sentiment.
Unique Visual Markers: Utilizes shapes to indicate bullish (triangle up) and bearish (triangle down) Double Inside Bars. For consecutive patterns, irrespective of being bullish or bearish, a yellow diamond is displayed below the bar to focus on the pattern's potential for signaling substantial market moves.
Trading Strategy:
Buy Signal: When a Double Inside Bar pattern is detected, a buy signal is generated. The entry point for the trade is set just above the high of the mother bar, with a stop loss placed just below the low of the mother bar, aiming to capture upward breakouts effectively.
Sell Signal: A sell signal is indicated by the detection of a Double Inside Bar pattern. The trade entry is positioned just below the low of the mother bar, with a stop loss above the high of the mother bar, targeting potential downward breakouts.
Why Use This Indicator?
Enhanced Decision Making: By providing clear visual cues for Double Inside Bar patterns and especially emphasizing consecutive occurrences, traders can make more informed and confident decisions.
Adaptability: The ability to toggle the highlighting for consecutive patterns allows traders to customize the indicator to match their trading style and the prevailing market conditions.
Simplicity and Effectiveness: This indicator streamlines the detection of significant Double Inside Bar patterns, helping traders to focus on their strategy and manage their time more efficiently.
Conclusion
This Double Inside Bar Indicator is a vital tool for traders looking to leverage the predictive power of Double Inside Bar patterns. With its unique consecutive highlighting feature and intuitive color coding, it enhances trading strategies by pinpointing potential breakout opportunities with higher precision.
Gaps Profile [vnhilton]Note: If you get an error preventing indicator from executing due to a loop running longer than >500ms, please lower the amount of boxes shown and/or increase the minimum gap % threshold.
OVERVIEW
The Gaps Profile (GP) simply shows the remaining gaps on the chart that have yet to be closed. Gaps are created where there's a distance between the current open and the previous close. Big gaps suggest change in sentiment and volatility causing prices to pull away thereby creating gaps. Gaps can be used as pivot areas where price may attempt to close the inefficiency entirely and/or serve as supply/demand zones.
(FEATURES)
- 3 to 499 remaining up/down gaps can be displayed on the chart (furthest gaps away from price are removed to make way for new gaps)
- Minimum gap % threshold
- Ability to highlight largest or newest up/down gap
- 4 GP color themes: Mono, Up/Down, Up/Down Largest Gradients, Up/Down Newest Gradients
- GP Type: Left, Right (how it is built - overlapping gaps plotted from left/right to right/left)
- GP offset from current bar
- Box border width
- Box border style for up/down: Dashed, Dotted, Solid
- Toggles to hide border/box with ease
Multi Pivot (S/R) & Previous Period (OHLC)█ Multi Pivot (Support/Resistance) & Previous Period (Open/High/Low/Close)
The previous script was deleted because of a copyrighted word.
From JayRogers description.
█ Multi Pivot Selector
Allows you to set up to 3 distinct sets of pivots, each with their own resolution settings and the ability to select how many support|resistance levels are shown.
The maximum amount of S|R levels available varies with different pivot types, the options available are:
Traditional
Fibonacci
Woodie
Classic
Copyrighted word
Camarilla
Fibonacci Extended
█ Previous Period Levels
A simple but highly customisable display of previous higher time-frame OHLC values.
Customised resolution input which excludes time frames lower than 1 hour while extending the common higher reference inputs.
This script is based on JayRogers script, I only added some features so please check out his script.
I added the timeframe in the labels, in order to make it easier to differentiate when using multiple pivot set.
As well as making it possible to change the lines color of each pivot set separately.
Labels can now be displayed on each side (right, left and both) or just disabled.
The type of pivot can be shown on the right side.
Lines extension can be disabled and lines width value can be changed.
I also added another one of his script to display OHLC levels, I made similar changes.
Converted to Pine Script v5.
Previous Period Levels - X Alerts
Pivotal - Multi Pivot Selector (which was also deleted because of the copyrighted word)
Prior Day LevelsA simple script that plots the previous day's high, midway, and low points. You can also set alerts with this script, allowing you the ability to not have to stare at the charts all day.
Fibonacci Archer Box [ChartPrime]Fibonacci Archer Box (ChartPrime) is a full featured Fibonacci box indicator that automatically plots based on pivot points. This indicator plots retracement levels, time lines, fan lines, and angles. Each one of these features are fully customizable with the ability to disable individual features. A unique aspect to this implementation is the ability to set targets based on retracement levels and time zones. This is set to 0.618 by default but you can pick any Fibonacci zone you like. Also included are markings that show you when Fibonacci levels are met or exceeded. These moments are plotted on the chart as colored dots that can be enabled or disabled. Along with these markings are crosses that can be shown when targets are hit. Both of these markings are colored with the related Fibonacci level colors.
When there is a zig-zag, this indicator will test to see if the zig-zag meets the criteria set up by the user before plotting a new Fibonacci box. You can pick from either higher highs or lower highs for bearish patterns, and higher lows or lower lows for bullish patterns. Both patterns can be set to use both when finding new boxes if you want to make it more sensitive. You also have the option to filter based on minimum and maximum size. If the box isn't within the selected size range, it will simply be ignored. The pivot levels can be configured to use either candle wicks or candle bodies. By default this is configured to use candle wick with a lookforward of 5 and lookback of 10.
We have included alerts for Fibonacci level crosses, Fibonacci time crosses, and target hits. All alerts are found in the add alert section built into tradingview to make alert creation as easy as possible. Each alert is labeled with their correct names to make navigation simple.
W.D. Gann, a renowned figure in the world of trading and market analysis, is often questioned for his use of Fibonacci levels in his strategies. However, evidence points to the fact that Gann did not directly employ Fibonacci price levels in his work. Instead, Gann had his unique approach, dividing price ranges into thirds, eighths, and other fractions, which, although somewhat aligning with Fibonacci levels, are not exact matches. It is clear that Gann was familiar with Fibonacci and the golden ratio, as references to them appear in his recommended reading list and some of his writings. Despite this awareness, Gann chose not to incorporate Fibonacci levels explicitly in his methodologies, preferring instead to use his divisions of price and time. Notably, Gann's emphasis on the 50% level—a marker not associated with Fibonacci numbers—further illustrates his departure from Fibonacci usage. This level, despite its popularity among some Fibonacci enthusiasts, does not stem from Fibonacci's sequence. This is why we opted to call this indicator Fibonacci Archer Box instead of a Gann Box as we didn't feel like it was appropriate.
In summary, the Fibonacci Archer Box (ChartPrime) is a tool that incorporates Fibonacci retracements and projections with an automated pivot point-based plotting system. It allows for customization across various features including retracement levels, timelines, fan lines, and angles, and integrates visual cues for level crosses and target hits. While it acknowledges the methodologies of W.D. Gann, it distinctively utilizes Fibonacci techniques, providing a straightforward tool for market analysis. We hope you enjoy using this indicator as much as we enjoyed making it!
Enjoy
True Median (With EMA)
This indicator was inspired by the concept of mean revision and is best to be used with that strategy in mind. True median takes the high and low within a determined length and finds the average between those two points and then plots an EMA for the median with an optional EMA for both the high and low.
HOW TO USE:
This indicator has a few uses it can be implemented with.
The first and most obvious is that it can act as an area of support and resistance within bigger and smaller time frames. Second, the median can act as an entry or exit point, as generally big movements will occur within the mediums of price points. EMA crossovers are also a way to use this indicator, if the median, high, or low cross over their EMA, that can act as a signal for price movement and continuation of a pre existing trend. Of course this is also a good indicator of volatility, as the wider the channels are between high and low the more volatile things are becoming.
I hope you enjoy and let me know how this indicator works for you!
Chirant Orderblocks and LiquidityIntroduction
Our Pivot-Based Order Block Indicator is a cutting-edge trading tool designed to offer traders an unparalleled edge in the markets. This unique indicator combines pivot-based order blocks, fair value gaps, exponential moving averages (EMAs), and vector candles into a cohesive strategy. Unlike traditional indicators, this tool leverages the synergistic effects of these components to identify high-probability trading setups.
How It Works
Pivot-Based Order Blocks: At the heart of our indicator are pivot-based order blocks. These are price levels or ranges that are significant due to past market activity. Our algorithm identifies these blocks based on historical pivot points, considering both the price's reaction to these levels and their recurrence over time. This method helps in pinpointing areas where institutional orders are likely to be placed.
Fair Value Gaps: Alongside, our indicator detects fair value gaps - regions where price has moved too swiftly, leaving a gap in the market's valuation. By identifying these gaps, the tool helps traders anticipate areas where price might return to fill the gap, offering strategic entry and exit points.
EMAs and Vector Candles: To refine our signals, the indicator utilizes a combination of exponential moving averages and vector candles. EMAs help in determining the market's trend direction, while vector candles offer insights into the momentum and strength of price movements. The integration of these elements enables our tool to filter out lower probability setups, focusing on those with higher chances of success.
Originality and Usefulness
Our Pivot-Based Order Block Indicator is not merely a combination of existing tools. It represents a novel approach to market analysis, integrating various components into a single, comprehensive trading strategy. The methodology behind combining pivot-based order blocks with fair value gaps and EMAs, supplemented by the unique use of vector candles, is proprietary and designed to offer original insights into market dynamics.
This tool is invaluable for traders looking to enhance their market analysis, providing a deeper understanding of price movements and potential reversal points. Whether for scalping, day trading, or swing trading, our indicator offers versatile applications, helping traders to navigate the complexities of various market conditions with greater confidence.
How to Use
To make the most of our Pivot-Based Order Block Indicator:
Setup: Apply the indicator to any chart or time frame, tailoring the EMA settings according to your trading style.
Interpretation: Look for confluences between pivot-based order blocks and fair value gaps as high-probability entry points. EMAs will guide you on the trend's direction, while vector candles highlight momentum strength.
Application: Use the indicator to identify potential reversal zones, entry, and exit points. Combine it with your risk management strategy to optimize your trading performance.
Conclusion
Our Pivot-Based Order Block Indicator is crafted for traders who demand depth, precision, and originality in their tools. It stands out by providing a multifaceted approach to market analysis, backed by a proprietary integration of critical trading concepts. This tool is not just an indicator; it's a comprehensive strategy designed to elevate your trading journey.
Pivots and SwingsThis indicator displays simple pivots of varying degrees and connects them into swings whilst displaying the information of each swing.
First order pivot highs are confirmed when the N number of bars each side of the bar in question have a lower high whilst a first order pivot low is confirmed when the N number of bars on each side of the bar in question have a higher low. In this script N is set to 2 as a default, so when the middle bar of a set of 5 bars has the highest high, then it is considered a first order pivot high and vice versa for lows.
Second order pivot highs are confirmed when a first order pivot is higher than the first order pivot points on either side of the pivot point in question. Second order pivot lows are confirmed when a first order pivot low is lower than the first order pivot lows either side of the pivot in question.
Third order pivots follow the same logic but consider the highest and lowest second order pivots
A quick note on how the bars are coloured basis trends. If price breaks through the last first order pivot high, the bars will be coloured in a (default) green sequence and will stay green until price moves back below the most recent first order pivot low, at which time it will revert to a (default) red sequence.
The information about the duration and magnitude of the swings are displayed in an effort to identify when a swing leg of an overall trend may be shortening which signifies a weakening trend, or lengthening to signify a trend that is gaining in strength.
I hope you find this indicator useful!
SheTrade [Filiwoman]The SheTrade indicator calculates pivot points based on the highest and lowest prices for a certain number of bars. These pivot points are then used to calculate support and resistance levels, which are displayed on the chart as horizontal lines. The indicator also includes an additional function to indicate reference points and support/resistance levels, which makes it easier to identify key levels in the market.
🔶 SETTINGS
To configure the SheTrade indicator in the user menu, I would recommend the following input parameters:
🔹Source: Set the closing price of the asset you want to analyze. This is the default value
🔹ML/TF 10 ST/TF 21: Set the value to 21. This means that the indicator will use the 21 most recent bars to calculate the support and resistance lines.
🔹Max points (3): Set the value to 3. This means that the indicator will consider the support or resistance line to be critical if it has been tested at least 3 times. You can adjust this value depending on your trade.
🔹Min points (1): Set the value to 1. This means that the indicator will consider the support or resistance line as the minimum critical level.
🔹Number of lines: set the value to 2. This means that the indicator will display a maximum of 2 lines on the chart. You can adjust this value depending on your trading strategy.
🔹Line direction: Set the value to "right". This means that the indicator will draw lines to the right of the current one
🔹Line thickness: set the value to 1. This is the default value for line thickness.
🔹Multiplier: Set the value to 2.7. This is the default value for the multiplier used to calculate the upper and lower limits.
🔹ATR: Set the value to 32. This is the default value for the average value.
These settings will provide a clear and concise view of the support and resistance levels of the asset you are analyzing, with highlighted critical levels and regression lines that will help identify trends and potential breakthroughs. You can adjust the parameters as needed according to your trading strategy and timeframe.
One of the unique features of the SheTrade indicator is the use of a core regression algorithm to calculate support and resistance levels. This algorithm takes into account the relative weight of each pivot point, with later pivot points being given more weight. This allows the indicator to adapt to changing market conditions and provide more accurate support and resistance levels.
In addition to the support and resistance levels, the SheTrade indicator also includes a Bollinger band-style envelope that can be used to determine overbought and oversold conditions in the market. This envelope is based on the specified multiplier of the Average True Range indicator (ATR) and can be configured according to user preferences.
In general, the SheTrade indicator is a powerful and flexible tool that can help traders identify key support and resistance levels in the market and make more informed trading decisions. The use of the core regression algorithm and configurable input parameters makes it a versatile and adaptable indicator that can be adapted to the needs of any trader.
INFINITY ALGO🆕Meet the updated version of our flagship indicator, now it's INFINITY ALGO!
🏃🏻 QUICK START
In very simple terms, our indicator generates complex trading signals on your chart (buy/sell), including Entry Point, Take Profit levels, Stop Loss level
To start, you need to add our indicator to your chart , choose a timeframe (we recommend 13min,15min and 4h but you can try any, these only have the best results) and set up notifications (how to do it told below) and that's it, you can work with it even without changing the settings!
Of course, to improve the accuracy of signals you will have to choose the optimal settings of the script for each trading pair and timeframe (you can find a guide below)
📊 SIGNALS
This script will generate complex trading recommendations, both Long and Short (signals); signals include:
- Entry Point:
Calculated based on pivot levels with confirmation by EMA/SMA (you can select this in the settings); also bullish/bearish cup is checked to confirm the entry.
Additionally, in the settings you can enable Heiken Ashi calculation mode (it shows much better on some trading pairs).
Why do we mashup these components and how they work together?
- The main indicator in our script is pivot levels, it is enabled by default and cannot be disabled. Auxiliary indicators (which you can switch on and off in the script settings) are EMA/SMA and Heiken Ashi. We have used pivot levels, which mark potential support and resistance zones based on previous price action. We have also used EMA/SMA that smooth out price fluctuations and show the direction of the trend. We have added an option to use Heiken Ashi that filters out noise and highlights the trend. We have also checked for bullish/bearish cup patterns, which are reversal patterns that indicate a change in momentum. By combining these indicators, we have created a more robust entry point that considers multiple factors such as price levels, trend, noise, and momentum.
- 6 Take Profit levels:
It is also possible to change in the settings (It is also possible to change the values for Short or Long positions separately), it will be fixed values in % (The default Take Profits for Long&Short are as follows: TP1-0.3%; TP2-1%; TP3-2%; TP4-3%; TP5-7.5%; TP6-16.5%)
- Stop Loss Level:
As with Take Profits, this is a fixed % value that you can customise to suit your risk management needs (It is also possible to change the values for Short or Long positions separately, by default is 4.5% for Long&Short positions)
*When trading on these signals, we strongly recommend that you exit the position in parts at each take profit or close your entire position at one particular take profit. Our script was designed specifically for exiting a position on take profits
⚙️ SETTINGS
Now let's talk about the settings of this script, which allow you to customise the signals quite a lot. In general, we recommend selecting the settings for each trading pair and timeframe separately, this will allow you to achieve better targets accuracy (the default settings are universal, you can trade with them without changing them if you want)
-> IMAGE <-
1. Period - minimum value of 2. Increasing this parameter will increase the accuracy of signals, but will reduce their number (accordingly, lowering the parameter will do the opposite). For the majority of trading pairs and timeframes the optimal period will be between 5 and 10 (the default value is 5).
2. Maximum Breakout length (in bars) - for most trading pairs you can set the value from 200 to 300 and it will be optimal. Below 200 is not recommended
3. T hreshold Rate % - this value also affects the accuracy and the number of signals - the higher this value is, the more often signals will be generated, but it can negatively affect the accuracy. The minimum value is 3, and the maximum value is 10. We recommend to try values in the range from 4 to 7 for most tickers
4. Minimum Number of tests - the number of level checks is required, we recommend to try 2, and only for some timeframes increase to 3
5. MA type & MA filter - The shorter the length of moving averages, the faster they react to trend changes, and show more local trends than global ones. If the length of MAs is longer, more global trends are shown. By default, the most optimal values are set.
By the way, you can ask us for a ready-made preset for any pair and we will be happy to help you!
📄 BACKTESTING
Now let's talk about how to properly test the settings and evaluate their effectiveness. Our script has a c ustom built-in backtester that shows statistics on the current trading pair and allows you to calculate the accuracy of each take profit target, as well as calculate values such as Gross profit/loss, net profit, and the ratio of initial deposit to profit. (you can enable/disable backtester "statistics" label in main settings)
In the main settings you can change the values for: initial deposit (Deposit $), trade size $ and leverage (by the way, it also affects the display of the label "Peak profit", which is calculated with this leverage)
-> IMAGE <-
Now let's look at the backtester - it shows detailed statistics for each Take Profit level, including: accuracy in % and number of trades; gross profit & loss; net profit in % and $ (based on selected settings); deposit to profit ratio in % and $.
Why did we choose such properties in the backtest for publication?
- Well, as the initial capital we took 5000$ and deposit 3% (150$) of the initial capital in each trade. For the fee was taken the value from the exchange Binance, which is 0.06% per trade (Taker + Maker, for a user without VIP on Binance and without taking into account additional fees such as funding, leverage fees, etc).
- Please also take a look at our inbuilt backtester ( IMAGE ) which counts the accuracy to each Take Profit. Also note that our inbuilt backtester does not take any fees into account. Pay attention to the last field "Deposit with Profit" it shows the value if you would close all positions at a certain target. For example, we can see that the most optimal is TP3 at these settings for this trading pair and timeframe, as the deposit to profit ratio will be +61.2%
- Also the script is more designed for swing and long term trading, so on most trading pairs you will be able to see statistics for 60-90 trades dataset
*disclaimer: please note that past results does not guarantee future performance! The accuracy of take profit targets in our backtester is calculated on past results, keep this in mind please
📥 NOTIFICATIONS
We have provided notifications that will deliver the latest signals to you in a convenient format in TradingView. The notification looks like this: It contains the entry point, Take Profits, Stop Loss, and a bit of advice on risk management. -> IMAGE <-
To set up notifications:
1. Select the script settings, trading pair and timeframe
2. Click "add alert on InfinityAlgo", then select "alert () function calls only" in the settings
-> IMAGE <-
3. That's it, now all that's left is to wait for a fresh alert
🔑 HOW TO GET ACCESS
We hope you will like this script :) We are always ready to help you with customisation, just let us know! To learn more about our scripts & get access - check out the “Author’s instructions” below 👇🏼
Support and Resistance ZoneSupport and Resistance Zone Indicator :
Introduction :
The purpose of this indicator is to identify the chart symbol's main supports and resistances. It displays these key zones, which are very important psychological points for traders. Since support and resistance are not very precise levels, the indicator displays them as zones.
Pivots :
Pivots are a key concept in identifying support and resistance. The indicator uses two types of pivot:
Pivot high : This is a high point that has not been reached by a user-defined number of candles on either the left and right of this candle. The " left pivot leg " is the number of candles before this pivot point that have not reached the realized high, and the " right pivot leg " is the number of candles after this pivot point that have not reached this high. If these two conditions are met, the pivot point is considered a turning point, and resistance is probably the cause.
Pivot low : This is a low point that has not been reached by a user-defined number of candles on either the left or right. The " left pivot leg " is the number of candles before this pivot point that have not reached the candle low, and the " right pivot leg " is the number of candles after this pivot point that have not reached this low. If these two conditions are met, the pivot point is considered a turning point, and support is probably the cause.
Support/Resistance area :
If a pivot point has been identified, the indicator considers it a resistance if it's a pivot high, or a support if it's a pivot low. To define the support or resistance zone, we'll use the ATR (Average True Range), an indicator that measures asset volatility. We'll take the ATR of the candle for which the pivot was spotted, and use it as the width of the support or resistance zone. Thus the upper line of support/resistance is at pivot+atr/2 and the lower line is at pivot-atr/2 . The greater the volatility, the larger the zone.
New Support/Resistance :
If a new pivot has been identified, but the level of this pivot lies between the lower line and the upper line of the previous support or resistance, the indicator considers this to be the same support or resistance as before. In this case, no new support or resistance is created. The pivot must be outside the area of the previous support or resistance to be validated.
Anticipated Support/Resistance :
This indicator also allows early detection of support or resistance. To do this, the value of the right pivot legs will be shortened in order to find these areas more quickly. The support or resistance will then be considered anticipated and may disappear at any time if the high/low is reached. On the other hand, if the high/low is not reached, and a number of candles equal to the " Right Pivot Legs" parameter has elapsed since the detection of this anticipated support/resistance, it will be considered validated and will integrate the other supports/resistances of the chart.
Extended supports/resistances :
For a more optimal view, the indicator allows the user to choose the number of last support or resistance levels to be extended to the last candle. This must be specified in the indicator parameters.
Parameters :
Pivot Legs : Determine the left and right legs of the pivot i.e the number of candle before and after the pivot that doesn’t reach pivot point. The pivot is validated only if this two conditions are verified.
Extend Last Supports : Number of supports to extend to the last bar
Extend Last Resistances : Number of resistances to extend to the last bar
Show Support/Resistance Anticipated : If yes, will find anticipated support and resistance
Right Pivot Legs for Anticipation : Determine the right legs of pivots to find faster a support or a resistance.
Conclusion :
This indicator plot support and resistance zones based on pivot. The width of support and resistance zones are calculated with ATR. Possibility to find anticipated support and resistance in order to have more timeliness informations.
Enjoy the indicator and don’t forget to take the trade ;)
Custom Swing Index [AstroHub]Custom Swing Index - Unleashing Precision in Trend Analysis
🌟 Overview:
The Custom Swing Index is a meticulously crafted tool that empowers traders with advanced insights into market dynamics, specifically focusing on identifying potential trend reversals. Developed by AstroHub, this indicator stands out for its unique combination of price-related calculations, ratios, and averages, providing a comprehensive and nuanced view of market sentiment.
📈 Key Components:
Price Calculation:
- Price Change: Captures the difference between the current and previous closing prices.
- High and Low Points: Analyzes the high and low points of each bar for crucial price movement data.
Ratios and Averages:
- Upper-Lower Shadow Ratio: Measures the relationship between the upper and lower shadows.
- Open-Close Ratio: Evaluates the ratio of opening to closing prices.
- Sum Price Changes: Sums up price changes over a specified period.
Differences and Shadows:
- Open-Close Difference: Considers the difference between opening and closing prices.
- Upper and Lower Shadow Ratios: Examines the proportions of upper and lower shadows.
Bar Size Metrics:
- Average Bar Size: Determines the average size of each bar.
- High-Low Difference: Measures the difference between the high and low points.
Swing Indicator Calculation:
- The Custom Swing Index is the result of combining these components, creating a dynamic metric that reflects potential trend reversals.
🚥 How to Use:
Understanding the Indicator:
- Bullish signals may be indicated when the swing index surpasses a defined threshold.
- Bearish signals may be indicated when the swing index falls below the negative threshold.
Visual Interpretation:
- Color-coded bars enhance visual interpretation, turning green for bullish conditions and red for bearish conditions.
Entry Points:
- Look for entry points where circle markings are present, indicating potential opportunities.
Alerts:
- Integrated alerts keep traders informed of significant swings, ensuring timely decision-making.
[Spinn] LevelsThis is one of the best and most useful indicators I have ever created. It plots support and resistance levels at pivot points. The purpose of this indicator is to save the trader’s time on drawing levels and automate this routine process.
Support and resistance levels are a cornerstone of trading. Every seasoned trader can plot them on a chart, underscoring their significance for making trading decisions—they're visible to all, indicating areas dense with orders on both sides.
Despite the plethora of level indicators available, many of which are free, I found none that were convenient and fulfilled their intended purpose. Here are the key features and advantages of this indicator, setting it apart from others and deemed critically important:
Only Key Levels *
The main challenge in creating a levels indicator is ensuring only significant, key levels are displayed, avoiding clutter. This indicator achieves this by selectively filtering important levels from the noise and visually distinguishing confirmed levels (solid lines for tested or price-near levels) from unconfirmed (dashed lines for less important ones).
Visible Chart Fragment Only
It displays levels for only the visible part of the chart, avoiding an overload of lines across the entire history.
False Breakouts
Lines persist until a level is breached. Minor false breakouts are ignored.
Target Timeframe
Occasionally, viewing levels from a higher timeframe is necessary. This indicator can do so, highlighting target timeframe levels with thicker lines. It allows viewing levels from both the current and target timeframes simultaneously or just the target timeframe.
By Bodies or By Shadows
The indicator can draw support and resistance levels by both candle bodies and shadows, accommodating strategies based on breaking or bouncing off levels.
Level Price Tags
To avoid searching for the price at which a level is drawn, price tags are immediately visible near all currently relevant levels, simplifying and speeding up routine work.
Alerts
Setting alerts for approaching a level is a key feature. Haven't grasped its awesomeness? Here's why it's a game-changer: Set alerts on your favorite coins for each working timeframe. When the price approaches a level, you'll get a signal. Just open the chart to assess the situation and make a trading decision. This way, you don't waste time flipping through charts, searching for trading setups. Focus on your tasks, and let the indicator signal trading opportunities.
Three types of alerts are available: approaching a support level, a resistance level, or any level.
* Important (key) levels are the levels where the price reverses, or stops and “stomps around” for some time. This indicates that these places are an area of interest for a major seller or buyer. This effect is enhanced since such levels are visible to all market players, which means that even more traders can make trading decisions in these zones.
Three additional features enhance usability:
ATR in the Status Line: The indicator's status line displays four numbers - average price movement in points and percentages for both the current and target timeframes, invaluable for deciding stop and take-profit sizes if you base them on ATR. It works on historical data too—just hover over the desired chart section. Don't forget to enable indicator values display in its status line (right-click the indicator name to access the menu).
Visualize ATR: You can display the average price movement as a dotted line - one ATR up and one down from the current price. This visually indicates how close the price is to a level — whether within its average movement range. If you've enabled levels display for the higher timeframe, the average movement for it is also shown.
You can enable the mode for viewing historical levels. In this mode, when a level appears close to the historical one, a new level will not be drawn, but the historical level will continue. Use this option with caution, as the script will "pull out" too many old levels.
If you're interested in testing how effective this indicator is, send me a private message for free trial access. I believe it's a "must-have" for both beginners and experienced traders.
----------
Это один из самых лучших и полезных индикаторов, которые я когда-либо создавал. Он строит уровни поддержки и сопротивления в точках разворота. Задача данного индикатора - сэкономить время трейдера на прорисовку уровней и автоматизировать этот рутинный процесс.
Уровни поддержки и сопротивления - это одна из основ трейдинга. Каждый опытный трейдер может нарисовать их на графике, и в этом и заключается их важность для принятия торговых решений - их все видят, и все знают, что в зоне этих уровней располагается много ордеров в обе стороны.
Существует огромное количество индикаторов уровней, многие из которых бесплатны. Однако я не нашел ни одного индикатора, который бы был удобен в работе и делал бы именно то, ради чего он и нужен. Вот ключевые особенности и преимущества данного индикатора, которые отличают его от других индикаторов уровней. Я считаю их критически важными:
Только ключевые уровни *
Одна из главных проблем при написании индикатора уровней - как сделать так, чтобы на графике былы отображены только важные, ключевые уровни, и не было ничего лишнего. Данный индикатор делает это двумя способами. Во-первых, он не перегружает график лишними линиями, алгоритм умеет отбирать важные и отсекать шум. А во-вторых, подтвержденные уровни (если был тест или если цена подходила близко к уровню) визуально видны - они рисуются сплошной линией. Неподтвержденные (а значит, менее важные) уровни рисуются пунктиром.
Только видимый фрагмент графика
Показаны уровни лишь для видимого участка графика, а не огромное число линий одновременно для всей истории графика
Ложные пробои
Линии рисуются до того момента, пока уровень не будет пробит. Если происходят небольшие ложные пробои, они игнорируются.
Целевой таймфрейм
Иногда возникает необходимость увидеть уровни со старшего таймфрейма. Индикатор умеет это делать, при этом уровни целевого таймфрейма выделяются более толстыми линиями. Причем вы можете видеть как одновременно уровни с двух таймфреймов - с текущего и целевого, так и только с целевого.
По телам и по теням
Индикатор умеет рисовать уровни поддержки и сопротивления как по теням, так и по телам свечей. То есть, вы сможете применять его как для стратегии работы на пробой уровня, так и для стратегии работы на отбой от уровня.
На какой цене стоит уровень
Чтобы не искать цену, на которой нарисован уровень, вы сразу можете видеть метки с ценами возле всех актуальных на данный момент уровней. Это простая, но очень полезная функция, которая сильно облегчает и ускоряет рутинную работу.
Оповещения
Индикатор позволяет расставить оповещения о приближении к уровню. Это одна из ключевых особенностей индикаторы. Вы еще не поняли, насколько это крутая фишка? Объясняю. Добавляете оповещения на ваших любимых монетах на каждом из рабочих таймфреймов. Когда цена приблизится к одному из уровней, вы получите сигнал об этом. Достаточно будет открыть график и оценить ситуацию, чтобы принять торговое решение. Таким образом, вам не надо тратить время на перебор графиков и проводить часы в поисках торговой ситуации. Занимайтесь своими делами, а сигнал о торговой ситуации вам подаст индикатор.
Для облегчения работы доступны три вида оповещений - цена приближается к уровню поддержки, цена приближается к уровню сопротивления, цена приближается к одному из уровней.
* Важными (ключевыми) уровнями являются уровни, где цена разворачивается, либо останавливается и «топчется» некоторое время. Это свидетельствует о том, что эти места являются зоной интереса крупного продавца или покупателя. Этот эффект усиливается, так как такие уровни видны всем игрокам рынка, а, значит, еще больше трейдеров могут принимать торговые решения в этих зонах.
Я добавил три полезные фишки для удобства работы.
ATR в статусной строке. В статусной строке индикатора отображаются 4 числа - средний ход цены пунктах и в процентах для текущего ТФ, и то же самое для целевого ТФ. Очень удобно для принятия решения о размерах тейка и стопа, если вы привязываете их к ATR. Работает и на истории - просто подведите мышку к нужному участку графика. Не забудьте включить показ значений индикатора в его статусной строке (клик правой кнопкой мышки на названии индикатора вызовет нужное меню).
Можно отобразить средний ход цены пунктирной линией - один ATR вверх от текущей цены, и один ATR вниз. Таким образом, вы визуально сможете определить, насколько близко мы подошли к уровню - находится ли цена от уровня в пределах ее среднего хода, или нет. Если вы включили опцию отображения уровней для старшего ТФ, то будет показан средний ход и для него.
Можно включить режим просмотра исторических уровней. В этом режиме при появлении уровня, близкого к историческому, новый уровень рисоваться не будет, а будет продолжаться исторический уровень. Используйте эту опцию с осторожностью, так как скрипт "вытащит" слишком много старых уровней.
Если вы хотите попробовать, насколько хорош данный индикатор, напишите мне личное сообщение - я предоставлю вам бесплатный тестовый доступ. Я же считаю, что он относится к категории «маст хев» - как для новичков, так и для опытных трейдеров.
Geometric Trend Angle [AstroHub]This script, "Geometric Trend Angle," is designed to identify trend reversals based on the geometric angle of the price chart. Here's a detailed explanation of its originality, functionality, and usage:
Originality and Usefulness:
The uniqueness of this script lies in its approach to trend reversal detection through the calculation of the geometric trend angle. Unlike traditional methods, this script combines the analysis of the angle of the price movement with specific conditions for identifying potential trend reversals.
How it Works:
Length and Trend Angle: The user sets the "Length" parameter, determining the period for calculating the trend angle. The script then computes the trend angle, representing the change in prices over the specified period.
Trend Reversal: The script identifies potential trend reversals when the trend angle changes from positive to negative, and the current closing price is higher than the previous closing price.
Green Reversal: Additionally, the script looks for instances where the trend angle changes from negative to positive, and the current closing price is lower than the previous closing price, indicating a potential reversal to the downside.
Graphical Representation: The script visually highlights the identified reversal points on the chart with labels ("Trend Reversal" and "Green Reversal") and draws a line from the reversal point for better visualization.
Alerts: Traders are alerted to potential trend reversals and green reversals, allowing for timely responses to changing market dynamics.
How to Use:
Apply the script to your TradingView chart.
Customize the "Length" parameter based on your preference and analysis.
Observe the colored candles and graphical elements to identify potential trend reversals.
Pay attention to alerts for timely notifications of reversal signals.
Conclusion:
The "Geometric Trend Angle" script provides a unique perspective on trend reversals, combining geometric angle analysis with specific conditions for improved accuracy. Traders can use it as part of their overall analysis to make informed decisions in the dynamic market environment.
MACD EMA/SMA Cross Alert
Title: MACD EMA/SMA Cross Alert
Description:
The "MACD EMA/SMA Cross Alert" is a comprehensive technical analysis tool designed for traders who seek to capitalize on trend reversals and momentum shifts in the market. This indicator combines the Moving Average Convergence Divergence (MACD) with Exponential Moving Averages (EMA) and a Simple Moving Average (SMA) to pinpoint significant trading opportunities.
Features:
- MACD Crossover Detection: Identifies when the MACD line crosses above or below the signal line, signaling potential buy or sell opportunities.
- EMA and SMA Configuration: Utilizes a 7-period EMA, 15-period EMA, and a 20-period SMA to assess the trend's strength and direction.
- Cross Alert Mechanism: Triggers an alert when the following conditions are met post a MACD line crossover:
- Both EMA7 and EMA15 are above the SMA20.
- A crossover occurs between EMA7 and EMA15 either in the form of a golden cross or a death cross.
Utility:
This indicator is especially useful for traders looking to enter or exit trades based on early signs of trend reversals or confirmations of ongoing trends. By integrating MACD crossovers with EMA and SMA positioning, it offers a robust framework for making informed trading decisions.
How to Use:
- Bullish Signal: A buy alert is generated when the MACD line crosses above the signal line followed by EMA7 and EMA15 crossing over each other while both are above SMA20.
- Bearish Signal: A sell alert is suggested when the MACD line crosses below the signal line followed by a negative crossover between EMA7 and EMA15 with both above SMA20.
Conclusion:
The "MACD EMA/SMA Cross Alert" indicator is a versatile tool for traders aiming to enhance their market analysis and improve their timing for entering and exiting trades. Its integration of MACD, EMA, and SMA provides a multi-layered approach to detecting key market movements, making it an essential addition to any trader's toolkit.
Local Highs & Lows ATC-LHAL [ATC]What does this indicator do?
This indicator plots the highest and lowest historical price for each candle for a specified time interval, so you can see for each candle which price was the historical ("local") maximum or minimum in the defined time interval. It helps you not to lose sight of previous highs and lows, even when working with short time frames.
In the example chart you can see the highest price for each candle, that have occurred during a defined time interval (adjustable in the indicator settings), here as an example during 1 day.
So, for example, during trading in a 5m chart, you can always see the highest and lowest price, that occurred e.g. some time ago.
Where is the benefit?
For trading, it can be a strategic advantage to know the last decisive high or low in a defined period of time.
If the time frame is very short, e.g. 5m as in the example chart shown, then the overall overview is often missing: It is often of interest to know at what price the last high was within the last day, for example. This indicator can therefore be configured by specifying a time interval so that this local high is always displayed. In the example chart, this high is shown as a plotted green line.
The same is true with the historical low point in a defined interval: This is shown in red in the example chart. As an example, one day was specified for the lookback period for both the local high and the local low.
How is the data for each candle calculated?
The indicator's script plots the highest or lowest price for each candle that occurred in the specified time period. The loopback periods can be defined separately for the high price and low price.
How is the indicator configured?
Inside of the settings of the indicator you can set the High Lookback Interval and the Low Lookback Interval easily, for example 1 day, or 30 minutes, just as you like.
This interval will be the lookback period, and the highest or lowest price that occurred during this interval will be plotted.
Why is this script special?
Unlike most other scripts, the time interval can be specified in seconds, minutes, hours or days and not by a number of candles. It is therefore independent of the time interval. It is no longer necessary to adjust the number of candles accordingly, when you switch the time frame.
Have fun!
HT: Intraday LevelsIndicator draws several most important intraday levels: last day RTH high/low, ETH high/low, Half Back, Day Close and current day RTH Day Open. These levels often act as support/resistance for intraday price movements. Also, they can help to assess day character and control of power.
Indicator can be used for ETH + RTH sessions.
Important notes:
• User must specify RTH session time, appropriate for his time zone and exchange
• Half-back is calculated as a middle line between RTH High and Low.
• Day Close is always equal to close of the last bar of the previous day
• RTH Day Open will be redrawn for the current day as soon as it is known (after RTH session opens and at least one bar gets confirmed).
Known issues:
• Day open will not be shown if there is no bar, clearly corresponding to RTH open time (e.g. if 4h timeframe is selected)
• For some ETH sessions it is not possible to determine session’s last bar (this is pine script limitation) until next day trading starts. This means that daily levels will be also update with only then.
Parameters:
Date – user can select date, for which levels will be plotted. Works only if “Use” check box is on. Otherwise, levels will be plotted for the last day. (“time” value doesn’t matter; unfortunately, there is no way to hide the input box)
RTH Open/Close time – it is important to specify time, appropriate for your time zone.
Time zone – your chart time zone (as UTC offset)
Visuals – controls visibility and colors
Script is published as an open source. It uses two libraries: Levels Lib and Functions Lib. First one demonstrates how to work with pine-script object model and arrays. You can also reuse it in your custom scripts where there is need to construct any support/resistance levels. The second library contains some useful functions for working with time and dates.
Disclaimer
This indicator should not be used as a standalone tool to make trading decisions but only in conjunction with other technical analysis methods.
Liquidity Grabs | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grabs indicator! This indicator can renders bubbles with different sizes at candles that have liquidity grabs, which happen when a liquidity areas (buyside / sellside liquidity) is swept. These candles often fill a lot of market orders that were sitting on the liquidity zone. You can check "How Does It Work" section for more information.
Features of the new Liquidity Grabs Indicator :
Renders Liquidity Grabs
Customizable Algorithm
Customizable Styles
Alerts
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, and planning your trades accordingly. This indicator renders liquidity grabs in an unique bubble style, the size of the bubble is calculated by the size of the wick that caused the liquidity grab. The indicator also lets you customize the pivot length and the wick-body ratio for liquidity grabs.
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a bubble is plotted. Using the wick length as a metric to measure liquidity is good because long wicks can translate to a large amount of buyers / sellers entering the market.
The bubble size is determined by the wick to body ratio of the candle.
⚙️SETTINGS
1. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.