Pin Bar Signal with SMA and Bollinger Bands FilterИндикатор выдаёт сигнал на вход в сделку, если появляется пин-бар. В зависимости от настроек, это будет бычий пин-бар от нижней границы полос Боллинджера или медвежий пин-бар - от верхней. Если вы выберете фильтр по SMA, то это будет бычий пин-бар, когда график над линией SMA, и медвежий пин-бар - под линией SMA. В настройках можно включить оба способа фильтрации или отдельно каждый.
Особенности индикатора:
1. Определяет пин-бары по критериям:
- Для бычьего пин-бара: нижняя тень > 2× верхней тени и тела
- Для медвежьего пин-бара: верхняя тень > 2× нижней тени и тела
2. Фильтрация:
- SMA (20 периодов по умолчанию)
- Полосы Боллинджера (20 периодов по умолчанию)
3. Настройки:
- Можно включать/выключать фильтры (SMA, полосы Боллинджера)
- Настраиваемые периоды и параметры
- Визуализация сигналов
Оптимизировано для 15M графика:
- Использует быстрые встроенные функции (ta.sma, ta.stdev)
- Минимизирует сложные вычисления
- Подходит для работы в реальном времени
แบนด์และแชนแนล
MI-Advanced Long/Short StrategyAdvanced Multi-Indicator Trading Strategy
Combining Trend Following, Momentum Confirmation & Risk Management
This sophisticated trading strategy is designed to identify high-probability long/short opportunities using a confluence of technical indicators while maintaining strict risk control. It combines trend analysis, momentum confirmation, and volume-based validation to generate clear buy/sell signals across various markets and timeframes.
Core Components
Trend Identification Engine
Dual EMA System (12/26 periods):
Bullish bias when 12-EMA > 26-EMA
Bearish bias when 12-EMA < 26-EMA
Supertrend Indicator:
Dynamic trend filter using price volatility
Green line = Bullish trend (longs enabled)
Red line = Bearish trend (shorts enabled)
Momentum Confirmation
MACD Histogram:
Bullish crossover (signal line cross) for entries
Bearish crossover for exits/reversals
RSI Threshold:
50-level as momentum baseline
Longs only when RSI > 50
Shorts only when RSI < 50
Volume Validation
20-period volume moving average
Entry requires 150%+ volume spike
Filters low-confidence moves
Risk Management Framework
ATR-Based Stops:
2x ATR (14-period) stop loss
3x ATR take profit (1:1.5 RR ratio)
Position Sizing:
Percentage-based equity management
Built-in commission calculation
Signal Generation Logic
Long Entry Conditions (All Must Be True):
12-EMA crosses above 26-EMA
MACD line crosses above signal line
RSI sustains above 50 level
Price above Supertrend line (green)
Volume spike confirmation
Short Entry Conditions (All Must Be True):
12-EMA crosses below 26-EMA
MACD line crosses below signal line
RSI holds below 50 level
Price below Supertrend line (red)
Volume spike confirmation
Exit Conditions:
Trailing stop via Supertrend reversal
EMA crossover in opposite direction
RSI crossing 50 threshold
Automatic profit targets/stops
Key Features
Multi-Timeframe Compatibility: Works on 1M-1D charts
Visual Clarity:
Colored EMA ribbons for trend direction
Label-based buy/sell markers
Supertrend overlay for real-time guidance
Alert System:
Built-in buy/sell alert conditions
Compatible with email/SMS notifications
Adaptive Risk:
Dynamic stop-loss adjustment
Position sizing relative to account equity
False Signal Filter:
Volume spike requirement
Triple confirmation (trend+momentum+volume)
Strategic Advantages
Trend-Riding Capability:
Captures sustained moves via Supertrend/EMA combo
Avoids choppy markets through volume filters
Confirmation Hierarchy:
Primary Trend: EMA crossover
Secondary Confirmation: MACD/RSI
Tertiary Validation: Volume/Supertrend
Risk-Controlled Execution:
Automatic stop-loss placement
Fixed risk/reward ratio enforcement
Commission-aware backtesting
Visual Trading Psychology:
Clear color-coded indicators reduce emotional trading
Objective entry/exit rules eliminate guesswork
Ideal Market Conditions
Best Performing: Trending markets (up/down)
Avoid During:
Low-volume periods
Consolidation/ranging markets
Major news events
Practical Usage Tips
Combine with higher timeframe analysis
Adjust ATR multiplier for volatile assets
Modify volume threshold for liquid markets
Use trailing stops for extended trends
Pair with fundamental catalysts for swing trades
This strategy provides a systematic approach to trading by combining technical analysis with disciplined risk management. Its multi-layered confirmation process aims to filter out market noise while capturing high-quality setups, making it suitable for both discretionary traders and automated trading systems.
Litecoin LTC Logarithmic Fibonacci Growth CurvesHOW THIS SCRIPT IS ORIGINAL: there is no similar script dedicated to LTC, although there are similar ones dedicated to BTC. (This was created by modifying an old public and open source similar script dedicated to BTC.)
WHAT THIS SCRIPT DOES: draws a channel containing the price of LTC within which the Fibonacci extensions are highlighted. The reference chart to use is LTC/USD on Bitfinex (because it has the oldest data, given that Tradingview has not yet created an LTC index), suggested with weekly or monthly timeframe.
HOW IT DOES IT: starting from two basic curves that average the upper and lower peaks of the price, the relative Fibonacci extensions are then built on the basis of these: 0.9098, 0.8541, 0.7639, 0.618, 0.5, 0.382, 0.2361, 0.1459, 0.0902.
HOW TO USE IT: after activating the script you will notice the presence of two areas of particular interest, the upper area, delimited in red, which follows the upper peaks of the price, and the lower area, delimited in green, which follows the lower peaks of the price. Furthermore, the main curves, namely the two extremes and the median, are also projected into the future to predict an indicative trend. This script is therefore useful for understanding where the price will go in the future and can be useful for understanding when to buy (near the green lines) or when to sell (near the red lines). It is also possible to configure the script by choosing the colors and types of lines, as well as the main parameters to define the upper and lower curve, from which the script deduces all the other lines that are in the middle.
Very easy to read and interpret. I hope this description is sufficient, but it is certainly easier to use it than to describe it.
Pocket Pivots by Kacher and Morales "Pocket Pivots," identifies potential bullish trading opportunities and technical conditions based on concepts from traders Kacher and Morales. It combines moving averages (SMAs), Bollinger Bands, Keltner Channels, volume analysis, and price action rules to detect:
Pocket Pivots:
Bullish signals triggered when:
Volume exceeds prior downdays (configurable lengths Standard is 10 days).
Price closes above key SMAs (10/50-day).
As Kacher and Morales do not buy wedging charts I added a squeeze check to avoid buy signals
The market is in a volatility "squeeze" (Bollinger Bands within Keltner Channels).
Up/down ratio of the volume must be greater than 1
Volume Pocket Pivots:
Secondary bullish signals based purely on volume spikes and upward price momentum.
This shows normal pocket pivots in yellow. But does not check if all other rules are fullfilled.
SMA Violations:
Marks bearish breakdowns below 10-day or 50-day SMAs
A 10 SMA Violation is normally yellow. But if there was no 10 day violation for Seven Weeks, the first 10 SMA violation shows a red sell signal. Kacher and Morales call it "Seven Week Rule"
Buyable Gap-Ups:
Highlights high-volume gaps up with strong price follow-through.
Visual Elements:
Plots SMAs (10, 50, 200), Bollinger Bands, and Keltner Channels.
Marks signals with colored triangles/diamonds (green = bullish, red = bearish and yellow / blue = informational).
High-Probability Crypto Indicator1//@version=5
indicator("High-Probability Crypto Indicator", overlay=true)
// Inputs
emaFastLength = input(50, "Fast EMA Length")
emaSlowLength = input(200, "Slow EMA Length")
rsiLength = input(14, "RSI Length")
volumeSpikeMultiplier = input(2.0, "Volume Spike Multiplier")
// EMAs
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
// RSI
rsi = ta.rsi(close, rsiLength)
// Volume Analysis
volumeAvg = ta.sma(volume, 20)
volumeSpike = volume > volumeAvg * volumeSpikeMultiplier
// Bullish Conditions
emaBullish = ta.crossover(emaFast, emaSlow) // Fast EMA crosses above Slow EMA
rsiBullish = rsi > 50 and rsi < 70 // RSI in bullish zone but not overbought
bullishSignal = emaBullish and rsiBullish and volumeSpike
// Bearish Conditions
emaBearish = ta.crossunder(emaFast, emaSlow) // Fast EMA crosses below Slow EMA
rsiBearish = rsi < 50 and rsi > 30 // RSI in bearish zone but not oversold
bearishSignal = emaBearish and rsiBearish and volumeSpike
// Plot Signals
plotshape(bullishSignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(bearishSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Plot EMAs
plot(emaFast, color=color.blue, title="Fast EMA")
plot(emaSlow, color=color.red, title="Slow EMA")
Multi-Indicator Strategy v6highly profitable pinescript strategy with macd, EMA, pivot levels, bollinger bands, rsi, keltner channel or Money flow indicator
The Game of Momentum This provides the momentum of the stock.
When the curve changed to Blue line, indicate the buying opportunity
Buy Signal with FVG Confirmation (1h,15m,5m)Key Changes:
FVG Conditions Added to buySignal:
The buy signal now requires FVGs on all three timeframes (1h, 15m, 5m) in addition to your original criteria.
buySignal = ... and fvg1h and fvg15m and fvg5m
Simplified FVG Detection:
The detectFVG function now only returns the fvgBullish boolean (no need to return price levels).
How to Use:
Apply to 1-Hour Chart:
The script works best on a 1-hour chart since it combines daily, hourly, and lower timeframe (15m/5m) logic.
Interpret Signals:
A green triangle appears below the price bar when all conditions align, including FVGs on 1h, 15m, and 5m.
Use the shaded FVG zones (teal, orange, purple) to visually confirm gaps.
Set Alerts:
Create an alert in TradingView to notify you when the buySignal triggers.
Important Notes:
Multi-Timeframe Limitations:
Lower timeframe FVGs (15m/5m) are fetched using request.security, which may cause slight repainting on the 1-hour chart.
FVGs are evaluated based on the most recent completed bar in their respective timeframes.
Strategy Strictness:
Requiring FVGs on three timeframes makes the signal very selective. Adjust the logic (e.g., fvg1h or fvg15m) if you prefer fewer restrictions
High-Probability Crypto Indicator1//@version=5
indicator("High-Probability Crypto Indicator", overlay=true)
// Inputs
emaFastLength = input(50, "Fast EMA Length")
emaSlowLength = input(200, "Slow EMA Length")
rsiLength = input(14, "RSI Length")
volumeSpikeMultiplier = input(2.0, "Volume Spike Multiplier")
// EMAs
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
// RSI
rsi = ta.rsi(close, rsiLength)
// Volume Analysis
volumeAvg = ta.sma(volume, 20)
volumeSpike = volume > volumeAvg * volumeSpikeMultiplier
// Bullish Conditions
emaBullish = ta.crossover(emaFast, emaSlow) // Fast EMA crosses above Slow EMA
rsiBullish = rsi > 50 and rsi < 70 // RSI in bullish zone but not overbought
bullishSignal = emaBullish and rsiBullish and volumeSpike
// Bearish Conditions
emaBearish = ta.crossunder(emaFast, emaSlow) // Fast EMA crosses below Slow EMA
rsiBearish = rsi < 50 and rsi > 30 // RSI in bearish zone but not oversold
bearishSignal = emaBearish and rsiBearish and volumeSpike
// Plot Signals
plotshape(bullishSignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(bearishSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Plot EMAs
plot(emaFast, color=color.blue, title="Fast EMA")
plot(emaSlow, color=color.red, title="Slow EMA")
Basit Renkli Trend Sistemi Sistemin Çalışma Mantığı:
Trend Çizgisi:
50 periyotluk basit hareketli ortalama (SMA) kullanır.
Çizgi rengi trend yönüne göre değişir:
Yeşil: Güçlü yukarı trend.
Kırmızı: Güçlü aşağı trend.
Gri: Yan piyasa (belirsiz trend).
Yan Piyasa Filtresi:
Hareketli ortalamanın eğimi belirli bir eşiğin altındaysa (threshold), sistem yan piyasa olarak kabul eder ve gri renge geçer.
Sinyal Onayı:
Trend değişimlerinde uyarı verir (opsiyonel).
Örnek Kullanım:
Uzun Pozisyon: Çizgi yeşil olduğunda.
Kısa Pozisyon: Çizgi kırmızı olduğunda.
Bekleme Modu: Çizgi gri olduğunda işlem yapmayın.
Optimizasyon İpuçları:
Daha Hızlı Trendler İçin:
length parametresini 20-30 aralığına düşürün.
Daha Kararlı Trendler İçin:
length parametresini 100 veya daha yüksek bir değere ayarlayın.
Yan Piyasa Hassasiyeti:
threshold değerini piyasa volatilitesine göre ayarlayın:
Düşük volatilite: 0.10
Yüksek volatilite: 0.20
Ekran Görüntüsü:
Yeşil Çizgi: Al bölgesi.
Kırmızı Çizgi: Sat bölgesi.
Gri Çizgi: Bekleme modu.
MiguelCorreia IndicadorCriptoO indicador exibido neste gráfico foi desenvolvido exclusivamente para fins de teste e experimentação. Ele não deve ser considerado como uma recomendação de negociação ou como uma ferramenta definitiva para a tomada de decisões no mercado.
A performance histórica do indicador não garante resultados futuros e ele pode não ser adequado para todos os tipos de investimento ou estratégias. Recomendamos que qualquer usuário faça uma análise própria e, se necessário, consulte um especialista antes de tomar decisões financeiras.
Este indicador está sujeito a ajustes e melhorias à medida que mais testes são realizados. Utiliza-o com cautela e responsabilidade.
20-Day Low % Diff for Screenercustom column in TradingView’s stock screener using Pine Script, but TradingView doesn’t allow direct integration of Pine Script indicators into the screener.
30MA Volatile Assets StrategyThis strategy features:
Gaussian Channel with SMA basis and standard deviation bands
Stochastic RSI filter for entries
Long-only trades with 100% equity allocation
0.1% commission and no slippage
Clear entry/exit conditions based on price and indicator positions
Defined trading period from 2024 to 2069
Multi Stochastic AlertHello Everyone,
I have created a Multi Stochastic Alert based on Scalping Strategy
The Strategy uses below 4 Stochastic indicator:
1. Stochastic (9,3)
2. Stochastic (14,3)
3. Stochastic (40,4)
4. Stochastic (60,10)
Trade entry become active when all of these goes below 20 or above 80, In this indicator you don't need to use all 4, this will show red and green background whenever all of them goes below 20 or above 80.
As shown in picture below, it works better when script is making a channel, Our indicator shows green or red signal, we wait for RSI Divergence and we enter. We book when blue line (9,3) goes above 80, as shown by arrow, and trail rest at breakeven or your own trailing method
Same Situation shown for Short side. We book 50% when Blue line (9,3) Goes below 20 and trail rest at breakeven or your own trailing method
Happy trading, Let me know if any improvements required.
Bollinger Bands Strategy TGBollinger Bands strategy to buy when the close price goes above the lower bollinger band and to close the long position when the close price goes above the upper bollinger band.
Appears to be working well.
Donchian Reversal Scanner by Hitesh2603How It Works:
Bearish Side Logic:
If the price is falling with bearish candles and touching the lower Donchian Channel, the bearishCondition flag is set to true.
When a bullish candle appears afterward, the flag is reset, and the bullishReversalSquare condition becomes true.
Bullish Side Logic:
If the price is rising with bullish candles and touching the upper Donchian Channel, the bullishCondition flag is set to true.
When a bearish candle appears afterward, the flag is reset, and the bearishReversalSquare condition becomes true.
Plotting Squares:
A green square is plotted below the candle when bullishReversalSquare is true.
A red square is plotted above the candle when bearishReversalSquare is true.
Scanner Output:
The scanCondition variable is true when either bullishReversalSquare or bearishReversalSquare is true.
How to Use the Script:
On the Chart:
Add the script to your chart.
You will see squares plotted on the chart when the conditions are met:
Green squares below the candle for bullish reversals.
Red squares above the candle for bearish reversals.
In the Scanner:
Open the Scanner tab in TradingView.
Click on "Create New Scanner".
In the "Condition" field, select the script you just created.
Choose the market or watchlist you want to scan (e.g., "NYSE", "NASDAQ", or a custom watchlist).
Run the scan. The Scanner will return a list of instruments where the scanCondition is true.
Why This Works:
The scanCondition variable is now properly declared and used.
The plotchar function explicitly outputs the scanCondition variable as a plot, which the Scanner can recognize.
Bollinger Bands with SMAs, MFI, and Volumemanaging long positions based on the 9, 21, and 50 simple moving averages (SMAs) into the Pine Script that already includes Bollinger Bands, we need to define the following conditions:
Long Position Conditions:
Enter a long position when the 9-period SMA crosses above the 21-period SMA.
Confirm the long position when the 9-period SMA bounces off the 21-period SMA.
Maintain the long position if the 9-period SMA crosses above the 50-period SMA.
The position remains long if the price retraces and then bounces off the 50-period SMA.
Elisathe indicator uses Bollinger Bands with various moving average types. The strategy rules are to go long when the price closes above the upper band and close the long when it closes below the lower band. So, the entry and exit conditions are based on the close relative to the bands.
Stop losses and Liquidity ZoneThis strategy works best with hiken aishi candles. This strategy is used as a confluence to predict where stop losses are in the market. Pair this with candle range theory to get profitable trades. Blue zones on the map are where retail traders lie and red zones are where market makers are. light red zones are less likely to be attacked but darker red zones are more likely to be attacked in the future. The blue box shows the previous day open and close, Once price hit the last day price, price reversed and went upwards. (candle range theory)
Demo GPT - Bollinger Bands StrategyDemo GPT - Bollinger Bands Strategy, this strategy is going to help the people in identifying buy and sell signals
Advanced Bitcoin Trading Strategy//@version=6
indicator("Advanced Bitcoin Trading Strategy", overlay=true)
// Define Short-term and Long-term MAs
shortTermMA = ta.sma(close, 9)
longTermMA = ta.sma(close, 21)
// Define RSI
rsi = ta.rsi(close, 14)
// Define Volume
volumeMA = ta.sma(volume, 20)
// Define Buy and Sell Conditions based on MA Crossovers, RSI, and Volume
buyCondition = ta.crossover(shortTermMA, longTermMA) and rsi < 30 and volume > volumeMA
sellCondition = ta.crossunder(shortTermMA, longTermMA) and rsi > 70 and volume > volumeMA
// Detect Bullish Engulfing Pattern
bullishEngulfing = (open > close ) and (close > open) and (close > high ) and (open < low )
// Detect Bearish Engulfing Pattern
bearishEngulfing = (open < close ) and (close < open) and (close < low ) and (open > high )
// Combine all Buy and Sell Conditions
finalBuyCondition = buyCondition or bullishEngulfing
finalSellCondition = sellCondition or bearishEngulfing
// Plot Short-term and Long-term MA
plot(shortTermMA, "Short Term MA", color=color.blue, linewidth=2)
plot(longTermMA, "Long Term MA", color=color.red, linewidth=2)
// Plot RSI
hline(70, "Overbought Level", color=color.red, linestyle=hline.style_dotted)
hline(30, "Oversold Level", color=color.green, linestyle=hline.style_dotted)
plot(rsi, "RSI", color=color.purple, linewidth=2)
// Plot Volume MA
plot(volumeMA, "Volume MA", color=color.orange, linewidth=1)
// Plot Buy and Sell Arrows
plotshape(series=finalBuyCondition, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=finalSellCondition, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
plotarrow(series=finalBuyCondition ? 1 : na, title="Buy Arrow", colorup=color.green, offset=-1)
plotarrow(series=finalSellCondition ? -1 : na, title="Sell Arrow", colordown=color.red, offset=-1)
// Alert Conditions
alertcondition(finalBuyCondition, title="Buy Alert", message="Time to Buy Bitcoin!")
alertcondition(finalSellCondition, title="Sell Alert", message="Time to Sell Bitcoin!")