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.
廣量指標
PnL Crypto with USD to IDR Conversion
How to Use the Indicator
Input Your Average Buy Price and Position Size:
In the indicator settings, input your average buy price (the price at which you entered the position) and your position size (the amount of crypto you hold).
These values are used to calculate your PnL.
View the Average Buy Price Line:
A dotted horizontal line will be plotted on the chart at your average buy price. This helps you visually compare the current price to your entry point.
Check the Floating Label:
On the last bar of the chart, a floating label will display:
USDT PnL: Your profit or loss in USDT.
IDR PnL: Your profit or loss converted to Indonesian Rupiah.
The label will be colored green for profit and red for loss.
Understand the Calculations:
PnL in USDT: (Current Price - Average Buy Price) * Position Size
PnL in IDR: The USDT PnL is converted to IDR using the real-time USD/IDR exchange rate fetched from the FX_IDC:USDIDR ticker.
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.
JDF + RSI + ADX (Scalping) MejoradoIdeal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
Ideal para scalping de 5-15m
GOLDMASK Indicator (SO + Days Break)//@version=6
indicator("GOLDMASK Indicator (SO + Days Break)", overlay=true)
// Vstupy pro přizpůsobení stylu čar
lineStyleInput = input.string(title="Styl čáry", defval="Dashed", options= )
lineWidthInput = input.int(title="Šířka čáry", defval=1, minval=1)
sundayLineColor = input.color(title="Nedělní vertikální otevírací čára", defval=color.new(#00BFFF, 50)) // Světle modrá barva pro neděli
dayBreakColor = input.color(title="Čára přerušení dne", defval=color.new(#ADD8E6, 50)) // Světle modrá barva pro přerušení dne
weekStartColor = input.color(title="Čára začátku týdne", defval=color.new(#FF8C00, 50)) // Tmavě oranžová barva pro nový týden
// Definice funkce getLineStyle
getLineStyle(style) =>
switch style
"Dotted" => line.style_dotted
"Dashed" => line.style_dashed
"Solid" => line.style_solid
// Proměnná pro uložení ceny otevření v neděli
var float sundayOpenPrice = na
// Určení a vykreslení ceny otevření v neděli
if (dayofweek == dayofweek.sunday and hour == (syminfo.ticker == "XAUUSD" ? 18 : 17) and minute == 0)
sundayOpenPrice := open
// Vykreslení ceny otevření v neděli s 50% průhledností
plot(sundayOpenPrice, title="Sunday Open", style=plot.style_linebr, linewidth=lineWidthInput, color=sundayLineColor, trackprice=true)
// Funkce pro vykreslení vertikálních čar pro přerušení dne
drawVerticalLineForDay(dayOffset, isSunday) =>
int dayTimestamp = na(time) ? na : time - dayOffset * 86400000 + ((syminfo.ticker == "XAUUSD" ? 18 : 17) - 5) * 3600000
if not na(dayTimestamp) and hour(time ) < (syminfo.ticker == "XAUUSD" ? 18 : 17) and hour >= (syminfo.ticker == "XAUUSD" ? 18 : 17)
lineColor = isSunday ? weekStartColor : dayBreakColor
line.new(x1=bar_index, y1=low, x2=bar_index, y2=high, width=lineWidthInput, color=lineColor, style=line.style_dotted, extend=extend.both)
// Vykreslení čar pro poslední čtyři dny a použití jiné barvy pro neděli
for dayOffset = 0 to 3 by 1
isSunday = dayOffset == 0 and dayofweek == dayofweek.sunday
drawVerticalLineForDay(dayOffset, isSunday)
Last Week Close and Current Week Opentrade buy upside breakout of green line and viceversa for sell on opposite side
Turn of the Month Strategy on Steroids█ STRATEGY DESCRIPTION
The "Turn of the Month Strategy on Steroids" is a seasonal mean-reversion strategy designed to capitalize on price movements around the end of the month. It enters a long position when specific conditions are met and exits when the Relative Strength Index (RSI) indicates overbought conditions. This strategy is optimized for use on daily or higher timeframes.
█ WHAT IS THE TURN OF THE MONTH EFFECT?
The Turn of the Month effect refers to the observed tendency of stock prices to rise around the end of the month. This strategy leverages this phenomenon by entering long positions when the price shows signs of a reversal during this period.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The current day of the month is greater than or equal to the specified `dayOfMonth` threshold (default is 25).
The close price is lower than the previous day's close (`close < close `).
The previous day's close is also lower than the close two days ago (`close < close `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
There is no existing open position (`strategy.position_size == 0`).
2. EXIT CONDITION
A Sell Signal is generated when the 2-period RSI exceeds 65, indicating overbought conditions. This prompts the strategy to exit the position.
█ ADDITIONAL SETTINGS
Day of Month: The day of the month threshold for triggering a Buy Signal. Default is 25.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed to exploit seasonal price patterns around the end of the month.
It performs best in markets where the Turn of the Month effect is pronounced.
Backtesting results should be analyzed to optimize the `dayOfMonth` threshold and RSI parameters for specific instruments.
CPR, Pivot Levels, PDH/PDL, and EMAs BY HSEThis indicator include cpr with pivot levels, previous day high and low, and also you can add 3 ema's
EMA 50-200 KesişimEma 50-200 kesişimiyle al veren ve 200-50 kesişimiyle sat veren geliştirilmiş golden cross indikatördür.
EMA 8-21 KesişimEma 8-21 kesişimiyle al veren ve yanında ek olarak 200 emanın olması trendin ayı veya boğa yönlü olmasını görebilmeniz için geliştirilmiş bir indikatördür.
استراتژی مبتنی بر دادههای سوددهها//@version=5
strategy("استراتژی مبتنی بر دادههای سوددهها", overlay=true)
// فرض کنید این دادهها از یک منبع خارجی وارد میشوند
// برای مثال، یک آرایه از سیگنالهای خرید و فروش
buy_signals = array.new_float() // سیگنالهای خرید
sell_signals = array.new_float() // سیگنالهای فروش
// اضافه کردن سیگنالهای فرضی به آرایهها
array.push(buy_signals, 100) // مثال: سیگنال خرید در قیمت 100
array.push(sell_signals, 105) // مثال: سیگنال فروش در قیمت 105
// بررسی سیگنالها
if (array.size(buy_signals) > 0 and close >= array.get(buy_signals, 0))
strategy.entry("Buy", strategy.long)
if (array.size(sell_signals) > 0 and close >= array.get(sell_signals, 0))
strategy.close("Buy")
MA + RSI with Highlight and Value Displaygoodluck dui dẻ là chính chứ không biết code nó bắt mô tả dài chịu luôn:
Đọc truyện cho vui :)))))
Lăng Hàn - Một Đan Đế đại danh đỉnh định mang trong thân mình tuyệt thế công pháp vì truy cầu bước cuối, xé bỏ tấm màn thành thần nhưng thất bại đã phải bỏ mình. Thế nhưng ông trời dường như không muốn tuyệt dường người, Lăng Hàn đã được trọng sinh vào một thiếu niên cùng tên và điều may mắn nhất là "Bất Diệt Thiên Kinh" ấn ký vẫn còn nằm nguyên trong tâm thức hắn
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.
SMC By ThomasSmart Money Concept (SMC) Overview
SMC is a trading approach that focuses on how institutional players (smart money) manipulate price to hunt liquidity and create market imbalances. The strategy involves identifying key price actions such as BOS (Break of Structure), CHoCH (Change of Character), and EQH/EQL (Equal Highs/Equal Lows).
Key Terms:
1. BOS (Break of Structure):
A significant break of a previous high or low, signaling a continuation of the current trend.
2. CHoCH (Change of Character):
A reversal signal where the market shifts from bullish to bearish or vice versa.
Example: Lower lows transitioning to higher highs.
3. EQH/EQL (Equal Highs/Equal Lows):
Levels where price creates liquidity pools that institutions often target for stop-loss hunting before reversing.
SMC Workflow (Steps):
1. Spot Liquidity Grab:
Look for EQH/EQL being swept (price fakes out to hunt liquidity).
2. Identify CHoCH:
Observe when price transitions direction (e.g., bearish to bullish).
3. Wait for BOS:
Confirm the new trend direction by waiting for a Break of Structure.
4. Enter on Pullback:
- Identify the order block (last bearish candle before an up move or last bullish candle before a down move).
- Place your entry when price retests this zone.
5. Set Stop Loss:
Place stop loss just below the order block (for buys) or above the order block (for sells).
6. Take Profit:
Target key liquidity zones such as EQH/EQL or major supply/demand zones.
Example:
Buy Setup:
1. Price sweeps an EQL (Equal Low), hunting liquidity.
2. A CHoCH is observed as the price shifts from lower lows to higher highs.
3. BOS confirms the new bullish trend.
4. Enter on the order block retest.
5. Place stop loss below the order block.
6. Take profit at the next EQH or a resistance level.
Crypto Strategy Strategy Title: Crypto Trend Rider (EMA + RSI + ADX)
A Trend-Following Strategy for Cryptocurrencies with Built-In Risk Management
Strategy Overview
This strategy combines EMA crossovers, RSI momentum, and ADX trend strength to identify high-probability entries in trending crypto markets. It uses ATR-based exits to adapt to volatility, making it ideal for assets like Bitcoin (BTC) or Ethereum (ETH).
Key Features
Multi-Indicator Synergy:
EMA Crossover: 20-period and 50-period EMAs detect trend direction.
RSI Momentum: Confirms bullish/bearish strength (RSI > 50 or < 50).
ADX Filter: Ensures trades align with strong trends (ADX ≥ 20).
Volatility-Adaptive Exits:
Take Profit (TP): 2x ATR from entry price.
Stop Loss (SL): 1x ATR from entry price.
Visual Clarity:
Buy/Sell Labels: Clear arrows below/above bars.
TP/SL Lines: Plotted directly on the chart.
Indicator Plots: EMAs and ADX strength displayed for transparency.
How It Works
Entry Conditions
Long Entry:
EMA 20 crosses above EMA 50 (bullish trend).
RSI > 50 (positive momentum).
ADX ≥ 20 (strong trend confirmed).
Short Entry:
EMA 20 crosses below EMA 50 (bearish trend).
RSI < 50 (weak momentum).
ADX ≥ 20.
Exits
Take Profit: Closes positions at 2x the ATR to capture volatile moves.
Stop Loss: Protects against sudden reversals (1x ATR).
How to Use
Apply to Crypto Pairs: Test on BTC/USDT, ETH/USDT, etc.
Timeframes: Best on 1-hour (1H) or 4-hour (4H) charts.
Customization: Adjust inputs (e.g., adxThreshold, tpMultiplier).
Backtest: Use TradingView’s Strategy Tester to refine parameters.
EMA with Stochastic Cross Signals and Filtered EMA2/EMA4 Cross tôi dùng AI DeepSeek để tạo ra chỉ báo này, tôi không phải là coder :D
average N candel {hajian}این اندیکاتور بر اساس تعداد کندلی که در ورودی از کاربر میپرسد میانگین های و لوی کندلهای مشخص شده را به شما نمایش میدهد
This indicator shows you the averages and highs of the specified candles based on the number of candles it asks the user for at the input.
Indicateur Combiné UB et 10YDescription :
L'Indicateur Combiné UB et 10Y est un outil puissant conçu pour analyser les mouvements de l'Ultra Bond (UB) et du taux d'intérêt 10Y en prenant en compte à la fois le volume et les tendances du marché. Il utilise des moyennes mobiles pondérées par le volume (VWMA) et un oscillateur de volume pour identifier les conditions de marché favorables à l'achat ou à la vente.
Caractéristiques principales :
Analyse basée sur le Volume et la VWMA : L'indicateur analyse la relation entre le prix et la VWMA (Volume Weighted Moving Average) pour déterminer les tendances haussières et baissières.
Signaux d'achat et de vente pour l'UB :
Signal d'achat : Lorsque l'oscillateur de volume est positif et que la VWMA est inférieure au prix, indiquant une tendance haussière avec un volume soutenant cette direction.
Signal de vente : Lorsque l'oscillateur de volume est négatif et que la VWMA est supérieure au prix, indiquant une tendance baissière et une pression de vente croissante.
Analyse du 10Y :
Le signal de vente pour le 10Y est déclenché lorsque le volume du 10Y dépasse un seuil de 114 et que le prix du 10Y est supérieur à sa moyenne mobile, signalant un moment propice pour envisager une vente sur l'Ultra Bond.
Affichage clair :
Les signaux d'achat sont indiqués par des triangles verts sous la barre de prix.
Les signaux de vente sont indiqués par des triangles rouges au-dessus de la barre de prix pour l'UB, et des étiquettes rouges "🔻" pour le 10Y.
Volume et seuils dynamiques : Le volume de négociation et un seuil de volume spécifique pour le marché du 10Y sont pris en compte pour éviter les faux signaux pendant les périodes de faible activité.
Comment utiliser cet indicateur :
Utilisez les signaux d'achat et de vente de l'UB pour trader en fonction des tendances du marché et de l'oscillateur de volume.
Surveillez les signaux de vente du 10Y pour repérer des opportunités sur l'Ultra Bond, basées sur des volumes importants et une tendance haussière du 10Y.
Fonctionnalités supplémentaires :
Personnalisable : Vous pouvez ajuster les périodes des moyennes mobiles (VWMA, SMA) et les seuils de volume en fonction de vos préférences.
Outil de trading avancé : Idéal pour les traders utilisant des instruments comme l'Ultra Bond (UB) et souhaitant intégrer l'analyse des taux d'intérêt 10Y dans leur stratégie.
4H Multi-Timeframe StrategyKey Fixes:
Removed Dynamic Array Access:
Replaced array iteration with explicit timeframe checks
Directly specified each timeframe ("5", "15", etc.) as string literals
Simplified Logic:
Combined trend and momentum checks into single expressions
Eliminated unnecessary function calls
Maintained Original Features:
Multi-timeframe confirmation (5m,15m,30m,1h,2h)
Double confirmation system (EMA + RSI)
Visual buy/sell signals
Take profit levels (1.5%)
Alert system
This version works identically to the original strategy but complies with Pine Script's
Korrelyatsiya Indikatori (US30, Nasdaq, S&P 500)by ig Toni_5123 for only corrilation us30 nasdaq and sps500
EMA ME (12-32)//@version=5
indicator("EMA 12 & 32", overlay=true)
// محاسبه EMA ها
ema12 = ta.ema(close, 12)
ema32 = ta.ema(close, 32)
// رسم EMA ها روی نمودار
plot(ema12, color=color.blue, linewidth=2, title="EMA 12")
plot(ema32, color=color.red, linewidth=2, title="EMA 32")