Contra SuperTrend ATR200 Multiplier8@ DrGSthis is contrasting view of supertrend with 233 atr and 8x multiplier for long trades only.
Göstergeler ve stratejiler
MACD Indicator with Buy and Sell AlertsIntroduction
The MACD Indicator with Alerts & Manual Thresholds is a powerful and customizable MACD-based trading tool designed for traders who want more control over their buy and sell signals. This script allows users to define their own buy and sell thresholds instead of relying solely on standard MACD crossovers. The built-in alerts help traders stay informed about potential trade opportunities without constantly monitoring charts.
How It Works
This script calculates the Moving Average Convergence Divergence (MACD) using customizable fast and slow moving averages. The MACD histogram is derived from the difference between the MACD line and the signal line:
MACD Line: The difference between a fast-moving average (default 12-period EMA) and a slow-moving average (default 26-period EMA).
Signal Line: A smoothed moving average (default 9-period EMA) of the MACD line.
Histogram: The difference between the MACD line and the signal line.
Instead of using default zero-line crossovers, this script allows traders to set custom buy and sell threshold levels:
A buy signal is generated when the MACD histogram crosses above the user-defined buy threshold.
A sell signal is generated when the MACD histogram crosses below the user-defined sell threshold.
Benefits of This Indicator
Custom Thresholds: Unlike traditional MACD indicators, traders can adjust buy and sell thresholds according to their strategy.
Automated Alerts: Get notified instantly when buy or sell conditions are met.
Flexibility in Calculation: Choose between SMA or EMA for both the MACD and signal line calculations.
Clear Visualization: Histogram bars color-coded for quick analysis.
Risks and Limitations
While the MACD indicator is a widely used tool, traders should be aware of its potential risks:
Lagging Indicator: MACD is a trend-following indicator, meaning it may generate signals with some delay.
False Signals in Ranging Markets: MACD works best in trending markets but can produce misleading signals in sideways conditions.
Threshold Optimization Required: Users need to experiment with different buy/sell thresholds to align with their trading strategy and market conditions.
Improving Accuracy with Additional Indicators
For better accuracy and confirmation, combining this MACD strategy with other indicators is recommended:
1. EMA 200 as a Trend Filter
Use the 200-period EMA to determine the overall trend direction.
Consider buying only when price is above EMA 200 (uptrend) and selling only when price is below EMA 200 (downtrend).
2. RSI (Relative Strength Index) for Overbought/Oversold Conditions
RSI (14) can help filter false MACD signals.
A MACD buy signal is stronger when RSI is below 30 (oversold condition).
A MACD sell signal is more reliable when RSI is above 70 (overbought condition).
3. Support & Resistance Levels
Consider placing trades near major support or resistance zones to avoid chasing breakouts.
MACD signals are more effective when they align with these key price levels.
Conclusion
The MACD Indicator with Alerts & Manual Thresholds offers a flexible and powerful approach to trading by allowing users to define their own thresholds. However, for best results, it should be combined with additional indicators such as EMA 200, RSI, and support/resistance levels. Traders should backtest and optimize settings to suit their market conditions and trading style.
By using this indicator alongside proper risk management techniques, traders can enhance their decision-making process and improve their overall trading performance.
Happy Trading!
withoutfaking Advanced charts readerFeatures:
1. Multi-Timeframe Adaptive:
- Triple EMA system (21/50/200) identifies macro/micro trends
- ADX filter ensures trades only in strong momentum phases
2. Elliott Wave Integration:
- Proprietary EWO (Elliott Wave Oscillator) with signal line
- Detects wave 3 acceleration and wave 5 exhaustion
3. Smart Money Detection:
- Volume-weighted MFI filters false breakouts
- Combined with Stochastic for precision timing
4. Adaptive Alerts:
- Multi-condition confluence required for signals
- Self-adjusting to any timeframe (1m - monthly)
Usage:
- Day Trading: Use on 5-15m charts with tighter EMA settings
- Swing Trading: Apply on 1H-4H with default parameters
- Investing: Weekly/Monthly charts with 50/200 EMA cross
Signal Logic:
- Entries require 5/34 EWO cross + EMA alignment + volume confirmation
- Exits trigger at opposing MFI extreme + EMA flip
Risk Management:
- Bullish signals invalidate below 21 EMA
- Bearish signals cancel above 50 EMA
This system combines institutional flow analysis with technical patterns, designed to adapt to both mean-reverting and trending markets.
RSI (Pr)The "RSI (Pr)" indicator enhances the traditional Relative Strength Index (RSI) by incorporating dynamic bands and highlighting extreme market conditions directly on the price chart. This approach offers traders a more intuitive visualization of potential overbought and oversold zones, facilitating timely decision-making.
Key Features:
Dynamic RSI Bands: The indicator calculates upper and lower bands based on user-defined overbought and oversold levels. These bands adjust in real-time, providing a responsive measure of market extremes.
Visual Alerts: Background colors change when the price moves outside the RSI bands, offering immediate visual cues of potential market reversals.
Buy/Sell Signals: The script places "BUY" and "SELL" labels on the chart when the price crosses above or below the RSI bands, assisting traders in identifying potential entry and exit points.
How It Works:
RSI Calculation: The script computes the RSI based on the closing price and a user-defined length (default is 14 periods).
Exponential Moving Averages (EMA): It calculates the EMA of the maximum gains and losses to smooth out the data, enhancing the reliability of the RSI bands.
Upper and Lower Bands: Using the smoothed data, the script determines the upper (resistance) and lower (support) bands, which represent dynamic overbought and oversold levels.
Visual Indicators: The script plots the upper and lower bands, as well as a midline, directly on the price chart. Background colors change when the price exceeds these bands, and "BUY" or "SELL" labels appear at crossover points.
Usage:
Overbought Conditions: When the price crosses above the upper band, it may indicate an overbought condition, suggesting a potential selling opportunity.
Oversold Conditions: When the price crosses below the lower band, it may indicate an oversold condition, suggesting a potential buying opportunity.
Customization:
Users can adjust the following parameters to suit their trading preferences:
RSI Overbought Level: Default is 70.
RSI Oversold Level: Default is 30.
RSI Length: Default is 14 periods.
Disclaimer:
This indicator is designed for educational purposes and should not be construed as financial advice. Trading involves significant risk, and it's essential to conduct thorough research and consider your financial situation before making trading decisions. Past performance is not indicative of future results.
By integrating dynamic RSI bands and clear visual signals directly onto the price chart, this indicator aims to provide traders with actionable insights into market conditions, enhancing the traditional RSI analysis.
EMA Crossover + RSI StrategyCheck trend of 20 EMA, 50 EMA and 100 EMA and if price crosses above all 3 and trend is up, buy. If RSI goes above 70 or price crosses below any of the 3 EMAs, sell.
Finite Difference - Backward (mcbw_)In calculus there exists a 'derivative', which simply just measures the difference between two points on a curve. For well behaved mathematical functions there are infinitely many points and so there exists a derivative at every point. Where there are infinitely many points in a curve that curve is called 'continuous'. Continuous curves are very nice to deal with since each point on it exists almost exactly where its neighbors are. However, if the curve does not have infinitely many points on it, but instead has a finite number of points on it, that curve is called 'discrete' instead of continuous. Taking the derivative of discrete curves is much trickier business since there are none of the mathematical conveniences that a continuous offers. In the real world everything we measure is a discrete curve, including Price (since we measure it a finite number of times, aka each candlestick)!
The branch of Discrete Mathematics has found an approach to measure the derivative along a discrete curve, that approach is aptly called " Finite Difference ". To get a more accurate approximation of a discrete derivative, the finite difference approach uses weighted combinations of neighboring points. The most common type of finite difference is a 'central' difference, this uses a combination of points before and after the point of interest to approximate the discrete derivative. This is great for historical analysis but is not of much use for trading algorithms since it technically means using future prices to calculate the derivative of the current point. Instead we can use a less common variant called a ' Backwards Difference ' that only uses a combination of points before the current one to help approximate the current derivative.
In this script you can choose the " Order " of your derivative and the " Accuracy " of its approximation. This script is for educational purposes for folks building trading algorithms. Many trading algorithms often have an element of seeing how much Price has changed from the previous candle to the current candle. This approach is the lowest accuracy derivative possible, and using the backwards finite differences, made available for the first time on TradingView (!!), algorithms that use derivatives can now have higher orders of accuracy!
Happy Trading/Developing!
High Volume Time (HVT) Auto-DisplayThis Indicator displays the upcoming HVT for the NasDaq on a table. The HVT is also displayed on the chart in real-time in order to help accentuate the best times to trade and a clear picture for the daily directional move. This times were found manually and bear as much significance as I bring it to have. These are not guaranteed times for the market to move, but rather High Probability Times based on my own backtesting on NQ.
RSI + Bollinger Bands + OBV [blondepanther]This custom indicator combines the power of Relative Strength Index (RSI), Bollinger Bands (BB), and On-Balance Volume (OBV) to help identify undervalued and overbought conditions in any market.
ELHAI Futures Trend Checker (ES, NQ, YM)The ELHAI Futures Trend Checker is a powerful TradingView indicator designed for futures traders who want to monitor the trend synchronization of the three major U.S. futures indices:
✅ E-mini S&P 500 (ES1!)
✅ E-mini Nasdaq 100 (NQ1!)
✅ E-mini Dow Jones (YM1!)
This indicator checks whether all three futures indices are bullish or bearish during each candle formation. If one of them is out of sync (e.g., two indices are bullish while one is bearish), the indicator triggers an alert and highlights the background in red, helping traders identify potential market indecision or divergence.
Key Features
📌 Designed for Futures Traders – Focuses on ES, NQ, and YM futures contracts.
📌 Live Market Monitoring – Works in real-time and updates dynamically with each tick.
📌 Bullish/Bearish Trend Confirmation – Detects when all three indices are in sync.
📌 Mismatch Detection – Alerts you when at least one index is out of trend.
📌 Custom Alerts – Set up TradingView alerts to be notified instantly when a trend mismatch occurs.
📌 Visual Background Highlight – A red background warns of a market divergence.
How It Works
The script retrieves open and close prices for ES, NQ, and YM.
Determines whether each futures index is bullish (close > open) or bearish (close < open).
If all three indices are bullish or all are bearish, it remains neutral.
If one index is different, an alert is triggered and the background turns red.
How to Use
Apply the indicator to your TradingView chart.
Choose any timeframe – Works well on intraday, daily, or higher timeframes.
Enable alerts: Go to Alerts → Create Alert, select "Futures Trend Mismatch", and set your preferred alert frequency.
Use alongside other indicators like moving averages, RSI, or MACD for better trade confirmation.
Best Use Cases
✔ Day traders & scalpers – Quickly spot market divergence in live trading.
✔ Swing traders – Identify when futures markets lose synchronization.
✔ Trend followers – Confirm if all major futures markets are aligned before making a move.
Final Notes
This indicator was built for Elhai to provide real-time trend analysis across major U.S. futures indices. Use it as a confirmation tool to improve market timing and decision-making.
Static Volume MetricsThis indicator reports two volume metrics:
1. 30DayAvgVol - simple calculation of the 30 day average volume
2. PrevDayVol-5minAvg - calculates the average volume over 5min time periods from the prior day.
EMA MTF Crossover [Two]R = Reverse signal in Weekly
C = Continue signal in Daily
Two = Early signal in 1H
Indicator for myself but i'm public FREE for all friend using
First 5 Candles RangeI'll explain this indicator which marks the high and low range of the first 5 minutes of the Indian market trading session:
Purpose:
This indicator identifies and marks the highest and lowest prices during the first 5 minutes (9:15 AM - 9:20 AM) of the Indian trading session
It draws two horizontal lines: red for the high and green for the low
These levels are often used by traders to identify potential support/resistance for the day
Excess Liquidity IndicatorThis indicator is inspired by Raoul Pal's and Julien Bittel concept of excess liquidity, which serves as a leading macroeconomic signal for risk assets. Excess liquidity is calculated as M2 money supply plus central bank balance sheets minus GDP, adjusted for key macro factors including oil prices, the US Dollar Index (DXY), US 10-year Treasury yield (US10Y), and Chinese 10-year bond yield (CN10Y). The script provides insights into liquidity-driven market trends, helping traders assess potential turning points in asset prices."
Let me know what you think!
Grids lines"Líneas de Grid para Análisis Técnico"
Este indicador dibuja líneas de grid (rejilla) en el gráfico de precios, lo que puede ayudar a visualizar zonas de soporte, resistencia y niveles de interés en un rango de precios determinado.
Características:
Precio Mínimo y Máximo: Configura los precios entre los cuales se dibujarán las líneas de grid.
Número de Grids: Establece cuántas líneas de grid quieres ver en el gráfico.
Color y Grosor de las Líneas: Personaliza los colores y el grosor de las líneas de grid, incluyendo la primera y la última línea.
Estilo de las Líneas: Puedes elegir entre líneas discontinuas (Dotted) o sólidas (Solid), para personalizar aún más tu visualización.
Ticker Específico: Si lo deseas, puedes elegir un ticker específico para dibujar las líneas solo cuando el gráfico esté mostrando ese activo. De lo contrario, las líneas se dibujarán en el gráfico actual.
Parámetros:
Precio Mínimo: El precio más bajo para el rango del grid (por ejemplo: 0.82).
Precio Máximo: El precio más alto para el rango del grid (por ejemplo: 1.24).
Número de Grids: Define cuántas líneas quieres entre el precio mínimo y el máximo (por ejemplo: 30).
Estilo de Línea: Elige entre Dotted (líneas discontinuas) o Solid (líneas sólidas).
Ticker: Si deseas dibujar las líneas solo para un ticker específico, ingresa el símbolo del ticker (por ejemplo, ADAUSDT). Si dejas este campo vacío, las líneas se dibujarán en el gráfico actual.
Ejemplo de Uso:
Si estás analizando el par ADAUSDT, puedes escribir ADAUSDT en el campo del ticker para que las líneas solo se dibujen cuando este par esté visible. Si dejas el campo vacío, las líneas se dibujarán en cualquier ticker que tengas en el gráfico.
Descripción en Inglés:
"Grid Lines for Technical Analysis"
This indicator draws grid lines on the price chart, helping to visualize support, resistance, and key levels within a specific price range.
Features:
Min and Max Price: Set the price range for the grid lines to be drawn.
Number of Grids: Choose how many grid lines you want to display on the chart.
Line Color and Thickness: Customize the color and thickness of the grid lines, including the first and last line.
Line Style: Choose between Dotted (dashed lines) or Solid (solid lines) to further customize your view.
Specific Ticker: If desired, you can specify a ticker for the grid lines to only be drawn when that asset is shown. Otherwise, the lines will be drawn on the current chart.
Parameters:
Min Price: The lowest price for the grid range (for example, 0.82).
Max Price: The highest price for the grid range (for example, 1.24).
Number of Grids: Defines how many lines you want between the minimum and maximum price (for example, 30).
Line Style: Choose between Dotted or Solid.
Ticker: To draw the lines only for a specific ticker, enter the symbol of the ticker (for example, ADAUSDT). If left blank, the lines will be drawn on the current ticker.
Usage Example:
If you're analyzing the pair ADAUSDT, you can enter ADAUSDT in the ticker field to draw the lines only when that pair is visible. If you leave the field blank, the lines will be drawn for any ticker currently on the chart.
Trailing Stop with 21 EMA and ATRTrailing Stop with 21 EMA and ATR
This indicator helps traders to dynamically track their trailing stops based on market volatility, ensuring better risk management and optimized exit points.
This Pine Script indicator for TradingView calculates and plots trailing stops based on the 21-period Exponential Moving Average (EMA) and the Average True Range (ATR). The script uses an ATR multiplier to adjust the trailing stops dynamically.
Key Features:
Trailing Stops Calculation:
Long Trailing Stop: Calculated as EMA21 - (ATR * ATR Multiplier)
Short Trailing Stop: Calculated as EMA21 + (ATR * ATR Multiplier)
Customization Options:
Visibility: Toggle the visibility of long and short trailing stops.
Color: Customize the color of the trailing stops for both long and short positions.
Line Width: Adjust the width of the trailing stop lines.
Inputs:
EMA Length: Set the length for the Exponential Moving Average (default is 21).
ATR Length: Set the length for the Average True Range (default is 14).
ATR Multiplier: Set the multiplier for the ATR to adjust the trailing stop distance (default is 1.0).
200-Day SMA Slope Oscillator SmoothA smooth oscillator that oscillates between positive and negative values.
The oscillator tracks the change in the 200-day SMA and smooths the transitions to give you a cleaner, more gradual movement.
We use the slope to determine the value of the oscillator. If the slope is positive, the oscillator will show a positive value;If the slope is negative, it'll be a negative value.
My scriptRSI based strategy based entry exit.
RSI 12 and 26 length to find cross over for entry and
RSI 10 and 18 length to find crossunder for exit.
Z RSI Trendlines BreakoutThe RSI Trendline Breakout Indicator is a technical analysis tool designed to identify potential trend reversals and breakout opportunities using Relative Strength Index (RSI) trendlines. This indicator automatically plots trendlines on RSI based on pivot highs and lows and provides breakout signals when RSI crosses these trendlines.
Support, Resistance and Median with Trend"This Pine Script indicator, 'Support, Resistance and Median with Trend', offers traders a comprehensive view of market dynamics using key technical analysis principles.
Key Features:
Dynamic Support and Resistance: The script calculates and plots support and resistance levels based on the highest highs and lowest lows over a customizable historical period.
Median Line: A median line is plotted between support and resistance, serving as a key reference for price action.
Trend Detection: The indicator determines the current trend by comparing the closing price to the median line, offering a simple yet effective trend identification method.
Visual Trend Indicator: A color-coded box in the top-right corner displays the current trend (Uptrend, Downtrend, or Neutral), providing at-a-glance trend information.
Level Projections: The script projects support, resistance, and median levels into future periods, helping traders anticipate potential price movements.
Customization: Users can adjust the historical length for calculations, allowing for fine-tuning based on individual trading styles and timeframes.
Enhanced Buy/Sell Signals with Confirmation(Bobbin Thomas)Usage Notes:
Buy Signals (Green Triangles) appear when:
Fast EMA crosses above Slow EMA
RSI crosses back above 30 (oversold recovery)
MACD line crosses above signal line
Price is above both EMAs (uptrend confirmation)
Sell Signals (Red Triangles) appear when:
Fast EMA crosses below Slow EMA
RSI crosses below 70 (overbought rejection)
MACD line crosses below signal line
Price is below both EMAs (downtrend confirmation)
This conservative approach helps filter out false signals by requiring alignment between trend direction (EMAs), momentum (MACD), and market strength (RSI). For best results, use on daily or weekly charts and combine with fundamental analysis.
Simplified MA Crossover Strategy with toggle RSI/ATR options1. Strategy Overview
MA Crossover Logic: The strategy uses two simple moving averages (short and long) to generate buy/sell signals.
Buy Signal: When the short MA crosses above the long MA.
Sell Signal: When the short MA crosses below the long MA.
Filters: The strategy includes optional RSI and ATR filters to refine entry conditions.
Risk Management: Includes stop-loss, take-profit, and position sizing based on a percentage of equity.
2. Inputs
MA Lengths:
shortLength: Length of the short MA (default: 9).
longLength: Length of the long MA (default: 21).
RSI Filter:
enableRSI: Toggle to enable/disable the RSI filter.
rsiLength: RSI calculation period (default: 14).
rsiOverbought: Overbought threshold (default: 70).
rsiOversold: Oversold threshold (default: 30).
ATR Filter:
enableATR: Toggle to enable/disable the ATR filter.
atrLength: ATR calculation period (default: 14).
minATR: Minimum ATR threshold for trade entry (default: 0.005).
Risk Management:
stopLossPerc: Stop-loss percentage (default: 0.5%).
riskRewardRatio: Risk-reward ratio for take-profit calculation (default: 2).
riskPercentage: Percentage of equity to risk per trade (default: 2%).
3. Indicators
Moving Averages:
shortMA: Short-term simple moving average.
longMA: Long-term simple moving average.
RSI: Relative Strength Index for filtering overbought/oversold conditions.
ATR: Average True Range for volatility filtering.
4. Trade Conditions
Long Condition:
Short MA crosses above the long MA.
RSI is below the overbought level (if RSI filter is enabled).
ATR is above the minimum threshold (if ATR filter is enabled).
Short Condition:
Short MA crosses below the long MA.
RSI is above the oversold level (if RSI filter is enabled).
ATR is above the minimum threshold (if ATR filter is enabled).
5. Risk Management
Position Sizing:
positionSize: Calculated based on the percentage of equity to risk and the stop-loss level.
Take-Profit and Stop-Loss:
takeProfitLevel: Calculated using the risk-reward ratio.
stopLossLevel: Calculated using the stop-loss percentage.
6. Trade Execution
Long Entry:
Triggers when the long condition is met.
Sets a take-profit and stop-loss level.
Short Entry:
Triggers when the short condition is met.
Sets a take-profit and stop-loss level.
7. Plotting
Moving Averages:
Short MA (blue) and Long MA (red) are plotted on the chart.
RSI Levels:
Overbought (red) and oversold (green) levels are plotted as horizontal lines.
ATR:
ATR is plotted in orange.
Trade Signals:
Buy signals are marked with a green "BUY" label below the bar.
Sell signals are marked with a red "SELL" label above the bar.
8. Customization
You can adjust the input parameters (e.g., MA lengths, RSI/ATR settings, risk management values) to suit your trading preferences.
Disable/enable filters (RSI and ATR) using the enableRSI and enableATR inputs.
9. Notes
This strategy is designed for educational purposes and should be thoroughly tested before use in live trading.
Consider optimizing the parameters (e.g., MA lengths, RSI/ATR thresholds) for specific markets or timeframes.
Ensure proper backtesting and forward testing to evaluate performance under different market conditions.
MOMENTUM CANDLEThis script checks the following conditions:
- Latest Open < 1 day ago High
- Latest Close < 1 day ago High
- Latest Open > Latest Low
- Latest Close > 1 day ago Low
- 1 day ago Open < Latest High
- 1 day ago Open < Latest High ( duplicate condition)
- 1 day ago Open > Latest Low