Futures VWAP Cut-through StrategyThis strategy is based upon Futures, works best on 1min and 5min chart with entry through vwap. Works best along with daily change in OI.
-If the daily change in OI is high on call side, then we will sell futures below vwap.
-If the daily change in OI is high on put side, then we will buy futures above vwap.
Chỉ báo và chiến lược
MACD Divergence HH LLfirst publish
MACD checking Divergence
and also check is there Higher High or Lower Low on price
Support and Resistance Levels (Extended) Automatically detects pivot highs and lows to mark resistance and support levels And Displays levels on the chart for easy identification.
ATH and Desired Percent from ATH Toggle by RNPSometimes, when analyzing scripts in the daily time frame, it can be challenging to identify the All-Time High (ATH) and calculate the percentage drop from it. Additionally, you may want to determine whether a 30%, 40%, or 50% drop could be a good buying opportunity. Using a scale to calculate these levels can be time-consuming.
This indicator simplifies the process by displaying both the ATH price and the desired percentage price levels from the ATH, making it easier to identify key buying zones.
Global Net LiquidityTracks the liquidity provided by the major central banks in the world. Minus US reverse repo and treasury general account
RSI Revolucionário InteligenteCaracterísticas do Indicador:
Zonas Dinâmicas:
As zonas de sobrecompra e sobrevenda se ajustam automaticamente com base na volatilidade do mercado, tornando o indicador adaptável a diferentes condições de mercado.
Divergências Automáticas:
Sinais são gerados quando o comportamento do preço diverge do RSI, um forte indicativo de reversões.
Velocidade do RSI:
Considera o quão rápido o RSI está se movendo, para capturar momentos de força ou fraqueza no mercado.
Sinais Filtrados:
Sinais de compra e venda são exibidos apenas quando há confluência de condições, aumentando a precisão.
Como usar:
Aplicar no gráfico do RSI:
Este indicador será exibido no painel do RSI.
Ajuste de Sensibilidade:
Ajuste o fator dinâmico e a sensibilidade conforme o ativo e o timeframe.
Validação Visual:
Observe os sinais e como eles reagem em relação às zonas dinâmicas e às divergências.
evolucion en porcentaje desde entrada ej07cargando el precio de entrada el indicador muestra la evolucion en porcentaje de ganancia o perdida
homayon1368//@version=5
indicator("Advanced Triangle Pattern Detector V2", overlay=true)
// تنظیمات ورودیها
pivot_length = input.int(5, title="Pivot Length", minval=1)
min_triangle_bars = input.int(15, title="Minimum Bars for Triangle", minval=5)
max_triangle_bars = input.int(60, title="Maximum Bars for Triangle", minval=10)
volume_decrease_ratio = input.float(0.7, title="Volume Decrease Threshold", minval=0.1, maxval=1)
// شناسایی نقاط محوری
pivot_high = ta.pivothigh(high, pivot_length, pivot_length)
pivot_low = ta.pivotlow(low, pivot_length, pivot_length)
// ذخیرهی نقاط محوری در آرایهها
var float high_points = array.new_float(0)
var int high_indexes = array.new_int(0)
var float low_points = array.new_float(0)
var int low_indexes = array.new_int(0)
if (not na(pivot_high))
array.push(high_points, pivot_high)
array.push(high_indexes, bar_index)
if (not na(pivot_low))
array.push(low_points, pivot_low)
array.push(low_indexes, bar_index)
// حذف نقاط قدیمیتر از محدوده مثلث
while (array.size(high_indexes) > 0 and bar_index - array.get(high_indexes, 0) > max_triangle_bars)
array.shift(high_points)
array.shift(high_indexes)
while (array.size(low_indexes) > 0 and bar_index - array.get(low_indexes, 0) > max_triangle_bars)
array.shift(low_points)
Previous Day Levels + SMAs + VWAP + Pivot Point - By Drunko// ---------------------------------------------------------------------------
// Description:
// This indicator plots the following levels and indicators on the chart:
// 1. **Previous Day Levels**:
// - High, Low, and Midpoint levels based on the previous day's data.
// 2. **Pivot Point (P)**:
// - Calculated using the standard pivot formula:
// P = (Previous Day High + Previous Day Low + Previous Day Close) / 3.
// 3. **Simple Moving Averages (SMAs)**:
// - 9-period and 20-period SMAs based on the current chart's timeframe.
// 4. **VWAP**:
// - The Volume-Weighted Average Price (VWAP) for the current chart.
//
// Instructions:
// 1. Add the indicator to your chart via TradingView.
// 2. Ensure the chart timeframe is intraday for Previous Day Levels to display.
// 3. Customize the line styles, colors, or calculations as needed in the code.
//
// Features:
// - Distinct colors for each level and indicator.
// - Intraday checks for Previous Day Levels to prevent plotting on higher timeframes.
// - Works seamlessly with any chart timeframe.
// ---------------------------------------------------------------------------
EMA 20,100,200Exponential Moving Average of period 20,100,200. There is no open indicator giving all 3 ema in a single indicator. Anyone using free trading view and need all 3 ema together then this is the best indicator for you.
Custom Envelope 1mLength: 200
Upper Percentage: 0.23
Lower Percentage: 0.28
Method: Simple
Source: Close
Custom Envelope 2mLength: 200
Upper Percentage: 0.45
Lower Percentage: 0.485
Method: Simple
Source: Close
Envelope 1Min - BTELength: 200
Upper Percentage: 0.23
Lower Perentage: 0.28
Method: Simple
Source: Close
Envelope - 2min (BTE)Length: 200
Upper Percentage: 0.45
Lower Percentage: 0.485
Method: Simple
Source: Close
LONG SIGNAL BUY, EMA 9 EMA21Sinal de compra mensal, feito com inteligencia artifical, usado para compras de longo prazo
9 and 21 day EMA Crossover StrategyHow It Works:
Buy Signal: When the 9-day EMA crosses above the 21-day EMA, it indicates a potential buy signal.
Sell Signal: When the 9-day EMA crosses below the 21-day EMA, it indicates a potential sell signal.
Dynamic Spot vs Perp Spread### **Description for TradingView Publication**
---
**Dynamic Spot vs Perp Spread**
(For USDT-Spot and USDT.P-Perp)
Summary of Usefulness:
This indicator is a valuable tool for traders who want to monitor and capitalize on the relationship between spot and perpetual futures (perp) prices. When the spot price exceeds the perp price, it's often a leading signal that the perp price will follow, creating potential trading opportunities. While this behavior doesn't happen every time, divergences between spot and perp prices can frequently signal significant market movements.
What it Does:
This indicator calculates and displays the price spread (percentage difference) between the spot price and perpetual futures (perp) price of a cryptocurrency asset. It dynamically adjusts to the instrument being viewed, ensuring that spot dominance (spot price higher) is plotted above the zero line and perp dominance (perp price higher) is plotted below the zero line. Additionally, the indicator accounts for symbols with multipliers (e.g., `1000SHIBUSDT.P`) to ensure accurate calculations.
Key features include:
- Automatic symbol detection and adjustment for Spot/Perp pairs.
- Dynamic handling of price multipliers for assets with prefixes like `1000`.
- Visualization of spread with a histogram and optional smoothing using an EMA (Exponential Moving Average).
- Configurable alerts for significant spread changes and spread flips.
- No repainting: the indicator uses the `barmerge.lookahead_off` setting to ensure stable, non-repainting values.
---
### **How to Use**
1. **Add the Indicator:**
- Search for "Dynamic Spot vs Perp Spread" in the TradingView Indicators library and add it to your chart.
2. **Understand the Visualization:**
- A positive spread (green histogram) indicates that the spot price is higher than the perp price (spot dominance).
- A negative spread (red histogram) indicates that the perp price is higher than the spot price (perp dominance).
3. **Customize Settings:**
- **EMA Length:** Use the input field to smooth the spread data over a chosen number of periods.
- **Alert Threshold:** Set a threshold to receive alerts when the spread exceeds a specific percentage.
4. **Receive Alerts:**
- Enable alerts for spread flips (when dominance shifts between spot and perp) or when the spread exceeds the defined threshold.
5. **Use Case Examples:**
- **Spot vs. Perp Arbitrage:** Traders can monitor significant deviations between spot and perp prices to identify potential arbitrage opportunities.
- **Market Sentiment Analysis:** Persistent spot dominance may indicate stronger buying interest in the spot market, while perp dominance may suggest futures market speculation.
---
### **Repainting Behavior**
This indicator **does not repaint** because it uses `barmerge.lookahead_off` for all calculations, ensuring that data from the comparison symbol (spot or perp) is locked to the currently completed candle. This means the values plotted and alerts triggered are reliable and do not change retrospectively.
Repainting occurs when an indicator uses future-looking or incomplete data for calculations. By design, this indicator avoids such practices, making it suitable for live trading and analysis.
---
Relative Strength vs SPX
This indicator calculates the ratio of the current chart's price to the S&P 500 Index (SPX), providing a measure of the stock's relative strength compared to the broader market.
Key Features:
Dynamic High/Low Detection: Highlights periods when the ratio makes a new high (green) or a new low (red) based on a user-defined lookback period.
Customizable Lookback: The lookback period for detecting highs and lows can be adjusted in the settings for tailored analysis.
Visual Overlay: The ratio is plotted in a separate pane, allowing easy comparison of relative strength trends.
This tool is useful for identifying stocks outperforming or underperforming the S&P 500 over specific timeframes.
Accumulation Momentum IndicatorEveryone wants to be in a trend, I think this indicator does a great job at showing that key momentum that traders try and capitalize on everyday. I used a Stochastic Momentum Indicator (SMI) indicator. It's a lot like a slower MACD which allows me to capitalize on changing momentum. My goal was to make an indicator that was able to use a weighted mean of many accumulation/momentum indicators. This would give me a well rounded look to really see what direction the momentum and volume is heading.
I did some research on some of the best Accumulation and Momentum Indicators. I landed on 4.
The Accumulation Distribution line which measures the cumulative flow of money in or out of a security. It helps show how quickly money is going in and out of a commodity. The line moving up quickly indicates fast Accumulation while the A/C line is moving down quickly is shows falling Distribution. This can show the momentum and accumulation of a commodity in short and long term based off of Volume.
The On Balance Volume, OBV is a combination of Price Movement and Volume. If price closes higher then the previous bar volume is added while if the price closes lower volume is subtracted. This gives us an overall tally of whether volume is increasing with price or slowing down the momentum in the direction of the current trend. This gives us the ability to see if volume is supporting the price increasing (beginning/middle of a trend) or price is slowing down even though it is still heading in the direction of the current trend (signaling the end of the current trend).
The Force Index, this indicator measures the overall strength of the price movements. It does this by a calculation of price and volume. The close of the current bar subtracted by the previous multiplied by the volume. The result gives us either strong upward or downward motion. This adds magnitude to the overall movement/momentum of the indicator.
Lastly but most certainly not least is the Momentum indicator, (Price Momentum) a simple indicator that shows you the difference between the current close price and the close price from a specified period ago (Most commonly 14 periods/bars ago). Having this indicator is a must because it shows the speed at which price is accelerating or decelerating.
These 4 indicators together help round out the current volume, price movements, accumulation, and momentum of the current market. Since these indicators all have different scales and calculations I had to Normalize the Values to a 0-100 scale. This gives us 1 line and a much more readable easy to understand indicator. After they were normalized I gave them a weighted average that you can control. So lets say you cared more about the Force Index and the OBV rather then the Momentum and the Accumulation Distribution indicators, you would be able to give them more weight in the overall calculation as well as 0 out those you don't even want involved.
I hope the flexibility and the combination of 4 strong Accumulation Momentum indicators helps you better gauge the direction a commodity might head. The way it's used is when the Accumulation Momentum line is Above 50 buying pressure is stronger then selling pressure. An Accumulation Momentum line Below 50 suggests that distribution is more dominant in the current market. This indicator combines four different methods of analyzing price and volume to give you a single composite momentum score, making it easier to visualize when a commodity is being accumulated or distributed and how quickly this process is happening. It helps you track market sentiment based on both price movement and volume, with a clear, visual representation of buying and selling pressure.
Please let me know what you think and how you think I might be able to improve the script. Enjoy!
Stock vs Sector Comparison with HighlightsThis graph is meant as a support to select a stock that is expected to perform better than the sector.
The graph is based on weekly chart. So this is a medium / long term strategy.
How is expected to be used: when the stock has under performed the sector for some time, there is a natural tendence that it will catch up with the sector again. So, for example, if the color change from green to red, you should consider find another stock in the sector. If the stock looses the green color, but is not red yet, you should wait. And vice versa if you start with red. However, life is not that simple, as you can get fake signal. To mitigate this problem, you can adjust the threshold in the input setting, so just go for the signal after x weeks over/underperforming. You also need remember to select the sector in the settings, as the sector is not give automatically when you select the stock.
Below the sectors used:
Sector Name Ticker
S&P 500 (Market Index) SPY
Technology XLK
Financials XLF
Consumer Discretionary XLY
Industrials XLI
Health Care XLV
Consumer Staples XLP
Energy XLE
Utilities XLU
Communication Services XLC
Real Estate XLRE
Materials XLB