MA Ribbon Grid 2-20 multi TFA powerful indicator for building a grid of moving averages with different parameters and timeframe. The settings are intuitive, so I don't see the point in writing more
... most likely, this script will be deleted by the moderators, so if you want to use it, then save the pine-code for yourself.
Medie mobili
qudranEntry and Exit Logic – BUY, SELL, SHORT, COVER signals.
Filters – Trend confirmation, confirmation candle, one trade at a time.
Recommended Timeframes – M15, M30, or H1 for XAUUSD.
Bar Color - Moving Average Convergence Divergence [nsen]The Pine Script you've provided creates a custom indicator that utilizes the MACD (Moving Average Convergence Divergence) and displays various outputs, such as bar color changes based on MACD signals, and a table of data from multiple timeframes. Here's a breakdown of how the script works:
1. Basic Settings (Input)
• The script defines several user-configurable parameters, such as the MACD values, bar colors, the length of the EMA (Exponential Moving Average) periods, and signal smoothing.
• Users can also choose timeframes to analyze the MACD values, like 5 minutes, 15 minutes, 1 hour, 4 hours, and 1 day.
2. MACD Calculation
• It uses the EMA of the close price to calculate the MACD value, with fast_length and slow_length representing the fast and slow periods. The signal_length is used to calculate the Signal Line.
• The MACD value is the difference between the fast and slow EMA, and the Signal Line is the EMA of the MACD.
• The Histogram is the difference between the MACD and the Signal Line.
3. Plotting the Histogram
• The Histogram values are plotted with colors that change based on the value. If the Histogram is positive (rising), it is colored differently than if it's negative (falling). The colors are determined by the user inputs, for example, green for bullish (positive) signals and red for bearish (negative) signals.
4. Bar Coloring
• The bar color changes based on the MACD's bullish or bearish signal. If the MACD is bullish (MACD > Signal), the bar color will change to the color defined for bullish signals, and if it's bearish (MACD < Signal), the bar color will change to the color defined for bearish signals.
5. Multi-Timeframe Data Table
• The script includes a table displaying the MACD trend for different timeframes (e.g., 5m, 15m, 1h, 4h, 1d).
• Each timeframe will show a colored indicator: green (🟩) for bullish and red (🟥) for bearish, with the background color changing based on the trend.
6. Alerts
• The script has alert conditions to notify the user when the MACD shows a bullish or bearish entry:
• Bullish Entry: When the MACD turns bullish (crosses above the Signal Line).
• Bearish Entry: When the MACD turns bearish (crosses below the Signal Line).
• Alerts are triggered with custom messages such as "🟩 MACD Bullish Entry" and "🟥 MACD Bearish Entry."
Key Features:
• Customizable Inputs: Users can adjust the MACD settings, histogram colors, and timeframe options.
• Visual Feedback: The color changes of the histogram and bars provide instant visual cues for bullish or bearish trends.
• Multi-Timeframe Analysis: The table shows the MACD trend across multiple timeframes, helping traders monitor trends in different timeframes.
• Alert Conditions: Alerts notify users when key MACD crossovers occur.
VWAP with EMA 9 and 21Below is a description for the Pine Script indicator that combines VWAP (Volume Weighted Average Price) with EMA 9 and EMA 21, designed for use on TradingView as a single indicator. This description is concise, clear, and suitable for adding to the script itself or sharing with others to explain its purpose and functionality.
Description for "VWAP with EMA 9 and 21" Indicator
"This custom indicator combines three popular technical analysis tools—VWAP (Volume Weighted Average Price), 9-period EMA (Exponential Moving Average), and 21-period EMA—into a single, efficient overlay for TradingView charts. Designed to work within the free plan's limit of 3 indicators, this script plots all three lines as one indicator, saving chart slots for additional tools.
VWAP: Displays the daily Volume Weighted Average Price (blue line), calculated using the typical price (HLC3), resetting at the start of each trading day. It reflects the average price weighted
Scalping XAUUSD with Alerts By FahrizalScalping XAUUSD with Alerts By Fahrizal
Overview
Welcome to "Scalping XAUUSD with Alerts," a fast-paced trading strategy crafted for XAUUSD (Gold vs. USD) enthusiasts! Designed by Fahrizal, this strategy leverages short-term price movements, making it perfect for scalpers who thrive on quick trades and tight risk management. Built with precision and adaptability, it combines EMA crossovers, RSI confirmation, and dynamic ATR-based exits to optimize your gold scalping experience.
How It Works
Entry Signals:
Buy: 5-period EMA crosses above 15-period EMA, with RSI > 50 for momentum confirmation.
Sell: 5-period EMA crosses below 15-period EMA, with RSI < 50.
Dynamic Exits:
Stop Loss (SL): 1x ATR for controlled risk.
Take Profit 1 (TP1): 1.5x ATR, closing 50% of the position.
Take Profit 2 (TP2): 3x ATR, closing the remaining 50%.
Visuals & Alerts:
Signals are marked with green (buy) and red (sell) triangles on the chart.
SL, TP1, and TP2 levels are displayed via labels for real-time tracking.
Simple alerts notify you of new buy/sell signals—check the chart for details.
Recommended Settings
Symbol: XAUUSD
Timeframe: M5 (5-minute) for optimal scalping, though M1 or M15 can be tested.
Best Sessions: High-volatility periods like London-New York overlap (e.g., 2:00 PM - 6:00 PM EST).
Customization
Adjust the ATR multipliers in the inputs:
SL Multiplier: Default 1.0 (e.g., 5 pips at ATR 0.5).
TP1 Multiplier: Default 1.5 (e.g., 7.5 pips at ATR 0.5).
TP2 Multiplier: Default 3.0 (e.g., 15 pips at ATR 0.5). Tweak these to suit your risk-reward preferences!
Why Use This Strategy?
Perfect for scalpers seeking fast entries and exits.
ATR-based exits adapt to market volatility, balancing risk and reward.
Clear visuals and alerts keep you in the loop without constant monitoring.
Tips for Success
Backtest on historical XAUUSD data to fine-tune performance.
Watch out for spreads—ensure your broker’s costs align with the tight TP levels.
Trade during volatile sessions for bigger ATR values and better pip potential.
Final Words
This strategy is my take on scalping gold with efficiency and clarity. Whether you're a beginner or a seasoned trader, I hope it brings you profitable trades and a smooth experience. Feel free to share feedback or suggestions—happy trading!
3x Supertrend + EMA200 Signal Buy/Sell [nsen]The indicator uses signals from three Supertrend lines to determine whether to trade Buy or Sell, with the assistance of a moving average for bias.
Buy/Sell signals are generated when the conditions are met:
A Buy signal is triggered when all three Supertrend lines indicate a bullish trend and are above the EMA.
A Sell signal is triggered when all three Supertrend lines indicate a bearish trend and are below the EMA.
Indicator ใช้สัญญาณจาก Supertrend ทั้งหมด 3 เส้น โดยใช้ในการกำหนดว่าจะเลือกเทรด Buy หรือ Sell โดยการใช้ moveing average เข้ามาช่วยในการ bias
แสดงสัญญาณ Buy/Sell เมื่อเข้าเงื่อนไข
- Supertrend ทั้ง 3 เส้นเป็นสัญญาณ Bullish และอยู่เหนือเส้น EMA จะเปิดสัญญาณ Buy
- Supertrend ทั้ง 3 เส้นเป็นสัญญาณ Bearish และอยู่ใต้เส้น EMA จะเปิดสัญญาณ Sell
Pivot Points Standard with time frame 4 hourPivot Points Standard Indicator
This indicator calculates and displays Pivot Points using various calculation methods such as Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla. It allows traders to analyze key support (S1, S2, S3, etc.) and resistance (R1, R2, R3, etc.) levels based on historical price data.
Key Features:
✔️ Multiple Pivot Calculation Methods
✔️ Customizable Timeframes (Auto, Daily, 4H, Weekly, etc.)
✔️ Adjustable Pivot Levels and Line Colors
✔️ Option to Show/Hide Labels and Prices
✔️ Works on Any Timeframe
This tool is great for identifying potential reversal zones, breakout areas, and market trends. Perfect for day traders and swing traders looking to enhance their market analysis!
FIXED EMA+Ichimoku5 fixed ema and ichimoku cloud
with option to changing ema from fixed daily to flexible.
give dailly ema in all timeframes.
STOCKS TO BUY by STOCKMAN Simple yet very effective, price crossed above SMA 8 and SMA20, same time RSI greater than 60
Multi-Timeframe VWAP DashboardMulti-Timeframe VWAP Dashboard with Advanced Customization**
Unlock the power of **Volume-Weighted Average Price (VWAP)** across multiple timeframes with this highly customizable and feature-rich Pine Script. Designed for traders who demand precision and flexibility, this script provides a **comprehensive VWAP dashboard** that adapts to your trading style and strategy. Whether you're a day trader, swing trader, or long-term investor, this tool offers unparalleled insights into market trends and price levels.
---
### **Key Features:**
1. **Multi-Timeframe VWAP Calculation:**
- Calculate VWAP across **12-minute, 48-minute, 96-minute, 192-minute, daily, weekly, monthly, and even yearly timeframes**.
- Supports **custom timeframes** for tailored analysis.
2. **Price Source Selection:**
- Choose from multiple price sources for VWAP calculation, including **Open, High, Low, Close, HL2, HLC3, HLCC4, and All**.
- Optimize VWAP for **uptrends and downtrends** by selecting the most relevant price source.
3. **Customizable Labels:**
- Add **dynamic labels** to each VWAP line for quick reference.
- Customize label **colors, sizes, and offsets** to suit your chart setup.
- Display **price values** and **session types** (e.g., "12 Min", "Daily", "Weekly") directly on the chart.
4. **Advanced Session Detection:**
- Automatically detect new sessions for **intraday, daily, weekly, monthly, and yearly timeframes**.
- Ensures accurate VWAP calculations for each session.
5. **Plot Visibility Control:**
- Toggle the visibility of individual VWAP plots to **reduce clutter** and focus on the most relevant timeframes.
- Includes options for **short-term, medium-term, and long-term VWAPs**.
6. **Comprehensive Timeframe Coverage:**
- From **12-minute intervals** to **12-month intervals**, this script covers all major timeframes.
- Perfect for traders who analyze markets across multiple horizons.
7. **User-Friendly Inputs:**
- Intuitive input options for **timeframes, colors, labels, and offsets**.
- Easily customize the script to match your trading preferences.
8. **Dynamic Label Positioning:**
- Labels adjust automatically based on price movements and session changes.
- Choose from **multiple offset options** to position labels precisely.
9. **Miscellaneous Customization:**
- Adjust **text color, label size, and price display settings**.
- Enable or disable **price values** and **session type labels** for a cleaner chart.
---
### **Why Use This Script?**
- **Versatility:** Suitable for all trading styles, including scalping, day trading, swing trading, and long-term investing.
- **Precision:** Accurate VWAP calculations across multiple timeframes ensure you never miss key price levels.
- **Customization:** Tailor the script to your specific needs with a wide range of input options.
- **Clarity:** Dynamic labels and customizable plots make it easy to interpret market trends at a glance.
---
### **How It Works:**
1. **Select Your Price Source:**
- Choose the price source (e.g., Open, Close, HL2) for VWAP calculation based on your trading strategy.
2. **Choose Timeframes:**
- Define the timeframes for VWAP calculation, from intraday to yearly intervals.
3. **Customize Labels and Plots:**
- Enable or disable labels and plots for each timeframe.
- Adjust colors, sizes, and offsets to match your chart setup.
4. **Analyze Market Trends:**
- Use the VWAP lines and labels to identify **support/resistance levels**, **trend direction**, and **potential reversal points**.
5. **Adapt to Market Conditions:**
- Switch between timeframes and price sources to adapt to changing market conditions.
---
### **Ideal For:**
- **Day Traders:** Use short-term VWAPs (e.g., 12-minute, 48-minute) to identify intraday trends and key levels.
- **Swing Traders:** Leverage medium-term VWAPs (e.g., 96-minute, daily) to spot swing opportunities.
- **Long-Term Investors:** Analyze long-term VWAPs (e.g., weekly, monthly) to gauge overall market direction.
---
### **How to Get Started:**
1. Add the script to your TradingView chart.
2. Customize the inputs to match your trading preferences.
3. Analyze the VWAP lines and labels to make informed trading decisions.
---
### **Pro Tip:**
Combine this script with other technical indicators (e.g., moving averages, RSI) for a **holistic view** of the market. Use the VWAP lines as dynamic support/resistance levels to enhance your entry and exit strategies.
This script is a must-have tool for traders who value precision, flexibility, and clarity. Share it with your audience to help them elevate their trading game. Whether they're beginners or seasoned professionals, this **Multi-Timeframe VWAP Dashboard** will become an essential part of their toolkit.
RSI & EMA Crossover Strategy appThis sqript will check if RSI(14) cross above 50 and price is above 21 period EMA then "Buy". If RSI(14) cross below 50 and price is below 21 period EMA then "Sell"
MA with Difference GROK3What This Indicator Does
This indicator enhances a simple moving average (SMA) with two key features:
Color-Changing Moving Average:
The moving average line changes color based on whether the current closing price is above or below it.
Green: Price is above the MA (potential bullish signal).
Red: Price is below the MA (potential bearish signal).
Dynamic Percentage Difference Label:
A label appears on the chart near the MA on the last bar, showing the percentage difference between the current closing price and the MA.
Positive percentage (e.g., "Diff: 2.34%"): Price is above the MA.
Negative percentage (e.g., "Diff: -1.87%"): Price is below the MA.
Follow The Line Indicator v1.2// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © DeeKay677
// DISCLAIMER:
// This script is for informational and educational purposes only. It should not be considered financial advice, trading advice, or an endorsement of any particular trading strategy.
// Trading involves significant risk, and past performance is not indicative of future results.
// The author of this script assumes no responsibility for any trading losses or financial decisions made using this script.
// Users should conduct their own research, consult a professional financial advisor, and use proper risk management before making any investment decisions.
// By using this script, you acknowledge and agree that the author is not liable for any damages, losses, or consequences resulting from its use.
Follow Line Indicator// Follow The Line
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © DeeKay677
// Originalay found at usethinkscript.com
// Originally authors: Converted to ToS from TV by bigboss. Original © Dreadblitz
// DISCLAIMER:
// This script is for informational and educational purposes only. It should not be considered financial advice, trading advice, or an endorsement of any particular trading strategy.
// Trading involves significant risk, and past performance is not indicative of future results.
// The author of this script assumes no responsibility for any trading losses or financial decisions made using this script.
// Users should conduct their own research, consult a professional financial advisor, and use proper risk management before making any investment decisions.
// By using this script, you acknowledge and agree that the author is not liable for any damages, losses, or consequences resulting from its use.
[GYTS] Filters ToolkitFilters Toolkit indicator
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- 1. INTRODUCTION --------- 🌸
💮 Overview
The GYTS Filters Toolkit indicator is an advanced, interactive interface built atop the high‐performance, curated functions provided by the FiltersToolkit library . It allows traders to experiment with different combinations of filtering methods -— from smoothing low-pass filters to aggressive detrenders. With this toolkit, you can build custom indicators tailored to your specific trading strategy, whether you're looking for trend following, mean reversion, or cycle identification approaches.
🌸 --------- 2. FILTER METHODS AND TYPES --------- 🌸
💮 Filter categories
The available filters fall into four main categories, each marked with a distinct symbol:
🌗 Low Pass Filters (Smoothers)
These filters attenuate high-frequency components (noise) while allowing low-frequency components (trends) to pass through. Examples include:
Ultimate Smoother
Super Smoother (2-pole and 3-pole variants)
MESA Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA)
BiQuad Low Pass Filter
ADXvma (Adaptive Directional Volatility Moving Average)
A2RMA (Adaptive Autonomous Recursive Moving Average)
Low pass filters are displayed on the price chart by default, as they follow the overall price movement. If they are combined with a high-pass or bandpass filter, they will be displayed in the subgraph.
🌓 High Pass Filters (Detrenders)
These filters do the opposite of low pass filters - they remove low-frequency components (trends) while allowing high-frequency components to pass through. Examples include:
Butterworth High Pass Filter
BiQuad High Pass Filter
High pass filters are displayed as oscillators in the subgraph below the price chart, as they fluctuate around a zero line.
🌑 Band Pass Filters (Cycle Isolators)
These filters combine aspects of both low and high pass filters, isolating specific frequency ranges while attenuating both higher and lower frequencies. Examples include:
Ehlers Bandpass Filter
Cyber Cycle
Relative Vigor Index (RVI)
BiQuad Bandpass Filter
Band pass filters are also displayed as oscillators in a separate panel.
🔮 Predictive Filter
Voss Predictive Filter: A special filter that attempts to predict future values of band-limited signals (only to be used as post-filter). Keep its prediction horizon short (1–3 bars) for reasonable accuracy.
Note that the the library contains elaborate documentation and source material of each filter.
🌸 --------- 3. INDICATOR FEATURES --------- 🌸
💮 Multi-filter configuration
One of the most powerful aspects of this indicator is the ability to configure multiple filters. compare them and observe their combined effects. There are four primary filters, each with its own parameter settings.
💮 Post-filtering
Process a filter’s output through an additional filter by enabling the post-filter option. This creates a filter chain where the output of one filter becomes the input to another. Some powerful combinations include:
Ultimate Smoother → MAMA: Creates an adaptive smoothing effect that responds well to market changes, good for trend-following strategies
Butterworth → Super Smoother → Butterworth: Produces a well-behaved oscillator with minimal phase distortion, John Ehlers also calls a "roofing filter". Great for identifying overbought/oversold conditions with minimal lag.
A bandpass filter → Voss Prediction filter: Attempts to predict future movements of cyclical components, handy to find peaks and troughs of the market cycle.
💮 Aggregate filters
Arguably the coolest feature: aggregating filters allow you to combine multiple filters with different weights. Important notes about aggregation:
You can only aggregate filters that appear on the same chart (price chart or oscillator panel).
The weights are automatically normalised, so only their relative values matter
Setting a weight to 0 (zero) excludes that filter from the aggregation
Filters don't need to be visibly displayed to be included in aggregation
💮 Rich visualisation & alerts
The indicator intelligently determines whether a filter is displayed on the price chart or in the subgraph (as an oscillator) based on its characteristics.
Dynamic colour palettes, adjustable line widths, transparency, and custom fill between any of enabled filters or between oscillators and the zero-line.
A clear legend showing which filters are active and how they're configured
Alerts for direction changes and crossovers of all filters
🌸 --------- 4. ACKNOWLEDGEMENTS --------- 🌸
This toolkit builds on the work of numerous pioneers in technical analysis and digital signal processing:
John Ehlers, whose groundbreaking research forms the foundation of many filters.
Robert Bristow-Johnson for the BiQuad filter formulations.
The TradingView community, especially @The_Peaceful_Lizard, @alexgrover, and others mentioned in the code of the library.
Everyone who has provided feedback, testing and support!
Multi-Timeframe EMAsMulti 200EMAs displayed on any timeframe. You can configure them in the settings
Full Logic (Indicator)Hey Guys, After about 20 Hours of tweaking and using AI assistance with Coding Nomenclature, I have transferred over my personal Strategy into a Indicator. I have only used this on NQ and Crude Oil. Had the system back test this strategy and it was profitable. Now my recommendation is to use this on the 5 Min, during Volatility. THIS IS FOR TREND TRADERS. For super scalping, refer to my other indicator. I promise you this will make life much easier. If you want one home run or two decent 10 candle trades, use this indicator.
Trend Showing SMA (10D, 21D, 30W, 50D)//@version=6
indicator("Trend Showing SMA (10D, 21D, 10W, 30W, 50D)", overlay=true)
// Define Moving Average Periods
sma10d_length = 10
sma21d_length = 21
sma30w_length = 30
sma50d_length = 50
// Calculate Daily SMAs
sma10d = ta.sma(close, sma10d_length) // 10-day SMA
sma21d = ta.sma(close, sma21d_length) // 21-day SMA
sma50d = ta.sma(close, sma50d_length) // 50-day SMA
// Calculate Weekly SMAs (Using Weekly Data)
sma30w = request.security(syminfo.tickerid, 'W', ta.sma(close, sma30w_length)) // 30-week SMA
// Plot the Moving Averages
plot(sma10d, linewidth=2, color=color.blue, title="10-Day SMA")
plot(sma21d, linewidth=2, color=color.white, title="21-Day SMA")
plot(sma50d, linewidth=1, color=color.orange, title="50-Day SMA")
plot(sma30w, linewidth=2, color=color.green, title="30-Week SMA")
Dot indicator (UC)UCs dot indicator.
Overall Utility
This indicator is ideal for traders seeking a layered approach to technical analysis. It fuses a sophisticated multi-stock momentum signal with intuitive visual elements, enabling you to monitor market dynamics at a glance while maintaining the flexibility to adjust parameters for your trading strategy.
Custom Moving Averages//@version=6
indicator(title="Custom Moving Averages", overlay=true)
// Daily Moving Averages
ma10d = ta.sma(close, 10) // 10-day moving average
ma21d = ta.sma(close, 21) // 21-day moving average
// Weekly Moving Averages (Assuming 5 trading days per week)
ma10w = ta.sma(close, 50) // 10-week moving average (10 * 5)
ma30w = ta.sma(close, 150) // 30-week moving average (30 * 5)
// Plot the Moving Averages
plot(ma10d, color=color.blue, title="10-Day MA", linewidth=2)
plot(ma21d, color=color.green, title="21-Day MA", linewidth=2)
plot(ma10w, color=color.red, title="10-Week MA", linewidth=2)
plot(ma30w, color=color.orange, title="30-Week MA", linewidth=2)
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