Long/Short - Juju & JojôFuncionalidades:
Sinais de Compra ("Long"): Gerados quando o RSI suavizado cruza acima da banda dinâmica de suporte.
Sinais de Venda ("Short"): Gerados quando o RSI suavizado cruza abaixo da banda dinâmica de resistência.
Alertas Integrados: Notificações automáticas ao identificar sinais de compra ou venda.
Personalização: Parâmetros ajustáveis para o RSI, suavização, sensibilidade do QQE e limiar de volatilidade.
圖表形態
Demand Zone FinderSwing Low Detection: The script identifies swing lows using the ta.lowest function over a user-defined period (length).
2. Demand Zone Range: A buffer is added to the swing low price to define the zone range.
3. Drawing Zones: Horizontal lines representing the demand zone are drawn on the chart and extended to the right.
4. Customization: You can adjust the swing length (length) and the buffer percentage (buffer) via inputs.
T&W Indikator### Beschreibung des Indikators
**Indikatorname:**
**EMA 20, 50, 200 & Hammer Pattern**
#### Funktionen des Indikators:
1. **EMA-Berechnung und Darstellung:**
- Der Indikator berechnet und zeigt die Exponentiellen Gleitenden Durchschnitte (EMAs) für die Perioden 20, 50 und 200.
- Jede EMA hat eine spezifische Farbe:
- **Blau:** EMA 20 (Kurzfristige Trends).
- **Orange:** EMA 50 (Mittelfristige Trends).
- **Rot:** EMA 200 (Langfristige Trends).
- Über jeder EMA wird bei der letzten Kerze die jeweilige Bezeichnung (z. B. "EMA 20") angezeigt, um die Werte zu identifizieren.
2. **Hammer-Kerzenmuster-Erkennung:**
- Der Indikator erkennt und markiert Hammer-Kerzenmuster, die potenzielle Umkehrsignale liefern.
- Bedingungen für das Muster:
- Der obere Schatten darf nicht größer als der Kerzenkörper sein.
- Der untere Schatten muss mindestens doppelt so groß sein wie der Kerzenkörper.
- Hämmer werden mit einem **grünen Dreieck** unterhalb der entsprechenden Kerze markiert.
3. **Signal für drei Kerzen unter einem lokalen Hoch:**
- Der Indikator erkennt, wenn nach einer lokalen Hochkerze drei aufeinanderfolgende Kerzen vollständig unter diesem Hoch bleiben.
- Ein **rotes Symbol** (Diamant) wird über der dritten Kerze angezeigt, die die Bedingung erfüllt.
4. **Dynamische Textkästen oben rechts im Chart:**
- Der Indikator zeigt zwei Textkästen in der oberen rechten Ecke des Charts:
- **Trendkasten:**
- Zeigt die aktuelle Marktphase an:
- **Grün:** "3Phasen" für Aufwärtstrend.
- **Rot:** "6Phasen" für Abwärtstrend.
- **Grau:** "Neutral" bei seitwärtsgerichteten Märkten.
- Die Schriftfarbe ist immer Weiß.
- **Signal-Kasten:**
- Ein **blauer Kasten**, wenn das Signal für drei Kerzen unter einem lokalen Hoch ausgelöst wird.
- Der Text lautet: "Signal Active".
---
#### Einsatzmöglichkeiten:
- **EMA-Trends:** Identifizieren von kurzfristigen, mittelfristigen und langfristigen Trends.
- **Hammer-Erkennung:** Unterstützt bei der Erkennung potenzieller Umkehrpunkte.
- **Signale bei drei Kerzen unter einem Hoch:** Erkennt Schwäche nach einem lokalen Hochpunkt.
- **Visuelle Darstellung:** Mit den Farbkasten und Symbolen ermöglicht der Indikator eine einfache und intuitive Analyse der Marktphasen.
---
**Hinweis:** Dieser Indikator eignet sich für Trader, die Trends erkennen und potenzielle Umkehrpunkte visualisieren möchten. Ergänze ihn mit anderen Tools für eine noch detailliertere Analyse.
Support, Resistance, and Price Action SetupHow to Use This:
Support and Resistance: The green and red lines represent Support and Resistance levels based on past price action.
Breakout Signals: When the price breaks above resistance or below support, the background color changes (green for breakout above resistance, red for breakout below support), and labels are created at the breakout points.
Rejection Signals: If the price rejects the support or resistance level (i.e., price moves away from it), a visual marker is added on the chart.
Conclusion:
This corrected script should now work without the NA type assignment issue. The breakout logic is properly handled and should now plot the Support, Resistance, and Price Action signals correctly. You can set alerts based on the breakout or rejection events to make this even more useful in live trading.
Trend Analysis with Volatility and MomentumVolatility and Momentum Trend Analyzer
The Volatility and Momentum Trend Analyzer is a multi-faceted TradingView indicator designed to provide a comprehensive analysis of market trends, volatility, and momentum. It incorporates key features to identify trend direction (uptrend, downtrend, or sideways), visualize weekly support and resistance levels, and offer a detailed assessment of market strength and activity. Below is a breakdown of its functionality:
1. Input Parameters
The indicator provides customizable settings for precision and adaptability:
Volatility Lookback Period: Configurable period (default: 14) for calculating Average True Range (ATR), which measures market volatility.
Momentum Lookback Period: Configurable period (default: 14) for calculating the Rate of Change (ROC), which measures the speed and strength of price movements.
Support/Resistance Lookback Period: Configurable period (default: 7 weeks) to determine critical support and resistance levels based on weekly high and low prices.
2. Volatility Analysis (ATR)
The Average True Range (ATR) is calculated to quantify the market's volatility:
What It Does: ATR measures the average range of price movement over the specified lookback period.
Visualization: Plotted as a purple line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
3. Momentum Analysis (ROC)
The Rate of Change (ROC) evaluates the momentum of price movements:
What It Does: ROC calculates the percentage change in closing prices over the specified lookback period, indicating the strength and direction of market moves.
Visualization: Plotted as a yellow line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
4. Trend Detection
The indicator identifies the current market trend based on momentum and the position of the price relative to its moving average:
Uptrend: Occurs when momentum is positive, and the closing price is above the simple moving average (SMA) of the specified lookback period.
Downtrend: Occurs when momentum is negative, and the closing price is below the SMA.
Sideways Trend: Occurs when neither of the above conditions is met.
Visualization: The background of the price chart changes color to reflect the detected trend:
Green: Uptrend.
Red: Downtrend.
Gray: Sideways trend.
5. Weekly Support and Resistance
Critical levels are calculated based on weekly high and low prices:
Support: The lowest price observed over the last specified number of weeks.
Resistance: The highest price observed over the last specified number of weeks.
Visualization:
Blue Line: Indicates the support level.
Orange Line: Indicates the resistance level.
Both lines are displayed on the main price chart, dynamically updating as new data becomes available.
6. Alerts
The indicator provides configurable alerts for trend changes, helping traders stay informed without constant monitoring:
Uptrend Alert: Notifies when the market enters an uptrend.
Downtrend Alert: Notifies when the market enters a downtrend.
Sideways Alert: Notifies when the market moves sideways.
7. Key Use Cases
Trend Following: Identify and follow the dominant trend to capitalize on sustained price movements.
Volatility Assessment: Measure market activity to determine potential breakouts or quiet consolidation phases.
Support and Resistance: Highlight key levels where price is likely to react, assisting in decision-making for entries, exits, or stop-loss placement.
Momentum Tracking: Gauge the strength and speed of price moves to validate trends or anticipate reversals.
8. Visualization Summary
Main Chart:
Background color-coded for trend direction (green, red, gray).
Blue and orange lines for weekly support and resistance.
Lower Panels:
Purple line for volatility (ATR).
Yellow line for momentum (ROC).
Trend Analysis with Volatility and MomentumVolatility and Momentum Trend Analyzer
The Volatility and Momentum Trend Analyzer is a multi-faceted TradingView indicator designed to provide a comprehensive analysis of market trends, volatility, and momentum. It incorporates key features to identify trend direction (uptrend, downtrend, or sideways), visualize weekly support and resistance levels, and offer a detailed assessment of market strength and activity. Below is a breakdown of its functionality:
1. Input Parameters
The indicator provides customizable settings for precision and adaptability:
Volatility Lookback Period: Configurable period (default: 14) for calculating Average True Range (ATR), which measures market volatility.
Momentum Lookback Period: Configurable period (default: 14) for calculating the Rate of Change (ROC), which measures the speed and strength of price movements.
Support/Resistance Lookback Period: Configurable period (default: 7 weeks) to determine critical support and resistance levels based on weekly high and low prices.
2. Volatility Analysis (ATR)
The Average True Range (ATR) is calculated to quantify the market's volatility:
What It Does: ATR measures the average range of price movement over the specified lookback period.
Visualization: Plotted as a purple line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
3. Momentum Analysis (ROC)
The Rate of Change (ROC) evaluates the momentum of price movements:
What It Does: ROC calculates the percentage change in closing prices over the specified lookback period, indicating the strength and direction of market moves.
Visualization: Plotted as a yellow line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
4. Trend Detection
The indicator identifies the current market trend based on momentum and the position of the price relative to its moving average:
Uptrend: Occurs when momentum is positive, and the closing price is above the simple moving average (SMA) of the specified lookback period.
Downtrend: Occurs when momentum is negative, and the closing price is below the SMA.
Sideways Trend: Occurs when neither of the above conditions is met.
Visualization: The background of the price chart changes color to reflect the detected trend:
Green: Uptrend.
Red: Downtrend.
Gray: Sideways trend.
5. Weekly Support and Resistance
Critical levels are calculated based on weekly high and low prices:
Support: The lowest price observed over the last specified number of weeks.
Resistance: The highest price observed over the last specified number of weeks.
Visualization:
Blue Line: Indicates the support level.
Orange Line: Indicates the resistance level.
Both lines are displayed on the main price chart, dynamically updating as new data becomes available.
6. Alerts
The indicator provides configurable alerts for trend changes, helping traders stay informed without constant monitoring:
Uptrend Alert: Notifies when the market enters an uptrend.
Downtrend Alert: Notifies when the market enters a downtrend.
Sideways Alert: Notifies when the market moves sideways.
7. Key Use Cases
Trend Following: Identify and follow the dominant trend to capitalize on sustained price movements.
Volatility Assessment: Measure market activity to determine potential breakouts or quiet consolidation phases.
Support and Resistance: Highlight key levels where price is likely to react, assisting in decision-making for entries, exits, or stop-loss placement.
Momentum Tracking: Gauge the strength and speed of price moves to validate trends or anticipate reversals.
8. Visualization Summary
Main Chart:
Background color-coded for trend direction (green, red, gray).
Blue and orange lines for weekly support and resistance.
Lower Panels:
Purple line for volatility (ATR).
Yellow line for momentum (ROC).
Buy/Sell Indicator with BacktestThis script uses moving average crossovers for generating buy and sell signals, combined with stop loss and take profit levels based on user-defined percentages. It tracks positions and exits when stop loss or take profit levels are reached.
N-Day High/Low Breakout with Trailing SL (Arrows & Dotted Line)buy signal will trigger when we cross n days high n sl is placed at lowest low of last ncandles and will trail sl till lowest low of last n candle is not breached on closing basis and vice versa
EMA Scalping Strategy with AlertsFeatures of the Script
1. EMA Crossover Logic:
• Buy when 9 EMA crosses above 21 EMA and price is above 50 EMA.
• Sell when 9 EMA crosses below 21 EMA and price is below 50 EMA.
2. RSI Confirmation:
• Buy signals only trigger if RSI > 50.
• Sell signals only trigger if RSI < 50.
3. MACD Confirmation:
• Buy signals are confirmed when the MACD line > Signal line.
• Sell signals are confirmed when the MACD line < Signal line.
4. Buy/Sell Markers:
• Green “BUY” label appears below candles for buy signals.
• Red “SELL” label appears above candles for sell signals.
5. Background Color:
• Green for buy conditions.
• Red for sell conditions.
How to Use the Script
1. Copy the script above.
2. Open TradingView and go to Pine Editor (at the bottom panel).
3. Paste the script into the editor.
4. Click Add to Chart.
5. Customize the inputs (EMA periods, RSI levels) as needed.
Daily Session DividerThis script draws vertical lines showing the new daily sessions. These will only be displayed when it's on an intraday timeframe (lower than daily timeframe).
Settings:
Line Color: Choose the color you want and change the opacity
Line Width: If you want a thicc line. Defaults to 1 (recommended setting)
Line Style: Choose between solid (default), dashed, or dotted
APE1 - Smart Money Concepts con EMAsEMAs and Smart money concepts of LuxAlgo. The best option for trading in all time frame all in one.
Hardik Raja - SmartAIMLSmartAIML indicator by Hardik Raja that generates buy & sell signals with a dual confirmation strategy.
Information for Educational Purposes Only:
All information provided by the indicator, including buy & sell signals, is intended for educational purposes only and does not constitute financial advice.
candle formation predictor( kay pynoBullish Engulfing
bullishEngulfing = close > open and open < close and open < close
plotshape(bullishEngulfing, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="1. Bullish Engulfing
// 2. Bearish Engulfing
bearishEngulfing = close < open and open > close and open > close
plotshape(bearishEngulfing, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="2. Bearish Engulfing
// 3. Bullish Hammer
bullishHammer = (high - low) > 3 * (open - close) and (close - low) / (0.001 + high - low) > 0.6 and (open - low) / (0.001 + high - low) > 0.6
plotshape(bullishHammer, style=shape.labelup, location=location.belowbar, color=color.lime, size=size.small, title="3. Bullish Hammer
// 4. Bearish Hammer
bearishHammer = (high - low) > 3 * (open - close) and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
plotshape(bearishHammer, style=shape.labeldown, location=location.abovebar, color=color.orange, size=size.small, title="4. Bearish Hammer
// 5. Doji
doji = abs(close - open) <= (high - low) * 0.1
plotshape(doji, style=shape.labelup, location=location.belowbar, color=color.blue, size=size.small, title="5. Doji
// 6. Morning Star
morningStar = close < open and close < open and close > open and close < close
plotshape(morningStar, style=shape.labelup, location=location.belowbar, color=color.purple, size=size.small, title="6. Morning Star
// 7. Evening Star
eveningStar = close > open and close > open and close < open and close > close
plotshape(eveningStar, style=shape.labeldown, location=location.abovebar, color=color.yellow, size=size.small, title="7. Evening Star
// 8. Bullish Harami
bullishHarami = close < open and close > open and close < open and open > close
plotshape(bullishHarami, style=shape.labelup, location=location.belowbar, color=color.fuchsia, size=size.small, title="8. Bullish Harami
// 9. Bearish Harami
bearishHarami = close > open and close < open and close > open and open < close
plotshape(bearishHarami, style=shape.labeldown, location=location.abovebar, color=color.teal, size=size.small, title="9. Bearish Harami
// 10. Shooting Star
shootingStar = (high - low) > 3 * (open - close) and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
plotshape(shootingStar, style=shape.labeldown, location=location.abovebar, color=color.maroon, size=size.small, title="10. Shooting Star")
``
KillZones Rasiel// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © TFlab
//@version=5
indicator("KillZones & Sessions Volume | Asia, London & NY (am-pm)" , 'TFlab Kill Zones', overlay = true, max_bars_back = 5000, max_boxes_count = 500, max_labels_count = 500, max_lines_count = 500)
// import Sessions and KillZones Library
import TFlab/SessionAndKillZoneLibrary_TradingFinder/1 as Sess
// Global Setting
ShowMoreInfo = input.bool(false, 'Show More Info', inline = 'More' , group = 'Global Setting')
ColorMoreInfo = input.color(#0c3299, '', inline = 'More' , group = 'Global Setting')
//Session Asia
show_AsiaSess = input(true, 'Asia Session',inline = 'sesasia', group = 'Asia Session', tooltip = 'Sydney + Tokyo')
Asia_SessTime = input.session('2300-0600', '', group = 'Asia Session')
Asia_color = input.color(#fa7b05, '', inline = 'sesasia', group = 'Asia Session')
show_AsiaKill = input(true, 'Asia Kill Zone', group = 'Asia Session')
Asia_KillTime = input.session('2300-0355', '', group = 'Asia Session')
//Session London
show_LondonSess = input(true, 'London Session', inline = 'seslondon', group = ' London Session', tooltip = 'Frankfurt + London')
London_SessTime = input.session('0700-1425', '', group = ' London Session')
London_color = input.color(#118502, '', inline = 'seslondon', group = ' London Session')
show_LondonKill = input(true, 'London Kill Zone', group = ' London Session')
London_KillTime = input.session('0700-0955', '', group = ' London Session')
//Session AM NewYork
show_amNewyorkSess = input(true, 'NewYork AM Session', inline = 'sesamNewyork', group = 'NewYork AM Session')
amNewyork_SessTime = input.session('1430-1925', '', group = 'NewYork AM Session')
amNewyork_color = input.color(#b40f0f, '', inline = 'sesamNewyork', group = 'NewYork AM Session')
show_amNewyorkKill = input(true, 'NewYork Am Kill Zone', group = 'NewYork AM Session')
amNewyork_KillTime = input.session('1430-1655', '', group = 'NewYork AM Session')
// Call Sessions and KillZones Library
Sess.SessionDetector('Asia' , Asia_SessTime, Asia_KillTime, show_AsiaSess, show_AsiaKill, 'Session', ShowMoreInfo ,Asia_color,ColorMoreInfo)
Sess.SessionDetector('London', London_SessTime, London_KillTime, show_LondonSess, show_LondonKill, 'Session', ShowMoreInfo ,London_color,ColorMoreInfo)
Sess.SessionDetector('New Yord' , amNewyork_SessTime, amNewyork_KillTime, show_amNewyorkSess, show_amNewyorkKill, 'Session', ShowMoreInfo ,amNewyo
ZZ Algo MR V3InfinityAlgo is an advanced suite of technical analysis indicators derived from price data and Volume.
// Trading and investing involves real financial risk. There is real potential of loss when investing/trading any financial asset.
// None of these indicators guarantee profitable results. Investors need to manage their own risk accordingly when dealing with the uncertainty and random conditions of the market.
// InfinityAlgoLap is not liable for any potential financial losses incurred from (including but not limited to) the InfinityAlgo indicators, InfinityAlgoLap ideas and tutorials as well as from any input from the community and its members.
// InfinityAlgoLap reserves the right to revoke any membership if members actions is deemed with harmful intent.
// By subscribing to InfinityAlgo and InfinityAlgoLap , you fully understand and accept these risks. InfinityAlgoLap does not provide legal, tax or accounting advice.
// © 2021- 2022. InfinityAlgoLap. All rights reserved.
LSTM Benzeri Al-Sat Sinyali//@version=5
indicator("LSTM Benzeri Al-Sat Sinyali", overlay=true)
// Parametreler
macd_fast_length = input(12, title="MACD Hızlı Uzunluk")
macd_slow_length = input(26, title="MACD Yavaş Uzunluk")
macd_signal_length = input(9, title="MACD Sinyal Uzunluk")
rsi_length = input(14, title="RSI Uzunluk")
rsi_overbought = input(70, title="RSI Aşırı Alım Seviyesi")
rsi_oversold = input(30, title="RSI Aşırı Satım Seviyesi")
// MACD Hesapla
= ta.macd(close, macd_fast_length, macd_slow_length, macd_signal_length)
// RSI Hesapla
rsi = ta.rsi(close, rsi_length)
// Al-Sat Sinyalleri
buy_signal = ta.crossover(macd_line, signal_line) and rsi < rsi_oversold
sell_signal = ta.crossunder(macd_line, signal_line) and rsi > rsi_overbought
// Sinyalleri Çiz
plotshape(series=buy_signal, title="Al Sinyali", location=location.belowbar, color=color.green, style=shape.labelup, text="AL")
plotshape(series=sell_signal, title="Sat Sinyali", location=location.abovebar, color=color.red, style=shape.labeldown, text="SAT")
// MACD ve RSI Grafikleri
hline(rsi_overbought, "Aşırı Alım", color=color.red)
hline(rsi_oversold, "Aşırı Satım", color=color.green)
plot(macd_line, color=color.blue, title="MACD")
plot(signal_line, color=color.orange, title="Sinyal")
Jakes main indicator Key Updates:
Support and Resistance Calculation:
We're using request.security() to fetch the previous day's low and previous day's high from the daily timeframe and plotting them as static support and resistance levels. These levels won't update on lower timeframes.
daily_support is the previous day's low, and daily_resistance is the previous day's high.
Plotting Static Lines:
We plot these static support and resistance levels using plot(), which will appear as green (support) and red (resistance) lines on the chart.
How It Works:
Support and resistance will be static, calculated only once on the daily timeframe, and then stay constant even as you zoom into lower timeframes.
The EMA cloud and buy/sell signals are based on your existing logic and work as intended, but now you have static support and resistance lines that won’t change over time.
The buy and sell signals will still depend on the EMA crossovers and volatility, but now you have a reliable frame of reference for support and resistance on your chart.
You can now adjust the support/resistance calculation method as needed, or tweak the visualization settings.
Smart VolumeThis script introduces a unique approach to volume analysis by combining three critical components that work together to identify institutional activity:
1. Adaptive Volume Analysis
- Automatically calculates significant volume thresholds specific to each stock (current bar volume compared to the average of previous 6 bars)
- Unlike standard indicators using fixed multipliers (like 2x average volume), this adapts to each stock's unique trading characteristics
- Example: A 2x volume spike might be significant for AAPL but irrelevant for a volatile small-cap
2. Volume Contraction Pattern (VCP) Detection
- Identifies periods of decreasing volume with precise criteria:
• Requires 6+ consecutive periods of declining volume
• Volume must compress by at least 20% from peak
• Price must remain within a defined channel
- Automatically detects completion of compression patterns
3. RVM (Relative Volatility Measure) Integration
- Measures current volatility against historical averages
- Identifies low-volatility periods that often precede major moves
- When combined with volume compression, signals higher probability setups
How Components Work Together:
- Volume spikes are evaluated against stock-specific thresholds
- VCP detection runs continuously to identify compression patterns
- RVM confirms volatility contraction aligned with volume compression
- When all three align, the indicator signals potential breakout entry
Usage:
1. Monitor volume bars for spikes above adaptive thresholds (bright green/red)|
2. Monitor average volume line turning from white to green indicating volume contraction (the brighter the green the more contraction happened)
2. Watch for green shading at the zero-line indicating volatility compression (RVM)
3. Use the statistics table for more insights
Original Features:
- First indicator to combine adaptive volume thresholds with VCP detection
- Implements stock-specific volume analysis instead of fixed multipliers
- Integrates volatility confirmation with volume patterns
- Provides real-time statistical analysis of compression patterns
Best suited for daily timeframes on liquid stocks where institutional activity is most visible.
Note: While patterns suggest potential moves, always confirm with price action before trading.
Video:
Jakes main INDICATOR really great tool still a work in progress. I'm fine tunning this still mostly around false signals and volitility