Support, Resistance, and Price Action SetupHow to Use This:
Support and Resistance: The green and red lines represent Support and Resistance levels based on past price action.
Breakout Signals: When the price breaks above resistance or below support, the background color changes (green for breakout above resistance, red for breakout below support), and labels are created at the breakout points.
Rejection Signals: If the price rejects the support or resistance level (i.e., price moves away from it), a visual marker is added on the chart.
Conclusion:
This corrected script should now work without the NA type assignment issue. The breakout logic is properly handled and should now plot the Support, Resistance, and Price Action signals correctly. You can set alerts based on the breakout or rejection events to make this even more useful in live trading.
Trend Analysis
Weekly Pivot, S&RThis indicator is for calculating pivot point and 2 support and resistance levels arround that pivot point.
Wave Trend Oscillator (LazyBear) / Owl of Profit remakeWave Trend Oscillator Strategy (by LazyBear)
This strategy leverages the powerful WaveTrend Oscillator developed by LazyBear to identify overbought and oversold market conditions, providing dynamic signals for trend-based trading.
Features
WaveTrend Oscillator (WT):
Calculates two smoothed WaveTrend lines (WT1 and WT2) for visualizing momentum.
Uses channel and average lengths to adjust sensitivity.
Overbought/Oversold Levels:
Predefined levels for detecting extreme price conditions:
Overbought: 60, 53.
Oversold: -60, -53.
Fully customizable levels to match different trading preferences.
Color-Coded Visualization:
WT1 (green) and WT2 (red) show smoothed momentum oscillations.
Area between WT1 and WT2 filled in blue for additional clarity.
Strategy Logic
Long Entry Condition:
WT1 crosses above WT2, indicating a bullish reversal.
WT1 is below the Oversold Level (-60) during the crossover.
Short Entry Condition:
WT1 crosses below WT2, signaling a bearish reversal.
WT1 is above the Overbought Level (60) during the crossover.
Exit Logic:
Positions are automatically closed based on opposing signals.
Customization
Oscillator Lengths:
Channel Length (n1): Default 10.
Average Length (n2): Default 21.
Overbought/Oversold Levels:
Default Levels: 60 (Overbought), -60 (Oversold).
Optional secondary levels for finer adjustments.
Visual Enhancements:
Overlay the oscillator with additional chart elements for trend confirmation.
This strategy is ideal for traders looking to combine momentum analysis with overbought/oversold signals, ensuring precise entries and exits in trending markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy Trading! 😊
Candles Table in PercentShow table for different timeframes count in percent currant candle from previous. And oscillator for current timeframe.
CMO - Dot and Background - Jan 11, 2025This Pine Script indicator is designed to analyze and visualize momentum dynamics using multiple Chande Momentum Oscillator (CMO) lines with different configurations. Here’s a brief breakdown of what it does:
CMO Calculation:
Computes CMO values for multiple lines (Blue, Green, Orange, Purple) based on adjustable lengths, smoothing factors, and scaling values.
Aggregates and smooths these values for better trend representation.
Plotting:
Plots the scaled CMOs as separate lines with distinct colors on the chart.
Highlights momentum differences and includes a zero-line for reference.
Background Coloring:
Changes the chart background color based on specific conditions where the CMOs indicate strong bullish or bearish trends.
Alerts:
Sets up multiple alert conditions for key events, such as when lines cross zero, cross each other, or meet proximity thresholds.
Includes specific "dot" alerts and background-related alerts for visual emphasis.
Labels:
Adds visual markers (dots) on the chart to highlight significant events, such as strong bullish or bearish setups.
Advanced Features:
Includes proximity detection between specific CMOs for tighter momentum analysis.
Implements slope calculations for one of the CMOs to identify trend direction changes.
In essence, this script provides traders with a tool to monitor momentum dynamics, spot potential reversals or trends, and receive actionable alerts. It is highly customizable with adjustable input parameters.
Greed OscillatorThis Pine Script v6 component calculates and plots a "Greed Oscillator" based on the presence of bullish candlestick patterns (Marubozu, Bullish Engulfing, Hammer, and Three White Soldiers) over a user-defined lookback period.
How It Works:
User Inputs: length - The lookback period for calculating the oscillator, marubozuThreshold - The threshold for identifying Marubozu patterns, engulfingThreshold - The threshold for identifying Bullish Engulfing patterns, hammerThreshold - The threshold for identifying Hammer patterns, threeWhiteSoldiersThreshold - The threshold for identifying Three White Soldiers patterns.
Pattern Detection: The script defines functions to detect Marubozu, Bullish Engulfing, Hammer, and Three White Soldiers patterns. Patterns are identified based on the size of the body, wicks, and specific threshold criteria.
Score Calculation: The script calculates scores for each bullish pattern over the lookback period. These scores are normalized by dividing by the total number of candles in the period.
Greed Oscillator: The oscillator is calculated as the average of the normalized scores for the four bullish patterns.
Plotting: The Greed Oscillator is plotted on the chart, with reference lines for "Low Greed" and "High Greed" levels.
This indicator provides a visual representation of market greed, making it a useful tool for traders to assess bullish sentiment and identify potential reversal points or areas of heightened bullish activity. It works best in conjunction with other technical analysis tools to confirm signals.
SessionsL'indicatore di sessioni di trading è uno strumento visivo essenziale per i trader che desiderano analizzare il comportamento del mercato durante specifiche fasce orarie corrispondenti alle principali sessioni di trading globali (come New York, Londra, Tokyo e Sydney). Questo indicatore traccia automaticamente sul grafico le diverse sessioni, evidenziandone l'inizio e la fine, per aiutare a identificare le ore di maggiore volatilità e liquidità.
XAUUSD Stretegy - proyect1. *Indicators Used*:
- Trying to implement fixed profile volume.
2. *Entry Conditions*:
- An entry signal is defined, it need effective conditions.
- Trades are only allowed between 09:00 and 12:00
- Only long positions.
- Only 1 trade per day.
3. *Position Sizing*:
- Can custom risk
4. *Exit Conditions*:
- When TP or SL.
- When is 15:00 close all trades.
### *Summary*
This project focuses on leveraging gold's bullish market to achieve controlled profits with customizable risk. It combines technical tools and disciplined risk management to optimize efficiency. Currently in development, the strategy aims to refine its performance and adaptability, offering a structured approach for trading gold’s upward trends.
Davidova Strategy / Owl of ProfitDavidova Strategy
This comprehensive trading strategy is designed to combine various technical indicators, offering dynamic trend analysis, support/resistance detection, and signal generation.
Features
EMA (Exponential Moving Averages):
Two EMAs (13 and 21) dynamically adjust their colors based on trend direction.
Rising trends = green, falling trends = red.
Hull Moving Average (Optional):
A smooth trend indicator for improved visual clarity, adjustable via settings.
Support/Resistance Levels:
Automatically detects key support and resistance levels based on recent highs and lows.
Plots these levels for better decision-making.
Candle Body Resistance Channel:
Highlights resistance levels using recent candle closes.
Ideal for spotting potential breakout or reversal zones.
Signal Generator:
Generates BUY and SELL signals using higher timeframe open and close price crossovers.
Strategy Logic
BUY Condition:
Triggered when the higher timeframe's close price crosses above its open.
SELL Condition:
Triggered when the higher timeframe's close price crosses below its open.
Exit Logic:
Positions are exited based on trend reversals or opposing signals.
Customization
Timeframe:
Default set to 12-hour candles (720).
Adjustable to fit different trading styles.
Indicator Settings:
EMA Lengths: Default 13 and 21.
Hull MA Length: Adjustable via user input.
Candle Body Resistance Channel:
Optional feature to visualize price channels.
This strategy is perfect for traders looking for a holistic approach to technical analysis, combining trend detection, support/resistance zones, and customizable signals.
Visit my website for more tools and strategies: bybitindicators.com
Happy Trading! 😊
Buffalo Trading Pattern with Buy/Sell Signals (White Text)Buffalo Trading Strategy using 20day SMA crosses above 50day SMA. Plots Buy / SELL Signal during the cross over
VWAP + Fibo + Chandelier ExitOpis funkcji i integracji
VWAP i Fibo:
Oblicza poziomy Fibonacciego na podstawie VWAP.
Dodaje sygnały kupna/sprzedaży w oparciu o przecięcia cen z poziomami Fibo.
Chandelier Exit:
Działa niezależnie od VWAP.
Generuje sygnały na podstawie zmiany kierunku trendu.
Wizualizacja:
Poziomy VWAP i Fibo są oznaczone różnymi kolorami.
Poziomy Chandelier Exit są widoczne jako linie wsparcia/oporu.
Sygnały są oznaczone etykietami na wykresie.
Zlecenia:
Strategie otwierają i zamykają pozycje w oparciu o oba wskaźniki.Opis funkcji i integracji
VWAP i Fibo:
Oblicza poziomy Fibonacciego na podstawie VWAP.
Dodaje sygnały kupna/sprzedaży w oparciu o przecięcia cen z poziomami Fibo.
Chandelier Exit:
Działa niezależnie od VWAP.
Generuje sygnały na podstawie zmiany kierunku trendu.
Wizualizacja:
Poziomy VWAP i Fibo są oznaczone różnymi kolorami.
Poziomy Chandelier Exit są widoczne jako linie wsparcia/oporu.
Sygnały są oznaczone etykietami na wykresie.
Zlecenia:
Strategie otwierają i zamykają pozycje w oparciu o oba wskaźniki.
Keltner Channel + RSI / Owl of ProfitKeltner Channel + RSI Strategy
This strategy combines the Keltner Channel and RSI indicators to identify trading opportunities based on price levels and momentum.
Features
Keltner Channel
Calculated using EMA and ATR.
Upper and lower bounds provide a dynamic range for price action.
Default parameters:
EMA Period: 20
ATR Period: 10
ATR Multiplier: 1.5
RSI (Relative Strength Index)
Identifies overbought and oversold conditions.
Default parameters:
RSI Period: 14
Overbought Level: 70
Oversold Level: 30
Strategy Conditions
Long Entry
Price crosses above the lower Keltner Channel.
RSI is below the oversold level.
Short Entry
Price crosses below the upper Keltner Channel.
RSI is above the overbought level.
Exit Logic
Close Long
Price crosses below the EMA.
RSI rises above 50.
Close Short
Price crosses above the EMA.
RSI falls below 50.
Visualization
Keltner Channel:
Upper and lower bounds plotted with transparent fill for better clarity.
EMA line for midpoint reference.
RSI:
Plots RSI with dotted horizontal lines for overbought and oversold levels.
Signal Markers:
Buy (green) and Sell (red) labels plotted for entry signals.
This strategy is ideal for traders who want to combine price action with momentum-based signals to capture dynamic market moves.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
BB + RSI, Double Strategy (by ChartArt) / Owl of Profit remakeSpecial thanks to ChartArt for the original concept and inspiration.
This strategy combines Bollinger Bands with the Relative Strength Index (RSI) to identify overbought and oversold conditions, providing precise entry and exit points.
Features:
Bollinger Bands:
Measures volatility and price deviations from the SMA.
Period Length: 200 (default).
Standard Deviation Multiplier: 2.0 (default).
Helps identify potential reversal zones at the upper and lower bands.
Relative Strength Index (RSI):
A momentum oscillator to measure overbought and oversold conditions.
Length: 6 (default).
Overbought Level: 50 (default).
Oversold Level: 50 (default).
Entry and Exit Logic:
Long Entry:
RSI crosses above the oversold level (50).
Price crosses above the lower Bollinger Band.
Short Entry:
RSI crosses below the overbought level (50).
Price crosses below the upper Bollinger Band.
Exit Logic:
Long positions are closed when the price and RSI criteria for a short entry are met.
Short positions are closed when the price and RSI criteria for a long entry are met.
Visualization:
Bollinger Bands:
Plotted with the basis (aqua line), upper band (silver), and lower band (silver).
Background fill highlights the bands.
Bar and Background Colors:
Green for bullish conditions (price below the lower band and RSI below the oversold level).
Red for bearish conditions (price above the upper band and RSI above the overbought level).
Customization:
Adjustable Bollinger Bands and RSI parameters to fit different market conditions.
Optional bar and background coloring for enhanced chart readability.
This strategy is ideal for traders looking to combine volatility and momentum analysis for high-probability entries and exits.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Choppiness IndexThis Pine Script v6 indicator calculates the Choppiness Index over a user-defined length and segments it based on user-defined thresholds for choppy and trending market conditions. The indicator allows users to toggle the visibility of choppy, trending, and neutral segments using checkboxes.
Here's how it works:
Inputs: Users can set the length for the Choppiness Index calculation and thresholds for choppy and trending conditions. They can also choose which segments to display.
Choppiness Index Calculation: The script calculates the Choppiness Index using the ATR and the highest-high and lowest-low over the specified length.
Segment Determination: The script determines which segment the current Choppiness Index value falls into based on the thresholds. The color changes exactly at the threshold values.
Dynamic Plotting: The Choppiness Index is plotted with a color that changes based on the segment. The plot is only visible if the segment is "turned on" by the user.
Threshold Lines: Dashed horizontal lines are plotted at the choppy and trending thresholds for reference.
This indicator helps traders visualize market conditions and identify potential transitions between choppy and trending phases, with precise color changes at the threshold values.
SMA and Supertrend Crypto InvertedHere’s a brief breakdown of what the code is doing:
Inputs for SMA:
You define an input for the length of the Simple Moving Average (sma_length) with a default of 5.
Inputs for Supertrend:
ATR length (supertrend_atr_length) is set to 10.
Multiplier (supertrend_multiplier) is set to 3.
SMA Calculation:
The SMA is calculated using the ta.sma function with the closing prices over the specified length.
Supertrend Calculation:
The ta.supertrend function calculates the Supertrend and its direction (positive or negative).
Plotting:
You plot the SMA on the chart with the plot function, using the color blue.
The Supertrend is also plotted with a color that changes based on the direction. Green for an uptrend (direction > 0) and red for a downtrend (direction <= 0).
Background Color:
The background color is dynamically set to green or red based on the trend direction (Supertrend), with a transparency of 90% to give a subtle indication of the current market condition.
borsacı selim Al-Sat Noktalarıpinescript
//@version=5
indicator("Al-Sat Noktaları", overlay=true)
// Zaman dilimi seçimi
timeframe = input.timeframe("D", title="Zaman Dilimi Seçimi")
// Hareketli Ortalama
length = input(14, title="Hareketli Ortalama Süresi")
ma = ta.sma(request.security(syminfo.tickerid, timeframe, close), length)
// Al-Sat Sinyalleri
longCondition = ta.crossover(request.security(syminfo.tickerid, timeframe, close), ma)
shortCondition = ta.crossunder(request.security(syminfo.tickerid, timeframe, close), ma)
// Al-Sat Noktalarını Göster
plotshape(longCondition, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="AL")
plotshape(shortCondition, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, text="SAT")
// Hareketli Ortalamayı Göster
plot(ma, color=color.blue, title="Hareketli Ortalama")
Market Structure Break with RSIMrBishop specializes in market structure breaks and using RSI oscillator. What is classified as a market structure break is when a candle closes below the most recent swing high's bottom wick or when a candle closes above the most recent swing low's top wick. RSI oscillator is set to 60/40 with length of 10 and a SMA length of 10. I enter a long trade when RSI line is below the 50 mark and there is a market structure break. I enter a short trade when RSI is above the 50 mark and there is a market structure break.
VWAP + MACD / Owl of ProfitVWAP + MACD Strategy
This strategy combines Volume Weighted Average Price (VWAP) with the Moving Average Convergence Divergence (MACD) indicator to identify momentum-based entry and exit signals aligned with price levels.
Features:
VWAP (Volume Weighted Average Price):
A benchmark price level that accounts for trading volume.
Helps identify if the price is trading above or below a key average.
MACD (Moving Average Convergence Divergence):
Measures the relationship between two EMAs.
Fast Length: 12 (default).
Slow Length: 26 (default).
Signal Smoothing: 9 (default).
MACD Histogram highlights the difference between the MACD Line and the Signal Line.
Entry and Exit Logic:
Long Condition:
MACD Line crosses above the Signal Line.
Price is trading above VWAP.
Short Condition:
MACD Line crosses below the Signal Line.
Price is trading below VWAP.
Exit Long:
MACD Line crosses below the Signal Line.
OR price crosses below VWAP.
Exit Short:
MACD Line crosses above the Signal Line.
OR price crosses above VWAP.
Visualization:
VWAP:
Plotted as an orange line on the price chart.
MACD:
MACD Line in blue, Signal Line in red.
Histogram indicates positive (green) or negative (red) momentum.
Zero Line:
A reference line at 0 for MACD analysis.
Customization:
Adjustable MACD parameters and VWAP can be tailored to fit specific market conditions or timeframes.
This strategy is ideal for traders who want to combine momentum with volume-weighted trend direction for more precise entries and exits.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Whale Activity Impact OscillatorThe "Whale Activity Impact Oscillator" is a Pine Script v6 component designed to identify abnormal price movements caused by potential whale activity in the crypto market.
Here's how it works:
Inputs: The script allows users to configure the volume spike multiplier, price spike multiplier, lookback period, minimum volume threshold, and thresholds for strong buy and sell signals.
Data Calculations: It calculates the average volume and average percentage price change over the specified lookback period.
Whale Detection Logic: The script detects a volume spike if the current volume exceeds the average volume by the specified multiplier. It detects a price spike if the percentage price change exceeds the average by the specified multiplier.
Signals: A buy signal is generated when both a volume spike and a price increase are detected. A sell signal is generated when both a volume spike and a price decrease are detected.
Output: The oscillator is displayed as a histogram below the price chart. Green bars indicate buy signals, red bars indicate sell signals, and gray bars indicate normal activity. The height of the bars is proportional to the magnitude of the price change.
Alerts: The script includes alerts for whale buying and selling detected signals.
Edge Cases: The script avoids false signals in low-liquidity environments by setting a minimum volume threshold and filtering out signals during low market activity.
This component can be added to a TradingView chart to help traders identify potential whale activity and make informed trading decisions.
Volatility Compression OscillatorThis Pine Script v6 component is designed to identify periods of volatility compression, which often precede significant market moves.
Here's how it works:
Bollinger Bands Width (BBW): The script calculates the width of the Bollinger Bands across multiple timeframes (5m, 15m, 1h, daily) to detect periods of tightening.
Average True Range (ATR): The ATR is calculated for the same timeframes to identify declining volatility.
Compression Score: A numerical score is generated by averaging the BBW values and dividing by the sum of ATR values across the timeframes. This score indicates the level of volatility compression.
Alerts: Alerts are triggered when the compression score falls below a specified threshold, indicating a potential breakout or breakdown.
Visualization: The compression score is plotted on the chart, and periods of extreme compression are highlighted with a background color. If enabled, volume data is also plotted to confirm compression phases.
To use this component, add it to your TradingView chart. Adjust the input parameters to suit your analysis needs and monitor the compression score and alerts for potential trading opportunities.
Indecision OscillatorThis Pine Script v6 component calculates and plots an "Indecision Oscillator" based on the presence of Doji and Spinning Top candlestick patterns over a user-defined lookback period.
Here's how it works:
User Inputs: length - the lookback period for calculating the oscillator, dojiThreshold - the threshold for identifying Doji patterns, spinningTopThreshold - the threshold for identifying Spinning Top patterns.
Pattern Detection: The script defines functions to detect Doji and Spinning Top patterns based on the body size relative to the total range of the candle.
Score Calculation: It calculates scores for Doji and Spinning Top patterns over the specified lookback period and normalizes these scores.
Indecision Oscillator: The oscillator is calculated as the average of the normalized Doji and Spinning Top scores.
Plotting: Only the Indecision Oscillator is plotted on the chart, with reference lines for neutral and indecision levels.
This component provides a visual representation of market indecision, which can be useful for traders looking to identify potential reversal points or periods of consolidation.