[blackcat] L1 Banker Move█ OVERVIEW
The Pine Script is an indicator designed to analyze market signals for institutional and short-term investors. It calculates and plots three main signals: Institutional Signal, Institutional Build, and Short-Term Investor Signal. The script uses a combination of price, volume, and moving average data to generate these signals, which can help traders identify potential buying or selling opportunities.
█ LOGICAL FRAMEWORK
The script is structured into several main sections:
1 — Input Parameters
The script does not explicitly define any input parameters, relying on default values for calculations.
2 — Custom Functions
• reference_value(values, length) : Retrieves the first non-NA value from a specified number of past values.
• calculate_institutional_and_short_term_signals(low, close, open, volume) : Calculates the institutional and short-term investor signals based on price, volume, and moving average data.
3 — Calculations
• Price and Volume Metrics: The script calculates various smoothed price changes, lowest and highest values over different periods, and volume-weighted prices.
• Moving Averages: It computes simple moving averages (SMA) and exponential moving averages (EMA) for different periods.
• RSI Calculation: The script calculates a custom RSI for different periods.
• Signal Generation: It generates the institutional and short-term investor signals based on the calculated metrics.
4 — Plotting
The script plots the three main signals on the chart using the plot function.
The flow of data and logic is as follows:
• The reference_value function is used to find reference values for calculations.
• The calculate_institutional_and_short_term_signals function performs the core calculations and returns the institutional and short-term investor signals.
• The main script calls this function and plots the results.
█ CUSTOM FUNCTIONS
1 — reference_value(values, length)
• Purpose : Retrieves the first non-NA value from a specified number of past values.
• Parameters :
• values: An array of values.
• length: The number of past values to consider.
• Return Value : The first non-NA value found or na if no valid value is found.
• Functionality : Iterates through the specified number of past values and returns the first non-NA value.
2 — calculate_institutional_and_short_term_signals(low, close, open, volume)
• Purpose : Calculates the institutional and short-term investor signals based on price, volume, and moving average data.
• Parameters :
• low: Low price series.
• close: Close price series.
• open: Open price series.
• volume: Volume series.
• Return Values :
• institutional_signal: The institutional signal.
• institutional_build: The institutional build signal.
• short_term_investor_signal: The short-term investor signal.
• Functionality :
• Computes various price and volume metrics.
• Calculates moving averages and volume-weighted prices.
• Generates the institutional and short-term investor signals based on these metrics.
█ KEY POINTS AND TECHNIQUES
1 — Advanced Pine Script Features
• Custom Functions: The script defines and uses custom functions to encapsulate complex logic.
• Conditional Statements: Extensive use of iff and if statements to control the flow of calculations.
• Looping Constructs: The for loop in reference_value function to iterate through past values.
• Exponential Moving Averages (EMA): Used to smooth out price and signal changes.
• Volume-Weighted Price (VWP): Calculated to factor in volume in price analysis.
• Custom RSI Calculation: A custom RSI formula is used, which differs from the standard RSI calculation.
2 — Optimization Techniques
• Efficient Data Handling: The reference_value function efficiently finds the first non-NA value without unnecessary computations.
• Smoothed Signals: Using EMAs to smooth out noisy signals for better trend identification.
3 — Unique Approaches
• Combination of Metrics: The script combines multiple metrics (price, volume, moving averages, and custom RSI) to generate comprehensive signals.
• Institutional Build Signal: A unique approach to detect institutional activity by comparing current price levels with historical lows and smoothed price changes.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
1 — Potential Modifications
• Input Parameters: Add input parameters to allow users to customize the lengths and thresholds used in the calculations.
• Strategy Version: Convert the indicator into a strategy by adding buy/sell signals based on the generated signals.
• Additional Indicators: Integrate other technical indicators (e.g., MACD, Bollinger Bands) to enhance the signal generation process.
2 — Similar Trading Scenarios
• Institutional Activity Analysis: Use similar techniques to analyze institutional activity in other markets or assets.
• Volume Analysis: Apply the volume-weighted price and volume analysis to identify significant price movements.
• Multi-Timeframe Analysis: Extend the script to analyze signals across multiple timeframes for a more robust trading strategy.
3 — Related Pine Script Concepts
• Pine Script Functions: Understanding how to define and use custom functions effectively.
• Conditional Logic: Mastering the use of iff and if statements for complex logic.
• Looping Constructs: Familiarity with for loops for iterating through data.
• Moving Averages: Knowledge of different types of moving averages and their applications.
• Volume Analysis: Techniques for incorporating volume data into price analysis.
אינדיקטורים ואסטרטגיות
Bitcoin: Mayer MultipleMayer Multiple Indicator
The Mayer Multiple is a powerful tool designed to help traders assess market conditions and identify optimal buying or selling opportunities. It calculates the ratio between the current price and its 200-day simple moving average (SMA), visualizing key thresholds that indicate value zones, caution areas, and overheated markets.
Key Features:
Dynamic Market Zones: Clearly marked levels like "Smash Buy," "Boost DCA," and "Extreme Euphoria" to guide your trading decisions.
Customizable Input: Adjust the SMA length to fit your strategy.
Color-Coded Signals: Intuitive visualization of market sentiment for quick analysis.
Comprehensive Thresholds: Historical insights into price behavior with plotted reference levels based on probabilities.
This indicator is ideal for traders aiming to enhance their long-term strategies and improve decision-making in volatile markets. Use it to gain an edge in identifying potential turning points and managing risk effectively.
Shannon Entropy Volatility AnalyzerThis algorithm aims to measure market uncertainty or volatility using a Shannon entropy-based approach. 🔄📊
Entropy is a measure of disorder or unpredictability, and here we use it to evaluate the structure of price returns within a defined range of periods (window length). 🧩⏳ Thus, the goal is to detect changes to identify conditions of high or low volatility. 🔍⚡
What we seek with Shannon's formula in this algorithm is to measure market uncertainty or volatility through dynamic entropy. This measure helps us understand how unpredictable price behavior is over a given period, which is key to making informed decisions. 📈🧠
Through this formula, we calculate the level of disorder or dispersion in price returns based on their probability of occurrence, enabling us to identify moments of high or low volatility. 💡💥
Shannon Entropy Calculation 📏
• Uses probabilities to measure uncertainty in returns. 🎲
• Entropy is normalized on a scale of 0 to 100, where:
o High Entropy: Unpredictable movements (high uncertainty). ⚠️💥
•
o Low Entropy: Structured movements (low uncertainty). 📉🔒
•
• With probabilities, we measure the level of dispersion or unpredictability of returns using Shannon's entropy formula. 📊🔍
________________________________________
Indicator Usefulness 🛠️
• Identify High Volatility: When the market is unpredictable, the indicator signals "High Uncertainty." ⚡🔮
• Detect Market Stability: When the market is more predictable and structured, the indicator highlights "Low Uncertainty." 🔒🧘♂️
• Neutral Zones: Helps monitor markets without extreme conditions, enabling safer entry or exit opportunities. ⚖️🚶♂️
________________________________________
Uncertainty Zones 🌀
1. High Uncertainty: When entropy exceeds the upper threshold. 🚨🔺
2. Low Uncertainty: When entropy is below the lower threshold. 🔻💡
3. Neutral: When entropy lies between both thresholds. ⚖️🔄
________________________________________
What We Aim to Achieve with the Formula in Practice 🎯
1. Detection of Volatile Moments: Shannon’s formula helps us identify when the market is unpredictable. This is a good moment to take additional precautions, such as reducing position size or avoiding trading during high volatility phases. ⚠️📉
2. Trading Opportunities in Stable Markets: With low entropy, we can identify when the market is more predictable, favoring trend or momentum strategies with a higher chance of success. 🚀📈
3. Optimization of Risk Management: By measuring market volatility in real-time, we can adjust entry and exit strategies, tailoring risk based on the level of uncertainty detected. 🔄⚖️
________________________________________
We hope this makes it easy to interpret and use. If you have any questions or comments, please feel free to reach out to us! 📬😊
Price Delivery Bias @MaxMaserati Price Delivery Bias (PDB) Indicator @ MaxMaserati
The Price Delivery Bias (PDB) indicator is a powerful tool designed to identify and track market structure shifts through price action analysis. It helps traders identify potential trend changes and continuation patterns by monitoring price delivery sequences.
Key Features:
- Automatically detects and labels Change of Delivery Long (CDL) and Change of Delivery Short (CDS) points
- Tracks subsequent Delivery sequences (LD1, LD2, LD3... for longs; SD1, SD2, SD3... for shorts)
- Dynamic support and resistance lines for active buyers and sellers
- Real-time bias status display with delivery count
- Customizable colors and display options
How It Works:
The indicator analyzes price action using fractal patterns to identify significant structural points where the market bias changes or continues. When price breaks above a key level, it marks a CDL (Change of Delivery Long), followed by subsequent long deliveries (LD1, LD2, etc.). Similarly, breaks below key levels are marked as CDS (Change of Delivery Short), followed by short deliveries (SD1, SD2, etc.).
Use Cases:
- Trend Direction: Identify potential trend changes through CDL and CDS signals
- Trend Strength: Monitor delivery sequences (LD/SD count) to gauge trend strength
- Support/Resistance: Track active buyer and seller levels
- Trade Management: Use delivery sequences for managing entries, stops, and targets
Customization Options:
- Adjust the look back period for structure detection
- Customize colors for long and short bias signals
- Toggle label visibility for CDL/CDS and delivery sequences
- Modify text size for better visibility
- Show/hide buyer and seller lines
- Customize table position and appearance
Settings Guide:
1. Length: Determines the look back period for structure detection (default: 5)
2. CDL/CDS Colors: Set colors for bullish and bearish signals
3. Label Controls: Toggle visibility of CDL/CDS and delivery labels
4. Text Size: Choose between Tiny, Small, and Normal for label text
5. Buyer/Seller Lines: Toggle and customize dashed lines showing active levels
6. Bias Table: Configure position and visibility of the status table
#### Pro Tips:
- Use the delivery count to gauge trend strength - higher counts often indicate stronger trends
- Watch for bias changes (CDL/CDS) after extended delivery sequences
- Combine with volume and momentum indicators for confirmation
- Use buyer/seller lines as dynamic support/resistance levels
- Monitor label sequences for potential exhaustion points
#### Notes:
- The indicator works best on higher timeframes (1H and above)
- Signals are more reliable in trending markets
- Multiple delivery sequences often indicate strong trend continuations
- Consider using with other indicators for confirmation
This indicator is ideal for both trend traders and swing traders who want to understand market structure and bias through price action analysis. It provides clear visual cues for potential trend changes and continuation patterns while offering extensive customization options to suit different trading styles.
Dollar Volume DivergenceOverview
The Dollar Volume Profile and Divergence Indicator is a comprehensive tool designed to analyze both standard volume and dollar volume activity in the market. It visualizes dollar volume (calculated as close * volume) and highlights divergences between dollar volume and standard volume, providing insights into underlying market dynamics that aren't immediately visible with traditional volume analysis.
Key Features
Dollar Volume Profile:
Plots dollar volume as a histogram.
Highlights high-dollar volume bars in green (indicating significant trading activity).
Includes an optional average dollar volume line to show trends over time.
Volume-Divergence Analysis:
Calculates the difference (divergence) between dollar volume and standard volume.
Displays positive divergence (dollar volume > standard volume) in green and negative divergence (dollar volume < standard volume) in red.
Supports both histogram and boolean point visualization for divergence, offering flexibility in how the data is displayed.
Customizable Visualization:
Users can toggle between a Histogram or Boolean Points for divergence visualization.
Option to enable or disable the dollar volume profile and its average line.
Adjustable length parameter to fine-tune sensitivity for averages and divergences.
Use Cases
Volume Confirmation: Analyze whether dollar volume aligns with standard volume to confirm strong price movements.
Divergence Detection: Identify areas where dollar volume and standard volume deviate, which may signal potential reversals or exhaustion in a trend.
Market Strength Analysis: Assess the intensity of trading activity at specific price levels to determine key areas of interest.
How It Works
Dollar Volume Calculation:
Dollar volume is derived by multiplying the close price by the volume for each bar.
A moving average of dollar volume is used to determine relative activity levels.
Divergence Calculation:
The script calculates the difference between dollar volume and standard volume.
Positive values indicate that dollar volume exceeds standard volume, suggesting institutional or larger-scale trades.
Negative values highlight areas of lower dollar volume compared to standard volume.
Visualization:
The Dollar Volume Profile is displayed as a histogram, with high-dollar volume bars highlighted.
Divergences are overlaid as either a histogram or triangle markers, depending on user preference.
Average lines (optional) provide smoother trends for both dollar volume and divergence.
Customization Options
Length: Adjusts the period for moving average calculations.
Plot Style: Choose between Histogram or Boolean Points for divergence visualization.
Toggle Visibility: Enable or disable the Dollar Volume Profile and its average line for a cleaner chart.
Why Use This Indicator?
This indicator bridges the gap between traditional volume analysis and dollar volume analysis, offering deeper insights into market behavior. By combining these metrics, traders can detect nuanced patterns, validate trends, and identify divergences that may signal market turning points or continuation.
Best Practices
Use this indicator in conjunction with price action and other technical indicators for confirmation.
Look for divergences in high-dollar volume areas to detect potential trend reversals.
Analyze the interaction between the dollar volume profile and divergence histogram for a comprehensive view of market activity.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.
Realistic Position Sizing Calculator @MaxMaseratiA professional position sizing calculator designed for futures traders who want to trade safely and manage risk effectively. This tool helps you determine exactly how many contracts you can trade based on your capital.
🎯 Main Features:
• Real-time position size calculations for 8 major futures contracts:
- E-mini: ES, NQ, YM, RTY
- Micro E-mini: MES, MNQ, MYM, M2K
• Smart Risk Management:
- Automatic safe lot size calculations
- Daily/Weekly/Bi-weekly/Monthly risk tracking
- Built-in margin safety buffer
- Stop loss point value calculator
- Risk percentage controls (0.01% to 10%)
• Advanced Capital Protection:
- Intraday vs. overnight margin calculations
- Conservative position sizing recommendations
- Real-time margin usage warnings
- Visual risk status indicators (Safe/Caution/High Risk)
• Flexible Settings:
- Adjustable capital amount
- Customizable risk periods
- Point-based stop loss inputs
- Option to use specific trading amounts
Perfect for both new and experienced futures traders who want to:
✓ Avoid overtrading
✓ Protect their capital
✓ Make informed position sizing decisions
✓ Manage multiple contract types safely
The indicator displays all calculations in an easy-to-read table, helping you make quick, safe trading decisions while keeping your risk in check.
Created by @MaxMaserati
Candle Countdown Timer @MaxMaserati
Candle Countdown Timer is a professional-grade time management tool designed for precision traders who need to track multiple timeframes simultaneously. This versatile indicator combines market hours monitoring, multi-timeframe tracking, and visual alerts in one clean interface.
Key Features:
• Custom Multi-Timeframe Display
- Track up to 5 custom timeframes simultaneously
- Supports timeframes from 15 seconds to 1 month
- Standardized format (S15, M5, H1, D1, 1M etc.)
- Configurable default timeframe highlighting
⏰ Precision Time Tracking
- Real-time countdown for each timeframe
- Visual warning system (red text) for candle closing
- Synchronized NY and CME time display
- Automatic market status updates
🎯 Market Status Monitoring
- Clear market open/closed status
- Maintenance period alerts
- CME trading hours integration
- Color-coded status indicators
🎨 Customizable Interface
- Adjustable table position (9 positions available)
- Three size options (Tiny, Small, Normal)
- Customizable colors for all elements
- Clean, non-intrusive design
Perfect For:
• Day traders tracking multiple timeframes
• CME futures traders
• Swing traders managing multiple positions
• Anyone needing precise market timing
This indicator helps you:
✓ Never miss a candle close
✓ Maintain awareness of market status
✓ Manage multiple timeframe strategies
✓ Stay synchronized with market hours
Trend Condition [TradersPro]
OVERVIEW
The Trend Condition Indicator measures the strength of the bullish or bearish trend by using a ribbon pattern of exponential moving averages and scoring system. Trend cycles naturally expand and contract as a normal part of the cycle. It is the rhythm of the market. Perpetual expansion and contraction of trend.
As trend cycles develop the indicator shows a compression of the averages. These compression zones are key locations as trends typically expand from there. The expansion of trend can be up or down.
As the trend advances the ribbon effect of the indicator can be seen as each average expands with the price action. Once they have “fanned” the probability of the current trend slowing is high.
This can be used to recognize a powerful trend may be concluding. Traders can tighten stops, exit positions or utilize other prudent strategies.
CONCEPTS
Each line will display green if it is higher than the prior period and red if it is lower than the prior period. If the average is green it is considered bullish and will score one point in the bullish display. Red lines are considered bearish and will score one point in the bearish display.
The indicator can then be used at a quick glance to see the number of averages that are bullish and the number that are bearish.
A trader may use these on any tradable instrument. They can be helpful in stock portfolio management when used with an index like the S&P 500 to determine the strength of the current market trend. This may affect trade decisions like possession size, stop location and other risk factors.
Bitcoin SMA channels - quorraThis indicator is specifically designed to identify potential Bitcoin bottom zones based on historical data and market trends. By analyzing price cycles and key support levels, it helps traders and investors make informed decisions. This tool is tailored for optimal use on higher timeframes like the daily chart. (Don't forget to ensure your chart is set to logarithmic)
1. Simple Moving Average (SMA) Calculation and Gradient Coloring
The script begins by calculating the 350-period SMA (sma350), which serves as the foundation for identifying the market's overall trend. To make the SMA visually intuitive, a gradient color function is implemented. This function changes the SMA's color based on whether the current price (close) is above or below the SMA.
If the price is above the SMA, the line appears in gray.
If the price is below the SMA, the line takes on a darker red shade.
This gradient coloring helps traders quickly gauge market sentiment and momentum, as the SMA effectively acts as a dynamic trend line.
2. Fibonacci-Based Multipliers for SMA Levels
The indicator computes several levels based on Fibonacci multipliers of the 350-period SMA. These levels provide additional layers of insight into potential support and resistance zones. The multipliers range from small values like 0.144 (indicating closer proximity to the SMA) to larger values like 9 (representing distant extensions).
These Fibonacci levels are plotted using hidden lines, ensuring that the chart remains uncluttered while still allowing for strategic visualization through filled zones. For instance:
Levels like SMA x 0.144 to SMA x 0.355 are closer to the SMA and are categorized as potential buy zones.
Levels like SMA x 2 to SMA x 9 extend further and are considered sell zones.
3. Filling Areas to Visualize Zones
To enhance the visual representation, the script uses fill() functions to color the regions between specific Fibonacci levels:
Buy Zones: These areas are filled with a semi-transparent gray color (#5a5a5a) to indicate levels where prices are likely to bounce upward.
Sell Zones: Conversely, these areas are filled with a semi-transparent red color (#5f0000), signaling regions where prices may encounter resistance and reverse downward.
This layered approach helps traders identify actionable price ranges without overwhelming them with excessive visual elements.
4. Pivot Points and Their Visualization
The script includes a pivot point system for identifying local highs and lows. Depending on the selected source (High/Low or Close/Open), it calculates pivot highs and lows over a specified period (prd).
Pivot highs (ph) are marked above bars using downward-facing labels.
Pivot lows (pl) are marked below bars using upward-facing labels.
The pivot points are adjustable via user inputs, allowing traders to fine-tune the detection of significant price swings.
5. Support and Resistance Channel Analysis
A key feature of this indicator is its ability to identify and display support and resistance (S/R) levels. The script calculates the maximum allowable width of an S/R channel as a percentage of the price range over a 300-bar window. It then groups pivot points within these channels to derive high and low boundaries.
Resistance Levels: Represented by the upper bounds of channels and highlighted with a red color.
Support Levels: Represented by the lower bounds of channels and highlighted with a gray color.
These levels are dynamically adjusted based on user-defined parameters such as channel width, maximum S/R levels, and strength.
6. Advanced Input Customization
The indicator provides several user-configurable inputs to adapt it to different trading strategies:
Pivot Period (prd): Determines the sensitivity of pivot point calculations.
Channel Width: Controls the percentage width of S/R zones.
Maximum S/R Levels: Sets the maximum number of S/R zones displayed.
Line Style and Color Settings: Allows customization of the visual appearance of lines and labels.
7. Strength Filtering for S/R Levels
To ensure the reliability of identified S/R levels, the script incorporates a filtering mechanism based on strength. Strength is determined by the number of pivot points that fall within a channel. Levels with insufficient strength are excluded, ensuring that only significant S/R zones are displayed.
8. Practical Applications
This indicator can be applied in various trading strategies:
Trend Identification: The SMA and its gradient coloring provide a clear indication of the market's prevailing trend.
Support/Resistance Trading: The Fibonacci levels and S/R zones help traders identify potential entry and exit points.
Risk Management: By visualizing key levels, the indicator assists traders in setting stop-loss and take-profit levels effectively.
This script combines multiple technical analysis techniques into a single, visually intuitive tool. It is particularly useful for Bitcoin traders seeking to enhance their decision-making process by leveraging both trend and level-based analysis.
Although this indicator is specifically designed for Bitcoin, it can also be applied to stocks or altcoins. It works best on longer timeframes, such as the daily chart. When the price reaches specific support levels, it may be wise to activate a DCA bot or confirm the bottom using other indicators. This approach helps enhance decision-making and ensures a more strategic entry or exit from positions.
Tomas' Financial Conditions Z Score"The indicator is a composite z-score comprised of the following four components (equally-weighted):
Credit spreads - ICE BofA High Yield Option Adjusted Spread (BAMLH0A0HYM2) and ICE BofA Corporate Index Option Adjusted Spread (BAMLC0A0CM)
Volatility indexes - VIX (S&P 500 implied volatility) and MOVE (US Treasury bond implied volatility)
I've got it set to a 160-day lookback period, which I think is roughly the best setting after some tinkering.
When the z-score is above zero, it throws a red signal - and when the z-score is below zero, it throws a green signal.
This indicator is a follow-on from the "traffic light financial conditions indicator" that I wrote a thread about a couple of months ago.
I moved on from that previous indicator because it is based on the Federal Reserve's NFCI, which is regularly revised, but I didn't take that into account at the time.
So not a great real-time indicator, if the signal can be subsequently revised in the opposite direction weeks later.
This new indicator is based on real-time market data, so there's no revisions, and it also updates daily, as opposed to weekly for the NFCI"
Custom EMA (v4) [MacroGlide]Custom EMA (v4) is an easy-to-use tool designed for traders who want a clear and reliable way to analyze market trends. By using multiple Exponential Moving Averages (EMAs), this indicator helps you visualize the market's direction and momentum in a straightforward way. Whether you're tracking short-term movements or looking for long-term patterns, Custom EMA makes it simple to spot trends and trading opportunities.
Key Features:
• Multi-EMA System: Plots up to four EMAs on the chart with customizable lengths and colors, providing flexibility to analyze trends over different timeframes.
• Dynamic Trend Cloud: A visually intuitive cloud is generated between the fastest and slowest EMA. The cloud changes color based on market trends:
• Green Cloud: Indicates a bullish trend when shorter EMAs are above longer EMAs.
• Red Cloud: Indicates a bearish trend when shorter EMAs are below longer EMAs.
• Highlighting Zones: Background shading helps distinguish bullish and bearish conditions, further clarifying the prevailing trend in the market.
How to Use:
• Add the Indicator: Load the indicator onto your chart and customize the EMA lengths to suit your trading style.
• Interpret the Cloud: Observe the color of the trend cloud to identify bullish (green) or bearish (red) market conditions.
• Combine with Highlighting Zones: Use the background shading in conjunction with the cloud to confirm trend strength and direction.
• Customize to Fit Your Strategy: Adjust the lengths and colors of the EMAs to align with your preferred analysis timeframe.
Methodology:
This indicator leverages a layered EMA approach, using up to four EMAs to calculate the trend cloud and define market conditions. By comparing the relative positions of the EMAs, it identifies bullish and bearish trends and visually represents them with a color-coded cloud. The inclusion of highlighting zones enhances the trader's ability to quickly grasp market sentiment.
Originality and Usefulness:
Custom EMA (v4) sets itself apart by integrating a trend cloud that adapts dynamically to EMA positions, providing traders with a clean and intuitive way to visualize market trends. The combination of multi-EMA plotting, background shading, and trend cloud offers comprehensive insight into both short-term and long-term market movements.
Charts:
The indicator plots four customizable EMAs alongside a trend cloud that visually captures market direction. Whether you're monitoring short-term price action or identifying long-term trends, the Custom EMA (v4) provides clarity and simplicity for traders at all levels.
Enjoy the game!
IndicatorsLibrary "Indicators"
cmf(lookback, n_to_smooth)
Calculates the Chaikin's Money Flow.
Parameters:
lookback (simple int)
n_to_smooth (simple int)
Returns: float The Money Flow value.
cmma(lookback, atr_length)
Calculates the CMMA (Close Minus Moving Average) indicator.
Parameters:
lookback (simple int)
atr_length (simple int)
Returns: float The CMMA value.
macd(fast_length, slow_length, n_to_smooth)
Calculates the normalized and scaled MACD.
Parameters:
fast_length (simple int)
slow_length (simple int)
n_to_smooth (simple int)
Returns: A tuple containing .
stochK(length, n_to_smooth)
Calculates a simplified Stochastic Oscillator.
Uses: 100 * ta.sma((close - lowest_low) / (highest_high - lowest_low), n_to_smooth)
Parameters:
length (simple int)
n_to_smooth (simple int)
Returns: float The Stochastic %K value.
williamsR(length)
Calculates the Williams %R using the stochK function.
Uses: -1 * (100 - stoch(length, 1))
Parameters:
length (simple int)
Returns: float The Williams %R value.
Standard Deviation of Returns: DivergencePurpose:
The "Standard Deviation of Returns: Divergence" indicator is designed to help traders identify potential trend reversals or continuation signals by analyzing divergences between price action and the statistical volatility of returns. Divergences can signal weakening momentum in the prevailing trend, offering insight into potential buying or selling opportunities.
Key Components
1. Returns Calculation:
* The indicator uses logarithmic returns (log(close / close )) to measure relative price changes in a normalized manner.
* Log returns are more effective than simple price differences when analyzing data across varying price levels, as they account for percentage-based changes.
2. Standard Deviation of Returns:
* The script computes the standard deviation of returns over a user-defined lookback period (ta.stdev(returns, lookback)).
* Standard deviation measures the dispersion of returns around their average, effectively quantifying market volatility.
* A higher standard deviation indicates increased volatility, while lower standard deviation reflects a calmer market.
3. Price Action:
* Detects higher highs (new peaks in price) and lower lows (new troughs in price) over the lookback period.
* Price trends are compared to the behavior of the standard deviation.
4. Divergence Detection:
A divergence occurs when price action (higher highs or lower lows) is not confirmed by a corresponding movement in standard deviation:
Bullish Divergence: Price makes a lower low, but the standard deviation does not, signaling potential upward momentum.
Bearish Divergence: Price makes a higher high, but the standard deviation does not, signaling potential downward momentum.
5. Visual Cues:
The script highlights divergence regions directly on the chart:
Green Background: Indicates a bullish divergence (potential buy signal).
Red Background: Indicates a bearish divergence (potential sell signal).
How It Works
Inputs:
* The user specifies the lookback period (lookback) for calculating the standard deviation and detecting divergences.
Calculation:
* Each bar’s returns are computed and used to calculate the standard deviation over the specified lookback period.
* The indicator evaluates price highs/lows and compares these with the highest and lowest values of the standard deviation within the same lookback period.
Highlight of Divergences:
When divergences are detected:
Bullish Divergence: The background of the chart is shaded green.
Bearish Divergence: The background of the chart is shaded red.
Trading Application
Bullish Divergence:
* Occurs when the market is oversold, or downward momentum is weakening.
* Suggests a potential reversal to an uptrend, signaling a buying opportunity.
Bearish Divergence:
* Occurs when the market is overbought, or upward momentum is weakening.
* Suggests a potential reversal to a downtrend, signaling a selling opportunity.
Contextual Use:
* Use this indicator in conjunction with other technical tools like RSI, MACD, or moving averages to confirm signals.
* Effective in volatile or ranging markets to help anticipate shifts in momentum.
Summary
The "Standard Deviation of Returns: Divergence" indicator is a robust tool for spotting divergences that can signal weakening market trends. It combines statistical volatility with price action analysis to highlight key areas of potential reversals. By integrating this tool into your trading strategy, you can gain additional confirmation for entries or exits while keeping a close watch on momentum shifts.
Disclaimer: This is not a financial advise; please consult your financial advisor for personalized advice.
squeeze candles with volume Function :
This indicator was designed to detect specific candles called “squeeze”. These candles are characterized by a relatively small body (the difference between the opening and closing price) and long shadows (the distance between the high and low prices), accompanied by significant volume. They often indicate a period of increased volatility or a potential trend reversal.
Use :
Visual detection:
Candles identified as "squeeze" are highlighted in red on the chart.
An “S” icon appears above each detected squeeze candle.
Alerts:
The indicator emits an audible and visual alert when a squeeze candle with high volume is detected (if alerts are enabled).
Market analysis:
This indicator is particularly useful for identifying trading opportunities during periods when the market is showing signs of compression or impending volatility.
Customizable settings:
Minimum volume: Defines the threshold at which the volume is considered high.
Maximum body/shadow ratio: Allows you to adjust the sensitivity to detect squeeze candles (the lower the ratio, the smaller the detected candles will have in relation to their shadows).
Benefits :
Provides accurate alerts on key market candles.
Helps anticipate large movements through analysis of volume and candle characteristics.
Adaptable to different strategies thanks to adjustable parameters.
Ideal for:
Traders who want to identify areas of potential volatility or reversal signals in the market, regardless of the asset or time frame used.
FXC NQ Opening Range Breakout Strategy V2.4Mechanical Strategy that trades breakouts on NQ futures on the 15min timeframe during the NYSE session. It's designed to manage Apex and Top Step accounts with the lowest risk possible.
Risk Disclaimer:
Past results as well as strategy tester reports do not indicate future performance. Guarantees do not exist in trading. By using this strategy you risk losing all your money.
Important:
It only trades on Monday, Wednesday and Friday and takes usually only 1 trade per trading day.
It works on the 15min timeframe only.
The settings are optimised already for NQ but feel free to change them.
How it works:
Every selected trading day it measures the range of the first 15min candle after the NYSE open. As soon as price closes above on the 15min timeframe, it will trade the breakout targeting a set risk to reward ratio. SL on the opposite side of the range. It will trail the SL after a set amount of points and uses a buffer of the set amount of points to trail it.
Settings:
Opening Range Time : This is the time of the day in hours and minutes when the strategy starts looking for trades. It's in the EST/ NY Timezone and set to 9:30-09:45 by default
because that's the NYSE open.
Session Time : This is the time of the day in hours and minutes until the strategy trades. It's in the EST/ NY Timezone and set to 09:45-14:45 by default.
because that's what gave the best results in backtesting. Open trades will get closed automatically once the end of the session is reached. No matter if win or loss. This is just to prevent holding positions over night.
Session Border This setting is to select the border color in which the session box will be plotted.
Opening Range Box This setting is to select the fill color of the opening range box.
Opening Range Border This setting is to select the border color of the session box.
Trade Timeframe This setting determines on which timeframe candle has to close outside the opening range box in order to take a trade. It's set to 15min by default because this is what worked by far the best in backtests and live trading.
Stop Loss Buffer in Points: This is simply the buffer in points that is added to the SL for safety reasons. If you have it on 0, the SL will be at the exact price of the opposite side of the range. By default it's set to 0 pips because this is what delivered the best results in backtests.
Profit Target Factor: This is simply the total SL size in points multiplied by x.
Example: If you put 2, you get a 1:2 Risk to Reward Ratio. By Default it's set to 4 because this gave the best results in backtests, because trades always get closed either by trailing SL or because the end of the session is reached.
Use Trailing Stop Loss: This setting is to enable/ disable the trailing stop loss. It's enabled by default because this is a fundamental part of the strategy.
Trailing Stop Buffer: This setting determines after how many points in profit the trailing SL will be activated.
Risk Type: You can chose either between Fixed USD Amount, Risk per Trade in % or Fixed Contract Size. By default it's set to fixed contract size.
Risk Amount (USD or Contracts): This setting is to set how many USD or how many contracts you want to risk per trade. Make sure to check which risk type you have selected before you chose the risk amount.
Use Limit Orders If enabled, the strategy will place a pending order x points from the current price, instead of a market order. Limit orders are enabled by default for a better performance. Important: It doesn't actually place a limit order. The strategy will just wait for a pullback and then enter with a market order. It's more like a hidden limit order.
Limit Order Distance (points): If you have limit orders enabled, this setting determines how many points from the current price the limit order will be placed.
Trading Days: These checkboxes are to select on which week days the strategy has to trade. Thursday is disabled by default because backtests have shown that Thursday is the least profitable day
Backtest Settings:
For the backtest the commissions ere set to 0.35 USD per mini contract which is the highest amount Tradeovate charges. Margin was not accounted for because typically on Apex accounts you can use way more contracts than you need for the extremely low max drawdown. Margin would be important on personal accounts but even there typically it's not an issue at all especially because this strategy runs on the 15min timeframe so it won't use a lot of contracts anyways.
What makes it unique:
This script is unique because it's designed to be used on Apex and Top Step accounts with extremely strict drawdown rules.
The strategy is optimised to be traded with a fixed contract size instead of using % risk. The reason for that is that the drawdown rules of these Futures Prop Accounts are very strict and the fact that the smallest trade-able contract size is 1.
Why the source code is hidden:
The source code is hidden because I invested a lot of time and money into developing this strategy and optimising it with paid 3rd party software. Also since I use it myself on my Apex accounts and prop firms don't allow copy trading I don't want it to be used by too many traders.
Multi TimelinesMulti Timeline Indicator
The Customizable Multi-Line Indicator is a versatile tool designed to help traders mark specific dates and times directly on their charts with visually distinct vertical lines. This indicator provides three fully customizable lines, each equipped with its own unique settings for visibility, color, style, and width. It is ideal for traders who want to highlight key events, track important price levels, or organize their charts around time-based triggers.
Features:
Three Customizable Lines:
Each line can be toggled on or off independently, allowing for a clutter-free chart.
Fully configurable settings for each line:
Date and Time: Specify the exact timestamp for the line placement.
Color: Choose any color to distinguish between the lines.
Line Width: Adjustable line thickness for better visibility.
Line Style: Options include solid, dashed, and dotted lines.
User-Friendly Inputs:
Intuitive input settings enable quick customization without needing to modify the script.
Simple checkboxes to control line visibility.
Clean and Efficient Design:
No labels or annotations clutter the chart.
The indicator ensures all lines are drawn precisely at the specified timestamps.
Lightweight and Optimized:
Designed to run efficiently without slowing down your chart, even with multiple lines.
Use Cases:
Mark Key Events: Highlight earnings dates, news events, or market open/close times.
Track Important Price Levels: Align lines with specific price action triggers for enhanced analysis.
Organize Trading Sessions: Define the start and end of trading sessions with visual markers.
Reminders for Strategy Execution: Use lines as visual reminders for executing trading strategies at predefined times.
How to Use:
Add the indicator to your chart.
Use the input panel to configure each line:
Toggle visibility with the checkbox.
Set the desired timestamp for each line.
Customize the color, style, and width.
Adjust your chart view to align with your analysis.
Compliance with TradingView Guidelines:
This indicator:
Does not include proprietary calculations or intellectual property from other indicators.
Avoids misleading titles or claims of guaranteed performance.
Does not use or reference any external data feeds or signals.
Focuses solely on providing charting tools for visual organization and analysis.
Disclaimer:
This tool is intended for informational purposes only and should not be considered financial advice. Always perform your due diligence and consult a financial advisor before making trading decisions.
US Recessions OverlayThe US Recessions Overlay indicator highlights the periods of US economic recessions directly on your TradingView chart. Using historical data from the Great Depression to the present, it provides a visual representation of recessions as transparent red backgrounds. This can help traders and analysts correlate market movements with historical economic downturns.
Features:
- Displays US recessions since the Great Depression (1929) as shaded areas.
- Automatically adjusts the background shading to match the date ranges of historical recessions.
- A simple and effective way to observe market behavior during recessionary periods.
- Fully customizable to include new recession periods or modify transparency levels.
How to Use:
Apply the indicator to any chart. Recession periods will appear as red-shaded backgrounds, providing a clear visual cue for market behavior during those times.
Use Case:
Ideal for traders, economists, and market historians who wish to study the impact of recessions on financial markets.
Multi Ticker Price TableTable showing the current price of up to 7 tickers
- Tickers are user choice
- Table background is customizable
- User has the choice to turn the Daily % column off
Relative PerformanceSimple relative performance of a token compared to BTC, with display of normalized performance velocity line.
skX_ALT_EMAs Enhanced [1H]An advanced EMA crossover system with dynamic ATR-based risk management, designed
for altcoin trading on the 1H timeframe. Combines trend following with momentum
and volume filters.
CORE COMPONENTS:
1. EMA System:
- 8 EMA (Fast): Primary signal line
- 21 EMA (Medium): Crossover reference
- 55 EMA (Slow): Trend filter
2. Multiple Filters:
- RSI (14): Prevents overbought/oversold entries
- Volume: Optional volume confirmation
- Trend Strength: EMA alignment check
3. Risk Management:
- Dynamic SL: Based on ATR (Average True Range)
- Dynamic TP: Risk:Reward based calculation
- Position entry markers
ENTRY CONDITIONS:
LONG:
- 8 EMA crosses above 21 EMA
- All EMAs aligned bullish (8 > 21 > 55)
- Price above 8 EMA
- RSI below 70 (not overbought)
- Optional: Volume > 1.5x average
SHORT:
- 8 EMA crosses below 21 EMA
- All EMAs aligned bearish (8 < 21 < 55)
- Price below 8 EMA
- RSI above 30 (not oversold)
- Optional: Volume > 1.5x average
RECOMMENDED SETTINGS:
- Timeframe: 1H
- ATR Period: 14
- ATR Multiplier: 1.5
- Risk:Reward: 2.0
- RSI Filter: ON
- Volume Filter: Optional (ON for low liquidity pairs)
VISUAL SIGNALS:
- Green Triangle: Long entry
- Red Triangle: Short entry
- Blue Line: Entry price
- Red Line: Stop Loss
- Green Line: Take Profit
- EMA Colors: Blue/Red for trend direction
EMA SCALPING SUITE v1.0 [1M-5M]EMA SCALPING SUITE v1.0
A scalping indicator designed for quick entries on lower timeframes, combining EMA
stacks with volume confirmation and automatic risk management levels.
CORE FEATURES:
1. EMA Stack System:
- 50 EMA (Blue): Fastest trend
- 100 EMA (Yellow): Entry trigger line
- 150 EMA (Orange): Stop loss reference
- 200 EMA (Red): Base trend
2. Entry System:
- LONG: When price dips to 100 EMA during bullish fan
- SHORT: When price rises to 100 EMA during bearish fan
- Signals shown as triangles at entry points
3. Risk Management:
- Auto Stop Loss: 150 EMA (red line)
- Auto Take Profit: Based on RR ratio (green line)
- Entry Price Marker: Current close (blue line)
4. Volume Confirmation:
- High volume dots (>1.5x average)
- Filters out weak signals
- Adjustable sensitivity
HOW IT WORKS:
1. Wait for EMAs to fan out (trend alignment)
2. Look for price to touch 100 EMA
3. Check for volume confirmation
4. Enter when signal appears
5. Use auto-generated SL and TP levels
BEST TIMEFRAMES:
- Primary: 1 minute
- Secondary: 3-5 minutes
- Not recommended: >15 minutes
RECOMMENDED SETTINGS:
- Volume Filter: ON
- Volume Multiplier: 1.5
- Risk:Reward: 1.5
SIM Trend Strength OscillatorTrend Strength Oscillator
The UNIQUE Trend Strength Oscillator is a non-overlayed indicator designed to help traders identify the strength and direction of market trends. This indicator uses Average True Range (ATR) bands to determine trend conditions and provides a visual representation of trend strength through a smoothed oscillator line.
Add the indicator to favorites for easy access
Key Features:
ATR Bands: Utilizes ATR bands to define trend conditions, with options to use either EMA or SMA for smoothing.
Trend Conditions: Identifies moderate and strong uptrends and downtrends, as well as sideways movements.
Trend Strength Calculation: Assigns normalized trend strength values based on the identified trend conditions.
Smoothing: Smoothes the trend strength values over a specified number of confirmation candles to provide a clearer trend signal.
Visualization: Displays the trend strength as a colored oscillator line and background, making it easy to interpret trend strength and direction at a glance.
Inputs:
Use EMA for ATR: Toggle to use EMA instead of SMA for ATR bands.
ATR Period: Period for ATR calculation.
ATR Mean Length: Length for the SMA of ATR.
Trend Confirmation Candles: Number of candles for trend confirmation.
Usage:
Trend Identification: Use the oscillator to identify the strength and direction of the current trend.
Trend Confirmation: Ensure that the trend condition has been true for the specified number of confirmation candles for more reliable signals.
Visual Cues: The colored oscillator line and background provide quick visual cues for trend strength and direction.
The Trend Strength Oscillator is a valuable tool for traders looking to gain insights into market trends and make more informed trading decisions.
Buy me a Coffee (ETH): 0x34539E9D183B427DC14376158C8Fa9f619B03eEa
Stochastic Oscillator-Time & Frequency StatsThe Stochastic Oscillator Time & Frequency Statistics indicator is a tool designed to enhance your trading decisions by combining the traditional Stochastic Oscillator with additional metrics and visual aids. Although the Stochastic Oscillator is typically used to indicate trend direction and overbought/oversold conditions, the %K and %D lines can cross over and under multiple times while in the critical zones. The statistics added to this indicator allow traders to assess the probability of multiple crossover signals occurring on an asset or within various time frames. Signal levels and definitions of critical zones can be adjusted while the statistics are automatically updated to the relevant ticker, time frame and thresholds. Visual preferences such as colors and signal shapes can also be customized.
The Stochastic Oscillator is a commonly used momentum indicator developed by George Lane. It measures the position of the current closing price relative to the asset's recent high-low range over a set period. This advanced version calculates various probability and frequency statistics to better understand the oscillator’s behaviour and guide our strategies and risk management. Some key questions that this indicator intends to address are:
How long does the average momentum last in a trend?; How long does the oscillator remain in the critical zones?; How many times could one expect crossovers/unders' to occur in critical zones before momentum changes?; And, at what price does the candle need to close for the k & d lines to cross and signal a momentum shift?
Statistics & Probabilities:
The indicator calculates important time and frequency-based metrics that provide deeper insight into the behavior of the Stochastic Oscillator. These are displayed in a text box on the indicator panel, including:
Avg Long: The average number of bars between the last long signal before exiting the critical oversold zone and the next short signal in the overbought critical zone, including the standard deviation and the sample size within the relevant time frame.
Avg Short: The average number of bars between the last short signal in the overbought critical zone and the next long signal in the oversold critical zone, including the standard deviation and the sample size within the relevant time frame.
Time in Oversold: The average time (in bars/candle sticks) that the Stochastic Oscillator's %K & %D lines both spend in the oversold region (below the buy signal level) after entering and before departing the oversold region, along with the standard deviation.
Time in Overbought: The average time (in bars/candle sticks) that the Stochastic Oscillator's %K & %D lines both spend in the overbought region (above the sell signal level), after entering and before departing the overbought region, along with the standard deviation.
Signal Frequency: It calculates the percentage of long or short signals that occur consecutively within the critical zone before the opposing signal occurs (e.g., 1Long: 40.54%, 2 Long: 28.55%, 3Long: 17.4%, >3 Long: 13.51%, 1Short: 36.15%, 2Short: 30.41%, 3Short: 17.57%, >3Short: 15.88%). This is calculated for 1 through 6 consecutive occurrences and summarised for more than 6 consecutive signals
Key Features:
Oversold: Typically When the Stochastic Oscillator is below 20, it indicates that the asset may be oversold, potentially signalling a buying opportunity. The threshold for "overbought" and "oversold" extreme regions can be adjusted
Overbought: When the Stochastic Oscillator is above 80, it suggests the asset may be overbought, and a downturn might be near.
Stochastic Slope: The slope of the Stochastic Oscillator indicates the prominent trend direction within the selected time period.
Customizable Buy/Sell Signal Levels: The indicator allows customizable levels for detecting oversold (typically below 20-25) and overbought (typically above 75-80) conditions, helping one spot potential reversal zones for initiating long or short trades.
Crossover Alerts: The indicator tracks crossovers between the %K and %D lines, generating:
Long signals: When a crossover occurs below the buy signal level (indicating oversold conditions).
Short signals: when a crossunder occurs above the sell signal level (indicating overbought conditions).
The signals are visualized as labels on the chart:
- **L** for potential long (buy) signals: Marked below the bars when the %K line crosses above the %D line.
- **S** for potential short (sell) signals: Marked above the bars when the %K line crosses below the %D line.
Disclaimers:
No Guarantees: The indicator is provided "as-is" without any warranties or guarantees of accuracy, completeness, or fitness for a particular purpose. The outcomes or performance of trades executed using this indicator are not guaranteed to be successful or profitable.
User Responsibility: You are solely responsible for any trading decisions you make based on the use of this indicator. All trading and investment activities involve risk, and it is essential to conduct your own research, analysis, and due diligence before making any financial decisions.
No Liability: The creator of this indicator is not responsible for any financial losses, direct or indirect, incurred as a result of using this indicator. This includes, but is not limited to, loss of profits, loss of capital, or any other negative financial outcomes.
Market Risks: Markets are volatile, and prices may fluctuate significantly. Trading and investing carry inherent risks, and there is always the potential for loss. You should only trade with capital that you can afford to lose.
Independent Advice: This indicator and the content generated by its creator does not constitute financial advice and is for entertainment purposes only. It is strongly recommended that you seek independent financial advice from a qualified and licensed professional before making any trading or investment decisions based on the use of this indicator.
By using this indicator, you acknowledge that you fully understand and accept the risks involved, and you agree to indemnify and hold harmless the creator of this indicator from any claims, damages, or liabilities arising from its use.
The author of this script has made every effort to ensure that the code is an original interpretation and application of the open-source **Stochastic Oscillator**, as developed by George Lane. The script reflects a unique adaptation aimed at enhancing trading strategies through advanced statistical analysis and trade management features. The author does not claim any proprietary rights over the foundational concepts of the **Stochastic Oscillator** and does not intend to infringe upon any existing copyrights. Should any copyright infringement be identified, the author commits to removing the indicator immediately and forfeits any rights to further or intended financial gain from its use.