Gogol' 500 Nadaraya-Watson Envelope [LuxAlgo]50 Bars 500 Bars
Индикатор для анализа рыночных данных, улучшенный за счёт увеличения глубины анализа с 50 до 500 баров. Это позволяет выявлять долгосрочные тренды, снижать влияние рыночного шума и получать более точные сигналы для торговли. Идеален для работы в условиях высокой волатильности и долгосрочного технического анализа.
Bänder und Kanäle
Visible and Anchored OTE chart [SYNC & TRADE]Thanks for the start @twingall
Visible and Anchored OTE chart
Indicator for visualizing price levels and optimal trading zones (OTE - Optimal Trading Entry) using Fibonacci levels.
Main features
Visualization of price ranges using two OTE zones:
OTE 70% (79-62 Fibonacci levels)
OTE 30% (21-38 Fibonacci levels)
Setting up time periods:
Ability to use a custom date range
Option to work with a higher time frame
Flexible display settings:
Choose between using candle bodies or the full range for binding
Customizable appearance of OTE boxes
Customizable text labels
Additional levels:
Middle line (50.5%)
Optional levels of 29.5%, 70.5% and 88%
Customizable Fibonacci extensions
Indicator settings
Main parameters
Use Custom Dates - enable a custom date range
Start Date/End Date - set a time range
Use Higher Timeframe - use a higher time frame
Higher Timeframe - select a higher timeframe
Setting up OTE zones
Show Fib Box - displaying OTE zones
Enable Fib Box 79-62 - enabling OTE zone 70%
Enable Fib Box 21-38 - enabling OTE zone 30%
Show Text - displaying text labels in zones
Visual design
Text Size - text size (tiny/small/medium/large)
Text Color - text color
Text Alignment - text alignment
Line Thickness - line thickness (1-4)
Line Style - line style (Solid/Dashed/Dotted)
Fibonacci levels
High/Low Lines - displaying extreme levels
Midline - displaying the middle line (50.5%)
Show 29.5 Line - additional level 29.5%
Show 70.5 Line - additional level 70.5%
Show 88 Line - additional level 88%
Extensions Fibonacci
There are 6 customizable extension levels available:
Ext#1 (default 1.0)
Ext#2 (default 1.27)
Ext#3 (default 1.62)
Ext#4 (default 2.0)
Ext#5 (default 2.62)
Ext#6 (default 3.62)
For each level, you can configure:
On/Off
Color
Meaning
Alerts
The indicator provides the following types of alerts:
Entering/Exiting OTE Zones:
Entering 70% OTE Zone
Exiting 70% OTE Zone
Entering 30% OTE Zone
Exiting 30% OTE Zone
Crossing Additional Levels:
Crossing 29.5% Level
Crossing 70.5% Level
Crossing 88% Level
Reaching Extension Levels Fibonacci:
Alerts for each configured extension level
Support for both positive and negative extensions
Usage
Add the indicator to the chart
Configure the required display parameters
Set alerts if necessary
Use OTE zones to identify potential entry points into the market
Notes
The indicator automatically updates when the visible area of the chart changes
When using a custom date range, make sure the selected period contains data
For correct operation with a higher time frame, make sure that historical data is available
Visible and Anchored OTE chart
Индикатор для визуализации ценовых уровней и зон оптимальной торговли (OTE - Optimal Trading Entry) с использованием уровней Фибоначчи.
Основные возможности
Визуализация ценовых диапазонов с помощью двух OTE зон:
OTE 70% (79-62 уровни Фибоначчи)
OTE 30% (21-38 уровни Фибоначчи)
Настройка временных периодов:
Возможность использования пользовательского диапазона дат
Опция работы с высшим таймфреймом
Гибкая настройка отображения:
Выбор между использованием тел свечей или полного диапазона для привязки
Настраиваемый внешний вид боксов OTE
Настраиваемые текстовые метки
Дополнительные уровни:
Средняя линия (50.5%)
Опциональные уровни 29.5%, 70.5% и 88%
Настраиваемые расширения Фибоначчи
Настройка индикатора
Основные параметры
Use Custom Dates - включение пользовательского диапазона дат
Start Date/End Date - установка временного диапазона
Use Higher Timeframe - использование высшего таймфрейма
Higher Timeframe - выбор высшего таймфрейма
Настройка OTE зон
Show Fib Box - отображение зон OTE
Enable Fib Box 79-62 - включение зоны OTE 70%
Enable Fib Box 21-38 - включение зоны OTE 30%
Show Text - отображение текстовых меток в зонах
Визуальное оформление
Text Size - размер текста (tiny/small/medium/large)
Text Color - цвет текста
Text Alignment - выравнивание текста
Line Thickness - толщина линий (1-4)
Line Style - стиль линий (Solid/Dashed/Dotted)
Уровни Фибоначчи
High/Low Lines - отображение крайних уровней
Midline - отображение средней линии (50.5%)
Show 29.5 Line - дополнительный уровень 29.5%
Show 70.5 Line - дополнительный уровень 70.5%
Show 88 Line - дополнительный уровень 88%
Расширения Фибоначчи
Доступно 6 настраиваемых уровней расширения:
Ext#1 (по умолчанию 1.0)
Ext#2 (по умолчанию 1.27)
Ext#3 (по умолчанию 1.62)
Ext#4 (по умолчанию 2.0)
Ext#5 (по умолчанию 2.62)
Ext#6 (по умолчанию 3.62)
Для каждого уровня можно настроить:
Включение/выключение
Цвет
Значение
Оповещения
Индикатор предоставляет следующие типы оповещений:
Вход/выход из зон OTE:
Вход в зону OTE 70%
Выход из зоны OTE 70%
Вход в зону OTE 30%
Выход из зоны OTE 30%
Пересечение дополнительных уровней:
Пересечение уровня 29.5%
Пересечение уровня 70.5%
Пересечение уровня 88%
Достижение уровней расширения Фибоначчи:
Оповещения для каждого настроенного уровня расширения
Поддержка как положительных, так и отрицательных расширений
Использование
Добавьте индикатор на график
Настройте необходимые параметры отображения
При необходимости установите оповещения
Используйте зоны OTE для определения потенциальных точек входа в рынок
Примечания
Индикатор автоматически обновляется при изменении видимой области графика
При использовании пользовательского диапазона дат убедитесь, что выбранный период содержит данные
Для корректной работы с высшим таймфреймом убедитесь в доступности исторических данных
9-15 Ema Strategy by ChartedhighsFeatures:
Threshold Input:
Allows the user to set a customizable threshold for the absolute difference between the two EMAs (default: 5).
Ensures only significant differences are considered for trend identification.
Exponential Moving Averages (EMAs):
Calculates two EMAs:
EMA 9: A faster-moving average for short-term trends.
EMA 15: A slower-moving average for mid-term trends.
Trend Identification:
The absolute difference (ema_diff) between the two EMAs is used to determine trend significance.
Conditions for trends:
Bullish Trend: EMA 9 is above EMA 15, and their difference meets or exceeds the threshold.
Bearish Trend: EMA 9 is below EMA 15, and their difference meets or exceeds the threshold.
Visual Indicators:
Background Color:
Green background for bullish trends.
Red background for bearish trends.
The transparency level is set to 90 for subtle visualization.
If conditions are not met, no background color is applied.
EMA Plots:
EMA 9 is plotted in blue.
EMA 15 is plotted in orange.
Provides a clear visual representation of the EMAs on the chart.
User-Friendly Settings:
Customizable parameters via an input field to adapt the strategy to various market conditions.
Purpose: This script helps traders identify strong bullish or bearish trends based on EMA crossovers and their differences, enabling them to make informed decisions. It is particularly useful for quick visual analysis of market trends on any timeframe.
Trend Indicator with RSI (v6)trendline indicator that used rsi and the latest pine editor version. also epstein didnt kill himself.
BOS and Volume Strategy with ConfirmationHi all, im trying to build a strategy based on BOS. i ran into a problem when i saw the stoploss not working.
i hope someone could help me figure out the problem.
thanks
bapu ka supertrend sniperbapu ka supertrend sniper bapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniperbapu ka supertrend sniper
AI-Inspired Trading Strategy//@version=6
strategy("AI-Inspired Trading Strategy", overlay=true)
// Step 1: Input parameters for indicators
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.float(70, title="RSI Overbought Level")
rsiOversold = input.float(30, title="RSI Oversold Level")
smaShortLength = input.int(20, title="Short SMA Length")
smaLongLength = input.int(50, title="Long SMA Length")
macdFast = input.int(12, title="MACD Fast Length")
macdSlow = input.int(26, title="MACD Slow Length")
macdSignal = input.int(9, title="MACD Signal Length")
// Step 2: Calculate indicators
rsi = ta.rsi(close, rsiLength)
smaShort = ta.sma(close, smaShortLength)
smaLong = ta.sma(close, smaLongLength)
macdLine = ta.ema(close, macdFast) - ta.ema(close, macdSlow)
signalLine = ta.ema(macdLine, macdSignal)
// Step 3: Store crossover and crossunder results
smaCrossUp = ta.crossover(smaShort, smaLong)
smaCrossDown = ta.crossunder(smaShort, smaLong)
macdCrossUp = ta.crossover(macdLine, signalLine)
macdCrossDown = ta.crossunder(macdLine, signalLine)
// Step 4: Define buy and sell conditions
buyCondition = (rsi < rsiOversold) and smaCrossUp and macdCrossUp
sellCondition = (rsi > rsiOverbought) or smaCrossDown or macdCrossDown
// Step 5: Plot buy and sell signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Step 6: Execute trades
if (buyCondition)
strategy.entry("Buy", strategy.long)
if (sellCondition)
strategy.close("Buy")
Hold Time With Percentage Drop Catastrophic ExitStrategy Name: Volatile Market Minimum-Hold & Catastrophic Drop Exit Strategy
Description:
This is a strategy designed to operate effectively within volatile trading environments, with specific rules that balance patience with protection from risk. It looks to capitalize on breakout conditions but provides a failsafe in the event of a sudden severe price decline.
Key Features:
Volatility-Based Entry Criteria:
This strategy is based on Bollinger Bands, ATR, VWAP, and MACD in trying to find breakout opportunities with increased volatility in the markets. It demands that the price go over the upper Bollinger Band when ATR indicates increased turbulence and that MACD signals upward momentum. In this way, it selects trades with high follow-through likelihoods, especially under trending conditions.
Minimum Holding Period:
Once a long position is initiated, the strategy imposes a strict "no-sell" period in bars. This means that, under normal circumstances, it will not close the position. This encourages the trade to mature, reducing the likelihood of premature exits caused by minor pullbacks or intraday noise.
Volume Confirmation:
A relative volume filter ensures that breakouts aren't occurring in low-liquidity conditions. In doing so, the strategy is only looking to enter when market participation is well above average, thereby increasing the odds of price moves being legitimate and sustainable.
Catastrophic Drop Exit:
The strategy includes a "catastrophic drop" mechanism to help mitigate severe, unexpected losses. If the price falls below a user-defined percentage of the entry price—sufficiently large to indicate a major market breakdown—it will override the minimum hold rule and immediately close the position. This helps protect capital if the market suddenly turns sharply negative.
User Configuration:
All the key parameters, which include the minimum hold duration, catastrophic drop percentage, Bollinger Band settings, MACD lengths, and ATR-based stop/target multiples, are user-editable. Traders can adjust the aggressiveness, holding time, and risk controls of the strategy to fit their specific risk tolerance, trading style, and the volatility profile of the markets in which they're participating.
Intended Use Case:
This strategy is more suitable for traders operating in more volatile markets, with frequent whipsaws and fast price moves. It tries to capture the upside of a volatile breakout while minimizing the downside from a sudden price collapse by balancing a forced hold period against the flexibility of a catastrophic drop exit.
Note:
This approach is in line with all automated or rules-based approaches: extensive backtesting and parameter optimization, followed by thorough forward-testing on paper, is very strongly advised before going into live market conditions. Also, adjust parameters to better suit your instrument of choice, timeframe, and your criteria of personal risk management.
Altcoin Season Indicator//@version=5
indicator("Altcoin Season Indicator", overlay=false)
// Input for Bitcoin Dominance (BTC.D)
btcDominance = request.security("CRYPTOCAP:BTC.D", "D", close)
altcoinMarketCap = request.security("CRYPTOCAP:TOTAL2", "D", close)
// Moving Averages for Trend Analysis
btcMA = ta.sma(btcDominance, 50)
altMA = ta.sma(altcoinMarketCap, 50)
// RSI for Momentum
btcRSI = ta.rsi(btcDominance, 14)
altRSI = ta.rsi(altcoinMarketCap, 14)
// Altcoin Season Conditions
btcBearish = btcDominance < btcMA and btcRSI < 50
altBullish = altcoinMarketCap > altMA and altRSI > 50
// Signal for Altcoin Season
altcoinSeason = btcBearish and altBullish
// Plotting
bgcolor(altcoinSeason ? color.new(color.green, 90) : na)
plot(btcDominance, color=color.red, title="BTC Dominance")
plot(altcoinMarketCap / 1e12, color=color.blue, title="Altcoin Market Cap (T)")
alertcondition(altcoinSeason, title="Altcoin Season Signal", message="Altcoin Season may be starting!")
Basic systemThis shows breakout in 5 minutes .
This shows breakout in 5 minutes .
This shows breakout in 5 minutes .
This shows breakout in 5 minutes .
This shows breakout in 5 minutes .'
This shows breakout in 5 minutes .
cá nhân//@version=5
strategy("Demo GPT - Supertrend", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1, slippage=3)
// Inputs
Periods = input.int(10, title="ATR Period")
src = input.source(hl2, title="Source")
Multiplier = input.float(3.0, title="ATR Multiplier", step=0.1)
changeATR = input.bool(true, title="Change ATR Calculation Method ?")
showSignals = input.bool(true, title="Show Signals ?")
highlighting = input.bool(true, title="Highlighter On/Off ?")
emaPeriod = input.int(50, title="EMA Period")
bbLength = input.int(20, title="Bollinger Bands Length")
bbMultiplier = input.float(2.0, title="Bollinger Bands Multiplier")
// ATR Calculation
atr2 = ta.sma(ta.tr, Periods)
atr = changeATR ? ta.atr(Periods) : atr2
// Supertrend Calculation
up = src - (Multiplier * atr)
up1 = nz(up , up)
up := close > up1 ? math.max(up, up1) : up
dn = src + (Multiplier * atr)
dn1 = nz(dn , dn)
dn := close < dn1 ? math.min(dn, dn1) : dn
trend = 1
trend := nz(trend , trend)
trend := trend == -1 and close > dn1 ? 1 : trend == 1 and close < up1 ? -1 : trend
// Bollinger Bands Calculation
basis = ta.sma(close, bbLength)
deviation = ta.stdev(close, bbLength)
upperBand = basis + (bbMultiplier * deviation)
lowerBand = basis - (bbMultiplier * deviation)
// Plot Supertrend and Bollinger Bands
upPlot = plot(trend == 1 ? up : na, title="Up Trend", style=plot.style_line, linewidth=2, color=color.green)
dnPlot = plot(trend == 1 ? na : dn, title="Down Trend", style=plot.style_line, linewidth=2, color=color.red)
plot(upperBand, title="Upper Band", color=color.blue, linewidth=1)
plot(lowerBand, title="Lower Band", color=color.blue, linewidth=1)
plot(basis, title="BB Basis", color=color.gray, linewidth=1)
// Buy and Sell Signals
buySignal = close > upperBand
sellSignal = close < lowerBand
if (buySignal and showSignals)
strategy.entry("Buy", strategy.long)
if (sellSignal and showSignals)
strategy.close("Buy")
// Highlighting
mPlot = plot(ohlc4, title="", style=plot.style_circles, linewidth=0)
longFillColor = highlighting ? (trend == 1 ? color.new(color.green, 90) : na) : na
shortFillColor = highlighting ? (trend == -1 ? color.new(color.red, 90) : na) : na
fill(mPlot, upPlot, title="UpTrend Highlighter", color=longFillColor)
fill(mPlot, dnPlot, title="DownTrend Highlighter", color=shortFillColor)
// Date Range Filter
startDate = input.time(timestamp("2018-01-01 00:00"), title="Start Date")
endDate = input.time(timestamp("2069-12-31 23:59"), title="End Date")
inDateRange = (time >= startDate and time <= endDate)
if not inDateRange
strategy.close_all()
5PHLM_testing5PHLM_testing
Microsoft Defender SmartScreen helps safeguard your security against phishing and malware sites and software and helps you make informed decisions about downloads.
AI-Inspired Trading Strategy//@version=6
strategy("AI-Inspired Trading Strategy", overlay=true)
// Step 1: Input parameters for indicators
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.float(70, title="RSI Overbought Level")
rsiOversold = input.float(30, title="RSI Oversold Level")
smaShortLength = input.int(20, title="Short SMA Length")
smaLongLength = input.int(50, title="Long SMA Length")
macdFast = input.int(12, title="MACD Fast Length")
macdSlow = input.int(26, title="MACD Slow Length")
macdSignal = input.int(9, title="MACD Signal Length")
// Step 2: Calculate indicators
rsi = ta.rsi(close, rsiLength)
smaShort = ta.sma(close, smaShortLength)
smaLong = ta.sma(close, smaLongLength)
macdLine = ta.ema(close, macdFast) - ta.ema(close, macdSlow)
signalLine = ta.ema(macdLine, macdSignal)
// Step 3: Store crossover and crossunder results
smaCrossUp = ta.crossover(smaShort, smaLong)
smaCrossDown = ta.crossunder(smaShort, smaLong)
macdCrossUp = ta.crossover(macdLine, signalLine)
macdCrossDown = ta.crossunder(macdLine, signalLine)
// Step 4: Define buy and sell conditions
buyCondition = (rsi < rsiOversold) and smaCrossUp and macdCrossUp
sellCondition = (rsi > rsiOverbought) or smaCrossDown or macdCrossDown
// Step 5: Plot buy and sell signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Step 6: Execute trades
if (buyCondition)
strategy.entry("Buy", strategy.long)
if (sellCondition)
strategy.close("Buy")
Advanced Trend Indicator ANAnalysis of the Interaction of the EMA and SMA Lines:
Short-Term vs. Long-Term Trend:
The EMA reacts faster to price changes and is more “dynamic” in determining the short-term trend, while the SMA is more stable and is often used to detect long-term changes.
Example of Intersection:
Golden Cross (Golden Cross): When the short-term EMA (e.g., 50 periods) pierces the long-term SMA (e.g., 200 periods) from the bottom up. This is a classic signal indicating the beginning of an uptrend.
Death Cross (Death Cross): When the short-term EMA pierces the long-term SMA from the top down. This is a classic signal indicating the beginning of a downtrend.
Space Between EMA and SMA:
If the space between the EMA and the SMA is widening (the EMA is rising faster than the SMA), this may indicate that the uptrend is strengthening.
If the space between the EMA and SMA is shrinking, it may suggest that the trend is weakening and a change in direction is possible.
Summary:
The EMA is more sensitive to price changes and is used to analyze the short-term trend, reacting quickly to changes.
The SMA is more stable and gives a picture of the long-term direction of the market, so it is less susceptible to short-term price fluctuations.
Together, these two lines can help you better understand both short-term and long-term market direction and give signals to buy or sell based on their intersections and interactions.
EMA 20 ve EMA 50 Kesişim EmA kesişimleri
ayı ve boğa oluşumları...
al veren pozisyonlar
sat veren pozisyonlar
ek olarak fisher le takip edilebilir zamanla.
Bandas PersonalizadasEste script genera ondas similares a las Bandas de Bollinger y se puede ajustar fácilmente para adaptarse a tus necesidades.
BB MTF with 4H EMA and Configurable RSI Signals By GokhanSMulti-Timeframe Bollinger Bands:
Allows users to specify a timeframe to calculate Bollinger Bands.
4H EMA 21:
Computes a 21-period EMA from the 4-hour timeframe and displays it on the chart.
Configurable RSI Settings:
Users can define the RSI period, source, timeframe, and moving average type (SMA, EMA, or WMA).
Buy and Sell Signals:
"Buy" (green label) and "Sell" (red label) signals are plotted based on RSI and its moving average crossovers.
GainzAlgo Pro// © GainzAlgo
//@version=5
indicator('GainzAlgo Pro', overlay=true, max_labels_count=500)
candle_stability_index_param = input.float(0.5, 'Candle Stability Index', 0, 1, step=0.1, group='Technical', tooltip='Candle Stability Index measures the ratio between the body and the wicks of a candle. Higher - more stable.')
rsi_index_param = input.int(50, 'RSI Index', 0, 100, group='Technical', tooltip='RSI Index measures how overbought/oversold is the market. Higher - more overbought/oversold.')
candle_delta_length_param = input.int(5, 'Candle Delta Length', 3, group='Technical', tooltip='Candle Delta Length measures the period over how many candles the price increased/decreased. Higher - longer period.')
disable_repeating_signals_param = input.bool(true, 'Disable Repeating Signals', group='Technical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('normal', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
bull = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
bearish_engulfing = close > open and close < open and close < open
rsi_above = rsi > 100 - rsi_index_param
increase_over = close > close
bear = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed
var last_signal = ''
if bull and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true)
if label_style == 'text bubble'
label.new(bull ? bar_index : na, low, 'BUY', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
last_signal := 'buy'
if bear and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
last_signal := 'sell'
alertcondition(bull, 'BUY Signals', 'New signal: BUY')
alertcondition(bear, 'SELL Signals', 'New signal: SELL')
FVG Smart ScannerThis script helps traders identify potential trading opportunities by combining Fair Value Gaps (FVGs) with other technical indicators. Here's what it specifically looks for:
Fair Value Gaps:
Spots price gaps that form when price moves quickly, leaving unfilled areas
Identifies both bullish gaps (potential upward moves) and bearish gaps (potential downward moves)
Visualizes these gaps as colored boxes on your chart (green for bullish, red for bearish)
Trend Confirmation:
Uses two EMAs (20 and 50 period) to confirm market direction
Shows trend lines in blue (20 EMA) and purple (50 EMA)
Momentum Check:
Uses RSI (Relative Strength Index) to check if the market is overbought or oversold
Default settings: Overbought = 70, Oversold = 30
Trading Signals:
Shows green triangles below price for potential buy signals when:
A bullish gap is found
RSI shows oversold conditions
20 EMA is above 50 EMA
Shows red triangles above price for potential sell signals when:
A bearish gap is found
RSI shows overbought conditions
20 EMA is below 50 EMA
Customizable Settings:
Lookback period (how far back to scan for gaps)
FVG threshold (minimum gap size to consider)
RSI settings (length and thresholds)
Alert System:
Can notify you when potential buy or sell setups occur
Helps you catch opportunities even when not watching the chart
This indicator is best used on any timeframe where you want to spot potential reversals or continuation moves based on unfilled price gaps.