Consecutive Candle CounterConsecutive Condition Counter is a versatile indicator that tracks and visualizes consecutive candles based on user-defined market conditions. It helps traders quickly identify streaks of bullish or bearish signals by counting how many bars in a row satisfy the selected condition.
🔍 Features:
Three selectable conditions via a dropdown:
Up & Down Days: Counts consecutive up or down candles. Each up candle adds +1, each down candle subtracts -1. The counter resets when direction changes.
RSI Signal: Counts how many consecutive bars RSI remains above 70 (+1 per bar) or below 30 (-1 per bar). Resets when RSI moves back to the neutral zone.
SMA Positioning: Counts consecutive bars where price stays above (+1) or below (-1) a Simple Moving Average (SMA). SMA period is user-defined.
📊 Visualization:
Positive streaks are shown in green, negative streaks in red, and neutral values in gray.
Displayed as a histogram below the chart for quick pattern recognition.
⚙️ Inputs:
Choose condition logic from the dropdown.
Configure the RSI period and SMA period as needed.
This tool can be helpful for identifying momentum streaks, overbought/oversold trends, or trend-following behavior in a visually intuitive way.
Candlestick analysis
Enhanced Stock Ticker with 50MA vs 200MA On ChartDescription:
The "Enhanced Stock Ticker with 50MA vs 200MA Signals" is a streamlined Pine Script indicator that overlays bullish and bearish crossover signals directly on the price chart, derived from normalized price indices based on short-term (default: 50-period) and long-term (default: 200-period) price ranges. Designed for traders seeking clear, actionable signals, it highlights potential trend reversals or momentum shifts with color-coded arrows and robust alert functionality.
What It Does:
Normalized Price Indices:
Calculates two internal indices based on the stock’s closing price relative to the high/low range over user-defined short (default: 50 periods) and long (default: 200 periods) lookback periods.
The Short Lookback Index (based on 50 periods) and Long Lookback Index (based on 200 periods) are computed but not plotted, serving as the foundation for crossover signals.
Crossover Signals on Price Chart:
Long-Term Signals:
Bullish Long Cross: A green triangle appears below the price bar when the Long Lookback Index crosses above 5, indicating a potential valley or bullish reversal.
Bearish Long Cross: A red triangle appears above the price bar when the Long Lookback Index crosses below 95, signaling a potential peak or bearish reversal.
Short-Term Signals:
Bullish Short Cross: A blue triangle appears below the price bar when the Short Lookback Index crosses above 5, suggesting short-term bullish momentum.
Bearish Short Cross: A white triangle appears above the price bar when the Short Lookback Index crosses below 95, indicating short-term bearish momentum.
All signals are integrated with TradingView’s alert system for real-time notifications.
Ticker and Legend Table:
Displays a table in the top-right corner with:
The stock’s ticker symbol (yellow text on blue background).
A legend explaining the blue arrows (Short MA, 50 periods) and white arrows (Long MA, 200 periods).
The table is initialized once to maintain a clean chart.
How to Use:
Customization: Adjust the short (default: 50) and long (default: 200) lookback periods in the indicator settings to align with your trading style or timeframe.
Interpretation:
Green/Blue Triangles Below Bars: Indicate potential buying opportunities (bullish crossovers at the 5 level for long/short indices).
Red/White Triangles Above Bars: Suggest potential selling opportunities (bearish crossovers at the 95 level for long/short indices).
Alerts: Set up TradingView alerts for the following conditions:
Long Index Valley: Long-term bullish crossover above 5.
Long Index Peak: Long-term bearish crossover below 95.
Short Index Valley: Short-term bullish crossover above 5.
Short Index Peak: Short-term bearish crossover below 95.
Why Use This Indicator?
This indicator provides a clean, intuitive way to visualize potential trend reversals and momentum shifts directly on the price chart. The color-coded arrows make it easy to spot entry and exit points, while customizable lookback periods and alert conditions cater to traders of all levels. It’s perfect for those who prefer minimal chart clutter with maximum signal clarity.
Notes:
Uses confirmed bars (previous bar’s OHLC data) to ensure signals are non-repainting and reliable.
Primarily designed for stocks but adaptable to other assets (e.g., forex, crypto) by tweaking lookback periods.
Arrows are placed above or below price bars for clear visibility; adjust chart zoom if signals appear crowded.
Signals at the 5 and 95 thresholds are sensitive to extreme price movements, so combine with other technical analysis for confirmation.
Custom Session ORB Breakout Strategy for Crypto🧠 Strategy Logic Overview
Session Setup:
You define the start time (hour + minute in UTC) and duration (default 30 minutes).
The indicator tracks the high and low of that time window.
Breakout Detection (on 5-minute chart):
After the session window ends, the script looks for the first 5-minute candle that closes above or below the defined range.
The direction of the close determines the trade direction (Buy or Sell).
Entry & Risk Management:
Buy Signal: 5-min candle closes above session high.
Sell Signal: 5-min candle closes below session low.
TP = 2× the size of the session range
SL = 1× the size of the session range
These are fully adjustable via inputs.
🔍 Key Features
Feature Description
Works 24/7 Designed for crypto's non-stop trading hours
Custom Session Time Define your own range window (e.g. 00:00–00:30 UTC)
Breakout Entry Triggered by a candle close outside the range
Risk/Reward Built-In Automatically draws TP/SL based on session size
Clear Visuals Green line = session high, Red = session low, Blue = TP, Orange = SL
One Trade Per Session Script waits for exit before re-entering
🧩 User Inputs:
Take Profit Multiplier (default: 2.0× range)
Stop Loss Multiplier (default: 1.0× range)
Session Hour / Minute (UTC) – defines when to track the range
Session Duration – default is 30 minutes
9:30AM 30m Candle Breakout Strategy (TP/SL)🧠 Strategy Logic Overview
Setup (30-Min Timeframe):
At 9:30 AM, the script starts tracking the first 30-minute candle of the trading day.
When the 10:00 AM mark is hit, the high and low of that 9:30–10:00 candle are locked in.
Execution (5-Min Timeframe):
After 10:00 AM, the chart switches to 5-minute candles.
A trade is triggered when a 5-minute candle closes above or below the 30-minute range.
Entry Direction:
Buy when price breaks and closes above the 30-minute high.
Sell when price breaks and closes below the 30-minute low.
Risk-Reward Management:
Stop Loss (SL) is set at 1× the 30-minute range.
Take Profit (TP) is set at 2× the 30-minute range.
These are fully customizable via inputs.
🔍 Key Features
Feature Details
Timeframe Setup on 30-minute, execution on 5-minute
Signal Types Buy/Sell on confirmed breakout candle close
TP/SL Automatically drawn and adjusted based on breakout direction
Visual Aids Green = 30-min High, Red = 30-min Low, Blue = TP, Orange = SL
One Trade Per Day Prevents overlapping trades by tracking entry/exit state
Reset Daily Re-initializes after every trading day for fresh setup
Bullish Hammer on MA200Here's a TradingView Pine Script (v5) that detects a bullish hammer candlestick where:
The low is at or below MA200
The entire candle body is above MA200
It prints "BH" in green below the candle if conditions are met
It also plots MA20 and MA200 for reference
End-of-Day MA Monitor with AlertHere's a TradingView Pine Script (v5) that does exactly what you described:
Works on the 15-minute chart
Uses Regular Trading Hours (RTH) (default 9:30 AM – 4:00 PM ET)
Detects if the last 15-minute bar of the trading day includes MA20 or MA200
If MA20 or MA200 is within the bar's high/low range, it plots a yellow “MONITOR” label under the candle
Morning Star Above MA200 with RSI < 40Detects a Morning Star pattern
Confirms it is above the MA200
Confirms RSI < 40
Plots MA20 and MA200
Prints a green label "MS" below the first candle of the pattern
Auto Fib (Retracement + Extensions + Alerts)Fibonacci retracement and extension levels
✅ Trend-based update (auto-detects swing high/low)
✅ Labels for clarity
✅ Alerts for key Fibonacci levels (e.g. 38.2%, 61.8%)
Rollover Candles 23:00-00:00 UTC+1This indicator highlights the Forex Market Rollover candles during which the spreads get very high and some 'fake price action' occurs. By marking them orange you always know you are dealing with a rollover candle and these wicks/candles usually get taken out later on because there are no orders in these candles.
Optimal settings: The rollover takes only 1 hour, so put the visibility of the indicator on the 1 hour time frame and below (or just the 1h).
EMAs mit RSI & Candlestick-Signalen (einstellbar)This indicator overlays multiple Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) on the chart, including EMA 8, 13, 21, 48, 50, 100, 200, 300, 500, 700 and SMA 200 & 500. Each moving average can be individually toggled on or off.
It also plots RSI signals with customizable upper and lower thresholds, marking overbought and oversold conditions.
Additionally, the indicator detects two popular candlestick patterns — Hammer and Shooting Star — and marks them directly on the chart with intuitive emoji symbols (🛠️ for Hammer below the candle and ⭐ for Shooting Star above the candle). The background of these symbols is transparent for a clean look.
Features:
Multiple EMAs and SMAs with toggle options
Configurable RSI upper and lower levels with visual signals
Detection and display of Hammer and Shooting Star candlestick patterns
Clean, emoji-based markers for candlestick signals without background clutter
Labels for the last bar’s values of each moving average
This tool helps traders quickly visualize trend strength, momentum extremes, and potential reversal candlestick signals all in one chart.
MM Hunter PRO [v1.1]> **MM Hunter PRO v1.1** is a professional-grade indicator built on the mindset of a market maker who has switched sides — now working for the trader.
> It helps identify high-probability entry points, filtered by trend direction, volume impulse, and candlestick quality.
MM Hunter PRO [v1.1]> **MM Hunter PRO v1.1** is a professional-grade indicator built on the mindset of a market maker who has switched sides — now working for the trader.
> It helps identify high-probability entry points, filtered by trend direction, volume impulse, and candlestick quality.
Ichimoku Cloud zxc vercopyright from Ichimoku Cloud
updated info:
add big wheel emoji and red down arrow
when the conversionLine and baseLine cross depends on witch one was below other one
Bias Ratio-ETH-3H @CTTC5108Most of the code of this strategy should be my own original.
This Ethereum 3-hour time cycle strategy can be traced back to February 24, 2023. Although the profit and winning rate are not high, it is still relatively stable.
This strategy uses the deviation rate to enter the market. Invest 10% of the principal each time.
The limit start time adopts a rolling design (should be original).
Real-time retracement and maximum retracement are accurately calculated (should be original).
Adopt segmented stop profit (optional) design.
Open source for learning and other use.
AI-Driven Multi-Factor StrategyYour **AI-Driven Multi-Factor Trading Strategy** is designed to **identify high-probability trades** using a combination of **momentum, trend strength, and volatility analysis**. It incorporates several **key indicators** to provide accurate buy and sell signals.
### **Key Features of This Strategy**
#### **1. Trend Identification**
✔ Uses **Exponential Moving Averages (EMA 10 & EMA 50)** to determine market direction.
✔ A **bullish crossover** (EMA 10 above EMA 50) signals a buy opportunity.
✔ A **bearish crossunder** (EMA 10 below EMA 50) suggests a sell signal.
#### **2. Momentum Confirmation**
✔ **Relative Strength Index (RSI)** ensures trades align with momentum.
✔ Buy signals occur when **RSI is above 50**, indicating strength.
✔ Sell signals trigger when **RSI drops below 50**, confirming weakness.
#### **3. MACD for Trend Strength**
✔ **MACD Line vs. Signal Line** crossover ensures momentum confirmation.
✔ **Positive MACD** signals bullish strength, while **negative MACD** confirms bearish trend.
#### **4. Volatility Analysis with Bollinger Bands**
✔ **Price near Bollinger Lower Band** suggests a potential buy.
✔ **Price near Bollinger Upper Band** warns of possible reversals.
✔ Bollinger Bands help identify breakout zones.
#### **5. Institutional Activity via VWAP**
✔ **VWAP (Volume Weighted Average Price)** ensures price action aligns with institutional buying/selling patterns.
✔ **Buy above VWAP** indicates strong demand.
✔ **Sell below VWAP** signals market weakness.
#### **6. AI-Driven Signal Scoring**
✔ The script calculates an **AI Score** using weighted factors:
- **30% RSI impact** (momentum strength)
- **40% MACD impact** (trend confirmation)
- **30% VWAP impact** (institutional activity)
✔ **AI Score > 0** confirms a buy setup.
✔ **AI Score < 0** signals bearish conditions.
### **Trade Execution Rules**
✔ **Entry Conditions** – Buy when EMA crossover aligns with a strong AI Score.
✔ **Exit Conditions** – Sell when trend strength reverses.
✔ **Stop Loss (0.5%) & Take Profit (1.5%)** – Manages risk efficiently.
### **Benefits of This Strategy**
✅ Uses **multiple confirmation layers** for stronger trade signals.
✅ Combines **trend, momentum, volatility, and institutional activity** for precision.
✅ Works well for **scalping, swing trading, and long-term investments**.
ATH & 52 Wk High (Dem)All Time High & 52 week High indicator.
Simple script to indicate if a stock is at a 52 week high (yellow square)
or at an All Time High (yellow diamond)
Indicates based on the closing price of the current candle.
Hammer MA20/MA200 UPTREND SignalConditions:
The candle must be a Hammer (small body with long lower wick)
The low of the candle is:
Above MA200
Below MA20
The high is above MA20
If all are true, it plots a green “UPTREND” label below the candle
LAXMI 2-Candle MA SetupCandle 1 (Previous Candle):
Is bullish (close > open)
Low is above MA20
Low is below MA200
Candle 2 (Current Candle):
Is bullish
Closes above MA200
If both conditions are met, print a green “LAXMI” label below the first candle
9:30 Candle ORB Break + Retest + Volume & Key Levels + Alerts5 Min ORB, mark 5 minute candle and wait for a break a retest with 1 minute candle
Double Bottom with Breakout ConfirmationDouble Bottom with Breakout Confirmation Script
This script detects double bottom patterns by identifying two pivot lows within a set price tolerance and time gap. It then finds the neckline (the peak between the bottoms), and confirms the pattern when price breaks above the neckline by a small buffer. It plots lines and labels on the chart and can trigger alerts when a breakout occurs.
ETH Bullish BANGER on MA200Scans every 30-minute candle
If the MA200 is crossed from low to high by a bullish candle, it tags it as “BANGER”
Also plots MA20 and MA200 lines on the chart for reference
FVG [%]An indicator showing the value of a FVG in percentage (%).
Reason behind this indicator is to find the most logical FVG in term of SMC concept by its value.
MA20 & MA200 EOD MonitorHere’s your updated TradingView Pine Script (v5) that:
Works on the 15-minute chart
Focuses only on Regular Trading Hours (RTH): 9:30 AM to 4:00 PM (Eastern Time)
Identifies the last 15-minute bar of the session (3:45 PM)
Checks if both MA20 and MA200 are within that candle’s high-low range
Plots an ORANGE “MONITOR” label below the candle