Auto Fibonacci Retracement by YilmazerBelirtilen bar sayısı ve fibonacci değerlerine göre fibonacci düzeltme seviyelerini grafik üzerinde çizer. Eğer grafikte belirtilenden daha az bar var ise bu durumda grafikte yer alan max bar sayısını dikkate alarak çizim yapar.
Draws Fibonacci retracement levels on the chart based on the specified number of bars and Fibonacci values. If the chart has fewer bars than specified, it uses the maximum number of bars available on the chart for drawing.
Breitenindikatoren
Jakes main INDICATOR really great tool still a work in progress. I'm fine tunning this still mostly around false signals and volitility
EMA + RSI + Supertrend Indicator By Abhay Pushkar the best This script integrates three widely used technical indicators: Exponential Moving Averages (EMA), Relative Strength Index (RSI), and the Supertrend indicator. It helps traders identify potential buy and sell signals based on trend direction and market momentum.
Key Components:
Inputs:
Users can customize the lengths of the EMAs and the RSI, as well as the ATR length and multiplier for the Supertrend calculation. This flexibility allows the indicator to adapt to different trading styles and market conditions.
Parameters:
Short EMA Length: Default is 9.
Long EMA Length: Default is 21.
RSI Length: Default is 14.
RSI Overbought Level: Default is 70.
RSI Oversold Level: Default is 30.
ATR Length: Default is 10.
ATR Multiplier: Default is 3.0.
EMA Calculation:
The script calculates two EMAs:
A short EMA (based on the last 9 periods) for quick signals.
A long EMA (based on the last 21 periods) for broader trend analysis.
RSI Calculation:
The RSI is calculated over a specified period (14 by default) to gauge the market's momentum.
Levels for overbought (70) and oversold (30) conditions are set to assist in identifying potential reversal points.
Supertrend Calculation:
The Supertrend indicator is based on the average true range (ATR) to measure volatility and define the trend direction.
It utilizes the average price (HL2) and adjusts the bands based on a specified ATR multiplier to generate upper and lower bands.
The script dynamically sets the Supertrend value based on the relationship between the closing price and the previous Supertrend value.
Plotting:
The short and long EMAs are plotted on the chart in green and red, respectively.
The Supertrend is plotted with color changes based on the trend direction: green for an uptrend and red for a downtrend.
Buy and Sell Signals:
Buy Signal: Triggered when the short EMA crosses above the long EMA while the RSI is below the oversold level (30), indicating a potential reversal.
Sell Signal: Triggered when the short EMA crosses below the long EMA while the RSI is above the overbought level (70), suggesting a potential market downturn.
Visual Signals:
The script visually represents buy/sell signals on the chart:
Buy Signal: A label appears below the bar with "BUY".
Sell Signal: A label appears above the bar with "SELL".
Use Cases:
This indicator is suitable for traders looking to identify entry and exit points in trending markets while managing risk using momentum analysis. It can be used on various timeframes for both short-term and long-term trading strategies.
SMART GOLD killzone Sessions ver 22SMART GOLD killzone Sessions ver 22 , SMART GOLD KILLER signalidan so'ng NARX DISCOUNT yoki PRemium ZONAGA BORISHINI KUTAMIZ
Monthly DividerThis Trading View indicator visually marks the beginning of each month starting from January 2024. It draws vertical lines on the chart at the start of each month and labels them with the corresponding month abbreviation (e.g., "Jan", "Feb"). Users can customize the color and thickness of the lines through the indicator settings, allowing for personalized chart aesthetics. This tool is ideal for traders and analysts who want to easily identify month transitions and enhance their technical analysis.
Quarterly Divider The "Quarterly Divider" script draws vertical lines at the start of each quarter (January, April, July, October) on the Trading View chart. It also labels each line with the corresponding quarter (Q1, Q2, Q3, Q4) at the bottom of the line, making it easy to visualize the start of each trading quarter. The color and thickness of the lines are customizable
NB. works effectively is used on the weekly timeframe
3 Candle Strategy with HighlightIt has a very good accuracy of 70% across any stock or Indices it is very useful to understand the trend reversal easily and tackle the sudden shift of the market very easily
Strategy by Nachi Chennai//@version=5
indicator("EMA Scalping Strategy", overlay=true)
// Input for EMA settings
ema_short = input.int(9, title="Short EMA", minval=1)
ema_medium = input.int(21, title="Medium EMA", minval=1)
ema_long = input.int(50, title="Long EMA", minval=1)
// EMA calculations
shortEMA = ta.ema(close, ema_short)
mediumEMA = ta.ema(close, ema_medium)
longEMA = ta.ema(close, ema_long)
// Input for RSI settings
rsi_length = input.int(14, title="RSI Length", minval=1)
rsi_overbought = input.int(70, title="RSI Overbought Level", minval=50)
rsi_oversold = input.int(30, title="RSI Oversold Level", minval=1)
// RSI calculation
rsi = ta.rsi(close, rsi_length)
// MACD settings
= ta.macd(close, 12, 26, 9)
// Conditions for Buy and Sell
buyCondition = ta.crossover(shortEMA, mediumEMA) and close > longEMA and rsi > 50 and macdLine > signalLine
sellCondition = ta.crossunder(shortEMA, mediumEMA) and close < longEMA and rsi < 50 and macdLine < signalLine
// Plotting EMAs
plot(shortEMA, color=color.new(color.blue, 0), title="Short EMA (9)")
plot(mediumEMA, color=color.new(color.orange, 0), title="Medium EMA (21)")
plot(longEMA, color=color.new(color.red, 0), title="Long EMA (50)")
// Plot Buy and Sell signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, text="SELL")
// Background Highlighting
bgcolor(buyCondition ? color.new(color.green, 90) : na, title="Buy Highlight")
bgcolor(sellCondition ? color.new(color.red, 90) : na, title="Sell Highlight")
MXI ALGO The provided script combines two powerful technical indicators, Ichimoku Cloud and HalfTrend, to create a hybrid trading tool. Here's an analysis of the key components and how they work together:
Smart Gold Killer ver 22.77 with ALERTSmart gold killer ver 22.77 with alert
Когда появится сигнал на покупку или продажу, с этого момента, и до следующего сигнала, вам будет несколько раз шанс
Candle Range HighlighterThis indicator highlights candles with a range exceeding a user-defined threshold, for example 60c candles.
When a large-range candle is detected, it visually highlights the following 10 candles to help identify potential areas of significance or volatility. Customizable threshold input allows fine-tuning for different trading styles or instruments. Designed for overlay on price charts.
Breakout with Volume and RSI FilterCommon Causes of the Error
Unintended Line Breaks:
Pine Script does not allow line breaks in the middle of a statement unless properly formatted.
Missing Parentheses or Brackets:
Ensure all (, ), , {, and } are properly closed.
Improper Use of Commas:
Ensure commas are used correctly in function arguments and arrays.
Unclosed Strings:
Ensure all strings are properly closed with double quotes (").
Fixed Pine Script Code
Here’s the corrected version of the Pine Script code, ensuring no unintended line breaks or syntax errors:
Andean Oscillator (alexgrover) / Owl of Profit remakeThis strategy uses the Andean Oscillator, a technical indicator designed for trend analysis, based on online algorithms for trend detection. Special thanks to alexgrover for the original concept and work!
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org
© alexgrover
Original post:
alpaca.markets
Features:
Calculates Bullish and Bearish components using advanced EMA envelope calculations.
Generates signals based on trend strength:
Long: When Bullish strength exceeds Bearish strength.
Short: When Bearish strength exceeds Bullish strength.
Includes a customizable Signal Line for additional trend confirmation.
Fully visualized in a separate panel for easy analysis.
Customization Options:
Adjust Length for EMA envelope sensitivity.
Modify Signal Length for smoother or more reactive signal line behavior.
This strategy is intended for demonstration and educational purposes. Use it to analyze market trends or as a foundation for further refinement.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
SPY/TLT Strategy█ STRATEGY OVERVIEW
The "SPY/TLT Strategy" is a trend-following crossover strategy designed to trade the relationship between TLT and its Simple Moving Average (SMA). The default configuration uses TLT (iShares 20+ Year Treasury Bond ETF) with a 20-period SMA, entering long positions on bullish crossovers and exiting on bearish crossunders. **This strategy is NOT optimized and performs best in trending markets.**
█ KEY FEATURES
SMA Crossover System: Uses price/SMA relationship for signal generation (Default: 20-period)
Dynamic Time Window: Configurable backtesting period (Default: 2014-2099)
Equity-Based Position Sizing: Default 100% equity allocation per trade
Real-Time Visual Feedback: Price/SMA plot with trend-state background coloring
Event-Driven Execution: Processes orders at bar close for accurate backtesting
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
TLT closing price crosses ABOVE SMA
Occurs within specified time window
Generates market order at next bar open
2. EXIT CONDITION
TLT closing price crosses BELOW SMA
Closes all open positions immediately
█ ADDITIONAL SETTINGS
SMA Period: Simple Moving Average length (Default: 20)
Start Time and End Time: The time window for trade execution (Default: 1 Jan 2014 - 1 Jan 2099)
Security Symbol: Ticker for analysis (Default: TLT)
█ PERFORMANCE OVERVIEW
Ideal Market Conditions: Strong trending environments
Potential Drawbacks: Whipsaws in range-bound markets
Backtesting results should be analyzed to optimize the MA Period and EMA Filter settings for specific instruments
Auto Trend Fib Signals BY studio DivinKey Features
Dynamic SL using ATR volatility measure
Two-Tier Profit Taking for partial/full exits
Automatic Level Calculation based on Fibonacci extensions
Clear Visual Labels with exact price levels
Consistent Risk Management (1.5-2% per trade)
Optimization Table
Parameter Scalping Day Trading Swing Trading
ATR Multiplier 1.0 1.5 2.0
TP1 (1.272) 70% Position 50% Position 30% Position
TP2 (1.618) 30% Position 50% Position 70% Position
Time Frame 15-min 1-hour 4-hour
Pro Tips
Confirm with Volume: Increase volume at Fib levels improves signal reliability
Adjust in Ranging Markets: Use tighter SL (1.0x ATR) during consolidation
Trailing Stop: Move SL to breakeven at TP1 hit
Session Timing: Trade during London/NY overlap for best volatility
YOUFX.ADR.V1"YOUFX.ADR.V1 is a comprehensive indicator that provides advanced analytical tools. Specifically designed for forex traders and financial markets. Add the indicator and choose the settings that best suit your trading strategy.
(Note: This indicator is for educational purposes only and is not an investment recommendation.)"
YOUFX.V3"YOUFX ALL IN ONE V2 is a comprehensive indicator that provides advanced analytical tools. Specifically designed for forex traders and financial markets. Add the indicator and choose the settings that best suit your trading strategy.
(Note: This indicator is for educational purposes only and is not an investment recommendation.)"
Auto Fibonacci LinesThis TradingView script is a modded version of the library called "VisibleChart" created by Pinecoder.
This version has the option for users to change the Fibonacci lines and price labels. This makes the script user-friendly.
Fibonacci extensions are a tool that traders can use to establish profit targets or estimate how far a price may travel after a retracement/pullback is finished. Extension levels are also possible areas where the price may reverse. This study automatically draws horizontal lines that are used to determine possible support and resistance levels.
It's designed to automatically plot Fibonacci retracement levels on chart, aiding in technical analysis for traders.
First, the highest and lowest bars on the chart are calculated. These values are used for Fibonacci extensions.
These values update as traders scroll or zoom their charts, this shows that it is a useful indicator that can dynamically calculate and draw visuals on visible bars only.
3 Down, 3 Up Strategy█ STRATEGY DESCRIPTION
The "3 Down, 3 Up Strategy" is a mean-reversion strategy designed to capitalize on short-term price reversals. It enters a long position after consecutive bearish closes and exits after consecutive bullish closes. This strategy is NOT optimized and can be used on any timeframes.
█ WHAT ARE CONSECUTIVE DOWN/UP CLOSES?
- Consecutive Down Closes: A sequence of trading bars where each close is lower than the previous close.
- Consecutive Up Closes: A sequence of trading bars where each close is higher than the previous close.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The price closes lower than the previous close for Consecutive Down Closes for Entry (default: 3) consecutive bars.
The signal occurs within the specified time window (between Start Time and End Time).
If enabled, the close price must also be above the 200-period EMA (Exponential Moving Average).
2. EXIT CONDITION
A Sell Signal is generated when the price closes higher than the previous close for Consecutive Up Closes for Exit (default: 3) consecutive bars.
█ ADDITIONAL SETTINGS
Consecutive Down Closes for Entry: Number of consecutive lower closes required to trigger a buy. Default = 3.
Consecutive Up Closes for Exit: Number of consecutive higher closes required to exit. Default = 3.
EMA Filter: Optional 200-period EMA filter to confirm long entries in bullish trends. Default = disabled.
Start Time and End Time: Restrict trading to specific dates (default: 2014-2099).
█ PERFORMANCE OVERVIEW
Designed for volatile markets with frequent short-term reversals.
Performs best when price oscillates between clear support/resistance levels.
The EMA filter improves reliability in trending markets but may reduce trade frequency.
Backtest to optimize consecutive close thresholds and EMA period for specific instruments.
Buy on 5 day low Strategy█ STRATEGY DESCRIPTION
The "Buy on 5 Day Low Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price drops below the lowest low of the previous five days. It enters a long position when specific conditions are met and exits when the price exceeds the high of the previous day. This strategy is optimized for use on daily or higher timeframes.
█ WHAT IS THE 5-DAY LOW?
The 5-Day Low is the lowest price observed over the last five days. This level is used as a reference to identify potential oversold conditions and reversal points.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price is below the lowest low of the previous five days (`close < _lowest `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the high of the previous day (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently oscillates around key support levels.
It is sensitive to oversold conditions, as indicated by the 5-Day Low, and overbought conditions, as indicated by the previous day's high.
Backtesting results should be analyzed to optimize the strategy for specific instruments and market conditions.
3-Bar Low Strategy█ STRATEGY DESCRIPTION
The "3-Bar Low Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price drops below the lowest low of the previous three bars. It enters a long position when specific conditions are met and exits when the price exceeds the highest high of the previous seven bars. This strategy is suitable for use on various timeframes.
█ WHAT IS THE 3-BAR LOW?
The 3-Bar Low is the lowest price observed over the last three bars. This level is used as a reference to identify potential oversold conditions and reversal points.
█ WHAT IS THE 7-BAR HIGH?
The 7-Bar High is the highest price observed over the last seven bars. This level is used as a reference to identify potential overbought conditions and exit points.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price is below the lowest low of the previous three bars (`close < _lowest `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
If the EMA Filter is enabled, the close price must also be above the 200-period Exponential Moving Average (EMA).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
MA Period: The lookback period for the 200-period EMA used in the EMA Filter. Default is 200.
Use EMA Filter: Enables or disables the EMA Filter for long entries. Default is disabled.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently oscillates around key support and resistance levels.
It is sensitive to oversold conditions, as indicated by the 3-Bar Low, and overbought conditions, as indicated by the 7-Bar High.
Backtesting results should be analyzed to optimize the MA Period and EMA Filter settings for specific instruments.
Bollinger Bands Reversal + IBS Strategy█ STRATEGY DESCRIPTION
The "Bollinger Bands Reversal Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price deviates below the lower Bollinger Band and the Internal Bar Strength (IBS) indicates oversold conditions. It enters a long position when specific conditions are met and exits when the IBS indicates overbought conditions. This strategy is suitable for use on various timeframes.
█ WHAT ARE BOLLINGER BANDS?
Bollinger Bands consist of three lines:
- **Basis**: A Simple Moving Average (SMA) of the price over a specified period.
- **Upper Band**: The basis plus a multiple of the standard deviation of the price.
- **Lower Band**: The basis minus a multiple of the standard deviation of the price.
Bollinger Bands help identify periods of high volatility and potential reversal points.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) is a measure of where the closing price is relative to the high and low of the bar. It is calculated as:
IBS = (Close - Low) / (High - Low)
A low IBS value (e.g., below 0.2) indicates that the close is near the low of the bar, suggesting oversold conditions. A high IBS value (e.g., above 0.8) indicates that the close is near the high of the bar, suggesting overbought conditions.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The IBS value is below 0.2, indicating oversold conditions.
The close price is below the lower Bollinger Band.
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the IBS value exceeds 0.8, indicating overbought conditions. This prompts the strategy to exit the position.
█ ADDITIONAL SETTINGS
Length: The lookback period for calculating the Bollinger Bands. Default is 20.
Multiplier: The number of standard deviations used to calculate the upper and lower Bollinger Bands. Default is 2.0.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently deviates from the Bollinger Bands.
It is sensitive to oversold and overbought conditions, as indicated by the IBS, which helps to identify potential reversals.
Backtesting results should be analyzed to optimize the Length and Multiplier parameters for specific instruments.
Average High-Low Range + IBS Reversal Strategy█ STRATEGY DESCRIPTION
The "Average High-Low Range + IBS Reversal Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price deviates significantly from its average high-low range and the Internal Bar Strength (IBS) indicates oversold conditions. It enters a long position when specific conditions are met and exits when the price shows strength by exceeding the previous bar's high. This strategy is suitable for use on various timeframes.
█ WHAT IS THE AVERAGE HIGH-LOW RANGE?
The Average High-Low Range is calculated as the Simple Moving Average (SMA) of the difference between the high and low prices over a specified period. It helps identify periods of increased volatility and potential reversal points.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) is a measure of where the closing price is relative to the high and low of the bar. It is calculated as:
IBS = (Close - Low) / (High - Low)
A low IBS value (e.g., below 0.2) indicates that the close is near the low of the bar, suggesting oversold conditions.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price has been below the buy threshold (calculated as `upper - (2.5 * hl_avg)`) for a specified number of consecutive bars (`bars_below_threshold`).
The IBS value is below the specified buy threshold (`ibs_buy_treshold`).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the high of the previous bar (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Length: The lookback period for calculating the average high-low range. Default is 20.
Bars Below Threshold: The number of consecutive bars the price must remain below the buy threshold to trigger a Buy Signal. Default is 2.
IBS Buy Threshold: The IBS value below which a Buy Signal is triggered. Default is 0.2.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently deviates from its average high-low range.
It is sensitive to oversold conditions, as indicated by the IBS, which helps to identify potential reversals.
Backtesting results should be analyzed to optimize the Length, Bars Below Threshold, and IBS Buy Threshold parameters for specific instruments.