SCALPING NHANHNhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl Nhanh vl
Indicadores e estratégias
DK: SMA Crossover BY//@version=5
indicator("SMA Crossover", overlay=true)
// Input parameters for short-term and long-term SMAs
shortLength = input.int(9, title="Short SMA Length", minval=1)
longLength = input.int(21, title="Long SMA Length", minval=1)
// Calculate the short-term and long-term SMAs
shortSMA = ta.sma(close, shortLength)
longSMA = ta.sma(close, longLength)
// Plot the SMAs on the chart
plot(shortSMA, color=color.blue, linewidth=2, title="Short SMA")
plot(longSMA, color=color.red, linewidth=2, title="Long SMA")
// Generate Buy and Sell signals
bullishCross = ta.crossover(shortSMA, longSMA)
bearishCross = ta.crossunder(shortSMA, longSMA)
// Plot Buy and Sell signals on the chart
plotshape(bullishCross, color=color.green, style=shape.labelup, location=location.belowbar, title="Buy Signal", text="BUY")
plotshape(bearishCross, color=color.red, style=shape.labeldown, location=location.abovebar, title="Sell Signal", text="SELL")
Bollinger Bands Buy/Sell Signal (No Repeats) - SU SURESHThis indicator is ideal for traders looking to capitalize on price movements around Bollinger Bands while avoiding over-trading through repeated signals. It’s suitable for both beginner and advanced traders as it simplifies decision-making and provides clear entry/exit signals.
Let me know if you need further explanations or improvements to the script!
ATR Multiples LinesPlotted ATR lines plotted on the chart based on TP and SL levels for both longs and shorts. Adjustable multipliers for both longs and shorts. Ideal for backtesting strategies with fixed TP and SL levels
Unicorn Fart DustA playful script for the cult meme token $UFD. Please fee free to copy and enhance to make a more elaborate sparkly fart dust indicator. Thank you Rontoshi aka Ron The Don... and Jasper.
All-in-One Script (KAMA + ATR + EMA/Bollinger)This All-in-One Script (KAMA + ATR + EMA/Bollinger) is a comprehensive trading system that combines three different technical analysis tools in a single indicator:
1. KAMA (Kaufman Adaptive Moving Average):
- An advanced moving average that automatically adjusts to market volatility
- Moves quickly during trending periods and slowly in sideways markets
- Default period is set to 21
- Displayed with a blue line
- Adapts to both trending and ranging markets
2. ATR (Average True Range) Levels:
- Creates volatility-based support and resistance levels
- Uses daily (D) timeframe by default
- Utilizes 14-period ATR value
- Shows upper (green) and lower (red) ATR levels on the last bar
- Displays price values next to each level
- Helps identify potential price targets and stop levels
3. EMA (Exponential Moving Average) and Bollinger Bands:
- 9-period EMA displayed with thick orange line
- Optional Bollinger Bands based on this EMA
- Additional smoothing options available:
* SMA (Simple Moving Average)
* EMA (Exponential Moving Average)
* SMMA/RMA (Smoothed/Running Moving Average)
* WMA (Weighted Moving Average)
* VWMA (Volume Weighted Moving Average)
Customization Options:
- Each component (KAMA, ATR, EMA) can be toggled on/off independently
- Adjustable period values for all indicators
- Configurable Bollinger Band deviation multiplier (default 2.0)
- EMA offset value can be adjusted
- Various color and style settings
Use Cases:
1. Trend Following:
- Identify trend direction and strength
- Spot potential trend reversals
- Monitor momentum changes
2. Volatility Trading:
- Determine dynamic support/resistance levels
- Set appropriate stop-loss levels
- Gauge market volatility conditions
3. Price Action Analysis:
- Multiple timeframe analysis
- Trend confirmation
- Divergence identification
4. Risk Management:
- ATR-based position sizing
- Dynamic stop-loss placement
- Volatility-adjusted targets
Trading Applications:
- Suitable for both trend followers and swing traders
- Effective in various market conditions
- Helps in both entry and exit decisions
- Provides multiple confirmation signals
- Works across different timeframes
Technical Details:
- Built for TradingView platform
- Uses Pine Script version 6
- Optimized for real-time calculation
- Minimal performance impact
- Reliable data processing
This indicator is ideal for traders who want a comprehensive view of market conditions without overcrowding their charts with multiple indicators. It combines trend following, volatility measurement, and momentum analysis in one package.
Trend Followermix of trader_xo and btc_charlie EMAs.
charlie_slowEMA_period = 50
charlie_fastEMA_period = 10
xo_slowEMA_period = 21
xo_fastEMA_period = 12
uses above EMAs to publish the trend. feel free to copy and update
BK MA Horizontal Lines
Indicator Description:
I am incredibly proud and excited to share my first indicator with the TradingView community! This tool has been instrumental in helping me optimize my positioning and maximize my trades.
Moving Averages (MAs) are among the top three most crucial indicators for trading, and I believe that the Daily, Weekly, and Monthly MAs are especially critical. The way I’ve designed this indicator allows you to combine MAs from your Daily timeframe with one or two from the Weekly or Monthly timeframes, depending on what is most relevant for the specific product or timeframe you’re analyzing.
For optimal use, I recommend:
Spacing your chart about 11 spaces from the right side.
Setting the Labels at 10 in the indicator configuration.
Keeping the line thickness at size 1, while using size 2 for my other indicator, "BK BB Horizontal Lines", which follows a similar concept but applies to Bollinger Bands.
If you find success with this indicator, I kindly ask that you give back in some way through acts of philanthropy, helping others in the best way you see fit.
Good luck to everyone, and always remember: God gives us everything. May all the glory go to the Almighty!
Previous OHLC By JDThe "Previous OHLC By JD" indicator helps traders visualize key historical price levels on their charts. It tracks the Open, High, Low, and Close (OHLC) prices from a specified timeframe to identify potential support and resistance levels.
Features:
Custom Timeframe: Choose the timeframe for OHLC levels.
Visibility Toggles: Turn the Open, High, Low, and Close lines on or off.
Color Customization: Set unique colors for each OHLC line.
Adjustable Thickness: Modify line thickness for better visibility.
Automatic Labels: Each line is labeled with its price and timeframe.
How to Use:
Select Timeframe: Choose the desired timeframe (e.g., 1 hour, 4 hours, 1 day).
Toggle Visibility: Show or hide the Open, High, Low, and Close lines.
Customize Colors: Set colors for each OHLC line.
Adjust Thickness: Set the line thickness.
Interpret Levels:
Open Line: Sentiment at the start of the period.
High Line: Potential resistance level.
Low Line: Potential support level.
Close Line: Sentiment at the end of the period.
Use this indicator to gain insights into historical price action and make informed trading decisions.
ColorRSI_Histo_ZeroLineO Color RSI mede a velocidade e a mudança dos preços, variando entre 0 e 100. Tradicionalmente, valores acima de 70 indicam sobrecompra, enquanto abaixo de 30 indicam sobrevenda. No entanto, no Indicador Color RSI, essas zonas são destacadas por cores, facilitando a leitura.
Zona de Sobrecompra (Acima de 70): Representada por uma cor vermelha intensa, indicando que o ativo pode estar sobrecomprado e sujeito a uma correção.
Zona Neutra (Entre 30 e 70): Colorida em amarelo ou laranja, sugerindo que o mercado não está nem em condição extrema de compra ou venda, indicando equilíbrio.
Zona de Sobrevenda (Abaixo de 30): Colorida em verde ou verde-claro, alertando que o ativo pode estar sobrevendido e, portanto, sujeito a uma possível reversão de preço.
Transições suaves entre cores: Algumas versões do Color RSI podem apresentar transições graduais de cor conforme o valor do indicador se aproxima de limites críticos, oferecendo um feedback visual mais dinâmico.
Esse tipo de visualização facilita a rápida identificação de condições extremas do mercado e pode ser utilizado para reforçar a tomada de decisões de compra ou venda.
Normalized Bollinger Band DistanceThis TradingView script calculates and visualizes the Normalized Bollinger Band Distance to analyze the relative spread of Bollinger Bands as a percentage of the moving average. It also determines thresholds based on global statistics to highlight unusual market conditions. Here's a detailed description:
Indicator Overview
Purpose: The indicator measures the normalized distance between the upper and lower Bollinger Bands relative to the Simple Moving Average (SMA). It helps identify periods of high or low volatility.
Visualization: Displays the normalized distance along with dynamic thresholds based on global statistical calculations (mean and standard deviation).
Inputs
Length (length): Defines the period for the SMA and Bollinger Bands calculation. Default is 200.
Standard Deviations (stdDev): Number of standard deviations for the Bollinger Bands. Default is 2.
Calculation
Bollinger Bands:
Upper Band:
SMA
+
(
Standard Deviation
×
stdDev
)
SMA+(Standard Deviation×stdDev)
Lower Band:
SMA
−
(
Standard Deviation
×
stdDev
)
SMA−(Standard Deviation×stdDev)
Normalized Distance:
Normalized Distance
=
Upper Band
−
Lower Band
SMA
Normalized Distance=
SMA
Upper Band−Lower Band
Global Statistics:
Global Mean (
𝜇
μ): Average of all normalized distances up to the current bar.
Global Standard Deviation (
𝜎
σ): Standard deviation of all normalized distances up to the current bar.
High Threshold:
𝜇
+
1.5
×
𝜎
μ+1.5×σ
Low Threshold:
𝜇
−
1.5
×
𝜎
μ−1.5×σ
Visualization
Normalized Distance Plot:
The normalized distance is plotted in blue as a percentage for easy interpretation.
Threshold Lines:
High Threshold: Red line to signal unusually high volatility.
Low Threshold: Green line to signal unusually low volatility.
Mean Line: White line indicating the average normalized distance.
Zero Line: Horizontal white line for reference.
Use Case
High Threshold Breach: Indicates an unusual increase in Bollinger Band width relative to the SMA, signaling potential high market volatility.
Low Threshold Breach: Indicates an unusual narrowing of Bollinger Band width, suggesting low volatility and potential consolidation.
Trend Analysis: Observe how the normalized distance evolves over time to anticipate market conditions.
[TST] ALGOSuper Trend RSi BB Moving Awerange ATR Base Trailling . Support And Resistance Technical Indicator
Smart Trend, Crypto - WORK IN PROGRESSDescription of the Script
This Pine Script is a trend-following trading indicator designed to help traders identify buy and sell opportunities while managing risk through take-profit (TP) and stop-loss (SL) levels. Here’s what the script does in detail:
Core Features:
1. Trend Detection Using EMA Crossover:
• Fast EMA and Slow EMA are calculated using adjustable lengths.
• A Buy Signal is triggered when the Fast EMA crosses above the Slow EMA (bullish trend).
• A Sell Signal is triggered when the Fast EMA crosses below the Slow EMA (bearish trend).
2. Support for Multi-Condition Signals:
• The script combines EMA crossovers, RSI levels, and ADX strength to determine signals:
• Relative Strength Index (RSI): Detects overbought or oversold conditions.
• Average Directional Index (ADX): Ensures trends have sufficient strength.
• Signals only trigger if all selected conditions are met.
Risk Management Features:
3. Stop-Loss Levels:
• Stop-loss levels are calculated based on a percentage distance from the last Buy or Sell Signal.
• For a Buy Signal, the stop-loss is set below the buy price.
• For a Sell Signal, the stop-loss is set above the sell price.
• These levels are plotted as horizontal lines on the chart.
4. Take-Profit Levels:
• Take-profit levels are calculated as a percentage distance from the last Buy or Sell Signal:
• For a Buy Signal, the TP level is above the buy price.
• For a Sell Signal, the TP level is below the sell price.
• Take-Profit Bubbles:
• Small bubbles appear on the chart at TP levels only for the current Buy or Sell Signal.
• This helps focus on the latest trade without cluttering the chart.
Visual Aids:
5. Background Highlighting for Trend Identification:
• The chart background changes color to reflect the detected trend:
• Green for a bullish trend (Buy Signal).
• Red for a bearish trend (Sell Signal).
6. Clear Signal Markers:
• Buy Signal: A green triangle below the price bar.
• Sell Signal: A red triangle above the price bar.
• These markers help visually identify signal points on the chart.
Customizability:
• Adjustable Parameters: The script allows the user to customize:
• EMA lengths, ADX threshold, RSI levels, TP percentage, and SL percentage.
• Preset Configurations: Quick settings for popular assets like BTC, ETH, and others.
Usage:
1. Buy and Sell Signals:
• Use the signals to enter long (Buy) or short (Sell) trades.
2. Risk Management:
• Follow the Stop Loss and Take Profit levels to manage risk and lock in profits.
3. Trend Confirmation:
• Observe background colors and EMA lines to confirm trend direction.
This script provides a comprehensive tool for identifying trades, managing risk, and visually simplifying trend-following strategies. Let me know if you need further clarifications!
RSI-Bollinger-Volume-ATR-Trend Entry with Smart Money ConceptsЦей скрипт для TradingView на основі RSI, смуги Боллінджера, EMA, ATR, об'єму та концепції "Smart Money". Він враховує торгові сесії (Азія, Франкфурт, Європа, Нью-Йорк) для фільтрації сигналів і використовує рівні ордерних блоків для підтвердження входу. Сигнали купівлі/продажу відображаються стрілками.
Anchored GB TimeCustomizable indicator designed to track the number of hours elapsed since a user-defined starting point, such as the weekly market open. It highlights significant time intervals by checking the elapsed hour count against predefined GB Numbers and CE Numbers, offering precise insights for time-based trading strategies.
Custom Start Time:
Choose the day and hour when the counter resets, making it adaptable to different asset classes and market sessions.
Perfect for aligning with weekly opens or specific algorithmic strategies.
GB and CE Numbers:
Predefined sets of Goldbach (GB) Numbers and Critical Event (CE) Numbers.
Labels are displayed when the hour counter matches one of these significant numbers.
Customizable Appearance:
Separate settings for GB and CE labels:
Enable or disable each set.
Customize label colors, sizes, and vertical offsets.
Time Zone Support:
Select your desired time zone for accurate start time synchronization with your chart.
Consistent Label Placement:
Labels remain fixed above the candles regardless of zoom level or price range, ensuring clarity on any chart.
Useful for:
Time-Based Strategies: Identify key market intervals for entries or exits based on elapsed trading hours.
Custom Session Tracking: Monitor time progression across different market sessions or instruments.
Algorithmic Insights: Integrate time-based rules into your trading systems with precision.
How to Use:
1. Set the start day and hour using the Algo Start Day and Algo Start Hour inputs.
2. Customize the appearance of GB Time and CE Numbers labels as needed.
3. Align the chart's time zone with the indicator for accurate time tracking.
In the chart example, price is anchored to Sunday at 6pm, the opening hour for the week for futures
High Accuracy Forex Indicator//@version=5
indicator("High Accuracy Forex Indicator", overlay=true)
// Input for Moving Averages
fastLength = input(14, title="Fast MA Length")
slowLength = input(50, title="Slow MA Length")
// Calculate Moving Averages
fastMA = ta.sma(close, fastLength)
slowMA = ta.sma(close, slowLength)
// Plot Moving Averages on the price chart
plot(fastMA, color=color.green, title="Fast MA")
plot(slowMA, color=color.red, title="Slow MA")
// Generate Buy and Sell Signals
buySignal = ta.crossover(fastMA, slowMA)
sellSignal = ta.crossunder(fastMA, slowMA)
// Plot Buy and Sell Signals on the chart
plotshape(series=buySignal, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
plotshape(series=sellSignal, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
// Alerts for Buy and Sell Signals
alertcondition(buySignal, title="Buy Alert", message="Buy Signal!")
alertcondition(sellSignal, title="Sell Alert", message="Sell Signal!")
MA 200 and Bollinger Bands StrategyNamaku Alfian, aku wong jawa timur, gawe en lek menurutmu cocok, lek engga yo ojo dielek2no, iki mek gae testing tok, aku yo butuh duit su
Crypto Drawdown StrategyCrypto Drawdown Strategy 💎
"Buy the dip, ride the rebound!"
The Crypto Drawdown Strategy is tailored for traders looking to take advantage of market volatility by entering positions during sharp price declines. This strategy focuses on buying at discounted levels and exiting with profits during recovery, making it ideal for volatile markets like cryptocurrency.
Features:
Precision Entry: Enter trades when the price drops by 5-10%, identifying potential market bottoms.
Risk-Reward Management: Automatically sets Take Profit and Stop Loss levels for disciplined trading.
Dynamic Visualization: Displays entry points, take profit, and stop loss levels directly on the chart for easy tracking.
Fast-Paced Trades: Designed for shorter trade durations to minimize exposure and capitalize on quick rebounds.
How It Works:
1️⃣ Entry Condition: A buy signal is triggered when the price drops between 5-10% from the recent high, signaling a potential oversold condition.
2️⃣ Exit Condition: The trade closes automatically when the price hits either the Take Profit level (+10%) or the Stop Loss level (-5%).
3️⃣ Customizable Parameters: Adjust entry drop percentage, take profit, and stop loss levels to suit your risk tolerance and market conditions.
Who Is It For?
This strategy is perfect for traders who:
✅ Want to profit from market corrections in highly volatile assets.
✅ Prefer shorter trade durations and quick recoveries.
✅ Seek a systematic approach to buying the dip with built-in risk management.
💡 Pro Tip: Combine this strategy with volume analysis or RSI to confirm oversold conditions. Test on multiple cryptocurrencies to find the most consistent performers.
🔍 Start backtesting now and see how the Crypto Drawdown Strategy can enhance your trading performance!
Let me know if you’d like further refinements or additional features! 🚀
AMOGH1this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,
Global Liquidity Index (Billions USD)This Pine Script indicator calculates the total global liquidity by combining M2/M3 money supply data from major economies converted to USD. The final value is displayed in billions of USD.
This was inspired by Raoul Pal's (@RaoulGMI on X.com) work on global liquidity and its effect on markets.
Countries and Monetary Measures Used:
United States (USM2) - M2 Money Supply
China (CNM2) - M2 Money Supply
Japan (JPM2) - M2 Money Supply
European Union (EUM2) - M2 Money Supply
South Korea (KRM2) - M2 Money Supply
Canada (CAM2) - M2 Money Supply
India (INM2) - M2 Money Supply
Taiwan (TWM2) - M2 Money Supply
Great Britain (GBM2) - M2 Money Supply
Australia (AUM3) - M3 Money Supply
Features:
Time Offset: Allows shifting the data forward or backward by a specified number of bars but data pushed ahead of the chart data will be truncated.
Scale Range: Set to display between 50,000 and 100,000 billion USD
Overlay Option: Can be displayed as an overlay on the main chart
Left Scale: Uses the left price scale for values
Currency Conversion: Automatically converts all values to USD using real-time FX rates
Calculation Method:
Retrieves M2/M3 data for each country
Converts non-USD values to USD using current exchange rates
Sums all values
Divides by 1 billion for easier reading
Applies any time offset requested by the user
The indicator provides a comprehensive view of global liquidity by tracking approximately 80% of the world's monetary supply through these major economies.