Multi TimeFrame OHLC Overlay @MaxMaseratiMulti TimeFrame OHLC Overlay @MaxMaserati
A powerful and versatile indicator that displays OHLC (Open, High, Low, Close) data across multiple timeframes with enhanced visualization features. Perfect for traders who need to analyze price action across different time periods simultaneously.
Key Features:
Customizable multi-timeframe OHLC visualization with box and line overlays
Extended OHLC lines from higher timeframes with clear labeling
Distinct bullish and bearish candle representations
Fully configurable color schemes and display options
Real-time timeframe information display
Main Components:
Multi-Timeframe Display
Primary timeframe OHLC visualization with boxes and lines
Extended timeframe overlay for broader market context
Clear visual distinction between timeframes
Customizable Visuals
Separate color settings for bullish and bearish patterns
Adjustable transparency for both body and wick components
Configurable OHLC line colors and visibility
Extended Lines Features
Higher timeframe OHLC level overlay
Custom labels with timeframe identification
Adjustable line properties and visibility
Information Display
Current timeframe indicator
Extended timeframe reference
Clean and unobtrusive interface
Settings Groups:
Extended OHLC Lines
Labels Options
Display Options
Bullish/Bearish Candle Settings
OHLC Lines Configuration
Usage Tips:
Start with the default 240-minute timeframe or adjust to your preferred interval
Use the extended lines feature to view higher timeframe levels
Customize colors and transparency to match your chart theme
Enable/disable specific components based on your analysis needs
Perfect For:
Multi-timeframe analysis
Support/Resistance identification
Price action trading
Trend following strategies
Market structure analysis
This indicator combines powerful multi-timeframe analysis capabilities with clean visualization, making it an essential tool for traders who need to maintain awareness of price action across different time periods.
Note:
For optimal performance, adjust the visual settings according to your chart's timeframe and color scheme. The indicator is designed to work seamlessly across all trading instruments and timeframes.
Indicadores e estratégias
DemaRSI StrategyThis is a repost to a old script that cant be updated anymore, the request was made on Feb, 27, 2016.
Here's a engaging description for the tradingview script:
**DemaRSI Strategy: A Proven Trading System**
Join thousands of traders who have already experienced the power of this highly effective strategy. The DemaRSI system combines two powerful indicators - DEMA (Double Exponential Moving Average) and RSI (Relative Strength Index) - to generate profitable trades with minimal risk.
**Key Features:**
* **Trend-Following**: Our algorithm identifies strong trends using a combination of DEMA and RSI, allowing you to ride the waves of market momentum.
* **Risk Management**: The system includes built-in stop-loss and take-profit levels, ensuring that your gains are protected and losses are minimized.
* **Session-Based Trading**: Trade during specific sessions only (e.g., London or New York) for even more targeted results.
* **Customizable Settings**: Adjust the length of moving averages, RSI periods, and other parameters to suit your trading style.
**What You'll Get:**
* A comprehensive strategy that can be used with any broker or platform
* Easy-to-use interface with customizable settings
* Real-time performance metrics and backtesting capabilities
**Start Trading Like a Pro Today!**
This script is designed for intermediate to advanced traders who want to take their trading game to the next level. With its robust risk management features, this strategy can help you achieve consistent profits in various market conditions.
**Disclaimer:** This script is not intended as investment advice and should be used at your own discretion. Trading carries inherent risks, and losses are possible.
~Llama3
MicuRobert EMA Cross StrategyThis is a repost of a old strategy that cant be updated anymore, it was a request for a user made in Oct, 6, 2015
Here's a possible engaging description for the tradingview script:
**MicuRobert EMA Cross V2: A Powerful Trading Strategy**
Join the ranks of successful traders with this advanced strategy, designed to help you profit from market trends. The MicuRobert EMA Cross V2 combines two essential indicators - Exponential Moving Average (EMA) and Divergence EMA (DEMA) - to generate buy and sell signals.
**Key Features:**
* **Trading Session Filter**: Only trade during your preferred session, ensuring you're in sync with market conditions.
* **Trailing Stop**: Automatically adjust stop-loss levels to lock in profits or limit losses.
* **Customizable Trade Size**: Set the size of each trade based on your risk tolerance and trading goals.
**How it Works:**
The script uses two EMAs (5-period and 34-period) to identify trends. When the shorter EMA crosses above the longer one, a buy signal is generated. Conversely, when the shorter EMA falls below the longer one, a sell signal is triggered. The strategy also incorporates divergence analysis between price action and the EMAs.
**Visual Aids:**
* **EMA Plots**: Visualize the two EMAs on your chart to gauge market momentum.
* **Buy/Sell Signals**: See when buy or sell signals are generated, along with their corresponding entry prices.
* **Trailing Stop Lines**: Monitor stop-loss levels as they adjust based on price action.
**Get Started:**
Download this script and start trading like a pro! With its robust features and customizable settings, the MicuRobert EMA Cross V2 is an excellent addition to any trader's arsenal.
~Llama3
LRI Momentum Cycles [AlgoAlpha]Discover the LRI Momentum Cycles indicator by AlgoAlpha, a cutting-edge tool designed to identify market momentum shifts using trend normalization and linear regression analysis. This advanced indicator helps traders detect bullish and bearish cycles with enhanced accuracy, making it ideal for swing traders and intraday enthusiasts alike.
Key Features :
🎨 Customizable Appearance : Set personalized colors for bullish and bearish trends to match your charting style.
🔧 Dynamic Trend Analysis : Tracks market momentum using a unique trend normalization algorithm.
📊 Linear Regression Insight : Calculates real-time trend direction using linear regression for better precision.
🔔 Alert Notifications : Receive alerts when the market switches from bearish to bullish or vice versa.
How to Use :
🛠 Add the Indicator : Favorite and apply the indicator to your TradingView chart. Adjust the lookback period, linear regression source, and regression length to fit your strategy.
📊 Market Analysis : Watch for color changes on the trend line. Green signals bullish momentum, while red indicates bearish cycles. Use these shifts to time entries and exits.
🔔 Set Alerts : Enable notifications for momentum shifts, ensuring you never miss critical market moves.
How It Works :
The LRI Momentum Cycles indicator calculates trend direction by applying linear regression on a user-defined price source over a specified period. It compares historical trend values, detecting bullish or bearish momentum through a dynamic scoring system. This score is normalized to ensure consistent readings, regardless of market conditions. The indicator visually represents trends using gradient-colored plots and fills to highlight changes in momentum. Alerts trigger when the momentum state changes, providing actionable trading signals.
[blackcat]L3 Strong Power Wave █ OVERVIEW
The script is an indicator named ' L3 Strong Power Wave' (SPW) designed to identify buy and sell signals based on the contraction and expansion of candlestick patterns. It calculates various indicators and plots them on a separate chart panel. The main purpose is to detect when candlestick patterns transition from contracting to expanding (buy signal) and from expanding to contracting (sell signal).
█ LOGICAL FRAMEWORK
The script is structured into several key sections:
Input Parameters and Initialization: The script uses indicator() to define the title, short title, and other properties.
Custom Functions: Several custom functions are defined for calculations, including calculate_weighted_moving_average, calculate_spw_variation, and calculate_strong_power_wave.
Calculations: The script performs complex calculations for the SPW indicators using multiple ta.alma and ta.sma functions.
Plotting: The indicators are plotted on the chart using plot().
Signal Detection: The script detects buy and sell signals based on changes in candlestick sizes.
Labeling: Buy and sell signals are indicated on the chart using label.new().
The flow of data and logic involves first calculating the SPW indicators, then plotting them, and finally detecting and labeling the buy and sell signals based on candlestick pattern changes.
█ CUSTOM FUNCTIONS
1 — calculate_weighted_moving_average(src, length, weight) :
• Purpose: Calculates a weighted moving average of the source data.
• Parameters: src (source data), length (period length), weight (weighting factor).
• Return Value: Weighted moving average value.
2 — calculate_spw_variation(base, multiplier) :
• Purpose: Computes a variation of the base value using a simple moving average and a multiplier.
• Parameters: base (base value), multiplier (multiplier factor).
• Return Value: Calculated variation value.
3 — calculate_strong_power_wave(src) :
• Purpose: Calculates multiple SPW indicators including various ta.alma and ta.sma values.
• Parameters: src (source data, typically close).
• Return Value: A tuple containing calculated SPW indicators.
█ KEY POINTS AND TECHNIQUES
• Weighted Moving Average: The script uses a custom function to calculate a weighted moving average, which can provide more emphasis on recent data points.
• Exponential Moving Averages (ALMA): The script uses ta.alma to smooth data, which is useful for identifying trends.
• Custom Indicators: The script defines and uses multiple custom indicators, demonstrating how to create and integrate complex calculations.
• Signal Detection: The script uses logical conditions to detect buy and sell signals based on candlestick pattern changes, showcasing practical application of technical analysis concepts.
• Labeling: The use of label.new() to mark buy and sell signals provides clear visual cues on the chart.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
• Enhancements: The script could be enhanced by adding additional filters or parameters to refine signal accuracy.
• Backtesting: Implementing backtesting to evaluate the effectiveness of the buy and sell signals.
• Optimization: Optimizing the parameters of the moving averages and multipliers to better suit different market conditions.
• Alternative Indicators: Exploring other indicators that could complement or replace the SPW indicators.
• Related Concepts: Understanding the principles of candlestick pattern analysis and how they can be integrated into Pine Script.
Drawdown from All-Time High (Line)This Pine Script is a **Drawdown Indicator from All-Time High** for TradingView. It calculates and plots the percentage drawdown from the highest price the asset has ever reached (the all-time high). Here's a breakdown of what this script does:
### Description:
- **Drawdown Calculation**:
- The drawdown is calculated as the difference between the current price (`close`) and the all-time high, divided by the all-time high, and multiplied by 100 to express it as a percentage.
- If the current price is higher than the previous all-time high, the all-time high is updated to the current price.
- **All-Time High Tracking**:
- The script tracks the highest price (`allTimeHigh`) that the asset has ever reached. Each time a new high is reached, the `allTimeHigh` value is updated.
- **Line Plot**:
- The drawdown percentage is then plotted as a line on the chart, with a color of **blue** for easy visualization.
- The line shows how much the price has dropped relative to its all-time high.
- **Zero Line**:
- A horizontal line is added at the **0%** level to act as a reference point, which is helpful to identify when the asset has fully recovered to its all-time high.
### Key Features:
- **Track Drawdown**: The indicator helps visualize how far the current price has fallen from its highest point, which is useful for understanding the depth of losses (drawdowns) during a period.
- **Update All-Time High**: The indicator automatically updates the all-time high whenever a new high is detected.
- **Visual Reference**: The 0% horizontal line provides a clear indication of when the asset is at its all-time high, and the drawdown is at 0%.
### How it Works:
- If the current price surpasses the all-time high, the script will reset the all-time high to the new price.
- The drawdown percentage is calculated from the current price relative to this all-time high, and it is displayed as a line on the chart.
### Visuals:
- **Drawdown Line**: Plots the percentage of the drawdown, which is the drop from the all-time high.
- **Zero Line**: A dotted horizontal line at 0% marks the level of the all-time high.
This indicator is valuable for understanding the extent of price corrections and potential recoveries relative to the historical peak of the asset. It is especially useful for traders and investors who want to assess the risk of drawdowns in relation to the highest price achieved by the asset.
C|M Capital (Market Structure Pro)CM Capital (Market Structure Pro)
Overview:
The CM Capital (Market Structure Pro) Indicator is a groundbreaking tool for traders seeking a comprehensive market analysis. This closed-source script merges multiple facets of market dynamics into a single, user-friendly interface, designed to enhance decision-making by providing a multi-dimensional view of market behavior. By combining advanced market structure detection, liquidity event identification, Fair Value Gap analysis, and session-specific insights, this indicator offers traders a strategic advantage in navigating the complexities of financial markets.
Key Functionalities:
Market Structure Insights:
Break of Structure (BOS) and Market Structure Shifts (MSS):
Methodology: Our approach uses fractal analysis coupled with custom algorithms to dissect price movements, identifying pivotal moments where market structure breaks or shifts. The script evaluates candle patterns, volume data, and price momentum to flag these events.
Customization: Users can choose between candle close or wick confirmations and select from various line styles for visualization, tailoring the sensitivity to match their trading strategy, whether it's scalping or swing trading.
Utility: These markers act as early signals for trend changes, allowing traders to prepare for potential reversals or continuations, especially useful in volatile markets where timely decisions are crucial.
Structure Strength:
Highs and Lows Definition: The 'Structure Strength' setting in this indicator directly influences the identification of structure highs and lows. It's not just about detecting market structure; it's about defining what constitutes a significant high or low based on your trading horizon.
Swing vs. Internal Structure:
Lower Strength: Opting for a lower strength setting will highlight more extreme, swing-type structures. This means the indicator will mark out only the most pronounced highs and lows, which are ideal for traders focusing on broader market swings or longer-term trends.
Higher Strength: Conversely, increasing the strength level plots more internal structure levels. This setting is perfect for traders who want to dive into the market's micro-movements, offering insights into potential support and resistance within ongoing trends, essentially capturing more reactive and detailed price action.
Strategic Application: This adjustable parameter allows traders to zoom in or out on the market structure, aligning with their trading style or the specific market conditions they're navigating. Whether you're looking to catch significant market turns or to finesse entries and exits within a trend, the structure strength setting provides the granularity needed for nuanced market analysis.
Liquidity Sweeps:
Detection: Beyond traditional price action analysis, our indicator incorporates a unique method to spot liquidity sweeps. By analyzing price movements against historical support/resistance zones, it highlights instances where significant orders might have been absorbed, suggesting areas of potential price reversal or continuation.
Visualization: Liquidity sweeps are visually marked with customizable colors and an 'X' label, making them instantly recognizable. This feature is particularly beneficial for traders looking to enter or exit trades based on market inefficiencies or anticipated institutional activity.
Application: Traders can use these signals to anticipate where the market might react strongly, either as support for entries or as a caution for exits, enhancing trade precision.
Fair Value Gaps (FVGs):
Identification: Our proprietary FVG detection algorithm looks for price discrepancies over recent bars, signaling where the market could aim to rebalance. This is not merely about spotting gaps but understanding their context within the market's flow.
Enhanced Visualization: Users can extend FVGs across the chart, providing a clearer view of potential mean reversion points or continuation levels, aiding in setting targets or stop-losses.
Strategic Use: FVGs serve as dynamic levels where traders might expect price action to revisit, offering opportunities for mean reversion trades or confirming trend strength.
Session Visualization:
Session Markers: By delineating Asia, London, and New York session times, the indicator helps traders recognize session-specific volatility, trends, and liquidity conditions. Each session can be customized for color and duration, aligning with various trading strategies.
Timeframe Correlation: Integrating session analysis with structural and liquidity insights allows for a strategy where trades are timed not just by price action but by when in the global market cycle they occur, potentially increasing the effectiveness of entry and exit points.
Watermark Display:
Personalization: Add a personal touch or brand identity to your charts with customizable text and color options for the watermark, enhancing both the aesthetic and functional aspects of your trading setup.
Originality:
This script's originality lies in its holistic approach to market analysis. The integration of these diverse yet synergistic components provides a unique toolset:
Confluence of Signals: Each element enhances the others, creating a confluence where structural changes, liquidity events, and time-based market conditions are analyzed in concert, offering a more complete trading signal than isolated indicators.
Customization for Diverse Trading Styles: From high-frequency scalping to long-term trend following, the script's flexibility caters to a broad spectrum of trading strategies by allowing adjustments in sensitivity, visualization, and application.
How to Use:
Setup: Add the script to your chart and explore the settings in the input panel. Customize the visual and functional aspects to align with your trading style.
Strategy Application:
Use BOS/MSS for trend confirmation, liquidity sweeps for entry/exit precision, FVGs for mean reversion opportunities, and session markers to time your trades optimally.
Consider combining signals for stronger trade validation; for instance, a BOS during the London session might be more significant if it coincides with a liquidity sweep and an FVG from the Asian session.
Big Money by ChartedhighsBig Money by Chartedhighs
Script Overview:
The "Big Money" indicator is designed to help traders easily identify significant price movements on their charts. This script visually highlights candles where the price change from open to close exceeds a user-defined threshold. It draws attention to these key moments, providing a clear indication of potential big-money moves in the market.
Key Features:
Customizable Threshold:
Allows users to set a specific price change threshold via the input menu (Highlight Threshold).
Only candles with a price change greater than or equal to this value are highlighted.
Candle Highlighting:
Uses color-coded bars to emphasize candles meeting the threshold condition.
Candles are highlighted in yellow for immediate visual clarity.
Dynamic Box Annotation:
Draws a semi-transparent yellow box around highlighted candles.
Extends the box dynamically to subsequent bars, providing an area of interest for continued analysis.
Labeling for Key Moments:
Automatically adds a label ("BigMoney") above highlighted bars to further indicate significant price action.
How It Works:
The script calculates the price change for each bar (close - open) and compares it to the user-defined threshold.
If the price change meets or exceeds the threshold:
The bar color changes to yellow.
A box is drawn around the candle to highlight the price movement visually.
A label is added above the candle to emphasize its significance.
The box extends dynamically until the next highlighted candle, allowing users to track zones of activity.
Customization Options:
Highlight Threshold: Modify the threshold value to suit your trading style or instrument volatility.
Use Case:
This indicator is ideal for traders looking to identify significant price movements quickly. It helps to locate areas where "big money" might be flowing into the market, offering potential entry or exit opportunities.
How to Use:
Add the "Big Money by Chartedhighs" script to your TradingView chart.
Set the Highlight Threshold to a value suitable for your market or timeframe.
Observe highlighted candles and boxes for potential trading signals or areas of interest.
This script is highly visual, intuitive, and customizable, making it a great addition to any trader's toolkit!
Multi VWAPThe Multi-VWAP Indicator is a versatile tool designed to plot up to three Volume Weighted Average Price (VWAP) lines simultaneously, each anchored to a user-defined period. This indicator provides traders with a comprehensive view of price action across multiple timeframes, making it ideal for analyzing trends, support, and resistance levels.
Key Features:
Multiple Anchoring Options:
Each VWAP can be independently anchored to one of the following periods:
Session: Resets at the start of each trading day.
Week: Resets at the start of each week.
Month: Resets at the start of each month.
Quarter: Resets at the start of each quarter.
Year: Resets at the start of each year.
User Customization:
Choose the anchoring period for each VWAP line via dropdown menus.
Assign distinct colors to each VWAP for better visual differentiation.
Dynamic Price Source:
The VWAP calculation is based on the average price (hlc3) by default but can be modified by the user to use other price inputs.
Clear Visualization:
Displays three separate VWAP lines simultaneously, helping traders identify confluences or divergences in price action across timeframes.
Use Cases:
Intraday Trading: Use session-anchored VWAP to track intraday trends and mean reversion points.
Swing Trading: Combine weekly and monthly VWAPs to identify longer-term support and resistance levels.
Multi-Timeframe Analysis: Visualize how price interacts with VWAPs from different periods to spot key zones of interest.
This indicator is a powerful tool for traders who want to incorporate VWAP into their strategies while maintaining flexibility to adapt to various market conditions.
Three Step Future-Trend [BigBeluga]Three Step Future-Trend by BigBeluga is a forward-looking trend analysis tool designed to project potential future price direction based on historical periods. This indicator aggregates data from three consecutive periods, using price averages and delta volume analysis to forecast trend movement and visualize it on the chart with a projected trend line and volume metrics.
🔵 Key Features:
Three Period Analysis: Calculates price averages and delta volumes from three specified periods, creating a consolidated view of historical price movement.
Future Trend Line Projection: Plots a forward trend line based on the calculated averag of three periods, helping traders visualize potential future price movement.
Avg Delta Volume and Future Price Label: Shows a delta average Volume a long with a Future Price label at the end of the projected trend line, indicating the possible future delta volume and future Price.
Volume Data Table: Displays a detailed table showing delta and total volume for each of the three periods, allowing quick volume comparison to support the projected trend.
This indicator provides a dynamic way to anticipate market direction by blending price and volume data, giving traders insights into both volume and trend strength in upcoming periods.
Log Regression OscillatorThe Log Regression Oscillator transforms the logarithmic regression curves into an easy-to-interpret oscillator that displays potential cycle tops/bottoms.
🔶 USAGE
Calculating the logarithmic regression of long-term swings can help show future tops/bottoms. The relationship between previous swing points is calculated and projected further. The calculated levels are directly associated with swing points, which means every swing point will change the calculation. Importantly, all levels will be updated through all bars when a new swing is detected.
The "Log Regression Oscillator" transforms the calculated levels, where the top level is regarded as 100 and the bottom level as 0. The price values are displayed in between and calculated as a ratio between the top and bottom, resulting in a clear view of where the price is situated.
The main picture contains the Logarithmic Regression Alternative on the chart to compare with this published script.
Included are the levels 30 and 70. In the example of Bitcoin, previous cycles showed a similar pattern: the bullish parabolic was halfway when the oscillator passed the 30-level, and the top was very near when passing the 70-level.
🔹 Proactive
A "Proactive" option is included, which ensures immediate calculations of tentative unconfirmed swings.
Instead of waiting 300 bars for confirmation, the "Proactive" mode will display a gray-white dot (not confirmed swing) and add the unconfirmed Swing value to the calculation.
The above example shows that the "Calculated Values" of the potential future top and bottom are adjusted, including the provisional swing.
When the swing is confirmed, the calculations are again adjusted, showing a red dot (confirmed top swing) or a green dot (confirmed bottom swing).
🔹 Dashboard
When less than two swings are available (top/bottom), this will be shown in the dashboard.
The user can lower the "Threshold" value or switch to a lower timeframe.
🔹 Notes
Logarithmic regression is typically used to model situations where growth or decay accelerates rapidly at first and then slows over time, meaning some symbols/tickers will fit better than others.
Since the logarithmic regression depends on swing values, each new value will change the calculation. A well-fitted model could not fit anymore in the future.
Users have to check the validity of swings; for example, if the direction of swings is downwards, then the dataset is not fitted for logarithmic regression.
In the example above, the "Threshold" is lowered. However, the calculated levels are unreliable due to the swings, which do not fit the model well.
Here, the combination of downward bottom swings and price accelerates slower at first and faster recently, resulting in a non-fit for the logarithmic regression model.
Note the price value (white line) is bound to a limit of 150 (upwards) and -150 (down)
In short, logarithmic regression is best used when there are enough tops/bottoms, and all tops are around 100, and all bottoms around 0.
Also, note that this indicator has been developed for a daily (or higher) timeframe chart.
🔶 DETAILS
In mathematics, the dot product or scalar product is an algebraic operation that takes two equal-length sequences of numbers (arrays) and returns a single number, the sum of the products of the corresponding entries of the two sequences of numbers.
The usual way is to loop through both arrays and sum the products.
In this case, the two arrays are transformed into a matrix, wherein in one matrix, a single column is filled with the first array values, and in the second matrix, a single row is filled with the second array values.
After this, the function matrix.mult() returns a new matrix resulting from the product between the matrices m1 and m2.
Then, the matrix.eigenvalues() function transforms this matrix into an array, where the array.sum() function finally returns the sum of the array's elements, which is the dot product.
dot(x, y)=>
if x.size() > 1 and y.size() > 1
m1 = matrix.new()
m2 = matrix.new()
m1.add_col(m1.columns(), y)
m2.add_row(m2.rows (), x)
m1.mult (m2)
.eigenvalues()
.sum()
🔶 SETTINGS
Threshold: Period used for the swing detection, with higher values returning longer-term Swing Levels.
Proactive: Tentative Swings are included with this setting enabled.
Style: Color Settings
Dashboard: Toggle, "Location" and "Text Size"
Support and Resistance LinesDraw the last 5 support and resistance lines. It works on the current timeframe. You can adjust the sensibility by changing the diff variable.
Sweep + Cement Candle Coloring with EMA hopdcCertainly! Here's an introduction for the indicator:
---
## Introduction to the Sweep + Cement Candle Coloring with EMA Indicator
The **Sweep + Cement Candle Coloring with EMA Indicator** is a powerful tool designed to enhance your technical analysis and trading strategies. This indicator combines the unique characteristics of Sweep and Cement candle patterns with the dynamic capabilities of Exponential Moving Averages (EMAs), providing traders with insightful signals for potential market movements.
### Key Features:
1. **Candle Coloring**:
- **Sweep + Cement Bullish Candles**: Highlighted in teal when the low of the current candle is lower than the previous candle, and the close is above the previous high. This indicates potential bullish momentum.
- **Sweep + Cement Bearish Candles**: Marked in red when the high of the current candle is higher than the previous candle, and the close is below the previous low, signaling possible bearish pressure.
2. **Exponential Moving Averages (EMAs)**:
- **EMA 0 (Default Length: 9)**: Provides short-term trend direction.
- **EMA 1 (Default Length: 21)** and **EMA 2 (Default Length: 50)**: Offer insights into medium and long-term trends.
- Customizable settings allow traders to adjust EMA lengths and colors based on their preferences.
3. **Trading Signals**:
- **Buy Signal**: Triggered when a bullish Sweep + Cement candle forms, EMA 1 is above EMA 2, and the price closes above all EMAs.
- **Sell Signal**: Activated with a bearish Sweep + Cement candle, EMA 1 below EMA 2, and the price closes below all EMAs.
- Visual arrows on the chart indicate buy and sell opportunities.
4. **Alerts**:
- Configurable alerts notify traders when the price touches any of the EMAs, ensuring you never miss critical levels.
- Alerts for buy and sell signals keep you informed of potential entries and exits.
### How It Benefits Traders:
This indicator is ideal for traders looking to identify and capitalize on market reversals and trend continuations. By integrating candle patterns with EMA analysis, it provides a comprehensive view of market dynamics, making it easier to spot high-probability trading opportunities.
Whether you are a beginner or an experienced trader, the Sweep + Cement Candle Coloring with EMA Indicator can be a valuable addition to your trading toolkit, helping you make informed decisions with confidence.
---
Feel free to adjust the content to better fit your audience or specific use case!
Custom Strategy: ETH Martingale 2.0Strategic characteristics
ETH Little Martin 2.0 is a self-developed trading strategy based on the Martingale strategy, mainly used for trading ETH (Ethereum). The core idea of this strategy is to place orders in the same direction at a fixed price interval, and then use Martin's multiple investment principle to reduce losses, but this is also the main source of losses.
Parameter description:
1 Interval: The minimum spacing for taking profit, stop loss, and opening/closing of orders. Different targets have different spacing. Taking ETH as an example, it is generally recommended to have a spacing of 2% for fluctuations in the target.
2 Base Price: This is the price at which you triggered the first order. Similarly, I am using ETH as an example. If you have other targets, I suggest using the initial value of a price that can be backtesting. The Base Price is only an initial order price and has no impact on subsequent orders.
3 Initial Order Amount: Users can set an initial order amount to control the risk of each transaction. If the stop loss is reached, we will double the amount based on this value. This refers to the value of the position held, not the number of positions held.
4 Loss Multiplier: The strategy will increase the next order amount based on the set multiple after the stop loss, in order to make up for the previous losses through a larger position. Note that after taking profit, it will be reset to 1 times the Initial Order Amount.
5. Long Short Operation: The first order of the strategy is a multiple entry, and in subsequent orders, if the stop loss is reached, a reverse order will be opened. The position value of a one-way order is based on the Loss Multiplier multiple investment, so it is generally recommended that the Loss Multiplier default to 2.
Improvement direction
Although this strategy already has a certain trading logic, there are still some improvement directions that can be considered:
1. Dynamic adjustment of spacing: Currently, the spacing is fixed, and it can be considered to dynamically adjust the spacing based on market volatility to improve the adaptability of the strategy. Try using dynamic spacing, which may be more suitable for the actual market situation.
2. Filtering criteria: Orders and no orders can be optimized separately. The biggest problem with this strategy is that it will result in continuous losses during fluctuations, and eventually increase the investment amount. You can consider filtering out some fluctuations or only focusing on trend trends.
3. Risk management: Add more risk management measures, such as setting a maximum loss limit to avoid huge losses caused by continuous stop loss.
4. Optimize the stop loss multiple: Currently, the stop loss multiple is fixed, and it can be considered to dynamically adjust the multiple according to market conditions to reduce risk.
Multi-Timeframe Highs and LowsThe "Multi-Timeframe Highs and Lows" indicator is a comprehensive tool designed to plot recent Highs and Lows across multiple timeframes, including 15-Minute, 30-Minute, 1-Hour, 4-Hour, 8-Hour, Daily, Weekly, and Monthly. This indicator provides traders with a clear view of critical support and resistance levels, enabling precise decision-making for entries, exits, and stop-loss placements. It features customizable lookbacks, dynamic line extensions, and advanced label placement logic to prevent overlap, ensuring a clean and clutter-free chart. With fully customizable colors and styles for each timeframe, traders can tailor the indicator to their preferences. Whether you’re a scalper, swing trader, or position trader, this tool adapts to your strategy, providing actionable insights for breakout, reversal, and trend-following setups. Optimized for performance, it handles multiple lines and labels efficiently, making it suitable for high-activity charts. The "Multi-Timeframe Highs and Lows" indicator is an indispensable tool for traders seeking to identify and utilize key price levels across all timeframes with precision and clarity.
Employee Portfolio Generator [By MUQWISHI]▋ INTRODUCTION :
The “Employee Portfolio Generator” simplifies the process of building a long-term investment portfolio tailored for employees seeking to build wealth through investments rather than traditional bank savings. The tool empowers employees to set up recurring deposits at customizable intervals, enabling to make additional purchases in a list of preferred holdings, with the ability to define the purchasing investment weight for each security. The tool serves as a comprehensive solution for tracking portfolio performance, conducting research, and analyzing specific aspects of portfolio investments. The output includes an index value, a table of holdings, and chart plots, providing a deeper understanding of the portfolio's historical movements.
_______________________
▋ OVERVIEW:
● Scenario (The chart above can be taken as an example) :
Let say, in 2010, a newly employed individual committed to saving $1,000 each month. Rather than relying on a traditional savings account, chose to invest the majority of monthly savings in stable well-established stocks. Allocating 30% of monthly saving to AMEX:SPY and another 30% to NASDAQ:QQQ , recognizing these as reliable options for steady growth. Additionally, there was an admired toward innovative business models of NASDAQ:AAPL , NASDAQ:MSFT , NASDAQ:AMZN , and NASDAQ:EBAY , leading to invest 10% in each of those companies. By the end of 2024, after 15 years, the total monthly deposits amounted to $179,000, which would have been the result of traditional saving alone. However, by sticking into long term invest, the value of the portfolio assets grew, reaching nearly $900,000.
_______________________
▋ OUTPUTS:
The table can be displayed in three formats:
1. Portfolio Index Title: displays the index name at the top, and at the bottom, it shows the index value, along with the chart timeframe, e.g., daily change in points and percentage.
2. Specifications: displays the essential information on portfolio performance, including the investment date range, total deposits, free cash, returns, and assets.
3. Holdings: a list of the holding securities inside a table that contains the ticker, last price, entry price, return percentage of the portfolio's total deposits, and latest weighted percentage of the portfolio. Additionally, a tooltip appears when the user passes the cursor over a ticker's cell, showing brief information about the company, such as the company's name, exchange market, country, sector, and industry.
4. Indication of New Deposit: An indication of a new deposit added to the portfolio for additional purchasing.
5. Chart: The portfolio's historical movements can be visualized in a plot, displayed as a bar chart, candlestick chart, or line chart, depending on the preferred format, as shown below.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Table Settings
(1) Naming the index.
(2) Table location on the chart and cell size.
(3) Sorting Holdings Table. By securities’ {Return(%) Portfolio, Weight(%) Portfolio, or Ticker Alphabetical} order.
(4) Choose the type of index: {Assets, Return, or Return (%)}, and the plot type for the portfolio index: {Candle, Bar, or Line}.
(5) Positive/Negative colors.
(6) Table Colors (Title, Cell, and Text).
(7) To show/hide any of selected indicator’s components.
Section(2): Recurring Deposit Settings
(1) From DateTime of starting the investment.
(2) To DateTime of ending the investment
(3) The amount of recurring deposit into portfolio and currency.
(4) The frequency of recurring deposits into the portfolio {Weekly, 2-Weeks, Monthly, Quarterly, Yearly}
(5) The Depositing Model:
● Fixed: The amount for recurring deposits remains constant throughout the entire investment period.
● Increased %: The recurring deposit amount increases at the selected frequency and percentage throughout the entire investment period.
(5B) If the user selects “ Depositing Model: Increased % ”, specify the growth model (linear or exponential) and define the rate of increase.
Section(3): Portfolio Holdings
(1) Enable a ticker in the investment portfolio.
(2) The selected deposit frequency weight for a ticker. For example, if the monthly deposit is $1,000 and the selected weight for XYZ stock is 30%, $300 will be used to purchase shares of XYZ stock.
(3) Select up to 6 tickers that the investor is interested in for long-term investment.
Please let me know if you have any questions
Wyckoff Trading Strategy for XAU/USD by KAIZVIETNAMXAU/USD TF M15 TP SL 20-30 pip
- Volume: Calculates the average volume based on the SMA to compare with the current trading volume.
- ATR (Average True Range): Calculated to determine price volatility.
- Support and Resistance Levels: Identifies support and resistance levels over the last 10 trading sessions.
Specific Point Identification
- A series of functions are defined to detect critical phases in the market structure, such as:
- Finding Preliminary Support: Recognizing signals of accumulation near support levels.
- Finding Selling Climax: Detecting signals of profit-taking near resistance levels.
- Finding Last Point of Support: Identifying points that provide stability for the price.
- Finding Preliminary Supply: Recognizing supply signals near resistance levels.
- Finding Buying Climax: Identifying strong buy signals accompanied by high trading volume.
- Finding Sign of Weakness: Determining instances of price adjustments that could lead to declines.
Market State Identification
- Accumulation: When the closing price is situated between the support and resistance levels.
- Distribution: When the closing price approaches the highest level of the previous few sessions.
- Sideways: When there is no clear bias toward either an upward or downward trend.
Buy and Sell Signals
- Buy Signals: Determined through finding preliminary support, selling climax, and last point of support.
- Sell Signals: Determined through finding preliminary supply, buying climax, and signs of weakness.
ATT + Key Levels with SessionsKey Features:
ATT Turning Point Numbers:
This input allows the user to define specific numbers (e.g., "3,11,17,29,41,47,53,59") that mark turning points in price action, which are checked using the bar_index modulo 60. If the current bar index matches one of these turning points, it triggers potential buy or sell signals.
RSI (Relative Strength Index):
The RSI is calculated based on a user-defined period (rsi_period), typically 14, and used to indicate overbought or oversold conditions. The script defines overbought (70) and oversold (30) levels, which are used to filter buy or sell signals.
Session Times:
The script includes predefined session times for major trading markets:
New York: From 9:30 AM EST to 4:00 PM EST.
London: From 8:00 AM GMT to 4:30 PM GMT.
Asia: From 12:00 AM GMT to 9:00 AM GMT.
These session times are used to restrict the buy and sell signals to specific market sessions.
Key Levels:
The script calculates and plots key market levels for the current day and week:
Daily High and Low: The highest and lowest prices of the current day.
Weekly High and Low: The highest and lowest prices of the current week.
These levels are plotted with different colors for visual reference.
Signal Logic:
Buy Signal: Triggered when the current bar is a turning point (according to the ATT model), the RSI is below the oversold threshold, and the current time is within the active session times (New York, London, or Asia).
Sell Signal: Triggered when the current bar is a turning point, the RSI is above the overbought threshold, and the current time is within the active session times.
Signal Limitations:
A user-defined limit (max_signals_per_session) controls the maximum number of signals that can be plotted within each session. This prevents excessive signal generation.
Plotting and Background Highlights:
Buy and Sell Signals: The script plots shapes (labels) above or below the bars to indicate buy or sell signals when the conditions are met.
Background Highlight: The background color is highlighted in yellow when the current bar matches one of the defined ATT turning points.
In Summary:
The indicator combines multiple technical factors to generate trading signals:
Turning points in price action (based on custom ATT numbers),
RSI levels (overbought/oversold),
Market session times (New York, London, Asia),
Key price levels (daily and weekly highs and lows).
This combination helps traders identify potential buying and selling opportunities while considering broader market dynamics and limiting the number of signals during each session.
AuriumFlowAURIUM (GOLD-Weighted Average with Fractal Dynamics)
Aurium is a cutting-edge indicator that blends volume-weighted moving averages (VWMA), fractal geometry, and Fibonacci-inspired calculations to deliver a precise and holistic view of market trends. By dynamically adjusting to price and volume, Aurium uncovers key levels of confluence for trend reversals and continuations, making it a powerful tool for traders.
Key Features:
Dynamic Trendline (GOLD):
The central trendline is a weighted moving average based on price and volume, tuned using Fibonacci-based fast (34) and slow (144) exponential moving average lengths. This ensures the trendline adapts seamlessly to the flow of market dynamics.
Formula:
GOLD = VWMA(34) * Volume Factor + VWMA(144) * (1 - Volume Factor)
Fractal Highs and Lows:
Detects pivotal market points using a fractal lookback period (default 5, odd-numbered). Fractals identify local highs and lows over a defined window, capturing the structure of market cycles.
Trend Background Highlighting:
Bullish Zone: Price above the GOLD line with a green background.
Bearish Zone: Price below the GOLD line with a red background.
Buy and Sell Alerts:
Generates actionable signals when fractals align with GOLD. Bullish fractals confirm continuation or reversal in an uptrend, while bearish fractals validate a downtrend.
The Math Behind Aurium:
Volume-Weighted Adjustments:
By integrating volume into the calculation, Aurium dynamically emphasizes price levels with greater participation, giving traders insight into zones of institutional interest.
Formula:
VWMA = EMA(Close * Volume) / EMA(Volume)
Fractal Calculations:
Fractals are identified as local maxima (highs) or minima (lows) based on the surrounding bars, leveraging the natural symmetry in price behavior.
Fibonacci Relationships:
The 34 and 144 EMA lengths are Fibonacci numbers, offering a natural alignment with price cycles and market rhythms.
Ideal For:
Traders seeking a precise and intuitive indicator for aligning with trends and detecting reversals.
Strategies inspired by Bill Williams, with added volume and fractal-based insights.
Short-term scalpers and long-term trend-followers alike.
Unlock deeper market insights and trade with precision using Aurium!
[blackcat] L1 Swing Reversal Oscillator█ OVERVIEW
The script defines a custom indicator called the "L1 Swing Reversal Oscillator," which integrates moving averages and RSI to detect possible swing reversals in market trends. Its core purpose is to produce signals derived from the oscillator's indications of overbought or oversold states.
█ LOGICAL FRAMEWORK
The script comprises multiple key segments:
1 — Custom Functions: Encompasses calculate_weighted_moving_average and calculate_l1_swing_reversal_oscillator.
2 — Input Parameters: Permits customization of moving average lengths and weights alongside RSI settings.
3 — Calculations: Employs predefined functions to determine oscillator readings.
4 — Plot Statements: Depicts oscillator outputs graphically on the chart.
Data processing follows this sequence: initial computation of the typical price, subsequent derivation of the adjusted CC1 metric, additional smoothing operations, and finally, RSI evaluation prior to plotting the resultant oscillator figures.
█ CUSTOM FUNCTIONS
• calculate_weighted_moving_average(source, length, weight) : Generates a weighted moving average from the provided source material utilizing specified duration and coefficient inputs.
– Returns computed weighted moving average.
• calculate_l1_swing_reversal_oscillator(close_price, high_price, low_price, sma_length, sma_weight, rsi_length) : Assesses the L1 Swing Reversal Oscillator leveraging closing, highest, and lowest prices along with defined SMA span, weighting factor, and RSI period.
– Yields an array featuring central CC1, CB1, CB2, and RSI metrics.
█ KEY POINTS AND TECHNIQUES
• Weighted Moving Average: Incorporates bespoke functionality for computing weighted moving averages, distinct from built-in Pine Script methods.
• RSI Calculation: Employs customized logic for calculating Relative Strength Index, offering adaptable computational approaches.
• Plotting Techniques: Implements color coding contingent upon oscillator values to emphasize visual cues regarding overbought and oversold statuses.
• Optimization: Furnishes adjustable parameters including SMA timeframe, weightage, and RSI interval enabling personalized fine-tuning per user requirements.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
• Modifications: Potential enhancements involve integrating supplementary oscillators like MACD or Stochastic Oscillator alongside the existing L1 Swing Reversal Oscillator.
• Application Scenarios: Comparable methodologies can be adopted within various trading frameworks focusing on momentum shifts such as trend-following or mean reversion tactics.
• Related Concepts: Proficiency in crafting custom functions, manipulating moving averages, and interpreting RSI within Pine Script environment proves advantageous when altering or expanding on current script functionalities. Understanding utilization of nz and na functions for managing null data points adds significant depth.
Calculate Order Entry Units based on set Dollar ValuesFUNCTIONS
- Calculate UNITS quantity based on user's input dollar values.
- Show Units in table
USAGE
- Enter 6 usual order $ values
- Use units value in order entry
Tradingview doesn't have order entry in dollar value for most connections/exchanges so it's really tedious to calculate Units some other way every time.
This gives you the Units based on your most used order value sizes in a quick way.
Possible future updates
- Allow user settings for number of values to display
- Allow user option to set titles for each row
Note:
Tradingview really need to get off their butts and give us a real DOM panel and working dollar value order entry for all exchanges among other order entry panel updates.
I hope everyone is suggesting this to them.
Multiple VWAP SuiteThe VWAP Suite is a tool I created to streamline VWAP analysis for traders. By integrating Anchored and Rolling VWAPs into a single indicator, it eliminates the need for multiple separate tools, keeping charts clean and organized without sacrificing flexibility or functionality. The goal was to simplify VWAP management by combining six different configurations into one intuitive and highly customizable indicator. It’s designed for traders who utilize VWAP-based strategies for trend analysis, support/resistance identification, or mean-reversion setups.
Features:
1. Integrated Anchored VWAPs:
Includes three customizable Anchored VWAPs, each tied to a specific timeframe such as Session, Weekly, Monthly, or even Decade.
Standard deviation bands can provide visual cues for dynamic support/resistance or volatility ranges.
Each VWAP can be toggled on/off and customized for color and band appearance.
2. Rolling VWAPs:
Includes three independently configurable Rolling VWAPs for dynamic timeframe analysis (Daily, Weekly, Monthly).
Rolling VWAPs feature optional deviation bands to gauge price action within a defined volatility range.
Smooth visualization using stepline plots for better trend identification.
3. Labeling System:
Labels show the VWAP levels and percentage deviations from the current price for easy reference.
Adjustable text size for improved chart readability.
4. Customizability:
Fully adjustable input sources for both Anchored and Rolling VWAPs, allowing you to tailor the indicator to your strategy.
Ability to enable or disable specific VWAPs, deviation bands, or labels depending on your focus.
Why Did I Make This?
Managing multiple VWAP indicators often leads to cluttered charts and inefficient workflows. I created the VWAP Suite to address this issue, combining Anchored and Rolling VWAPs into a single, powerful tool. Whether you’re a scalper, swing trader, or long-term trend follower, this script keeps everything you need in one place, simplifying your workflow and enhancing your ability to make informed trading decisions.
Feel free to comment any suggestions or questions! Enjoy!
Enhanced RSIEnhanced RSI with Phases, Divergences & Volume Control:
This advanced RSI indicator expands on the traditional Relative Strength Index by introducing dynamic exhaustion phase detection, automatic divergence identification, and volume-based control evaluation. It provides traders with actionable insights into trend momentum, potential reversals, and market dominance.
Key Features:
Dynamic Exhaustion Phases:
Identifies real phases of the RSI based on slope and momentum:
Acceleration: Momentum increasing rapidly (green phase).
Deceleration: Momentum weakening (red phase).
Plateau: Momentum flattening (yellow phase).
Neutral: No significant momentum shift detected.
Phases are displayed dynamically in a box on the chart.
Automatic Divergence Detection:
Bullish Divergence: Identified when price makes a lower low while RSI makes a higher low.
Bearish Divergence: Identified when price makes a higher high while RSI makes a lower high.
Divergences are marked directly on the RSI chart with labeled circles.
Volume-Based Control Evaluation:
Analyzes price action relative to volume to determine market dominance:
Bulls in Control: Closing price is higher than the opening price.
Bears in Control: Closing price is lower than the opening price.
Neutral: No significant dominance (closing equals opening).
Volume status is displayed alongside the RSI phase in the chart’s top-left box.
Custom RSI Plot:
Includes overbought (70), oversold (30), and neutral (50) levels for easier interpretation of market conditions.
RSI plotted in blue for clarity.
How to Use:
Add to Chart:
Apply this indicator to any chart in TradingView.
Interpret the RSI Phase Box:
Use the RSI phase (Acceleration, Deceleration, Plateau, Neutral) to identify trend momentum.
Combine the phase with the volume status (Bulls or Bears in Control) to confirm market sentiment.
Identify Divergences:
Look for Bullish Divergence (potential upward reversal) or Bearish Divergence (potential downward reversal) marked directly on the RSI chart.
Adjust Settings:
Customize the RSI period, phase sensitivity, and divergence lookback period to fit your trading style.
Disclaimer:
This indicator is a tool to assist with technical analysis. It is not a financial advice or a guarantee of market performance. Always combine this indicator with other methods or strategies for better results.