ES S/R LevelsThis script plots support and resistance levels for /ES on your chart.
This script only works on the /ES symbol in Tradingview due to the string manipulation of the levels.
You can input support and resistance levels in the inputs.
The example format of S/R levels should be in the following form (comma-separated)
If the level is a single point, it will draw a line. If the level is a range, it will draw a box.
4260, 4267, 4275, 4283, 4289, 4297-4300, 4310-15, 4325-30
You can also add the keyword (major) in your S/R levels input which will add a (Major) label to the drawing
4260, 4267 (major), 4275, 4283, 4289, 4297-4300 (major), 4310-15, 4325-30
Точки разворота и уровни
Candle Pivot and Stop LossThe script plot upside and down side stop loss using pivot point and trure range.
The True Range, representing market volatility, is determined by finding the maximum value among the differences between the previous high-low, high-close, and low-close. The Downside Stop Loss is calculated by adding the True Range to the Pivot Point, while the Upside Stop Loss is calculated by subtracting the True Range from the Pivot Point.
These levels are plotted on the chart in blue (Pivot Point), red (Downside Stop Loss), and green (Upside Stop Loss), providing traders with essential reference points for their trading strategies.
The provided Pine Script calculates key trading levels for the current candle, including the Pivot Point, Downside Stop Loss, and Upside Stop Loss. The Pivot Point is computed as the average of the previous candle's high, low, and close prices.
Pivot Support & Resistance [DeltaAlgo]Pivot Support & Resistance Indicator - DeltaAlgo
Concept:
The "Pivot Support & Resistance" indicator is designed to help traders identify and visualize key support and resistance levels based on pivot points. It calculates and plots lines representing these levels on a price chart. This indicator's concept is rooted in the idea that pivot points can act as significant price reference points, which can be instrumental in making trading decisions.
Settings:
Pivot Period: Users can customize the period for calculating pivot points. This period determines how many bars are considered when calculating support and resistance levels.
Maximum Lines: The indicator allows traders to set a maximum number of support and resistance lines that will be displayed. When the maximum is reached, older lines are removed to keep the chart uncluttered.
Line Colors and Width: Users can choose the colors and width for both the support and resistance lines to tailor the indicator's appearance to their preferences.
Use Case:
The "Pivot Support & Resistance" indicator is beneficial for traders who employ pivot points in their technical analysis and trading strategies. It aids in identifying potential reversal and breakout levels, which can inform trading decisions. Traders can use this indicator to:
Identify key price levels: The indicator highlights significant support and resistance levels based on pivot points.
Plan entries and exits: Traders can incorporate these levels into their trading strategies to make more informed decisions about when to enter or exit trades.
Manage risk: Knowing where support and resistance levels are can help traders set stop-loss and take-profit orders more effectively.
This indicator simplifies the process of identifying and visualizing pivot-based support and resistance levels, making it a valuable tool for traders who rely on these levels in their technical analysis. It helps streamline the decision-making process and enhances overall trading effectiveness.
BB Support & ResistanceChoosing support and resistance can be time consuming and subjective. Personally, I don't want to spend too much time manually marking up charts. Credit to video I saw, forget the producer, that demonstrated how multi-time frame Bollinger Bands can act as support and resistance. I suggest reading up on Bollinger Bands (en.wikipedia.org) and how to trade them. This indicator draws support and resistance lines based on Bollinger Bands on three time frames. You can select 1 or all three time frames to display on your chart. Enjoy.
Trend Channels [Cryptoverse]This Indicator dynamically generates and displays on the chart Trend Channels with the pivot points it determines in each market and in each time period. The type of price used to determine the pivot points and create the channels is optional (e.g. close or high, low).
It will help you identify your entry points and stop zones and help you take positions, but it does not contain any buy and sell signals or trading strategies. It creates more successful channels on higher timeframes.
Usage Settings:
---------------------------------------------------
General Settings:
Pivot Period: This field determines how many candles before and after a candle will be counted as a peak or bottom in order to determine the peaks and troughs on the chart.
Trend Channels are created by calculating the Pivot points according to the period set here. (Default value: 6)
Top Pivot Source: Determines which value of the related candle the top pivot points will be based on.
Bottom Pivot Source: Determines which value of the related candle the lower pivot points will be based on.
(Default: closing)
Trend Channels Settings:
Show All Trend Lines: Allows you to show or hide trend channels.
Hide Old Trend Lines: If you activate it, it allows you to hide the channels created in the past other than the current trend channels.
Hide 0.5 Lines: Allows you to hide lines at the Fibonacci 0.5 level.
Hide 0.236 Lines: Allows to hide lines at Fibonacci 0.236 level.
Hide 0.786 Lines: Allows to hide lines at Fibonacci 0.786 level.
Helper Line Format: Allows the helper line that converts a trend line into a channel to be drawn based on percentage or price.
*Note:* When using large time intervals by choosing percentages, there may be situations where the helper lines do not provide full parallels.
Up Trend Color: Indicates the outer color of the Up Trend channel.
Down Trend Color: Indicates the outer color of the Descending Trend channel.
0.5 Trend Color: Specifies the color of the fibonacci 0.5 line drawn for all channels.
0.236 Trend Color: Specifies the color of the fibonacci 0.5 line drawn for all channels.
0.786 Trend Color: Sets the color of the fibonacci 0.5 line drawn for all channels.
Trend Channel Width: Determines the thickness of the channel lines.
Trend Channel Style: Determines the style of the channel lines.
Trend Lines [LuxAlgo]Our new "Trend Lines" indicator detects and highlights relevant trendlines on the user chart while keeping it free of as much clutter as possible.
The indicator is thought for real-time usage and includes several filters as well as the ability to estimate trendline angles.
🔶 USAGE
Trendlines can act as support/resistance, with a higher number of tests indicating a more significant support/resistance role.
A broken TrendLine can be indicative of a potential trend reversal. The script highlights breaks with a label.
Users can additionally filter trendlines, only showing trendlines whose angles fall within a user set range:
This allows for the removal of potential clutter from the chart but also helps keep steeper or more horizontal trendlines.
🔶 DETAILS
When a swing (pivot point) is found, a Trendline is drawn when certain conditions are fulfilled.
An essential condition is that a Bearish Trendline (red) always occurs on a lower high, while a Bullish Trendline (blue) occurs on a higher low.
Our implementation will first show an initial dotted-styled TrendLine on confirmation, after which a solid-styled secondary TrendLine will develop. The latter will be used for the real-time detection of breaks at that line:
Furthermore, the script allows you to add more conditions:
🔹 Length (Swings)
A swing develops when a high/low is the highest/lowest against x highs/lows on the left AND right of that bar. x can be set by "Length" in settings.
The following images clarify this. The script confirms a swing where the yellow flag is shown; the high (here visualized with a purple label) is the highest point against x bars left and right of that point.
At that moment, this swing is checked against the previous swing. If all conditions are fulfilled, an initial TrendLine is drawn on confirmation.
After that point, a secondary thicker solid line is seen which keeps progressing bar after bar, until:
• a new TrendLine is formed
• the TrendLine is broken
🔹 Breaks between Swings
Once there is confirmation that a TrendLine can be drawn, the script allows you to filter for breakthroughs on that line. This can be set with "Check breaks between"
Disabled : the initial TrendLine is allowed to be pierced:
Check breaks between point A - point B : no breaks are allowed between both Swing points:
Point A - Current bar : no breaks are allowed between the first Swing point and the point of confirmation ('current' bar):
🔹 TrendLine breaks
As mentioned, the secondary TrendLine (solid line) progresses bar after bar until a new TrendLine is formed or the TrendLine is broken. When a TrendLine is broken, the TrendLine stops progressing, but if there isn't a new TrendLine and price return back, the TrendLine will re-appear, potentially giving several signals when the TrendLine is broken again.
Minimal bars allow you to regulate the amount of signals when the TrendLine is broken.
-> The secondary TrendLine must be uninterrupted for at least x bars before a potential break can be considered.
The following example shows 1 signal against 3 by adjusting this setting from 2 to 5:
🔹 Angles
Angles should normally be calculated when the units of the X and Y axis are the same. However, on our charts, the unit of the X-axis is bar_index (bars), and on the Y-axis the unit is price (¥, €, £, $,...).
It is not easy to normalize and create reasonably valid angles. Often certain angle calculations can differ through price changes or volatility.
Our calculate_slope() function tries to make corresponding angles through all bars.
We do this by calculating the difference between the highest/lowest price values in a certain bar range. The bar range is our X-axis, and the price difference is our Y-axis.
Zooming in/out will not change the amount of bars or the price. Since it does change our view on the chart, and thereby how we see the angles, we have included a setting where you can personalize the ratio between X and Y-axis (Angles -> Ratio X-Y axis).
Settings: Angles - Ratio X-Y axis:
🔶 SETTINGS
🔹 Swings
Length: Lookback period for the detection of swing points.
🔹 Trendline validation
Check breaks between :
Disabled : the initial TrendLine is allowed to be pierced
Check breaks between point A - point B : no breaks are allowed between both Swing points
Point A - Current bar : no breaks are allowed between the first Swing point and the point of confirmation ('current' bar)
Source (breaks) : Source which invalidates TrendLine, default: close
🔹 TrendLine breaks
Minimal bars : The secondary TrendLine must be uninterrupted for at least x bars before a potential break can be considered.
🔹 Angles
Show : Toggle labels.
Ratio X-Y axis : Every user has his preferences regarding zoom, chart layout,...
If the shown angles are not according to your expectations, you can adjust this number.
Only TrendLine between : Only allow TrendLines between the minimum and maximum degrees. Set only the minimal and maximum values above 0.
XAU/USD Key levels by PB TradingWorldIndicator: XAU/USD Key Levels by PB TradingWorld
Version: 1.0
This is a Trading note for XAU/USD Traders. PB believes that Market Makers will try to protect the Key levels on chart, especially those around Swing High and Swing Low. Therefore, the indicator will show where the noticeable prices. It is displayed as follows:
Key Levels (Round Numbers):
H4 candle = 1 Trading Session
D1 candle = 1 Trading Day
W1 candle = 1 Trading Week
MN1 Canlde = 1 Trading Month
D2 Candle = The last 2 Trading Days
D3 Canlde = The last 3 Trading Days
FOREXCOM:XAUUSD
DMI Based Overbought/Oversold SignalsDescription:
The Directional Movement Index (DMI) with Bollinger Bands and Moving Averages is a comprehensive technical analysis tool designed to assist traders in identifying potential market trends and reversal points. This indicator combines the power of DMI, Bollinger Bands, and Moving Averages to offer insights into market strength, volatility, and potential entry/exit points.
Key Features:
- **DMI Analysis:** Utilizes the DMI to evaluate the strength of bullish and bearish trends, aiding in trend identification and momentum assessment.
- **Bollinger Bands:** Implements Bollinger Bands on both +DI and -DI, enabling traders to gauge price volatility and potential overbought/oversold conditions.
- **Moving Averages Confirmation:** Utilizes Moving Averages for both +DI and -DI, confirming trend signals and providing additional context for trade decisions.
- **Color-Coded Signals:** Displays red boxes for potential bearish signals and green boxes for potential bullish signals, enhancing visual clarity.
How to Use:
- **DMI Signals:** Red boxes indicate potential bearish signals, suggesting caution or potential short opportunities. Green boxes suggest potential bullish signals, indicating possible long opportunities.
- **Volatility Assessment:** Bollinger Bands expansion (price moving away from the center line) can indicate increased volatility, potentially signaling significant price movements.
- **Trend Confirmation:** Moving Averages confirm the strength of the trend. When +DI or -DI is above its respective upper Bollinger Band and the Moving Average is also above, the trend is considered strong.
Customization:
- **DI Length:** Adjust the length of the Directional Index (DI) to fine-tune the sensitivity of trend signals.
- **Bollinger Bands Length:** Modify the length of Bollinger Bands to control the indicator's responsiveness to price volatility.
- **Bollinger Bands Multiplier:** Adjust the multiplier to widen or narrow the Bollinger Bands, affecting the sensitivity of overbought/oversold signals.
- **Moving Average Length:** Define the length of Moving Averages for additional confirmation of trend signals.
Disclaimer:
Trading involves risk, and past performance is not indicative of future results. Always conduct thorough analysis and apply proper risk management techniques before making trading decisions.
Support Resistance with Touch HighlightDescription:
Support Resistance with Touch Highlight is a powerful technical analysis tool designed to help traders identify key support and resistance levels in the market. Unlike traditional support and resistance indicators, this indicator utilizes a unique approach by considering multiple periods simultaneously, enhancing its accuracy and reliability.
Key Features:
- **Multi-Period Analysis:** The indicator analyzes multiple user-defined periods, allowing for a comprehensive view of support and resistance levels.
- **Average Calculation:** It calculates the average of the highest and lowest prices within the specified periods, providing a balanced representation of support and resistance zones.
- **Dynamic Highlighting:** Bars touching the support or resistance lines are highlighted, aiding traders in spotting potential reversal points.
- **Alert System:** Set custom alerts to be notified when the price touches the support or resistance lines, enabling timely decision-making.
Why It's Superior:
1. **Accuracy Through Multiple Periods:** By considering multiple periods, the indicator provides a more accurate depiction of support and resistance levels, minimizing false signals.
2. **Dynamic Highlighting:** The indicator dynamically highlights relevant bars, making it easy for traders to identify significant price interactions with support and resistance zones.
3. **Customizable Alerts:** Tailor alerts to your trading strategy, ensuring you never miss crucial market movements.
How to Use:
- **Support Zones:** Prices often bounce off the support line. Look for buying opportunities when the price touches or approaches the green support line.
- **Resistance Zones:** Prices tend to reverse near the resistance line. Consider selling or tightening stops when the price touches or nears the red resistance line.
Disclaimer:
Trading involves risk, and past performance is not indicative of future results. Always perform your analysis and consider risk management strategies before making trading decisions.
Order Block v1Hello Traders :)
I am Only Fibonacci.
While coding this indicator, I examined many concepts and decided to blend them.
I took the method shared by most traders and added different perspectives and options.
First of all, you can choose how many order block regions you want to see on the screen.
Note: The levels displayed on the screen are the sum of bears and bulls.
You can also choose whichever you want to see, bearish or bullish.
You can specify the precision of pivot points.
Whether you want to select a zone with a body or a zone with a wick, you can see this in the settings.
You can extend the regions infinitely with the right extension option.
YD_Divergence_RSI+CMFThe ‘YD_Divergence_RSI+CMF’ indicator can find divergence using RSI (Relative Strength Index) and CMF (Chaikin Money Flow) indicators.
📌 Key functions
1. Search pivot high and pivot low points in a certain length of price.
2. Connect pivot high to pivot high , pivot low to pivot low , forming two standards for divergence in result.
The marker then plots only the higher high, lower low lines.
(higher low and lower high in prices are referred to hidden divergence, which are not considered in this indicator)
3. Compare the two standards with RSI and CMF indicators, send an alert if there is a divergence. As a result, the indicator will find four combination of divergence.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 Details
Developing the indicators, we put a lot of effort in making a customizable and user-friendly interface.
#1. Pivot Setting
Users can set the length to find the pivot high / pivot low in ‘Pivot Settings – Pivot Length.’
Increased pivot Length takes more candles to interpret the chart but reduce false signals since the it uses only the most certain pivot high / pivot low values. Obviously, decreased pivot length will act the opposite.
Users can choose whether to use ‘High/Low’ or ‘Close’ in ‘Pivot Reference’ to set the swing point of prices.
Users can also choose whether to display the pivot high / pivot low marker on the chart.
#2 RSI & CMF Settings
Users can adjust the length of RSI & CMF separately. (The default values are set to 14 and 20 each.)
#3 Label Setting
Users can adjust the text displayed on the chart label. (The default values is set to ‘Bullish / Bearish’, ‘RSI/CMF’, ‘Divergence’.)
Users can reduce the length of text label or simply turn the label off. Just click the ‘Bull/Bear’ or ‘None’ button. ‘Divergence’ works the same.
Users can decide whether to display the ‘Divergence Line and Label’, set custom settings for the label and line. (color, thickness, style, etc)
📌 Alert
Alert are provided as a combination of the chart's symbol and the set label text. For example,
‘BINANCE:BTCUSDT.P, Bullish RSI Divergence’
====================================================
"YD_Divergence_RSI+CMF" 지표 는 RSI와 CMF 지표를 이용해서 Divergence 를 찾아낼 수 있습니다.
📌 주요 기능
1. 정해진 가격 움직임 안에서 pivot high와 pivot low 포인트 를 찾아냅니다.
2. Pivot high로만 이어진 라인과, Pivot low로만 이어진 두 라인을 작도한 뒤 divergence의 기준으로 삼습니다.
이 지표에서는 normal divergence만 사용하기 때문에 차트에 higher high와 lower low만 표기 합니다.
(higher low와 lower high는 hidden divergence로 정의되며, 이 지표에서는 다루지 않습니다.
3. 두 기준선과 RSI, CMF 지표를 각각 비교하고, 결과적으로 4개의 조합을 구할 수 있습니다.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 세부 사항
지표를 개발하며 사용자들이 원하는 방향으로 지표를 설정할 수 있게 작업에 많은 공을 들였습니다. 굉장히 다양한 옵션을 선택할 수 있으며, 원하는 방식으로 지표를 사용할 수 있습니다.
#1 Pivot Setting
Pivot setting에서는 Pivot Length를 변경할 수 있습니다.
Pivot Length를 늘릴 경우, 보다 확실한 Swing High와 Swing Low만을 사용하게 되므로, False signal이 줄어들 수 있습니다. 하지만 Swing High/ Low를 판정하는 데에 더 긴 시간이 걸리게 되므로, Signal이 다소 늦게 발생하는 단점이 생기게 됩니다.
Pivot Length를 줄일 경우, 반대로 Swing High/Low의 판정이 더 빨리 일어나기 때문에, Signal을 거래에 이용하기는 좋을 수 있습니다. 다만, Swing High와 Low가 훨씬 더 잦은 빈도로 발생하기 때문에 False Signal을 줄 가능성이 높아집니다.
Pivot Reference에서는 가격의 Swing Point를 설정함에 있어, High/Low(고가/저가)를 이용할 지 Close (종가)를 이용할 지 선택할 수 있습니다.
Pivot High/Low Marker를 선택할 경우 Pivot High/ Low에 Marker가 찍히게 됩니다.
#2 RSI와 CMF Setting
RSI와 CMF Setting에서는 RSI와 CMF의 길이를 각각 설정할 수 있습니다. 기본값은 14와 20으로 설정되어 있습니다.
#3 Label Setting
Label Setting에서는 Label에 표시되는 글자를 선택할 수 있습니다.
기본값은 "Bullish / Bearish", "RSI/CMF", "Divergence"로 선택되어 있으며, 너무 길다고 느껴질 경우 "Bull/Bear" 혹은 "None"을 클릭하여 길이를 줄일 수 있습니다. 마찬가지로 Divergence의 경우도 생략이 가능합니다.
하단에서는 Divergence Line과 Label을 켜고 끌 수 있으며, 선의 색깔, 굵기, 종류, 그리고 Label의 색깔, 크기, 종류를 선택할 수 있습니다. Label의 Text 색 역시 변경이 가능합니다.
📌 얼러트
얼러트는 자신이 설정한 차트의 심볼과 Label의 문구의 조합으로 제공되며 예를 들면 다음과 같습니다.
"BINANCE:BTCUSDT.P, Bullish RSI Divergence"
Clone Pivots. Oct_2023Conceptually very simple.
The all time high or low of the chart (this indicator can be used with non-price sources as well), is used to divide the price pane continuously by 2.
For example the first pivot is (All Time High + All Time Low)/2.
From this point the price chart is further divided by 2.
The user can set the depth of division, and the lines for depth are only shown around the price.
About clone pivots.
- they can be used for ladder trading
- they are based on the range of the stock or instrument price
An alternative is available to use Fib divisions rather than simple divide by 2 method.
Labels may be placed with price or without. And depth of labelling is also an option.
Clone pivots at 50% tend to work very well with price structures - give it a try and see if it helps your trading!
Pine source uses UDTs, Methods, Arrays and Maps.
Breaks and Retests with Volatility Stop [HG]The "Breaks and Retests with Volatility Stop " indicator is a powerful tool designed to assist traders in identifying key support and resistance levels, breakouts, retests, and potential trend reversals. This indicator combines two essential components: support and resistance detection, and a Volatility Stop indicator for improved risk management. Below are the key features of this indicator:
**Support and Resistance Detection:**
- **Lookback Range:** Users can customize the lookback range, determining how many bars are considered when identifying support and resistance levels. This allows for flexibility in capturing short-term or longer-term levels.
- **Bars Since Breakout:** The indicator helps traders spot retests by allowing them to specify the number of bars that should occur since a breakout before considering it a potential retest.
- **Retest Detection Limiter:** Traders can set a limit on how many bars should be actively checked during a potential retest event. This feature prevents retest alerts from occurring too late, ensuring more accurate results.
- **Breakouts and Retests:** Users can choose to display or hide breakout and retest events separately, tailoring the indicator to their specific trading strategy.
- **Repainting Options:** The indicator offers three repainting options: "On," "Off: Candle Confirmation," and "Off: High & Low." This provides flexibility in choosing the repainting behavior that suits your trading style.
**Styling Options:**
- **Outline and Extend:** Traders can customize the appearance of support and resistance boxes by selecting outline styles and extension preferences.
- **Label Types and Sizes:** The indicator offers two label types, "Full" and "Simple," allowing traders to choose the level of detail displayed on the chart. Additionally, users can adjust the label size for better visibility.
- **Customizable Colors:** Support and resistance levels can be color-coded to match your preferred charting style, enhancing visibility and clarity.
- **Override Text Color:** If desired, traders can override the text color for labels, providing further customization of the indicator's appearance.
**Alerts and Notifications:**
- The indicator generates various alerts and notifications to keep traders informed about critical market events, including:
- New Support and Resistance Levels
- Support and Resistance Breakouts
- Support and Resistance Retests
- Potential Support and Resistance Retests
**Volatility Stop Indicator:**
- The "Breaks and Retests with Volatility Stop " indicator also includes a Volatility Stop component, which helps traders manage risk by indicating potential stop-loss levels based on market volatility. The Volatility Stop is color-coded to reflect the current trend direction, making it easy to identify potential trend reversals.
In summary, this TradingView indicator is a comprehensive tool designed to enhance your technical analysis and trading decisions. It provides support and resistance levels, breakout and retest alerts, and incorporates a Volatility Stop indicator for risk management, making it a valuable addition to any trader's toolkit.
Histogram-based price zonesThis indicator provides a new approach to creating price zones that can be used as support and resistance. The approach does not use pivot points or Fibonacci levels. Instead, it uses the frequency of occurence of local maxima and minima to determine zones of interest where price often changed direction.
The algorithm is as follows:
- Gather price data from the last Lookback trading periods
- Calculate rolling minima and rolling maxima along the price points with window size Window size
- Build a histogram from the rolling extrema which are binned into different zones. The number of bins and therefore the width of a zone can be adjusted with the parameter Zone width factor
- Select only the top fullest bins. The number of bins selected for plotting can be controlled with Zone multiplier
The result are a number of boxes that appear on the chart which mark levels of interest to watch for. You can combine multiple instances of this indicator on different settings to find zones that are very relevant.
Shown as an example is the Nasdaq 100 futures ( NQ1! ) on the D timeframe with levels built from the last 100 periods with default settings. The boxes are the only output of the indicator, no signals are created.
Swing based support and resistanceThis indicator provided here is for identifying swing-based support and resistance levels. It uses two swing lengths, which can be adjusted by the user, to identify swings in the price data. For each swing length, the script calculates the support level as the low of the swing if the trend is up, or the high of the swing if the trend is down. It then plots the support and resistance levels on the chart, along with buy and sell signals.
The buy and sell signals are generated by comparing the current closing price to the support and resistance levels. If the closing price is above the support level, the script plots a buy signal. If the closing price is below the level, the script plots a sell signal.
To use the script, you would first need to add it to your trading platform. Once it is added, you can configure the swing lengths and other parameters to suit your trading style. You can then apply the script to a chart and begin using the support and resistance levels and buy and sell signals to make trading decisions.
Points to be noted while using the indicator:
# The script is designed to be used on a daily chart. However, you can also use it on other timeframes, such as weekly or monthly charts.
# The swing lengths that you choose will depend on your trading style. If you are a swing trader, you may want to use longer swing lengths. If you are a day trader, you may want to use shorter swing lengths.
# Remember, the support and resistance levels generated by the script are not exact price points. They are rather zones where demand and supply can change. Therefore, you should always use other technical analysis tools and indicators to confirm your trading decisions.
# Overall, the script is a useful tool for identifying swing-based support and resistance levels. It can be used by traders of all experience levels to generate trading ideas and improve their trading performance.
To use the swing-based support and resistance indicator with respect to price, you can follow these steps:
=> Identify the support and resistance levels that have been generated by the indicator.
=> Look for price action that is taking place near these levels.
=> If the price is above the level, look for bullish reversals or continuations.
=> If the price is below the level, look for bearish reversals or continuations.
For Example,
=> Bullish reversal: The price is above the level and forms a bullish candlestick pattern, such as a bullish hammer or engulfing pattern.
=> Bullish continuation: The price is above the level and bounces off of the level.
=> Bearish reversal: The price is below the level and forms a bearish candlestick pattern, such as a bearish hammer or engulfing pattern.
=> Bearish continuation: The price is below the level and rejects the level.
$$ You can also use the indicator to identify potential trading entry and exit points. For example, you could enter a long trade when the price breaks above a resistance level and exit the trade when the price retraces to the resistance level. Or, you could enter a short trade when the price breaks below a support level and exit the trade when the price rallies to the support level.
This swing-based support and resistance indicator is just one tool that you can use to trade. You should always use other technical analysis tools and indicators, such as price action and trend analysis, to confirm your trading decisions.
Additionally:
=> Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
=> Use a stop loss order to limit your risk on each trade.
=> Consider using a position sizing strategy to manage your risk.
=> Do your own research and backtest any trading strategy before using it in a live trading environment.
Follow us for timely updates regarding future indicators and give it a like if you appreciate the indicator.
Sebastine Gap DetectorIntroducing Sebastine Gap Detector Indicator v5, a useful tool designed to enhance your trading experience by helping you identify and monitor gap openings. This indicator is a convenient addition to your trading toolkit, assisting you in staying vigilant and making informed decisions as gaps tend to get filled during the trading day.
Key Features:
1. Gap Detection: Sebastine Gap Detector automatically identifies and marks gap openings on your price chart. It visually highlights these price gaps, making them easily recognizable.
2. Horizontal Lines: Once a gap is detected, the indicator draws horizontal lines extending across the trading day. These lines serve as a constant reminder of the gap's existence, helping you stay focused on potential price movements.
3. Customizable Parameters: Tailor the indicator to your trading style with customizable parameters, including gap size tolerance and line style preferences. This flexibility allows you to adapt the tool to different trading strategies and asset classes.
How to Use:
1. Select the Indicator: Simply add the Gap Detection Indicator to your chart, and it will automatically start identifying gaps.
2. Customize Your Settings: Adjust the indicator settings to match your trading preferences. You can set the gap size tolerance and choose the line style that suits your chart.
3. Stay Informed: Keep an eye on the horizontal lines drawn by the indicator throughout the trading day. These lines serve as a visual aid, reminding you of the gap and helping you make informed trading decisions.
Gap openings in financial markets can present both opportunities and risks for traders. Gaps are often seen as areas where price tends to revisit, making them attractive for potential trading setups. However, they can also signify sudden market shifts, requiring cautious analysis.
Sebastine Gap Detector aims to empower traders by providing a clear visualization of gaps and their subsequent movements. By keeping you informed about gap openings and potential gap fills, it enhances your ability to make strategic trading decisions.
Volumetric Toolkit [LuxAlgo]The Volumetric Toolkit is a complete and comprehensive set of tools that display price action-related analysis methods from volume data.
A total of 4 features are included within the toolkit. Symbols that do not include volume data will not be supported by the script.
🔶 USAGE
The volumetric toolkit puts a heavy focus on price action, returning support/resistance levels, ranges, volume divergences...etc.
The main premise between each feature is that volume has a direct relationship with market participants level of interest over a specific symbol, and that this interest is not constant over time.
Each individual feature is detailed below.
🔹 Ranges Of Interest
The Ranges Of Interest construct a range from a surge of high liquidity in the market. This range is constructed from the price high and price low of the candle with the associated significant liquidity.
The returned extremities can be used as support and resistance, with breakouts often being accompanied by significant liquidity as well, suggesting potential trend continuations.
The length setting associated with this feature determines how sensitive the range detection algorithm is to volume, with higher values requiring more significant volume in order to display a new range.
🔹 Impulses
Impulses highlight times when volume makes a new higher high while the price makes a new higher high or lower low, suggesting increased market participation.
When this occurs when the price makes a new higher high the impulse is considered bullish (green), if the price makes a new lower low the impulse is bearish (red).
Impulses occurring within an established trend opposite to it (e.g a bearish impulse on an uptrend) might be indicative of reversals.
The length setting works similarly to the previously described ranges of interest, with higher values requiring longer-term volume higher high and price higher high/lower low, highlighting more significant impulse and potentially longer-term reversals.
🔹 Levels Of Interest
Levels of interest display price levels of significant trading activity, contrary to the range of interest only the closing price is taken into account, also volume peaks are used to detect significant trading activity.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
Users can determine the amount of most recent levels to display on the chart. These can be used as classical support/resistances.
🔹 Volume Divergence
We define volume divergence as a decreased market participation while a trend is still developing.
More precisely volume divergences are highlighted if volume makes a lower high while price is making a new higher high/lower low.
This can be indicative of a lack of further participation in the current trend, indicating a potential reversal.
Using higher length values will return longer-term divergences.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
🔶 SETTINGS
🔹 Ranges Of Interest
Show Ranges Of Interest: Display Ranges Of Interest.
Length: Ranges Of Interest sensitivity to volume.
🔹 Impulses
Show Impulses: Display Ranges Of Interest.
Length: Impulses sensitivity to volume.
🔹 Levels Of Interest
Show: Determine if Levels Of Interest are displayed, and how many from the most recent.
Length: Level detection sensitivity to volume.
🔹 Volume Divergences
Show Divergences: Determine if Volume Divergences are displayed.
Length: Period for the detection of price tops/bottoms and volume peaks.
Horizontal whole LinesThis indicator plot horizontal lines above and below the current price. they show the level of whole round number around the current price. these levels normal act as magnet where price movement tend to stop at them for a while. they can be used as support, resistance, take profit or stop limit.
Long-Only Opening Range Breakout (ORB) with Pivot PointsIntraday Trading Strategy: Long-Only Opening Range Breakout (ORB) with Pivot Points
Background:
Opening Range Breakout (ORB) is a popular long-only trading strategy that capitalizes on the early morning volatility in financial markets. It's based on the idea that the initial price movements during the first few minutes or hours of the trading day can set the tone for the rest of the session. The strategy involves identifying a price range within which the asset trades during the opening period and then taking long positions when the price breaks out to the upside of this range.
Pivot Points are a widely used technical indicator in trading. They represent potential support and resistance levels based on the previous day's price action. Pivot points are calculated using the previous day's high, low, and close prices and can help traders identify key price levels for making trading decisions.
How to Use the Script:
Initialization: This script is written in Pine Script, a domain-specific language for trading strategies on the TradingView platform. To use this script, you need to have access to TradingView.
Apply the Script: You can do this by adding it to your favorites, then selecting the script in the indicators list under favorites or by searching for it by name under community scripts.
Customize Settings: The script allows you to customize various settings through the TradingView interface. These settings include:
Opening Session: You can set the time frame for the opening session.
Max Trades per Day: Specify the maximum number of long trades allowed per trading day.
Initial Stop Loss Type: Choose between using a percentage-based stop loss or the previous candles low for stop loss calculations.
Stop Loss Percentage: If you select the percentage-based stop loss, specify the percentage of the entry price for the stop loss.
Backtesting Start and End Time: Set the time frame for backtesting the strategy.
Strategy Signals:
The script will display pivot points in blue (R1, R2, R3, R4, R5) and half-pivot points in gray (R0.5, R1.5, R2.5, R3.5, R4.5) on your chart.
The green line represents the opening range.
The script generates long (buy) signals based on specific conditions:
---The open price is below the opening range high (h).
---The current high price is above the opening range high.
---Pivot point R1 is above the opening range high.
---It's a long-only strategy designed to capture upside breakouts.
---It also respects the maximum number of long trades per day.
The script manages long positions, calculates stop losses, and adjusts long positions according to the defined rules.
Trailing Stop Mechanism
The script incorporates a dynamic trailing stop mechanism designed to protect and maximize profits for long positions. Here's how it works:
1. Initialization:
The script allows you to choose between two types of initial stop loss:
---Percentage-based: This option sets the initial stop loss as a percentage of the entry price.
---Previous day's low: This option sets the initial stop loss at the previous day's low.
2. Setting the Initial Stop Loss (`sl_long0`):
The initial stop loss (`sl_long0`) is calculated based on the chosen method:
---If "Percentage" is selected, it calculates the stop loss as a percentage of the entry price.
---If "Previous Low" is selected, it sets the stop loss at the previous day's low.
3. Dynamic Trailing Stop (`trail_long`):
The script then monitors price movements and uses a dynamic trailing stop mechanism (`trail_long`) to adjust the stop loss level for long positions.
If the current high price rises above certain pivot point levels, the trailing stop is adjusted upwards to lock in profits.
The trailing stop levels are calculated based on pivot points (`r1`, `r2`, `r3`, etc.) and half-pivot points (`r0.5`, `r1.5`, `r2.5`, etc.).
The script checks if the high price surpasses these levels and, if so, updates the trailing stop accordingly.
This dynamic trailing stop allows traders to secure profits while giving the position room to potentially capture additional gains.
4. Final Stop Loss (`sl_long`):
The script calculates the final stop loss level (`sl_long`) based on the following logic:
---If no position is open (`pos == 0`), the stop loss is set to zero, indicating there is no active stop loss.
---If a position is open (`pos == 1`), the script calculates the maximum of the initial stop loss (`sl_long0`) and the dynamic trailing stop (`trail_long`).
---This ensures that the stop loss is always set to the more conservative of the two values to protect profits.
5. Plotting the Stop Loss:
The script plots the stop loss level on the chart using the `plot` function.
It will only display the stop loss level if there is an open position (`pos == 1`) and it's not a new trading day (`not newday`).
The stop loss level is shown in red on the chart.
By combining an initial stop loss with a dynamic trailing stop based on pivot points and half-pivot points, the script aims to provide a comprehensive risk management mechanism for long positions. This allows traders to lock in profits as the price moves in their favor while maintaining a safeguard against adverse price movements.
End of Day (EOD) Exit:
The script includes an "End of Day" (EOD) exit mechanism to automatically close any open positions at the end of the trading day. This feature is designed to manage and control positions when the trading day comes to a close. Here's how it works:
1. Initialization:
At the beginning of each trading day, the script identifies a new trading day using the `is_newbar('D')` condition.
When a new trading day begins, the `newday` variable becomes `true`, indicating the start of a new trading session.
2. Plotting the "End of Day" Signal:
The script includes a plot on the chart to visually represent the "End of Day" signal. This is done using the `plot` function.
The plot is labeled "DayEnd" and is displayed as a comment on the chart. It signifies the EOD point.
3. EOD Exit Condition:
When the script detects that a new trading day has started (`newday == true`), it triggers the EOD exit condition.
At this point, the script proceeds to close all open positions that may have been active during the trading day.
4. Closing Open Positions:
The `strategy.close_all` function is used to close all open positions when the EOD exit condition is met.
This function ensures that any remaining long positions are exited, regardless of their current profit or loss.
The function also includes an `alert_message`, which can be customized to send an alert or notification when positions are closed at EOD.
Purpose of EOD Exit
The "End of Day" exit mechanism serves several essential purposes in the trading strategy:
Risk Management: It helps manage risk by ensuring that positions are not left open overnight when markets can experience increased volatility.
Capital Preservation: Closing positions at EOD can help preserve trading capital by avoiding potential adverse overnight price movements.
Rule-Based Exit: The EOD exit is rule-based and automatic, ensuring that it is consistently applied without emotions or manual intervention.
Scalability: It allows the strategy to be applied to various markets and timeframes where EOD exits may be appropriate.
By incorporating an EOD exit mechanism, the script provides a comprehensive approach to managing positions, taking profits, and minimizing risk as each trading day concludes. This can be especially important in volatile markets like cryptocurrencies, where overnight price swings can be significant.
Backtesting: The script includes a backtesting feature that allows you to test the strategy's performance over historical data. Set the start and end times for backtesting to see how the long-only strategy would have performed in the past.
Trade Execution: If you choose to use this script for live trading, make sure you understand the risks involved. It's essential to set up proper risk management, including position sizing and stop loss orders.
Monitoring: Monitor the long-only strategy's performance over time and be prepared to make adjustments as market conditions change.
Disclaimer: Trading carries a risk of capital loss. This script is provided for educational purposes and as a starting point for your own long-only strategy development. Always do your own research and consider seeking advice from a qualified financial professional before making trading decisions.
EQ LEVELS / EquilibriumWhat is it, How to use it, How to adjust the settings? What Calculates EQ Level?
What is it?
EQ, Equilibrium, In the money market, the term "equilibrium" or "equilibrium" refers to the point at which supply and demand are equalised. At this point, money supply and money demand meet each other and interest rates stabilise at a certain level. Equilibrium in the money market reflects the overall financial balance in the economy
According to What Calculates the EQ Level?
Normally, there may be many different alternatives to this, but I have printed the result on the screen by adding the highest and lowest levels of the prices and averaging them to think of a simple solution.
How to use it?
I have added 4 timeframes for both long-term investors and traders to use. If you want to use which timeframe, you can select the timeframe you want from the settings and see it on the chart. For those who want to trade, my suggestion is to follow the daily eq levels and of course look at the weekly eq levels. The weekly eq level can give you an idea of what kind of price range the next day may be in.
How to Make Settings?
When you first add the indicator to the chart, it draws a line. You change it to a circle or plus in the settings, it will look like the picture I shared. I also share open source code and can make changes in the code.
Nedir?, Nasıl Kullanılır?, Ayarları Nasıl Yapılır? EQ Seviyesini Neye Göre Hesaplar?
Nedir?:
EQ yani Equilibrium, Para piyasasında "denge" veya "equilibrium" terimi, arz ve talebin eşitlendiği noktayı ifade eder. Bu noktada, para arzı ile para talebi birbirini karşılar ve faiz oranları belirli bir seviyede dengelenir. Para piyasasındaki denge, ekonomideki genel finansal dengeyi yansıtır
EQ Seviyesini Neye Göre Hesaplar?
Normalde bunun farlı bir çok alternatifi olabilir ama ben biraz basit bir çözüm düşünmek için fiyatların en yüksek ve en düşük seviyelerini toplayarak ve ortalamasını alarak çıka sonucu ekrana yazdırdım.
Nasıl Kullanılır?
Hem uzun vadeli yatırım yapanlar hem de trade yapanların kullanabilmesi için 4 zaman dilimi ekledim. Hangi zaman dilimini kullanmak istiyorsanız ayarlardan istediniz zaman dilimini seçip onu grafikte görebilirsiniz. Trade yapmak isteyenler için önerim günlük eq seviyelerini takip etmeleri ve tabiki haftalık eq seviyelerine bakın. Haftalık eq seviyesi size bir sonra ki günün nasıl bir fiyat aralığı içerisinde olabileceği konusunda fikir verebilir.
Ayarları Nasıl Yapılır?
Grafiğe indikatörü ilk eklediğiniz de çizgi çizdirir. Siz ayarlardan onu daire veya artı olarak değiştirin benim paylaştığım resimde ki gibi görünecektir. Ayrıca açık kaynak kodlu paylaşıyorum isteyen kod içerisinde değişiklikler yapabilir.
🐰Born4TradeBorn4Trade : Here we collect the Intraday HIGH and LOW and it's divided by 2 and 3 parts, Which gives an edge to trade.
Divergences RefurbishedJust as "a butterfly can flap its wings over a flower in China and cause a hurricane in the Caribbean" (Edward Lorenz), small divergences in markets can signal big trading opportunities.
█Introduction
This is a script forked from LonesomeTheBlue's Divergence for Many Indicators v4.
It is a script that checks for divergence between price and many indicators.
In this version, I added more indicators and also added 40 symbols to check for divergences.
More info on the original script can be found here:
█ Improvements
The following improvements have been implemented over v4:
1. Added parameters to customize indicators.
2. Added new indicators:
- Stoch RSI
- Volume Oscillator
- PVT (Price Volume Trend)
- Ultimate Oscillator
- Fisher Transform
- Z-Score/T-Score
3. Now there is the possibility of using 2 external indicators.
4. New option to show tooltips inside labels.
This allows you to save space on the screen if you choose the option to only show the number of divergences or just the abbreviations.
5. New option to show additional text next to the indicator name.
This allows for grouping of indicators and symbols and better visualization, whether through emojis, for example.
6. Added 40 customizable symbols to check for divergences.
7. Option "show only the first letter" of the indicator replaced by: "show the abbreviation of the indicator".
Reason: the indicator abbreviation is more informative and easier to read.
8. Script converted to PineScript version 5.
█ CONCEPTS
Below I present a brief description of the available indicators.
1. Moving Average Convergence/Divergence (MACD):
Shows the difference between short-term and long-term exponential moving averages.
2. MACD Histogram:
Shows the difference between MACD and its signal line.
3. Relative Strength Index (RSI):
Measures the relative strength of recent price gains to recent price losses of an asset.
4. Stochastic Oscillator (Stoch):
Compares the current price of an asset to its price range over a specified time period.
5. Stoch RSI:
Stochastic of RSI.
6. Commodity Channel Index (CCI):
Measures the relationship between an asset's current price and its moving average.
7. Momentum: Shows the difference between the current price and the price a few periods ago.
Shows the difference between the current price and the price of a certain period in the past.
8. Chaikin Money Flow (CMF):
A variation of A/D that takes into account the daily price variation and weighs trading volume accordingly. Accumulation/Distribution (A/D) identifies buying and selling pressure by tracking the flow of money into and out of an asset based on volume patterns.
9. On-Balance Volume (OBV):
Identify divergences between trading volume and an asset's price.
Sum of trading volume when the price rises and subtracts volume when the price falls.
10. Money Flow Index (MFI):
Measures volume pressure in a range of 0 to 100.
Calculates the ratio of volume when the price goes up and when the price goes down.
11. Volume Oscillator (VO):
Identify divergences between trading volume and an asset's price. Ratio of change of volume, from a fast period in relation to a long period.
12. Price-Volume Trend (PVT):
Identify the strength of an asset's price trend based on its trading volume. Cumulative change in price with volume factor. The PVT calculation is similar to the OBV calculation, but it takes into account the percentage price change multiplied by the current volume, plus the previous PVT value.
13. Ultimate Oscillator (UO):
Combines three different time periods to help identify possible reversal points.
14. Fisher Transform (FT):
Normalize prices into a Gaussian normal distribution.
15. Z-Score/T-Score: Shows the difference between the current price and the price a few periods ago. I is a statistical measurement that indicates how many standard deviations a data point is from the mean of a data set.
When to use t-score instead of z-score? When the sample size is small (length < 30).
Here, the use of z-score or t-score is chosen automatically based on the length parameter.
█ What to look for
The operation is simple. The script checks for divergences between the price and the selected indicators.
Now with the possibility of using multiple symbols, it is possible to check divergences between different assets.
A well-described view on divergences can be found in this cheat sheet:
◈ Examples with SPY ETF versus indicators:
1. Regular bullish divergence with external indicator:
1. Regular bearish divergence with Fisher Transform:
1. Positive hidden divergence with Momentum indicator:
1. Negative hidden divergence with RSI:
◈ Examples with SPY ETF versus other symbols:
1. Regular bearish divergence with European Stoch Market:
2. Regular bearish divergence with DXY inverted:
3. Regular bullish divergence with Taiwan Dollar:
4. Regular bearish divergence with US10Y (10-Year US Treasury Note):
5. Regular bullish divergence with QQQ ETF (Nasdaq 100):
6. Regular bullish divergence with ARKK ETF (ARK Innovation):
7.Positive hidden divergence with RSP ETF (S&P 500 Equal Weight):
8. Negative hidden divergence with EWZ ETF (Brazil):
◈ Examples with BTCUSD versus other symbols:
1. Regular bearish divergence with BTCUSDLONGS from Bitfinex:
2. Regular bearish divergence with BLOK ETF (Amplify Transformational Data Sharing):
3. Negative hidden divergence with NATGAS (Natural Gas):
4. Positive hidden divergence with TOTALDEFI (Total DeFi Market Cap):
█ Conclusion
The symbols available to check divergences were chosen in such a way as to cover the main markets, in the most generic way possible.
You can adjust them according to your needs.
A trader in the American market, for example, could add more ETFs, American stocks, and sectoral indices, such as the XLF (Financial Select Sector SPDR Fund), the XLK (Technology Select Sector SPDR), etc.
On the other hand, a cryptocurrency trader could add more currency pairs and sector indicators, such as BTCUSDSHORTS (Bitfinex), USDT.D (Tether Dominance), etc.
If the chart becomes too cluttered, you can use the option to show only the number of divergences or only the indicator abbreviations.
Or even disable certain indicators and symbols, if they are not of interest to you.
I hope this script is useful.
Don't forget to support LonesomeTheBlue's work too.
BDL Range AlertAs soon as you call this indicator, it asks you to define the range. Select the bottom and the top of the range. Next, set your alarm. There are 3 alarm options:
1: Bottom of the range breakout
2: Top of the range breakout
3: Bottom or top of the range breakout
As soon as you close a candle outside the selected range, only then will the alarm be triggered.