Trading Toolkit (Michaël van de Poppe) [BigBeluga]Trading Toolkit is a comprehensive indicator inspired by the trading strategies of the renowned crypto influencer Michaël van de Poppe . This tool combines RSI divergences, correction zones, and advanced support/resistance levels to provide traders with a robust framework for analyzing market movements.
🔵 Key Features:
RSI Divergences on Chart:
Automatically identifies and plots RSI divergences (bullish and bearish) directly on the main price chart.
Green lines indicate bullish divergences, suggesting potential upward reversals.
Red lines indicate bearish divergences, signaling possible downward movements.
Correction Boxes:
Traders typically define a correction as a drop in value of 10% or more. This drop can happen over a few hours or a few days. Also, it can last for less than 24 hours or many months.
This indicator visualizes corrections with blue shaded boxes, triggered by a percentage decline defined in the settings.
The boxes highlight sharp price drops, helping traders identify significant market movements quickly.
Advanced Support and Resistance Levels:
Dynamically detects key support and resistance levels based on price pivots.
When the price is above a level, it plots a green shaded area from the cross point, marking support.
When the price drops below a level, it plots a red shaded area, highlighting resistance.
Dashed lines indicate weaker levels, while solid lines represent stronger, more reliable levels.
🔵 Usage:
Identify Divergences: Use plotted RSI divergences to detect potential market reversals and align them with price action.
Analyze Correction Zones: Utilize correction boxes to evaluate significant price declines and find potential buying opportunities during these corrections.
Leverage Support and Resistance Levels: Confirm breakouts, reversals, or consolidation zones with the color-coded areas.
Enhance Risk Management: Combine divergences and correction zones to set informed stop-loss or take-profit levels.
Trading Toolkit empowers traders with actionable insights into market trends, corrections, and support/resistance dynamics, making it an invaluable tool for crypto and forex markets.
Индикаторы и стратегии
Smart Money Concepts (Advanced)Inspired and initially based on LuxAlgo's Smart Money Concepts Indicator I created a library lib_smc that started to convert every function and return objects. This allowed certain customizations like tracking the current fill level of FVGs or tracking the creation of Order Blocks, by monitoring consecutive bars against the current trend.
This indicator is provided as is, based on, but probably not always be up to date with my lib_smc that I am using for my projects.
WARNING: This indicator shows EXPERIMENTAL Order Blocks that are tracked LIVE. Unlike usual Order Blocks these are not just based on the last confirmed Swing Point (formed 50 bars before) but on consecutive candles opposing an unconfirmed trend. Blocks are confirmed by price movements relative to the unconfirmed block and unconfirmed swing points. This means that some Order Blocks will appear on pullbacks, as well as reversals.
Features
Swing Points (HH / LH / HL / LL), indicating support / resistance zones price might reject off of or want to push through
Market Structure (BOS / ChoCh), indicates confirmation for a continued / changing trend
live Order Blocks (OB), see warning above.
Fair Value Gaps (FVG), optional from higher timeframes
Equal Highs / Lows (EQH/EQL), indicates strong support / resistance zones, especially when the bars forming it have long wicks toward that zone
using my lib_no_delay all moving averages are working from bar 0, so it can be used on charts with limited bars
Prime Bands [ChartPrime]The Prime Standard Deviation Bands indicator uses custom-calculated bands based on highest and lowest price values over specific period to analyze price volatility and trend direction. Traders can set the bands to 1, 2, or 3 standard deviations from a central base, providing a dynamic view of price behavior in relation to volatility. The indicator also includes color-coded trend signals, standard deviation labels, and mean reversion signals, offering insights into trend strength and potential reversal points.
⯁ KEY FEATURES AND HOW TO USE
⯌ Standard Deviation Bands :
The indicator plots upper and lower bands based on standard deviation settings (1, 2, or 3 SDs) from a central base, allowing traders to visualize volatility and price extremes. These bands can be used to identify overbought and oversold conditions, as well as potential trend reversals.
Example of 3-standard-deviation bands around price:
⯌ Dynamic Trend Indicator :
The midline of the bands changes color based on trend direction. If the midline is rising, it turns green, indicating an uptrend. When the midline is falling, it turns orange, suggesting a downtrend. This color coding provides a quick visual reference to the current trend.
Trend color examples for rising and falling midlines:
⯌ Standard Deviation Labels :
At the end of the bands, the indicator displays labels with price levels for each standard deviation level (+3, 0, -3, etc.), helping traders quickly reference where price is relative to its statistical boundaries.
Price labels at each standard deviation level on the chart:
⯌ Mean Reversion Signals :
When price moves beyond the upper or lower bands and then reverts back inside, the indicator plots mean reversion signals with diamond icons. These signals indicate potential reversal points where the price may return to the mean after extreme moves.
Example of mean reversion signals near bands:
⯌ Standard Deviation Scale on Chart :
A visual scale on the right side of the chart shows the current price position in relation to the bands, expressed in standard deviations. This scale provides an at-a-glance view of how far price has deviated from the mean, helping traders assess risk and volatility.
⯁ USER INPUTS
Length : Sets the number of bars used in the calculation of the bands.
Standard Deviation Level : Allows selection of 1, 2, or 3 standard deviations for upper and lower bands.
Colors : Customize colors for the uptrend and downtrend midline indicators.
⯁ CONCLUSION
The Prime Standard Deviation Bands indicator provides a comprehensive view of price volatility and trend direction. Its customizable bands, trend coloring, and mean reversion signals allow traders to effectively gauge price behavior, identify extreme conditions, and make informed trading decisions based on statistical boundaries.
Samet-AL SAT SinyaL// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Samce
//@version=5
indicator(title='Samet-AL SAT SinyaL', shorttitle='Samet-AL SAT SinyaL', overlay=true)
pSARbeginningValue = input.int(2, minval=0, maxval=10, title='PSAR başlangıç değeri')
pSARendValue = input.int(2, minval=1, maxval=10, title='PSAR bitiş değeri')
pSARmultiplierValue = input.int(2, minval=0, maxval=10, title=' PSAR katsayi değeri')
pSARbeginningMethod = pSARbeginningValue * .01
pSARendMethod = pSARendValue * .10
pSARmultiplierMethod = pSARmultiplierValue * .01
pSAR_UpValue = ta.sar(pSARbeginningMethod, pSARmultiplierMethod, pSARendMethod)
pSAR_DownValue = ta.sar(pSARbeginningMethod, pSARmultiplierMethod, pSARendMethod)
pSAR_UpColor = close >= pSAR_DownValue ? color.green : na
pSAR_DownColor = close <= pSAR_UpValue ? color.red : na
plot(pSAR_UpValue ? pSAR_UpValue : na, style=plot.style_columns, color=pSAR_UpColor, linewidth=0, title='PSAR yukarı', transp=85)
plot(pSAR_DownValue ? pSAR_DownValue : na, style=plot.style_columns, color=pSAR_DownColor, linewidth=1, title='PSAR aşağı', transp=85)
//Zone Identification - This is once again ATR based method to identify the zone based on its strength
zoneSource = input(hl2, title='Kaynak')
src = input(hl2, title='Kaynak')
zoneLength = input(defval=10, title='ATR Alan Uzunluğu')
zoneMultiplier = input.float(defval=3.0, step=0.1, title='ATR Alan Katsayısı')
zoneATR = ta.atr(zoneLength)
downZone = zoneSource + zoneMultiplier * zoneATR
downZoneNew = nz(downZone , downZone)
downZone := close < downZoneNew ? math.min(downZone, downZoneNew) : downZone
upZone = zoneSource - zoneMultiplier * zoneATR
upZoneNew = nz(upZone , upZone)
upZone := close > upZoneNew ? math.max(upZone, upZoneNew) : upZone
zoneDecider = 1
zoneDecider := nz(zoneDecider , zoneDecider)
zoneDecider := zoneDecider == -1 and close > downZoneNew ? 1 : zoneDecider == 1 and close < upZoneNew ? -1 : zoneDecider
redZone = zoneDecider == -1 and zoneDecider == 1
greenZone = zoneDecider == 1 and zoneDecider == -1
downZoneColor = zoneDecider == -1 ? color.red : color.gray
upZoneColor = zoneDecider == 1 ? color.green : color.gray
downZonePlot = plot(zoneDecider == 1 ? na : downZone, style=plot.style_linebr, linewidth=2, color=color.new(color.red, 0), title='Düşüş Bölgesi')
plotshape(redZone ? downZone : na, location=location.absolute, style=shape.diamond, size=size.tiny, color=color.new(color.red, 0), title='Düşüş Bölgesi Başlangıçı')
plotshape(redZone ? downZone : na, location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.new(color.red, 0), textcolor=color.new(color.white, 0), title='SAT', text='Samet/ SAT(short)')
upZonePlot = plot(zoneDecider == 1 ? upZone : na, style=plot.style_linebr, linewidth=2, color=color.new(color.green, 0), title='Yükseliş Bölgesi')
plotshape(greenZone ? upZone : na, location=location.absolute, style=shape.diamond, size=size.tiny, color=color.new(color.green, 0), title='Yükseliş Bölgesi Başlangıçı')
plotshape(greenZone ? upZone : na, location=location.belowbar, style=shape.labelup, size=size.tiny, color=color.new(color.green, 0), textcolor=color.new(color.white, 0), title='AL', text='Samet/ AL(long)')
aldigimfiyat = str.tostring(ta.valuewhen(greenZone, zoneSource, 0))
sattigimfiyat = str.tostring(ta.valuewhen(redZone, zoneSource, 0))
Buy = greenZone
Sell = redZone
if greenZone == 1
l = label.new(bar_index, na)
label.set_text(l, aldigimfiyat)
label.set_color(l, color.green)
label.set_yloc(l, yloc.belowbar)
label.set_style(l, label.style_label_up)
if redZone == 1
l = label.new(bar_index, na)
label.set_text(l, sattigimfiyat)
label.set_color(l, color.red)
label.set_yloc(l, yloc.abovebar)
label.set_style(l, label.style_label_down)
neutralZonePlot = plot(ohlc4, style=plot.style_circles, linewidth=0, title='Alan Stili')
fill(neutralZonePlot, downZonePlot, color=downZoneColor, title='Düşüş Rengi', transp=90)
fill(neutralZonePlot, upZonePlot, color=upZoneColor, title='Yükseliş Rengi', transp=90)
emaLowerPeriod = input.int(9, minval=1, title='EMA Düşük Periyotlar için')
emaLower = ta.ema(input(close), emaLowerPeriod)
plot(emaLower, color=color.new(color.fuchsia, 0), linewidth=2, title='EMA Düşük Periyot')
showEMA2 = input(false, title='EMA - Orta Periyotlar için')
emaMediumPeriod = input.int(27, minval=1, title='EMA Orta Periyotlar için')
emaMedium = ta.ema(input(close), emaMediumPeriod)
plot(showEMA2 and emaMedium ? emaMedium : na, color=color.new(color.aqua, 0), linewidth=2, title='EMA Orta Periyotlar için')
hmaLongPeriod = input.int(200, minval=1, title='HMA Uzun Periyotlar için')
hmaLong = ta.hma(input(close), hmaLongPeriod)
plot(hmaLong, color=color.new(color.gray, 0), linewidth=2, title='HMA Uzun Periyotlar için')
isCloseAbove = close > emaLower and close > hmaLong
isCloseBelow = close < emaLower and close < hmaLong
isCloseBetween = close > emaLower and close < hmaLong or close < emaLower and close > hmaLong
isNeutral = close > pSAR_DownValue and isCloseBelow or close < pSAR_DownValue and isCloseAbove
barcolor(isNeutral or isCloseBetween ? color.yellow : isCloseBelow ? color.red : isCloseAbove ? color.green : color.black)
position = input(500)
h = ta.highest(position)
info_label_off = input(50, title='Bilgilendirme paneli gösterilsin mi?')
info_label_size = input.string(size.normal, options= , title='Info panel label size')
info_panel_x = timenow + math.round(ta.change(time) * 10)
info_panel_y = h
info_current_close = ' SON KAPANIŞ : ' + str.tostring(close)
disp_panels1 = input(true, title='ALIŞ BİLGİLENDİRME PANELİ İSTİYORMUSUNUZ?')
disp_panels2 = input(true, title='SATIŞ BİLGİLENDİRME PANELİ İSTİYORMUSUNUZ?')
Long = '-=-=-ALIŞ DETAY-=-=- '
Short = '-=-=-SATIŞ DETAY-=-=- '
pp1 = ' Aldıktan sonra geçen BAR : ' + str.tostring(ta.barssince(Buy), '##.##')
pp2 = ' Sattıktan sonra geçen BAR : ' + str.tostring(ta.barssince(Sell), '##.##')
Buyprice = ' Satın aldığımız fiyat : ' + str.tostring(ta.valuewhen(Buy, src, 0), '##.##') + ''
ProfitLong = ' KAR : ' + '(' + str.tostring(100 * ((src - ta.valuewhen(Buy, src, 0)) / ta.valuewhen(Buy, src, 0)), '##.##') + '%' + ')'
Sellprice = ' Satın aldığımız fiyat : ' + str.tostring(ta.valuewhen(Sell, src, 0), '##.##') + ''
ProfitShort = ' KAR : ' + '(' + str.tostring(100 * ((ta.valuewhen(Sell, src, 0) - src) / ta.valuewhen(Sell, src, 0)), '##.##') + '%' + ')'
info_textlongbuy = Long + info_current_close + pp1 + Buyprice + ProfitLong
info_textlongsell = Short + info_current_close + pp2 + Sellprice + ProfitShort
info_panellongbuy = zoneDecider == 1 and disp_panels1 ? label.new(x=info_panel_x, y=info_panel_y, text=info_textlongbuy, xloc=xloc.bar_time, yloc=yloc.price, color=color.green, style=label.style_label_up, textcolor=color.black, size=info_label_size) : na
info_panellongsell = zoneDecider == -1 and disp_panels2 ? label.new(x=info_panel_x, y=info_panel_y, text=info_textlongsell, xloc=xloc.bar_time, yloc=yloc.price, color=color.red, style=label.style_label_up, textcolor=color.black, size=info_label_size) : na
label.delete(info_panellongbuy )
label.delete(info_panellongsell )
PreannTrendI created this indicator for beginners who are still confused about how to enter the market. The rule is simple, that is, when a buy or sell signal appears, buy or sell at that time and place a stop loss at the 55 EMA. The recommended Take Profit is 1:1 between the Entry Distance and Stop Loss. An example can be seen in the chart. If you have any difficulties, you can consult my email. Thank you very much God bless.
✉ email@preann.id
Breakout off ConsolidationA comprehensive breakout detection indicator that identifies high-probability trading opportunities when price breaks out of tight consolidation patterns.
The script combines volume analysis, price action, and momentum to filter out low-quality setups.
The optional performance table tracks breakout outcomes based on MACD crossovers to provide a rough estimate of setup quality for the specific instrument. While past performance doesn't guarantee future results, these setups aim to provide favorable risk/reward opportunities when properly selected.
Key features:
Smart consolidation detection that differentiates between tight, okay, and loose consolidation patterns
Volume-based confirmation using multiple metrics including volume multiples and volume spikes
Special "Golden Candle" breakouts (🥇) highlighting exceptional setups with ideal volume and price characteristics (from deep backtests)
Risk management features with automatic stop loss placement based on consolidation structure
Momentum Confirmation
The weekly time-frame typically provides the highest quality setups due to stronger institutional volume patterns and clearer consolidation structures.
This indicator can be used with Pine Script™ Screener to scan for breakout opportunities across your watchlists.
Note: This script was inspired by my learnings as a member of the FinancialWisdom group. Special thanks to Gareth, the head of the group. Search for FinancialWisdom on youtube, great material.
Nen Star Harmonic Pattern [TradingFinder] NenStar Reversal Auto🔵 Introduction
The Nen-Star Harmonic Pattern is an advanced reversal pattern in technical analysis, designed to identify market trend changes and predict key price reversal points. This pattern is defined by a combination of Fibonacci ratios and critical concepts such as Potential Reversal Zones (PRZ), market structure, and corrective waves.
The key points of this pattern include X, A, B, C, and D, and it appears in both bullish and bearish forms. In its bullish form, the pattern resembles the letter M, while in its bearish form, it takes the shape of W. The critical Fibonacci ratios for this pattern are 0.382 to 0.786 for the XA wave, 1.13 to 1.414 for the AB wave, and 1.272 to 2.618 for the BC wave.
The Nen-Star Harmonic Pattern is one of the most precise tools for identifying market reversals and executing reversal trades. Traders can use it to pinpoint optimal entry and exit points and benefit from high risk-to-reward ratios.
By emphasizing Fibonacci retracement levels, XABCD waves, the formation of bullish and bearish patterns, and precise trade entry points, this pattern has become a practical tool in advanced technical analysis.
Bullish Nen-Star Pattern :
Bearish Nen-Star Pattern :
🔵 How to Use
The Nen-Star Harmonic Pattern indicator allows traders to automatically identify the bullish and bearish structures of this pattern and locate optimal entry and exit points. By accurately analyzing Fibonacci ratios and determining points X, A, B, C, and D, the indicator highlights Potential Reversal Zones (PRZ) on the chart. Traders can rely on the generated signals to manage their trades with greater precision.
🟣 Bullish Nen-Star Pattern
The bullish Nen-Star pattern begins with a price increase from point X to point A, followed by a retracement to point B, which lies between 0.382 and 0.786 of the XA wave.
After this retracement, the price moves to point C, located between 1.13 and 1.414 of the AB wave. The final movement is a price decline to point D, which is between 1.272 and 2.618 of the BC wave and 1.13 to 1.272 of the XA wave.
Point D : Serves as the key Potential Reversal Zone (PRZ).
Entry : A buy trade is initiated at point D, signaling the end of the corrective movement and the beginning of a price increase.
Price Targets :
61.8% retracement of the CD wave
Point A
Point C
1.272 and 1.618 extensions of the CD wave if resistance at point C is broken
Stop Loss : Placed slightly below point D.
🟣 Bearish Nen-Star Pattern
The bearish Nen-Star pattern starts with a price decrease from point X to point A, followed by a retracement to point B, which lies between 0.382 and 0.786 of the XA wave.
After this retracement, the price moves to point C, located between 1.13 and 1.414 of the AB wave. The final movement is a price increase to point D, which is between 1.272 and 2.618 of the BC wave and 1.13 to 1.272 of the XA wave.
Point D : Serves as the key Potential Reversal Zone (PRZ).
Entry : A sell trade is initiated at point D, signaling the end of the corrective movement and the beginning of a price decline.
Price Targets :
61.8% retracement of the CD wave
Point A
Point C
1.272 and 1.618 extensions of the CD wave if support at point C is broken
Stop Loss : Placed slightly above point D.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The Nen-Star Harmonic Pattern is a highly effective analytical tool in global financial markets, playing a crucial role in identifying reversal points and market trend changes. By leveraging Fibonacci principles and price structure, this pattern enables precise analysis across various assets, including stocks, cryptocurrencies, forex, and commodities.
Traders operating in global markets can use this pattern to identify high risk-to-reward trading opportunities. Its clear entry and exit points, defined Potential Reversal Zones (PRZ), and accurate price targets make it an excellent tool for risk management and profitability enhancement.
In the global context, the Nen-Star pattern is widely used by professional analysts in both advanced and emerging markets due to its versatility in analyzing long-term and short-term charts. Beyond trend prediction, it enhances trading strategies and optimizes investment decisions.
Combining this pattern with complementary tools such as volume analysis, technical indicators, and macroeconomic conditions can provide traders with deeper market insights, helping them capitalize on global opportunities.
Smart Money Breakouts [iskess 01-02 11:05]This is an big update to the excellent Smart Money Breakout Script published in Oct 2023 by ChartPrime who, to my knowledge, was the original author.
FULL CREDIT GOES TO CHARTPRIME FOR THIS ORIGINAL WORK.
Per the moderator's rules, you will find below a meaningful, detailed self-contained description that does not rely on delegation to the open source code or links to other content. You will find in the description details on what the script does, how it does that, how to use it, and how it is original.
The "Smart Money Breakouts" indicator is designed to identify breakouts based on changes in character (CHOCH) or breaks of structure (BOS) patterns, facilitating automated trading with user-defined Take Profit (TP) level.
The indicator incorporates essential elements such as volume analysis and a data table to assist traders in optimizing their strategies.
🔸Breakout Detection:
The indicator scans price movements for "Change in Character" (CHOCH) and "Break of Structure" (BOS) patterns, signaling potential breakout opportunities in the market.
🔸User-Defined TP/SL :
Traders can customize the Take Profit (TP) and Stop Loss (SL) through the indicator settings, with these levels dynamically calculated based on the Average True Range (ATR). This allows for precise risk management and profit targets that adapt to market volatility. Traders can also select the lookback period for the TP/SL calculations.
🔸Volume Analysis and Trade Direction Specific Analysis:
The indicator includes a volume checker that provides valuable insights into the strength of the breakout, taking into account trade direction.
🔸If the volume label is red and the trade is long, it suggests a higher likelihood of hitting the Stop Loss (SL).
🔸If the volume label is green and the trade is long, it indicates a higher probability of hitting the Take Profit (TP).
🔸For short trades, a red volume label suggests a higher likelihood of hitting TP, while a green label suggests a higher likelihood of hitting SL.
🔸A yellow volume label suggests that the volume is inconclusive, neither favoring bullish nor bearish movements.
🔸Data Table:
The indicator features a data table that keeps track of the number of winning and losing trades for specific timeframes or configurations. It also shows the percentage of profits vs losses, and the overall profit/loss for the selected lookback period.
This table serves as a valuable tool for traders to analyze performance and discover optimal settings and timeframes.
The "Smart Money Breakouts" indicator provides traders with a comprehensive solution for breakout trading, combining technical analysis of changes in character and breaks of structure, volume insights, and performance tracking while dynamically adjusting TP and SL levels based on market volatility through the ATR.
This version of the script is a "significant improvement" from Chart Prime's original work in the following ways:
- A selectable range of candles for the profit/loss calculations to look back on.
- An updated table that includes the percentage of wins/losses, and and overall P&L during the selected lookback range.
- The user can now select only Long trades, Short trades, or both.
- The percentage gain/loss is now indicated for every trade on the chart.
- The user can now select a different multiplier for Stop Loss or Take Profit thresholds.
[blackcat] L2 Waveband Trading█ OVERVIEW
The Waveband Trading script calculates trading signals based on a modified Relative Strength Index (RSI)-like system combined with specific price action criteria. It plots two lines representing different smoothed RSI-like indicators and marks potential buying opportunities labeled as "S" for stronger trends and "B" for weaker but still favorable ones.
█ LOGICAL FRAMEWORK
The script begins by defining the waveband_trading_signals function which computes RSI-like metrics and determines buy signals under certain conditions. The main sections include input parameter definitions, function calls, data processing within the function, and plot commands for visual representation. Data flows from historical OHLCV data to various technical computations like EMAs and SMAs before being evaluated against user-defined thresholds to generate trade signals.
█ CUSTOM FUNCTIONS
Waveband Trading Signals:
• Purpose: Computes waveband trading signals using a customized version of the RSI indicator.
• Parameters:
— overboughtLevel: Threshold level indicating market overbought condition.
— oversoldLevel: Threshold level indicating market oversold condition.
— strongHoldLevel: Strong hold condition threshold between neutral and overbought states.
— moderateHoldLevel: Moderate hold condition threshold below strong hold level.
• [b>Returns: A tuple containing:
— k: Smoothed RSI-like metric.
— d: Further smoothed version of 'k'.
— buySignalStrong: Boolean indicating a strong trend buy signal.
— buySignalWeak: Boolean indicating a weak but promising buy signal.
█ KEY POINTS AND TECHNIQUES
• Utilizes EMA and SMA functions to smooth out price variations effectively.
• Employs crossover logic between fast ('k') and slow ('d') indicators to identify entry points.
• Incorporates volume checks ensuring increasing interest in trades aligns with upwards momentum.
• Leverages predefined threshold levels allowing flexibility to adapt to varying market conditions.
• Uses the new labeling feature ( label.new ) introduced in Pine Script v5 for marking significant chart events visually.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
Potential enhancements could involve incorporating additional filters such as MACD crossovers or Fibonacci retracement levels alongside optimizing current conditions via backtesting. This technique might also prove useful in other strategies requiring robust confirmation methods beyond simple price action; alternatively, adapting it into a more automated form for execution on exchanges offering API access. Understanding key functionalities like relative strength assessment, smoothed averaging techniques, and conditional buy/sell rules enriches one’s toolkit when developing complex trading algorithms tailored specifically toward personal investment philosophies.
RSI Convergence DivergenceRSI based oscillator inspired by the MACD.
Indicator that consists of two RSI calibrated at different lengths to take advantage of their convergence, divergence, overall direction, overall strength and several other metrics to extract signals from the price action.
This indicator includes:
- Fast RSI
- Slow RSI
- Signal line to identify convergence/divergence
- Simple moving average applied to the average of the two RSI
- DEMA applied to the average of the two RSI
- An average moving average of the SMA and DEMA
Some of the applications of this indicator:
- Simple convergence/divergence signaled by the moving average going above or below zero.
- Crossover between SMA and DEMA
- Combination of convergence/divergence and one of the 3 MAs reaching overbought or oversold threshold
- Average moving average going above or below 50
The combinations of different conditions are countless and limited only by the imagination of the user.
The visualization inputs, besides allowing to choose the candle coloring, give the user the ability to keep the chart clean and only see the signals he is interested into.
Zero Lag Trend Signals with Heikin Ashi (MTF) [AlgoAlpha]Zero Lag Trend Signals is combined with Heikin Ashi (MTF)
SPOILERSIGNALS with Dynamic TP[Brendan]How to Use the "Spoiler Signals with Dynamic TP" Indicator
The "Spoiler Signals with Dynamic TP" indicator helps traders identify buy and sell signals based on support and resistance levels, with dynamically adjusted take profit (TP) points.
Key Features
Buy and Sell Signals:
Buy: Labeled when a resistance level is broken.
Sell: Labeled when a support level is broken.
Dynamic TPs:
TPs are calculated based on price movement after a signal.
Ensures TPs are at least 3% apart for better profit intervals.
How to Use
Search and Add: Find the indicator on TradingView and add it to your chart.
Interpret Labels:
Green Buy Labels: Indicate a buying opportunity.
Red Sell Labels: Indicate a selling opportunity.
Green and Red TP Labels: Indicate take profit points for buy and sell signals, respectively.
Adjust Parameters: Customize inputs like the number of bars for pivot calculation, volume threshold, and TP distance percentage threshold to suit your trading style.
This indicator visualizes buy and sell signals directly on the chart, along with dynamically calculated TPs, to help you make informed trading decisions.
Katik BUY / SELL with Multiple TargetsCombination of moving averages and ATR to generate buy/sell signals with multiple target levels:
1. **Trend Detection**: The script uses short-term and long-term Simple Moving Averages (SMAs) to identify bullish (crossover) and bearish (crossunder) trends.
2. **ATR for Stop-Loss**: The Average True Range (ATR) is utilized to calculate volatility-based stop-loss levels for both buy and sell signals.
3. **Continuous Target Levels**: A series of 12 targets for both long (buy) and short (sell) trades are computed using ATR multipliers starting from 1.5 and incrementing by 1.5 for each subsequent level.
4. **Dynamic Arrays**: Targets are stored dynamically in arrays, making the levels adaptive to market conditions.
5. **Signal Plotting**: Buy and sell signals are displayed on the chart using labeled shapes with distinct colors for easy visualization.
6. **Target Levels Visualization**: Each target level is plotted as a circle on the chart for both long and short trades, using blue and red hues, respectively.
7. **Stop-Loss Plotting**: Stop-loss levels are also plotted on the chart with clear markers for both long and short positions.
8. **Alert Mechanism**: Alerts are configured to notify traders when a buy or sell signal is triggered.
9. **Versatility**: Inputs like Gann swing length and ATR multiplier allow customization based on user preferences.
10. **Comprehensive Target Mapping**: Ensures clarity in tracking progress toward multiple profit levels for both bullish and bearish trades.
HTF Hi-Lo Zones [CHE]HTF Hi-Lo Zones Indicator
The HTF Hi-Lo Zones Indicator is a Pine Script tool designed to highlight important high and low values from a selected higher timeframe. It provides traders with clear visual zones where price activity has reached significant points, helping in decision-making by identifying potential support and resistance levels. This indicator is customizable, allowing users to select the resolution type, control the visualization of session ranges, and even display detailed information about the chosen timeframe.
Key Functionalities
1. Timeframe Resolution Selection:
- The indicator offers three modes to determine the resolution:
- Automatic: Dynamically calculates the higher timeframe based on the current chart's resolution.
- Multiplier: Allows users to apply a multiplier to the current chart's timeframe.
- Manual: Enables manual input for custom resolution settings.
- Each resolution type ensures flexibility to suit different trading styles and strategies.
2. Data Fetching for High and Low Values:
- The indicator retrieves the current high and low values for the selected higher timeframe using `request.security`.
- It also calculates the lowest and highest values over a configurable lookback period, providing insights into significant price movements within the chosen timeframe.
3. Session High and Low Detection:
- The indicator detects whether the current value represents a new session high or low by comparing the highest and lowest values with the current data.
- This is crucial for identifying breakouts or significant turning points during a session.
4. Visual Representation:
- When a new session high or low is detected:
- Range Zones: A colored box marks the session's high-to-low range.
- Labels: Optional labels indicate "New High" or "New Low" for clarity.
- Users can customize colors, transparency, and whether range outlines or labels should be displayed.
5. Information Box:
- An optional dashboard displays details about the chosen timeframe resolution and current session activity.
- The box's size, position, and colors are fully customizable.
6. Session Tracking:
- Tracks session boundaries, updating the visualization dynamically as the session progresses.
- Displays session-specific maximum and minimum values if enabled.
7. Additional Features:
- Configurable dividers for session or daily boundaries.
- Transparency and styling options for the displayed zones.
- A dashboard for advanced visualization and information overlay.
Key Code Sections Explained
1. Resolution Determination:
- Depending on the user's input (Auto, Multiplier, or Manual), the script determines the appropriate timeframe resolution for higher timeframe analysis.
- The resolution adapts dynamically based on intraday, daily, or higher-period charts.
2. Fetching Security Data:
- Using the `getSecurityDataFunction`, the script fetches high and low values for the chosen timeframe, including historical and real-time data management to avoid repainting issues.
3. Session High/Low Logic:
- By comparing the highest and lowest values over a lookback period, the script identifies whether the current value is a new session high or low, updating session boundaries and initiating visual indicators.
4. Visualization:
- The script creates visual representations using `box.new` for range zones and `label.new` for session labels.
- These elements update dynamically to reflect the most recent data.
5. Customization Options:
- Users can configure the appearance, behavior, and displayed data through multiple input options, ensuring adaptability to individual trading preferences.
This indicator is a robust tool for tracking higher timeframe activity, offering a blend of automation, customization, and visual clarity to enhance trading strategies.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Wagmi-Lab Order Block Detector**Indicator Description: Wagmi-Lab Order Block Detector**
The *Wagmi-Lab Order Block Detector* is a powerful tool designed specifically for analyzing the cryptocurrency market, with a strong focus on Bitcoin and altcoins. This indicator helps traders accurately identify significant order blocks, both bullish and bearish, providing a clear view of institutional interest zones or potential price reversals.
With its advanced logic, the Wagmi-Lab Order Block Detector supports trading strategies based on volume analysis and key levels, making it an essential tool for crypto traders of all experience levels.
---
### **Key Features**
1. **Order Block Identification**:
- Automatically detects bullish and bearish order blocks based on volume pivots and market structure.
2. **Advanced Customization**:
- Adjustable volume pivot length to fit various trading styles.
- Customizable colors, transparency, and line styles for clear and readable charts.
3. **Mitigation Management**:
- Automatically removes mitigated order blocks to keep the chart clean and free from outdated information.
4. **Mitigation Methods**:
- Choose between two mitigation methods: *Wick* (highs and lows of candles) or *Close* (candle closes), offering flexibility for different trading preferences.
5. **Intuitive Visualization**:
- Highlights order blocks with colored boxes and mid-level markers for quick identification of key zones.
6. **Alert Notifications**:
- Automatic alerts for the formation of new order blocks, both bullish and bearish.
- Notifications for mitigated blocks, keeping you informed even when away from your charts.
---
### **Who It's For**
- Traders looking to identify institutional interest zones in the cryptocurrency market.
- Those seeking a user-friendly yet highly customizable indicator for advanced strategies.
- Focused on Bitcoin and altcoins for short- or long-term trading operations.
The *Wagmi-Lab Order Block Detector* is designed to empower traders with precise and actionable insights, helping them navigate the complex crypto market with confidence.
SCE ReversalsThis tool uses past market data to attempt to identify where changes in “memory” may occur to spot reversals. The Hurst Exponent was a big inspiration for this code. The main driver is identifying when past ranges expand and contract, leading to a change in direction. With the use of Sum of Squared Errors, users do not need to input anything.
Getting optimized parameters
// Define ranges for N and lkb
N_range = array.from(15, 20, 25, 30, 35, 40, 45, 50, 55, 60)
// Function to calculate SSE
sse_calc(_N) =>
x = math.pow(close - close , 2)
y = math.pow(close - close , 2) + math.pow(close, 2)
z = x / y
scaled_z = z * math.log(_N)
min_r = ta.lowest(scaled_z, _N)
max_r = ta.highest(scaled_z, _N)
norm_r = (scaled_z - min_r) / (max_r - min_r)
SMA = ta.sma(close, _N)
reversal_bullish = norm_r == 1.000 and norm_r < 0.90 and close < SMA and session.ismarket and barstate.isconfirmed
reversal_bearish = norm_r == 1.000 and norm_r < 0.90 and close > SMA and session.ismarket and barstate.isconfirmed
var float error = na
if reversal_bullish or reversal_bearish
error := math.pow(close - SMA, 2)
error
else
error := 999999999999999999999999999999999999999
error
error
var int N_opt = na
var float min_SSE = na
// Loop through ranges and calculate SSE
for N in N_range
sse = sse_calc(N)
if na(min_SSE) or sse < min_SSE
min_SSE := sse
N_opt := N
The N_range list encompasses every lookback value to check with. The sse_calc function accepts an individual element to then perform the calculation for Reversals. If there is a reversal, the error becomes how far away the close is from a moving average with that look back. Lowest error wins. That would be the look back used for the Reversals calculation.
Reversals calculation
// Calculating with optimized parameters
x_opt = math.pow(close - close , 2)
y_opt = math.pow(close - close , 2) + math.pow(close, 2)
z_opt = x_opt / y_opt
scaled_z_opt = z_opt * math.log(N_opt)
min_r_opt = ta.lowest(scaled_z_opt, N_opt)
max_r_opt = ta.highest(scaled_z_opt, N_opt)
norm_r_opt = (scaled_z_opt - min_r_opt) / (max_r_opt - min_r_opt)
SMA_opt = ta.sma(close, N_opt)
reversal_bullish_opt = norm_r_opt == 1.000 and norm_r_opt < 0.90 and close < SMA_opt and close > high and close > open and session.ismarket and barstate.isconfirmed
reversal_bearish_opt = norm_r_opt == 1.000 and norm_r_opt < 0.90 and close > SMA_opt and close < low and close < open and session.ismarket and barstate.isconfirmed
X_opt and y_opt are the compared values to develop the system. Everything done afterwards is scaling and using it to spot the Reversals. X_opt is the current close, minus the close with the optimal N bars back, squared. Then y_opt is also that but plus the current close squared. Z_opt is then x_opt / y_opt. This gives us a pretty small number that will go up when we approach tops or bottoms. To make life a little easier I normalize the value between 0 and 1.
After I find the moving average with the optimal N, I can check if there is a Reversal. Reversals are there when the last value is at 1 and the current value drops below 0.90. This would tell us that “memory” was strong and is now changing. To determine direction and help with accuracy, if the close is above the moving average it is a bearish alert, and vice versa. As well as the close must be below the last low for a bearish Reversal, above the last high for a bullish Reversal. Also the close must be above the open for a bullish Reversal, and below for a bearish one.
Visual examples
This NASDAQ:TSLA chart shows how alerts may come around. The bullish and bearish labels are plotted on the chart along with a reference line to see price interact with.
The indicator has the potential to be inactive, like we see here on $OKLO. There is only one alert, and it marks the bottom nicely.
Stocks with strong trends like NYSE:NOW may be more susceptible to false alerts. Assets that are volatile and bounce around a lot may be better.
It works on intra day charts the same as on Daily or longer charts. We see here on NASDAQ:QQQ it spotted the bottom on this particular trading day.
This tool is meant to aid traders in making decisions, not to be followed blindly. No trading tool is 100% accurate and Sum of Squared Errors does not guarantee the most optimal value. I encourage feedback and constructive criticism.
VPSA-VTDDear Sir/Madam,
I am pleased to present the next iteration of my indicator concept, which, in my opinion, serves as a highly useful tool for analyzing markets using the Volume Spread Analysis (VSA) method or the Wyckoff methodology.
The VPSA (Volume-Price Spread Analysis), the latest version in the family of scripts I’ve developed, appears to perform its task effectively. The combination of visualizing normalized data alongside their significance, achieved through the application of Z-Score standardization, proved to be a sound solution. Therefore, I decided to take it a step further and expand my project with a complementary approach to the existing one.
Theory
At the outset, I want to acknowledge that I’m aware of the existence of other probabilistic models used in financial markets, which may describe these phenomena more accurately. However, in line with Occam's Razor, I aimed to maintain simplicity in the analysis and interpretation of the concepts below. For this reason, I focused on describing the data using the Gaussian distribution.
The data I read from the chart — primarily the closing price, the high-low price difference (spread), and volume — exhibit cyclical patterns. These cycles are described by Wyckoff's methodology, while VSA complements and presents them from a different perspective. I will refrain from explaining these methods in depth due to their complexity and broad scope. What matters is that within these cycles, various events occur, described by candles or bars in distinct ways, characterized by different spreads and volumes. When observing the chart, I notice periods of lower volatility, often accompanied by lower volumes, as well as periods of high volatility and significant volumes. It’s important to find harmony within this apparent chaos. I think that chart interpretation cannot happen without considering the broader context, but the more variables I include in the analytical process, the more challenges arise. For instance, how can I determine if something is large (wide) or small (narrow)? For elements like volume or spread, my script provides a partial answer to this question. Now, let’s get to the point.
Technical Overview
The first technique I applied is Min-Max Normalization. With its help, the script adjusts volume and spread values to a range between 0 and 1. This allows for a comparable bar chart, where a wide bar represents volume, and a narrow one represents spread. Without normalization, visually comparing values that differ by several orders of magnitude would be inconvenient. If the indicator shows that one bar has a unit spread value while another has half that value, it means the first bar is twice as large. The ratio is preserved.
The second technique I used is Z-Score Standardization. This concept is based on the normal distribution, characterized by variables such as the mean and standard deviation, which measures data dispersion around the mean. The Z-Score indicates how many standard deviations a given value deviates from the population mean. The higher the Z-Score, the more the examined object deviates from the mean. If an object has a Z-Score of 3, it falls within 0.1% of the population, making it a rare occurrence or even an anomaly. In the context of chart analysis, such strong deviations are events like climaxes, which often signal the end of a trend, though not always. In my script, I assigned specific colors to frequently occurring Z-Score values:
Below 1 – Blue
Above 1 – Green
Above 2 – Red
Above 3 – Fuchsia
These colors are applied to both spread and volume, allowing for quick visual interpretation of data.
Volume Trend Detector (VTD)
The above forms the foundation of VPSA. However, I have extended the script with a Volume Trend Detector (VTD). The idea is that when I consider market structure - by market structure, I mean the overall chart, support and resistance levels, candles, and patterns typical of spread and volume analysis as well as Wyckoff patterns - I look for price ranges where there is a lack of supply, demand, or clues left behind by Smart Money or the market's enigmatic identity known as the Composite Man. This is essential because, as these clues and behaviors of market participants — expressed through the chart’s dynamics - reflect the actions, decisions, and emotions of all players. These behaviors can help interpret the bull-bear battle and estimate the probability of their next moves, which is one of the key factors for a trader relying on technical analysis to make a trade decision.
I enhanced the script with a Volume Trend Detector, which operates in two modes:
Step-by-Step Logic
The detector identifies expected volume dynamics. For instance, when looking for signs of a lack of bullish interest, I focus on setups with decreasing volatility and volume, particularly for bullish candles. These setups are referred to as No Demand patterns, according to Tom Williams' methodology.
Simple Moving Average (SMA)
The detector can also operate based on a simple moving average, helping to identify systematic trends in declining volume, indicating potential imbalances in market forces.
I’ve designed the program to allow the selection of candle types and volume characteristics to which the script will pay particular attention and notify me of specific market conditions.
Advantages and Disadvantages
Advantages:
Unified visualization of normalized spread and volume, saving time and improving efficiency.
The use of Z-Score as a consistent and repeatable relative mechanism for marking examined values.
The use of colors in visualization as a reference to Z-Score values.
The possibility to set up a continuous alert system that monitors the market in real time.
The use of EMA (Exponential Moving Average) as a moving average for Z-Score.
The goal of these features is to save my time, which is the only truly invaluable resource.
Disadvantages:
The assumption that the data follows a normal distribution, which may lead to inaccurate interpretations.
A fixed analysis period, which may not be perfectly suited to changing market conditions.
The use of EMA as a moving average for Z-Score, listed both as an advantage and a disadvantage depending on market context.
I have included comments within the code to explain the logic behind each part. For those who seek detailed mathematical formulas, I invite you to explore the code itself.
Defining Program Parameters:
Numerical Conditions:
VPSA Period for Analysis – The number of candles analyzed.
Normalized Spread Alert Threshold – The expected normalized spread value; defines how large or small the spread should be, with a range of 0-1.00.
Normalized Volume Alert Threshold – The expected normalized volume value; defines how large or small the volume should be, with a range of 0-1.00.
Spread Z-SCORE Alert Threshold – The Z-SCORE value for the spread; determines how much the spread deviates from the average, with a range of 0-4 (a higher value can be entered, but from a logical standpoint, exceeding 4 is unnecessary).
Volume Z-SCORE Alert Threshold – The Z-SCORE value for volume; determines how much the volume deviates from the average, with a range of 0-4 (the same logical note as above applies).
Logical Conditions:
Logical conditions describe whether the expected value should be less than or equal to or greater than or equal to the numerical condition.
All four parameters accept two possibilities and are analogous to the numerical conditions.
Volume Trend Detector:
Volume Trend Detector Period for Analysis – The analysis period, indicating the number of candles examined.
Method of Trend Determination – The method used to determine the trend. Possible values: Step by Step or SMA.
Trend Direction – The expected trend direction. Possible values: Upward or Downward.
Candle Type – The type of candle taken into account. Possible values: Bullish, Bearish, or Any.
The last available setting is the option to enable a joint alert for VPSA and VTD.
When enabled, VPSA will trigger on the last closed candle, regardless of the VTD analysis period.
Example Use Cases (Labels Visible in the Script Window Indicate Triggered Alerts):
The provided labels in the chart window mark where specific conditions were met and alerts were triggered.
Summary and Reflections
The program I present is a strong tool in the ongoing "game" with the Composite Man.
However, it requires familiarity and understanding of the underlying methodologies to fully utilize its potential.
Of course, like any technical analysis tool, it is not without flaws. There is no indicator that serves as a perfect Grail, accurately signaling Buy or Sell in every case.
I would like to thank those who have read through my thoughts to the end and are willing to take a closer look at my work by using this script.
If you encounter any errors or have suggestions for improvement, please feel free to contact me.
I wish you good health and accurately interpreted market structures, leading to successful trades!
CatTheTrader
HTF CandlesHTF Candles, Plot of a Higher/Lower Timeframe Candles on any chart.
This HTF / LTF candle plot displays the previous 3 daily candles with the current update of the price with reference to a lower time frame.
Candles includes 3 Candles of HTF
last HTF candle includes 4 previous candles from LTF
Candle High Low Open Close are plotted.
these OHLC values act as Support and Resistance With reference to current Price.
very useful in making HTF and LTF analysis with reference to current timeframe.
GOLD H1 & H4 Candle TrackerIndikator Penanda Candle H1 & H4 adalah alat yang dirancang untuk menyoroti candle tertentu pada timeframe H1 dan H4 berdasarkan waktu tertentu, yaitu jam 07.00/08.00 dan 19.00/20.00.
Indikator ini bekerja dengan:
Memberi warna merah untuk candle jam 07.00.
Memberi warna biru untuk candle jam 19.00.
Memungkinkan penyesuaian offset waktu untuk menyesuaikan zona waktu broker dengan waktu lokal.
Indikator hanya aktif pada timeframe H1 dan H4, membantu trader mengidentifikasi candle penting pada waktu-waktu strategis untuk analisis pergerakan harga.
Smart Pivot Points with Reversal Zones @tradingbauhausKey Features of the Script
Pivot Point Identification:
The script detects pivot highs (pivothigh) and pivot lows (pivotlow) based on a configurable length (length).
These pivots represent local highs and lows on the chart, which are important areas for technical analysis.
Marking Regular Pivots:
Regular pivots are marked with labels and lines on the chart.
For pivot highs, a 🔻 (downward triangle) symbol and a red color are used.
For pivot lows, a 🔺 (upward triangle) symbol and a green color are used.
Missed Reversal Levels:
The script also identifies levels where the price could have reversed but did not (missed reversals).
These levels are marked with the 🔄 (circular arrow) symbol and are drawn with dashed lines.
Missed reversal levels are useful for identifying areas where the price might retest in the future.
Connection Lines (Zigzag):
The script draws lines connecting the pivot highs and lows, forming a zigzag structure.
These lines help visualize the trend and market structure.
Customization:
The script allows enabling or disabling the display of regular pivots and missed reversal levels.
The colors and styles of the lines and labels are customizable.
Additional Information:
Hovering over the labels displays a tooltip with the exact price of the pivot or reversal level.
How the Script Works
Pivot Calculation:
It uses the ta.pivothigh and ta.pivotlow functions to identify local highs and lows based on the specified length (length).
Tracking Highs and Lows:
The script keeps track of historical highs and lows to identify missed reversal levels.
Drawing Lines and Labels:
When a pivot or missed reversal level is detected, a line and a label are drawn on the chart.
Dashed lines are used for missed reversal levels, while solid lines are used for regular pivots.
Last Bar Logic:
On the last bar of the chart, the script searches for the most recent high or low and marks the corresponding level with a label and a horizontal line.
Indicator Settings
Pivot Length: Defines the number of candles the script analyzes to identify pivots. A higher value will detect more significant pivots, while a lower value will identify more frequent pivots.
Regular Pivots: Enables or disables the display of regular pivots.
Missed Pivots: Enables or disables the display of missed reversal levels.
Colors: Allows customization of the colors for pivot highs, pivot lows, and missed reversal levels.
Trading Applications
Identifying Support and Resistance:
Pivot highs and lows can act as support and resistance levels.
Missed reversal levels can indicate areas where the price might retest.
Reversal Strategies:
Traders can use missed reversal levels to look for trading opportunities when the price returns to those levels.
Trend Visualization:
The connection lines (zigzag) help visualize the trend structure and identify changes in market direction.
Risk Management:
Pivot levels can be used to place stop-loss or take-profit orders.
Example Use Case
If the price forms a pivot high and then retraces, the script will mark that level as a potential resistance level in the future.
If the price does not reverse at an expected level, the script will mark that level as a "missed reversal level," which could indicate an area of interest for future trades.
B20 by Nulytrading Biên 20 xác định xu hướng trong ngày. Hiển thị 20 nến khung m15 từ 7h sáng đến 12h trưa. Khi giá phá vỡ điểm cao nhất hoặc thấp nhất của trong 20 cây nến đó, gọi là phá vỡ biên. Giá có xu hướng tiến đến các mốc fibo mở rộng 1,618 và 2,618 và 4,238. Còn gọi là mốc B1, B2, B3. Các B này hiển thị vùng phản ứng, kháng hỗ. Xác định điểm take profit. Và còn giúp bạn bắt đáy, đỉnh đỡ cháy hơn, hiện chỉ báo này chỉ nên sử dụng với sản phẩm XAUUSD (vàng). Kết hộ với key level, trendline, bộ tố lệnh để tăng hiệu quả.
Liên hệ mình trên Telegram: @NuLyNLV hoặc tìm mình trên các kênh khác bằng cách Nulytrading
Bộ Tố Lệnh Fomo của Nuly-Mother and Break Candles - Gần giống như nến inside bar. Bộ tố lệnh này giúp các bạn fomo theo xu hướng. Cây nến mẹ bao trùm nến con, nến con bị nén giá. Trong 1 xu hướng mạnh, thì cây nến quyết định xu hướng sẽ là cây thứ 3. Giá phá vỡ đỉnh/ đáy cây mẹ sẽ tạo ra hướng đi quán tính cho giá. Vào lệnh tại điểm break cây mẹ hoặc trong thân cây mẹ. Dừng lỗ ở đỉnh/ đáy cây nến mẹ +1,5 point.
Hãy tuân thủ xu hướng. Ưu tiên nến m5 m15 trở lên.
Trong chỉ báo này nến mẹ được setup là nến vàng.
Almost similar to an inside bar pattern. This script helps traders follow the trend without succumbing to FOMO. The mother candle engulfs the inside candle, compressing the price within the inside candle. In a strong trend, the candle that determines the direction will be the third one. When the price breaks the high/low of the mother candle, it creates a momentum-driven price movement. The stop loss is placed at the high/low of the mother candle plus 1.5 points.
Always follow the trend. Prioritize using the M5 or M15 timeframe or higher.
In this indicator, the mother candle is highlighted in yellow.
Combined Market Structure Break & Order Block//@version=5
indicator("Combined Market Structure Break & Order Block", "MSB-OB", overlay=true, max_lines_count=500, max_bars_back=4900, max_boxes_count=500)
settings = "Settings"
zigzag_len = input.int(9, "ZigZag Length", group=settings)
show_zigzag = input.bool(true, "Show Zigzag", group=settings)
fib_factor = input.float(0.33, "Fib Factor for breakout confirmation", 0, 1, 0.01, group=settings)
text_size = input.string(size.tiny, "Text Size", , group=settings)
delete_boxes = input.bool(true, "Delete Old/Broken Boxes", group=settings)
// Colors and display settings for order blocks and breaker blocks
bu_ob_inline_color = "Bu-OB Colors"
be_ob_inline_color = "Be-OB Colors"
bu_bb_inline_color = "Bu-BB Colors"
be_bb_inline_color = "Be-BB Colors"
bu_ob_display_settings = "Bu-OB Display Settings"
bu_ob_color = input.color(color.new(color.green, 70), "Color", group=bu_ob_display_settings, inline=bu_ob_inline_color)
bu_ob_border_color = input.color(color.green, "Border Color", group=bu_ob_display_settings, inline=bu_ob_inline_color)
bu_ob_text_color = input.color(color.green, "Text Color", group=bu_ob_display_settings, inline=bu_ob_inline_color)
be_ob_display_settings = "Be-OB Display Settings"
be_ob_color = input.color(color.new(color.red, 70), "Color", group=be_ob_display_settings, inline=be_ob_inline_color)
be_ob_border_color = input.color(color.red, "Border Color", group=be_ob_display_settings, inline=be_ob_inline_color)
be_ob_text_color = input.color(color.red, "Text Color", group=be_ob_display_settings, inline=be_ob_inline_color)
bu_bb_display_settings = "Bu-BB & Bu-MB Display Settings"
bu_bb_color = input.color(color.new(color.green, 70), "Color", group=bu_bb_display_settings, inline=bu_bb_inline_color)
bu_bb_border_color = input.color(color.green, "Border Color", group=bu_bb_display_settings, inline=bu_bb_inline_color)
bu_bb_text_color = input.color(color.green, "Text Color", group=bu_bb_display_settings, inline=bu_bb_inline_color)
be_bb_display_settings = "Be-BB & Be-MB Display Settings"
be_bb_color = input.color(color.new(color.red, 70), "Color", group=be_bb_display_settings, inline=be_bb_inline_color)
be_bb_border_color = input.color(color.red, "Border Color", group=be_bb_display_settings, inline=be_bb_inline_color)
be_bb_text_color = input.color(color.red, "Text Color", group=be_bb_display_settings, inline=be_bb_inline_color)
// Arrays to store market points
var float high_points_arr = array.new_float(5)
var int high_index_arr = array.new_int(5)
var float low_points_arr = array.new_float(5)
var int low_index_arr = array.new_int(5)
var box bu_ob_boxes = array.new_box(5)
var box be_ob_boxes = array.new_box(5)
var box bu_bb_boxes = array.new_box(5)
var box be_bb_boxes = array.new_box(5)
// Trend determination and zigzag calculation
to_up = high >= ta.highest(zigzag_len)
to_down = low <= ta.lowest(zigzag_len)
trend = 1
trend := nz(trend , 1)
trend := trend == 1 and to_down ? -1 : trend == -1 and to_up ? 1 : trend
last_trend_up_since = ta.barssince(to_up )
low_val = ta.lowest(nz(last_trend_up_since > 0 ? last_trend_up_since : 1, 1))
low_index = bar_index - ta.barssince(low_val == low)
last_trend_down_since = ta.barssince(to_down )
high_val = ta.highest(nz(last_trend_down_since > 0 ? last_trend_down_since : 1, 1))
high_index = bar_index - ta.barssince(high_val == high)
// Functions
f_get_high(ind) =>
f_get_low(ind) =>
f_delete_box(box_arr) =>
if delete_boxes
box.delete(array.shift(box_arr))
else
array.shift(box_arr)
0
// Calculations and updates for market structure
= f_get_high(0)
= f_get_high(1)
= f_get_low(0)
= f_get_low(1)
// Show Zigzag
if ta.change(trend) != 0 and show_zigzag
if trend == 1
line.new(h0i, h0, l0i, l0)
if trend == -1
line.new(l0i, l0, h0i, h0)
// Main structure and alert logic
// ...