EMA + VWAP + RSI + MACD + Current Price - PanelEMA + VWAP + RSI + MACD + Current Price - Panel
9/21 ema cross
8/20 ema cross
Panel that shows bearish or bullish
Indicators and strategies
ORB Algo & Customizable Daily 10 AM EST Line (Full Height)ORB Algo & Customizable Daily 10 AM EST Line (Full Height)
Ultimate Trading BotHow the "Ultimate Trading Bot" Works:
This Pine Script trading bot executes buy and sell trades based on a combination of technical indicators:
Indicators Used:
RSI (Relative Strength Index)
Measures momentum and determines overbought (70) and oversold (30) levels.
A crossover above 30 suggests a potential buy, and a cross below 70 suggests a potential sell.
Moving Average (MA)
A simple moving average (SMA) of 50 periods to track the trend.
Prices above the MA indicate an uptrend, while prices below indicate a downtrend.
Stochastic Oscillator (%K and %D)
Identifies overbought and oversold conditions using a smoothed stochastic formula.
A crossover of %K above %D signals a buy, and a crossover below %D signals a sell.
MACD (Moving Average Convergence Divergence)
Uses a 12-period fast EMA and a 26-period slow EMA, with a 9-period signal line.
A crossover of MACD above the signal line suggests a bullish move, and a cross below suggests bearish movement.
Trade Execution:
Buy (Long Entry) Conditions:
RSI crosses above 30 (indicating recovery from an oversold state).
The closing price is above the 50-period moving average (showing an uptrend).
The MACD line crosses above the signal line (indicating upward momentum).
The Stochastic %K crosses above %D (indicating bullish momentum).
→ If all conditions are met, the bot enters a long (buy) position.
Sell (Exit Trade) Conditions:
RSI crosses below 70 (indicating overbought conditions).
The closing price is below the 50-period moving average (downtrend).
The MACD line crosses below the signal line (bearish signal).
The Stochastic %K crosses below %D (bearish momentum).
→ If all conditions are met, the bot closes the long position.
Visuals:
The bot plots the moving average, RSI, MACD, and Stochastic indicators for reference.
It also displays buy/sell signals with arrows:
Green arrow (Buy Signal) → When all buy conditions are met.
Red arrow (Sell Signal) → When all sell conditions are met.
How to Use It in TradingView:
RSI Alerts – Live & ConfirmedThe RSI Alerts – Live & Confirmed indicator enhances the traditional Relative Strength Index (RSI) by providing real-time alerts and confirmed breakout signals when RSI reaches key levels. It also features a dynamic RSI line color change for better visualization.
Key Features:
✅ Live & Confirmed Alerts:
Live Alert Mode: Triggers when RSI touches overbought (70) or oversold (30).
Confirmed Alert Mode: Triggers only when RSI closes above/below these levels, reducing false signals.
✅ Dynamic RSI Line Coloring:
Above 70: RSI turns green, indicating an overbought condition.
Below 30: RSI turns red, indicating an oversold condition.
Between 30 and 70: RSI remains blue, its normal color, ensuring no color leaks into invalid zones.
✅ Customizable RSI Settings:
Adjustable RSI length, overbought/oversold levels, and alert preferences.
Mid-Level (50) line for trend bias reference.
This indicator is perfect for traders who rely on RSI signals and want clear visual cues and real-time alerts for improved decision-making.
Advanced Candlestick Pattern DetectorWhat Does This Indicator Do?
This indicator looks at the way price moves in the market using candlesticks (those red and green bars you see on charts). It tries to find special patterns like Bullish Engulfing, Hammer, Doji, and others. When one of these patterns shows up, the indicator checks a bunch of filters to decide if the pattern is strong enough to be a signal to buy or sell.
The Main Parts of the Indicator
1. Candlestick Pattern Detection
Bullish Engulfing:
Imagine you see a small down candle (red) and then a big up candle (green) that completely “covers” the red one. That’s a bullish engulfing pattern. It can signal that buyers are taking over.
Bearish Engulfing:
The opposite of bullish engulfing. A small up candle (green) is followed by a big down candle (red) that covers the previous candle. This suggests sellers might be in control.
Hammer & Shooting Star:
Hammer: A candle with a very short body and a long shadow at the bottom. It shows that buyers stepped in after a drop.
Shooting Star:
Similar to the hammer but with a long shadow on top. It can indicate that sellers are starting to push the price down.
Doji:
A candle with almost no body. This means the opening and closing prices are very close. It shows indecision in the market.
Harami Patterns (Bullish & Bearish):
These are two-candle patterns where the second candle is completely inside the body of the first candle. They signal that the previous trend might be about to change.
Morning Star & Evening Star:
These are three-candle patterns.
Morning Star:
Often seen at the bottom of a downtrend, it can signal a reversal to an uptrend.
Evening Star:
Seen at the top of an uptrend, it can signal that the price may soon go down.
2. Filters: Making the Signals Smarter
The indicator doesn’t just rely on patterns. It uses several “filters” to decide if a pattern is strong enough to trade on. Here’s what each filter does:
a. Adaptive Thresholds (ATR-Based)
What It Is:
The indicator uses something called ATR (Average True Range) to see how much the price is moving (volatility).
How It Works:
Instead of using fixed numbers to decide if a candle is a Hammer or a Doji, it adjusts these numbers based on current market activity.
User Settings:
Use Adaptive Thresholds: Turn this on to let the indicator adjust automatically.
Body Factor, Shadow Factor, Doji Factor: These numbers are multipliers that decide how small or big the body and shadows of the candle should be. You can change them if you want the indicator to be more or less sensitive.
b. Volume Filter
What It Is:
Volume shows how many trades are happening.
How It Works:
The filter checks if the current volume is higher than the average volume (multiplied by a set factor). This helps ensure that the signal isn’t coming from a very quiet market.
User Settings:
Use Volume Filter: Turn this on if you want to ignore signals when there’s not much trading.
Volume MA Period & Volume Multiplier: These settings determine what “normal” volume is and how much higher the current volume must be to count.
c. Multi-Timeframe Trend Filter
What It Is:
This filter looks at a bigger picture by using a moving average (MA) from a higher timeframe (for example, daily charts).
How It Works:
For a bullish (buy) signal, the indicator checks if the price is above this MA.
For a bearish (sell) signal, the price must be below the MA.
User Settings:
Use Multi-Timeframe Trend Filter: Enable or disable this filter.
Higher Timeframe for Trend: Choose which timeframe (like Daily) to use.
Trend MA Type (SMA or EMA) & Trend MA Period: Choose the type of moving average and how many candles to average.
d. Additional Trend Filters (ADX & RSI)
ADX Filter:
What It Is:
ADX stands for Average Directional Index. It measures how strong a trend is.
How It Works:
If the ADX is above a certain threshold, it means the trend is strong.
User Setting:
ADX Threshold: Set the minimum strength the trend should have.
RSI Filter:
What It Is:
RSI (Relative Strength Index) tells you if the price is overbought (too high) or oversold (too low).
How It Works:
For a buy signal, RSI should be low (under a set threshold).
For a sell signal, RSI should be high (above a set threshold).
User Settings:
RSI Buy Threshold & RSI Sell Threshold: These set the levels for buying or selling.
3. How the Final Signal Is Determined
For a signal (buy or sell) to be generated, the indicator first checks if one of the candlestick patterns is present. Then it goes through all these filters (trend, volume, ADX, RSI). Only if everything is in line will it show:
A BUY signal when all bullish conditions are met.
A SELL signal when all bearish conditions are met.
4. Visual Elements on the Chart
Trend MA Line:
A blue line is drawn on your chart showing the moving average from the higher timeframe (if you enable the trend filter). This helps you see the overall direction of the market.
Labels on the Chart:
When a signal is detected, you’ll see:
A BUY label below the candle (green).
A SELL label above the candle (red).
Background Colors:
The chart background might change slightly (green for bullish and red for bearish) to give you a quick visual cue.
Histogram:
At the bottom, there is a histogram that shows +1 for bullish signals, -1 for bearish signals, and 0 when there’s no clear signal.
5. Alerts
Alerts are built into the indicator so you can get a notification when a signal appears. The alert messages are fixed strings, meaning they always say something like “BUY signal on at price .” You can set up these alerts in TradingView to be notified via sound, email, or pop-up.
How to Use and Adjust the Filters
Deciding on Patterns:
You can choose which candlestick patterns you want to detect by toggling the options (e.g., Bullish Engulfing, Hammer, etc.).
Adjusting Adaptive Thresholds:
If you feel that the indicator is too sensitive (or not sensitive enough) during volatile times, adjust the Body Factor, Shadow Factor, and Doji Factor. These change how the indicator recognizes different candle shapes based on market movement.
Volume Filter Settings:
Use Volume Filter:
Turn this on if you want to ignore signals when there’s not enough trading activity.
Adjust the Volume MA Period and Volume Multiplier to change what “normal” volume is for your chart.
Multi-Timeframe Trend Filter Settings:
Choose a higher timeframe (like Daily) to see the bigger picture trend. Select the type of moving average (SMA or EMA) and its period. This filter ensures you only trade in the direction of the overall trend.
ADX & RSI Filters:
ADX:
Adjust the ADX Threshold if you want to change the minimum strength of the trend needed for a signal.
RSI:
Set the RSI Buy Threshold (for oversold conditions) and RSI Sell Threshold (for overbought conditions) to refine when a signal is valid.
Summary
This indicator is like having a smart assistant that not only looks for specific price patterns (candlesticks) but also checks if the overall market conditions are right using several filters. By combining:
Pattern Detection
Adaptive thresholds (based on ATR)
Volume Checks
Multi-Timeframe Trend Analysis
Additional Trend Strength and Overbought/Oversold Indicators (ADX & RSI)
...it helps you decide if it might be a good time to buy or sell. You can customize each part to fit your trading style, and with the built-in alerts, you can be notified when everything lines up.
Feel free to adjust the settings to see how each filter changes the signals on your chart. Experimenting with these will help you learn how the market behaves and how you can best use the indicator for your own strategy!
Donchian +Here is an indicator that builds upon the Donchian Channels. The standard Donchian Channel is calculated as the average of the highest high and the lowest low over a given period. In addition to this, two extra levels are introduced:
The average of the highest high and the Donchian Channel midpoint.
The average of the lowest low and the Donchian Channel midpoint.
This modification provides additional reference levels, which may help identify potential support and resistance zones more effectively.
ADX Meter OverlayThe ADX Meter Overlay is a trend strength visualization tool that colors candles based on the ADX (Average Directional Index). This indicator helps traders easily identify when the market is trending strongly versus when it is weak or ranging.
🔹 How It Works:
✔️ ADX Measures Trend Strength: The ADX does not indicate trend direction—only trend intensity.
✔️ Candle Colors Change Based on ADX:
Green candles = Strong Uptrend (ADX above threshold, bullish momentum).
Red candles = Strong Downtrend (ADX above threshold, bearish momentum).
Blue candles = Weak Uptrend / Choppy Market (ADX below threshold).
Orange candles = Weak Downtrend / Choppy Market (ADX below threshold).
✔️ Alerts when ADX Crosses Above/Below Threshold: Notifies traders when trend conditions change.
📊 Trading Strategy Based on ADX Meter
📌 Best Timeframes:
Scalping: 1M, 5M
Day Trading: 15M, 1H
Swing Trading: 4H, 1D
📌 Best Markets:
Forex, Crypto, Stocks, Commodities
✅ Entry Rules (Buying/Long Trade)
🔹 Look for Green Candles:
ADX above threshold (Strong Trend).
Price making higher highs & higher lows.
Combine with a 50 EMA or 200 EMA for confirmation.
❌ Exit Rules (Closing a Long Trade)
🔹 If ADX drops below threshold (candle turns blue/orange) → Exit or reduce position.
🔹 If price crosses below 50 EMA → Trend is reversing, consider exiting.
📉 Entry Rules (Selling/Short Trade)
🔹 Look for Red Candles:
ADX above threshold (Strong Trend).
Price making lower highs & lower lows.
Combine with a Moving Average or RSI for extra confirmation.
❌ Exit Rules (Closing a Short Trade)
🔹 If ADX drops below threshold (candle turns blue/orange) → Exit or reduce position.
🔹 If price crosses above 50 EMA → Trend reversal likely, exit short.
📌 Why Use the ADX Meter?
✔️ Quickly spot strong trends vs weak/ranging markets.
✔️ Avoid false breakouts & low-momentum trades.
✔️ Works with any trading strategy – Combine with RSI, MACD, or Moving Averages.
🔥 Next Steps:
📌 Add the ADX Meter Overlay to your chart and test it on different assets & timeframes.
Green-Red Candle PatternGreen Candle Followed by Red Candle - where Close on the Green Candle is Equal to the Open on the Red Candle
Red-Green Candle PatternRed Candle - Followed by Green Candle - where close of Red Candle is Equal to the Open of the Green Candle
Nifty Strangle StrategyObjective: Sell a strangle (both a call and a put option) 30 minutes after market opening, and close the position 30 minutes before market close.
Stop Loss: Set a combined stop loss of 50 points on the position.
Entry Time: 30 minutes after the market opens (9:30 AM).
Exit Time: 30 minutes before the market closes (3:00 PM).
Market Sector LabelsA script to add labels to your chart.. for the different sectors to see where money is flowing.. Was reading that all red sectors on Monday implies more market downside and its not just a "sector rotation".
Weekly Engulfing Bullish & Bearish with AlertsWeekly Engulfing Bullish & Bearish with Alerts, Help You To Simply Find Out Potential Entries For Sure Gains. Don't Be Greedy.
Custom 1% or 100 point Move MarkerFeatures:
✅ User chooses between Percentage or Fixed Points
✅ User sets percentage threshold (default: 1%)
✅ User sets fixed point threshold (default: 100 points)
✅ Green Flag → Price moves above the threshold (up only)
✅ Red Flag → Price moves below the threshold (down only)
✅ Blue Flag → Price moves in both directions
100 Point Move MarkerFeatures:
✅ Green Flag when the price moves 100 points up but not down.
✅ Red Flag when the price moves 100 points down but not up.
✅ Blue Flag when the price moves 100 points in both directions within the same day.
AO+AC(easonlao)该指标基于Awesome Oscillator (AO) 和 Accelerator Oscillator (AC) 的计算结果,动态显示AO的颜色和样式,并绘制AC为黄色线条。
AO的显示规则:
当AO和AC都为正时,AO显示为绿色的直方图。
当AO和AC都为负时,AO显示为红色的直方图。
当AO和AC既不都为正也不都为负时,AO显示为灰色的柱状图。
AC的显示规则:
AC始终显示为黄色线条。
This indicator is based on the calculations of the Awesome Oscillator (AO) and the Accelerator Oscillator (AC). It dynamically displays the color and style of AO and plots AC as a yellow line.
AO Display Rules:
When both AO and AC are positive, AO is displayed as a green histogram.
When both AO and AC are negative, AO is displayed as a red histogram.
When neither AO nor AC are both positive or both negative, AO is displayed as gray columns.
AC Display Rules:
AC is always displayed as a yellow line.
CAPE / Shiller PE Ratio - cristianhkrThe Cyclically Adjusted Price-to-Earnings Ratio (CAPE Ratio), also known as the Shiller P/E Ratio, is a long-term valuation measure for stocks. It was developed by Robert Shiller and smooths out earnings fluctuations by using an inflation-adjusted average of the last 10 years of earnings.
This TradingView Pine Script indicator calculates the CAPE Ratio for a specific stock by:
Fetching historical Earnings Per Share (EPS) data using request.earnings().
Adjusting the EPS for inflation by dividing it by the Consumer Price Index (CPI).
Computing the 10-year (40-quarter) moving average of the inflation-adjusted EPS.
Calculating the CAPE Ratio as (Stock Price) / (10-year Average EPS adjusted for inflation).
Plotting the CAPE Ratio on the chart with a reference line at CAPE = 20, a historically significant threshold.
YOYOKE FEBY 2025"YOYOKE FEBY 2025" could be interpreted in different ways depending on the context. However, here’s a general description in English:
"YOYOKE FEBY 2025" likely refers to something happening in February 2025. "YOYOKE" could be a name, a brand, an event, or a theme. If it's related to business or finance, it might indicate a Year-over-Year (YoY) performance for February 2025. If it's an event, it could be something planned for that month.
Mon to Fri + LSE and NYSE📌 Highlight Custom Days & Market Hours Indicator 📌
🔹 Overview:
This script allows traders to visually highlight specific weekdays and market sessions directly on their TradingView charts. With customizable checkboxes, you can choose which days of the week to highlight, along with session times for the New York Stock Exchange (NYSE) and London Stock Exchange (LSE).
🔹 Features:
✅ Select individual weekdays (Monday–Friday) to highlight in blue
✅ Highlight NYSE open hours (2:30 PM – 9:30 PM UK time) in green
✅ Highlight LSE open hours (8:00 AM – 4:30 PM UK time) in orange
✅ Ensures NYSE & LSE sessions are only highlighted on weekdays (no weekends)
✅ Clean and simple visualization for enhanced market awareness
🔹 How to Use:
1️⃣ Add the indicator to your TradingView chart
2️⃣ Use the settings panel to enable/disable specific weekdays
3️⃣ Toggle NYSE or LSE session highlights based on your trading preference
🚀 Perfect for traders who follow institutional sessions and want better time-based confluence in their strategies!
SqrtThis indicator calculates the square roots of swing pivot highs and lows based on a user-defined pivot length. It is designed to be used in conjunction with other scripts that require square root values of pivot points.
MACD + 50 EMA + 1H Engulfing StrategyMACD + 50 EMA + 1H Engulfing Strategy
A trend-following strategy combining daily/weekly MACD and 50 EMA for direction, with 1H engulfing candles and volume spikes for precise entries.
Buy: Daily/Weekly MACD > 0, price > daily 50 EMA, 1H bullish engulfing, volume > 20 EMA.
Sell: Daily/Weekly MACD < 0, price < daily 50 EMA, 1H bearish engulfing, volume > 20 EMA.
Works on XAU/USD, forex pairs, and indices. Best on 1H charts—green triangles for buy, red for sell.