Multi-Timeframe Optimized MACD [ClémentCrypto]An optimized MACD with specific parameters for each timeframe, based on extensive market analysis.
Key Features:
• Optimized presets for 1H, 4H, 1D, 1W, 2W
• Customizable mode with adjustable parameters
• Clear visual signals with modern color scheme
• Trading options: Long Only, Short Only, Both Directions
• Integrated alert system for each timeframe
• User-friendly interface with dashboard
Optimized Parameters by Timeframe:
1H: 11/38/27
4H: 9/98/27
1D: 45/90/29
1W: 9/16/3
2W: 5/20/5
🎯 Recommended Usage:
• Select your preferred timeframe
• Choose your trading direction
• Enable alerts according to your needs
• Monitor MACD/Signal crossovers
⚠️ Note: This indicator should be used with other analysis tools for better results.
Happy Trading! 📈
מתנדים ממורכזים
TEMA OBOS Strategy 【Pakun】📌 Overview
The TEMA + OBOS Strategy is an advanced trading strategy that combines the Triple Exponential Moving Average (TEMA) for trend-following and the Overbought/Oversold (OBOS) indicator for trade filtering.
This strategy leverages TEMA crossovers to identify trends and applies OBOS as a filter to improve entry precision.
💡 Main Objectives
Clearly determine trend direction (using TEMA)
Filter out overbought and oversold conditions (using OBOS)
Implement dynamic risk management (using ATR-based TP/SL)
This strategy is suitable for a wide range of markets, including Forex, stocks, and cryptocurrencies, and is best applied on mid-timeframes such as 15-minute to 1-hour charts.
📌 Key Features
🔹 Trend Analysis with TEMA (Triple EMA)
Generates entry signals based on ema3 and ema4 crossovers
Uses ema4 as the primary trend filter
🔹 Entry Optimization with OBOS (Overbought/Oversold Indicator)
up > down → Buy entry, up < down → Sell entry
Filters out excessive buying and selling conditions to improve accuracy
🔹 Take Profit & Stop Loss Based on ATR
ATR (Average True Range) multiplier is adjustable
Fully customizable TP/SL settings (default: TP = ATR × 2, SL = ATR × 1.5)
🔹 Customizable Parameters
TEMA Length (TEMA calculation period)
OBOS Length (OBOS calculation period)
Take Profit Multiplier (TP ratio)
Stop Loss Multiplier (SL ratio)
Show EMA? (Enable/disable TEMA lines)
Barcolor? (Enable/disable candlestick coloring)
📌 Trading Parameters
This strategy follows these trading rules:
✅ Long Entry (Buy)
ema3 crosses above ema4 (Golden Cross)
OBOS indicator confirms up > down (uptrend confirmation)
A long position is executed
✅ Short Entry (Sell)
ema3 crosses below ema4 (Death Cross)
OBOS indicator confirms up < down (downtrend confirmation)
A short position is executed
✅ Take Profit (TP)
Profit is taken when the price reaches Entry Price + ATR × TP multiplier (default: 2.0)
✅ Stop Loss (SL)
Loss is cut when the price reaches Entry Price - ATR × SL multiplier (default: 1.5)
📌 TP/SL values are fully customizable, allowing traders to fine-tune risk management.
📌 Risk Management Parameters
This strategy emphasizes flexible position sizing and risk control:
💰 Account Size: $7000
📉 Commissions & Slippage: Assumes 0-94 pips commission and 1 pip slippage
⚖️ Order Size: 10% of equity (adjustable as needed)
These settings help balance risk and reward while protecting capital.
📌 Visual Aids for Clarity
This strategy provides clear visual cues on the chart:
📊 TEMA Lines (3 EMA Levels)
Color change (Blue/Orange) indicates trend direction
ema3 (short-term) and ema4 (long-term) crossover signals
📉 OBOS Histogram
Green → Bullish pressure
Red → Bearish pressure
Blue → Potential trend shift
🔹 Entry & Exit Markers
🔼 Long Entry (Blue arrow)
🔽 Short Entry (Red arrow)
✅ Take Profit / Stop Loss Levels
📌 Originality & Enhancements
This strategy is based on the indicators " l_lonthoff " and " jdmonto0 ", with several improvements and enhancements.
While utilizing the core concepts of these indicators, we have optimized entry accuracy, improved visual clarity, and enhanced risk management features.
📌 Improvements & Upgrades
✅ Enhanced Trend Identification with TEMA (Triple EMA)
Uses ema3 (short-term) and ema4 (long-term) to detect trend shifts earlier
Reduces false signals and enables better trend-following trades
✅ Improved Filtering with OBOS (Overbought/Oversold Indicator)
Inspired by "jdmonto0", this feature filters overbought/oversold conditions for smarter trade entries
Reduces unnecessary trades and minimizes risk exposure
✅ Dynamic Risk Management with ATR (Average True Range)
Uses volatility-adjusted TP/SL levels instead of fixed values
Fully customizable ATR-based TP/SL multipliers (Default: TP = ATR × 2, SL = ATR × 1.5)
✅ Visual Enhancements for Clarity
TEMA lines change color dynamically to indicate trend direction
OBOS histogram provides an intuitive view of buying and selling pressure
Entry & exit markers make trades easy to track on the chart
📌 Summary
📌 TEMA + OBOS Strategy combines trend analysis and oscillators to create a powerful yet simple trading system:
Identifies trend direction using TEMA (Triple EMA)
Filters out noise and overbought/oversold conditions using OBOS
Applies ATR-based TP/SL settings for dynamic risk management
💡 Recommended for:
✅ Traders who prefer trend-following strategies
✅ Those who want a systematic, rules-based trading approach
✅ Users looking for a customizable strategy with strong risk management
📌 Try it out and backtest the results! 🚀
💡 How to Upload to TradingView
Paste this description in the Pine Script editor's "Strategy Description" field
Save and publish the script
Ensure that the "Description" field is filled with this content
Share it with the TradingView community!
📌 This strategy provides a structured, risk-managed approach to trading. Try it out and see how it performs! 🔥
Squeeze Momentum Indicator with Entry Tactics### **Squeeze Momentum Indicator with Stacked EMAs**
#### **Description:**
This indicator is an enhanced version of the **Squeeze Momentum Indicator** (originally by John Carter and later modified by LazyBear). It identifies **periods of consolidation (squeeze)** and signals potential **explosive price moves** when momentum shifts. The added **stacked EMA concept** further refines entry signals by confirming trend strength. This is also an update to version 6 of PineScript
#### **How to Use:**
The indicator provides **three different entry tactics**, allowing traders to choose signals based on their strategy:
1. **Inside Day Pattern** – Detects inside candles, which indicate potential breakouts when volatility contracts.
2. **Consecutive Black Crosses (Squeeze Signal)** – A certain number of black crosses (low volatility periods) suggests a strong move is coming.
3. **Stacked EMA Concept** – When the **8 EMA > 21 EMA > 34 EMA**, combined with a momentum shift from negative to positive, it signals a **high-probability bullish entry**.
#### **Visual Cues:**
- **Histogram Bars**: Show momentum (green for increasing bullish, red for increasing bearish).
- **Black & Gray Dots**: Represent different squeeze states (low volatility vs. breakout conditions).
- **🔥 Bullish Label**: Appears when the stacked EMAs align and momentum shifts from negative to positive.
#### **Best Practices:**
- Look for **momentum shifts during a squeeze** for high-probability trades.
- Use **stacked EMAs as trend confirmation** before entering.
- Combine with **price action and volume analysis** for additional confluence.
This indicator helps traders **anticipate major price moves** rather than react, making it a powerful tool for trend-following and breakout strategies. 🚀
Bar Color - Moving Average Convergence Divergence [nsen]This indicator is a standard Moving Average Convergence Divergence (MACD) that changes the candle colors on the chart according to the Histogram.
- You can enable or disable the candle color display on the chart.
- A green Histogram indicates a Bullish Trend, and the candles on the chart will be green.
- A red Histogram indicates a Bearish Trend, and the candles on the chart will be red.
-----------------------------------------------------
indicator นี้เป็น Moving Average Convergence Divergence (MACD) ค่ามาตราฐาน ที่จะเปลี่ยนสีแท่งเทียนบนชาร์ตตาม Histogram
- สามารถเปิดหรือปิดการแสดงสีแท่งเทียนบนชาร์ตได้
- Histogram เป็นสีเขียว บ่งบอกถึง Bullish Trend แท่งเทียนบนชาร์ตจะเป็น สีเขียว
- Histogram เป็นสีแดง บ่งบอกถึง Bearish Trend แท่งเทียนบนชาร์ตจะเป็น สีแดง
1 IndicatorOne indicator with my favourite indicators to save slots for other indicators. Features a set of individually configurable moving averages which will be displayed depending on the current charts timeframe. It will optionally also plot VWAP and Bollinger Bands on intraday charts. Additionally on intraday charts a table with float and market cap can be displayed. This table will also show if price is close to a set of moving averages, macd, rsi and relativ volume.
TL;DR
dynamically plots movering average with different configuration depending on the current timeframe (intraday, daily, weekly)
plots bollinger bands and vwap on intraday charts
info table on intraday timeframes with float and market cap
NUBA 20 Nes2tilson t3 rsı ema50 - 200 Bu algoritma da her türlü çeşit var. tablodan özellikleri açıp kapatabilirsiniz.
MACD Crossover StrategyConcept:
Uses the MACD line (12 EMA - 26 EMA) and Signal line (9 EMA of MACD).
A bullish signal occurs when MACD crosses above the Signal line.
A bearish signal occurs when MACD crosses below the Signal line.
Bosi - Weekly LinesThis indicator shows the high and low of the previous week as well as the opening price.
It also marks the region of the week to come, with 2 vertical lines.
It is an indicator to facilitate and save time in graphing and to help with possible targets.
PWL
PWH
WOP
Z Score BlackZ-score bbut with better looking black color imo
Values are different because I choose source Open for original Z score and on my black one is source Closed. I don't know how to change that picture so you have to deal with it.
I works exactly the same as original.
All credit to original Creator: www.tradingview.com
Link to original Z score:
What Is Z-Score?
Z-score is a statistical measurement that describes a value's relationship to the mean of a group of values. Z-score is measured in terms of standard deviations from the mean. If a Z-score is 0, it indicates that the data point's score is identical to the mean score. A Z-score of 1.0 would indicate a value that is one standard deviation from the mean. Z-scores may be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean.
Multi timeframe RSIMulti-Timeframe RSI Indicator
This indicator displays the Relative Strength Index (RSI) from multiple timeframes—1 minute, 5 minutes, 15 minutes, and 30 minutes—on a single chart. Designed for intraday scalpers and short-term traders, it provides a comprehensive view of momentum across different timeframes, helping traders make more informed decisions.
✨ Why Use This Indicator?
✔ Enhanced Confirmation – Identify trends and momentum shifts with RSI signals from multiple timeframes.
✔ Perfect for Scalping & Intraday Trading – Quickly spot overbought/oversold conditions across different timeframes.
✔ Multi-Timeframe Confluence – Align entries and exits with stronger confirmation by analyzing RSI across short-term charts.
✔ Customizable & Easy to Use – Adjust RSI settings to suit your trading style.
This is a must-have tool for traders looking to refine their entries and exits with a multi-timeframe perspective! 🚀
Multi-Indicator Adaptive Oscillator
It combines three common technical indicators (RSI, Stochastic, and MACD) into a single custom oscillator that helps identify overbought and oversold conditions in a financial market.
The indicator offers customization through various input parameters including length periods, smoothing values, and the ability to adjust weights for each component indicator.
Key features include:
Dynamic overbought/oversold levels that adapt to market conditions
Multiple filters (trend, volume, and divergence) to reduce false signals
Confirmation requirements to ensure signal persistence
Cooldown periods to prevent signal clustering
Visual elements including background shading, crossover dots, and fills between the oscillator and threshold lines
The visualization includes a purple line for the oscillator, red lines for overbought levels, green lines for oversold levels, and appropriate background shading.
Alert conditions are defined for confirmed overbought and oversold conditions, allowing traders to receive notifications when these events occur.
This indicator aims to provide more reliable trading signals by combining multiple technical approaches and adding validation filters to reduce false positives.
"
SUPER Indicator
SUPER Indicator Breakdown
SUPER Indicator combines multiple trend and momentum indicators to generate buy/sell signals, trend zones, stop-loss suggestions, and volume confirmations. Here’s how it works:
1️⃣ Core Components
The script is designed for trend-following and breakout strategies, utilizing:
• Moving Averages:
• Fast EMA (9) → Captures short-term trends.
• Slow EMA (21) → Identifies broader trends.
• VWAP → Acts as an institutional price benchmark.
• Momentum Indicators:
• MACD Line → Difference between the 12 EMA & 26 EMA (trend momentum).
• RSI (14) → Identifies overbought (>50) or oversold (<50) conditions.
• Volume Analysis:
• Uses Simple Moving Average (SMA) on volume to confirm breakout moves.
2️⃣ Buy & Sell Conditions
The indicator generates buy and sell signals based on:
✅ Buy Condition (Bullish Setup)
• Fast EMA crosses above Slow EMA.
• MACD Line is positive (uptrend momentum).
• RSI is above 50 (bullish sentiment).
❌ Sell Condition (Bearish Setup)
• Fast EMA crosses below Slow EMA.
• MACD Line is negative (downtrend momentum).
• RSI is below 50 (bearish sentiment).
Visualization:
• Green Buy Markers → Appear above candles.
• Red Sell Markers → Appear below candles.
3️⃣ Stop-Loss & Target Levels
To help manage trades, the script automatically calculates ATR-based stop-loss levels:
• Long Stop → Close - (ATR * ATR Multiplier)
• Short Stop → Close + (ATR * ATR Multiplier)
• Profit Target → Close + (ATR * ATR Multiplier * 1.5)
ATR helps adjust stops dynamically based on market volatility.
Visualization:
• Gray Lines → ATR-based stop-losses.
• Green Line → Suggested profit target.
4️⃣ Trend Strength Zones
The script highlights background colors to indicate trend strength:
• Green Zone → Strong uptrend.
• Red Zone → Strong downtrend.
• No Highlight → Neutral market conditions.
5️⃣ Volume Confirmation
The script confirms validity of buy/sell signals using volume:
• Bar Color Turns Green → If trend is bullish & volume > 20 SMA.
• Bar Color Turns Red → If trend is bearish & volume > 20 SMA.
This ensures higher-probability signals by confirming breakout volume.
✅ Pros:
• Dynamic trend detection and momentum filtering.
• ATR-based risk management (adaptive stops/targets).
• Uses volume confirmation to avoid false breakouts.
• Simple yet powerful → Works for day & swing trading.
Normalized RSI Oscillator with DivergencesNormalized RSI with Divergences {A Next-Level Trading Tool}
The Normalized RSI with Divergences indicator is a powerful and innovative tool designed to enhance your trading precision. By normalizing the Relative Strength Index (RSI) and detecting divergences between the standard and normalized RSI, this script helps traders identify potential trend reversals and continuations with remarkable clarity.
Key Features
🔹 Advanced RSI Normalization
• Transforms the traditional RSI into a normalized range of , making overbought and oversold conditions more intuitive.
• Utilizes a dynamic lookback period to adapt to market conditions.
🔹 Divergence Detection for Smarter Trading
• Identifies Bullish, Hidden Bullish, Bearish, and Hidden Bearish divergences by analyzing RSI pivot points.
• Provides early signals of trend reversals and continuations for better trade execution.
🔹 Clear & Visual Trade Signals
• Divergences are automatically labeled on the chart:
o Bullish Divergence: 🟢 “Bull” (Green) – Possible upward reversal.
o Hidden Bullish Divergence: 🟢 “Hid.” (Lime) – Continuation of an uptrend.
o Bearish Divergence: 🔴 “Bear” (Red) – Possible downward reversal.
o Hidden Bearish Divergence: 🟠 “Hid.” (Orange) – Continuation of a downtrend.
🔹 Fully Customizable Inputs
• Adjust RSI period, normalization lookback, and divergence parameters to fit your strategy.
• Tailor the indicator to your preferred trading style and market conditions.
________________________________________
How It Works
🔹 RSI Normalization Formula:
Norm=2×(RSI−MinMax−Min)−1\text{Norm} = 2 \times \left(\frac{\text{RSI} - \text{Min}}{\text{Max} - \text{Min}}\right) - 1Norm=2×(Max−MinRSI−Min)−1
• Min & Max represent the lowest and highest RSI values over the selected lookback period.
🔹 Divergence Detection Process:
• Identifies pivot points in both the normalized RSI and the standard RSI.
• Compares their directions to detect potential trading signals.
🔹 Real-Time Chart Labeling:
• Uses label.new to visually highlight divergence points for quick and efficient decision-making.
________________________________________
Input Parameters
• Source: Price source for RSI calculation (Default: hlc3).
• Signal Period: RSI calculation period (Default: 50).
• Lookback Range: Normalization period (Default: 200, Max: 5000).
• Trend Length: Smoothing period for normalized RSI (Default: 5).
• Band Width: Center line & bands calculation period (Default: 34).
• Divergence Range: Lookback period for divergence detection (Default: 5).
________________________________________
How to Use
1. Add the script to your trading chart.
2. Customize the settings to match your trading approach.
3. Watch for divergence labels to identify potential market moves:
o 🟢 Bullish Divergence: Possible upward reversal.
o 🟢 Hidden Bullish Divergence: Continuation of an uptrend.
o 🔴 Bearish Divergence: Possible downward reversal.
o 🟠 Hidden Bearish Divergence: Continuation of a downtrend.
________________________________________
Why Use This Indicator?
✅ Enhanced RSI Analysis: Normalization simplifies overbought/oversold conditions.
✅ Crystal-Clear Divergence Signals: Instantly spot key trend shifts.
✅ Fully Customizable: Adjust settings for your specific strategy.
✅ Improve Trade Accuracy: Gain an edge with precise divergence detection.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always conduct thorough research and backtesting before using it in live trading.
📜 License
This script is released under the Mozilla Public License 2.0.
Enjoy the Normalized RSI with Divergences indicator, and happy trading! 🚀📈
— Kerem Ertem
TradFi Fundamentals: Momentum Trading with Macroeconomic DataIntroduction
This indicator combines traditional price momentum with key macroeconomic data. By retrieving GDP, inflation, unemployment, and interest rates using security calls, the script automatically adapts to the latest economic data. The goal is to blend technical analysis with fundamental insights to generate a more robust momentum signal.
Original Research Paper by Mohit Apte, B. Tech Scholar, Department of Computer Science and Engineering, COEP Technological University, Pune, India
Link to paper
Explanation
Price Momentum Calculation:
The indicator computes price momentum as the percentage change in price over a configurable lookback period (default is 50 days). This raw momentum is then normalized using a rolling simple moving average and standard deviation over a defined period (default 200 days) to ensure comparability with the economic indicators.
Fetching and Normalizing Economic Data:
Instead of manually inputting economic values, the script uses TradingView’s security function to retrieve:
GDP from ticker "GDP"
Inflation (CPI) from ticker "USCCPI"
Unemployment rate from ticker "UNRATE"
Interest rates from ticker "USINTR"
Each series is normalized over a configurable normalization period (default 200 days) by subtracting its moving average and dividing by its standard deviation. This standardization converts each economic indicator into a z-score for direct integration into the momentum score.
Combined Momentum Score:
The normalized price momentum and economic indicators are each multiplied by user-defined weights (default: 50% price momentum, 20% GDP, and 10% each for inflation, unemployment, and interest rates). The weighted components are then summed to form a comprehensive momentum score. A horizontal zero line is plotted for reference.
Trading Signals:
Buy signals are generated when the combined momentum score crosses above zero, and sell signals occur when it crosses below zero. Visual markers are added to the chart to assist with trade timing, and alert conditions are provided for automated notifications.
Settings
Price Momentum Lookback: Defines the period (in days) used to compute the raw price momentum.
Normalization Period for Price Momentum: Sets the window over which the price momentum is normalized.
Normalization Period for Economic Data: Sets the window over which each macroeconomic series is normalized.
Weights: Adjust the influence of each component (price momentum, GDP, inflation, unemployment, and interest rate) on the overall momentum score.
Conclusion
This implementation leverages TradingView’s economic data feeds to integrate real-time macroeconomic data into a momentum trading strategy. By normalizing and weighting both technical and economic inputs, the indicator offers traders a more holistic view of market conditions. The enhanced momentum signal provides additional context to traditional momentum analysis, potentially leading to more informed trading decisions and improved risk management.
The next script I release will be an improved version of this that I have added my own flavor to, improving the signals.
Advanced Averaged Momentum Indicator (AAMI)Key Features of AAMI:
Combination of Momentum Indicators: It averages normalized values from RSI, MACD histogram, raw Momentum, and Stochastic oscillator to give a comprehensive view of momentum.
Normalization: Each component is normalized to a scale from -1 to 1 to ensure they contribute equally to the AMI calculation.
Visual Cues: The indicator includes visual levels for neutral, overbought, and oversold conditions to aid in quick decision-making.
Alerts: Basic alert conditions are included for when AMI moves into overbought or oversold territory, which traders can customize further.
Customizable: All parameters can be adjusted within TradingView to tailor the indicator to different market conditions or trading strategies.
Smoothing: Included an SMA for AMI to reduce noise and give smoother signals.
Divergence Detection: Implemented a basic divergence detection mechanism to spot potential reversals.
Usage Tips:
Overbought/Oversold: When AMI goes above 0.7, it might suggest an overbought condition, potentially signaling a sell or take profit. Below -0.7 might indicate oversold conditions, suggesting a buy opportunity.
Divergence: Watch for divergences between the AMI and price action for signals of potential trend reversals.
Crossing Zero: The AMI crossing from negative to positive might be used as a buy signal, and vice versa for a sell signal.
This script provides a new way to view momentum by consolidating multiple traditional indicators into one, potentially offering clearer signals in complex market environments.
ATR/CCI Adaptive Trend BandsATR/CCI Trend Bands is a dynamic trend-following indicator that combines the power of the Average True Range (ATR) and Commodity Channel Index (CCI) to create adaptive support and resistance bands. The indicator plots upper and lower trend bands based on ATR deviations while using CCI to confirm trend direction. The bands visually highlight areas of trend strength and potential reversals, helping traders identify key price zones."
🔹 Key Features:
✅ ATR-Based Trend Bands – Dynamically adjust to market volatility.
✅ CCI Confirmation – Determines whether price is in an uptrend or downtrend.
✅ Color-Coded Trendline – Blue for bullish trends, red for bearish trends.
✅ Shaded Support & Resistance Zones – Red upper bands (resistance), blue lower bands (support).
✅ Customizable Parameters – ATR length, multipliers, and CCI period can be adjusted.
🔹 How to Use:
Trend Trading: Follow the bands to ride trends with confidence.
Breakout Confirmation: Watch for price breaking above/below the bands for potential strong moves.
Reversal Trading: Use the shaded zones as dynamic support and resistance levels.
This indicator is suitable for all timeframes and markets and is designed to be a versatile tool for both trend-followers and breakout traders. 🚀📈
Multi-Indicator Signals with Selectable Options by DiGetMulti-Indicator Signals with Selectable Options
Script Overview
This Pine Script is a multi-indicator trading strategy designed to generate buy/sell signals based on combinations of popular technical indicators: RSI (Relative Strength Index) , CCI (Commodity Channel Index) , and Stochastic Oscillator . The script allows you to select which combination of signals to display, making it highly customizable and adaptable to different trading styles.
The primary goal of this script is to provide clear and actionable entry/exit points by visualizing buy/sell signals with arrows , labels , and vertical lines directly on the chart. It also includes input validation, dynamic signal plotting, and clutter-free line management to ensure a clean and professional user experience.
Key Features
1. Customizable Signal Types
You can choose from five signal types:
RSI & CCI : Combines RSI and CCI signals for confirmation.
RSI & Stochastic : Combines RSI and Stochastic signals.
CCI & Stochastic : Combines CCI and Stochastic signals.
RSI & CCI & Stochastic : Requires all three indicators to align for a signal.
All Signals : Displays individual signals from each indicator separately.
This flexibility allows you to test and use the combination that works best for your trading strategy.
2. Clear Buy/Sell Indicators
Arrows : Buy signals are marked with upward arrows (green/lime/yellow) below the candles, while sell signals are marked with downward arrows (red/fuchsia/gray) above the candles.
Labels : Each signal is accompanied by a label ("BUY" or "SELL") near the arrow for clarity.
Vertical Lines : A vertical line is drawn at the exact bar where the signal occurs, extending from the low to the high of the candle. This ensures you can pinpoint the exact entry point without ambiguity.
3. Dynamic Overbought/Oversold Levels
You can customize the overbought and oversold levels for each indicator:
RSI: Default values are 70 (overbought) and 30 (oversold).
CCI: Default values are +100 (overbought) and -100 (oversold).
Stochastic: Default values are 80 (overbought) and 20 (oversold).
These levels can be adjusted to suit your trading preferences or market conditions.
4. Input Validation
The script includes built-in validation to ensure that oversold levels are always lower than overbought levels for each indicator. If the inputs are invalid, an error message will appear, preventing incorrect configurations.
5. Clean Chart Design
To avoid clutter, the script dynamically manages vertical lines:
Only the most recent 50 buy/sell lines are displayed. Older lines are automatically deleted to keep the chart clean.
Labels and arrows are placed strategically to avoid overlapping with candles.
6. ATR-Based Offset
The vertical lines and labels are offset using the Average True Range (ATR) to ensure they don’t overlap with the price action. This makes the signals easier to see, especially during volatile market conditions.
7. Scalable and Professional
The script uses arrays to manage multiple vertical lines, ensuring scalability and performance even when many signals are generated.
It adheres to Pine Script v6 standards, ensuring compatibility and reliability.
How It Works
Indicator Calculations :
The script calculates the values of RSI, CCI, and Stochastic Oscillator based on user-defined lengths and smoothing parameters.
It then checks for crossover/crossunder conditions relative to the overbought/oversold levels to generate individual signals.
Combined Signals :
Depending on the selected signal type, the script combines the individual signals logically:
For example, a "RSI & CCI" buy signal requires both RSI and CCI to cross into their respective oversold zones simultaneously.
Signal Plotting :
When a signal is generated, the script:
Plots an arrow (upward for buy, downward for sell) at the corresponding bar.
Adds a label ("BUY" or "SELL") near the arrow for clarity.
Draws a vertical line extending from the low to the high of the candle to mark the exact entry point.
Line Management :
To prevent clutter, the script stores up to 50 vertical lines in arrays (buy_lines and sell_lines). Older lines are automatically deleted when the limit is exceeded.
Why Use This Script?
Versatility : Whether you're a scalper, swing trader, or long-term investor, this script can be tailored to your needs by selecting the appropriate signal type and adjusting the indicator parameters.
Clarity : The combination of arrows, labels, and vertical lines ensures that signals are easy to spot and interpret, even in fast-moving markets.
Customization : With adjustable overbought/oversold levels and multiple signal options, you can fine-tune the script to match your trading strategy.
Professional Design : The script avoids clutter by limiting the number of lines displayed and using ATR-based offsets for better visibility.
How to Use This Script
Add the Script to Your Chart :
Copy and paste the script into the Pine Editor in TradingView.
Save and add it to your chart.
Select Signal Type :
Use the "Signal Type" dropdown menu to choose the combination of indicators you want to use.
Adjust Parameters :
Customize the lengths of RSI, CCI, and Stochastic, as well as their overbought/oversold levels, to match your trading preferences.
Interpret Signals :
Look for green arrows and "BUY" labels for buy signals, and red arrows and "SELL" labels for sell signals.
Vertical lines will help you identify the exact bar where the signal occurred.
Tips for Traders
Backtest Thoroughly : Before using this script in live trading, backtest it on historical data to ensure it aligns with your strategy.
Combine with Other Tools : While this script provides reliable signals, consider combining it with other tools like support/resistance levels or volume analysis for additional confirmation.
Avoid Overloading the Chart : If you notice too many signals, try tightening the overbought/oversold levels or switching to a combined signal type (e.g., "RSI & CCI & Stochastic") for fewer but higher-confidence signals.
Golden MACDThis Indicator is the Simple MACD of the MQL5 with some small changes and some tool to help trade easier.
As you can see they are two lines of MACD & Signal and the Cross of the lines can help you find the right place to put the Buy/Sell order or to use it for your Exit Points.
I have also add the Alert to the same Indicator to help you have the right time of Entry and Exit.
The Colors of the lines and Diagram and also the Level lines are completely adjustable.
Please comment me in case you need any more information or help.
Thanks a Lot
Customizable MACD Without SmootingThis MACD indicator shows you the distance between the fast and slow EMA's, which you can adjust to your preference. I removed the smoothing so that it is just a true representation of the distance between the two EMA's. The Zero line is where the two EMA's cross.
The idea with this indicator is to either look for expansion from the Zero Line, or extremes leading to reversals.
Moneyball EMA-MACD indicator [VinnieTheFish]Summary of the Moneyball EMA-MACD Indicator Script
Author: VinnieTheFish
Purpose:
This indicator helps traders identify trend direction, momentum shifts, and potential trade signals based on EMA and MACD crossovers.
This Pine Script is a custom indicator that combines Exponential Moving Averages (EMAs) and MACD (Moving Average Convergence Divergence) to analyze price trends and momentum. The script uses a custom 9/50 MACD with a 16 smoothing period. The script is written in a way that you can create your own custom MACD settings and create alerts based on those parameters. The chart bars are color coded based on the relative position of the MACD and Signal line primarily for bullish long trade setups.
Bar color coding helps the trader spot potential reversals based on where the price currently resides in relation to the custom 9/50 EMA based MACD and the 16 period smoothing period for the signal line. Indicator also has custom alerts to notify the trader when a potential trade setup exists that correspond with the bar color change.
Question: So why is this called the Moneywell EMA-MACD Indicator?
Answer: In the movie Moneyball the Oakland A's broke down how to win a championship based on data. To make the playoffs you needed so many wins, then broken down by runs and then broken down to base hits. A base hit was good as a walk. With trading often times we look too often for home runs and ignore the importance of getting on base with small wins. This indicator was designed on shorter timeframes to identify those base hits, but can also be adapted to higher timeframes for swing trading.
Key Features:
User Inputs:
Configurable fast and slow lengths for MACD calculation.
Choice between SMA and EMA for oscillator and signal line smoothing.
Customizable signal smoothing length.
EMA Calculation:
Computes 3 EMA, 9 EMA, 20 EMA, and 50 EMA to track short-term and long-term trends.
MACD Calculation:
Computes MACD using either SMA or EMA based on user selection.
Generates the MACD signal line for comparison.
Crossover Conditions:
Detects MACD and Signal line crossovers above and below the zero line.
Identifies price momentum shifts.
Bar Coloring Logic:
Green: MACD is above 0 and above the signal line.
White: MACD is below the signal line.
Orange: MACD is below 0 but above the signal line.
Fuchsia: Bullish EMA 3/9 cross but price is still below the 20/50 EMA.
Alerts for Key Trading Signals:
MACD crossing above/below the zero line.
Signal line crossing above/below the zero line.
MACD reaching new highs/lows.
Alerts for colored bar conditions.
Cognitive Echo IndexCognitive Echo Index – User Guide
Overview
The Cognitive Echo Index is a composite indicator that combines several technical aspects—including price deviation from a moving average, normalized volatility (via ATR), and volume variations—to create a single numeric value. The output is scaled between -100 and +100, offering insights into market momentum and potential trend reversals.
How It Works
Price Component:
The indicator calculates the percentage change between the current price and its 14-period simple moving average (SMA). This helps identify how far the price deviates from its recent trend.
Volatility Component:
Using the Average True Range (ATR) over a 14-period, the script normalizes current ATR against its 14-period SMA. This shows relative volatility, highlighting unusual market activity.
Volume Component:
It computes the percentage change between the current volume and its 14-period SMA to detect spikes or drops in trading activity.
Composite Calculation:
The three components are summed together to produce the final index value, which is then clipped to remain between -100 and +100.
Interpreting the Indicator
Indicator Value Scale:
Positive Values (0 to +100):
Suggest that bullish forces are stronger. Higher values (e.g., above +50) could indicate a strong bullish sentiment.
Negative Values (0 to -100):
Indicate bearish pressures. Lower values (e.g., below -50) may signal strong bearish conditions.
Zero Level:
The midline indicates a balanced market condition with no dominant trend.
Key Horizontal Levels:
+50 Level:
When the indicator crosses above +50, it can be interpreted as a strong bullish signal.
-50 Level:
When the indicator crosses below -50, it can be considered a strong bearish signal.
Usage Tips
Confirmation Tool:
Use the Cognitive Echo Index as an additional confirmation tool in conjunction with other technical indicators or chart patterns to make more informed trading decisions.
Parameter Adjustments:
The script uses a 14-period setting for the moving average, ATR, and volume SMA by default. Depending on your trading timeframe or asset, consider tweaking these periods for better sensitivity.
Trend Analysis:
Watch how the indicator behaves during major price moves. A divergence between the index and the price trend (e.g., price rises while the index falls) may suggest a potential reversal or a false breakout.
Risk Management:
Always incorporate sound risk management practices. Use stop losses and position sizing rules, and consider the indicator as one part of your overall trading strategy.
Customization
Adjusting the Weights:
Although the current version gives equal weight to all three components, advanced users can modify the script to apply different weights to the price, volatility, and volume components based on historical performance or specific market conditions.
Adding Additional Inputs:
Future versions could incorporate external sentiment data or other technical factors if accessible. For now, the indicator focuses on technical inputs available directly within TradingView.
By following this guide, traders can integrate the Cognitive Echo Index into their TradingView platform to gain a unique perspective on market momentum and potential turning points. Enjoy testing and refining the indicator to better suit your trading style!