Chaikin Money Flow with Moving AverageThis indicator combines the Chaikin Money Flow (CMF) with a moving average, helping traders analyze buying/selling pressure and whether it's increasing or decreasing.
What It Does:
Chaikin Money Flow (CMF) developed by Marc Chaikin is a volume-weighted average of accumulation and distribution over a specified period.
A moving average is applied to CMF to reduce noise and smooth trends, making it easier to identify sustained market sentiment shifts.
How to Use It?
CMF helps confirm trend strength and potential reversals. We reduces false signals from CMF by smoothing fluctuations and making it easier to spot trends.
A CMF value above zero is a sign of strength, and a value below zero is a sign of weakness.
A rising price with a falling CMF (below moving average) is a bearish divergence and a possible reversal of the uptrend.
Similarly, a falling price with a rising CMF (above moving average) is a bullish divergence and again signals a possible reversal of the downtrend.
Configurable Parameters:
CMF Length: Adjusts how many periods are used for CMF calculation.
MA Type: Choose between SMA, EMA, WMA, VWMA, or T3 for smoothing.
MA Length: Controls how much smoothing is applied.
This tool is great for traders looking to improve volume-based trend analysis while filtering out short-term noise.
Indicators and strategies
Jumbalika BandsThis indicator is designed using several common technical analysis tools: Bollinger Bands, Exponential Moving Averages (EMAs), and the Parabolic SAR. I'll walk you through each section to explain how it works and how you can use it:
1. Bollinger Bands
Bollinger Bands are used to measure volatility and overbought/oversold conditions. It consists of three lines:
Basis (Middle Line): A simple moving average (SMA) of the price over a defined period (in this case, 20 periods).
Upper Band: The basis plus a certain number of standard deviations. It represents the upper boundary of expected price movement.
Lower Band: The basis minus the same number of standard deviations. It represents the lower boundary of expected price movement.
Interpretation:
Overbought: If the price moves above the upper band, it could signal that the asset is overbought.
Oversold: If the price moves below the lower band, it could signal that the asset is oversold.
Volatility: A wider band indicates higher volatility, and a narrower band indicates lower volatility.
2. Exponential Moving Averages (EMAs)
The indicator plots four different EMAs:
9-period EMA: This is a short-term trend indicator.
20-period EMA on Close: This is another medium-term trend indicator, based on the close price.
20-period EMA on High: A variation of the 20-period EMA, but based on the high prices.
20-period EMA on Low: A variation of the 20-period EMA, but based on the low prices.
Interpretation:
9 EMA: A faster-moving average that responds quicker to price changes. It can be used to identify short-term trends.
20 EMA: A slower-moving average that reacts more gradually to price changes. It helps identify the broader trend.
High/Low EMAs: These give additional insights into the extremes of price action, which can help identify possible support or resistance levels.
Trading signals (common usage):
Crossover: When a shorter EMA (like the 9 EMA) crosses above a longer EMA (like the 20 EMA), it could be a bullish signal. When it crosses below, it could be a bearish signal.
3. Parabolic SAR
The Parabolic SAR is a trend-following indicator that is used to identify potential price reversals. The Parabolic SAR is plotted as a series of dots either above or below the price, depending on the trend:
Below the price: The trend is up (bullish).
Above the price: The trend is down (bearish)
4. Background Coloring (Optional)
The background will change color when the price crosses the Bollinger Bands:
Green background when the price is above the upper Bollinger Band.
Red background when the price is below the lower Bollinger Band.
Adjust the values for Bollinger Bands, EMAs, and Parabolic SAR directly in the indicator settings to suit your trading preferences.
Bollinger Bands: If the price is above the upper band, it might indicate an overbought condition, while if it's below the lower band, it might indicate an oversold condition.
EMAs: The 9 EMA is often used to track short-term trends, while the 20-period EMAs (on the close, high, and low) help analyze the broader market trend.
Parabolic SAR: The Parabolic SAR is often used to identify trend reversals. If the SAR is below the price, the trend is up, and if it's above the price, the trend is down.
Background Color: The background coloring helps visually highlight potential market conditions when the price breaks out of the Bollinger Bands.
Example Use Case:
Decide the trend based on the parabolic SAR, when the bar touches the upper or lower Bollinger take a short or long position based on the price action using EMAs.
Multiple Timeframe LevelsThe multiple timeframe levels indicator plots the following lines on your chart:
Previous day's high, low, and midpoint
Previous week's high, low, and midpoint
Previous month's high, low, and midpoint
Overnight session high, low, and midpoint
This indicator makes it easy to plot the high timeframe levels on your chart so that you can focus on your preferred timeframe for trading. This can be used however you see fit. These levels are great for finding support and resistance, setting your stop losses and take profits, looking for reversals, etc.
You can customize this script my enabling/disabling the timeframe's high/low or midpoint as well as the color.
Custom SL/TP ZonesThe "Please Don't Stop Me Now" Indicator 📊
Ever found yourself staring at a chart, thinking "This is DEFINITELY the bottom!" only to watch your stop loss get hit faster than your ex replacing you? Well, this indicator won't stop that from happening, but at least you'll know exactly where you're going to be wrong! 🎯
How it works:
See a setup you like? Pick your candle of choice (make sure it's closed - we're not fortune tellers here)
Hit either Bull or Bear (choose wisely, or don't - we all know it's 50/50 anyway)
3. Marvel at the beautiful boxes showing your:
Take Profit Zone (where you'll exit too early)
Stop Loss Zone (where you'll probably exit, let's be honest)
Features:
Uses ATR for dynamic zones because "one size fits all" only works in disappointing Halloween costumes
Extends 10 bars into the future, giving you plenty of time to watch your prediction go wrong
Price labels included so you know exactly where to set your alerts (and subsequently ignore them)
Customizable multipliers for when you're feeling extra brave (or foolish)
Clean interface that won't distract you from your bad decisions
Remember: The market can stay irrational longer than you can stay solvent, but at least with this indicator, you'll know exactly where your rationality ends and your "This time it's different" begins!
Happy Trading! (Results may vary, tears not included)
Settings:
TP Multiplier: How far to your dreams (Default: 4.0)
SL Multiplier: How far to your nightmares (Default: 2.0)
Bar Offset: Pick your poison (1 = last closed bar)
Colors: Because trading isn't painful enough in grayscale
BuyPrice TrackerDescription:
This custom indicator is designed to help traders and investors track the performance of multiple stocks relative to their specified buy prices. It offers a visual representation of price changes and percentage gains or losses, making it easier to monitor your portfolio at a glance.
Key Features:
1. Multiple Stock Tracking: Monitor up to 15 different stocks simultaneously.
2. Custom Buy Prices: Set individual buy prices for each stock you're tracking.
3. Dynamic Price Line: A yellow dotted line appears on the chart to mark your buy price.
4. Real-time Updates: The indicator updates with each new price bar, providing current information.
5. Percentage Change Display: Clearly shows the percentage change from your buy price to the current price.
6. Color-Coded Labels: Green for positive changes, red for negative, allowing for quick visual assessment.
7. Customizable Label Position: Choose between top-right or top-left corner of the chart for the information label.
8. Adjustable Text Size: Customize the size of the text in the label for better visibility.
9. Buy Price Scale Label: Displays your buy price directly on the price scale for easy reference.
How It Works:
Enter your stock symbols and corresponding buy prices in the indicator settings.
The indicator will display a yellow dotted line at your buy price for the current chart.
A label will appear showing the stock symbol, your buy price, and the current percentage change.
The label updates in real-time as prices change, allowing you to monitor performance instantly.
Benefits:
Effortlessly track multiple positions in your portfolio.
Quickly identify which stocks are performing well and which might need attention.
Make informed decisions about holding, selling, or buying more based on clear visual cues.
Customize the display to suit your trading style and chart setup.
This indicator is perfect for active traders managing multiple positions, long-term investors tracking their portfolio performance, or anyone looking to keep a close eye on specific price levels in the market.
Note: This indicator works best when applied to the specific stock charts you're tracking. Make sure to input the correct stock symbols and buy prices in the indicator settings for accurate results.
Median / Averages from Lower Time-Frame TicksI've added/created this to give me a more accurate idea of candle movements - I use the MEDIAN average of a candle, which gives me a more accurate "description" of where the candle spent most of it's time 'hovering', over that time frame. The beauty of this is how it REDUCES NOISE, espeicially long wicks, or candles that spike at the moment of a close, skewing a 'normalized' candle's result.
Due to how the Median Calculation works, changing the 'candle timeframe' in options will have no effect - that is available as an option for some of the more traditional MA's, which you can toggle between in the settings... it can also display traditional MA's - SMA, HMA, WMA, and the HLC/3 which I was using up until this point.
This is a 'Line Chart' version of this indicator; I intend to update it with a 'normalized', custom drawn candle based on this method.
The MEDIAN of a candle is a value based on the following;
it lines all values up over a time frame, then takes the value closest to the centre of the array as the 'median'. I'll provide a working example.
imagine we have a candle with 5 values;
it opens at 2, spikes up to 1, spikes down to 10, then spends the entire time hovering at 3 and 4 until it's close. Our array looks like this;
1,2,3,4,100
now, the "average" of these candles is (1+2+3+4+100) / 5 = 22
when the "median" of these candles is the centre value of the array, which is 3.
The candle spent 99% of it's time between 1 and 4 - and spiked for one moment to 100... so now the median gives me a better idea of where the price spent most of it's time, in this instance.
This becomes more skewed, and therefore more accurate, the more values in a candle - and the minute chart on the hourly is a good baseline that gives pretty fair values, without being overly taxing on the machine that needs to make those calculations.
Caveat: I Trade on the Hourly/Daily, so the medians are taken from Minute Candles - thus this will effectively be 'no good' for 1 minute time-frames, (it will simply draw at the Close) but will still have some value down to 15 minute, or even 5 minute charts.
ORB-5Min + Adaptive 12/48 EMA + PDH/PDL
Overview:
This indicator combines the 5-Minute Opening Range Breakout (ORB), Adaptive 12/48 Exponential Moving Averages (EMAs), and Previous Day High/Low (PDH/PDL) levels to help traders identify key intraday levels and market trends.
Key Components and Logic:
5-Minute Opening Range Breakout (ORB):
Displays the high and low from the first 5-minute candle of the trading session.
Includes customizable opacity for the range fill.
Helps traders spot breakout opportunities and key support/resistance zones.
Adaptive 12/48 EMA System:
Displays EMAs for 9, 12, 48, and 200 periods.
The 12 EMA changes color based on whether the price is entirely above or below it.
The 48 EMA changes color depending on its relationship with the 12 EMA.
Provides dynamic trend identification and potential entry/exit signals.
Previous Day High/Low (PDH/PDL):
Displays the previous day’s high and low levels.
Useful for tracking key intraday support/resistance levels and potential reversal points.
Summary:
This script stands out by blending three popular intraday tools into a single comprehensive indicator. The combined visualization provides a layered market context that assists traders in making informed decisions quickly. The color-adaptive EMAs add clarity to trend direction, while the ORB and PDH/PDL levels highlight significant price zones for breakout or reversal trades.
How to Use:
Breakout Trades: Watch for price breaks above the ORB high or below the ORB low, especially when supported by EMA trends.
Trend Confirmation: Use the color-adaptive 12/48 EMA system to gauge momentum and market direction.
Reversal or Continuation: Observe how price reacts around PDH/PDL levels, especially if confluence with EMAs occurs.
This indicator is suitable for day traders seeking a clear and efficient way to track market structure, identify trends, and spot potential trade opportunities during regular market hours.
Bitcoin Log Growth Curve OscillatorThis script presents the oscillator version of the Bitcoin Logarithmic Growth Curve 2024 indicator, offering a new perspective on Bitcoin’s long-term price trajectory.
By transforming the original logarithmic growth curve into an oscillator, this version provides a normalized view of price movements within a fixed range, making it easier to identify overbought and oversold conditions.
For a comprehensive explanation of the mathematical derivation, underlying concepts, and overall development of the Bitcoin Logarithmic Growth Curve, we encourage you to explore our primary script, Bitcoin Logarithmic Growth Curve 2024, available here . This foundational script details the regression-based approach used to model Bitcoin’s long-term price evolution.
Normalization Process
The core principle behind this oscillator lies in the normalization of Bitcoin’s price relative to the upper and lower regression boundaries. By applying Min-Max Normalization, we effectively scale the price into a bounded range, facilitating clearer trend analysis. The normalization follows the formula:
normalized price = (upper regresionline − lower regressionline) / (price − lower regressionline)
This transformation ensures that price movements are always mapped within a fixed range, preventing distortions caused by Bitcoin’s exponential long-term growth. Furthermore, this normalization technique has been applied to each of the confidence interval lines, allowing for a structured and systematic approach to analyzing Bitcoin’s historical and projected price behavior.
By representing the logarithmic growth curve in oscillator form, this indicator helps traders and analysts more effectively gauge Bitcoin’s position within its long-term growth trajectory while identifying potential opportunities based on historical price tendencies.
AO/AC Trading Zones Strategy [Skyrexio] Overview
AO/AC Trading Zones Strategy leverages the combination of Awesome Oscillator (AO), Acceleration/Deceleration Indicator (AC), Williams Fractals, Williams Alligator and Exponential Moving Average (EMA) to obtain the high probability long setups. Moreover, strategy uses multi trades system, adding funds to long position if it considered that current trend has likely became stronger. Combination of AO and AC is used for creating so-called trading zones to create the signals, while Alligator and Fractal are used in conjunction as an approximation of short-term trend to filter them. At the same time EMA (default EMA's period = 100) is used as high probability long-term trend filter to open long trades only if it considers current price action as an uptrend. More information in "Methodology" and "Justification of Methodology" paragraphs. The strategy opens only long trades.
Unique Features
No fixed stop-loss and take profit: Instead of fixed stop-loss level strategy utilizes technical condition obtained by Fractals and Alligator to identify when current uptrend is likely to be over. In some special cases strategy uses AO and AC combination to trail profit (more information in "Methodology" and "Justification of Methodology" paragraphs)
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Multilayer trades opening system: strategy uses only 10% of capital in every trade and open up to 5 trades at the same time if script consider current trend as strong one.
Short and long term trend trade filters: strategy uses EMA as high probability long-term trend filter and Alligator and Fractal combination as a short-term one.
Methodology
The strategy opens long trade when the following price met the conditions:
1. Price closed above EMA (by default, period = 100). Crossover is not obligatory.
2. Combination of Alligator and Williams Fractals shall consider current trend as an upward (all details in "Justification of Methodology" paragraph)
3. Both AC and AO shall print two consecutive increasing values. At the price candle close which corresponds to this condition algorithm opens the first long trade with 10% of capital.
4. If combination of Alligator and Williams Fractals shall consider current trend has been changed from up to downtrend, all long trades will be closed, no matter how many trades has been opened.
5. If AO and AC both continue printing the rising values strategy opens the long trade on each candle close with 10% of capital while number of opened trades reaches 5.
6. If AO and AC both has printed 5 rising values in a row algorithm close all trades if candle's low below the low of the 5-th candle with rising AO and AC values in a row.
Script also has additional visuals. If second long trade has been opened simultaneously the Alligator's teeth line is plotted with the green color. Also for every trade in a row from 2 to 5 the label "Buy More" is also plotted just below the teeth line. With every next simultaneously opened trade the green color of the space between teeth and price became less transparent.
Strategy settings
In the inputs window user can setup strategy setting:
EMA Length (by default = 100, period of EMA, used for long-term trend filtering EMA calculation).
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Let's explore the key concepts of this strategy and understand how they work together. We'll begin with the simplest: the EMA.
The Exponential Moving Average (EMA) is a type of moving average that assigns greater weight to recent price data, making it more responsive to current market changes compared to the Simple Moving Average (SMA). This tool is widely used in technical analysis to identify trends and generate buy or sell signals. The EMA is calculated as follows:
1.Calculate the Smoothing Multiplier:
Multiplier = 2 / (n + 1), Where n is the number of periods.
2. EMA Calculation
EMA = (Current Price) × Multiplier + (Previous EMA) × (1 − Multiplier)
In this strategy, the EMA acts as a long-term trend filter. For instance, long trades are considered only when the price closes above the EMA (default: 100-period). This increases the likelihood of entering trades aligned with the prevailing trend.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
Fractals, another tool by Bill Williams, help identify potential reversal points on a price chart. A fractal forms over at least five consecutive bars, with the middle bar showing either:
Up Fractal: Occurs when the middle bar has a higher high than the two preceding and two following bars, suggesting a potential downward reversal.
Down Fractal: Happens when the middle bar shows a lower low than the surrounding two bars, hinting at a possible upward reversal.
Traders often use fractals alongside other indicators to confirm trends or reversals, enhancing decision-making accuracy.
How do these tools work together in this strategy? Let’s consider an example of an uptrend.
When the price breaks above an up fractal, it signals a potential bullish trend. This occurs because the up fractal represents a shift in market behavior, where a temporary high was formed due to selling pressure. If the price revisits this level and breaks through, it suggests the market sentiment has turned bullish.
The breakout must occur above the Alligator’s teeth line to confirm the trend. A breakout below the teeth is considered invalid, and the downtrend might still persist. Conversely, in a downtrend, the same logic applies with down fractals.
In this strategy if the most recent up fractal breakout occurs above the Alligator's teeth and follows the last down fractal breakout below the teeth, the algorithm identifies an uptrend. Long trades can be opened during this phase if a signal aligns. If the price breaks a down fractal below the teeth line during an uptrend, the strategy assumes the uptrend has ended and closes all open long trades.
By combining the EMA as a long-term trend filter with the Alligator and fractals as short-term filters, this approach increases the likelihood of opening profitable trades while staying aligned with market dynamics.
Now let's talk about the trading zones concept and its signals. To understand this we need to briefly introduce what is AO and AC. The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator designed to measure market momentum by contrasting recent price movements with a longer-term historical perspective. It helps traders detect potential trend reversals and assess the strength of ongoing trends.
The formula for AO is as follows:
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
The Acceleration/Deceleration (AC) Indicator, introduced by Bill Williams, measures the rate of change in market momentum. It highlights shifts in the driving force of price movements and helps traders spot early signs of trend changes. The AC Indicator is particularly useful for identifying whether the current momentum is accelerating or decelerating, which can indicate potential reversals or continuations. For AC calculation we shall use the AO calculated above is the following formula:
AC = AO − SMA5(AO) , where SMA5(AO)is the 5-period Simple Moving Average of the Awesome Oscillator
When the AC is above the zero line and rising, it suggests accelerating upward momentum.
When the AC is below the zero line and falling, it indicates accelerating downward momentum.
When the AC is below zero line and rising it suggests the decelerating the downtrend momentum. When AC is above the zero line and falling, it suggests the decelerating the uptrend momentum.
Now let's discuss the trading zones concept and how it can create the signal. Zones are created by the combination of AO and AC. We can divide three zone types:
Greed zone: when the AO and AC both are rising
Red zone: when the AO and AC both are decreasing
Gray zone: when one of AO or AC is rising, the other is falling
Gray zone is considered as uncertainty. AC and AO are moving in the opposite direction. Strategy skip such price action to decrease the chance to stuck in the losing trade during potential sideways. Red zone is also not interesting for the algorithm because both indicators consider the trend as bearish, but strategy opens only long trades. It is waiting for the green zone to increase the chance to open trade in the direction of the potential uptrend. When we have 2 candles in a row in the green zone script executes a long trade with 10% of capital.
Two green zone candles in a row is considered by algorithm as a bullish trend, but now so strong, that's the reason why trade is going to be closed when the combination of Alligator and Fractals will consider the the trend change from bullish to bearish. If id did not happens, algorithm starts to count the green zone candles in a row. When we have 5 in a row script change the trade closing condition. Such situation is considered is a high probability strong bull market and all trades will be closed if candle's low will be lower than fifth green zone candle's low. This is used to increase probability to secure the profit. If long trades are initiated, the strategy continues utilizing subsequent signals until the total number of trades reaches a maximum of 5. Each trade uses 10% of capital.
Why we use trading zones signals? If currently strategy algorithm considers the high probability of the short-term uptrend with the Alligator and Fractals combination pointed out above and the long-term trend is also suggested by the EMA filter as bullish. Rising AC and AO values in the direction of the most likely main trend signaling that we have the high probability of the fastest bullish phase on the market. The main idea is to take part in such rapid moves and add trades if this move continues its acceleration according to indicators.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.12.31. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 10%
Maximum Single Position Loss: -9.49%
Maximum Single Profit: +24.33%
Net Profit: +4374.70 USDT (+43.75%)
Total Trades: 278 (39.57% win rate)
Profit Factor: 2.203
Maximum Accumulated Loss: 668.16 USDT (-5.43%)
Average Profit per Trade: 15.74 USDT (+1.37%)
Average Trade Duration: 60 hours
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 4h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
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
Plot Closed Candles OnlyWhat It Does:
This indicator helps you see candlesticks on your chart only after they are fully closed. It colors the candles based on whether they are bullish (green), bearish (red), or neutral (black/Doji). This way, you can focus on confirmed price movements without the distraction of candles that are still forming.
Key Features:
Plots Confirmed Candles: Only shows candles after they are fully formed.
Custom Colors:
Green: Bullish candles (close > open).
Red: Bearish candles (close < open).
Black: Doji candles (close = open).
Easy to Use: Simply add the indicator to your chart.
How to Use:
Add the indicator to your chart.
Turn off the default candles by:
Right-clicking on the chart.
Going to Style > Candles.
Disabling borders, bodies, and wicks for the default candles.
Enjoy a cleaner view of confirmed candles with clear color coding!
Why Use It?:
Helps you focus on confirmed price action.
Makes it easier to spot bullish, bearish, and neutral candles.
Great for traders who want to avoid the noise of incomplete candles.
Buy on VolumeThis script has several weaknesses:
1. **Overly Simplistic Logic** – The buy signal is based on just two conditions (DEMA crossing above a Lorentzian Line and a volume spike), which may not be robust enough for real trading conditions.
2. **Lack of Sell Signals** – The script only focuses on buy signals without any exit strategy, making it incomplete for practical trading.
3. **Volume Confirmation May Be Unreliable** – The threshold for volume confirmation (50% above average) is arbitrary and may produce frequent false positives or fail in low-liquidity conditions.
4. **No Risk Management** – There is no stop-loss, take-profit, or risk-adjustment mechanism, making it unsuitable for serious trading.
5. **Potential for Late Entries** – The reliance on moving averages (DEMA) can introduce lag, causing buy signals to appear late after a price move has already occurred.
6. **Limited Adaptability** – The fixed parameter settings (e.g., DEMA period of 6, Lorentzian length of 21) may not work across different market conditions or assets.
7. **No Consideration for Market Trends** – The script does not account for broader market trends, which could lead to poor entries in bearish conditions.
8. **Visual Clutter** – The plotted signals and indicators might create unnecessary chart noise, making it difficult to analyze price action effectively.
9. **Alert Spam Potential** – Without additional filtering conditions, the script may trigger frequent buy alerts, leading to signal fatigue.
Full Moon and New Moon IndicatorThe Full Moon & New Moon Indicator is a custom Pine Script indicator which marks Full Moon (Pournami) and New Moon (Amavasya) events on the price chart. This indicator helps traders who incorporate lunar cycles into their market analysis, as certain traders believe these cycles influence market sentiment and price action. The current script is added for the year 2024 and 2025 and the dates are considered as per the Telugu calendar.
Features
✅ Identifies and labels Full Moon & New Moon days on the chart for the year 2024 and 2025
How it Works!
On a Full Moon day, it places a yellow label ("Pournami") above the corresponding candle.
On a New Moon day, it places a blue label ("Amavasya") above the corresponding candle.
Example Usage
When a Full Moon label appears, check for potential trend reversals or high volatility.
When a New Moon label appears, watch for market consolidation or a shift in sentiment.
Combine with candlestick patterns, support/resistance, or momentum indicators for a stronger trading setup.
🚀 Add this indicator to your TradingView chart and explore the market’s reaction to lunar cycles! 🌕
Peak Reaction Zones [BigBeluga]Peak Reaction Zones is an advanced Smart Money Concept (SMC) indicator that identifies the most recent swing high and swing low zones, helping traders determine premium and discount areas for optimal trade positioning.
🔵 Key Features:
Swing High & Low Zones:
Automatically detects the latest swing high and swing low levels.
Helps traders identify key reaction points where price is likely to respond.
Premium & Discount Concept:
The high zone represents a premium area, where price is overextended and may reverse.
The low zone represents a discount area, where price is undervalued and may bounce.
The midline dynamically marks the equilibrium of the range.
Adjustable Zone Width:
Users can fine-tune the width of the zones to match their trading style.
Wider zones capture broader reaction ranges, while narrower zones focus on precise levels.
Zone Retest Signals:
Blue markers appear when price retests the lower reaction zone, signaling potential support.
Orange markers appear when price retests the upper reaction zone, indicating possible resistance.
Price Labels for Key Levels:
Displays the price value of the swing high, swing low, and midline for quick reference.
Helps traders recognize major reaction points at a glance.
🔵 Usage:
Smart Money Trading: Utilize the premium and discount concept to align trades with institutional order flow.
Zone Reactions: Watch for price tests of reaction zones and use the retest signals to confirm potential reversals.
Midline Confirmation: If price holds above or below the midline, it can indicate directional bias.
Scalping & Swing Trading: Short-term traders can look for zone rejections, while swing traders can use the levels for trend continuation setups.
Peak Reaction Zones is a must-have tool for traders looking to trade with Smart Money Concepts, allowing for precise entries and exits based on key liquidity areas and market structure.
Effective FVG Indicator - ImranDescription:
The Effective FVG Indicator is a technical analysis tool designed to identify Fair Value Gaps (FVGs) in financial markets. FVGs occur when there is a significant gap between the closing price of one session and the opening price of the next session, often indicating a potential reversal point. This indicator uses volume and price movement criteria to confirm and mark these gaps effectively.
Key Features:
Fair Value Gap Detection : Identifies both bullish and bearish FVGs based on significant gaps in price.
Volume Confirmation : Confirms FVGs with high volume, ensuring that the gap is not due to a lack of liquidity.
Price Imbalance : Ensures that the gap is accompanied by a large price movement within the session, indicating strong market sentiment.
Buy/Sell Signals : Marks bullish FVGs with a green "BUY" label below the bar and bearish FVGs with a red "SELL" label above the bar.
Background Highlighting : Highlights the background with a semi-transparent green or red color when a valid FVG is detected, making it easy to spot significant gaps.
US 20Y Treasury YieldWhat This Indicator Does
This Pine Script creates a custom indicator for TradingView that displays the US 20-Year Treasury Yield (US20Y) on your chart. Here's what it does step by step:
1. What Is the US 20-Year Treasury Yield?
The US 20-Year Treasury Yield is a financial metric that shows the interest rate (or yield) investors earn when they buy US government bonds that mature in 20 years. It’s an important indicator of the economy and can influence other markets like stocks, bonds, and currencies.
2. How Does the Indicator Work?
The indicator fetches the latest data for the US 20-Year Treasury Yield from TradingView's database.
It then plots this data in a separate pane below your main chart, so you can easily monitor the yield without cluttering your price chart.
3. What Does the Indicator Show?
A blue line is drawn in the separate pane, showing the movement of the US 20-Year Treasury Yield over time.
A gray dashed line is added at the 4.0% level as a reference point. You can use this line to quickly see when the yield is above or below 4.0%.
5. Why Use This Indicator?
Monitor Economic Trends : The US 20-Year Treasury Yield is a key economic indicator. By plotting it on your chart, you can stay informed about changes in interest rates and their potential impact on other markets.
Ultimate Gold Correlation Matrix (Extended)This is a correlation matrix to help you visually understand the relationship between stocks. This is the correlation of the amount of change.
The color changes depending on the value of the correlation value.
By making a node diagram of this relationship, what has been difficult to understand may become clearer.
Good luck.
1. meaning of correlation coefficient
Correlation Coefficient ranges from -1 to +1.
Correlation Coefficient Value Interpretation
+1.00 Perfect positive correlation (when one goes up, the other always goes up)
+0.75 ~ +0.99 Strong positive correlation (fairly well linked)
+0.50 ~ +0.74 Moderate positive correlation
+0.30 ~ +0.49 Weak positive correlation
-0.30 ~ +0.30 No correlation (no or weak relationship)
-0.50 ~ -0.74 Moderate negative correlation
-0.75 ~ -0.99 Strong negative correlation (when one goes up, the other goes down)
-1.00 Perfect negative correlation (opposite moves)
Translated with www.DeepL.com (free version)
Ultimate Gold Correlation Matrix (Extended)This is a correlation matrix to help you visually understand the relationship between stocks. This is the correlation of the amount of change.
The color changes depending on the value of the correlation value.
By drawing a node diagram of this relationship, you may be able to clarify what has been difficult to understand so far.
Pivot Points DWMWhat Is a Pivot Point?
A pivot point is a price level calculated from previous prices. It's used to indicate potential areas of support or resistance that offer attractive reward-to-risk setups for trades. The pivot point itself is simply the average of the intraday high and low and the closing price from the previous trading day. Trading above the pivot point on the subsequent day is thought to indicate ongoing bullish sentiment. Trading below the pivot point indicates bearish sentiment.
Non-Repainting
Candlestick Pattern Detector - Vijay PrasadOverview:
This Pine Script v6 indicator is designed to detect and label key candlestick patterns on TradingView charts. It provides real-time visual markers for major bullish and bearish reversal signals, aiding traders in decision-making.
Usefulness:
✅ Saves time by automating candlestick pattern detection.
✅ Reduces manual chart analysis errors.
✅ Works across all markets & timeframes.
✅ Enhances trading strategies with accurate signals.
Candlestick Patterns Recognises:
Bullish Engulfing – A strong bullish reversal pattern.
Bearish Engulfing – Indicates a potential downtrend.
Hammer – Suggests a market bottom or reversal.
Shooting Star – A bearish reversal signal at the top of an uptrend.
Doji – Signals market indecision and possible trend change.
Key Functions:
Automated Pattern Visible
Identifies candlestick patterns dynamically and plots them on the chart.
Visual Labels for Patterns
Labels to indicate specific candlestick formations.
Labels appear only when a valid pattern is detected, avoiding unnecessary clutter.
Buy/Sell Signal
Plots buy signals at bullish patterns and sell signals at bearish patterns.
Helps traders recognize trend reversals and entry/exit points.
Bullish Engulfing Pattern (Green Label)
What it means: A bullish engulfing pattern typically signals a potential reversal from a downtrend to an uptrend. The current candle fully engulfs the previous candle, signaling strong buying interest.
Identifying Candlestick Patterns on the Chart
How to use it:
Entry: Look for a green label (bullish engulfing) at the bottom of the chart. When it appears, consider entering a long position (buy).
Confirmation: To increase reliability, wait for confirmation by observing if price moves above the high of the bullish engulfing candle.
Exit: Exit when the trend shows signs of reversing or take profit at predefined levels (e.g., resistance or a risk-to-reward ratio).
Bearish Engulfing Pattern (Red Label)
What it means: A bearish engulfing pattern is a signal of a potential reversal from an uptrend to a downtrend. The current candle fully engulfs the previous candle, signaling strong selling pressure.
How to use it:
Entry: Look for a red label (bearish engulfing) at the top of the chart. When it appears, consider entering a short position (sell).
Confirmation: Wait for the price to move below the low of the bearish engulfing candle to confirm the bearish trend.
Exit: Close the trade when the price reaches support levels or the trend shows signs of reversing.
Doji Pattern (Blue Circle)
What it means: A Doji candle signals market indecision. It represents a balance between buyers and sellers, often marking a potential reversal or consolidation point.
How to use it:
Entry: If the Doji appears after a strong trend (bullish or bearish), wait for the next candle to break above or below the Doji's high or low. This can signal a continuation or reversal.
Confirmation: You can look for additional indicators like moving averages, RSI, or MACD for confirmation before taking any action.
Exit: Exit when the price shows clear momentum in your entry direction.
Hammer Pattern (Orange Triangle)
What it means: The hammer pattern is a bullish reversal pattern that appears after a downtrend. It suggests that sellers pushed the price down during the session, but buyers managed to push the price back up.
How to use it:
Entry: When a hammer appears, consider entering a long position (buy). The price should move above the hammer's high for confirmation.
Confirmation: Look for strong volume and a follow-up bullish candle to confirm the reversal.
Exit: Set a target based on the next resistance level, or use a trailing stop to lock in profits.
Using Candlestick Patterns with Other Indicators
To increase your chances of success, combine candlestick patterns with other technical indicators.
Here are some ideas:
RSI (Relative Strength Index): Use RSI to check whether the market is overbought or oversold. A bullish engulfing in an oversold market could indicate a stronger buy signal, and a bearish engulfing in an overbought market could indicate a stronger sell signal.
Moving Averages (e.g., 50 EMA, 200 EMA): Confirm trend direction. If the candlestick pattern aligns with the direction of the moving averages, it can give a stronger signal.
MACD (Moving Average Convergence Divergence): Use MACD to confirm momentum and potential trend changes. If a candlestick pattern aligns with a MACD crossover, it strengthens the signal.
Volume: Look for higher-than-average volume when a pattern appears. This can give you additional confirmation that the market is reacting strongly.
Practice and Refine
It's important to practice using the candlestick patterns in a demo account or backtest them to see how they perform under different market conditions. Over time, you can adjust the settings and patterns to fit your trading style and preferences.
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.
Footprint IQ Pro [TradingIQ]Hello Traders!
Introducing "Footprint IQ Pro"!
Footprint IQ Pro is an all-in-one Footprint indicator with several unique features.
Features
Calculated delta at tick level
Calculated delta ratio at tick level
Calculated buy volume at tick level
Calculated sell volume at tick level
Imbalance detection
Stacked imbalance detection
Stacked imbalance alerts
Value area and POC detection
Highest +net delta levels detection
Lowest -net delta levels detection
CVD by tick levels
Customizable values area percentage
The image above thoroughly outlines what each metric in the delta boxes shows!
Metrics In Delta Boxes
"δ:", " δ%:", " ⧎: ", " ◭: ", " ⧩: "
δ Delta (Difference between buy and sell volume)
δ% Delta Ratio (Delta as a percentage of total volume)
⧎ Total Volume At Level (Total volume at the price area)
◭ Total Buy Volume At Level (Total buy volume at the price area)
⧩ Total Sell Volume At Level (total sell volume at the price area)
Each metric comes with a corresponding symbol.
That said, until you become comfortable with the symbol, you can also turn on the descriptive labels setting!
The image above exemplifies the feature.
The image above shows Footprint IQ's full power!
Additionally, traders with an upgraded TradingView plan can make use of the "1-Second" feature Footprint IQ offers!
The image above shows each footprint generated using 1-second volume data. 1-second data is highly granular compared to 1-minute data and, consequently, each footprint is exceptionally more accurate!
Imbalance Detection
Footprint IQ pro is capable of detecting user-defined delta imbalances.
The image above further explains how Footprint IQ detects imbalances!
The imbalance percentage is customizable in the settings, and is set to 70% by default.
Therefore,
When net delta is positive, and the positive net delta constitutes >=70% of the total volume, a buying imbalance will be detected (upwards triangle).
When net delta is negative, and the negative net delta constitutes >=70% of the total volume, a buying imbalance will be detected (downwards triangle).
Stacked Imbalance Detection
In addition to imbalance detection, Footprint IQ Pro can also detect stacked imbalances!
The image above shows Footprint IQ Pro detecting stacked imbalances!
Stacked imbalances occur when consecutive imbalances at sequential price areas occur. Stacked imbalances are generally interpreted as significant price moves that are supported by volume, rather than a significant result with disproportionate effort.
The criteria for stacked imbalance detection (how many imbalances must occur at sequential price areas) is customizable in the settings.
The default value is three. Therefore, when three imbalances occur at sequential price areas, golden triangles will begin to print to show a stacked imbalance.
Additionally, traders can set alerts for when stacked imbalances occur!
Highest +Delta and Highest -Delta Levels
In addition to being a fully-fledged Footprint indicator, Footprint IQ Pro goes one step further by detecting price areas where the greater +Delta and -Delta are!
The image above shows price behavior near highest +Delta price areas detected by Footprint IQ!
These +Delta levels are considered important as there has been strong interest from buyers at these price areas when they are traded at.
It's expected that these levels can function as support points that are supported by volume.
The image above shows a similar function for resistance points!
Blue lines = High +Delta Detected Price Areas
Red lines = High -Delta Detected Price Areas
Value Area Detection
Similar to traditional volume profile, Footprint IQ Pro displays the value area per bar.
Green lines next to each footprint show the value area for the bar. The value area % is customizable in the settings.
CVD Levels
Footprint IQ Pro is capable of storing historical volume delta information to provide CVD measurements at each price area!
The image above exemplifies this feature!
When this feature is enabled, you will see the CVD of each price area, rather than the net delta!
And that's it!
Thank you so much to TradingView for offering the greatest charting platform for everyone to create on!
If you have any feature requests you'd like to see for Footprint IQ, please feel free to share them with us!
Thank you!
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.