DaringBull Arvind MACD GAPS MA CrossoverTo generate buy and sell signals based on a combination of MACD crossover events and histogram behavior, particularly around the zero line. This is used to identify early momentum reversals for entry and exit points in the market.
📐 MACD Setup
Uses customizable MACD parameters (defaults: Fast = 12, Slow = 26, Signal = 9).
Calculates:
MACD Line
Signal Line
Histogram (difference between MACD and Signal)
✅ Buy Conditions
A buy signal is plotted when all three of the following occur:
MACD Line crosses above Signal Line (bullish crossover).
MACD Line is still below or near the zero line (< 0.05) – indicates early reversal from a bearish zone.
First green histogram bar appears (current bar is > 0 and previous was ≤ 0) – confirming momentum shift.
➡️ When these align, a blue circle is plotted below the price bar.
❌ Sell Conditions
A sell signal is plotted when all three of the following occur:
MACD Line crosses below Signal Line (bearish crossover).
MACD Line is still above or near the zero line (> -0.05) – indicates early weakness after a bullish move.
First red histogram bar appears (current bar is < 0 and previous was ≥ 0) – confirming loss of momentum.
➡️ When these align, a red circle is plotted above the price bar.
📊 Visualization
Buy/Sell markers appear on the price chart for visual entry/exit cues.
MACD line, Signal line, and Zero line are optionally plotted for deeper analysis.
📌 Key Insights
This script aims to enter trades early in trend reversals by using MACD in conjunction with histogram shifts near the zero line.
It's especially useful in gap trading, mean reversion, or breakout confirmation setups.
The optional plot toggle allows switching between overlay and non-overlay views.
Penunjuk dan strategi
EMA Crossover Strategy (HA + 2 Candle Confirm)Best use for intraday scalping upto 30min timeframe.
Use it with Hikin Ashi candles to spot and hold trades for maximum profits.
COG GravityBased on the COG concept by veryfid — but shown directly on the chart instead of an oscillator pane.
Long Entry
Price crosses above the COG line, and
Price is above the SMA
COG velocity is rising (momentum is building)
Short Entry
Price crosses below the COG line, and
Price is below the SMA
COG velocity is falling (momentum is weakening)
Feel free to modify the script and let me know ☺️
ZYTX RSI SuperTrendZYTX RSI SuperTrend
ZYTX RSI + SuperTrend Strategy
The definitive integration of RSI and SuperTrend trend-following indicators, delivering exemplary performance in automated trading bots.
“Risk-Asset Liquidity Meter”The CN10Y / DXY / HY-OAS Liquidity Gauge distills three cross-asset signals into a single real-time line that has proven highly responsive to global liquidity swings. By dividing China’s 10-year government-bond yield (a proxy for PBoC policy) by both the U.S. Dollar Index level (a barometer of worldwide dollar tightness) and the ICE BofA U.S. High-Yield credit spread (a daily read on risk appetite), the indicator rises when monetary conditions loosen—China is easing, the dollar is softening, and credit markets are calm—and falls when any of those pillars tighten. Traders pair the raw ratio with its 50-day simple moving average to smooth noise and generate directional signals: sustained moves above the MA typically foreshadow strength in Bitcoin, alt-coins, equities and EM assets, while decisive breaks below it often flag oncoming funding stress or risk-off episodes. Because all inputs update daily and are freely sourced (TVC\:CN10Y, TVC\:DXY, FRED\:BAMLH0A0HYM2), the gauge is a lightweight yet powerful compass for anyone who needs a fast, transparent snapshot of global liquidity’s push-and-pull on crypto and other risk markets.
Golden/Death Cross🔔 Indicator: **Golden/Death Cross**
This indicator visually tracks the **Golden Cross** and **Death Cross** using exponential moving averages:
* **EMA 50** (short-term trend)
* **EMA 200** (long-term trend)
📈 How it works:
* When **EMA 50 crosses above EMA 200**, it's a **Golden Cross** (potential bullish signal) — the line turns **green**.
* When **EMA 50 crosses below EMA 200**, it's a **Death Cross** (potential bearish signal) — the line turns **red**.
* The line retains its color until the next crossover, helping traders stay visually aligned with trend shifts.
This is a minimal and clean tool designed to highlight long-term trend changes clearly and effectively.
⚠️ Disclaimer:
This script is for **educational and informational purposes only**. It does **not constitute financial advice** or a recommendation to buy or sell any financial instruments. Always do your own research and consult a licensed financial advisor before making trading decisions.
Dow Theory Trend IndicatorIdentifies bullish (Higher Highs/Lows) and bearish (Lower Highs/Lows) trends using Dow Theory principles, with dynamic volume confirmation.
Displays the current trend status ("Bull", "Bear", or "Neutral")
Contrarian RSIContrarian RSI Indicator
Pairs nicely with Contrarian 100 MA (optional hide/unhide buy/sell signals)
Description
The Contrarian RSI is a momentum-based technical indicator designed to identify potential reversal points in price action by combining a unique RSI calculation with a predictive range model inspired by the "Contrarian 5 Levels" logic. Unlike traditional RSI, which measures price momentum based solely on price changes, this indicator integrates a smoothed, weighted momentum calculation and predictive price ranges to generate contrarian signals. It is particularly suited for traders looking to capture reversals in trending or range-bound markets.
This indicator is versatile and can be used across various timeframes, though it performs best on higher timeframes (e.g., 1H, 4H, or Daily) due to reduced noise and more reliable signals. Lower timeframes may require additional testing and careful parameter tuning to optimize performance.
How It Works
The Contrarian RSI combines two primary components:
Predictive Ranges (5 Levels Logic): This calculates a smoothed price average that adapts to market volatility using an ATR-based mechanism. It helps identify significant price levels that act as potential support or resistance zones.
Contrarian RSI Calculation: A modified RSI calculation that uses weighted momentum from the predictive ranges to measure buying and selling pressure. The result is smoothed and paired with a user-defined moving average to generate clear signals.
The indicator generates buy (long) and sell (exit) signals based on crossovers and crossunders of user-defined overbought and oversold levels, making it ideal for contrarian trading strategies.
Calculation Overview
Predictive Ranges (5 Levels Logic):
Uses a custom function (pred_ranges) to calculate a dynamic price average (avg) based on the ATR (Average True Range) multiplied by a user-defined factor (mult).
The average adjusts only when the price moves beyond the ATR threshold, ensuring responsiveness to significant price changes while filtering out noise.
This calculation is performed on a user-specified timeframe (tf5Levels) for multi-timeframe analysis.
Contrarian RSI:
Compares consecutive predictive range values to calculate gains (g) and losses (l) over a user-defined period (crsiLength).
Applies a Gaussian weighting function (weight = math.exp(-math.pow(i / crsiLength, 2))) to prioritize recent price movements.
Computes a "wave ratio" (net_momentum / total_energy) to normalize momentum, which is then scaled to a 0–100 range (qrsi = 50 + 50 * wave_ratio).
Smooths the result with a 2-period EMA (qrsi_smoothed) for stability.
Moving Average:
Applies a user-selected moving average (SMA, EMA, WMA, SMMA, or VWMA) with a customizable length (maLength) to the smoothed RSI (qrsi_smoothed) to generate the final indicator value (qrsi_ma).
Signal Generation:
Long Entry: Triggered when qrsi_ma crosses above the oversold level (oversoldLevel, default: 1).
Long Exit: Triggered when qrsi_ma crosses below the overbought level (overboughtLevel, default: 99).
Entry and Exit Rules
Long Entry: Enter a long position when the Contrarian RSI (qrsi_ma) crosses above the oversold level (default: 1). This suggests the asset is potentially oversold and due for a reversal.
Long Exit: Exit the long position when the Contrarian RSI (qrsi_ma) crosses below the overbought level (default: 99), indicating a potential overbought condition and a reversal to the downside.
Customization: Adjust overboughtLevel and oversoldLevel to fine-tune sensitivity. Lower timeframes may benefit from tighter levels (e.g., 20 for oversold, 80 for overbought), while higher timeframes can use extreme levels (e.g., 1 and 99) for stronger reversals.
Timeframe Considerations
Higher Timeframes (Recommended): The indicator is optimized for higher timeframes (e.g., 1H, 4H, Daily) due to its reliance on predictive ranges and smoothed momentum, which perform best with less market noise. These timeframes typically yield more reliable reversal signals.
Lower Timeframes: The indicator can be used on lower timeframes (e.g., 5M, 15M), but signals may be noisier and require additional confirmation (e.g., from price action or other indicators). Extensive backtesting and parameter optimization (e.g., adjusting crsiLength, maLength, or mult) are recommended for lower timeframes.
Inputs
Contrarian RSI Length (crsiLength): Length for RSI momentum calculation (default: 5).
RSI MA Length (maLength): Length of the moving average applied to the RSI (default: 1, effectively no MA).
MA Type (maType): Choose from SMA, EMA, WMA, SMMA, or VWMA (default: SMA).
Overbought Level (overboughtLevel): Upper threshold for exit signals (default: 99).
Oversold Level (oversoldLevel): Lower threshold for entry signals (default: 1).
Plot Signals on Main Chart (plotOnChart): Toggle to display signals on the price chart or the indicator panel (default: false).
Plotted on Lower:
Plotted on Chart:
5 Levels Length (length5Levels): Length for predictive range calculation (default: 200).
Factor (mult): ATR multiplier for predictive ranges (default: 6.0).
5 Levels Timeframe (tf5Levels): Timeframe for predictive range calculation (default: chart timeframe).
Visuals
Contrarian RSI MA: Plotted as a yellow line, representing the smoothed Contrarian RSI with the applied moving average.
Overbought/Oversold Lines: Red line for overbought (default: 99) and green line for oversold (default: 1).
Signals: Blue circles for long entries, white circles for long exits. Signals can be plotted on the main chart (plotOnChart = true) or the indicator panel (plotOnChart = false).
Usage Notes
Use the indicator in conjunction with other tools (e.g., support/resistance, trendlines, or volume) to confirm signals.
Test extensively on your chosen timeframe and asset to optimize parameters like crsiLength, maLength, and mult.
Be cautious with lower timeframes, as false signals may occur due to market noise.
The indicator is designed for contrarian strategies, so it works best in markets with clear reversal patterns.
Disclaimer
This indicator is provided for educational and informational purposes only. Always conduct thorough backtesting and risk management before using any indicator in live trading. The author is not responsible for any financial losses incurred.
Intraday TWAP SimpleSlivKurs. This script implements a classic VWAP using ChatGPT (OpenAI). Purely a home project.
Step 1: Draw Thursday HighScript Description: Thursday High Marker
This is an automated charting tool designed to identify the high of each Thursday and display it as a key reference level for future trading sessions.
Core Functionality:
The script's logic is simple and precise. It waits for the trading session on Thursday to complete. At the very beginning of Friday, it looks back, finds the highest price from Thursday, and draws a clean, white horizontal line at that level.
Key Features:
Automatic: You don't need to do anything. The script finds and draws the level on its own every week.
Forward-Looking: The line extends to the right indefinitely, allowing you to see how future price action interacts with this key level.
Self-Cleaning: To keep your chart uncluttered, the script automatically deletes the previous week's line when it draws the new one.
Lightweight: It performs a single, simple task, so it doesn't slow down your chart.
Purpose in Trading:
Traders use this kind of indicator to track significant weekly price points. The high of a late-week session like Thursday is often considered an important liquidity level. A break above this line can signal bullish strength or a "liquidity sweep," making it a valuable point of interest for making trading decisions on Friday and into the following week.
Cumulative Volume Delta with MAfor higher timeframes , i use 9 or 11 ema , and 5 seconds on 1 day. moving average of the cvd not the raw volume . i use it with the impulse macd and find momentum trades or selloffs when moving averages cross .
Oscillator SignalsOscillator Signals – Smart Trading with RSI & Stochastic
Stop waiting for false reversals—trade the confirmed moves!
Developed by Marcelo Ulisses Sobreiro Ribeiro
Many traders struggle with the Stochastic Oscillator because it can linger in overbought (OB) or oversold (OS) zones for long periods, leading to premature entries. This script solves that problem by only triggering signals when Stochastic exits these zones, combined with RSI crossovers for higher-confidence trades.
🔹 Key Features:
✅ No More False Alerts – Avoids signals inside OB/OS zones—waits for Stochastic to exit (confirming momentum shift).
✅ RSI + Moving Average Crossovers – Adds a second layer of confirmation when RSI crosses its moving average.
✅ Combined Alerts – Strongest signals occur when:
Stochastic exits oversold (OS) and RSI crosses above its MA (▲ Bullish).
Stochastic exits overbought (OB) and RSI crosses below its MA (▼ Bearish).
✅ Fully Customizable – Adjust lengths, OB/OS levels, and toggle signals.
✅ Built-in Alerts – Never miss a setup.
🔹 Why It Works Better:
Traditional Stochastic signals often fail because price can stay stuck in OB/OS for extended periods. This script ignores entries inside the zones and only acts when:
Stochastic leaves OS (crosses above 20) + RSI confirms uptrend.
Stochastic leaves OB (crosses below 80) + RSI confirms downtrend.
Filters out weak reversals, focusing on high-probability breakouts.
🔹 Ideal For:
Traders tired of "whipsaws" from premature OB/OS entries.
Swing traders seeking confirmed reversals.
Combining with support/resistance for precision.
📌 Pro Tip: Pair this with price action (e.g., breakouts from key levels) for even stronger signals!
Try it now—trade less, profit more! 🚀
Key Improvements:
Problem-Solution Framework: Directly addresses the "Stochastic lingering" issue upfront.
Stronger Emphasis on Confirmation: Highlights how the script waits for OB/OS exits to avoid fakeouts.
Clearer Value Proposition: Positions the script as a filter for higher-quality signals.
CVD with Dual MAprefered settings.
Cvd 5 seconds on 1 minute timeframe . this indicator also has moving averages . i prefer the 21 or 30 ema and the 90 or 120 ema for the other. smaller timeframe means you can see more cvd vs using 1 minute on 1 minute . the middle line acts as a definitive decision for a short because if price is also below vwap and is approaching the middle line it is more likely to go down, use the ma crosses to signal some buying momentum rising and they are the ema of the CVD not total raw volume . i use this also on 15 m but with the single cvd moving average . which is separate indicator because of some syntax error idk bro had to make a separate one for higher timeframe.
Multi Horizontal Lines 1000 BarsThis indicator is is not my code, I have copied this from another user and extened the lines so they go back 1000 bars for back testing.
I use this indicator to trade Crude Oil and set the horizontal lines to 20 cents increments, 0.2 is 20 cents. You can change the horizontal lines to any price distance to suit your style of trading.
My idea is when price crosses over a horizontal line I will enter a trade long or short looking to secure 20 cents.
Highlight Highest Volume CandleHow it works:
lookback: how many bars to look back for highest volume (default 50).
highestVol: the maximum volume in that range.
isHighestVol: true if the current candle’s volume equals that maximum.
plotcandle: draws the candle in bright yellow.
plotshape: adds a small triangle below the bar for extra visibility.
ZYTX SuperTrend V1ZYTX SuperTrend V1 Indicator
Multi-strategy intelligent rebalancing with >95% win rate
Enables 24/7 automated trading
ZY Legend StrategyThe ZY Legend Strategy indicator closely follows the trend of the parity. It produces trading signals in candles where the necessary conditions are met and clearly shows these signals on the chart. Although it was produced for the scalp trade strategy, it works effectively in all time frames. 'DEAD PARITY' signals indicate that healthy signals cannot be generated for the relevant parity due to shallow ATR. It is not recommended to trade on parities where this signal appears.
My Custom IndicatorThis script implements a simple yet effective RSI-based trading strategy. It uses the Relative Strength Index (RSI) to generate buy and exit signals based on overbought and oversold conditions.
How It Works:
Buy Entry: When RSI crosses above 30 (indicating recovery from an oversold state).
Exit: When RSI crosses below 70 (potential reversal from an overbought state).
Plots the RSI line and key thresholds (30/70) directly on the chart.
Designed for backtesting with TradingView’s strategy function.
Features:
Fully automated entry and exit logic
Customizable RSI settings (just edit the code)
Visual RSI plot and threshold lines
Works on any asset or timeframe
This strategy is suitable for trend-following or mean-reversion setups, and is best used in combination with other filters (like moving averages or price action patterns) for improved accuracy
Bullish & Bearish Reversal Scanner_KSPBullish & Bearish Reversal Scanner_KSP
Bullish & Bearish Reversal Scanner_KSP
Bullish & Bearish Reversal Scanner_KSP
StratNinjaTableStratNinjaTable – Multi-Timeframe The Strat Candle Pattern Table
This Pine Script indicator provides traders with a dynamic table overlay on the chart that displays The Strat candle patterns across multiple selectable timeframes. The table includes:
The candle pattern according to The Strat method (1, 2UP, 2DOWN, 3) for each chosen timeframe
Direction arrows showing bullish (▲), bearish (▼), or neutral (■) candle direction
Real-time countdown timer showing remaining time until the current candle closes, adapting automatically to daily, weekly, monthly, and longer timeframes
User inputs for selecting which timeframes to display and positioning of the table on the chart
The current ticker symbol and chart timeframe displayed prominently
The script is developed using Pine Script version 6 and is inspired by the work of shayy110, who contributed foundational code for The Strat methodology in TradingView.
Sonic R + Regression + Supertrend sonic R , polynomial regession , super trend . i love you , i love you
MACD GAPS PivotLabels MAIt provides with dots where the MACD is either highest or lowest. Identify the gaps in the chart. Pivot labels are to read the numeric value of the candle high or low and an option to select moving averages