SMA, EMA, WMA Customizable 5 Moving AveragesSMA, EMA, WMA Customizable 5 Moving Averages
Once this script is added to your TradingView chart, you can change the type, period, color, and width of each moving average using the settings in the script's input dialog.
This allows for great flexibility in analyzing different types of moving averages and how they interact with each other on the chart.
Indicators and strategies
PipsRevolution - Asia helperAsia helper indicator
Key functions:
- Asia High
- Asia Low
- Asia Mid Line
- Invalidation time - first 2h
- Winter mode
Stochastic RSI + AlertThe **Stochastic RSI** indicator combines the Stochastic Oscillator and RSI to measure momentum and identify overbought or oversold conditions. It calculates the RSI first and then applies the Stochastic formula to it. Key levels are 80 (overbought) and 20 (oversold), where potential reversal signals may occur. This script adds visual labels and alerts for clear entry or exit points. It’s suitable for traders seeking precise momentum-based trading signals.
ARCANE BB E LITE //@version=5
indicator("Premium Bollinger Bands with RSI Candle Coloring", overlay=true)
// Bollinger Bands Inputs
length = input.int(20, title="SMA Length") // SMA ka period
mult = input.float(2.0, title="Standard Deviation Multiplier") // SD multiplier (default 2)
// RSI Inputs
rsi_length = input.int(14, title="RSI Length") // RSI ka period
overbought = input.int(70, title="Overbought Level", minval=50, maxval=100) // Overbought level
oversold = input.int(30, title="Oversold Level", minval=0, maxval=50) // Oversold level
// Bollinger Bands Calculations
sma = ta.sma(close, length) // SMA calculate
sd = ta.stdev(close, length) // Standard Deviation calculate
upper_band = sma + (mult * sd) // Upper Band
lower_band = sma - (mult * sd) // Lower Band
// RSI Calculation
rsi = ta.rsi(close, rsi_length)
// Plot Bollinger Bands
plot(upper_band, color=color.green, title="Upper Band", linewidth=2)
plot(sma, color=color.blue, title="Middle Band (SMA)", linewidth=1)
plot(lower_band, color=color.red, title="Lower Band", linewidth=2)
// Change Candle Colors Based on RSI
// Overbought candles are yellow
// Oversold candles are blue
barcolor(rsi > overbought ? color.yellow : na, title="Overbought Candles")
barcolor(rsi < oversold ? color.blue : na, title="Oversold Candles")
// Add RSI to Subchart (Optional)
hline(overbought, "Overbought", color=color.yellow, linestyle=hline.style_dotted) // Overbought level as Yellow
hline(oversold, "Oversold", color=color.blue, linestyle=hline.style_dotted) // Oversold level as Blue
plot(rsi, color=color.orange, title="RSI", linewidth=1) // RSI line as Orange
MED89 - Range Detector Before NY Open### Trading Strategy Using the **Liquidity Swings & Range Detector** Indicator
#### Explanation in English
The provided indicator is designed to identify liquidity swings (highs and lows) and detect trading ranges. Below is a step-by-step strategy to utilize it effectively in trading:
---
### 1. **Understanding the Indicator**
- **Liquidity Swings:**
- **Swing Highs:** These represent significant price resistance levels and are highlighted as peaks.
- **Swing Lows:** These represent significant price support levels and are highlighted as troughs.
- **Range Detector:**
- It identifies price ranges where the market is consolidating, using a combination of moving averages and ATR-based thresholds to define the range.
---
### 2. **The Trading Strategy**
#### A) **Buying Opportunities (Long Entries):**
1. **Breakout above Swing Highs:**
- When the price breaks above a recent **Swing High**:
- Confirm the breakout with volume or momentum indicators (e.g., RSI or MACD).
- Enter a long position.
- Place a stop-loss below the previous **Swing High** level.
2. **Within a Range:**
- Buy near the **Bottom Range** (the lower boundary of the detected range).
- Place a stop-loss slightly below the range.
#### B) **Selling Opportunities (Short Entries):**
1. **Breakdown below Swing Lows:**
- When the price breaks below a recent **Swing Low**:
- Confirm the breakdown with volume or momentum indicators.
- Enter a short position.
- Place a stop-loss above the previous **Swing Low** level.
2. **Within a Range:**
- Sell near the **Top Range** (the upper boundary of the detected range).
- Place a stop-loss slightly above the range.
---
### 3. **Range-Based Trading:**
- When the indicator detects a trading range:
- **Buy** at the lower boundary (**Bottom Range**).
- **Sell** at the upper boundary (**Top Range**).
- Avoid trading if the price is moving in the middle of the range unless confirmed by strong directional momentum.
---
### 4. **Risk Management**
- **Position Sizing:** Limit your risk to 2-3% of your capital per trade.
- **Take Profits:** Use the **Swing High** or **Swing Low** levels as logical profit targets.
- **Stop-Loss Placement:** Always place stop-loss orders based on recent **Swing Highs** or **Swing Lows**, depending on your trade direction.
---
### 5. **Additional Tips**
- Test the indicator on a demo account to fine-tune the settings.
- Use other complementary indicators like RSI, MACD, or volume to confirm trade signals.
- Stay updated on market news and events that might cause sudden price movements.
---
This strategy leverages the strengths of the indicator to identify high-probability trades. Let me know if you'd like further details or assistance in customizing it!
Liquidity Swings & Range Detector [MED89]### Trading Strategy Using the **Liquidity Swings & Range Detector** Indicator
The provided indicator is designed to identify liquidity swings (highs and lows) and detect trading ranges. Below is a step-by-step strategy to utilize it effectively in trading:
---
### 1. **Understanding the Indicator**
- **Liquidity Swings:**
- **Swing Highs:** These represent significant price resistance levels and are highlighted as peaks.
- **Swing Lows:** These represent significant price support levels and are highlighted as troughs.
- **Range Detector:**
- It identifies price ranges where the market is consolidating, using a combination of moving averages and ATR-based thresholds to define the range.
---
### 2. **The Trading Strategy**
#### A) **Buying Opportunities (Long Entries):**
1. **Breakout above Swing Highs:**
- When the price breaks above a recent **Swing High**:
- Confirm the breakout with volume or momentum indicators (e.g., RSI or MACD).
- Enter a long position.
- Place a stop-loss below the previous **Swing High** level.
2. **Within a Range:**
- Buy near the **Bottom Range** (the lower boundary of the detected range).
- Place a stop-loss slightly below the range.
#### B) **Selling Opportunities (Short Entries):**
1. **Breakdown below Swing Lows:**
- When the price breaks below a recent **Swing Low**:
- Confirm the breakdown with volume or momentum indicators.
- Enter a short position.
- Place a stop-loss above the previous **Swing Low** level.
2. **Within a Range:**
- Sell near the **Top Range** (the upper boundary of the detected range).
- Place a stop-loss slightly above the range.
---
### 3. **Range-Based Trading:**
- When the indicator detects a trading range:
- **Buy** at the lower boundary (**Bottom Range**).
- **Sell** at the upper boundary (**Top Range**).
- Avoid trading if the price is moving in the middle of the range unless confirmed by strong directional momentum.
---
### 4. **Risk Management**
- **Position Sizing:** Limit your risk to 2-3% of your capital per trade.
- **Take Profits:** Use the **Swing High** or **Swing Low** levels as logical profit targets.
- **Stop-Loss Placement:** Always place stop-loss orders based on recent **Swing Highs** or **Swing Lows**, depending on your trade direction.
---
### 5. **Additional Tips**
- Test the indicator on a demo account to fine-tune the settings.
- Use other complementary indicators like RSI, MACD, or volume to confirm trade signals.
- Stay updated on market news and events that might cause sudden price movements.
---
BY AHMED ELMORTADA
Two Bottoms with Liquidity//@version=5
indicator("Two Bottoms with Liquidity", overlay=true)
// Параметры
len = input.int(14, minval=1, title="Period for Bottom Search")
threshold = input.float(0.5, title="Liquidity Threshold", minval=0.0)
// Функция для поиска локального минимума
isBottom(price, len) =>
lowestPrice = ta.lowest(price, len)
price == lowestPrice
// Определяем два "bottoms"
bottom1 = isBottom(low, len) and low < ta.lowest(low, len*2)
bottom2 = isBottom(low, len) and low < ta.lowest(low , len*2)
// Ликвидность, как разница между ценой и объемом (или другим индикатором ликвидности)
liquidityCondition = volume > ta.sma(volume, len) * threshold
plotshape(series=bottom1 and liquidityCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Bottom 1")
plotshape(series=bottom2 and liquidityCondition, location=location.belowbar, color=color.red, style=shape.labeldown, title="Bottom 2")
Fibonacci RetracementThis Fibonacci retracement indicator can help identify potential reversal areas and can be used in combination with other technical analysis tools to enhance trading decisions.
Algo Market Structure Nic_FXLa natura è un insieme straordinario di armonia e bellezza. Ogni elemento, dalle montagne maestose agli alberi che si stagliano verso il cielo, contribuisce a creare un equilibrio perfetto. Il suono di un ruscello che scorre o il canto degli uccelli all'alba ci ricordano la semplicità della vita. Spesso, nella frenesia quotidiana, dimentichiamo quanto sia importante fermarsi e osservare. Prendersi del tempo per apprezzare la natura ci aiuta a riconnetterci con noi stessi e a ritrovare pace. L'ambiente è un tesoro che va preservato per le generazioni future, affinché possano anch'esse godere di questa magnificenza.
ATR Trailing Stoploss with EMAStraightforward ATR trailing stop loss with integrated EMA to follow trned
Flag Screener [QuantVue]Flag Screener is a screening tool that identify bull and bear flags in up to 40 different symbols.
The indicator takes a comma separated list of symbols and then scans the symbols in real time to detect bull or bear flags.
What are flags
Flags are continuation patterns that occur within the general trend of the security. A bull flag represents a temporary pause or consolidation before price resumes it's upward movement, while a bear flag occurs before price continues its downward movement.
Both flag patterns consist of two components:
The Pole
The Flag
The pole is the initial strong upward surge or decline that precedes the flag. The pole is usually a fast move accompanied by heavy volume signaling significant buying or selling pressure.
The flag is then formed as price consolidates after the initial surge or decline from the pole. For a bull flag price will drift slightly downward to sideways, a bear flag will drift upward to sideways. The best flags often see volume dry up during this phase of the pattern.
Indicator Settings
Both components are fully customizable in the indicator so the user can adjust for any time frame or volatility. Select the minimum and maximum accepted limits from the % gain loss required for the pole, the maximum acceptable flag depth or rally and the minimum and maximum number of bars for each component.
RTZ Strategy//@version=5
indicator("RTZ Strategy", overlay=true)
// تنظیمات کاربر
lookback = input.int(20, title="Lookback Period", minval=1)
zone_size = input.float(0.5, title="Zone Size (% of ATR)", step=0.1)
// محاسبه ATR
atr = ta.atr(14)
// شناسایی مناطق RTZ
high_zone = ta.highest(high, lookback)
low_zone = ta.lowest(low, lookback)
upper_limit = high_zone + zone_size * atr
lower_limit = low_zone - zone_size * atr
// شناسایی سیگنال بازگشت به مناطق
buy_signal = ta.crossover(close, lower_limit) // بازگشت به منطقه پایینی
sell_signal = ta.crossunder(close, upper_limit) // بازگشت به منطقه بالایی
// رسم مناطق
bgcolor(close > upper_limit ? color.new(color.red, 90) : na, title="Upper Zone")
bgcolor(close < lower_limit ? color.new(color.green, 90) : na, title="Lower Zone")
// نمایش سیگنالها
plotshape(buy_signal, style=shape.labelup, location=location.belowbar, color=color.green, text="BUY")
plotshape(sell_signal, style=shape.labeldown, location=location.abovebar, color=color.red, text="SELL")
// هشدارها
alertcondition(buy_signal, title="Buy Alert", message="RTZ Buy Signal")
alertcondition(sell_signal, title="Sell Alert", message="RTZ Sell Signal")
USDT.D Volatility TrackerUSDT.D Volatility Tracker
Description:
This script is designed to track the volatility of USDT.D (US Dollar in cryptocurrency) on the TradingView platform. It uses a moving average and deviation from it to generate buy and sell signals, helping traders visualize changes in volatility and make informed decisions.
Input Parameters:
maPeriod: The period of the moving average (default 120). This parameter allows users to adjust the length of the period used to calculate the moving average.
devThreshold: The deviation threshold (default 0.6). This parameter defines the level of deviation that will trigger buy or sell signals.
Data Request:
The script requests closing data for USDT.D using the request.security function, allowing it to retrieve up-to-date data on the selected timeframe.
Moving Average and Deviation Calculation:
An exponential moving average (EMA) is used to calculate the deviation from the moving average, enabling the identification of current volatility.
Deviation Line Display:
The deviation rate line is displayed on the chart, allowing users to visually track changes in volatility.
Signal Generation:
If the deviation exceeds the set threshold (devThreshold), a buy signal is generated (green background).
If the deviation falls below the negative threshold (-devThreshold), a sell signal is generated (red background).
Visual Signals:
Buy signals are displayed on the chart as green triangles, while sell signals are displayed as red triangles. This helps traders quickly identify potential entry and exit points.
Percentage Distance from 2 Month High.A simple indicator that show the percentage drop from the high with in the last 2 months (adjustable).
You can set an alert to trigger when ever a targeted symbol drops below a certain price.
Eze Profit Range Detection FilterThe Range Detection Filter is a technical analysis tool designed to help traders identify range-bound market conditions and focus on breakout opportunities. It combines the ATR (Average True Range) for volatility analysis and the ADX (Average Directional Index) for trend strength evaluation to highlight consolidation phases and alert traders when the market is ready to break out.
This indicator provides visual cues and customizable alerts, making it suitable for traders looking to avoid false signals during choppy markets and capitalize on trending moves following a breakout.
What Makes It Unique?
ATR for Volatility:
Measures market volatility by comparing ATR with its moving average.
Consolidation phases are flagged when ATR remains below its moving average for a sustained period.
ADX for Trend Strength:
Monitors trend strength, confirming range-bound conditions when ADX falls below a user-defined threshold (default: 20).
Combines with ATR to ensure accurate detection of trendless periods.
Breakout Alerts:
Notifies traders of breakout opportunities when the price moves outside the highest high or lowest low of the range.
How It Works:
Range Detection:
The market is considered "in range" when:
ATR is below its moving average, indicating low volatility.
ADX is below the threshold, confirming a lack of trend strength.
Visual Indication:
A yellow background highlights range-bound conditions, allowing traders to avoid low-probability trades.
Breakout Detection:
Alerts are triggered for breakouts above or below the range to help traders identify potential opportunities.
Features:
Range Highlighting:
Automatically detects and highlights range-bound markets using a yellow background.
Breakout Alerts:
Sends alerts for breakouts above or below the range once the market exits consolidation.
Customizable Inputs:
ATR length, moving average length, and ADX parameters are fully adjustable to adapt to various trading styles and asset classes.
Multi-Timeframe Compatibility:
Suitable for all markets and timeframes, including stocks, forex, and cryptocurrencies.
How to Use:
Identify Ranges:
Avoid trading when the yellow background appears, signaling a range-bound market.
Focus on Breakouts:
Look for alerts indicating breakouts above or below the range for potential trending opportunities.
Combine with Other Indicators:
Use volume analysis, momentum oscillators, or candlestick patterns to confirm breakout signals.
Credits:
This script utilizes widely accepted methodologies for ATR and ADX calculations. ADX is calculated manually using directional movement (+DI and -DI) for precise trend detection. The concept has been adapted and enhanced to create this comprehensive range-detection tool.
Notes:
This indicator is intended for educational purposes and should not be used as standalone financial advice.
Always incorporate this tool into a broader trading strategy for optimal results.
Single Candle EMA 15mSe foloseste doar pe tf de 1 min. Apare o candela rosie cand pe 15 min se inchide o candela sub ema 20 si apare o candela verde cand pe 1 min se inchide o candela peste ema 10