Reversão Simples com Pontos de Liquidez//@version=5
indicator("Indicador IQ Option - Reversão Simples com Pontos de Liquidez", overlay=true)
// Configurações do RSI para detectar condições de reversão
rsiLength = input.int(14, title="Período do RSI")
overbought = input.int(70, title="Nível de Sobrecomprado (Venda)")
oversold = input.int(30, title="Nível de Sobrevendido (Compra)")
rsi = ta.rsi(close, rsiLength)
// Definindo as condições de entrada de compra (CALL) e venda (PUT)
sinalCompra = ta.crossover(rsi, oversold) // RSI cruzando para cima o nível de sobrevenda
sinalVenda = ta.crossunder(rsi, overbought) // RSI cruzando para baixo o nível de sobrecompra
// Plotando os indicativos de entrada para Compra (CALL) e Venda (PUT) como texto
plotshape(series=sinalCompra, title="Entrada CALL", location=location.belowbar, color=color.green, style=shape.labelup, text="CALL")
plotshape(series=sinalVenda, title="Entrada PUT", location=location.abovebar, color=color.red, style=shape.labeldown, text="PUT")
// Identificando os dois últimos pontos de liquidez (topos e fundos)
lookback = 50 // Número de barras para procurar os topos e fundos
// Encontrando os índices dos maiores topos e fundos nas últimas `lookback` barras
topoIndex = ta.highestbars(high, lookback)
fundoIndex = ta.lowestbars(low, lookback)
// Garantindo que os índices não sejam negativos (significa que o ponto não existe dentro da janela de lookback)
validTopoIndex = topoIndex >= 0 ? topoIndex : na
validFundoIndex = fundoIndex >= 0 ? fundoIndex : na
// Preços de liquidez nos topos e fundos
liquidezTopo = validTopoIndex >= 0 ? high : na
liquidezFundo = validFundoIndex >= 0 ? low : na
// Plotando linhas horizontais nos dois últimos pontos de liquidez
if (validTopoIndex >= 0)
line.new(x1=bar_index , y1=liquidezTopo, x2=bar_index, y2=liquidezTopo, color=color.orange, width=2, style=line.style_dashed)
if (validFundoIndex >= 0)
line.new(x1=bar_index , y1=liquidezFundo, x2=bar_index, y2=liquidezFundo, color=color.blue, width=2, style=line.style_dashed)
// Detectando reversões após os pontos de liquidez
reversaoTopo = ta.crossover(close, liquidezTopo) // Quando o preço ultrapassa o topo
reversaoFundo = ta.crossunder(close, liquidezFundo) // Quando o preço cai abaixo do fundo
// Plotando setas de reversão
plotshape(series=reversaoTopo, title="Reversão no Topo", location=location.abovebar, color=color.yellow, style=shape.triangledown, text="Reversão")
plotshape(series=reversaoFundo, title="Reversão no Fundo", location=location.belowbar, color=color.purple, style=shape.triangleup, text="Reversão")
// Alertas para notificar o trader
alertcondition(sinalCompra, title="Sinal de Compra (CALL)", message="Sinal de Compra (CALL) detectado!")
alertcondition(sinalVenda, title="Sinal de Venda (PUT)", message="Sinal de Venda (PUT) detectado!")
Chart patterns
EMA, SMA, BB & 5-21 StrategyThis Pine Script code displays Exponential Moving Averages (EMA) and Simple Moving Averages (MA) on a TradingView chart based on the user's selection. Users can choose to show EMA, MA, or both. The script includes predefined periods for both EMA ( ) and MA ( ). Each period is displayed in a different color, making it easy to distinguish between each line. This helps traders analyze trends, support, and resistance levels effectively. And Bollinger bands, 5-21 Strategy
Bu Pine Script kodu, Üstel Hareketli Ortalama (EMA) ve Basit Hareketli Ortalama (MA) çizgilerini TradingView grafiğinde kullanıcının seçimine göre gösterir. Kullanıcı EMA, MA veya her ikisini seçebilir. EMA için ve MA için periyotları tanımlıdır. Her çizgi farklı renkte gösterilir, bu da periyotları ayırt etmeyi kolaylaştırır. Bu gösterge, yatırımcıların trendleri, destek ve direnç seviyelerini analiz etmesine yardımcı olur.
New Day [UkutaLabs]█ OVERVIEW
The New Day indicator is a useful trading tool that automatically identifies the first bar of each trading day for the user’s convenience.
█ USAGE
At the beginning of each trading day, this indicator will automatically create a line that will display the first bar of the trading day. This is a useful way to visualize where each day begins and ends.
When this indicator is used on a stock or futures chart, the first bar of the session will be identified as the first bar of the trading day. If this indicator is used on crypto or forex charts, which are tradable for 24 hours, the indicator will identify the bar closest to midnight as the first bar of the trading day.
█ SETTINGS
Configuration
• Line Color: This setting allows the user to determine the color of the New Day line.
• Line Width: This setting allows the user to determine the width of the New Day line.
• Line Style: This setting allows the user to determine the style of the New Day line.
Stochastic RSI V1Stokastik RSI V1 - Kesişim noktaları işaretlendi, aşırı alım ve satım bölgeleri oluşturuldu. Çok ta önemli olmayabilecek değişiklikler işte...
HIU - SMA Cross with RSI FilterStrategy Summary:
Moving Averages: Uses 9 and 21-period SMAs for crossover signals.
RSI Filtering: Requires RSI < 30 for long entries and RSI > 70 for short entries.
Stop Loss & Take Profit: Based on percentage levels, adaptable to volatility.
These adjustments help reduce false signals and adapt the strategy to different market conditions.
Dinamik EMA Periyotları ile Buy/Sell Sinyalifiyat 50 emanın üstündeyken 10 ema 30 emayı 50 emanın üstünde yukarı kesince buy sinyal etiketi,fiyat 50 emanın altındayken 10 ema 30 emayı 50 emanın altında aşağı doğru kesince sell sinyal etiketi var.buy ve sell sinyalleri için alarm kurulabilir.
Confirmed market structure buy/sell indicatorOverview
The Swing Point Breakout Indicator with Multi-Timeframe Dashboard is a TradingView tool designed to identify potential buy and sell signals based on swing point breakouts on the primary chart's timeframe while simultaneously providing a snapshot of the market structure across multiple higher timeframes. This dual approach helps traders make informed decisions by aligning short-term signals with broader market trends.
Key Features
Swing Point Breakout Detection
Swing Highs and Lows: Identifies significant peaks and troughs based on a user-defined lookback period.
Breakout Signals:
Bullish Breakout (Buy Signal): Triggered when the price closes above the latest swing high.
Bearish Breakout (Sell Signal): Triggered when the price closes below the latest swing low.
Visual Indicators: Highlights breakout bars with colors (lime for bullish, red for bearish) and plots buy/sell markers on the chart.
Multi-Timeframe Dashboard
Timeframes Monitored: 1m, 5m, 15m, 1h, 4h, 1D, and 1W.
Market Structure Status:
Bullish: Indicates upward market structure.
Bearish: Indicates downward market structure.
Neutral: No clear trend.
Visual Table: Displays each timeframe with its current status, color-coded for quick reference (green for bullish, red for bearish, gray for neutral).
Operational Workflow
Initialization:
Sets up a dashboard table on the chart's top-right corner with headers "Timeframe" and "Status".
Swing Point Detection:
Continuously scans the main timeframe for swing highs and lows using the specified lookback period.
Updates the latest swing high and low levels.
Signal Generation:
Detects when the price breaks above the last swing high (bullish) or below the last swing low (bearish).
Activates potential buy/sell setups and confirms signals based on subsequent price movements.
Dashboard Update:
For each defined higher timeframe, assesses the market structure by checking for breakouts of swing points.
Updates the dashboard with the current status for each timeframe, aiding in trend confirmation.
Visualization:
Colors the bars where breakouts occur.
Plots buy and sell signals directly on the chart for easy identification.
GoldWaveX Strategy - Debug Modegold gold gold ogld gold gold gold gold gold gold gold gold gold gold
Enhanced London Session SMC SetupEnhanced London Session SMC Setup Indicator
This Pine Script-based indicator is designed for traders focusing on the London trading session, leveraging smart money concepts (SMC) to identify potential trading opportunities in the GBP/USD currency pair. The script uses multiple techniques such as Order Block Detection, Imbalance (Fair Value Gap) Analysis, Change of Character (CHoCH) detection, and Fibonacci retracement levels to aid in market structure analysis, providing a well-rounded approach to trade setups.
Features:
London Session Highlight:
The indicator visually marks the London trading session (from 08:00 AM to 04:00 PM UTC) on the chart using a blue background, signaling when the high-volume, high-impulse moves tend to occur, helping traders focus their analysis on this key session.
Order Block Detection:
Identifies significant impulse moves that may form order blocks (supply and demand zones). Order blocks are areas where institutions have executed large orders, often leading to price reversals or continuation. The indicator plots the high and low of these order blocks, providing key levels to monitor for potential entries.
Imbalance (Fair Value Gap) Detection:
Detects and highlights price imbalances or fair value gaps (FVG) where the market has moved too quickly, creating a gap in price action. These areas are often revisited by price, offering potential trade opportunities. The upper and lower bounds of the imbalance are visually marked for easy reference.
Change of Character (CHoCH) Detection:
This feature identifies potential trend reversals by detecting significant changes in market character. When the price action shifts from bullish to bearish or vice versa, a CHoCH signal is triggered, and the corresponding level is marked on the chart. This can help traders catch trend reversals at key levels.
Fibonacci Retracement Levels:
The script calculates and plots the key Fibonacci retracement levels (0.618 and 0.786 by default) based on the highest and lowest points over a user-defined swing lookback period. These levels are commonly used by traders to identify potential pullback zones where price may reverse or find support/resistance.
Directional Bias Based on Market Structure:
The indicator provides a market structure analysis by comparing the current highs and lows to the previous periods' highs and lows. This helps in identifying whether the market is in a bullish or bearish state, providing a clear directional bias for trade setups.
Alerts:
The indicator comes with built-in alert conditions to notify the trader when an order block, imbalance, CHoCH, or other significant price action event is detected, ensuring timely action can be taken.
Ideal Usage:
Timeframe: Suitable for intraday trading, particularly focusing on the London session (08:00 AM to 04:00 PM UTC).
Currency Pair: Specifically designed for GBP/USD but can be adapted to other pairs with similar market behavior.
Trading Strategy: Best used in conjunction with a price action strategy, focusing on the key levels identified (order blocks, FVG, CHoCH) and using Fibonacci retracement levels for precision entries.
Target Audience: Ideal for traders who follow smart money concepts (SMC) and are looking for a structured approach to identify high-probability setups during the London session.
Long-Term Pivot and Golden Crossover Strategy//@version=5
strategy("Long-Term Pivot and Golden Crossover Strategy", overlay=true)
// Input for moving averages
shortTerm = input.int(100, title="Short-term SMA Period") // 100-period SMA
longTerm = input.int(200, title="Long-term SMA Period") // 200-period SMA
// Calculate moving averages
sma100 = ta.sma(close, shortTerm)
sma200 = ta.sma(close, longTerm)
// Golden crossover: when short-term SMA crosses above long-term SMA
goldenCrossover = ta.crossover(sma100, sma200)
// Calculate daily pivot points (traditional formula)
pivot = (high + low + close) / 3
support1 = pivot - (high - low)
resistance1 = pivot + (high - low)
support2 = pivot - 2 * (high - low)
resistance2 = pivot + 2 * (high - low)
// Plot SMAs and pivot points on the chart
plot(sma100, color=color.blue, title="100-period SMA", linewidth=2)
plot(sma200, color=color.red, title="200-period SMA", linewidth=2)
plot(pivot, color=color.purple, title="Pivot Point", linewidth=2)
plot(support1, color=color.green, title="Support 1", linewidth=1)
plot(resistance1, color=color.green, title="Resistance 1", linewidth=1)
plot(support2, color=color.green, title="Support 2", linewidth=1)
plot(resistance2, color=color.green, title="Resistance 2", linewidth=1)
// Entry Condition: Golden crossover with price above the pivot point
longCondition = goldenCrossover and close > pivot
// Exit Condition: You can use a stop-loss and take-profit, or a bearish crossover
stopLossPercent = input.float(3, title="Stop Loss (%)") / 100 // Wider stop loss for long-term trades
takeProfitPercent = input.float(10, title="Take Profit (%)") / 100 // Higher take profit for long-term trades
// Calculate stop-loss and take-profit prices
longStopLoss = close * (1 - stopLossPercent)
longTakeProfit = close * (1 + takeProfitPercent)
// Execute strategy
if (longCondition)
strategy.entry("Long", strategy.long, stop=longStopLoss, limit=longTakeProfit)
// Optional: Exit strategy based on a bearish crossover
exitCondition = ta.crossunder(sma100, sma200)
if (exitCondition)
strategy.close("Long")
// Strategy exit with custom stop loss and take profit
strategy.exit("Take Profit/Stop Loss", from_entry="Long", stop=longStopLoss, limit=longTakeProfit)
Voltron + DVOL/UVOL Combined IndicatorCombinations of my technical analysis and some general market exhaustion
52-Week Low Buy-High Sell StrategyThis strategy can be used to test how much profit you would make on a script if you invest at 52 Week Low and Sell at 52 week high previous to the 52 week low.
Simplest Strategy Crossover with Labels Buy/Sell to $1000This Pine Script code, titled Custom Moving Average Crossover with Labels, is a trading indicator developed for the TradingView platform. It enables traders to visualize potential buy and sell signals based on the crossover of two moving averages, offering customizable settings for enhanced flexibility. Here’s a breakdown of its key features:
Key Features
User-Defined Moving Averages:
The script includes two moving averages: a fast and a slow one. Users can adjust the periods of each average (default values are 10 for the fast MA and 100 for the slow MA), allowing them to adapt the indicator to various market conditions and trading styles.
Time-Restricted Signal Validity:
The indicator includes settings for active trading hours, defined in UTC time. Users specify a start and end hour, making it possible to limit buy and sell signals to certain times of the day. This is especially useful for traders who wish to avoid signals outside their preferred trading hours or during periods of high volatility.
Crossover-Based Buy and Sell Signals:
Buy Signal: A "Buy" label is triggered and displayed when the fast moving average crosses above the slow moving average within the user-defined trading hours, signifying a potential upward trend.
Sell Signal: A "Sell" label is generated when the fast moving average crosses below the slow moving average, indicating a possible downtrend. Labels are displayed on the chart, color-coded for easy identification: green for buys and red for sells.
Profit Target Labels (+100 Points):
After each buy or sell entry, the indicator tracks price movements. When the price increases by 100 points from a buy entry or decreases by 100 points from a sell entry, a +100 label appears to signify a 100-point movement.
These labels serve as checkpoints to help traders assess performance and decide on further actions, such as taking profits or adjusting stop losses.
Visual Customization:
The moving averages are color-coded (blue for fast MA, red for slow MA) for easy distinction, and label text appears in white to enhance visibility against various chart backgrounds.
Benefits for Traders
Efficient Trade Identification: The moving average crossover combined with time-based restrictions allows traders to capture key market trends within chosen hours.
Clear Profit Checkpoints: The +100 point label alerts traders to significant price movement, useful for those looking for set profit targets.
Flexibility: Customizable inputs give users control over the indicator’s behavior, making it suitable for both day trading and swing trading.
This indicator is designed for traders looking to enhance their technical analysis with reliable, user-defined buy/sell signals, helping to increase confidence and improve trade timing based on objective data.
Use AI to create trend trading.This strategy is a trend trading strategy. This strategy used data from AI 2020-2023 as training data.
Based on Binance, it gives you about 6500% return from 2017 to now. But I put this strategy in a margin strategy of 5x. If you calculate the return by 5x, it brings about 783,000,000%.
If you assume there is no fee, you can earn about 8,443,000,000%.
AstroTrading_OrderBlocksThe AstroTrading Order Blocks indicator is a tool that helps identify potential support and resistance levels by establishing relationships between price action and candle data. This indicator uses the open, close, high and low values of past candles to analyze their interaction with current candles. Users can add this indicator to their charts to better understand market behavior.
Key Features:
Candle Information Analysis:
The indicator detects whether the previous candle was green or red.
The open, close, high and low levels of past candles are analyzed and compared to the current candle.
Conditions:
Red Line Condition: If the previous candle is green, the high of the current candle is between the open and close of the previous candle and the current candle is red, a red line is formed.
Green Line Condition: If the previous candle was red, the low of the current candle is between the open and close of the previous candle, and the current candle is green, a green line is formed.
Visual Expressions on the Chart:
When the red line condition is triggered, red lines and the “🐻Bear OB🐻” sign are displayed on the chart.
When the green line condition is triggered, green lines and the “🐂Bull OB🐂” sign are displayed on the chart.
Usage:
This indicator helps to identify support and resistance levels in technical analysis.
Traders can evaluate potential buying or selling opportunities by analyzing past price movements.
Warnings:
Users are advised to use the indicator with caution and conduct their own research.
The indicator should only be used to identify support and resistance levels and should not be used in conjunction with other technical analysis tools.
Summary of the Code:
This indicator is designed to work on the TradingView platform and performs the following functions:
Analyzes previous candle data and compares it with the current candle data.
Plots support and resistance levels on the chart according to the conditions.
It displays the relevant symbols with red and green lines.
SK_Pivot_StrategyKey Changes:
Market Hours Checkbox: Added useMarketHours input to enable or disable the market hours filter.
isMarketHour() Function: Added to determine if the current time is within market hours.
Condition Modification: Included isMarketHour() in the conditions for longConditionMet and shortConditionMet to ensure signals are generated only during market hours if the filter is enabled.
These modifications ensure that your strategy only triggers signals during market hours when the filter is enabled.
UT Bot Strategy with RSI, Supertrend, and Ichimoku Cloud FiltersThis is a stratefy using UT Bot Strategy with RSI, Supertrend, and Ichimoku Cloud Filters
Institutional Footprint Reversals// This indicator combines volume delta analysis in the form of footprint with MFI to identify potential reversal points in the market.
//
// Signal Generation:
// Bearish Signals:
// - Price closes below Candles Point of Control (POC)
// - Top two delta levels show positive flow (accumulation at highs)
// - MFI above 65 (overbought condition)
//
// Bullish Signals:
// - Price closes above Candles Point of Control (POC)
// - Bottom two delta levels show negative flow (accumulation at lows)
// - MFI below 35 (oversold condition)
//
// The indicator uses footprint volume analysis to track delta flow at different price levels,
// helping identify potential reversals when institutional activity shows signs of accumulation
// or distribution at key levels.