berlinLibrary "berlin"
f_signalLib(lowSeries, highSeries, depth, deviation, backstep)
Parameters:
lowSeries (float)
highSeries (float)
depth (int)
deviation (int)
backstep (int)
Indicadores e estratégias
EMA9/EMA20 Crossover Signalssimple and best do not complicate trading, just take action on sell and buy signal make sure the rsi is closer to overbought and oversold level for longer trades and scalping if closer to 50, stay till it crosses back, should work best in trending market, range bound market add bbollinger band to see if it makes sense. enjoy and recommend.
On Balance Volume with Long-Term MAOBV+MA。红色长期MA(200日) 会显著平滑OBV曲线,形成「趋势基线」
当蓝色OBV线(原始值)持续运行在红色MA上方时,表明资金流入强劲
结合原有的黄色短期MA(14日)和布林带,可形成多时间维度分析:
短期MA交叉长期MA → 趋势强度信号
OBV突破布林带 → 超买/超卖预警
Alerta de Entrada para NVDA y TSLAEste script es una herramienta útil para traders que buscan oportunidades de compra en acciones como NVIDIA y Tesla, utilizando indicadores técnicos como el RSI y el Stochastic. Proporciona alertas en tiempo real y gráficos visuales para facilitar la toma de decisiones. ¡Espero que te sea de gran ayuda en tu trading!
Crypto Scanner v4This guide explains a version 6 Pine Script that scans a user-provided list of cryptocurrency tokens to identify high probability tradable opportunities using several technical indicators. The script combines trend, momentum, and volume-based analyses to generate potential buying or selling signals, and it displays the results in a neatly formatted table with alerts for trading setups. Below is a detailed walkthrough of the script’s design, how traders can interpret its outputs, and recommendations for optimizing indicator inputs across different timeframes.
## Overview and Key Components
The script is designed to help traders assess multiple tokens by calculating several indicators for each one. The key components include:
- **Input Settings:**
- A comma-separated list of symbols to scan.
- Adjustable parameters for technical indicators such as ADX, RSI, MFI, and a custom Wave Trend indicator.
- Options to enable alerts and set update frequencies.
- **Indicator Calculations:**
- **ADX (Average Directional Index):** Measures trend strength. A value above the provided threshold indicates a strong trend, which is essential for validating momentum before entering a trade.
- **RSI (Relative Strength Index):** Helps determine overbought or oversold conditions. When the RSI is below the oversold level, it may present a buying opportunity, while an overbought condition (not explicitly part of this setup) could suggest selling.
- **MFI (Money Flow Index):** Similar in concept to RSI but incorporates volume, thus assessing buying and selling pressure. Values below the designated oversold threshold indicate potential undervaluation.
- **Wave Trend:** A custom indicator that calculates two components (WT1 and WT2); a crossover where WT1 moves from below to above WT2 (particularly near oversold levels) may signal a reversal and a potential entry point.
- **Scanning and Trading Zone:**
- The script identifies a *bullish setup* when the following conditions are met for a token:
- ADX exceeds the threshold (strong trend).
- Both RSI and MFI are below their oversold levels (indicating potential buying opportunities).
- A Wave Trend crossover confirms near-term reversal dynamics.
- A *trading zone* condition is also defined by specific ranges for ADX, RSI, MFI, and a limited difference between WT1 and WT2. This zone suggests that the token might be in a consolidation phase where even small moves may be significant.
- **Alerts and Table Reporting:**
- A table is generated, with each row corresponding to a token. The table contains columns for the symbol, ADX, RSI, MFI, WT1, WT2, and the trading zone status.
- Visual cues—such as different background colors—highlight tokens with a bullish setup or that are within the trading zone.
- Alerts are issued based on the detection of a bullish setup or entry into a trading zone. These alerts are limited per bar to avoid flooding the trader with notifications.
## How to Interpret the Indicator Outputs
Traders should use the indicator values as guidance, verifying them against their own analysis before making any trading decision. Here’s how to assess each output:
- **ADX:**
- **High values (above threshold):** Indicate strong trends. If other indicators confirm an oversold condition, a trader may consider a long position for a corrective reversal.
- **Low values:** Suggest that the market is not trending strongly, and caution should be taken when considering entry.
- **RSI and MFI:**
- **Below oversold levels:** These conditions are traditionally seen as signals that an asset is undervalued, potentially triggering a bounce.
- **Above typical resistance levels (not explicitly used here):** Would normally caution a trader against entering a long position.
- **Wave Trend (WT1 and WT2):**
- A crossover where WT1 moves upward above WT2 in an oversold environment can signal the beginning of a recovery or reversal, thereby reinforcing buy signals.
- **Trading Zone:**
- Being “in zone” means that the asset’s current values for ADX, RSI, MFI, and the closeness of the Wave Trend lines indicate a period of consolidation. This scenario might be suitable for both short-term scalping or as an early exit indicator, depending on further market analysis.
## Timeframe Optimization Input Table
Traders can optimize indicator inputs depending on the timeframe they use. The following table provides a set of recommended input values for various timeframes. These values are suggestions and should be adjusted based on market conditions and individual trading styles.
Timeframe ADX RSI MFI ADX RSI MFI WT Channel WT Average
5-min 10 10 10 20 30 20 7 15
15-min 12 12 12 22 30 20 9 18
1-hour 14 14 14 25 30 20 10 21
4-hour 16 16 16 27 30 20 12 24
1-day 18 18 18 30 30 20 14 28
Adjust these parameters directly in the script’s input settings to match the selected timeframe. For shorter timeframes (e.g., 5-min or 15-min), the shorter lengths help filter high-frequency noise. For longer timeframes (e.g., 1-day), longer input values may reduce false signals and capture more significant trends.
## Best Practices and Usage Tips
- **Token Limit:**
- Limit the number of tokens scanned to 10 per query line. If you need to scan more tokens, initiate a new query line. This helps manage screen real estate and ensures the table remains legible.
- **Confirming Signals:**
- Use this script as a starting point for identifying high potential trades. Each indicator’s output should be used to confirm your trading decision. Always cross-reference with additional technical analysis tools or market context.
- **Regular Review:**
- Since the script updates the table every few bars (as defined by the update frequency), review the table and alerts regularly. Market conditions change rapidly, so timely decisions are crucial.
## Conclusion
This Pine Script provides a comprehensive approach for scanning multiple cryptocurrencies using a combination of trend strength (ADX), momentum (RSI and MFI), and reversal signals (Wave Trend). By using the provided recommendation table for different timeframes and limiting the tokens to 20 per query line (with a maximum of four query lines), traders can streamline their scanning process and more effectively identify high probability tradable tokens. Ultimately, the outputs should be critically evaluated and combined with additional market research before executing any trades.
Pre-Market High & LowIndicator: Pre-Market High & Low
This indicator tracks the high and low price levels of a stock during the pre-market session (4:00 AM - 9:30 AM EST), before the official market open. It dynamically updates during pre-market hours, identifying the highest and lowest prices reached. Once the pre-market session ends, these levels are saved and plotted on the chart as reference points for the regular market session.
Key Features:
Dynamic Updates: Continuously tracks the high and low during pre-market hours.
Visual Indicators: Plots horizontal lines representing the pre-market high (green) and low (red).
Post-Market Reference: Once pre-market ends, these levels remain visible for the regular market session as reference points for potential breakout or breakdown levels.
How to Use:
Use this indicator to identify potential breakout or breakdown levels that may happen at the market open.
The green line represents the highest price reached during pre-market, while the red line indicates the lowest price.
The indicator will stop updating once the pre-market session closes (9:30 AM EST) and will remain visible as reference levels throughout the trading day.
Ideal for:
Day traders looking for pre-market support and resistance levels.
Traders analyzing the initial market reaction based on pre-market price action.
ATR Candle Marker By. Crypto_MatchИндикатор в TV который сравнивает размер дневной свечи со средним значением ATR за последние 14 дней.
CapitalManagementLibrary "CapitalManagement"
TODO: Manage the capital
order_volume(percent_risk, order_entry_price, stop_loss_price)
: Function to calculate order volume according to give risk percent_risk
Parameters:
percent_risk (float)
order_entry_price (float)
stop_loss_price (float)
calculate_takeprofit_price(entry_price, stop_loss_price, risk_reward)
: Function to calculate take profit price according to given risk:reward ratio
Parameters:
entry_price (float)
stop_loss_price (float)
risk_reward (float)
Returns: Return take profit value according to given risk:reward ratio
VSA Signals with Filters### **Key Adjustments to Reduce False Signals**
1. **Increase Volume Thresholds**: Require stronger volume confirmation.
2. **Trend Alignment**: Trade only in the direction of the higher timeframe trend.
3. **Volatility Filter**: Avoid signals in extremely low-volatility markets.
4. **Price Confirmation**: Wait for a follow-through candle.
5. **Time/Context Filters**: Avoid choppy sessions or irrelevant price levels.
---
### **Testing & Optimization**
1. **Backtest**: Use TradingView’s Strategy Tester to compare filtered vs. unfiltered signals.
2. **Parameter Optimization**: Adjust multipliers/thresholds for your asset (e.g., crypto may need higher volume thresholds).
3. **Walk-Forward Analysis**: Test parameters on historical data, then validate on unseen data.
kubebot533nxxcgfdgdfgdfgdfgdfgdfgdggdgddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd dddddddddddddd dddddddddddd ddddddddddddddd ddddddd dddddddd dddddddddddddddddd dddddddddddddd ddd ddd ddddddddddddd dddddddddd ddddddddddd ddddddddd ddddddddd dddddd ddddd d d d d d dd d dd d dd ddddd d d d d
EMA Indicator with Dynamic Color & Crossovers_v003EMA Indicator with Dynamic Color & Crossovers_v003
9 EMA//@version=5
indicator("9 and 15 EMA", overlay=true)
ema9Length = 9
ema15Length = 15
ema9 = ta.ema(close, ema9Length)
ema15 = ta.ema(close, ema15Length)
plot(ema9, color=color.blue, title="9 EMA", linewidth=2)
plot(ema15, color=color.red, title="15 EMA", linewidth=2)
Dk// Custom Indicator: EMA (21, 51, 101) + VWAP
//@version=5
indicator("EMA + VWAP Indicator", overlay=true)
/**
* Description:
* This custom TradingView indicator combines three Exponential Moving Averages (EMAs) and VWAP
* to help traders identify trends and key price levels.
*
* Features:
* - EMA 21 (Short-term trend)
* - EMA 51 (Medium-term trend)
* - EMA 101 (Long-term trend)
* - VWAP (Volume Weighted Average Price for institutional activity tracking)
* - Background color changes to indicate bullish or bearish trends
* - Alerts for EMA crossovers and VWAP breakouts/breakdowns
*
* Usage:
* - If EMA 21 > EMA 51 > EMA 101 → Bullish trend
* - If EMA 21 < EMA 51 < EMA 101 → Bearish trend
* - If price crosses above VWAP → Potential breakout
* - If price crosses below VWAP → Potential breakdown
*/
// Define EMAs
ema21 = ta.ema(close, 21)
ema51 = ta.ema(close, 51)
ema101 = ta.ema(close, 101)
// Define VWAP
vwapValue = ta.vwap
// Plot EMAs
plot(ema21, color=color.blue, linewidth=2, title="EMA 21")
plot(ema51, color=color.orange, linewidth=2, title="EMA 51")
plot(ema101, color=color.purple, linewidth=2, title="EMA 101")
// Plot VWAP
plot(vwapValue, color=color.red, linewidth=2, title="VWAP")
// Background Color for Trend Confirmation
bullish = ema21 > ema51 and ema51 > ema101
bearish = ema21 < ema51 and ema51 < ema101
bgcolor(bullish ? color.green : bearish ? color.red : na, transp=90)
// Alerts for EMA Crossovers
alertcondition(ta.crossover(ema21, ema51), title="Bullish Crossover", message="EMA 21 crossed above EMA 51")
alertcondition(ta.crossunder(ema21, ema51), title="Bearish Crossover", message="EMA 21 crossed below EMA 51")
alertcondition(ta.crossover(close, vwapValue), title="VWAP Breakout", message="Price crossed above VWAP")
alertcondition(ta.crossunder(close, vwapValue), title="VWAP Breakdown", message="Price crossed below VWAP")
All in One with CCICCI with Stock ATR that shows the risk of the stock and the present that the stock can move in one day of trade
Dual MTF MADescription:
Parameters:
MA Type: Choose between Simple (SMA) and Exponential (EMA) Moving Average
MA Length: Number of periods for calculation (default 20)
Source: Price source for calculations (Close/Open/High/Low)
Offset: Shift lines forward/backward in time
Features:
Works on any timeframe without code modifications
Displays overlay on price chart (overlay=true)
Customizable visual settings (color, thickness)
Usage:
Trend identification
Price crossover detection
Support/resistance analysis
10 EMA Indicator ( Murod Khamidov )Quyidagi qisqacha maʼlumot indikatorning asosiy funksiyalarini tushuntiradi:
10 EMA Indikatori
Koʻp vaqt oraligʻidagi hisoblash: Indikator TradingView’da 10 ta eksponentsial harakatlanuvchi o‘rtacha (EMA) ni hisoblaydi, har biri uchun alohida timeframe (vaqt oraligʻi) tanlash imkoniyati mavjud.
Moslashtiriladigan parametrlar: Har bir EMA uchun mustaqil ravishda parametrlar belgilanishi mumkin:
Length: Hisoblash davri (period) aniqlanadi.
Source: Hisoblash uchun asosiy narx (masalan, close) tanlanadi.
Offset: Chizma siljishi uchun qiymat.
Vizual ajratish: Har bir EMA turli rang bilan chiziladi, bu esa grafikda ularni oson aniqlash imkonini beradi.
Tahlil va strategiya: Indikator yordamida bozor tendensiyalari, trend yo‘nalishlari va potentsial signal nuqtalari tezda aniqlanishi mumkin.
Ushbu indikator turli strategiyalar va tahlillar uchun qulaylik yaratib, bozordagi o‘zgarishlarni tezda kuzatib borishga yordam beradi.
Friday High and Low RangeThe Friday High and Low Indicator is a handy tool I created to help traders identify the highest and lowest price levels reached by a financial instrument on Fridays. Marking these key levels, provides valuable insights into market behavior and potential support and resistance zones. This indicator can be handy for weekend analysis and planning trading strategies for the upcoming week. 📈
ChillLax Relative Strength Line with NewHigh NewLow Blue DotThis is similar to the IBD MarketSurge (MarketSmith) Blue Dot:
This plots the Relative Strength line vs. an index (default index is SPX), with a Dot when the RS line is hitting a New High.
If the RS hits a New High over the past X bars (default is 50), it shows a Light Blue (user definable) Dot on the RS line, if RS hits New High before the instrument hits New High, it shows a bigger/darker Blue Dot. Reverse for New Lows (orange for RS NL, Red for RS NL before Price NL)
This Dot is similar to the IBD Marketsurge RS New High Blue Dot, this indicator shows all the previous dots (MarketSurge shows only the last one). This on, unlike IBD, also shows RS New Lows. This one distinguishes RS NH before Price NH, and RS NL before Price NL. Lastly, IBD's lookback period is 52 week, here it is default to 50 days, but it is changeable.
VCRIX OscillatorVCRIX Oscillator: Normalized Volatility Index for Crypto
A normalized (0-100) version of the VCRIX (Volatility Cryptocurrency Index) based on Kim, Trimborn, and Härdle's research. Transforms complex volatility calculations into an easy-to-read oscillator format.
### Indicator Specifications
• Type: Oscillator
• Timeframe: 1D recommended (4H minimum)
• Scale: 0-100
• Overlay: No
• Assets: Cryptocurrency
### Key Levels
• Overbought Zone (>80)
- Extreme market volatility
- Potential reversal points
- Risk management zone
• Normal Range (20-80)
- Standard trading conditions
- Trending phases
- Healthy volatility
• Oversold Zone (<20)
- Low volatility periods
- Potential breakout setup
- Accumulation zones
### Input Parameters
• Lookback Period: 30 days
• Kernel Bandwidth: 0.3
• Jump Threshold: 4.0
• Normalization Period: 252 days
### Signals
1. Overbought/Oversold:
- Cross above 80 = Extreme volatility alert
- Cross below 20 = Low volatility alert
2. Trend Analysis:
- Rising oscillator = Increasing volatility
- Falling oscillator = Decreasing volatility
3. Divergences:
- Price making highs, oscillator making lows = Potential trend weakness
- Price making lows, oscillator making highs = Potential trend strength
### Trading Applications
1. Risk Management:
- Reduce position sizes when > 80
- Increase positions when < 20
- Use normal sizing 20-80
2. Entry/Exit Timing:
- Look for breakouts when oscillator < 20
- Consider taking profits when > 80
- Watch for divergences at extremes
### Formula Components
• Raw VCRIX calculation using:
- Log returns with jump detection
- Gaussian kernel smoothing
- Bi-power variation
• Normalized to 0-100 scale using yearly high/low
• 10-period smoothing overlay
### Notes
- More effective on higher timeframes
- Use with trend confirmation
- Consider market context
- Built-in alerts at extreme levels
Based on: "VCRIX - A Volatility Index for Crypto-Currencies" by Kim, Trimborn, and Härdle (2019)
SVRS 1M CTCOverview:
This TradingView indicator generates Buy, Sell, and Exit signals based on EMA 200 and EMA 9. It also dynamically changes candle colors to improve trend visibility.
Key Features:
✅ Buy Signal: When the price is above both EMA 200 & EMA 9 and shows bullish momentum.
✅ Sell Signal: When the price is below both EMA 200 & EMA 9 and shows bearish momentum.
✅ Exit Signal: When the price crosses EMA 200 (either up or down).
✅ Candle Color Change:
Green: Price is above EMA 200 (bullish trend).
Red: Price is below EMA 200 (bearish trend).
Yellow: Price is crossing EMA 200 (potential trend reversal).
✅ Hidden EMA 200 & EMA 9: Used internally for calculations but not displayed on the chart.
✅ Alerts: Notifications for Buy, Sell, and Exit signals.
Usage:
This indicator helps traders identify trend direction, entry points, and exit signals with enhanced visual clarity through dynamic candle coloring. 🚀