Predictive Ranges [LuxAlgo] with BTC/USDT.D AnalysisIn this article, we will take a detailed look at how to customize the LuxAlgo Predictive Ranges indicator used in TradingView, how to make it more useful, and how to integrate additional functions. This indicator is a powerful analysis tool used specifically to predict movements in the BTC/USDT pair and generate buy-sell signals.
1. What is LuxAlgo Predictive Ranges?
The Predictive Ranges indicator developed by LuxAlgo predicts potential buy and sell zones based on the averages and volatility of the price over a certain period of time. This shows how much the price can fluctuate within a certain range and which zones it can move towards. Ranges usually cover two main areas, the upper and lower limits, and provide information on how the price movement will shape between these limits.
2. Extra Features and Enhancements
The above Pine Script code builds on LuxAlgo’s core Predictive Ranges functionality and adds a few important enhancements:
2.1. Comparing BTC and USDT Dominance Ranges
While the original LuxAlgo indicator only works on a specific asset, this customized version also makes predictions on the BTC/USDT pair as well as the USDT market dominance (USDT.D). This way, it is possible to understand how BTC is positioned against the general market movements.
Checking if BTC is in the Upper and Lower Zones: Buy and sell signals are generated based on whether the price of BTC is in the upper or lower zones within certain ranges.
Checking if USDT.D is in the Upper and Lower Zones: Similarly, the market dominance of USDT is also analyzed using these ranges.
The comparison between these two assets allows for more reliable signals to be generated based on market conditions. For example, when the BTC price is in the lower range and USDT.D is in the upper range, this could signal a BTC buying opportunity.
2.2. Fibonacci Levels
Fibonacci levels are widely used to predict potential retracements or bounces in price action. In this indicator, various Fibonacci levels are calculated between the prR2 and prS2 levels. This provides additional guidance for traders on where the price could retrace or bounce.
Fibonacci Levels:
13% (Fib13)
23% (Fib23)
38% (Fib38)
61% (Fib61)
70% (Fib70)
79% (Fib79)
86% (Fib86)
100% (Fib100)
These Fibonacci levels are used to predict potential support and resistance levels in price action.
2.3. RSI and Volume Analysis
RSI (Relative Strength Index) is an oscillator widely used to determine whether the price is overbought or oversold. Another important feature of this indicator is that it can analyze the strength of price movements with the RSI Period and Volume Coefficient settings. Volume analysis in particular provides additional information on whether a movement is sustainable or not. If the volume exceeds the average volume, this usually indicates that the price movement is strong.
RSI values are also calculated in different time frames (15 minutes, 30 minutes, 1 hour, 4 hours, 1 day), helping traders understand short-term and long-term market forces. In addition, the upper and lower threshold values of the RSI are determined, allowing for more clear monitoring of overbought and oversold conditions.
2.4. Indicators and Alarm Conditions on the Chart
The following features have been added to the chart regarding RSI and trend strength:
Rising Strength: The RSI value and the general condition of the price create signals that the trend is rising.
Falling Strength: Similarly, when the RSI value is low and the price is moving down, signals indicating a bearish trend are generated.
Buy and sell signals are generated only when BTC and USDT.D are in opposite zones. This ensures more accurate and reliable signals.
3. Custom Customizations for Users
This indicator can be customized according to the different analysis needs of users:
Length and Factor: Length and Mult factors are used to adjust the sensitivity of the indicator. This is important for customizing the trading strategy.
Timeframe Options: Users can analyze BTC and USDT.D in different timeframes.
RSI and Volume Settings: RSI period, upper and lower thresholds, and volume coefficient can be set by the user.
4. Alarm Conditions
Users can set the following alarm conditions to receive an alarm when certain conditions occur:
Buy Alarm: Triggered when BTC is in the buy zone and USDT.D is in the sell zone.
Sell Alert: Triggered when BTC is in the sell zone and USDT.D is in the buy zone.
Trend Strength Alerts: Rising or falling strength alerts with RSI value and volume.
Conclusion
LuxAlgo's Predictive Ranges indicator is a great way to predict market movements
Penunjuk dan strategi
Price Action BoxGeneral Purpose:
This indicator determines the swing high and swing low levels in a given period and draws supply and demand zones based on these levels. It also adds BOS (Break of Structure) signals in case these zones are broken.
Code Detailing:
1. Settings and User Inputs:
Swing High/Low Length: The period used to determine the swing high and low levels. This can be set by the user.
History To Keep: Specifies the number of supply and demand zones in the past in the indicator.
Supply/Demand Box Width: The width of the supply and demand boxes, i.e. how much width will be left according to the ATR (Average True Range).
Visual Settings: Settings for colors and labels to customize the indicator.
2. Functions:
f_array_add_pop: Adds a new value and removes the oldest value from the array. This function is used to store a certain number of data.
f_sh_sl_labels: Adds labels to swing highs and lows. These labels are labels that indicate price action, such as "HH", "HL", "LH", "LL".
f_check_overlapping: Before drawing a new demand or supply zone, it checks if it overlaps with existing zones. If there is an overlap, a new zone is not drawn.
f_supply_demand: Draws supply and demand zones. This function determines the upper and lower limits of the supply and demand levels and draws a box.
f_sd_to_bos: If the supply or demand zone is broken, it changes the zone to "BOS" (Break of Structure).
f_extend_box_endpoint: Updates the existing supply and demand boxes, extending their right borders to the next bar index.
3. Calculations:
ATR (Average True Range): Used to measure price volatility. This is the value used as the basis for determining the size of supply and demand boxes.
Swing High and Swing Low: Swing highs and lows are calculated using the highest and lowest prices over a given period.
Box Array and POI (Point of Interest): A collection of drawn supply and demand boxes and the levels of interest found within these boxes.
4. Main Calculations and Actions:
New Swing High or Swing Low Formation: If a new swing high or low is formed, these levels are recorded and demand or supply zones are drawn.
Break of Structure (BOS): If price breaks the supply or demand zone, it marks the zone as "BOS".
Extension of Boxes: Supply and demand boxes are continuously extended according to the current bar index.
Visual Features:
Supply and Demand Zones: Supply zones are drawn in red and demand zones in green. A border color is also specified around the zones.
POI Labels: A POI (Point of Interest) label is displayed in the middle of each supply and demand zone.
BOS Labels: BOS label is added above broken supply or demand zones.
Customization with User Inputs:
Show Price Action Labels: An option to set the visibility of price action labels. These labels indicate swing highs and lows.
Different Color and Size Options: Colors for supply and demand zones and colors for POI labels can be customized by the user.
Conclusion:
This Pine Script™ provides a comprehensive tool to monitor supply and demand zones in the market, identify important price levels and analyze price movements in these zones. Based on classic price action methods, it detects supply and demand zones as well as breakouts of these zones.
Supply & Demand Zone AnalyzerTradingView Publication Article: "Supply & Demand Zone Analyzer"
Title:
"Supply & Demand Zone Analyzer: Master Support and Resistance with Precision"
Introduction:
Support and resistance zones are the cornerstone of technical analysis in trading. These zones help identify where price movements may pause or reverse. The Supply & Demand Zone Analyzer is a powerful indicator designed to dynamically detect these critical areas while offering insights into potential breakouts.
In this article, we'll explore how the indicator works, its features, and how to make the most of it.
Features:
Dynamic Support and Resistance Zones:
Automatically plots supply (resistance) and demand (support) zones based on swing highs and swing lows.
Visually highlights these zones directly on your chart.
Breakout Detection:
Identifies when price breaks above a resistance zone or below a support zone.
Displays "Broken Supply" or "Broken Demand" labels for clear recognition.
Customizable Colors and Labels:
Adjust the colors of support, resistance, broken zones, and labels to match your charting style.
Add descriptive text inside the zones.
Proximity Filtering:
Prevents overlapping or closely spaced zones for a cleaner, more interpretable chart.
Fixed Text Size:
Labels inside zones maintain a consistent size, unaffected by chart zooming.
How to Use:
Add the Indicator to Your Chart:
Search for "Supply & Demand Zone Analyzer" on TradingView.
Click "Add to Chart" to enable the indicator.
Adjust Parameters:
Swing Length: Sets the number of candles used to define swing highs and lows.
ATR Period: Configures the period for ATR-based zone width calculation.
Minimum Distance: Defines the minimum distance between zones to avoid overlapping.
Show Broken Zones: Choose whether to display or hide broken support and resistance zones.
Customize Colors:
Modify the default colors for supply, demand, and broken zones in the settings.
Technical Details:
Written in Pine Script, TradingView's proprietary scripting language.
Uses ATR (Average True Range) for dynamic zone width calculation.
Automatically extends zones until they are invalidated by a breakout or removed by proximity filtering.
Who Should Use This?
Beginner Traders:
Learn and visualize critical support and resistance areas easily.
Experienced Traders:
Gain deeper insights with breakout detection and advanced filtering.
Swing and Scalping Traders:
Quickly identify high-probability reversal or breakout zones for short- and medium-term trading.
Example Chart:
(Attach a screenshot of the indicator applied to a chart.)
Conclusion:
The Supply & Demand Zone Analyzer takes the guesswork out of identifying support and resistance. With its user-friendly interface, customizable options, and breakout detection, this indicator is perfect for traders of all experience levels.
Try it out today via our TradingView page and share your feedback or suggestions. Let's master the markets together!
Extra Tips for Publication:
Include backtest results or strategy examples to showcase the indicator's utility.
Highlight practical use cases, like combining the zones with other indicators (e.g., RSI or volume).
Market Structure Break with Retest (Multi-timeframe)Introduction
Analyzing market structure breakouts (MSB) is extremely important, especially for determining trend reversal points. This Pine Script™ detects MSB points in a given time frame and visualizes potential retest zones. It also creates boxes and labels to support buy-sell decisions in these zones.
This script aims to simplify the market analysis process for both beginners and advanced users.
---
Features
1. Timeframe Selection: The user can specify the timeframe he/she wants to analyze.
2. Highs and Lows: Dynamically calculates the highest and lowest prices in the specified time frame.
3. Market Structure Breakout (MSB):
"Bullish Break" when the price exceeds the previous high.
"Bearish Break" when the price falls below the previous low.
4. Retest Zones: Checks whether the price has returned to these levels after the MSB and labels these areas.
5. Visualization:
Draws boxes for breakout zones.
Marks retest points with dynamic labels.
6. Customizability: The user can customize the colors of the boxes, line thickness and analysis period.
---
Areas of Use
Support and Resistance Detection: Ideal for analyzing how the price moves in important support and resistance zones.
Capturing Trend Reversals: Can be used to detect the starting points of uptrends and downtrends.
Retest Strategies: Supports trading decisions by observing the price return to these levels after the breakout.
---
Code Logic
1. Highest and Lowest Prices in Timeframe:
Calculates the highest and lowest prices in the specified timeframe according to the length parameter.
2. Breakout Detection:
Check if the price has broken past the previous high or low.
3. Box and Labels:
Boxes are dynamically created after the breakout.
Labels appear in the retest zones:
4. Customization: User can easily adjust box colors, line thickness and analysis period:
Customize the analysis period and colors according to your own trading strategy.
---
Conclusion
This script helps you optimize your trading strategies by visualizing market structure breakouts and retest zones. It offers a powerful analysis tool with dynamic structure and customizable settings suitable for timeframes.
Start using this tool now to develop new strategies in TradingView and make more informed trading decisions!
Dashboard MTF profile volume Indicator Description
This indicator, titled "Swing Points and Liquidity & Profile Volume," combines multiple features to provide a comprehensive market analysis:
Volume Profile: Displays buy and sell volumes across multiple timeframes (1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, 1 day).
Volume Moving Averages: Plots two moving averages (short and long) to analyze volume trends.
Dashboard: A summary dashboard shows buy and sell volumes for each timeframe, with distinct colors for better visualization.
Swing Points: Identifies liquidity levels and swing points to help pinpoint key entry and exit zones.
How to Use
1. Indicator Installation
Go to TradingView.
Open the Pine Script Editor.
Copy and paste the provided code.
Click on "Add to Chart."
2. Indicator Settings
The indicator offers several customizable parameters:
Display Volume (1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, 1 day): Enable or disable volume display for each timeframe.
Short Moving Average Length (MA): Set the short moving average period (default: 5).
Long Moving Average Length (MA): Set the long moving average period (default: 14).
Dashboard Position: Choose where to display the dashboard (bottom-right, bottom-left, top-right, top-left).
Text Color: Customize the text color in the dashboard.
Text Size: Choose text size (small, normal, large).
3. Using the Indicator
Volume Analysis
The dashboard displays buy (Buy Volume) and sell (Sell Volume) volumes for each timeframe.
Buy Volume: Volume of trades where the closing price is higher than the opening price (aggressive buying).
Sell Volume: Volume of trades where the closing price is equal to or lower than the opening price (aggressive selling).
Volumes are displayed in real-time and update with each new candle.
Volume Moving Averages
Two moving averages are plotted on the chart:
MA Volume (Short): Short moving average (blue) to identify short-term volume trends.
MA Volume (Long): Long moving average (red) to identify long-term volume trends.
Use these moving averages to spot accumulation or distribution periods.
Swing Points and Liquidity
Swing points are identified based on price levels where volumes are highest.
These levels can act as support/resistance zones or liquidity areas to plan entries and exits.
Usage Guidelines
1. Entering a Position
Buy (Long):
When Buy Volume is significantly higher than Sell Volume across multiple timeframes.
When the short moving average (blue) crosses above the long moving average (red).
Sell (Short):
When Sell Volume is significantly higher than Buy Volume across multiple timeframes.
When the short moving average (blue) crosses below the long moving average (red).
2. Exiting a Position
Use liquidity levels (swing points) to set profit targets or stop-loss levels.
Monitor volume changes to anticipate trend reversals.
3. Risk Management
Use stop-loss orders to limit losses.
Avoid trading during low-volume periods to reduce false signals.
Compliance with Trading View Guidelines
Intellectual Property:
The code is provided for educational and personal use. You may modify and use it but cannot resell or distribute it as your own work.
Responsible Use:
Trading View encourages responsible use of indicators. Test the indicator on a demo account before using it in live trading.
Transparency:
The code is fully transparent and can be reviewed in the Pine Script Editor. You may modify it to suit your needs.
Practical Examples
Scenario 1: Bullish Trend
Buy Volume is high on 1-hour and 4-hour time frames.
The short moving average (blue) is above the long moving average (red).
Action: Open a long position (Buy) and set a stop-loss below the last swing low.
Scenario 2: Bearish Trend
Sell Volume is high on 1-hour and 4-hour time frames.
The short moving average (blue) is below the long moving average (red).
Action: Open a short position (Sell) and set a stop-loss above the last swing high.
Renko Chart EmulationRenko charts are a popular tool in technical analysis, known for their ability to filter out market noise and focus purely on price movements. Unlike traditional candlestick or bar charts, Renko charts are not time-based but are constructed using bricks that represent a fixed price movement. This makes them particularly useful for identifying trends and key levels of support and resistance. While Renko charts are commonly found on platforms with specialized charting capabilities, they can also be emulated in Pine Script as a line indicator.
The Renko emulation indicator in Pine Script calculates the movement of price based on a user-defined brick size. Whenever the price moves up or down by an amount equal to or greater than the brick size, a new level is plotted, indicating a shift in price direction. This approach helps traders visualize significant price moves without the distractions of smaller fluctuations. By plotting the Renko levels as a continuous line and coloring it based on direction, this indicator provides a clean and straightforward representation of market trends.
Traders can use this Renko emulation line to identify potential entry and exit points, as well as to confirm ongoing trends. The simplicity of Renko charts makes them a favorite among those who prefer a minimalist approach to technical analysis. However, it is essential to choose an appropriate brick size that aligns with the volatility of the trading instrument. A smaller brick size may result in frequent signals, while a larger one can smooth out the chart, focusing only on the most substantial price movements. This script offers a flexible solution for incorporating Renko-style analysis into any trading strategy.
Absolute Strength Index [ASI] (Zeiierman)█ Overview
The Absolute Strength Index (ASI) is a next-generation oscillator designed to measure the strength and direction of price movements by leveraging percentile-based normalization of historical returns. Developed by Zeiierman, this indicator offers a highly visual and intuitive approach to identifying market conditions, trend strength, and divergence opportunities.
By dynamically scaling price returns into a bounded oscillator (-10 to +10), the ASI helps traders spot overbought/oversold conditions, trend reversals, and momentum changes with enhanced precision. It also incorporates advanced features like divergence detection and adaptive signal smoothing for versatile trading applications.
█ How It Works
The ASI's core calculation methodology revolves around analyzing historical price returns, classifying them into top and bottom percentiles, and normalizing the current price movement within this framework. Here's a breakdown of its key components:
⚪ Returns Lookback
The ASI evaluates historical price returns over a user-defined period (Returns Lookback) to measure recent price behavior. This lookback window determines the sensitivity of the oscillator:
Shorter Lookback: Higher responsiveness to recent price movements, suitable for scalping or high-volatility assets.
Longer Lookback: Smoother oscillator behavior is ideal for identifying larger trends and avoiding false signals.
⚪ Percentile-Based Thresholds
The ASI categorizes returns into two groups:
Top Percentile (Winners): The upper X% of returns, representing the strongest upward price moves.
Bottom Percentile (Losers): The lower X% of returns, capturing the sharpest downward movements.
This percentile-based normalization ensures the ASI adapts to market conditions, filtering noise and emphasizing significant price changes.
⚪ Oscillator Normalization
The ASI normalizes current returns relative to the top and bottom thresholds:
Values range from -10 to +10, where:
+10 represents extreme bullish strength (above the top percentile threshold).
-10 indicates extreme bearish weakness (below the bottom percentile threshold).
⚪ Signal Line Smoothing
A signal line is optionally applied to the ASI using a variety of moving averages:
Options: SMA, EMA, WMA, RMA, or HMA.
Effect: Smooths the ASI to filter out noise, with shorter lengths offering higher responsiveness and longer lengths providing stability.
⚪ Divergence Detection
One of ASI's standout features is its ability to detect and highlight bullish and bearish divergences:
Bullish Divergence: The ASI forms higher lows while the price forms lower lows, signaling potential upward reversals.
Bearish Divergence: The ASI forms lower highs while the price forms higher highs, indicating potential downward reversals.
█ Key Differences from RSI
Dynamic Adaptability: ASI adjusts to market conditions through percentile-based scaling, while RSI uses static thresholds.
█ How to Use ASI
⚪ Trend Identification
Bullish Strength: ASI above zero suggests upward momentum, suitable for trend-following trades.
Bearish Weakness: ASI below zero signals downward momentum, ideal for short trades or exits from long positions.
⚪ Overbought/Oversold Levels
Overbought Zone: ASI in the +8 to +10 range indicates potential exhaustion of bullish momentum.
Oversold Zone: ASI in the -8 to -10 range points to potential reversal opportunities.
⚪ Divergence Signals
Look for bullish or bearish divergence labels to anticipate trend reversals before they occur.
⚪ Signal Line Crossovers
A crossover between the ASI and its signal line (e.g., EMA or SMA) can indicate a shift in momentum:
Bullish Crossover: ASI crosses above the signal line, signaling potential upside.
Bearish Crossover: ASI crosses below the signal line, suggesting downside momentum.
█ Settings Explained
⚪ Absolute Strength Index
Returns Lookback: Sets the sensitivity of the oscillator. Shorter periods detect short-term changes, while longer periods focus on broader trends.
Top/Bottom Percentiles: Adjust thresholds for defining winners and losers. Narrower percentiles increase sensitivity to outliers.
Signal Line Type: Choose from SMA, EMA, WMA, RMA, or HMA for smoothing.
Signal Line Length: Fine-tune the responsiveness of the signal line.
⚪ Divergence
Divergence Lookback: Adjusts the period for detecting divergence. Use longer lookbacks to reduce noise.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Adaptive Sentiment-Volume MomentumThis is a simple breakout approach using ATR bands and an EMA filter. Test this strategy and let me know how it performs!
FVG Tap with EMA Confirmation and Dynamic Stop Loss & Targettesting fvg and ema cross watch macd and rsi before entering
ADX with Trend ColoringThe ADX indicator helps identify the strength of a trend, while the DI+ and DI- values indicate the direction. In this script, the ADX's color reflects the dominant trend: green for long (DI+ is stronger and above its high limit) and red for short (DI- is stronger and above its high limit). DI+ and DI- are categorized into three levels based on user-defined thresholds. These levels indicate weak, moderate, or strong trend activity, providing insights into potential trade setups by aligning the ADX strength with the directional indicators.
The code has been updated to include two user-defined limits for both DI+ and DI-, allowing for three distinct ranges (e.g., 0-15, 15-30, 30-100) with corresponding colors.
The script now adjusts the ADX color dynamically to reflect the trend, based on whether DI+ or DI- is stronger. It uses green for long trends and red for short trends.
Reliance 30-Minute Third Candle Breakouthere we are talking about reliance 30 min candle break out it an give you clear break out most of the time
Moving Average Channel (MAC)The strategy uses two Simple Moving Averages (SMA): an upper MA based on the high price and a lower MA based on the low price. Key features include:
Entry Condition: Enter a long position after five consecutive bars close above the upper MA.
Exit Conditions:
Close the position if five consecutive bars close below the lower MA.
Close the position if the price drops below 25% of the highest price recorded since entry (stop-loss).
Key Features:
Dynamic Entry: Long position is triggered only after consistent strength in price (5 bars above the upper MA).
Dynamic Exit:
Tracks weakness (5 bars below the lower MA) for exit.
Implements a stop-loss based on 25% retracement from the highest price recorded post-entry.
Customizable Parameters: MA lengths and stop-loss percentage are adjustable to fit different trading styles and market conditions.
This script provides a simple yet effective trend-following strategy with built-in risk management.
Crypto Buy/Sell Strategy This script is designed to automatically identify buy and sell signals based on a combination of the MACD and RSI indicators.
How the Script Works:
MACD:
Calculates the difference between the fast (12) and slow (26) exponential moving averages (EMA).
Generates signals based on the crossover of the MACD line and the signal line.
RSI (Relative Strength Index):
Uses a standard period (14) to determine overbought (70) and oversold (30) levels.
A buy signal is generated when RSI falls below the oversold level.
A sell signal is generated when RSI rises above the overbought level.
Signal Criteria:
Buy Signal (BUY):
MACD line crosses above the signal line.
RSI is below the oversold level (30).
Sell Signal (SELL):
MACD line crosses below the signal line.
RSI is above the overbought level (70).
Usage:
This script helps traders quickly identify potential entry and exit points in the market.
Indicators and signals are visualized directly on the chart to facilitate analysis.
Additionally, current RSI and EMA values are displayed to support decision-making.
Suitable For:
Scalping and trend trading.
Instructions:
You can customize the MACD, RSI lengths, and overbought/oversold levels in the script settings.
Этот скрипт разработан для автоматического определения сигналов покупки и продажи на основе комбинации индикаторов MACD и RSI.
Как работает скрипт:
MACD:
Вычисляет разницу между быстрым (12) и медленным (26) экспоненциальными скользящими средними (EMA).
Генерирует сигналы на основании пересечения MACD линии и сигнальной линии.
RSI (Индекс относительной силы):
Использует стандартный период (14) для расчета уровня перекупленности (70) и перепроданности (30).
Сигнал на покупку генерируется, если RSI опускается ниже уровня перепроданности.
Сигнал на продажу генерируется, если RSI поднимается выше уровня перекупленности.
Критерии сигналов:
Сигнал покупки (BUY):
Пересечение MACD линии выше сигнальной линии.
RSI ниже уровня перепроданности (30).
Сигнал продажи (SELL):
Пересечение MACD линии ниже сигнальной линии.
RSI выше уровня перекупленности (70).
Использование:
Этот скрипт помогает трейдерам быстро определять потенциальные точки входа и выхода на рынке.
Индикаторы и сигналы визуализированы на графике, чтобы облегчить анализ.
Дополнительно отображаются текущие значения RSI и EMA для поддержки принятия решений.
Подходит для:
Скальпинга и трендовой торговли.
Инструкция:
Вы можете изменять параметры длины MACD, RSI и уровней перекупленности/перепроданности в настройках скрипта.
WMA y EMA in 1 indicatorThis Pine Script code defines a custom indicator for the TradingView platform that combines two widely used moving averages: the Weighted Moving Average (WMA) and the Exponential Moving Average (EMA). The indicator plots both WMA and EMA on the chart, allowing traders to visualize and analyze the trends in the market more effectively. Users can customize the periods and colors of both moving averages through the input settings, making the indicator flexible for various trading strategies. The WMA provides a weighted approach that emphasizes more recent data, while the EMA offers a smoothed curve that reacts faster to price changes.
Demo GPT - MACD and RSI Short Strategy//@version=5
strategy("Demo GPT - MACD and RSI Short Strategy", overlay=true, commission_type=strategy.commission.percent, commission_value=0.1, slippage=3)
// Inputs for start and end dates
start_date = input.time(timestamp("2018-01-01 00:00"), title="Start Date")
end_date = input.time(timestamp("2069-12-31 23:59"), title="End Date")
// Inputs for MACD and RSI
macd_short_length = input.int(12, title="MACD Short Length")
macd_long_length = input.int(26, title="MACD Long Length")
macd_signal_length = input.int(9, title="MACD Signal Length")
rsi_length = input.int(14, title="RSI Length")
rsi_overbought = input.int(70, title="RSI Overbought Level")
// Calculate MACD and Signal Line
= ta.macd(close, macd_short_length, macd_long_length, macd_signal_length)
// Fill gaps in MACD and Signal Line
macd_line := na(macd_line) ? macd_line : macd_line
signal_line := na(signal_line) ? signal_line : signal_line
// Calculate RSI
rsi = ta.rsi(close, rsi_length)
// Fill gaps in RSI
rsi := na(rsi) ? rsi : rsi
// Strategy logic: Short when MACD crosses below Signal Line and RSI is above 70
short_condition = ta.crossover(signal_line, macd_line) and rsi > rsi_overbought
// Ensure the strategy only runs between the selected date range
if (time >= start_date and time <= end_date)
if short_condition
strategy.entry("Short", strategy.short, qty=100)
strategy.close("Short")
// Plotting MACD and RSI for reference
plot(macd_line - signal_line, color=color.red, title="MACD Histogram", linewidth=2)
hline(0, "Zero Line", color=color.gray)
plot(rsi, color=color.blue, title="RSI", linewidth=2)
hline(rsi_overbought, "RSI Overbought", color=color.red)
nikLibraryLibrary "nikLibrary"
TODO: add library description here
fun(x)
TODO: add function description here
Parameters:
x (float) : TODO: add parameter x description here
Returns: TODO: add what function returns
RY-Parabolic Stop and ReverseParabolic Stop and Reverse with Support Resistance (PSAR-SR)
Identify dynamic support and resistance levels based on price movements.
Reduce false signals often generated by the regular PSAR.
Provide more accurate trading decisions by considering previous reversal points as support and resistance.
How Does PSAR-SR Work?
PSAR Reversal Points:
When the regular PSAR generates a reversal signal, the price at that reversal point is used as support (in an uptrend) or resistance (in a downtrend).
Support and Resistance Lines:
Support: A line drawn from the previous PSAR reversal point in an uptrend.
Resistance: A line drawn from the previous PSAR reversal point in a downtrend.
Price often moves sideways between these support and resistance levels before a breakout occurs.
Breakout Above/Below Support and Resistance:
A Buy signal is generated when the price breaks above resistance with a new candle closing above it.
A Sell signal is generated when the price breaks below support with a new candle closing below it.
Strategy Using PSAR-SR
Wait for the Breakout:
Avoid buying or selling immediately when the PSAR gives a signal.
Confirm that the price breaks past the support or resistance levels and forms a new candle outside those lines.
Use Alongside Other Indicators:
PSAR-SR is not recommended as a standalone tool. Use additional confirmation indicators such as:
Moving Average: To identify long-term trends.
RSI or MACD: To confirm momentum or overbought/oversold conditions.
Advantages of PSAR-SR
Reduces False Signals:
By focusing on previous support and resistance levels, PSAR-SR avoids invalid signals.
Helps Identify Breakouts:
It provides better insight for traders to enter the market during valid breakouts.
Limitations of PSAR-SR
Not Suitable for Sideways Markets:
If the price moves sideways for an extended period, the signals may become less effective.
Requires Additional Confirmation:
Should be used in combination with other indicators to improve accuracy.
Conclusion
PSAR-SR is a helpful tool for identifying dynamic support and resistance levels and generating buy/sell signals based on price breakouts. However, it should always be used with additional indicators for confirmation to avoid false trades.
Disclaimer:
Use this indicator at your own risk, and always perform additional analysis before making any trading decisions.
If you'd like further clarification or examples of how to apply this to a chart, feel free to ask! 😊
Correlation Coefficient Master TableThe Correlation Coefficient Master Table is a comprehensive tool designed to calculate and visualize the correlation coefficient between a selected base asset and multiple other assets over various time periods. It provides traders and analysts with a clear understanding of the relationships between assets, enabling them to analyze trends, diversification opportunities, and market dynamics. You can define key parameters such as the base asset’s data source (e.g., close price), the assets to compare against (up to six symbols), and multiple lookback periods for granular analysis.
The indicator calculates the covariance and normalizes it by the product of the standard deviations. The correlation coefficient ranges from -1 to +1, with +1 indicating a perfect positive relationship, -1 a perfect negative relationship, and 0 no relationship.
You can specify the lookback periods (e.g., 15, 30, 90, or 120 bars) to tailor the calculation to their analysis needs. The results are visualized as both a line plot and a table. The line plot shows the correlation over the primary lookback period (the Chart Length), which can be used to inspect a certain length close up, or could be used in conjunction with the table to provide you with five lookback periods at once for the same base asset. The dynamically created table provides a detailed breakdown of correlation values for up to six target assets across the four user-defined lengths. The table’s cells are formatted with rounded values and color-coded for easy interpretation.
This indicator is ideal for traders, portfolio managers, and market researchers who need an in-depth understanding of asset interdependencies. By providing both the numerical correlation coefficients and their visual representation, users can easily identify patterns, assess diversification strategies, and monitor correlations across multiple timeframes, making it a valuable tool for decision-making.
Custom VWAP + ATR (D.Kh)Линии VWAP и ATR на выбранном инструменте ATR (Average True Range) — это индикатор, измеряющий среднюю волатильность цены за определенный период. Он используется для установки стоп-лоссов, определения рыночной волатильности и создания торговых стратегий. Рассмотрим, как его реализовать и использовать.
Normalized Jurik Moving Average [QuantAlgo]Upgrade your investing and trading strategy with the Normalized Jurik Moving Average (JMA) , a sophisticated oscillator that combines adaptive smoothing with statistical normalization to deliver high-quality signals! Whether you're a swing trader looking for momentum shifts or a medium- to long-term investor focusing on trend validation, this indicator's statistical approach offers valuable analytical advantages that can enhance your trading and investing decisions!
🟢 Core Architecture
The foundation of this indicator lies in its unique dual-layer calculation system. The first layer implements the Jurik Moving Average, known for its superior noise reduction and responsiveness, while the second layer applies statistical normalization (Z-Score) to create standardized readings. This sophisticated approach helps identify significant price movements while filtering out market noise across various timeframes and instruments.
🟢 Technical Foundation
Three key components power this indicator are:
Jurik Moving Average (JMA): An advanced moving average calculation that provides superior smoothing with minimal lag
Statistical Normalization: Z-Score based scaling that creates consistent, comparable readings across different market conditions
Dynamic Zone Detection: Automatically identifies overbought and oversold conditions based on statistical deviations
🟢 Key Features & Signals
The Normalized JMA delivers market insights through:
Color-adaptive oscillator line that reflects momentum strength and direction
Statistically significant overbought/oversold zones for trade validation
Smart gradient fills between signal line and zero level for enhanced visualization
Clear long (L) and short (S) markers for validated momentum shifts
Intelligent bar coloring that highlights the current market state
Customizable alert system for both bullish and bearish setups
🟢 Practical Usage Tips
Here's how to maximize your use of the Normalized JMA:
1/ Setup:
Add the indicator to your favorites, then apply it to your chart ⭐️
Begin with the default smoothing period for balanced analysis
Use the default normalization period for optimal signal generation
Start with standard visualization settings
Customize colors to match your chart preferences
Enable both bar coloring and signal markers for complete visual feedback
2/ Reading Signals:
Watch for L/S markers - they indicate validated momentum shifts
Monitor oscillator line color changes for direction confirmation
Use the built-in alert system to stay informed of potential trend changes
🟢 Pro Tips
Adjust Smoothing Period based on your trading style:
→ Lower values (8-12) for more responsive signals
→ Higher values (20-30) for more stable trend identification
Fine-tune Normalization Period based on market conditions:
→ Shorter periods (20-25) for more dynamic markets
→ Longer periods (40-50) for more stable markets
Optimize your analysis by:
→ Using +2/-2 zones for primary trade signals
→ Using +3/-3 zones for extreme market conditions
→ Combining with volume analysis for trade confirmation
→ Using multiple timeframe analysis for strategic context
Combine with:
→ Volume indicators for trade validation
→ Price action for entry timing
→ Support/resistance levels for profit targets
→ Trend-following indicators for directional bias
AVP 259 alertsits a mixture of indicators that merges the famous indicators in one single form to easily get explained with their study and mastery
[2025] Asian Session with Sweeps and Engulfing Candles EU M15
Kailangan ulit habaan 'yung description
Basta Engulfing Candle 'to after Asian Sweep.
Asian High Swept = Look for Bearish engulfing
Asian Low Swept = Look for Bearish engulfing
P'wede mapalitan 'yung Asian Session time, for example gusto mong gawing ibang time ng liquidity. Basta same logic. Tapos mapapalitan rin 'yung Window na maghahanap ng Engulfing. Tapos may daily bias toggle rin tsaka alerts. Good to go na 'to basta backtest
VolumeByTiagoFind where the big money is:
Yellow - Very strong (high probability big players investing)
Red - Strong (high probability big players secundary investiments)
Green - Volatility
White - No important Volatility