ENIGMA ENDGAME with Dynamic Trend-Based FibonacciOverview:
The *ENIGMA ENDGAME with Dynamic Trend-Based Fibonacci* indicator is designed for traders seeking precision in identifying high-probability trade opportunities based on dynamic Fibonacci retracement levels. By combining trend analysis, Fibonacci filtering, and session-based logic, this indicator provides actionable buy and sell signals with a strong foundation in technical analysis.
Features:
1. **Dynamic Trend-Based Fibonacci Levels:**
- Automatically calculates Fibonacci retracement levels based on the current market trend (uptrend or downtrend).
- Levels dynamically adjust to the latest swing high/low, providing an evolving view of key price areas.
2. **Customizable Fibonacci Levels:**
- Configure up to four Fibonacci levels (e.g., 50%, 61.8%, 72%, 99%) to tailor the indicator to your trading strategy.
- Default levels are pre-set but can be adjusted for unique market approaches.
3. **Kill Zones for Session Filtering:**
- Filters trades based on predefined trading sessions (London and US).
- Easily configurable to match your trading hours or preferences.
4. **Buy and Sell Signals:**
- **Buy Signals**: Triggered during uptrends when the price pulls back to Fibonacci support levels.
- **Sell Signals**: Triggered during downtrends when the price retraces to Fibonacci resistance levels.
- Signal shapes (green triangles for buys, red triangles for sells) make them visually clear on the chart.
5. **Customizable Historical Signals:**
- Control how many past signals are displayed to maintain a clean chart while tracking historical performance.
6. **Alerts for Trade Opportunities:**
- Alerts for buy and sell signals allow traders to stay informed even when away from the screen.
How to Use:
1. **Trend-Based Fibonacci Analysis:**
- Enable the indicator on any instrument and timeframe.
- Monitor the Fibonacci levels dynamically calculated based on the most recent market trend (uptrend/downtrend).
2. **Kill Zones for Sessions:**
- Adjust the London and US session times under the **Inputs** tab to match your trading style.
- Signals outside these sessions are filtered, reducing noise during low-liquidity periods.
3. **Fibonacci Level Configuration:**
- Modify the Fibonacci retracement levels (e.g., 50%, 61.8%, etc.) under **Inputs** to fit your specific strategy.
- Ensure levels align with your desired retracement/resistance zones for trades.
4. **Buy/Sell Signal Confirmation:**
- Look for buy signals (green triangles) during uptrends when the price retraces to dynamic Fibonacci support levels.
- Look for sell signals (red triangles) during downtrends when the price retraces to dynamic Fibonacci resistance levels.
5. Alerts:
- Configure alerts under **TradingView Alerts** to be notified of buy or sell opportunities in real time.
Inputs and Default Settings:
- **Kill Zones:**
- London Start Hour: 1 UTC
- London End Hour: 23 UTC
- US Start Hour: 8 UTC
- US End Hour: 23 UTC
- **Swing Lookback Period:** 6
- **Fibonacci Levels:**
- Level 1: 50% (default)
- Level 2: 61.8% (default)
- Level 3: 72% (default)
- Level 4: 99% (default)
- **Maximum Historical Signals:** 30
- **Lookback Periods for Confirmation:**
- Minimum: 3
- Maximum: 18
Best Practices:
- Use this indicator in combination with price action or other tools to confirm trade setups.
- Ensure your Fibonacci levels align with known key levels on higher timeframes for increased accuracy.
- Monitor session activity using the kill zones to avoid trades during low-volume periods.
지표 및 전략
Real-Time HTF Volume Footprint [BigBeluga]Real-time HTF Volume Footprint Profile is designed to provide a comprehensive view of higher timeframe volume profiles on your current chart. It overlays critical volume information from larger timeframes (like daily, weekly, or monthly) onto lower timeframe charts, helping you spot significant levels where volume is concentrated, acting as potential support or resistance.
🔵 Key Features:
HTF High and Low Zones: The indicator highlights the high and low of the chosen higher timeframe with clear zones, marking them with boxes. These zones help you see the broader market structure at a glance.
Volume Profile within HTF Range: Each higher timeframe range displays a volume profile, showing the distribution of volume at each price level. The most-traded price is highlighted in blue, known as the Point of Control (POC), indicating the price level with the highest activity.
Dynamic POC Option: Activate Dynamic POC to observe how the Point of Control shifts over time, giving insight into changing market interests and potential price direction.
Timeframe Flexibility: Select from daily, weekly, and monthly ranges (and more) to overlay their footprint profiles on your lower timeframe chart. This helps you tailor the indicator to the trading horizon that suits your strategy.
Info Table: Table shows a traders which timeframe is selected with last high and low of the selected timeframe
Visual Clarity with Custom Colors: The indicator uses subtle fills and distinct colors to ensure volume profile data integrates seamlessly into your chart without overwhelming other indicators or price data.
🔵 When to Use:
The HTF Volume Footprint Profile is essential for traders who want to bridge the gap between high-timeframe and intraday analysis. By visualizing HTF volume distribution on lower timeframes, this tool helps you:
Spot potential liquidity zones where price might react.
Identify support and resistance levels within HTF ranges.
Monitor PoC shifts that indicate changes in market behavior.
Track how current price aligns with significant volume clusters, providing a clear edge for volume-based strategies.
This indicator empowers traders to analyze lower timeframes with the context of higher timeframe volume profiles, providing a solid basis for identifying critical support and resistance levels shaped by large volume clusters. Whether you’re looking to spot liquidity zones or align your trades with broader market trends, HTF Volume Footprint Profile equips you with a strategic view.
TS Aggregated Median Absolute DeviationTS Aggregated Median Absolute Deviation (MAD) Indicator Explanation
Overview
The TS Aggregated Median Absolute Deviation (MAD) is a powerful indicator designed for traders looking for momentum-based strategies. By aggregating the Median Absolute Deviation (MAD) across multiple timeframes, it provides a comprehensive view of market dynamics. This indicator helps identify potential reversal points, overbought/oversold conditions, and general market trends by leveraging the concept of MAD, which measures price dispersion from the median.
Signal Generation:
Long Signal: Triggered when the price moves above the aggregated upper band
Short Signal: Triggered when the price moves below the aggregated red band
Alerts:
Real-time alerts are integrated to notify the user of long or short signals when confirmed:
Long Signal Alert: "TS MAD Flipped ⬆LONG⬆"
Short Signal Alert: "TS MAD Flipped ⬇Short⬇"
Optimization:
Adjust thresholds, MAD lengths, and multipliers for each timeframe to suit the specific asset and market conditions.
Experiment with enabling/disabling MAD components to focus on particular timeframes.
ATR Multi-Timeframe (Trend Direction + Current Levels) Indicator Name
ATR Multi-Timeframe (Trend Direction + Current Levels)
Description
This indicator helps you visualize support and resistance levels based on the Average True Range (ATR) and track the current trend direction across multiple timeframes (daily, weekly, and monthly). It is a valuable tool for traders looking to enhance decision-making and market volatility analysis.
Key Features
Multi-Timeframe ATR Analysis:
Calculates the Average True Range (ATR) and True Range (TR) for daily, weekly, and monthly timeframes.
Trend Direction Indicators:
Displays trend direction using arrows (▲ for uptrend, ▼ for downtrend) with color-coded labels (green for uptrend, red for downtrend).
Support and Resistance Levels:
Dynamically calculates trend levels (Open ± ATR) and opposite levels for each timeframe.
Persistent lines extend these levels into the future for better visualization.
Customizable Settings:
Toggle visibility of daily, weekly, and monthly levels.
Adjust line width and colors for each timeframe.
Summary Table:
Displays a compact table showing ATR percentages, TR percentages, and trend direction for all timeframes.
Why Use This Indicator?
Quickly identify key support and resistance levels across different timeframes.
Understand market volatility through ATR-based levels.
Spot trends and reversals with easy-to-read visual elements.
How to Use:
Add the indicator to your chart.
Enable or disable specific timeframes (Daily, Weekly, Monthly) in the settings.
Adjust line styles and colors to match your preferences.
Use the displayed levels to plan entry/exit points or manage risk.
This indicator is perfect for both swing and intraday traders who want a clear and dynamic view of volatility and trend across multiple timeframes.
Directional Volume IndexDirectional Volume Index (DVI) (buying/selling pressure)
This index is adapted from the Directional Movement Index (DMI), but based on volume instead of price movements. The idea is to detect building directional volume indicating a growing amount of orders that will eventually cause the price to follow. (DVI is not displayed by default)
The rough algorithm for the Positive Directional Volume Index (green bar):
calculate the delta to the previous green bar's volume
if the delta is positive (growing buying pressure) add it to an SMA, else add 0 (also for red bars)
divide these average deltas by the average volume
the result is the Positive Directional Volume Index (DVI+) (vice versa for DVI-)
Differential Directional Volume Index (DDVI) (relative pressure)
Creating the difference of both Directional Volume Indexes (DVI+ - DVI-) creates the Differential Directional Volume Index (DDVI) with rising values indicating a growing buying pressure, falling values a growing selling pressure. (DDVI is displayed by default, smoothed by a custom moving average)
Average Directional Volume Index (ADVX) (pressure strength)
Putting the relative pressure (DDVI) in relation to the total pressure (DVI+ + DVI-) we can determine the strength and duration of the currently building volume change / trend. For the DMI/ADX usually 20 is an indicator for a strong trend, values above 50 suggesting exhaustion and approaching reversals. (ADVX is not displayed by default, smoothed by a custom moving average)
Divergences of the Differential Directional Volume Index (DDVI) (imbalances)
By detecting divergences we can detect situations where e.g. bullish volume starts to build while price is in a downtrend, suggesting that there is growing buying pressure indicating an imminent bullish pullback/order block or reversal. (strong and hidden divergences are displayed by default)
Divergences Overview:
strong bull: higher lows on volume, lower lows on price
medium bull: higher lows on volume, equal lows on price
weak bull: equal lows on volume, lower lows on price
hidden bull: lower lows on volume, higher lows on price
strong bear: lower highs on volume, higher highs on price
medium bear: lower highs on volume, equal highs on price
weak bear: equal highs on volume, higher highs on price
hidden bear: higher highs on volume, lower highs on price
DDVI Bands (dynamic overbought/oversold levels)
Using Bollinger Bands with DDVI as source we receive an averaged relative pressure with stdev band offsets. This can be used as dynamic overbought/oversold levels indicating reversals on sharp crossovers.
Alerts
As of now there are no alerts built in, but all internal data is exposed via plot and plotshape functions, so it can be used for custom crossover conditions in the alert dialog. This is still a personal research project, so if you find good setups, please let me know.
RDW Pivot DetectorThe RDW Pivot Detector is a versatile Pine Script indicator designed to identify and visualize pivot points in price action, enhancing traders' ability to spot potential reversals and continuation zones. This script includes dynamic support and resistance levels, giving traders a clearer understanding of market structure and trends.
Key Features:
Pivot Point Detection:
Identifies both regular and missed pivot points (highs and lows).
Displays labels for pivot highs (▼) and pivot lows (▲) with customizable colors and tooltips.
Missed pivots are marked with 👻 symbols for better clarity.
Dynamic Support & Resistance:
Tracks support and resistance levels using the lowest low and highest high within a user-defined lookback period.
Customizable Visualization:
Dashed lines for missed pivots, and solid lines for valid pivots.
Custom color options for both regular and missed pivots.
RS Rating (Relative Strength Filter):
Integrates a dummy RS rating to highlight buy signals based on user-defined thresholds.
How to Use:
Add to Chart:
Open TradingView and apply the script to your desired asset chart.
Setup Options:
Pivot Length: Adjust the sensitivity of pivot detection.
Display Preferences:
Toggle regular (▼, ▲) or missed (👻) pivots using the options in the settings menu.
Colors: Customize pivot label and line colors to suit your charting preferences.
Dynamic Levels:
Enable the dynamic support and resistance to monitor key price levels and adjust the "Lookback Period" to align with your trading strategy.
RS Rating Integration:
Use the RS rating filter for buy signal generation. Adjust the threshold (default is 40) to match your criteria for identifying strong stocks.
Interpret Signals:
Buy Signal: Triggered when RS Rating exceeds the user-defined threshold. Combine this with identified pivot lows (▲) for potential entry zones.
Sell Signal: Look for pivot highs (▼) near resistance levels to anticipate potential selling opportunities.
Recommendations:
Use the RDW Pivot Detector alongside other technical indicators for confirmation, such as moving averages or oscillators.
Test the settings on multiple timeframes and markets to find optimal parameters that align with your trading strategy.
Combine missed pivots and dynamic levels for trend-following or reversal strategies.
This script is a powerful tool for identifying key market levels and can be customized to fit any trading style!
TearRepresentative's Rule-Based Dip Buying Strategy Rule-Based Dip Buying Strategy Indicator
This TradingView indicator, inspired by TearRepresentative [ , is a refined tool designed to assist traders in implementing a rule-based dip buying strategy. The indicator automates the identification of optimal buy and sell points, helping traders stay disciplined and minimize emotional biases. It is tailored to index trading, specifically leveraged ETFs like SPXL, to capture opportunities in market pullbacks and recoveries.
Key Features
Dynamic Buy Levels:
Tracks the local high over a customizable lookback period and calculates three buy levels based on percentage drops from the high:
Buy Level 1: First entry point (e.g., 15% drop).
Buy Level 2: Second entry point (e.g., additional 10% drop).
Buy Level 3: Third entry point (e.g., additional 7% drop).
Average Price Tracking:
Dynamically calculates the average price for entered positions when multiple buy levels are triggered.
Sell Level:
Computes a take-profit level (e.g., 20% above the average price) to automate profit-taking when the market rebounds.
Signal Visualization:
Buy Signals: Displayed as green triangles at each buy level.
Sell Signals: Displayed as red triangles at the sell level.
Alerts:
Configurable alerts notify traders when buy or sell signals are triggered, ensuring no opportunity is missed.
Visual Aids:
Semi-transparent and dynamic lines represent buy and sell levels for clear visualization.
Labels provide additional clarity for active levels, helping traders quickly identify actionable signals.
How It Works
The indicator analyzes market movements to identify dips based on predefined thresholds.
Buy signals are triggered when the market price reaches specified levels below the local high.
Once a position is taken, the indicator dynamically adjusts the average entry price and calculates the corresponding sell level.
A sell signal is generated when the market price rises above the calculated take-profit level.
Why Use This Indicator?
Discipline: Automates decision-making, removing emotional factors from trading.
Clarity: Provides clear entry and exit points to simplify complex market dynamics.
Versatility: Suitable for all market conditions, especially during pullbacks and rebounds.
Customization: Allows traders to tailor parameters to their preferred trading style and risk tolerance.
Acknowledgment
This indicator is based on the strategy and insights provided by TearRepresentative, whose expertise in rule-based trading has inspired countless traders. TearRepresentative's approach emphasizes simplicity, reliability, and consistency, offering a robust framework for long-term success.
XSRM Support and Resistant LevelXSRMulti is an advanced indicator designed to help traders analyze various price levels and identify potential trading opportunities. This indicator primarily focuses on tracking price movements based on high, low, and mid levels. Users have the flexibility to analyze these levels across different timeframes and price sources (open, close, high, low).
Features and Settings:
General Settings:
Bar Back: Determines how many bars back in time the price movements should be analyzed.
Offset: Defines the offset value used in calculations.
H/L Depth: The depth used for analyzing the highest and lowest price levels.
Mid: The ratio used to calculate the mid-level between the highest and lowest prices.
Optional Settings:
Source: Defines the price source used for calculating high and low levels (open, close, average, etc.).
Use HeikinAshi for range: Option to use HeikinAshi candles for price range analysis.
Logarithmic: Option to apply logarithmic calculations to price levels.
Break at first swing: Determines whether to break at the first price swing.
Visual Features:
Colors: The user can choose three different colors for the analyzed levels.
Extend left/right: Allows the extension of analyzed levels to the past or future.
How It Works:
XSRMulti operates based on three main analysis zones:
Zone 1: The highest, lowest, and mid levels are calculated and plotted.
Zone 2: A second analysis zone is created with similar calculations.
Zone 3: A third analysis zone is formed using the same methods.
Each zone is based on specific bar analysis, which determines the price levels. These levels can be used to make trading decisions. The user can also choose to extend the levels further to the right or left.
Table Information:
The indicator includes a table displaying daily price rate of change. This provides the user with insights into daily price movements.
Usage:
XSRMulti is a powerful analysis tool for traders. It is particularly useful for short-term traders, as it provides detailed insights into price movements. Users can make trading decisions based on the identified levels, especially when the price reaches certain thresholds.
Note:
The indicator uses current timeframe price data for calculations.
HeikinAshi-based analysis presents smoother price movements, making trend-following easier.
[blackcat] L3 Counter Peacock Spread█ OVERVIEW
The script titled " L3 Counter Peacock Spread" is an indicator designed for use in TradingView. It calculates and plots various moving averages, K lines derived from these moving averages, additional simple moving averages (SMAs), weighted moving averages (WMAs), and other technical indicators like slope calculations. The primary function of the script is to provide a comprehensive set of visual tools that traders can use to identify trends, potential support/resistance levels, and crossover signals.
█ LOGICAL FRAMEWORK
Input Parameters:
There are no explicit input parameters defined; all variables are hardcoded or calculated within the script.
Calculations:
• Moving Averages: Calculates Simple Moving Averages (SMA) using ta.sma.
• Slope Calculation: Computes the slope of a given series over a specified period using linear regression (ta.linreg).
• K Lines: Defines multiple exponentially adjusted SMAs based on a 30-period MA and a 1-period MA.
• Weighted Moving Average (WMA): Custom function to compute WMAs by iterating through price data points.
• Other Indicators: Includes Exponential Moving Average (EMA) for momentum calculation.
Plotting:
Various elements such as MAs, K lines, conditional bands, additional SMAs, and WMAs are plotted on the chart overlaying the main price action.
No loops control the behavior beyond those used in custom functions for calculating WMAs. Conditional statements determine the coloring of certain plot lines based on specific criteria.
█ CUSTOM FUNCTIONS
calculate_slope(src, length) :
• Purpose: To calculate the slope of a time-series data point over a specified number of periods.
• Functionality: Uses linear regression to find the current and previous slopes and computes their difference scaled by the timeframe multiplier.
• Parameters:
– src: Source of the input data (e.g., closing prices).
– length: Periodicity of the linreg calculation.
• Return Value: Computed slope value.
calculate_ma(source, length) :
• Purpose: To calculate the Simple Moving Average (SMA) of a given source over a specified period.
• Functionality: Utilizes TradingView’s built-in ta.sma function.
• Parameters:
– source: Input data series (e.g., closing prices).
– length: Number of bars considered for the SMA calculation.
• Return Value: Calculated SMA value.
calculate_k_lines(ma30, ma1) :
• Purpose: Generates multiple exponentially adjusted versions of a 30-period MA relative to a 1-period MA.
• Functionality: Multiplies the 30-period MA by coefficients ranging from 1.1 to 3 and subtracts multiples of the 1-period MA accordingly.
• Parameters:
– ma30: 30-period Simple Moving Average.
– ma1: 1-period Simple Moving Average.
• Return Value: Returns an array containing ten different \u2003\u2022 "K line" values.
calculate_wma(source, length) :
• Purpose: Computes the Weighted Moving Average (WMA) of a provided series over a defined period.
• Functionality: Iterates backward through the last 'n' bars, weights each bar according to its position, sums them up, and divides by the total weight.
• Parameters:
– source: Price series to average.
– length: Length of the lookback window.
• Return Value: Calculated WMA value.
█ KEY POINTS AND TECHNIQUES
• Advanced Pine Script Features: Utilization of custom functions for encapsulating complex logic, leveraging TradingView’s library functions (ta.sma, ta.linreg, ta.ema) for efficient computations.
• Optimization Techniques: Efficient computation of K lines via pre-calculated components (multiples of MA30 and MA1). Use of arrays to store intermediate results which simplifies plotting.
• Best Practices: Clear separation between calculation and visualization sections enhances readability and maintainability. Usage of color.new() allows dynamic adjustments without hardcoding colors directly into plot commands.
• Unique Approaches: Introduction of K lines provides an alternative representation of trend strength compared to traditional MAs. Implementation of conditional band coloring adds real-time context to existing visual cues.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
Potential Modifications/Extensions:
• Adding more user-defined inputs for lengths of MAs, K lines, etc., would make the script more flexible.
• Incorporating alert conditions based on crossovers between key lines could enhance automated trading strategies.
Application Scenarios:
• Useful for both intraday and swing trading due to the combination of short-term and long-term MAs along with trend analysis via slopes and K lines.
• Can be integrated into larger systems combining this indicator with others like oscillators or volume-based metrics.
Related Concepts:
• Understanding how linear regression works internally aids in grasping the slope calculation.
• Familiarity with WMA versus SMA helps appreciate why different types of averaging might be necessary depending on market dynamics.
• Knowledge of candlestick patterns can complement insights gained from this indicator.
Multiple Swing High/Low with SLExplanation:
Swing Highs and Lows:
The script detects swing highs and swing lows using ta.pivothigh() and ta.pivotlow() on a 3-minute basis.
Each swing high is drawn with a green line, and each swing low is drawn with a red line.
Stop-Loss (SL) Lines:
For each swing high, a stop-loss line is drawn 15 points below the swing high.
For each swing low, a stop-loss line is drawn 15 points above the swing low.
The SL line for swing highs is drawn in red, and the SL line for swing lows is drawn in blue.
Labels for Swing High/Low and SL:
Labels with text like "Swing High" or "Swing Low" are added at the swing points, and SL labels are added at the stop-loss levels.
These labels can be toggled on/off using the showSwingTags input.
Line Extension:
The line.set_x2() function ensures that the swing lines and SL lines are extended to the current bar as price moves.
Key Changes:
Removed Arrays: Instead of using arrays to store lines and labels, we now handle each line and label individually. This avoids the issue where complex types (line and label) were being stored in arrays, which Pine Script doesn't support directly.
Dynamic Creation: New lines and labels are dynamically created as new swings occur, and they stay on the chart until the script is removed or the chart is reloaded.
KRIPTO TOLGA ÖZEL RSIBu indikatör ile her türlü fiyat hareketini yakalamak mümkün! işlem açmayı düşündüğünüz coin grafiğinde zaman birimini seçin, indikatör de dip ve tepe çizgilerini belirleyin, daha sonra renk değişimi veya al - sat sinyali ile işleme girin, al - sat sinyalleri güçlüdür ona göre ;) renk değişimleri 5 - 15 dakikalık scalp işlemleri için uygundur!
--------------------------------------------------------------------------------------
It's possible to catch any price movement with this indicator! select the time frame in the coin chart you are thinking of trading, define the support and resistance lines in the indicator, and then enter a trade with a color change or buy/sell signal; buy/sell signals are strong, so take note ;) color changes are suitable for scalping trades of 5-15 minutes!
Volume Profile / Fixed Range Strategy with RSI SMAThis strategy utilizes the volume profile of the past x number of bars.
The idea is that the majority of the time price is ranging, during this time the volume profile shows where the vast majority of trading occurs. The assumption is if price exceeds the 1st STD either upwards or downwards there is a good likelihood of a break to the upside.
This is then coupled with the RSI for confluence, once the RSI breaks above the mid-point(50) this indicates strong upward momentum.
Thus the system will go long if: Price is above 1st STD of the Volume Profile and RSI > 50
The system will go to cash if: Price has closed below the upper bound and the RSI < 50
Trend Trader-Remastered StrategyOfficial Strategy for Trend Trader - Remastered
Indicator: Trend Trader-Remastered (TTR)
Overview:
The Trend Trader-Remastered is a refined and highly sophisticated implementation of the Parabolic SAR designed to create strategic buy and sell entry signals, alongside precision take profit and re-entry signals based on marked Bill Williams (BW) fractals. Built with a deep emphasis on clarity and accuracy, this indicator ensures that only relevant and meaningful signals are generated, eliminating any unnecessary entries or exits.
Please check the indicator details and updates via the link above.
Important Disclosure:
My primary objective is to provide realistic strategies and a code base for the TradingView Community. Therefore, the default settings of the strategy version of the indicator have been set to reflect realistic world trading scenarios and best practices.
Key Features:
Strategy execution date&time range.
Take Profit Reduction Rate: The percentage of progressive reduction on active position size for take profit signals.
Example:
TP Reduce: 10%
Entry Position Size: 100
TP1: 100 - 10 = 90
TP2: 90 - 9 = 81
Re-Entry When Rate: The percentage of position size on initial entry of the signal to determine re-entry.
Example:
RE When: 50%
Entry Position Size: 100
Re-Entry Condition: Active Position Size < 50
Re-Entry Fill Rate: The percentage of position size on initial entry of the signal to be completed.
Example:
RE Fill: 75%
Entry Position Size: 100
Active Position Size: 50
Re-Entry Order Size: 25
Final Active Position Size:75
Important: Even RE When condition is met, the active position size required to drop below RE Fill rate to trigger re-entry order.
Key Points:
'Process Orders on Close' is enabled as Take Profit and Re-Entry signals must be executed on candle close.
'Calculate on Every Tick' is enabled as entry signals are required to be executed within candle time.
'Initial Capital' has been set to 10,000 USD.
'Default Quantity Type' has been set to 'Percent of Equity'.
'Default Quantity' has been set to 10% as the best practice of investing 10% of the assets.
'Currency' has been set to USD.
'Commission Type' has been set to 'Commission Percent'
'Commission Value' has been set to 0.05% to reflect the most realistic results with a common taker fee value.
[blackcat] L2 Quantitative Trading Reference█ OVERVIEW
The script " L2 Quantitative Trading Reference" calculates and plots various directional indicators based on price movements over a specified period. It primarily focuses on identifying trends, trend strength, and specific candlestick patterns such as strong bearish candles.
█ LOGICAL FRAMEWORK
The script consists of several main components:
Input Parameters:
None explicitly set; however, implicit inputs include high, low, and close prices.
Custom Functions:
count_periods: Counts occurrences of a condition within a given lookback period.
every_condition: Checks if a condition holds true for an entire lookback period.
calculate_and_plot_directional_indicators: Computes directional movement indices and determines market conditions like direction, strength, and specific candle types.
Calculations:
• The script calculates the True Range, differences between highs/lows, and computes directional movement indices.
• It then uses these indices to determine the current market direction, strength, and identifies strong bearish candles.
Plotting:
• Plots histograms representing different conditions including negative directional movement in red, positive directional movement in green, continuous strength in yellow, and strong bearish candles in aqua.
Data flows from the calculation of basic price metrics through more complex computations involving sums and comparisons before being plotted according to their respective conditions.
█ CUSTOM FUNCTIONS
count_periods:
Counts how many times a certain condition occurs within a specified number of periods.
every_condition:
Determines whether a particular condition has been met continuously throughout a specified number of periods.
calculate_and_plot_directional_indicators:
This function encompasses multiple tasks including calculating the True Range, Positive/Negative Directional Movements and Indices, determining the market direction, assessing strength via bar continuity since the last change, and identifying strong bearish candles. It returns four arrays containing directional movement, positivity status, continuous strength, and strong bearish candle occurrence respectively.
█ KEY POINTS AND TECHNIQUES
• Utilizes custom functions for modular and reusable code.
• Employs math.sum and ta.barssince for efficient computation of cumulative values and counting bars since a condition was met.
• Uses ternary operators (condition ? value_if_true : value_if_false) extensively for concise conditional assignments.
• Leverages Pine Script’s built-in mathematical functions (math.max, math.min, etc.) for robust financial metric calculations.
• Implements histogram plotting styles to visually represent distinct market states effectively.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
Potential enhancements can involve adding alerts when specific conditions are met, incorporating additional technical indicators, or refining existing logic for better accuracy. This script's approach could be adapted for creating strategies that react to changes in market dynamics identified by these directional indicators. Related topics worth exploring in Pine Script include backtesting frameworks, multi-timeframe analysis, risk management techniques, and integration with external data sources.
Divine Christmas Tree [Daveatt]🎄 Divine Christmas Tree - Because Even Your Charts Deserve Holiday FOMO! 🎅
Ever felt like your trading charts were missing that special holiday spirit? Tired of staring at boring candlesticks while everyone else is decorating their houses? Well, hold onto your eggnog because this indicator is about to turn your TradingView into a festive party! 🎉
Introducing the Divine Christmas Tree - the only technical indicator that makes your losses look festive! This isn't your grandmother's Christmas tree... it's a high-tech, market-aware celebration that would make Wall Street jealous.
🌟 What's Inside This Gift Box:
- A tree that changes color based on price action (because even Christmas trees need to respect the 200 SMA!)
- Ornaments that dance around like your portfolio after a Fed announcement
- A Santa who's definitely not checking if your trades were naughty or nice
- Presents under the tree (sorry, they don't contain trading tips)
- Random ornament placement that's more unpredictable than crypto prices
The best part? The ornaments refresh constantly, giving you something fun to watch while you're waiting for that breakout that'll never come! 😅
WARNING: This indicator may cause:
- Uncontrollable holiday cheer
- Sudden urges to buy Santa Coin
- Confusion among serious traders
- Desperate attempts to explain to your spouse why you're watching a Christmas tree on your trading screen
Perfect for:
- Traders who need emotional support during December
- Anyone who wants to pretend they're working while actually watching Christmas decorations
- People who believe Santa Claus is the ultimate swing trader
Remember: Just because your portfolio is in red doesn't mean your Christmas tree has to be! 🎄
Not financial advice, but definitely festive advice! 🎅
Simple y bien// © GainzAlgo
//@version=5
indicator('GainzAlgo Pro', overlay=true, max_labels_count=500)
candle_stability_index_param = input.float(0.5, 'Candle Stability Index', 0, 1, step=0.1, group='Technical', tooltip='Candle Stability Index measures the ratio between the body and the wicks of a candle. Higher - more stable.')
rsi_index_param = input.int(50, 'RSI Index', 0, 100, group='Technical', tooltip='RSI Index measures how overbought/oversold is the market. Higher - more overbought/oversold.')
candle_delta_length_param = input.int(5, 'Candle Delta Length', 3, group='Technical', tooltip='Candle Delta Length measures the period over how many candles the price increased/decreased. Higher - longer period.')
disable_repeating_signals_param = input.bool(false, 'Disable Repeating Signals', group='Technical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('normal', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
bull = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
else if label_style == 'triangle'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
last_signal := 'buy'
if bear and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
last_signal := 'sell'
alertcondition(bull, 'BUY Signals', 'New signal: BUY')
alertcondition(bear, 'SELL Signals', 'New signal: SELL')
Higher Timeframe Candle v1 [tradinggeniusberlin]Fellow traders,
this indicator displays a the live higher timeframe candle on the chart, e.g. the developing daily candle on a 15min chart. You can choose any higher timeframe like 1D, 1W or 1M.
It is very beneficial of getting aware of higher timeframe traders and what they are looking at.
Trade well
TradingGeniusBerlin
Estrategia Mejorada con EMAs
Estrategia Mejorada con EMAs
Este indicador está diseñado para identificar tendencias claras y generar señales de entrada y salida en operaciones de compra (CALL) y venta (PUT) basadas en la alineación de medias móviles exponenciales (EMAs). Incluye niveles de Take Profit (TP1, TP2, TP3) y Stop Loss (SL) calculados dinámicamente utilizando el ATR, así como alertas personalizables.
Características principales:
- **Identificación de tendencias:** Alineación de las EMAs 13, 48 y 200 para detectar tendencias alcistas o bajistas.
- **Validación de volumen:** Verificación de volumen por encima del promedio para confirmar la fortaleza de las señales.
- **Ruptura de niveles clave:** Detección de rupturas del máximo/mínimo del día anterior y del premercado.
- **Gestión de riesgos:** Niveles de TP y SL configurables con multiplicadores basados en ATR.
- **Visualización clara:** Iconos en el gráfico para señales de entrada, salida, TP y SL.
- **Alertas:** Notificaciones para nuevas señales, niveles alcanzados de TP y activación de SL.
Institutional Order Flow StrategyLa strategia implementata è denominata "Institutional Order Flow Strategy" e si basa sull'identificazione di Order Blocks e su specifiche condizioni di ingresso e uscita per le posizioni long e short. L'idea è di identificare i livelli dove operano i bot degli istituzionali, poi attraverso degli obbiettivi di profitto individuali, piazzare tre livelli di profitto atteso.
Ecco una spiegazione dettagliata delle varie sezioni del codice:
1. Impostazioni di Input
Input Session: Imposta una sessione di trading dalle 09:30 alle 16:00.
Lookback Period: Periodo di osservazione di 20 barre per identificare gli order blocks.
Target Percentuali: Tre obiettivi di profitto (Target 1, Target 2, Target 3) espressi in percentuale rispetto al prezzo medio di ingresso.
2. Identificazione degli Order Blocks
Il codice calcola i massimi e minimi più alti e più bassi nel periodo di lookback specificato:
Order Block Buy: Viene identificato come il massimo più alto quando la barra precedente è bearish (chiusura < apertura) e la barra corrente è bullish (chiusura > apertura).
Order Block Sell: Viene identificato come il minimo più basso quando la barra precedente è bullish e la barra corrente è bearish.
3. Logica di Ingresso
In Session: Verifica se il tempo attuale è all'interno della sessione di trading specificata.
Condizioni di Ingresso Long e Short:
Long: La chiusura deve essere superiore all'order block di acquisto e deve essere all'interno della sessione.
Short: La chiusura deve essere inferiore all'order block di vendita e deve essere all'interno della sessione.
4. Entrate nella Strategia
Se le condizioni di ingresso sono soddisfatte, vengono aperte posizioni long o short:
strategy.entry("Long", strategy.long) per le posizioni long.
strategy.entry("Short", strategy.short) per le posizioni short.
5. Calcolo degli Obiettivi per Scalare le Uscite
Per ogni posizione aperta, vengono calcolati tre obiettivi di prezzo per il take profit, basati sul prezzo medio di ingresso:
Long Targets: Calcolati aggiungendo le percentuali specificate al prezzo medio di ingresso.
Short Targets: Calcolati sottraendo le percentuali specificate dal prezzo medio di ingresso.
6. Logica di Uscita con Scalabilità
Quando ci sono posizioni aperte, vengono impostate le uscite:
Per le posizioni long, si esce dal 50% della posizione al Target 1, il 30% al Target 2 e il 20% al Target 3.
Per le posizioni short, la logica è simile, ma si esce a target di prezzo calcolati in senso inverso.
7. Visualizzazione degli Order Blocks
Infine, il codice visualizza gli order blocks sul grafico:
L'order block di acquisto viene tracciato in verde.
L'order block di vendita viene tracciato in rosso.
Conclusione
In sintesi, questa strategia di trading cerca di sfruttare i movimenti di mercato basati sugli order blocks, impostando condizioni di ingresso e uscita chiare, insieme a obiettivi di profitto scalabili.
Multi-Timeframe Pattern & Trend Forecast - Akash 1this indicator forecasts and share signals based on multi timeframe and trends based on EMAs.
am27scalper scalpingsimple ema scalping stratagy where when 5 ama cross above 10 ema than it gives buy signal and when 5 ema cross below 10 ema than it gives sell signal