Relative Strength - MNOPPlotting relative strength for Daily, Weekly and Monthly chart of a current script against two scripts (can use indexes)
Индикаторы и стратегии
EMA+SMA+RSI AND SUPERTREND BY MANDALORIANThis indicator contains EMA/SMA/SUPERTREND/RSI. it gives more freedom to traders to make more conclusive decison on their trades. Its very easy to use and apply. user can also hide the features which they dont wants to use and keep only desirable features of indicator on screen.Traders should exercise their own experience and judgement in their trades and dont solely depend on indicators to be profitable. Happy to help.
Linda Raschke's MACD V2.0
This script is based on Linda Raschke's interpretation of the MACD (Moving Average Convergence Divergence) indicator, designed to provide a refined view of market momentum and trend reversals.
---
Linda Raschke's MACD - Enhanced Trading Indicator
This custom MACD indicator, inspired by Linda Raschke's approach, refines the traditional MACD by offering a more responsive and adaptable view of momentum shifts.
Key Features :
As seen in image above
- Fast & Slow Length : Adjust the periods for the fast and slow moving averages to suit your trading style.
- Source : Choose the data source for calculation (typically closing price).
- Signal Smoothing : Fine-tune the smoothness of the signal line with adjustable settings.
- Customizable MA Types : Select between Simple Moving Average (SMA) or Exponential Moving Average (EMA) for both the oscillator and signal line for more flexibility.
The script displays:
- The MACD line : The difference between the fast and slow moving averages, indicating momentum.
- The Signal line : A smoothed version of the MACD that highlights trend changes.
- The Histogram : Shows the difference between the MACD and Signal line, visualizing the strength of the trend and potential reversals.
Alerts :
- Alerts trigger when the MACD histogram shifts from rising to falling or vice versa, providing early signals of potential momentum changes.
Zero Line : The zero line helps identify the current market trend (above the line is bullish, below is bearish).
This indicator is perfect for traders looking for advanced momentum signals and precise entry/exit points, with options to tweak the moving averages to better match their strategy.
---
Key Differences Between Linda Raschke’s MACD and the Traditional MACD :
1. Different Fast and Slow Lengths
Standard MACD : Typically uses a 12-period fast EMA and a 26-period slow EMA for calculating the MACD line.
Linda Raschke’s MACD : The fast and slow lengths are customizable and are often much shorter. In this script, the default values are 3 for the fast length and 10 for the slow length. These shorter periods help the indicator react faster to price changes and better capture momentum shifts in volatile markets.
2. Faster Response to Momentum Shifts
By shortening the periods for the moving averages and offering customization of the smoothing methods, Linda Raschke’s MACD tends to react more quickly to market changes. This makes it better suited for shorter-term traders or those looking to catch early momentum shifts.
The standard MACD, on the other hand, may be slower to react due to its longer default settings, making it more appropriate for longer-term trend-following strategies.
5. Histogram Coloring and Visual Representation
Standard MACD : The histogram simply shows the difference between the MACD line and the signal line, and the color usually remains constant unless specifically customized.
Linda Raschke’s MACD : The histogram in this script changes color based on whether the histogram is rising or falling compared to the previous bar, making it easier to spot momentum shifts. For example:
Green if the histogram is rising.
Red if the histogram is falling.
Lighter shades if the histogram is in transition, providing a more intuitive view of the market's strength and direction.
6. Alert Conditions
Linda Raschke’s MACD : This script adds specific alert conditions when the MACD histogram transitions from rising to falling (or vice versa), offering traders an early warning signal for potential trend reversals or momentum shifts.
7. Shorter Timeframes
Linda Raschke’s MACD : The shorter settings make it more suited for intraday trading or shorter timeframes, helping to catch early market movements. It can be used more effectively for day traders or scalpers.
Standard MACD : Better suited for longer timeframes and trend-following strategies, as it’s less sensitive to short-term noise.
Summary: Best Timeframes
Ideal Timeframes : 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, and 4-hour charts.
Possible for Swing Trading: Daily charts, but with caution due to quicker signals.
If you're using it for day trading or scalping, I’d suggest focusing on intraday charts (1-minute to 30-minute), and adjusting the signal smoothing and lengths to fine-tune how sensitive the indicator is to price action.
Suggested Values for 1-Minute Chart:
1. Signal Line Smoothing (Length of Signal Line):
Range: The standard setting in your script is 16.
Adjustment for 1-Minute Chart:
You may want to decrease this value for faster responsiveness.
Try 8 to 12 for a more reactive signal line. A lower value (like 8) will make the signal line more responsive to price changes, which is useful for short-term momentum.
Test the range of 10 to 12 if you want to smooth out some noise but still react fairly quickly.
2. Fast and Slow Length (for MACD Oscillator):
The fast and slow moving averages also play a role in the indicator’s speed. For 1-minute charts, you'll want these to be shorter to catch fast market movements.
Fast Length: A value of 3 is good for a responsive MACD on a 1-minute chart. It reacts quickly to recent price changes.
Slow Length: You might want to adjust this slightly to around 7 to 10. A value of 10 will allow the slow line to smooth out more, reducing excessive noise.
ICT-Yasir Macro TimesICT MACRO TIMES
8:50 to 9:10
9:50 to 10:10
10:50 to 11:10
12:50 to 1:10
1:50 to 2:10
2:50 to 3:10
3:15 to 3:45
3:45 to 4:00
Volume with EMA and Coloring RulesSummary
This indicator plots the market’s volume as a histogram in a separate panel (not overlaid on the main price chart). An EMA (Exponential Moving Average) is then calculated based on the volume. The color of each volume bar switches dynamically:
• Blue when the bar’s volume is higher than the EMA
• White when the bar’s volume is lower than or equal to the EMA
This simple visual cue allows you to quickly see if the market’s current volume is above or below its average trend.
How to Use
1. Add to Chart
Apply the indicator to your TradingView chart, and it will open in a separate panel beneath the price.
2. Adjust EMA Length
Modify the “EMA Length” to control how quickly the average volume adapts to changes.
3. Interpretation
• Blue bars may indicate stronger-than-usual participation.
• White bars indicate volume is relatively lower compared to its recent average.
This indicator provides an at-a-glance way to see if trading activity is intensifying or easing, which can be paired with other technical or fundamental tools to help confirm market shifts or potential opportunities.
3ATMANE SUPP AND RESIST WITH TREND BARSupport & Resistance: The indicator identifies potential support and resistance levels based on a zigzag pattern. It uses a "depth" and "deviation" input to determine the swings in price that define the zigzag. You can choose to display these levels as either lines or boxes.
TrendBars: The indicator also calculates and displays TrendBars, which are bars colored green for uptrends and red for downtrends. This is based on a calculation involving the difference between the current price and the price 'per' periods ago, smoothed by an adaptive average period.
Diagonal Lines: The script draws diagonal lines connecting the zigzag turning points. These lines visualize the overall trend and can also have support and resistance lines plotted along them.
Inputs and Customization:
The script offers a wide array of customization options through its inputs:
Current S/R Setting:
Horizontal type: Choose between displaying support/resistance as boxes or lines.
Depth: The lookback period for identifying swing highs and lows for the zigzag calculation. Higher values mean fewer, stronger levels.
Deviation: The minimum price change required to define a new swing in the zigzag. Higher values mean fewer swings.
Color: The color of the horizontal support/resistance lines or boxes.
Extend lines: Extends the horizontal support/resistance lines to the right edge of the chart.
Line count: The maximum number of horizontal support/resistance lines or boxes to display.
Diagonal Line Setting:
Line thickness: The thickness of the diagonal zigzag lines.
Line style: The style of the diagonal zigzag lines (solid, dotted, dashed).
Diagonal color: The color of the main diagonal zigzag line.
Zigzag count: The maximum number of diagonal zigzag lines to display.
Diagonal high color: Color for diagonal support/resistance lines related to highs.
Diagonal low color: Color for diagonal support/resistance lines related to lows.
Diagonal S/R line count: The number of support/resistance lines drawn along the diagonal.
Show diagonal S/R lines: Toggles the display of the diagonal support/resistance lines.
Basic Settings (TrendBars):
Source: The price source to use for the TrendBars calculation (e.g., close, open, high, low).
Period: The period used in the TrendBars calculation.
UI Options (TrendBars):
Color bars?: Toggles the coloring of the bars based on the TrendBars calculation.
How it Works (Simplified):
Zigzag Calculation: The f_zigzag function identifies swing highs and lows based on the depth and deviation inputs.
Support/Resistance Levels: Horizontal lines or boxes are drawn at the identified swing points.
Diagonal Lines: The f_addDiagonalLine function connects the zigzag turning points with diagonal lines.
TrendBars Calculation: The script calculates a smoothed trend based on price changes over the specified period and colors the bars accordingly.
Drawing: The script uses line.new, box.new, and label.new to draw the support/resistance levels, diagonal lines, and labels on the chart.
Key Features:
Dynamic Support/Resistance: The levels are recalculated as new price data becomes available.
Customizable: The numerous inputs allow you to tailor the indicator to your specific needs.
TrendBars Integration: Combines support/resistance with a trend indicator for a more comprehensive view.
Uses:
This indicator can be used to:
Identify potential areas of support and resistance.
Visualize the overall trend.
Confirm trend changes.
Potentially identify entry and exit points.
Limitations:
Repainting: Like many zigzag-based indicators, this one can repaint. This means that the levels may adjust as new bars close, potentially changing the appearance of past signals. Be cautious when using it for backtesting or real-time trading decisions.
Subjectivity: The zigzag calculation involves parameters that can be subjective and may require experimentation to find optimal settings for different markets and timeframes.
False Signals: No indicator is perfect, and this one can also generate false signals. Use it in conjunction with other indicators and your own analysis.
This detailed description should give you a good understanding of how the indicator works and how to use it. Remember to experiment with the different settings to find what works best for you.
Lorentzian Volatility Filtered SignalsThis indicator uses Lorentzian classification and volume to print accurate buy and sell signals with a stop loss and take profit.
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts📖 Overview
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts is a powerful adaptive moving average indicator designed to capture market trends dynamically. Unlike traditional moving averages (e.g., SMA, EMA, WMA), this indicator incorporates volatility-based trend detection, Bollinger Bands, ADX, and RSI, offering a comprehensive view of market conditions.
The MLMA is "machine learning-inspired" because it adapts dynamically to market conditions using ATR-based windowing and integrates multiple trend strength indicators (ADX, RSI, and volatility bands) to provide an intelligent moving average calculation that learns from recent price action rather than being static.
🛠 How It Works
1️⃣ Adaptive Moving Average Selection
The MLMA automatically selects one of four different moving averages:
📊 EMA (Exponential Moving Average) – Reacts quickly to price changes.
🔵 HMA (Hull Moving Average) – Smooth and fast, reducing lag.
🟡 WMA (Weighted Moving Average) – Gives recent prices more importance.
🔴 VWAP (Volume Weighted Average Price) – Accounts for volume impact.
The user can select which moving average type to use, making the indicator customizable based on their strategy.
2️⃣ Dynamic Trend Detection
ATR-Based Adaptive Window 📏
The Average True Range (ATR) determines the window size dynamically.
When volatility is high, the moving average window expands, making the MLMA more stable.
When volatility is low, the window shrinks, making the MLMA more responsive.
Trend Strength Filters 📊
ADX (Average Directional Index) > 25 → Indicates a strong trend.
RSI (Relative Strength Index) > 70 or < 30 → Identifies overbought/oversold conditions.
Price Position Relative to Upper/Lower Bands → Determines bullish vs. bearish momentum.
3️⃣ Volatility Bands & Dynamic Support/Resistance
Bollinger Bands (BB) 📉
Uses standard deviation-based bands around the MLMA to detect overbought and oversold zones.
Upper Band = Resistance, Lower Band = Support.
Helps traders identify breakout potential.
Adaptive Trend Bands 🔵🔴
The MLMA has built-in trend envelopes.
When price breaks the upper band, bullish momentum is confirmed.
When price breaks the lower band, bearish momentum is confirmed.
4️⃣ Visual Enhancements
Dynamic Gradient Fills 🌈
The trend strength (ADX-based) determines the gradient intensity.
Stronger trends = More vivid colors.
Weaker trends = Lighter colors.
Trend Reversal Arrows 🔄
🔼 Green Up Arrow: Bullish reversal signal.
🔽 Red Down Arrow: Bearish reversal signal.
Trend Table Overlay 🖥
Displays ADX, RSI, and Trend State dynamically on the chart.
📢 Trading Signals & How to Use It
1️⃣ Bullish Signals 📈
✅ Conditions for a Long (Buy) Trade:
The MLMA crosses above the lower band.
The ADX is above 25 (confirming trend strength).
RSI is above 55, indicating positive momentum.
Green trend reversal arrow appears (confirmation of a bullish reversal).
🔹 How to Trade It:
Enter a long trade when the MLMA turns bullish.
Set stop-loss below the lower Bollinger Band.
Target previous resistance levels or use the upper band as take-profit.
2️⃣ Bearish Signals 📉
✅ Conditions for a Short (Sell) Trade:
The MLMA crosses below the upper band.
The ADX is above 25 (confirming trend strength).
RSI is below 45, indicating bearish pressure.
Red trend reversal arrow appears (confirmation of a bearish reversal).
🔹 How to Trade It:
Enter a short trade when the MLMA turns bearish.
Set stop-loss above the upper Bollinger Band.
Target the lower band as take-profit.
💡 What Makes This a Machine Learning Moving Average?
📍 1️⃣ Adaptive & Self-Tuning
Unlike static moving averages that rely on fixed parameters, this MLMA automatically adjusts its sensitivity to market conditions using:
ATR-based dynamic windowing 📏 (Expands/contracts based on volatility).
Adaptive smoothing using EMA, HMA, WMA, or VWAP 📊.
Multi-indicator confirmation (ADX, RSI, Volatility Bands) 🏆.
📍 2️⃣ Intelligent Trend Confirmation
The MLMA "learns" from recent price movements instead of blindly following a fixed-length average.
It incorporates ADX & RSI trend filtering to reduce noise & false signals.
📍 3️⃣ Dynamic Color-Coding for Trend Strength
Strong trends trigger more vivid colors, mimicking confidence levels in machine learning models.
Weaker trends appear faded, suggesting uncertainty.
🎯 Why Use the MLMA?
✅ Pros
✔ Combines multiple trend indicators (MA, ADX, RSI, BB).
✔ Automatically adjusts to market conditions.
✔ Filters out weak trends, making it more reliable.
✔ Visually intuitive (gradient colors & reversal arrows).
✔ Works across all timeframes and assets.
⚠️ Cons
❌ Not a standalone strategy → Best used with volume confirmation or candlestick analysis.
❌ Can lag slightly in fast-moving markets (due to smoothing).
Session Highs and Lows (Custom Time Range) Choose your own custom H/L for custom session parameters.
Has inside day, outside day, above/below prior day biases displayed as well.
Volume Delta with Bollinger Bands [EMA]TL;DR
This indicator displays a “Volume Delta” candle chart based on a lower timeframe approximation of up vs. down volume. Bollinger Bands (using an EMA and a configurable standard deviation multiplier) highlight when Volume Delta exceeds typical volatility thresholds. Green bars will darken when Volume Delta is above the upper Bollinger band, and red bars will darken when Volume Delta is below the lower Bollinger band. You can optionally include wicks in the Bollinger calculations. Note : TradingView uses tick-based volume data, so these values may not precisely match true market orders.
What Is Volume Delta ?
• Volume Delta is a metric that identifies buying vs. selling activity in a market by distinguishing between orders transacting at the ask (buy volume) and orders transacting at the bid (sell volume).
• A positive Volume Delta indicates more buy volume during a bar, while a negative Volume Delta indicates more sell volume.
How TradingView Calculates Volume Delta
• TradingView relies on tick data to approximate up/down volume. This may not perfectly capture true order-flow distribution, particularly on higher timeframes or illiquid symbols.
• While it can provide useful insights into volume flow, keep in mind the underlying data’s limitations.
Key Features of This Indicator
1. Automatic or Custom Lower Timeframe Data
• The script can automatically select a lower timeframe for Volume Delta, or you can manually specify one in the settings.
2. Bollinger Bands on Volume Delta
• Uses an EMA of the Volume Delta (or a wick-based average) and calculates a standard deviation.
• The upper and lower bands highlight when activity deviates from typical volatility.
3. Configurable Wick Inclusion
• Decide whether to use only the “close” (lastVolume) of the Volume Delta bar or the average of its wicks ((maxVolume + minVolume) / 2) for Bollinger calculations.
4. Dynamic Bar Colors
• Positive Volume Delta bars turn dark green if they exceed the upper Bollinger band, otherwise lighter green .
• Negative Volume Delta bars turn dark red if they fall below the lower Bollinger band, otherwise lighter red .
How To Use
1. Add the Indicator to Your Chart
• Apply it to any symbol and timeframe in TradingView.
• Configure the lower timeframe for Volume Delta if desired.
2. Adjust Bollinger Settings
• Bollinger Length defines the EMA and standard deviation period.
• Bollinger Multiplier sets how far the bands lie from the EMA.
3. Choose Whether To Use Wicks
• Toggle to use the average of high/low for a potentially more volatile reading.
• Turn it off to rely solely on the Volume Delta “close.”
4. Interpret the Signals
• Dark Green Above the Upper Band : Suggests strong buying pressure above normal.
• Lighter Green : Positive but within typical volatility bounds.
• Dark Red Below the Lower Band : Suggests strong selling pressure below normal.
• Lighter Red : Negative but within typical volatility.
Important Caveats
• TradingView Volume Data : Tick-based and aggregated data may not reflect actual order-flow precisely.
• Context Matters : Combine Volume Delta with other forms of analysis (price action, support/resistance, etc.) to form a more comprehensive strategy.
Multi-Indicator Trading StrategyKey Features of the Script:
Moving Averages (MA):
Uses a fast and slow SMA to identify trends.
Generates buy/sell signals based on crossovers.
Relative Strength Index (RSI):
Identifies overbought and oversold conditions.
Filters trade to avoid entering during extreme conditions.
MACD:
Confirms momentum with MACD line and signal line crossovers.
Risk Management:
Optional stop loss and take profit levels.
Customizable percentages for risk management.
Backtesting:
The script is designed to backtest historical data.
Trades are executed based on the defined conditions.
VWAP Bands with ML [CryptoSea]VWAP Machine Learning Bands is an advanced indicator designed to enhance trading analysis by integrating VWAP with a machine learning-inspired adaptive smoothing approach. This tool helps traders identify trend-based support and resistance zones, predict potential price movements, and generate dynamic trade signals.
Key Features
Adaptive ML VWAP Calculation: Uses a dynamically adjusted SMA-based VWAP model with volatility sensitivity for improved trend analysis.
Forecasting Mechanism: The 'Forecast' parameter shifts the ML output forward, providing predictive insights into potential price movements.
Volatility-Based Band Adjustments: The 'Sigma' parameter fine-tunes the impact of volatility on ML smoothing, adapting to market conditions.
Multi-Tier Standard Deviation Bands: Includes two levels of bands to define potential breakout or mean-reversion zones.
Dynamic Trend-Based Colouring: The VWAP and ML lines change colour based on their relative positions, visually indicating bullish and bearish conditions.
Custom Signal Detection Modes: Allows traders to choose between signals from Band 1, Band 2, or both, for more tailored trade setups.
In the image below, you can see an example of the bands on higher timeframe showing good mean reversion signal opportunities, these tend to work better in ranging markets rather than strong trending ones.
How It Works
VWAP & ML Integration: The script computes VWAP and applies a machine learning-inspired adjustment using SMA smoothing and volatility-based adaptation.
Forecasting Impact: The 'Forecast' setting shifts the ML output forward in time, allowing for anticipatory trend analysis.
Volatility Scaling (Sigma): Adjusts the ML smoothing sensitivity based on market volatility, providing more responsive or stable trend lines.
Trend Confirmation via Colouring: The VWAP line dynamically switches colour depending on whether it is above or below the ML output.
Multi-Level Band Analysis: Two standard deviation-based bands provide a framework for identifying breakouts, trend reversals, or continuation patterns.
In the example below, we can see some of the most reliable signals where we have mean reversion signals from the band whilst the price is also pulling back into the VWAP, these signals have the additional confluence which can give you a higher probabilty move.
Alerts
Bullish Signal Band 1: Alerts when the price crosses above the lower ML Band 1.
Bearish Signal Band 1: Alerts when the price crosses below the upper ML Band 1.
Bullish Signal Band 2: Alerts when the price crosses above the lower ML Band 2.
Bearish Signal Band 2: Alerts when the price crosses below the upper ML Band 2.
Filtered Bullish Signal: Alerts when a bullish signal is triggered based on the selected signal detection mode.
Filtered Bearish Signal: Alerts when a bearish signal is triggered based on the selected signal detection mode.
Application
Trend & Momentum Analysis: Helps traders identify key market trends and potential momentum shifts.
Dynamic Support & Resistance: Standard deviation bands serve as adaptive price zones for potential breakouts or reversals.
Enhanced Trade Signal Confirmation: The integration of ML smoothing with VWAP provides clearer entry and exit signals.
Customizable Risk Management: Allows users to adjust parameters for fine-tuned signal detection, aligning with their trading strategy.
The VWAP Machine Learning Bands indicator offers traders an innovative tool to improve market entries, recognize potential reversals, and enhance trend analysis with intelligent data-driven signals.
200MA x3 Investor Tool with Undervaluation LineThis is the 200 day moving average with a 3x take profit line and a 2x undervalued line. Great for pretty much all volitile assets.
Simplified Trading Alpha Inspired IndicatorThis Pine Script creates a visual trading indicator that uses blue and red dots to represent short-term and long-term Simple Moving Averages (SMAs) respectively, combined with RSI dots for confirmation. It signals potential buy or sell points based on SMA crossovers, RSI overbought/oversold conditions, and volume spikes.
Instantaneous Trendline with Cloud Instantaneous Trendline with Cloud
Introduction & History
The Instantaneous Trendline was introduced by John Ehlers, a well-known figure in the field of technical analysis, particularly for applying digital signal processing concepts to financial markets. Ehlers aimed to create an indicator that reacts to market price changes more quickly than traditional moving averages, yet remains smooth enough to avoid excessive noise. By incorporating concepts from digital filtering, he devised a formula that calculates a trendline with minimal lag—hence the term “instantaneous.”
Purpose
The primary purpose of the Instantaneous Trendline with Cloud is to provide traders and analysts with a responsive, smoothed line that closely follows market price movements. Additionally, this script enhances the visual cues by adding a cloud fill to highlight bullish and bearish zones:
Trend Identification
The ITL (Instantaneous Trendline) is plotted alongside the price. When price consistently stays above the ITL, it may signal an uptrend. Conversely, when price dips below the ITL, it can suggest a downtrend.
Signal Generation
Crossover points between the price and the ITL can serve as potential entry or exit signals. A bullish crossover (price moving above the ITL) often indicates the start of upward momentum, while a bearish crossover (price dropping below the ITL) may point to downward momentum.
Noise Reduction
By applying digital filtering concepts and smoothing through the alpha (smoothing coefficient), the ITL reduces noise while still responding relatively quickly to price changes. Traders can adjust alpha to make the trendline more reactive (higher alpha) or smoother (lower alpha).
Clarity via Cloud Fill
A color-coded cloud between the price and the ITL provides an at-a-glance view of market bias. The green cloud highlights potentially bullish phases, while the red cloud highlights potentially bearish phases.
Experiment with the alpha value (commonly between 0.2 and 0.3) to find a balance that suits your preference for responsiveness versus smoothness.
This indicator implements John Ehlers’ Instantaneous Trendline concept and plots a smoothed trendline (ITL) alongside the price. The trendline is controlled by a user-defined smoothing coefficient (alpha). A higher alpha makes the trendline respond more quickly to price changes, while a lower alpha produces a smoother line.
A color-filled cloud helps traders identify bullish and bearish conditions:
Green cloud if the price is above the ITL (bullish potential).
Red cloud if the price is below the ITL (bearish potential).
Key Benefits
Trend Visualization: Quickly see if the market is in an uptrend or downtrend based on the position of the price relative to the trendline.
Crossover Signals: Identify potential shifts in trend or momentum when the price crosses the ITL.
Customizable Sensitivity: Adjust the alpha parameter to make the ITL more or less reactive to price moves. Use this tool to better visualize short-term trend changes and potential entry/exit signals in conjunction with other technical analysis methods.
BB ATR Fractal MMThe Bollinger Bands + ATR with Fractal indicator is a powerful combination of Bollinger Bands, ATR (Average True Range), and Fractal to help identify market volatility and potential entry/exit points on the chart.
Bollinger Bands help to assess the market’s volatility by calculating upper and lower bands based on the simple moving average (SMA) and standard deviation. It’s an excellent tool for identifying overbought and oversold conditions.
ATR (Average True Range) is used to measure market volatility. It helps determine how much the price is moving, and it can be used to adjust the Bollinger Bands, creating bands that reflect the current volatility more accurately.
Fractal helps to identify peaks and troughs in the market, supporting decision-making by highlighting potential reversal points. Fractals mark regions where price may reverse direction, making it easier to spot possible trade opportunities.
How to Use:
Bollinger Bands Upper and Lower Bands: These bands help to identify overbought or oversold conditions. If the price breaks above the upper band, the market may be overbought. If the price breaks below the lower band, the market may be oversold.
ATR: It indicates the volatility level of the market. When the market shows large volatility (ATR increases), the Bollinger Bands expand to reflect higher price swings.
Fractal: Arrows appear at the market’s peaks and troughs, helping identify entry points for buying (at fractal lows) or selling (at fractal highs). These signals can help you make trading decisions based on potential price reversals.
Simple Buy/Sell Indicator: gordonatedThis chart displays the performance trends of two Simple Moving Averages (SMAs) over time, with a short-term SMA in blue and a long-term SMA in red. Buy signals are marked by green labels where the short-term SMA crosses above the long-term SMA, suggesting potential entry points for traders. Conversely, sell signals are indicated by red labels where the short-term SMA crosses below the long-term SMA, signaling potential exit points or bearish trends. The chart helps visualize momentum and potential trend reversals in price movements.
IFR2 e Cruzamento de Média v1.4 podendo selecionar uma.Strategy for IFR2 and Moving Average crossovers
Strategy for backtesting IFR2 or moving average crossovers
At the exit of the trade, a box appears stating: the reason for the exit:
Green for Take Profit (TP)
Red for Stop Loss (ST)
BLUE for the number of IFR2 candles reached (CD)
PURPLE for Crossing Averages (CZ)
in this box you can also enter the number of tkts and the percentage of the trade taken and the trade number TR = XX
For IFR trades, you can select the IFR2 PERIOD and level and the number of candles to close the trade if it is not closed by TP or LOSS.
When you select the moving average crossover entry, you can choose the period of the fast average and the slow average, in both cases you can select a mm as a filter for the trade entry and the period of this mm.
You can also choose a percentage for TAke Profit and Sop Loss.
We can also select a date to start the Back Test and an end date.
Translated with www.DeepL.com (free version)
Explicação em português:
Estratégia para IFR2 e cruzamento de Media Movel
Estratégia para backTest de IFR2 ou Cruzamento da média Movel
Na saída da operação mostra uma caixa informando: o motivo da saída:
Verde para Take Profit (TP)
Vermelho para Stop Loss (ST)
AZUL para número de candles atingido IFR2 (CD)
Roxo para Cruzamento de Médias (CZ)
nesta caixa ainda informa o numero de tkts e o porcentual da operação realizada e o numero do trade TR = XX
Nas operações por IFR podemos selecionar o PERIODO do e o nivel do IFR2 e a quantidade de candles para fechar a operação se não for fechado por TP ou LOSS.
Quando selecionado a entrada por cruzamento de media movel, podemos escolher o período da media rápida e da média lenta, em ambos os casos podemos selecionar uma mm como filtro para entrada da operação e o período desta mm.
Podemos ainda escolher um porcentual para TAke Profit e Sop Loss.
E ainda selecionar uma data para iniciar o Back Test e uma data final.
TOTAL3/BTC This Pine Script™ code, named "TOTAL3/BTC with Arrow," is designed for cryptocurrency analysis on TradingView.
This script essentially provides a visual tool for traders to gauge when altcoins might be gaining or losing ground relative to Bitcoin through moving average analysis and color-coded trend indication.
Intention was to help the community with a script based on classic TA only.
Use it with SASDv2r indicator.
Feel free to make it better. If you did so, please let me know.
Main elements:
Data Fetching: It retrieves market cap data for all cryptocurrencies excluding Bitcoin and Ethereum (TOTAL3) and for Bitcoin (BTC).
Ratio Calculation: The script calculates the ratio of TOTAL3 to BTC market caps, which indicates how altcoins (excluding ETH) are performing relative to Bitcoin.
Plotting the Ratio: This ratio is plotted on the chart with a blue line, allowing traders to see the relative performance visually.
Moving Averages: Two Simple Moving Averages (SMA) are calculated for this ratio, one for 20 periods (ma20) and another for 50 periods (ma50), though these are not plotted in the current version of the code.
Reference Lines: Horizontal lines are added at ratios of 0.3 and 0.8 to serve as visual equilibrium points or thresholds for analysis.
Complex Moving Average: The script uses constants (len, len2, cc, smoothe) from another script, suggesting it's adapting or simplifying another's logic for multi-timeframe analysis.
Average Calculation: Two SMAs (avg and avg2) are computed using the constants defined, focusing on different lengths for trend analysis.
Direction Determination: It checks if the moving average is trending up or down by comparing the current value with its value smoothe bars earlier.
Color Coding: The color of the plotted moving average changes based on its direction (lime for up, red for down, aqua if no clear direction), aiding in quick visual interpretation of trends.
Plotting: Finally, the script plots this multi-timeframe moving average with a dynamic color to reflect the current market trend of the TOTAL3/BTC ratio, with a thicker line for visibility.
SASDv2rSensitive Altcoin Season Detector V2
This Pine Script™ code, titled "SASDv2r" (Sensitive Altcoin Season Detector version 2 revised), is designed for cryptocurrency trading analysis on the TradingView platform and tailored for those interested in tracking when altcoins might be outperforming Bitcoin, potentially indicating a market shift towards altcoins.
Feel free to use and modify. If you made it better, please let me know. Intention was to help the community with a tool for retail traders have no access to advanced, MV indicators. Solution uses classic TA only.
Use it witl TOTAL3/BTC indicator.
Please check: it gave signal just before last alt season % rose more than 250%.
Market Cap Data Fetching: The script fetches market capitalization data for Bitcoin, Ethereum, and all other altcoins (excluding Bitcoin and Ethereum) using request.security function.
Altcoin to Bitcoin Ratio: It calculates the ratio of total market cap of altcoins to Bitcoin's market cap (altToBtcRatio), which is central to identifying an "altcoin season."
Moving Averages: Several moving averages are computed for different time frames (50-day SMA, 200-day SMA, 20-day SMA, and 10-day EMA) to analyze trends in the altcoin to Bitcoin ratio.
Momentum Indicators: The script uses RSI (Relative Strength Index) and MACD (Moving Average Convergence Divergence) to gauge momentum and potential reversal points in the market.
Custom Indicators: It includes Volume Weighted Moving Average (VWMA) and a custom momentum indicator (altMomentum and altMomentumAvg) to provide additional insights into market movements.
Volatility Measurement: Bollinger Bands are calculated to assess volatility in the altcoin to Bitcoin ratio, which helps identify periods of high or low market activity.
Visual Analysis: Various plots are added to the chart for visual interpretation, including the altcoin to Bitcoin ratio, different moving averages, and Bollinger Bands.
Alt Season Detection: The script defines conditions for detecting when an "altcoin season" might be starting, based on crossovers of moving averages, RSI levels, MACD signals, and other custom criteria.
Performance Tracking: After signaling an alt season, the script evaluates the performance over the next 30 days by checking if there's been an increase in the altcoin to Bitcoin ratio, adding labels for positive or negative trends.(this one is in progress). Logic still gives false signals and aim is to identify failed signals.
Visual Signals: Labels are placed on the chart to visually indicate the beginning of a potential alt season or the performance outcome after a signal, aiding traders in making informed decisions.