Ichimoku with Shifted and Unshifted Senkou BIchimoku Kinko Hyo Indicator Explanation
The Ichimoku Kinko Hyo is a comprehensive technical indicator designed to provide insights into the market's trend, support/resistance levels, and momentum, all in one glance. It consists of five main components:
Tenkan-sen (Conversion Line): A fast-moving average.
Kijun-sen (Base Line): A slower-moving average.
Senkou Span A (Leading Span A): The average of Tenkan-sen and Kijun-sen, shifted forward in time.
Senkou Span B (Leading Span B): A slower moving average of the high and low price over a period of 52 periods, shifted forward in time.
Chikou Span (Lagging Line): The closing price shifted back in time by 26 periods.
The Ichimoku indicator is typically used to identify the trend direction, momentum, and support/resistance levels. The cloud formed between Senkou Span A and Senkou Span B is key in identifying the market's overall trend.
רצועות וערוצים
Vingativo MilionárioPasso 1: Crie uma conta na corretora na qual o Script funciona: nextronbroker.online
Passo 2: Logue na sua conta aqui no Tradingview, se não tiver, crie uma gratuitamente.
Passo 3: Clique na ⭐ acima para adicionar o script aos favoritos.
Pronto, agora é so abrir o ativo, clicar em indicadores e adicionar o script do vingativo no seu gráfico.
Sanket_OpThis Pine Script detects and highlights bullish and bearish engulfing candle patterns on the chart. It also plots today's Open, High, Low, and Close (OHLC) values, along with an Exponential Moving Average (EMA) based on user input. The script is designed for visual analysis and can trigger alerts for pattern recognition.
MACD Profitability Dashboard🌟 MACD Profitability Dashboard 🌟
Welcome to the MACD Profitability Dashboard! This powerful indicator is designed to help you make smarter trading decisions by providing key insights into the performance of your MACD-based strategy. Whether you're a beginner or an experienced trader, this tool will give you a clear understanding of how your trades are performing and where you can improve. 🚀
📊 What Does It Do?
This indicator tracks your trades based on MACD crossovers and calculates essential profitability metrics, such as:
Win Rate 🎯
The percentage of winning trades out of all trades taken.
Example: 60% means 6 out of 10 trades were profitable.
Average Profit/Loss 💰
The average profit or loss per trade.
Example:
10
m
e
a
n
s
,
o
n
a
v
e
r
a
g
e
,
e
a
c
h
t
r
a
d
e
m
a
d
e
10means,onaverage,eachtrademade10.
Average Gain 📈
The average profit of your winning trades.
Example:
20
m
e
a
n
s
y
o
u
r
w
i
n
n
i
n
g
t
r
a
d
e
s
m
a
d
e
20meansyourwinningtradesmade20 on average.
Average Loss 📉
The average loss of your losing trades.
Example:
15
m
e
a
n
s
y
o
u
r
l
o
s
i
n
g
t
r
a
d
e
s
l
o
s
t
15meansyourlosingtradeslost15 on average.
Risk-Reward Ratio ⚖️
The ratio of your average gain to your average loss.
Example: 1.33 means you're gaining 1.33 times more than you're losing.
Total Profit 💵
The cumulative profit from all your trades.
Example:
500
m
e
a
n
s
y
o
u
r
t
o
t
a
l
p
r
o
f
i
t
a
c
r
o
s
s
a
l
l
t
r
a
d
e
s
i
s
500meansyourtotalprofitacrossalltradesis500.
🛠️ How to Use It
Add the Indicator
Simply add this script to your TradingView chart.
Customize the Settings
Adjust the MACD parameters (Fast Length, Slow Length, Signal Smoothing) to match your strategy.
Toggle the display options to show or hide the MACD and Signal lines.
Analyze the Dashboard
Look at the Profitability Dashboard in the bottom-right corner of your chart.
Use the metrics to evaluate your strategy's performance and identify areas for improvement.
Make Smarter Trades
Use the Win Rate and Risk-Reward Ratio to assess the effectiveness of your strategy.
Focus on improving your Average Gain and reducing your Average Loss.
💡 Why Use This Indicator?
Clear Insights: Get a quick snapshot of your trading performance.
Data-Driven Decisions: Use real metrics to refine your strategy.
Easy to Use: No complicated setup—just add it to your chart and start analyzing.
Customizable: Adjust the settings to fit your trading style.
🚀 Take Your Trading to the Next Level
With the MACD Profitability Dashboard, you'll have all the tools you need to make informed, data-driven decisions. Whether you're looking to improve your win rate, optimize your risk-reward ratio, or simply track your progress, this indicator has you covered.
Start using it today and see the difference it makes in your trading! 🌟
Happy trading! 💹📊
Dashboard with Pattern Confirmation📊 Dashboard with Pattern Confirmation 📊
Welcome to the Dashboard with Pattern Confirmation indicator! This powerful tool is designed to help you identify key candlestick patterns and confirm their validity using additional technical indicators. Whether you're a beginner or an experienced trader, this dashboard provides a clear and concise overview of market conditions, helping you make better trading decisions.
🎯 What Does It Do?
This indicator combines candlestick pattern detection with technical confirmation tools to give you a comprehensive view of the market. It detects two popular patterns:
🔨 Hammer: A bullish reversal pattern that often signals a potential price bounce.
📈 Bullish Engulfing: A strong bullish reversal pattern where a green candle completely engulfs the previous red candle.
To ensure these patterns are reliable, the dashboard also includes:
📉 RSI (Relative Strength Index): Identifies overbought or oversold conditions.
📊 SMA 50 (Simple Moving Average): Confirms the trend direction (uptrend or downtrend).
📈 ATR (Average True Range): Measures market volatility.
📊 Volume: Tracks whether trading volume is increasing or decreasing.
🛠️ How to Use It
Pattern Detection: The dashboard will show you if a Hammer or Bullish Engulfing pattern is present with a ✅ or ❌.
Confirmation: For a pattern to be considered "Confirmed," it must meet additional criteria:
The trend must be upward (price above SMA 50).
The RSI must indicate oversold conditions (RSI < 30).
Dashboard Overview: The table provides a quick snapshot of key metrics, including RSI, SMA 50, ATR, and Volume, along with their current status (e.g., "Uptrend," "Oversold," "High Vol").
🚀 Why Use This Indicator?
Save Time: No need to manually check multiple indicators—everything is displayed in one place.
Increase Confidence: Confirmed patterns are more likely to lead to successful trades.
Stay Informed: Real-time updates on market conditions help you stay ahead of the game.
💡 Pro Tips
Combine this dashboard with other tools like support/resistance levels for even better results.
Use the "Confirmed" status as a filter to avoid false signals.
Adjust the table's position (e.g., position.bottom_right) if it obstructs your chart.
🌟 Happy Trading!
With the Dashboard with Pattern Confirmation, you'll have all the essential information at your fingertips. Whether you're scalping, swing trading, or investing, this tool will help you trade smarter and more confidently. Let’s crush those goals! 🚀📈
Feel free to customize or tweak the indicator to suit your trading style. If you have any questions or suggestions, don’t hesitate to reach out. Happy trading! 🎉
Bull Market Support Band by AnkiMinhasA comment has been added suggesting a descriptive note for the indicator. You can include a brief explanation like: "This indicator visualizes the Bull Market Support Band using a 21-week EMA and SMA to identify trends." Let me know if you'd like to incorporate it directly
Уровни поддержки и сопротивления ликвидации Биткоина Этот индикатор поможет вам визуализировать потенциальные зоны ликвидаций на графике и принимать более информированные торговые решения.
1 Minute Candle Strategythe script will work on any time frame, but specifically mentioned on 1 minutes candles. when applied on a 1 minutes chart the script will execute based on minute candle.
Vingativo ScriptVingativo Script
Vingativo Script
Vingativo Script
Vingativo Script
Vingativo Script
Vingativo Script
EXPONOVA by @thejamiulEXPONOVA is an advanced EMA-based indicator designed to provide a visually intuitive and actionable representation of market trends. It combines two EMAs (Exponential Moving Averages) with a custom gradient fill to help traders identify trend reversals, strength, and the potential duration of trends.
This indicator uses a gradient color fill between two EMAs—one short-term (20-period) and one longer-term (55-period). The gradient dynamically adjusts based on the proximity and relationship of the closing price to the EMAs, giving traders a unique visual insight into trend momentum and potential exhaustion points.
Key Features:
Dynamic Gradient Fill:
The fill color between the EMAs changes based on the bar's position relative to the longer-term EMA.
A fading gradient visually conveys the strength and duration of the trend. The closer the closing price is to crossing the EMA, the stronger the gradient, making trends easy to spot.
Precision EMA Calculations:
The indicator plots two EMAs (20 and 55) without cluttering the chart, ensuring traders have a clean and informative display.
Ease of Use:
Designed for both novice and advanced traders, this tool is effective in identifying trend reversals and entry/exit points.
Trend Reversal Detection:
Built-in logic identifies bars since the last EMA cross, dynamically adjusting the gradient to signal potential trend changes.
How It Works:
This indicator calculates two EMAs:
EMA 20 (Fast EMA): Tracks short-term price movements, providing early signals of potential trend changes.
EMA 55 (Slow EMA): Captures broader trends and smoothens noise for a clearer directional bias.
The area between the two EMAs is filled with a dynamic color gradient, which evolves based on how far the price has moved above or below EMA 55. The gradient acts as a visual cue to the strength and duration of the current trend:
Bright green shades indicate bullish momentum building over time.
Red tones highlight bearish momentum.
The fading effect in the gradient provides traders with an intuitive representation of trend strength, helping them gauge whether the trend is accelerating, weakening, or reversing.
Gradient-Filled Region: Unique visualization to simplify trend analysis without cluttering the chart.
Dynamic Trend Strength Indication: The gradient dynamically adjusts based on the price's proximity to EMA 55, giving traders insight into momentum changes.
Minimalist Design: The EMAs themselves are not displayed by default to maintain a clean chart while still benefiting from their analysis.
Customizable Lengths: Pre-configured with EMA lengths of 20 and 55, but easily modifiable for different trading styles or instruments.
How to Use This Indicator
Trend Detection: Look at the gradient fill for visual confirmation of trend direction and strength.
Trade Entries:
Enter long positions when the price crosses above EMA 55, with the gradient transitioning to green.
Enter short positions when the price crosses below EMA 55, with the gradient transitioning to red.
Trend Strength Monitoring:
A brighter gradient suggests a sustained and stronger trend.
A fading gradient may indicate weakening momentum and a potential reversal.
Important Notes
This indicator uses a unique method of color visualization to enhance decision-making but does not generate buy or sell signals directly.
Always combine this indicator with other tools or methods for comprehensive analysis.
Past performance is not indicative of future results; please practice risk management while trading.
How to Use:
Trend Following:
Use the gradient fill to identify the trend direction.
A consistently bright gradient indicates a strong trend, while fading colors suggest weakening momentum.
Reversal Signals:
Watch for gradient changes near the EMA crossover points.
These can signal potential trend reversals or consolidation phases.
Confirmation Tool:
Combine EXPONOVA with other indicators or candlestick patterns for enhanced confirmation of trade setups.
GOLDEN Trading System by @thejamiulGolden Pivot by thejamiul is the ultimate trading companion, meticulously designed to provide traders with precise and actionable market levels for maximizing trading success. With its innovative blend of pivot systems, high/low markers, and customizable features, this indicator empowers you to execute trades with accuracy and confidence.
Source of this indicator : This indicator is based on @TradingView original pivot point ( pivot point standard ) indicator with lot of custom and added features to identify breakouts. Bellow detail list of features with explanations.
What Makes Golden Pivot Unique?
This indicator integrates multiple pivot methodologies and key levels into one powerful tool, making it suitable for a wide variety of trading strategies. Whether you're into breakout trading, virgin trades, or analyzing market trends, Golden Pivot Pro v5 has got you covered.
Key Features:
Camarilla Pivots:
Calculates H3, H4, H5, L3, L4, and L5 levels dynamically.
Helps identify strong support and resistance zones for reversal or breakout opportunities.
Floor Pivots:
Classic pivot point along with BC (Bottom Center) and TC (Top Center) levels for intraday and swing trading setups.
Multi-Timeframe High/Low Levels:
Plots static high/low markers for yearly, monthly, weekly, and daily timeframes.
Provides clarity on major market turning points and breakout zones.
Close Price Levels:
Highlights yearly, monthly, weekly, and daily close prices to aid in understanding market bias.
Custom Timeframe Selection:
Flexibly choose daily, weekly, monthly, or yearly pivot resolutions to suit your trading style and objectives.
Comprehensive Visualization:
Color-coded levels for quick recognition of significant zones.
Dynamic updates to adapt to changing market conditions seamlessly.
EXPONOVA:
In input tab you will get EXPONOVA, it is build with two ema and gradient colours. It is very important for trend identification because if we only use pivot, we can not tell the market direction easily. So if you use the EXPONOVA we can easily tell the market trend because when the market is in up trend the EXPONOVA will be green and when the market is in downtrend the EXPONOVA will be red. So if we use pivot and EXPONOVA together we can build a rubout strategy.
This indicator enables you to implement strategies like:
Breakout Trading: Identify critical levels where price might break out for momentum trades.
Virgin Trades: Use untouched levels for precision entries with minimal risk.
Trend Reversals: Spot overbought or oversold zones using Camarilla and Floor Pivots.
Range-Bound Markets: Utilize high/low levels to define boundaries and trade within the range.
How to Use Golden Pivot by thejamiul for High-Accuracy Trading?
1. Breakout Trading If you like breakout trading then this indicator can help you a lot, here we will only take those trade which are broke green zone or red zone. Here green zone mean H3, to H4, and red zone mean L3, L4 . If price closes above green zone then we will plan to go Long and if price closes bellow red zone then we will plan to go Short.
As you can see on the chart when price break the green zone, the market shoot up!
2. Range-Bound Trading: When market are in range bound mode, usually we fear to take trade because we don't have clear idea about major support or resistance and how to take trade in such market. But if you use this indicator it will show you the major support and resistance zone which are red and green colours in this indicator. In range bound market, market usually trade between red zone and green zone so we can trade accordingly.
Supertrend with EMAs (288 & 50)This indicator combines the Supertrend with two key Exponential Moving Averages (EMAs) — the 50 EMA and the 288 EMA — to help traders identify trends and possible entry or exit points in the market.
Key Features:
Supertrend Indicator:
The Supertrend indicator is a widely used trend-following tool. It helps determine whether the market is in an uptrend or downtrend by adjusting based on the Average True Range (ATR).
In this indicator, green represents an uptrend, and red represents a downtrend.
288 EMA:
The 288-period Exponential Moving Average is plotted to show the long-term market trend. It reacts more quickly to recent price changes than a simple moving average, offering an effective way to gauge long-term market direction.
50 EMA:
The 50-period Exponential Moving Average is commonly used as a short-term trend indicator. It helps identify shorter-term trends and serves as a dynamic support/resistance level.
EMA Crossover Alerts:
This indicator includes alerts for when the 50 EMA crosses above the 288 EMA (bullish signal) and when it crosses below (bearish signal), helping traders catch trend reversals or confirmation of current trends.
Supertrend Alerts:
Alerts are triggered when the Supertrend indicator switches from uptrend to downtrend or downtrend to uptrend, indicating a potential shift in market direction.
Usage:
Uptrend Confirmation: When the Supertrend is green and the 50 EMA is above the 288 EMA, it signals that the market is in a strong bullish trend.
Downtrend Confirmation: When the Supertrend is red and the 50 EMA is below the 288 EMA, it indicates that the market is in a bearish trend.
Crossover Signals: The indicator provides alerts when the 50 EMA crosses above or below the 288 EMA, helping traders spot trend changes.
Best For:
Trend-following strategies
Identifying potential trend reversals and market shifts
Traders looking for a combination of short-term and long-term trend analysis
Note: This indicator is most effective when used in conjunction with other technical analysis tools and should be considered alongside other factors such as volume, support/resistance levels, and price action.
GOLDEN RSI by @thejamiulGOLDEN RSI thejamiul is a versatile Relative Strength Index (RSI)-based tool designed to provide enhanced visualization and additional insights into market trends and potential reversal points. This indicator improves upon the traditional RSI by integrating gradient fills for overbought/oversold zones and divergence detection features, making it an excellent choice for traders who seek precise and actionable signals.
Source of this indicator : This indicator is based on @TradingView original RSI indicator with a little bit of customisation to enhance overbought and oversold identification.
Key Features
1. Customizable RSI Settings:
RSI Length: Adjust the RSI calculation period to suit your trading style (default: 14).
Source Selection: Choose the price source (e.g., close, open, high, low) for RSI calculation.
2. Gradient-Filled RSI Zones:
Overbought Zone (80-100): Gradient fill with shades of green to indicate strong bullish conditions.
Oversold Zone (0-20): Gradient fill with shades of red to highlight strong bearish conditions.
3. Support and Resistance Levels:
Upper Band: 80
Middle Bands: 60 (bullish) and 40 (bearish)
Lower Band: 20
These levels help identify overbought, oversold, and neutral zones.
4. Divergence Detection:
Bullish Divergence: Detects lower lows in price with corresponding higher lows in RSI, signaling potential upward reversals.
Bearish Divergence: Detects higher highs in price with corresponding lower highs in RSI, indicating potential downward reversals.
Visual Indicators:
Bullish divergence is marked with green labels and line plots.
Bearish divergence is marked with red labels and line plots.
5. Alert Functionality:
Custom Alerts: Set up alerts for bullish or bearish divergences to stay notified of potential trading opportunities without constant chart monitoring.
6. Enhanced Chart Visualization:
RSI Plot: A smooth and visually appealing RSI curve.
Color Coding: Gradient and fills for better distinction of trading zones.
Pivot Labels: Clear identification of divergence points on the RSI plot.
Dynamic Risk Levels with Buy/Sell TextIntroduction
Risk management and making the right decisions while trading can be quite complex. To help you overcome these challenges, we developed the Dynamic Risk Levels and Buy/Sell Text indicator. This indicator aims to simplify your decision-making processes by combining volatility analysis, dynamic risk levels and RSI (Relative Strength Index) signals. This tool, which clearly visualizes buy/sell levels and risk zones on the chart, offers an ideal solution for investors of all levels.
---
Key Features
1. ATR Based Volatility Calculation
The indicator uses the Average True Range (ATR) method to measure market volatility. Combined with Fibonacci's golden ratio (1.618), ATR creates risk levels that dynamically adapt to market conditions.
2. Determining Buy and Sell Levels
The lowest closing price during a specified period is defined as the buy level, and the highest closing price is defined as the sell level.
3. Dynamic Long and Short Risk Levels
Long (buy) risk level: Buy level + (ATR * 1.618)
Short (sell) risk level: Sell level - (ATR * 1.618)
These levels are constantly updated according to the volatility of the market.
4. Additional Filtering with RSI
RSI (Relative Strength Index) filters out false signals by identifying overbought and oversold areas.
Buy Signal: RSI < 30
Sell Signal: RSI > 70
5. Visualization of Buy/Sell Signals
On the chart:
Buy signals are indicated with a green "Buy" label.
Sell signals are marked with a red "Sell" label.
These visualizations help you make quick and easy decisions.
---
Levels Shown on the Chart
1. Dynamic Risk Levels
Long Risk Level (Green Line): Indicates the safe level for buying positions.
Short Risk Level (Red Line): Indicates the safe level for selling positions.
2. Buy and Sell Levels
Buy Level (Blue Line): Indicates the long-term low closing level.
Sell Level (Orange Line): Indicates the long-term high closing level.
---
How to Use?
1. Long Trading Strategy:
A "Buy" signal is generated when the price goes below the long risk level and then goes above it again and RSI < 30.
2. Short Trading Strategy:
A "Sell" signal is generated when the price goes above the short risk level and then goes below it again and RSI > 70.
---
Conclusion
This indicator supports volatility-based risk management by adapting to the dynamic structure of the market and also provides reliable buy/sell signals. The Dynamic Risk Levels and Buy/Sell Text indicator is an ideal tool for investors who want to create a simple and effective trading strategy.
Using this indicator on the TradingView platform, you can make more informed decisions and better manage your risks.
Remember: No indicator is 100% accurate; always analyze market conditions carefully and pay attention to risk management.
Moving Average Channel (MAC)The strategy uses two Simple Moving Averages (SMA): an upper MA based on the high price and a lower MA based on the low price. Key features include:
Entry Condition: Enter a long position after five consecutive bars close above the upper MA.
Exit Conditions:
Close the position if five consecutive bars close below the lower MA.
Close the position if the price drops below 25% of the highest price recorded since entry (stop-loss).
Key Features:
Dynamic Entry: Long position is triggered only after consistent strength in price (5 bars above the upper MA).
Dynamic Exit:
Tracks weakness (5 bars below the lower MA) for exit.
Implements a stop-loss based on 25% retracement from the highest price recorded post-entry.
Customizable Parameters: MA lengths and stop-loss percentage are adjustable to fit different trading styles and market conditions.
This script provides a simple yet effective trend-following strategy with built-in risk management.
RY-Parabolic Stop and ReverseParabolic Stop and Reverse with Support Resistance (PSAR-SR)
Identify dynamic support and resistance levels based on price movements.
Reduce false signals often generated by the regular PSAR.
Provide more accurate trading decisions by considering previous reversal points as support and resistance.
How Does PSAR-SR Work?
PSAR Reversal Points:
When the regular PSAR generates a reversal signal, the price at that reversal point is used as support (in an uptrend) or resistance (in a downtrend).
Support and Resistance Lines:
Support: A line drawn from the previous PSAR reversal point in an uptrend.
Resistance: A line drawn from the previous PSAR reversal point in a downtrend.
Price often moves sideways between these support and resistance levels before a breakout occurs.
Breakout Above/Below Support and Resistance:
A Buy signal is generated when the price breaks above resistance with a new candle closing above it.
A Sell signal is generated when the price breaks below support with a new candle closing below it.
Strategy Using PSAR-SR
Wait for the Breakout:
Avoid buying or selling immediately when the PSAR gives a signal.
Confirm that the price breaks past the support or resistance levels and forms a new candle outside those lines.
Use Alongside Other Indicators:
PSAR-SR is not recommended as a standalone tool. Use additional confirmation indicators such as:
Moving Average: To identify long-term trends.
RSI or MACD: To confirm momentum or overbought/oversold conditions.
Advantages of PSAR-SR
Reduces False Signals:
By focusing on previous support and resistance levels, PSAR-SR avoids invalid signals.
Helps Identify Breakouts:
It provides better insight for traders to enter the market during valid breakouts.
Limitations of PSAR-SR
Not Suitable for Sideways Markets:
If the price moves sideways for an extended period, the signals may become less effective.
Requires Additional Confirmation:
Should be used in combination with other indicators to improve accuracy.
Conclusion
PSAR-SR is a helpful tool for identifying dynamic support and resistance levels and generating buy/sell signals based on price breakouts. However, it should always be used with additional indicators for confirmation to avoid false trades.
Disclaimer:
Use this indicator at your own risk, and always perform additional analysis before making any trading decisions.
If you'd like further clarification or examples of how to apply this to a chart, feel free to ask! 😊
AVP 259 alertsits a mixture of indicators that merges the famous indicators in one single form to easily get explained with their study and mastery
Candle Rangethe Candle Range refers to the difference between the high price (High) and the low price (Low) of a specific candle or bar.
Example:
For a given candle on the chart:
The high price is 120.
The low price is 100.
The candle range is 20 (120 - 100).
Uses:
Volatility Measurement: The candle range is often used to assess an asset's volatility over time. For example, averaging candle ranges can indicate the average volatility.
Indicator Development: Many indicators, such as Average True Range (ATR), rely on candle ranges to provide insights about market conditions.
Trade Filters: Candle ranges can act as filters in strategies to avoid trading during periods of low volatility.
Moving Average Ribbon SetThe Moving Average Ribbon is a powerful visualization tool for identifying trends and potential reversals in trading. By using 8 moving averages (MAs), you can enhance its sensitivity and applicability to various trading strategies.
Suggested Configuration for an 8-MA Ribbon:
Short-Term MAs: These react quickly to price changes, helping identify immediate trends.
5-period MA
10-period MA
Medium-Term MAs: These offer a balance between sensitivity and reliability.
20-period MA
30-period MA
Long-Term MAs: These filter out short-term noise, focusing on macro trends.
50-period MA
100-period MA
Extended-Term MAs: These highlight the overarching market sentiment.
150-period MA
200-period MA
Candle Range (High-Low)the Candle Range refers to the difference between the high price (High) and the low price (Low) of a specific candle or bar.
Example:
For a given candle on the chart:
The high price is 120.
The low price is 100.
The candle range is 20 (120 - 100).
Uses:
Volatility Measurement: The candle range is often used to assess an asset's volatility over time. For example, averaging candle ranges can indicate the average volatility.
Indicator Development: Many indicators, such as Average True Range (ATR), rely on candle ranges to provide insights about market conditions.
Trade Filters: Candle ranges can act as filters in strategies to avoid trading during periods of low volatility.
Candle Range (High-Low)the Candle Range refers to the difference between the high price (High) and the low price (Low) of a specific candle or bar.
Example:
For a given candle on the chart:
The high price is 120.
The low price is 100.
The candle range is 20 (120 - 100).
Uses:
Volatility Measurement: The candle range is often used to assess an asset's volatility over time. For example, averaging candle ranges can indicate the average volatility.
Indicator Development: Many indicators, such as Average True Range (ATR), rely on candle ranges to provide insights about market conditions.
Trade Filters: Candle ranges can act as filters in strategies to avoid trading during periods of low volatility.
Fibobull Düzeltme Türkce Vol.2//@version=5
//@fibobull
indicator("Fibobull Düzeltme Türkce Vol.2", overlay=true)
devTooltip = "Deviation is a multiplier that affects how much the price should deviate from the previous pivot in order for the bar to become a new pivot."
depthTooltip = "The minimum number of bars that will be taken into account when calculating the indicator."
// Pivots threshold
threshold_multiplier = input.float(title="Deviation", defval=10, minval=0, tooltip=devTooltip)
depth = input.int(title="Depth", defval=3, minval=2, tooltip=depthTooltip)
reverse = input(false, "Reverse", display = display.data_window)
var extendLeft = input(false, "Extend Left | Extend Right", inline = "Extend Lines")
var extendRight = input(true, "", inline = "Extend Lines")
var extending = extend.none
if extendLeft and extendRight
extending := extend.both
if extendLeft and not extendRight
extending := extend.left
if not extendLeft and extendRight
extending := extend.right
prices = input(true, "Show Prices", display = display.data_window)
levels = input(true, "Show Levels", inline = "Levels", display = display.data_window)
labelsPosition = input.string("Left", "Labels Position", options = , display = display.data_window)
var int backgroundTransparency = input.int(85, "Background Transparency", minval = 0, maxval = 100, display = display.data_window)
// Text size input
textSize = input.string(title="Text Size", defval="normal", options= , display = display.data_window)
import TradingView/ZigZag/7 as zigzag
update() =>
var settings = zigzag.Settings.new(threshold_multiplier, depth, color(na), false, false, false, false, "Absolute", true)
var zigzag.ZigZag zigZag = zigzag.newInstance(settings)
var zigzag.Pivot lastP = na
var float startPrice = na
var float endPrice = na // End price değişkenini ekliyoruz
var float height = na
settings.devThreshold := ta.atr(10) / close * 100 * threshold_multiplier
if zigZag.update()
lastP := zigZag.lastPivot()
if not na(lastP)
var line lineLast = na
if na(lineLast)
lineLast := line.new(lastP.start, lastP.end, xloc=xloc.bar_time, color=color.gray, width=1, style=line.style_dashed)
else
line.set_first_point(lineLast, lastP.start)
line.set_second_point(lineLast, lastP.end)
startPrice := reverse ? lastP.start.price : lastP.end.price
endPrice := reverse ? lastP.end.price : lastP.start.price // End price'i burada atıyoruz
height := (startPrice > endPrice ? -1 : 1) * math.abs(startPrice - endPrice)
= update()
_draw_line(price, col) =>
var id = line.new(lastP.start.time, lastP.start.price, time, price, xloc=xloc.bar_time, color=col, width=1, extend=extending)
line.set_xy1(id, lastP.start.time, price)
line.set_xy2(id, lastP.end.time, price)
id
_draw_label(price, txt, txtColor) =>
x = labelsPosition == "Left" ? lastP.start.time : not extendRight ? lastP.end.time : time
labelStyle = labelsPosition == "Left" ? label.style_label_right : label.style_label_left
align = labelsPosition == "Left" ? text.align_right : text.align_left
var id = label.new(x=x, y=price, xloc=xloc.bar_time, text=txt, textcolor=txtColor, style=labelStyle, textalign=align, color=#00000000, size=textSize)
label.set_xy(id, x, price)
label.set_text(id, txt)
label.set_textcolor(id, txtColor)
_label_txt(level, price) =>
(levels ? level : "") + (prices ? " (" + str.tostring(price, format.mintick) + ")" : "")
_crossing_level(series float sr, series float r) =>
(r > sr and r < sr ) or (r < sr and r > sr )
processLevel(bool show, float value, string label, color colorL, line lineIdOther) =>
r = startPrice + height * value
crossed = _crossing_level(close, r)
if show and not na(lastP)
lineId = _draw_line(r, colorL)
_draw_label(r, _label_txt(label, r), colorL)
if crossed
alert("Autofib: " + syminfo.ticker + " crossing level " + str.tostring(label))
if not na(lineIdOther)
linefill.new(lineId, lineIdOther, color = color.new(colorL, backgroundTransparency))
lineId
else
lineIdOther
// Define the text values and colors for each level
show_tepe = input(true, "Show Tepe", display = display.data_window)
color_tepe = input(color.new(color.gray, 50), "Tepe Color", display = display.data_window)
show_tepeye_yakin = input(true, "Show Tepeye Yakın", display = display.data_window)
color_tepeye_yakin = input(color.new(color.green, 50), "Tepeye Yakın Color", display = display.data_window)
show_hala_duzeltiyor = input(true, "Show Düzeltiyor", display = display.data_window)
color_hala_duzeltiyor = input(color.new(color.red, 50), "Düzeltiyor Color", display = display.data_window)
show_alim_yerleri = input(true, "Show Alım Yerleri", display = display.data_window)
color_alim_yerleri = input(color.new(color.blue, 50), "Alım Yerleri Color", display = display.data_window)
show_alabilirsin = input(true, "Show Alabilirsin", display = display.data_window)
color_alabilirsin = input(color.new(color.orange, 50), "Alabilirsin Color", display = display.data_window)
show_almaya_devam = input(true, "Show Almaya Devam", display = display.data_window)
color_almaya_devam = input(color.new(color.purple, 50), "Almaya Devam Color", display = display.data_window)
show_maliyet_dusur = input(true, "Show Maliyet Düşür", display = display.data_window)
color_maliyet_dusur = input(color.new(color.yellow, 50), "Maliyet Düşür Color", display = display.data_window)
show_maliyet_dusur_stop_ol = input(true, "Show Maliyet Düşür - Altında Stop OL", display = display.data_window)
color_maliyet_dusur_stop_ol = input(color.new(color.red, 50), "Maliyet Düşür - Altında Stop OL Color", display = display.data_window)
// Determine the text labels based on the direction
labelTepe = startPrice > endPrice ? "Tepe" : "Dip"
labelTepeyeYakin = startPrice > endPrice ? "Tepeye Yakın" : "Dibe Yakın"
labelHalaDuzeltiyor = startPrice > endPrice ? "Düzeltiyor" : "Düşüşü Düzeltiyor"
labelAlimYerleri = startPrice > endPrice ? "Alış Yerleri" : "Satış Yerleri"
labelAlabilirsin = startPrice > endPrice ? "Alabilirsin" : "Satabilirsin"
labelAlmayaDevam = startPrice > endPrice ? "Almaya Devam" : "Satmaya Devam"
labelMaliyetDusur = startPrice > endPrice ? "Maliyet Düşür" : "Stop Hazırlan"
labelMaliyetDusurStopOl = startPrice > endPrice ? "Maliyet Düşür-Altında Stop OL" : "Son Seviye Üstünde Stop OL"
// Process each text level
lineIdTepe = processLevel(show_tepe, 0.0, labelTepe, color_tepe, line(na))
lineIdTepeyeYakin = processLevel(show_tepeye_yakin, 0.236, labelTepeyeYakin, color_tepeye_yakin, lineIdTepe)
lineIdHalaDuzeltiyor = processLevel(show_hala_duzeltiyor, 0.382, labelHalaDuzeltiyor, color_hala_duzeltiyor, lineIdTepeyeYakin)
lineIdAlimYerleri = processLevel(show_alim_yerleri, 0.5, labelAlimYerleri, color_alim_yerleri, lineIdHalaDuzeltiyor)
lineIdAlabilirsin = processLevel(show_alabilirsin, 0.618, labelAlabilirsin, color_alabilirsin, lineIdAlimYerleri)
lineIdAlmayaDevam = processLevel(show_almaya_devam, 0.65, labelAlmayaDevam, color_almaya_devam, lineIdAlabilirsin)
lineIdMaliyetDusur = processLevel(show_maliyet_dusur, 0.786, labelMaliyetDusur, color_maliyet_dusur, lineIdAlmayaDevam)
lineIdMaliyetDusurStopOl = processLevel(show_maliyet_dusur_stop_ol, 1.0, labelMaliyetDusurStopOl, color_maliyet_dusur_stop_ol, lineIdMaliyetDusur)
Fibonacci Trend - Aynet1. Inputs
lookbackPeriod: Defines the number of bars to consider for calculating swing highs and lows. Default is 20.
fibLevel1 to fibLevel5: Fibonacci retracement levels to calculate price levels (23.6%, 38.2%, 50%, 61.8%, 78.6%).
useTime: Enables or disables time-based Fibonacci projections.
riskPercent: Defines the percentage of risk for trading purposes (currently not used in calculations).
2. Functions
isSwingHigh(index): Identifies a swing high at the given index, where the high of that candle is higher than both its previous and subsequent candles.
isSwingLow(index): Identifies a swing low at the given index, where the low of that candle is lower than both its previous and subsequent candles.
3. Variables
swingHigh and swingLow: Store the most recent swing high and swing low prices.
swingHighTime and swingLowTime: Store the timestamps of the swing high and swing low.
fib1 to fib5: Fibonacci levels based on the difference between swingHigh and swingLow.
4. Swing Point Detection
The script checks if the last bar is a swing high or swing low using the isSwingHigh() and isSwingLow() functions.
If a swing high is detected:
The high price is stored in swingHigh.
The timestamp of the swing high is stored in swingHighTime.
If a swing low is detected:
The low price is stored in swingLow.
The timestamp of the swing low is stored in swingLowTime.
5. Fibonacci Levels Calculation
If both swingHigh and swingLow are defined, the script calculates the Fibonacci retracement levels (fib1 to fib5) based on the price difference (priceDiff = swingHigh - swingLow).
6. Plotting Fibonacci Levels
Fibonacci levels (fib1 to fib5) are plotted as horizontal lines using the line.new() function.
Labels (e.g., "23.6%") are added near the lines to indicate the level.
Lines and labels are color-coded:
23.6% → Blue
38.2% → Green
50.0% → Yellow
61.8% → Orange
78.6% → Red
7. Filling Between Fibonacci Levels
The plot() function creates lines for each Fibonacci level.
The fill() function is used to fill the space between two levels with semi-transparent colors:
Blue → Between fib1 and fib2
Green → Between fib2 and fib3
Yellow → Between fib3 and fib4
Orange → Between fib4 and fib5
8. Time-Based Fibonacci Projections
If useTime is enabled:
The time difference (timeDiff) between the swing high and swing low is calculated.
Fibonacci time projections are added based on multiples of 23.6%.
If the current time reaches a projected time, a label (e.g., "T1", "T2") is displayed near the high price.
9. Trading Logic
Two placeholder variables are defined for trading logic:
longCondition: Tracks whether a condition for a long trade is met (currently not implemented).
shortCondition: Tracks whether a condition for a short trade is met (currently not implemented).
These variables can be extended to define entry/exit signals based on Fibonacci levels.
How It Works
Detect Swing Points: It identifies recent swing high and swing low points on the chart.
Calculate Fibonacci Levels: Based on the swing points, it computes retracement levels.
Visualize Levels: Plots the levels on the chart with labels and fills between them.
Time Projections: Optionally calculates time-based projections for future price movements.
Trading Opportunities: The framework provides tools for detecting potential reversal or breakout zones using Fibonacci levels.