RSI Volatility Suppression Zones [BigBeluga]RSI Volatility Suppression Zones is an advanced indicator that identifies periods of suppressed RSI volatility and visualizes these suppression zones on the main chart. It also highlights breakout dynamics, giving traders actionable insights into potential market momentum.
🔵 Key Features:
Detection of Suppression Zones:
Identifies periods where RSI volatility is suppressed and marks these zones on the main price chart.
Breakout Visualization:
When the price breaks above the suppression zone, the box turns aqua, and an upward label is drawn to indicate a bullish breakout.
If the price breaks below the zone, the box turns purple, and a downward label is drawn for a bearish breakout.
Breakouts accompanied by a "+" label represent strong moves caused by short-lived, tight zones, signaling significant momentum.
Wave Labels for Consolidation:
If the suppression zone remains unbroken, a "wave" label is displayed within the gray box, signifying continued price stability within the range.
Gradient Intensity Below RSI:
A gradient strip below the RSI line increases in intensity based on the duration of the suppressed RSI volatility period.
This visual aid helps traders gauge how extended the low volatility phase is.
🔵 Usage:
Identify Breakouts: Use color-coded boxes and labels to detect breakouts and their direction, confirming potential trend continuation or reversals.
Evaluate Market Momentum: Leverage "+" labels for strong breakout signals caused by short suppression phases, indicating significant market moves.
Monitor Price Consolidation: Observe gray boxes and wave labels to understand ongoing consolidation phases.
Analyze RSI Behavior: Utilize the gradient strip to measure the longevity of suppressed volatility phases and anticipate breakout potential.
RSI Volatility Suppression Zones provides a powerful visual representation of RSI volatility suppression, breakout signals, and price consolidation, making it a must-have tool for traders seeking to anticipate market movements effectively.
带和通道
Buy Sell with MacD, RSI & Volume Filters - By Satish6289
**MACD & RSI with Range and Volume Filter Strategy**
This strategy combines MACD and RSI indicators with additional range and volume filters to improve accuracy in identifying potential market tops and bottoms.
- **Buy Signal**: Triggered when MACD crosses above its signal line, RSI is below the oversold level, the price is below the lower range band, and volume exceeds its moving average.
- **Sell Signal**: Triggered when MACD crosses below its signal line, RSI is above the overbought level, the price is above the upper range band, and volume exceeds its moving average.
The range filter ensures trades are taken only when the price deviates significantly from its smoothed trend, while the volume filter adds confidence by requiring high trading activity.
Nadaraya-Watson Envelope [LuxAlgo]Chỉ báo kỹ thuật (Technical Indicator) là một công cụ quan trọng được sử dụng trong phân tích kỹ thuật để dự báo xu hướng giá cả trong tương lai của các tài sản tài chính như cổ phiếu, tiền tệ, hàng hóa, hay chỉ số. Chỉ báo này được tính toán từ các dữ liệu lịch sử về giá và khối lượng giao dịch, giúp các nhà giao dịch đưa ra các quyết định mua hoặc bán dựa trên các tín hiệu mà chỉ báo cung cấp.
Triple Supertrend avec indicateursBonjour,
Voici mon tout premier bout de script sur Trading View 👨💻
De ce fait, il n'est pas parfait et le code n'est pas très clean...
Il a été codé suite à l'exercice proposé dans cet article expliquant le SuperTrend : substack.com
Au plaisir de recevoir des commentaires ou de l'aide pour l'améliorer, notamment avec d'autres indicateurs 👍
👀 Par curiosité, j'ai passé tout le #CAC40 🇫🇷 avec l'indicateur Triple SuperTrend en hebdomadaire, et les résultats vont vous étonner 📈📊
✅ Actions qui viennent d'entrer dans un cycle positif :
✈️ Airbus EURONEXT:AIR ⭐️ ~163€
👜 Hermès EURONEXT:RMS ⭐️ ~2536€
📢 Publicis GETTEX:PUB ⭐️ ~101€
🚗 Renault EURONEXT:RNO ⭐️ ~48€
✅ Actions déjà installées dans un cycle positif :
🏨 Accor TSX:AC
⛏️ ArcelorMittal NYSE:MT
🏦 Axa EURONEXT:CS
📋 Bureau Veritas EURONEXT:BVI
🥛 Danone NYSE:BN
🔥 Engie EURONEXT:ENGI
👓 EssilorLuxottica NYSE:EL
🔌 Legrand EURONEXT:LR
✈️ Safran EURONEXT:SAF
🏠 Saint-Gobain EURONEXT:SGO
⚡ Schneider Electric NYSE:SU
🏬 Unibail-Rodamco-Westfield EURONEXT:URW
❌ Actions en cycle négatif ou hors cycle :
💨 Air Liquide NYSE:AI
🏦 BNP Paribas EURONEXT:BNP
🏗️ Bouygues EURONEXT:EN
💻 Capgemini EURONEXT:CAP
🛒 Carrefour EURONEXT:CA
💶 Crédit Agricole EURONEXT:ACA
✈️ Dassault Systèmes EURONEXT:DSY
💳 Edenred CBOE:EDEN
🧪 Eurofins EURONEXT:ERF
👜 Kering EURONEXT:KER
💄 L'Oréal SET:OR
🎩 LVMH EURONEXT:MC
🚙 Michelin EURONEXT:ML
📞 Orange EURONEXT:ORA
🥃 Pernod Ricard EURONEXT:RI
💊 Sanofi BME:SAN
🚗 Stellantis EURONEXT:STLAP
💡 STMicroelectronics EURONEXT:STMPA
🖥️ Teleperformance EURONEXT:TEP
🛡️ Thales EURONEXT:HO
⛽ TotalEnergies EURONEXT:TTE
🌊 Veolia EURONEXT:VIE
🚧 Vinci NYSE:DG
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)
GMAX-Smart-Single-CCICCI Length: (Default: 84) - The lookback period for CCI calculations.
Upper Threshold: (Default: 72) - The level above which the asset is considered overbought.
Lower Threshold: (Default: -72) - The level below which the asset is considered oversold.
Source: (Default: Close) - The price data used to calculate the CCI.
Show CCI in Subchart: (Default: True) - Toggle to display the CCI as a subchart.
Use Cases:
Trend Confirmation: Use the CCI to confirm the strength of trends.
Overbought/Oversold Conditions: Identify potential reversal zones.
Advanced Low Indicator Pro (sashadams)Advanced Low Indicator Pro is a versatile tool designed for analyzing price lows, identifying key support levels, and recognizing potential reversal zones. This indicator combines advanced smoothing techniques, customizable visualizations, and automated support level calculations, making it ideal for both intraday and swing trading.
Key Features
1. Historical Low Calculation:
• The indicator identifies the lowest price over a user-defined period (length) and plots it on the chart.
2. Smoothing Options:
• Supports four smoothing methods:
• EMA (Exponential Moving Average): Reacts quickly to price changes.
• SMA (Simple Moving Average): Provides a smoother line for trend filtering.
• WMA (Weighted Moving Average): Gives more weight to recent prices.
• RMA (Relative Moving Average): Balances smoothness and responsiveness.
• Users can set the smoothing length (smoothing_length) or disable smoothing entirely.
3. Line Offset (line_offset):
• The smoothed line can be shifted forward or backward to facilitate forecasting or historical analysis.
4. Background Signals:
• Highlights areas on the chart when the price drops below a defined threshold relative to the smoothed low.
5. Automatic Support Levels:
• Calculates and displays support levels at 2% and 5% below the smoothed low, helping traders identify critical buy zones.
How to Use the Indicator
1. Identifying Support Levels:
• The automated support levels indicate areas where the price is likely to bounce.
Example: When the price approaches the lower support level (5%), watch for potential reversals.
2. Choosing the Right Smoothing Method:
• EMA: Best for volatile markets with frequent price fluctuations.
• SMA: Suitable for analyzing trends in stable markets.
• WMA: Use for detailed analysis of short-term movements.
• RMA: Ideal when you need a balance between smoothness and reactivity.
3. Using Background Signals for Risk Zones:
• Enable the background highlights (show_background) to visualize risk zones where the price significantly deviates from the smoothed low.
Example: If the price enters the highlighted zone, it signals caution or potential buying opportunities.
4. Entry and Exit Strategies:
• Entry: Consider entering trades when the price touches or hovers near the smoothed low or support levels.
• Exit: Exit trades if the price remains below the support level for an extended period or enters the highlighted risk zone.
5. Combining with Other Indicators:
• Combine with oscillators (e.g., RSI, Stochastic) to confirm reversals.
• Pair with trend indicators (e.g., MA, MACD) to validate market direction.
5-Min Open Candle BreakoutThis indicator provies buy sell signal based on 5 min open candle breakout strategy.
Volume Spike & RSI Scalping (Session Restricted)//@version=6
strategy("Volume Spike & RSI Scalping (Session Restricted)", overlay=true)
// Inputs
rsi_length = input(14, title="RSI Length")
overSold = input(30, title="RSI Oversold Level")
overBought = input(70, title="RSI Overbought Level")
volume_threshold = input(1.5, title="Volume Spike Multiplier (e.g., 1.5x avg volume)")
risk_reward_ratio = input(2.0, title="Risk-Reward Ratio (1:X)")
atr_length = input(14, title="ATR Length")
session_start_london = input.time(timestamp("0000-01-01 08:00 +0000"), title="London Session Start (UTC)")
session_end_london = input.time(timestamp("0000-01-01 16:00 +0000"), title="London Session End (UTC)")
session_start_ny = input.time(timestamp("0000-01-01 13:00 +0000"), title="New York Session Start (UTC)")
session_end_ny = input.time(timestamp("0000-01-01 21:00 +0000"), title="New York Session End (UTC)")
// Helper Functions
is_session = (time >= session_start_london and time <= session_end_london) or (time >= session_start_ny and time <= session_end_ny)
// RSI Calculation
vrsi = ta.rsi(close, rsi_length)
// Volume Spike Detection
avg_volume = ta.sma(volume, 20)
volume_spike = volume > avg_volume * volume_threshold
// Entry Signals Based on RSI and Volume
long_condition = is_session and volume_spike and vrsi < overSold and close > open // Bullish price action
short_condition = is_session and volume_spike and vrsi > overBought and close < open // Bearish price action
// Execute Trades
if (long_condition)
stop_loss = low - ta.atr(atr_length)
take_profit = close + (close - stop_loss) * risk_reward_ratio
strategy.entry("Buy", strategy.long, comment="Buy Signal")
strategy.exit("Take Profit/Stop Loss", "Buy", stop=stop_loss, limit=take_profit)
if (short_condition)
stop_loss = high + ta.atr(atr_length)
take_profit = close - (stop_loss - close) * risk_reward_ratio
strategy.entry("Sell", strategy.short, comment="Sell Signal")
strategy.exit("Take Profit/Stop Loss", "Sell", stop=stop_loss, limit=take_profit)
// Background Highlighting for Signals
bgcolor(long_condition ? color.new(color.green, 85) : na, title="Long Signal Background")
bgcolor(short_condition ? color.new(color.red, 85) : na, title="Short Signal Background")
Fortuna/4.20FC. Индикатор для поиска ценовых уровней. Он ищет 2 ценовых уровня.
Красный уровень это уровень максимального количества совпадений цены(качаний)
Синий уровень это второй(2) по количеству совпадений!
BMA using ATR with MACD and FractalsI use this indicator mainly on forex and indexes. I am primarily a "return to trend" trader operating in ranging markets. I have not tried this indicator on Crypto and my gut says it will be less effective on Crypto because the volatility is too high.
The concept is using a longer ATR (default 250) as a normalized base for measuring how far price has deviated from "The Norm".
By default this Indicator uses the 50 period SMA as "The Norm". This can be changed.
I'm using a long ATR because the indicator can then automatically adjust to different time frames and instruments.
BMA indicators based on fixed values will need to be fine tuned to every combination of time frame and instrument. Too much hard work. A long term ATR makes sense as a normalizer.
Price can often behave like an elastic band, which eventually comes back to The Norm, and also often overshoot it.
This indicator shows how far from "The Norm" that price currently is, in a visually easy way to comprehend.
I usually set TP at "The Norm", or at 1 ATR beyond The Norm. "The Norm" kind of comes to price as price approaches "The Norm". Relatively bad TP to SL ratio sometimes, then reject the trade. But good win rate on Forex.
I'm looking for confirmation from MACD and Fractals, both built in to the main chart. If both look supportive, then its a high conviction trade. If neither support, I don't trade.
Both are built into the main chart. The MACD is superimposed on the top band in red or green.
Going forward, I might add alternatives to the MACD oscillator confirmation, such as a Stochi.
I'm also working on using the gradient of the baseline SMA, and/or using price crossing shorter MAs as potential addition signals to support the elastic return to "Norm".
I've indluded two shorter MAs in the current version that can be switched on to start of studying that.
all‐in‐one RSI Divergence - Mutasem13All‐in‐one RSI Divergence script that detects the four divergence strengths (Strong, Medium, Weak, Hidden) for both Bullish and Bearish, matching your cheat sheet. We use pivot detection (ta.pivotlow, ta.pivothigh) on RSI, comparing price vs. RSI swings:
Strong: Price forms Lower Low (Bullish) or Higher High (Bearish), while RSI forms Higher Low (Bullish) or Lower High (Bearish).
Medium: Price forms Equal Low/High, RSI forms Higher/Lower Low/High.
Weak: Price forms Lower/ Higher Low/High, RSI forms Equal Low/High.
Hidden: Price forms Higher/Lower Low/High, RSI forms Lower/Higher Low/High.
Each type has a toggle in the settings. We allow equality checks (<=/>=) so you can capture “equal” swing points too. All calls are single‐line to avoid line‐continuation errors. Copy/paste into TradingView’s Pine Editor, click “Add to Chart,” and it will compile in PineScript v6 with no errors.
K_MA_HOMEWORKTitle: KAMA with Bollinger Bands
Description:
Kaufman’s Adaptive Moving Average (KAMA) with Bollinger Bands is a powerful tool for traders looking to combine adaptive trend-following capabilities with volatility-based bands for dynamic market insights.
Key Features:
KAMA Line: Dynamically adjusts to market conditions, smoothing price fluctuations while remaining responsive to significant trends.
Bollinger Bands: Upper and lower bands adapt to market volatility, providing a visual representation of overbought and oversold conditions.
Customizable Settings: Fine-tune parameters for KAMA length, smoothing speeds, and band width to suit your trading style or specific markets.
Background Shading: Highlights potential overbought or oversold zones for quick visual insights.
How to Use:
Trend Identification: Use the KAMA line to determine the underlying trend. Price above KAMA suggests an uptrend; price below suggests a downtrend.
Reversal Signals: Watch for price crossing the bands to identify potential reversal points or breakout opportunities.
Volatility Assessment: The width of the bands reflects market volatility—narrow bands indicate low volatility, while wide bands signal high volatility.
This indicator is versatile and can be used for trend-following, breakout trading, and mean-reversion strategies. It’s ideal for traders seeking to filter market noise and focus on meaningful price movements.
Enhanced Trend Following Strategy for DOGEUSDT (1-Min Chart)This strategy is designed to capitalize on trend momentum while minimizing risk through calculated entries and exits. With a focus on high-frequency trading, it leverages key technical indicators such as EMA crossovers, ADX trend strength, and RSI for market momentum analysis.
Performance Overview
Net Profit: +7,176.92 USDT (0.72%)
Total Closed Trades: 39
Win Rate: 76.92%
Profit Factor: 1.819
Max Drawdown: 3,600.01 USDT (0.36%)
Avg Trade: 184.02 USDT (0.18%)
Avg # Bars in Trades: 39
Key Features
Dual EMA Trend Confirmation:
A fast EMA (e.g., 50-period) and slow EMA (e.g., 200-period) identify strong trend directions and crossovers to confirm entry points.
ADX Trend Strength Filtering:
The Average Directional Index (ADX) helps ensure trades are only taken during strong trending conditions, avoiding choppy markets.
RSI Momentum Indicator:
Avoids overbought/oversold conditions by filtering entries when RSI is in favorable territory.
Multi-Timeframe Analysis:
Uses higher timeframe data to confirm trend direction, adding robustness to the strategy.
Risk Management:
Dynamic stop-loss and take-profit levels adjust based on market volatility to capture optimal profit potential.
Trade Logic
Long Entry:
When the fast EMA crosses above the slow EMA, ADX confirms a strong trend, and RSI indicates upward momentum.
Stop-loss set below recent swing low, take-profit at a 5-10% gain target.
Short Entry:
When the fast EMA crosses below the slow EMA, ADX confirms a downtrend, and RSI indicates downward momentum.
Stop-loss above recent swing high, take-profit at a 5-10% gain target.
Exit Conditions:
Take profit triggered when predefined levels are hit, or an opposite crossover occurs.
Stop loss triggered on price reversal beyond key support/resistance levels.
Potential Improvements
Fine-tuning ADX smoothing to reduce whipsaws.
Experimenting with dynamic position sizing based on ATR.
Adding volume-based confirmations for increased accuracy.
This strategy provides a solid foundation for trend-following traders, especially on shorter timeframes such as the 1-minute chart, with a strong focus on maintaining a high win rate and keeping drawdowns under control.
Give it a shot and optimize it further to suit your trading style!
Intrablast Strategy Advance-RanjeetThe "Intrablast Strategy Advance-Ranjeet" indicator is a custom Pine Script that identifies buy and sell signals based on Weighted Moving Averages (WMAs) and an Exponential Moving Average (EMA). It calculates two WMAs with user-defined lengths (default: 8 and 13) and a 21-period EMA. A buy signal is generated when the shorter WMA crosses above the longer WMA (golden cross) and the price is above the EMA. Conversely, a sell signal is triggered when the shorter WMA crosses below the longer WMA (death cross) and the price is below the EMA. The indicator visually plots the EMA line and marks buy/sell signals on the chart with green and red arrows.
Relative Risk MetricOVERVIEW
The Relative Risk Metric is designed to provide a relative measure of an asset's price, within a specified range, over a log scale.
PURPOSE
Relative Position Assessment: Visualizes where the current price stands within a user-defined range, adjusted for log scale.
Logarithmic Transformation: Utilizes the natural log to account for a log scale of prices, offering a more accurate representation of relative positions.
Calculation: The indicator calculates a normalized value via the function Relative Price = / log(UpperBound) − log(LowerBound) . The result is a value between 0 and 1, where 0 corresponds to the lower bound and 1 corresponds to the upper bound on a log scale.
VISUALIZATION
The indicator plots three series:
Risk Metric - a plot of the risk metric value that’s computed from an asset's relative price so that it lies within a logarithmic range between 0.0 & 1.0.
Smoothed Risk Metric - a plot of the risk metric that’s been smoothed.
Entry/Exit - a scatter plot for identified entry and exit. Values are expressed as percent and are coded as red being exit and green being entity. E.g., a red dot at 0.02 implies exit 2% of the held asset. A green dot at 0.01 implies use 1% of a designated capital reserve.
USAGE
Risk Metric
The risk metric transformation function has several parameters. These control aspects such as decay, sensitivity, bounds and time offset.
Decay - Acts as an exponent multiplier and controls how quickly dynamic bounds change as a function of the bar_index.
Time Offset - provides a centering effect of the exponential transformation relative to the current bar_index.
Sensitivity - controls how sensitive to time the dynamic bound adjustments should be.
Baseline control - Serves as an additive offset for dynamic bounds computation which ensures that bounds never become too small or negative.
UpperBound - provides headroom to accomodate growth an assets price from the baseline. For example, an upperbound of 3.5 accommodates a 3.5x growth from the baseline value (e.g., $100 -> $350).
LowerBound - provides log scale compression such that the overall metric provides meaningful insights for prices well below the average whilst avoiding extreme scaling. A lowerbound of 0.25 corresponds to a price that is approx one quarter of a normalised baseline in a log context.
Weighted Entry/Exit
This feature provides a weighted system for identifying DCA entry and exit. This weighting mechanism adjusts the metric's interpretation to highlight conditions based on dynamic thresholds and user-defined parameters to identify high-probability zones for entry/exit actions and provide risk-adjusted insights.
Weighting Parameters
The weighting function supports fine-tuning of the computed weighted entry/exit values
Base: determines the foundational multiplier for weighting the entry/exit value. A higher base amplifies the weighting effect, making the weighted values more pronounced. It acts as a scaling factor to control the overall magnitude of the weighting.
Exponent: adjusts the curve of the weighting function. Higher exponent values increase sensitivity, emphasizing differences between risk metric values near the entry or exit thresholds. This creates a steeper gradient for the computed entry/exit value making it more responsive to subtle shifts in risk levels.
Cut Off: specifies the maximum percentage (expressed as a fraction of 1.0) that the weighted entry/exit value can reach. This cap ensures the metric remains within a meaningful range and avoids skewing
Exit condition: Defines a threshold for exit. When the risk metric is below the exit threshold (but above the entry threshold) then entry/exit is neutral.
Entry condition: Defines a threshold for entry. When the risk metric is above the entry threshold (but below the exit threshold) then entry/exit is neutral.
Weighting Behaviour
For entry conditions - value is more heavily weighted as the metric approaches the entry threshold, emphasizing lower risk levels.
For exit conditions - value is more heavily weighted as the metric nears the exit threshold, emphasizing increased risk levels.
USE-CASES
Identifying potential overbought or oversold conditions within the specified logarithmic range.
Assisting in assessing how the current price compares to historical price levels on a logarithmic scale.
Guiding decision-making processes by providing insights into the relative positioning of prices within a log context
CONSIDERATIONS
Validation: It's recommended that backtesting over historical data be done before acting on any identified entry/exit values.
User Discretion: This indicator focus on price risk. Consider other risk factors and general market conditions as well.
Volume Weighted Average Price_kumaran//@version=6
indicator(title="Volume Weighted Average Price", shorttitle="VWAP", overlay=true, timeframe="", timeframe_gaps=true)
hideonDWM = input(false, title="Hide VWAP on 1D or Above", group="VWAP Settings", display = display.data_window)
var anchor = input.string(defval = "Session", title="Anchor Period",
options= , group="VWAP Settings")
src = input(title = "Source", defval = hlc3, group="VWAP Settings", display = display.data_window)
offset = input.int(0, title="Offset", group="VWAP Settings", minval=0, display = display.data_window)
BANDS_GROUP = "Bands Settings"
CALC_MODE_TOOLTIP = "Determines the units used to calculate the distance of the bands. When 'Percentage' is selected, a multiplier of 1 means 1%."
calcModeInput = input.string("Standard Deviation", "Bands Calculation Mode", options = , group = BANDS_GROUP, tooltip = CALC_MODE_TOOLTIP, display = display.data_window)
showBand_1 = input(true, title = "", group = BANDS_GROUP, inline = "band_1", display = display.data_window)
bandMult_1 = input.float(1.0, title = "Bands Multiplier #1", group = BANDS_GROUP, inline = "band_1", step = 0.5, minval=0, display = display.data_window)
showBand_2 = input(false, title = "", group = BANDS_GROUP, inline = "band_2", display = display.data_window)
bandMult_2 = input.float(2.0, title = "Bands Multiplier #2", group = BANDS_GROUP, inline = "band_2", step = 0.5, minval=0, display = display.data_window)
showBand_3 = input(false, title = "", group = BANDS_GROUP, inline = "band_3", display = display.data_window)
bandMult_3 = input.float(3.0, title = "Bands Multiplier #3", group = BANDS_GROUP, inline = "band_3", step = 0.5, minval=0, display = display.data_window)
cumVolume = ta.cum(volume)
if barstate.islast and cumVolume == 0
runtime.error("No volume is provided by the data vendor.")
new_earnings = request.earnings(syminfo.tickerid, earnings.actual, barmerge.gaps_on, barmerge.lookahead_on, ignore_invalid_symbol=true)
new_dividends = request.dividends(syminfo.tickerid, dividends.gross, barmerge.gaps_on, barmerge.lookahead_on, ignore_invalid_symbol=true)
new_split = request.splits(syminfo.tickerid, splits.denominator, barmerge.gaps_on, barmerge.lookahead_on, ignore_invalid_symbol=true)
isNewPeriod = switch anchor
"Earnings" => not na(new_earnings)
"Dividends" => not na(new_dividends)
"Splits" => not na(new_split)
"Session" => timeframe.change("D")
"Week" => timeframe.change("W")
"Month" => timeframe.change("M")
"Quarter" => timeframe.change("3M")
"Year" => timeframe.change("12M")
"Decade" => timeframe.change("12M") and year % 10 == 0
"Century" => timeframe.change("12M") and year % 100 == 0
=> false
isEsdAnchor = anchor == "Earnings" or anchor == "Dividends" or anchor == "Splits"
if na(src ) and not isEsdAnchor
isNewPeriod := true
float vwapValue = na
float upperBandValue1 = na
float lowerBandValue1 = na
float upperBandValue2 = na
float lowerBandValue2 = na
float upperBandValue3 = na
float lowerBandValue3 = na
if not (hideonDWM and timeframe.isdwm)
= ta.vwap(src, isNewPeriod, 1)
vwapValue := _vwap
stdevAbs = _stdevUpper - _vwap
bandBasis = calcModeInput == "Standard Deviation" ? stdevAbs : _vwap * 0.01
upperBandValue1 := _vwap + bandBasis * bandMult_1
lowerBandValue1 := _vwap - bandBasis * bandMult_1
upperBandValue2 := _vwap + bandBasis * bandMult_2
lowerBandValue2 := _vwap - bandBasis * bandMult_2
upperBandValue3 := _vwap + bandBasis * bandMult_3
lowerBandValue3 := _vwap - bandBasis * bandMult_3
plot(vwapValue, title="VWAP", color=#2962FF, offset=offset)
upperBand_1 = plot(upperBandValue1, title="Upper Band #1", color=color.green, offset=offset, display = showBand_1 ? display.all : display.none)
lowerBand_1 = plot(lowerBandValue1, title="Lower Band #1", color=color.green, offset=offset, display = showBand_1 ? display.all : display.none)
fill(upperBand_1, lowerBand_1, title="Bands Fill #1", color= color.new(color.green, 95) , display = showBand_1 ? display.all : display.none)
upperBand_2 = plot(upperBandValue2, title="Upper Band #2", color=color.olive, offset=offset, display = showBand_2 ? display.all : display.none)
lowerBand_2 = plot(lowerBandValue2, title="Lower Band #2", color=color.olive, offset=offset, display = showBand_2 ? display.all : display.none)
fill(upperBand_2, lowerBand_2, title="Bands Fill #2", color= color.new(color.olive, 95) , display = showBand_2 ? display.all : display.none)
upperBand_3 = plot(upperBandValue3, title="Upper Band #3", color=color.teal, offset=offset, display = showBand_3 ? display.all : display.none)
lowerBand_3 = plot(lowerBandValue3, title="Lower Band #3", color=color.teal, offset=offset, display = showBand_3 ? display.all : display.none)
fill(upperBand_3, lowerBand_3, title="Bands Fill #3", color= color.new(color.teal, 95) , display = showBand_3 ? display.all : display.none)
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 == 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 + (17 - 5) * 3600000
if not na(dayTimestamp) and hour(time ) < 17 and hour >= 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)
cocoTrading indicator v2this is descripton of this indicator.this is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicatorthis is descripton of this indicator.
Optimized Impulse Wave Strategy for Speedy BTC Trades (3-Min)Looking to capitalize on rapid price movements in Bitcoin? The Optimized Impulse Wave Strategy is designed for high-frequency traders who thrive on short-term opportunities. Leveraging a combination of key technical indicators, this strategy aims to provide timely entries and exits with dynamic risk management.
Key Features:
📊 Indicators Used:
MACD Crossover: To identify momentum shifts.
200 EMA Trend Confirmation: For directional bias.
RSI (14): To gauge overbought/oversold conditions.
ADX (14): To confirm strong trends with a threshold filter.
ATR-based Stop Loss & Take Profit: Adaptive risk management.
⚡ Timeframe: 3-minute chart – ideal for scalping and short-term trades.
💡 Entry Logic:
Long Entry: Price above EMA, MACD bullish crossover, RSI > 50, and ADX strength confirmation.
Short Entry: Price below EMA, MACD bearish crossover, RSI < 50, and ADX strength confirmation.
🎯 Risk-Reward Ratio: Customizable with built-in ATR calculations to ensure strategic exits.
Performance:
✅ Win Rate: ~40% on BTC/USDT (3-min timeframe) in backtesting.
✅ Profit Factor: Carefully optimized to balance risk and reward.
✅ Trade Frequency: Frequent, perfect for active traders seeking volatility.
How to Use:
Apply the script to BTC/USDT on the 3-minute chart.
Watch for green buy arrows and red sell arrows to trigger trades.
Manage your risk using ATR-based stop-loss and take-profit levels.
Enable alerts for real-time trade signals.
⚠ Disclaimer: Past performance does not guarantee future results. Use proper risk management and test in a demo environment before live trading.
Follow for more trading strategies and share your thoughts below! 📩🔥