Landry Light Pine ScannerLandry Light Pine Scanner
The Landry Light Pine Scanner is a comprehensive technical analysis tool designed to identify stocks showing strong upward trends based on the Landry Light methodology. It scans for stocks where:
Today's low and yesterday's low are above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA 50 is above SMA 150, and SMA 150 is above SMA 200 (a strong bullish SMA hierarchy).
Features:
Trend Detection: Automatically highlights stocks with strong bullish trends based on EMA and SMA alignment.
Customizable Inputs: Users can adjust EMA and SMA lengths to fit their trading style.
Visual Clarity: Plots the 30 EMA, SMA 50, SMA 150, and SMA 200 directly on the chart for easy analysis.
Alert Ready: Integrated with TradingView's alert system to notify users when the conditions are met.
Chart Highlights: Automatically highlights bars that meet the conditions with a subtle green background.
Use Case:
This indicator is ideal for swing traders and position traders looking for potential breakout opportunities. By filtering stocks with a bullish structure, traders can focus on high-probability setups.
Conditions Used:
30 EMA Conditions:
Today's low is above the 30 EMA.
Yesterday's low is above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA Hierarchy:
SMA 50 is above SMA 150.
SMA 150 is above SMA 200.
Customization Options:
30 EMA Length: Adjustable to match user preferences.
SMA Lengths: SMA 50, SMA 150, and SMA 200 lengths are customizable for flexibility.
Alerts:
Users can set alerts for when the defined conditions are met, making it easy to monitor multiple stocks.
How to Use:
Apply the Indicator:
Add the indicator to your TradingView chart.
Set Alerts:
Use the built-in alert condition for automated notifications.
Analyze Trends:
Look for green-highlighted bars indicating stocks meeting the criteria.
Screen Stocks:
Use this tool as part of your screener to filter stocks efficiently.
Note:
This indicator does not provide buy or sell signals. Always combine it with other technical and fundamental analysis for informed trading decisions.
Publishing Tags:
Landry Light, EMA, SMA, Trend Analysis, Swing Trading, Position Trading, Technical Analysis, Breakout Scanner, TradingView, Pine Script
移動平均線
Uptrick: Oscillator SpectrumUptrick: Oscillator Spectrum is a versatile trading tool designed to bring together multiple aspects of technical analysis—oscillators, momentum signals, divergence checks, correlation insights, and more—into one script. It includes customizable overlays and alert conditions intended to address a wide range of market conditions and trading styles.
Developed in Pine Script™, Uptrick: Oscillator Spectrum represents an extended version of the classic Ultimate Oscillator concept. It consolidates short-, medium-, and long-term momentum readings, applies correlation analysis across different symbols, and offers optional table-based metrics to provide traders with a more structured overview of potential trade setups. Whether used alongside your existing charts or as a standalone toolkit, it aims to build on and enhance the functionality of the standard Ultimate Oscillator.
### A Few Key Features
- Momentum Insights: Multiple timeframes for oscillators, plus buy/sell signal modes for flexible identification of overbought/oversold situations or crossovers.
- Divergence Detection: Automated checks for bullish/bearish divergences, aiming to help traders spot potential shifts in momentum.
- Correlation Meter: A visual histogram summarizing how selected assets are collectively trending. It is useful for tracking the bigger market picture.
- Gradient Overlays & Bar Coloring: Dynamic color transitions designed to emphasize changes in momentum, trend shifts, and overall sentiment without cluttering the chart.
- Money Flow Tracker: Tracks the flow of money into and out of the market using a smoothed Money Flow Index (MFI). Highlights overbought/oversold conditions with dynamic bar coloring and visual gradient fills, helping traders assess volume-driven sentiment shifts.
- Advanced Table Metrics: An optional table showing return on investment (ROI), collateral risk, and other contextual metrics for supported assets.
- Alerts & Automation: Configurable alerts covering divergence events, crossing of critical levels, and more, helping to keep traders informed of developments in real time.
### Intended Usage
- For Multiple Markets: Works on various markets (cryptocurrencies, forex pairs, stocks) to deliver a consistent view of momentum, potential entry/exit signals, and correlation.
- Adaptable Trading Styles: With customizable input settings, you can enable or disable specific features to align with your preferred strategies—intraday scalping, swing trading, or position holding.
By combining these elements under one indicator, Uptrick: Oscillator Spectrum allows traders to streamline analysis workflows, helping them stay focused on interpreting market moves and making informed decisions rather than juggling multiple scripts.
Purpose
Purpose of the “Uptrick: Oscillator Spectrum” Indicator
The “Uptrick: Oscillator Spectrum” indicator is intended to bring together several technical analysis elements into one tool. It combines oscillator-based momentum readings across different lookback periods, checks for potential divergences, provides optional buy/sell signal triggers, and offers correlation-based insights across multiple symbols. Additionally, it includes features such as bar coloring, gradient visualization, and user-configurable alerts to help highlight various market conditions.
By consolidating these functions, the script aims to help users systematically observe changing momentum, identify when prices reach user-defined overbought or oversold levels, detect when oscillator movements diverge from price, and examine whether different assets are aligning or diverging in their trends. The indicator also allows for optional advanced metric tables, which can supply further context on risk, ROI calculations, or other factors for supported assets. Overall, the script’s purpose is to organize multiple layers of technical analysis so that users have a structured way to evaluate potential trade opportunities and market behavior.
## Usage Guide
Below is an outline of how you can utilize the various components and features of Uptrick: Oscillator Spectrum in your charting workflow.
---
### 1. Using the Core Oscillator
- Basic View: By default, the script calculates a multi-timeframe oscillator (commonly displayed as the “Ultimate Oscillator”). This oscillator combines short-, medium-, and long-term measurements of buying pressure and true range.
- Overbought/Oversold Zones: You can configure thresholds (e.g., 70 for overbought, 30 for oversold) to help identify potential turning points. When the oscillator crosses these levels, it may indicate that price is extended in one direction.
- You can use the colors of the main oscillator to help you take short-term trades as well: cyan : Buy , red: Sell
- Alerts: If you enable alerts, the indicator can notify you when the oscillator crosses above or below your chosen overbought/oversold boundaries or when you get buy/sell signals.
---
### 2. Buy/Sell Signals in Overlay Modes
Uptrick: Oscillator Spectrum provides several signal modes and a choice between overlay true and overlay false or both. Additionally, you can pick which “line” (data source) the script uses to generate signals. This is set in the “Line to Analyze” dropdown, which includes Oscillator, HMA of Oscillator, and Moving Average. The following sections describe how each piece fits together.
---
#### Line to Analyze - Overlay Flase: Oscillator / HMA of Oscillator / Moving Average
1. Oscillator
- The core momentum reading, reflecting short-, medium-, and long-term periods combined.
2. HMA of Oscillator
- Applies a Hull Moving Average to the oscillator, creating a smoother but still responsive curve.
- Signals will be derived from this smoothed line. Some traders find it filters out minor fluctuations while remaining quicker to react than standard averages.
3. Moving Average
- Uses a user-selected MA type (SMA, EMA, WMA, etc.) over the oscillator values, rather than the raw oscillator itself.
- Tends to be more stable than the raw oscillator, but might delay signals more depending on the chosen MA settings.
---
#### Signal Modes
Regardless of which line you choose to analyze, you can use one of the following seven signal modes in overlay being true:
1. Overbought/Oversold (Pyramiding)
- What It Does:
- Buy signal when the chosen line crosses below the oversold threshold.
- Sell signal when it crosses above the overbought threshold.
- Pyramiding:
- Allows multiple triggers within the same overbought/oversold event.
2. Overbought/Oversold (Non Pyramiding)
- What It Does:
- Same thresholds but only one signal per oversold or overbought event.
- Use Case:
- Prevents repeated signals and chart clutter.
3. Smoothed MA Middle Crossover
- What It Does:
- Uses an MA defined by the user.
- Buy when crossing above the midpoint (50), Sell when crossing below.
- Use Case:
- Generates fewer signals, focusing on broader momentum shifts. There is no pyramiding.
In this image ,for example, the VWMA is used with length of 14 to identify buy sell signals.
4. Crossing Above Overbought/Below Oversold (Non Pyramiding)
- What It Does:
- Buy occurs if the line exits oversold territory by crossing back above it.
- Sell occurs if the line exits overbought territory by crossing back below it.
- Non Pyramiding:
- Restricts repeated signals until conditions reset.
5. Crossing Above Overbought/Below Oversold (Pyramiding)
- What It Does:
- Same thresholds, but allows multiple signals if the line repeatedly dips in and out of overbought or oversold.
- Use Case:
- More frequent entries/exits for active traders.
6. Divergence (Non Pyramiding)
- What It Does:
- Identifies bullish or bearish divergences using the chosen line vs. price.
- Buy for bullish divergence (higher low on the line vs. lower low on price), Sell for bearish divergence.
- Single Trigger:
- Only one signal per identified divergence event. (non pyramiding)
7. Divergence (Pyramiding)
- What It Does:
- Same divergence logic but triggers multiple times if the script sees repeated divergence in the same direction.
- Use Case:
- Could suit traders who layer positions during sustained divergence scenarios.
#### Overlay Modes: True vs. False
1. Overlay True
- Buy/sell arrows or labels plot directly on the main price chart, often at or near candlesticks.
- Bar Coloring:
- Can turn the candlestick bars green (buy) or red (sell), with intensity reflecting signal recency if bar coloring is enabled for this mode. (read below.)
- Advantage:
- Everything (price, signals, bar colors) is in one spot, making it straightforward to associate signals with current market action. You can adjust the periods of the main oscillator or lookback periods of divergences or overbought/oversold thresholds, to play around with your signals.
2. Overlay False
- Signal Placement:
- Signals appear in a sub-window or oscillator panel, leaving the main price chart uncluttered.
- Bar Coloring:
- You may still enable bar colors on the main chart (green for buy, red for sell) if desired.
- Alternatively, you can keep them neutral if you prefer a completely separate display of signals.
- Advantage:
- Clear separation of price action from signals, useful for cleaner charts or if using multiple overlay-based tools.
At the bottom are the signals for overlay being false and on the chart are the signals for overlay being true:
#### Bar Color Adjustments
1. Coloring Logic
- Bars typically go green on buy signals, red on sell signals.
- The opacity or brightness can vary to indicate signal freshness. When a new signal is formed, the color gets brighter. When there is no signal for a longer period of time, then the color slowly fades.
2. Enabling Bar Coloring
- In the indicator’s settings, turn on Bar Coloring.
- Choose “Signals Overlay True” or “Signals Overlay False” from the “Color should depend on:” dropdown, depending on which overlay approach you want to drive your bar colors. You can also chose the cloud fill in overlay false, correlation meter and smoothed HMA to color bars. Read more below:
### Bar Color Options:
When you enable bar coloring in Uptrick: Oscillator Spectrum, you can select which component or signal logic drives the color changes. Below are the five available choices:
---
#### Option 1: Overlay True Signals
- What It Does:
- Uses signals generated under the Overlay True mode to color the bars on your main chart.
- If a buy signal is triggered, bars turn green. If a sell signal occurs, bars turn red.
- Color Intensity:
- Bars appear brighter (more opaque) immediately after a new signal fires, then gradually fade over subsequent bars if no new signal appears.
---
#### Option 2: Overlay False Signals
- What It Does:
- Links bar coloring to signals generated when Overlay False mode is active.
- Buy/sell labels typically plot in a separate sub-window instead of the main chart, but your price bars can still change color based on these signals.
- Color Intensity:
- Similar to Overlay True, new buy/sell signals yield stronger color intensity, which fades over time.
- Use Case:
- Helps maintain a clean main chart (with signals off-chart) while still providing an immediate color-coded indication of a buy or sell state.
- Particularly useful if you prefer less clutter from signal markers on your price chart yet still want a visual representation of signal timing.
In this example normal divergence Pyramiding Signals are used in the overlay being true and the signals in overlay false are signals that analyze the HMA. This can help clear out noise (using a combo of both).
Option 3: Money Flow Tracker
What It Does:
The Money Flow Tracker uses the Money Flow Index (MFI), a volume-weighted oscillator, to measure the strength of money flowing into or out of an asset. The script smooths the raw MFI data using an EMA for a more responsive and visually intuitive output.
The feature also includes dynamic color gradients and bar coloring that highlight whether money flow is positive or negative.
Green Fill/Bar Color: Indicates positive money flow, suggesting potential accumulation.
Red Fill/Bar Color: Indicates negative money flow, signaling potential distribution.
Overbought and oversold thresholds are dynamically emphasized with transparency, making it easier to identify high-confidence zones.
Use Case:
Ideal for traders focusing on volume-driven sentiment to identify turning points or confirm existing trends.
Suitable for assessing broader market conditions when used alongside other indicators like oscillators or correlation analysis.
Provides additional clarity in spotting areas of accumulation or distribution, making it a valuable complement to price action and momentum studies.
---
#### Option 4: Correlation Meter
- What It Does:
- Colors the bars based on the indicator’s Correlation Meter output. The script checks multiple chosen tickers and sums up how many are trending positively or negatively.
- If the meter indicates an overall bullish bias (e.g., more than three assets in uptrend), bars turn green; if it’s bearish, bars turn red.
- Trend Readings:
- The correlation meter typically plots a histogram of bullish/neutral/bearish states. The bar color option links your chart’s candlestick coloring to that higher-level market sentiment.
- Use Case:
- Useful for traders wanting a quick visual prompt of whether the broader market (or a selection of related assets) is bullish or bearish at any given time.
- Helps avoid signals that conflict with the market majority.
#### Option 5: Smoothed HMA
- What It Does:
- Bar colors are driven by the slope or state of the Hull Moving Average (HMA) of the oscillator, rather than individual buy/sell triggers or correlation data.
- If the HMA indicates a strong upward slope (possibly darkening), bars may turn green; if the slope is downward (purple in the HMA line), bars turn red.
- Use Case:
- Ideal for those who focus on momentum continuity rather than discrete signals like overbought/oversold or divergence.
- May help identify smoother, more sustained moves, as the HMA filters out minor oscillations.
---
### 3. Using the Hull Moving Average (HMA) of the Oscillator
- HMA Calculation: You can enable a dedicated Hull Moving Average (HMA) for the oscillator. This creates a smoother line of the same underlying momentum reading, typically responding more quickly than classic moving averages.
- Color Intensity: As the HMA sustains an uptrend or downtrend, the script can adjust the line’s color. When slope momentum persists in one direction, the color appears more opaque. This intensification can hint that the existing direction may be well-established.
- Reversal Potential: If you observe the HMA color shifting or darkening after multiple bars of slope in the same direction, it may indicate increasing momentum. Conversely, a sudden flattening or change in color can be a clue that momentum is waning.
---
### 4. Moving Average Overlays & Gradient Cloud
- Oscillator MA: The script allows you to apply moving average types (SMA, EMA, SMMA, WMA, or VWMA) to the core oscillator, rather than to price. This can smooth out noise in the oscillator, potentially highlighting more consistent momentum shifts.
- Gradient Cloud: You can also enable a cloud in overlay true between two moving averages (for instance, a Hull MA and a Double EMA) on the price chart. The cloud fills with different colors, depending on which MA is above the other. This can provide a quick visual reference to bullish or bearish areas.
---
### 5. Divergence Detection
- Bullish & Bearish Divergence: By toggling “Calculate Divergence,” the script looks for oscillator pivots that contrast with price pivots (e.g., price making a lower low while the oscillator makes a higher low).
- A divergence is when the price makes an opposite pivot to the indicator value. E.g. Price makes lower low but indicator does higher low - This suggests a bullish divergence. THe opposite is for a bearish divergence.
- Visual Labels: When a divergence is found, labels (such as “Bull” or “Bear”) appear on the oscillator. This helps you see if the oscillator’s momentum patterns differ from the price movement.
- Filtering Signals: You can combine divergence signals with other features like overbought/oversold or the HMA slope to refine potential entries or exits.
---
### 6. Correlation & Multi-Ticker Analysis
- Correlation Meter: You can select up to five tickers in the settings. The script calculates a slope-based metric for each, then combines those metrics to show an overall bullish or bearish tendency (displayed as a histogram).
- Bar Coloring & Overlay: If you activate correlation-based bar coloring, it will reflect the broader trend alignment among the selected assets, potentially indicating when most are trending in the same direction.
- Use Case: If you trade multiple markets, the correlation histogram can help you quickly see if several major assets support the same market bias or are diverging from one another.
—
### 7. Money Flow Tracker
Money Flow Calculation: The Money Flow Tracker calculates the Money Flow Index (MFI) based on price and volume data, factoring in buying pressure and selling pressure. The output is smoothed using a low-lag EMA to reduce noise and enhance usability.
Visual Features:
Dynamic Gradient Fill:
The space between the smoothed MFI line and the midline (set at 50) is filled with a gradient.
Above 50: Green gradient, with intensity increasing as the MFI moves further above the midline.
Below 50: Red gradient, with intensity increasing as the MFI moves further below the midline.
This gradient provides a clear visual representation of money flow strength and direction, making it easier to assess sentiment shifts at a glance.
Overbought/Oversold Levels: Default thresholds are set at 70 (overbought) and 30 (oversold). When the MFI crosses these levels, it signals potential reversals or trend continuations.
Bar Coloring:
Bars turn green for positive money flow and red for negative money flow.
Color intensity fades over time, ensuring recent signals stand out while older ones remain visible without dominating the chart.
Alerts:
Alerts are triggered when the Money Flow Tracker crosses into overbought or oversold zones, keeping traders informed of critical conditions without constant monitoring.
Practical Applications:
Trend Confirmation: Use the Money Flow Tracker alongside the oscillator or HMA to confirm trends or identify potential reversals.
Volume-Based Reversal Signals: Spot turning points where price action aligns with shifts in money flow direction.
Sentiment Analysis: Gauge whether market participants are accumulating (positive flow) or distributing (negative flow) assets, offering an additional layer of insight into price movement.
(Space for an example chart: “Money Flow Tracker with gradient fills and overbought/oversold levels”)
### 8. Putting It All Together
- Combining Signals: A practical approach might be to watch for a bullish divergence in the oscillator, confirm it with a shift in the HMA slope color, and then wait for the price to be near or below oversold conditions. The correlation histogram may further confirm if the broader market is also leaning bullish at that time.
- Visual Cues: Bar coloring adds another layer, making your chart easier to interpret at a glance. You can also set alerts to ensure you don’t miss key events like divergences, crossovers, or moving average flips.
- Flexibility: Not every feature needs to be used simultaneously. You might opt to focus on divergences and overbought/oversold signals, or you could emphasize the correlation histogram and bar colors. The settings let you enable or disable each module to suit your style.
---
### 9. Tips for Customization
- Adjust Periods: Shorter periods can yield more signals but also more noise. Longer periods may provide steadier, but fewer, signals.
- Set Appropriate Alert Conditions: Only alert on events most relevant to your strategy to avoid overload.
- Explore Different MAs: Depending on the instrument, some moving average types may give a smoother or more responsive indication.
- Monitor Risk Management: As with any tool, these signals do not guarantee performance, so consider position sizing and stop-loss strategies.
---
By toggling and experimenting with the features described above—buy/sell signals, divergences, moving averages, dynamic gradient clouds, and correlation analysis—you can tailor Uptrick: Oscillator Spectrum to your specific trading approach. Each module is designed to give you a clearer, structured view of potential momentum shifts, overbought or oversold states, and the alignment or divergence of multiple assets.
## Features Explanation
Below is a detailed overview of key features in Uptrick: Oscillator Spectrum. Each component is designed to provide different angles of market analysis, allowing you to customize the tool to your preferences.
---
### 1. Main Oscillator
- Purpose: The primary oscillator in this script merges short-, medium-, and long-term views of buying pressure and true range into a single line.
- Calculation: It weights each period’s contribution (e.g., a heavier focus on the short period if desired) and normalizes the result on a 0–100 scale, where higher readings may suggest more robust momentum. (like from the classic Ultimate Oscillator)
- Practical Use:
- Traders can watch for overbought/oversold conditions at user-defined thresholds (e.g., 70/30).
- It can also provide a straightforward momentum reading for those who prefer to see if momentum is rising, falling, or leveling off.
---
### 2. HMA of the Smoothed Oscillator
- What It Is: A Hull Moving Average (HMA) applied to the main oscillator values. The HMA is often more responsive than standard MAs, offering smoother lines while preserving relatively quick reaction to changes.
- How It Works:
- The script takes the oscillator’s output and processes it through a Hull MA calculation.
- The HMA’s slope and color can change more dynamically, highlighting sharper momentum shifts.
- Why It’s Useful:
- By smoothing out minor fluctuations, the HMA can highlight trends in the oscillator’s trajectory.
- If you see an extended run in the HMA slope, it may indicate a more persistent trend in momentum.
- Color Intensity:
- As the HMA continues in one direction for several bars, the script can intensify the color, signaling stronger or more sustained momentum in that direction.
- Sudden changes in color or slope can signal the start of a new momentum swing.
---
### 3. Gradient Fill
This script uses two gradient-based visual elements:
1. Shining/Layered Gradient on the Main Oscillator
- Purpose: Adds multiple layers around the oscillator line (above and below) to emphasize slope changes and highlight how quickly the oscillator is moving up or down.
- Color Changes:
- When the oscillator rises, it uses a color scheme (e.g., aqua/blue) that intensifies as the slope grows.
- When the oscillator declines, it uses a distinct color (e.g., red/pink).
- User Benefit: Makes it easier to see at a glance if momentum is accelerating or decelerating, beyond just the numerical reading.
2. Dynamic Cloud Fill (Between MAs)
- Purpose: Allows you to plot two moving averages (for example, a short-term Hull MA and a longer-term DEMA) and fill the area between them with a color gradient.
- Bullish vs. Bearish:
- When the short MA is above the long MA, the cloud might appear in a greenish hue.
- When the short MA is below the long MA, the cloud can switch to red or another color.
- Transparency/Intensity:
- The fill can get more opaque if the difference between the two MAs is large, indicating a stronger trend but a higher probability of a reversal.
- User Benefit: Helps visualize changes in trend or momentum across multiple time horizons, all within a single chart overlay.
---
### 4. Correlation Meter & Symbol Inputs
- What It Is: This feature looks at multiple user-selected symbols (e.g., BTC, ETH, BNB, etc.) and computes each symbol’s short-term slope. It then aggregates these slopes into an overall “trend” score.
- Inputs Configuration:
1. Ticker Inputs: You can specify up to five different tickers.
2. Timeframe: Decide whether to pull data from different chart timeframes for each symbol.
3. Slope Calculation: The script may compute, for instance, a 5-period SMA minus a 20-period SMA to gauge if each symbol is trending up or down.
- Market Trend Histogram:
- Displays a column that goes above/below zero depending on how many symbols are bullish or bearish.
- If more than three (out of five) symbols are bullish, the histogram can show a green bar at +1; if fewer than three are bullish, it can show red at –1.
- How to Use:
- Quick Glance: Lets you know if most correlated assets are aligning or diverging.
- Bar Coloring (Optional): If enabled, your main chart’s bars can reflect the aggregated correlation, turning green or red depending on the meter’s reading.
---
### 5. Advanced Metrics Table
- What It Is: An optional table displaying additional metrics for several cryptocurrencies (or any symbols you define).
- Metrics Included:
1. ROI (30D): Calculates return relative to the lowest price in a 30-day period.
2. Collateral Risk: Uses standard deviation to assess volatility (higher risk if standard deviation is large).
3. Liquidity Recovery: A rolling average of volume, aiming to show how liquidity flows might recover over time.
4. Weakening (Rate of Change): Reflects how quickly price is changing compared to previous bars.
5. Monetary Bias (SMA): A simple average of recent prices. If price is below this SMA, it might be seen as undervalued relative to the short term.
6. Risk Phase: Categorizes risk as low, medium, or high based on the standard deviation figure.
7. DCA Signal: Suggests “Accumulate” or “Do Not Accumulate” by checking if the current price is below or above the SMA.
- Why It’s Useful:
- Offers a concise view of multiple assets in one place—helpful for portfolio-level insight.
- DCA (Dollar-Cost Averaging) suggestions can guide longer-term strategies, while volatility (collateral risk) helps gauge how aggressive the price swings might be.
---
### 6. Other Vital Aspects
- Alerts & Notifications:
- The script can trigger alerts for various conditions—crossovers, divergence detections, overbought/oversold transitions, or correlation-based signals.
- Useful for automating watchlists or ensuring you don’t miss a key setup while away from the screen.
- Customization:
- Each module (oscillator settings, divergence detection, correlation meter, advanced metrics table, etc.) can be enabled or disabled based on your preferences.
- You can fine-tune parameters (e.g., periods, smoothing lengths, alert triggers) to align the indicator with different trading styles—scalping, swing, or position trading.
- Combining Features:
- One might watch the main oscillator for momentum extremes, confirm via the HMA slope, check if correlation supports the same bias, and look at the table for risk-phase validation.
- This multi-layer approach can help develop a more structured and informed trading view.
(Space for an example chart: “A fully configured layout showing oscillator, HMA, gradient cloud, correlation meter, and table all in use.”)
7. Money Flow Tracker
Purpose: The Money Flow Tracker adds a volume-based perspective to the indicator suite by incorporating the Money Flow Index (MFI), which assesses buying and selling pressure over a defined period. By smoothing the MFI using an exponential moving average (EMA), the feature highlights the directional flow of capital into and out of the market with greater clarity and reduced noise.
Dynamic Gradient Visualization:
The Money Flow Tracker enhances visual analysis with gradient fills that reflect the MFI’s relationship to the midline (50).
Above 50: A green gradient emerges, intensifying as the MFI moves higher, indicating stronger positive money flow.
Below 50: A red gradient appears, with deeper shades signifying increasing selling pressure.
Transparency dynamically adjusts based on the MFI’s proximity to the midline, making high-confidence zones (closer to 0 or 100) visually distinct.
Directional Sensitivity:
The Tracker emphasizes the importance of overbought (above 70) and oversold (below 30) zones. These thresholds help traders identify when an asset might be overextended, signaling potential reversals or trend continuations.
The inclusion of a midline (50) as a neutral zone helps gauge shifts between accumulation (money flowing in) and distribution (money flowing out).
Bar Integration:
By enabling bar coloring linked to the Money Flow Tracker, traders can visualize its impact directly on price bars.
Green bars reflect positive money flow (above 50), signaling bullish conditions.
Red bars indicate negative money flow (below 50), highlighting bearish sentiment.
Intensity adjustments ensure that recent signals are more visually prominent, while older signals gradually fade for a clean, non-cluttered chart.
Key Advantages:
Volume-Informed Context: Traditional oscillators often focus solely on price; the Money Flow Tracker incorporates volume, adding a crucial dimension for analyzing market behavior.
Adaptive Filtering: The EMA-smoothing feature ensures that sudden, insignificant spikes in volume don’t trigger false signals, providing a clearer and more actionable representation of money flow trends.
Early Warning System: Divergences between price movement and the Money Flow Tracker’s trends can signal potential turning points, helping traders anticipate reversals before they occur.
Practical Use Cases:
Trend Confirmation: Pair the Money Flow Tracker with the oscillator or HMA to confirm bullish or bearish trends. For example, a rising oscillator with positive money flow indicates strong buying interest.
Identifying Entry/Exit Zones: Use overbought/oversold conditions as entry/exit points, particularly when combined with other features like divergence detection.
Market Sentiment Analysis: The Tracker’s ability to dynamically assess buying and selling pressure provides a clear picture of market sentiment, helping traders adjust their strategies to align with broader trends.
By understanding these features—main oscillator readings, the HMA’s smoothing capabilities, gradient-based visual highlights, correlation insights, advanced metrics, and the money flow tracker—you can tailor Uptrick: Oscillator Spectrum to your specific needs, whether you’re focusing on quick trades, longer-term market moves, or broad portfolio health.
Originality of the “Uptrick: Oscillator Spectrum” Indicator
While it includes elements of standard momentum analysis, Uptrick: Oscillator Spectrum sets itself apart by adding an array of features that broaden the typical oscillator’s scope:
1. Slope Coloring & Layered Gradient Effects
- Beyond just plotting a single line, the indicator visually highlights momentum shifts using color changes and gradient fills.
- As the oscillator’s slope becomes steeper or flatter, these gradients intensify or fade, helping users see at a glance when momentum is accelerating, slowing, or reversing.
2. Mean Reversion & Divergence Detection
- The script offers optional logic for marking potential mean reversion points (e.g., overbought/oversold crossovers) and flagging divergences between price and the oscillator line.
- These divergence signals come with adjustable lookback parameters, giving traders control over how recent or extended the pivots should be for detection.
- This functionality can reveal subtle momentum discrepancies that a basic oscillator might overlook.
3. Integrated Multi-Asset Correlation Meter
- In addition to monitoring a single symbol, the indicator can fetch data for multiple tickers. It aggregates each symbol’s slope into a histogram showing whether the broader market (or a group of assets) leans bullish or bearish.
- This cross-market insight moves beyond standard “one-symbol, one-oscillator” usage, adding a bigger-picture perspective in one tool.
4. Advanced Metrics Table
- Users can enable a table that covers ROI calculations, volatility-based risk (“Collateral Risk”), liquidity checks, DCA signals, and more.
- Rather than just seeing an oscillator value, traders can view additional metrics for selected assets in one place, helping them judge overall market conditions or assess multiple instruments simultaneously.
5. Flexible Overlay & Bar Coloring
- Signals can be displayed directly on the price chart (Overlay True) or in a sub-window (Overlay False).
- Bars themselves may change color (e.g., green for bullish or red for bearish) according to different rules—signals, dynamic cloud fill, correlation meter states, etc.
- This adaptability allows traders to keep the chart as simple or as info-rich as they prefer.
6. Custom Smoothing Options & HMA Extensions
- The oscillator can be processed further with a Hull Moving Average (HMA) to reduce noise while still reacting quickly to market changes.
- Slope-based coloring on the HMA provides an additional layer of visual feedback, which is not common in a standard oscillator.
By blending traditional momentum checks with slope-based color feedback, mean reversion triggers, divergence signals, correlation analysis, and an optional metrics table, Uptrick: Oscillator Spectrum offers a more rounded approach than a typical oscillator. It integrates multiple market insights—both visual and analytical—into one script, giving users a broader toolkit for studying potential reversals, gauging momentum strength, and assessing multi-asset trends.
## Conclusion
Uptrick: Oscillator Spectrum brings together multiple layers of analysis—oscillator momentum, divergence detection, correlation insights, HMA smoothing, and more—into one adaptable toolkit. It aims to streamline your charting process by offering meaningful visual cues (such as gradient fills and bar color shifts), advanced tables for broader market data, and flexible alerts to keep you informed of potential setups.
Traders can choose the specific features that suit their style, whether they prefer to focus on raw oscillator signals, multi-ticker correlation, or smooth trend cues from the HMA. By centralizing these different methods in one place, Uptrick: Oscillator Spectrum can help users build more structured approaches to spotting trend shifts and extended conditions, while also remaining compatible with additional analysis techniques.
---
### Disclaimer
This script is provided for informational purposes only and does not constitute financial or investment advice. Past performance is not indicative of future results, and all trading involves risk. You should carefully consider your objectives, risk tolerance, and financial situation before making any trading decisions.
MarktQuants Supertrend"MarktQuants Supertrend" is an indicator designed to help traders visualize market trends using a combination of moving averages and dynamic range calculations. It adapts to market conditions, providing insights into potential trend directions:
Trend Identification:
Utilizes a customizable moving average (MA Type) with options like SMA, EMA, SMMA, WMA, VWMA, TEMA, DEMA, LSMA, HMA, or ALMA to smooth price action.
Calculates a dynamic range based on the highest high over a specified period (Length), adjusted by multipliers (Multiplier Alpha and Multiplier Beta).
Signal Generation:
The indicator assesses price relative to both the moving average and the calculated range (Average Range or Lookback Alpha and Beta).
Scores are computed to determine if the price action suggests a long (bullish) or short (bearish) trend via crossover signals from these scores.
Visual Indicators:
Candlesticks: The color changes based on the trend direction; greenish for long conditions and purplish for short conditions, enhancing visual trend recognition.
Moving Average Line: Plotted in semi-transparent color matching the trend, with a bold line for clarity.
Range Indicator: A line representing the average range, filled with semi-transparent color to show potential support or resistance levels.
Customization:
Users can toggle between using the average range or specific lookback periods for trend signals via the Use Average Range option.
Adjustable parameters for the moving average and range calculations allow for fine-tuning to various market instruments or trading styles.
Inputs:
Range Settings:
Length: Defines the period for calculating the highest high.
Lookback Alpha & Lookback Beta: Different lookback periods for range calculation.
Multiplier Alpha & Multiplier Beta: Multipliers for adjusting the range.
Use Average Range: Switch to use average or specific range for signals.
Source: Pick the preferred source for the range calculations.
Moving Average Settings:
Type: Choice of moving average type.
Length: Length of the moving average.
Source: The price source for the moving average calculation (default is close price).
Alert Options:
MQ - Supertrend Long for Long trades (Buy) when the Long Condition is met.
MQ - Supertrend Short for Short trades (Sell) when the Short Condition is met.
Note: This indicator is best used alongside other analysis tools to confirm trends and signals. Always consider the broader market context.
MA Trend DashboardMA Trend Dashboard - Features
The MA Trend Dashboard is a versatile and user-friendly indicator designed to provide a comprehensive overview of market trends across multiple timeframes using moving averages (MAs). Here's what this script offers:
1. Dashboard Display
A compact and visually appealing dashboard is overlaid on the chart.
The dashboard displays the trend direction and deviation percentages for 30-minute, 1-hour, and 4-hour timeframes.
Users can position the dashboard in different locations (Top Right, Middle Right, or Bottom Right) and customize the text size (Tiny, Small, Normal).
2. Multi-Timeframe Trend Analysis
The script uses the concept of Multi-Timeframe (MTF) analysis to assess trends across:
30-minute (30m)
1-hour (1h)
4-hour (4h)
Each timeframe's trend is evaluated using the selected moving average method.
3. Customizable Moving Average Methods
Users can choose from various moving average calculation methods:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
SMMA (Smoothed Moving Average or RMA)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
This flexibility allows for tailored trend analysis based on the user's preferred methodology.
4. Visual Trend Indicators
Clear visual cues indicate the trend direction for each timeframe:
↑ (Up): Bullish trend.
↓ (Down): Bearish trend.
↘ (Weak Up): Mild bullishness.
↗ (Weak Down): Mild bearishness.
The background color of each cell dynamically changes based on the trend:
Green: Uptrend.
Red: Downtrend.
5. Deviation Percentage
The dashboard includes the percentage difference between the current price and the moving average for each timeframe.
Positive percentages are highlighted in green, and negative percentages in red.
6. Customization Options
Text Color: Allows users to adjust the color of the text displayed in the dashboard.
MA Length: Users can set the period for the moving averages (default is 50).
7. Dynamic Requests
Utilizes TradingView's dynamic_requests feature to ensure accurate real-time data across different timeframes without cluttering the chart.
Usage
This indicator is ideal for traders who want a quick and reliable snapshot of market trends across multiple timeframes. It is particularly suited for intraday and swing trading strategies, offering insights into price momentum and potential reversals.
Dynamic Display for Max/Min MA Types with Fake-Out FilterDynamic Moving Average Max/Min Indicator with Step Line Break
**** select the setting to STEP LINE BREAK****
This indicator provides a powerful way to identify dynamic entry and stop-loss levels for both long and short trades. It calculates the maximum and minimum values of a selected moving average (MA) over a specified lookback period, adapting dynamically to market conditions. It features options for various MA types, including SMA, EMA, HMA, RMA, and DEMA, to suit different trading strategies and styles.
How It Works
1. Moving Average Selection: Choose the type of moving average (SMA, EMA, HMA, RMA, or DEMA) and its period (e.g., HMA 13).
2. Max/Min Calculation: The indicator calculates the highest and lowest values of the selected moving average over a specified lookback period (e.g., 5 candles).
3. Dynamic Plotting:
• Bullish Market: When the price breaks the Max MA level, the Min level is plotted, trailing upward as a potential stop-loss for long trades.
• Bearish Market: When the price breaks the Min MA level, the Max level is plotted, trailing downward as a potential stop-loss for short trades.
4. Fake-Out Filter: If a candle breaks the Max/Min level but closes within the range (indicating a fake-out), the plots do not switch. This can cause repainting during volatile conditions, so use caution in high-wick markets.
Features
• Customizable Inputs: Adjust MA type, period, lookback, and timeframe to suit your trading strategy.
• Multi-Timeframe Flexibility: Works on all timeframes, from micro-scalping on the 1-minute chart to swing trading on higher timeframes.
• Trend Confirmation: Provides clear indications of when to enter or exit based on dynamic levels.
• Risk Management: Highlights stop-loss levels that trail the trend, helping to lock in profits or limit losses.
Advantages
1. Clear Entry/Exit Points: Provides actionable signals for both long and short trades, with defined stop-loss locations.
2. Customizable for Any Style: Tailor the indicator to your product, timeframe, and trading approach (scalping or swing trading).
3. Trend-Focused Guidance: Helps avoid counter-trend trades by showing the dominant trend direction.
4. Adaptive to Market Conditions: The dynamic nature of the indicator allows it to respond to both trending and consolidating markets.
Limitations
1. Repainting During Fake-Outs: The indicator can repaint during volatile periods with long wicks, as it filters for fake-out candles. This may create noise in certain market conditions.
2. Optimization Required: The ideal settings for MA type, period, and lookback are dependent on the market profile and need to be fine-tuned by the trader.
3. Less Effective in Consolidation: In sideways or choppy markets, the indicator may produce less reliable signals unless adjusted for lower sensitivity.
Trading Tips
• Use this indicator to focus on trending markets, avoiding trades against the prevailing trend. For example, during an uptrend, only take long trades and avoid shorts.
• Consider having two configurations: one for trending markets and one for consolidating markets, switching between them as needed.
• Pair this indicator with volume analysis, price action, or other complementary tools to increase accuracy and reduce noise.
This indicator is designed to be both an entry and risk management tool, enabling traders to make informed decisions while keeping risks in check.
ANIL's OHCL, VWAP and EMA CrossPrevious Week High and Low:
This part calculates the previous week's high and low values and plots them as continuous blue lines. The plot.style_line ensures the lines are drawn continuously.
Previous Day Open, High, Low, Close:
The script uses request.security to get the previous day's open, high, low, and close values. These are plotted as continuous lines in different colors:
Open: Green
High: Red
Low: Orange
Close: Purple
VWAP (Volume Weighted Average Price):
The VWAP is calculated using ta.vwap(close) and plotted with a thick black line.
Exponential Moving Averages (EMAs):
The script calculates two EMAs: one with a 9-period (fast) and one with a 21-period (slow).
The EMAs are plotted as continuous lines:
Fast EMA: Blue
Slow EMA: Red
EMA Cross:
The script checks for EMA crossovers and crossunders:
A crossover (fast EMA crossing above slow EMA) triggers a buy signal (green label below the bar).
A crossunder (fast EMA crossing below slow EMA) triggers a sell signal (red label above the bar).
Customization:
You can adjust the fastLength and slowLength variables to change the period of the EMAs.
You can modify the line colors and line thickness to match your preferred style.
The buy and sell signals can be customized further with different shapes or additional conditions for signal generation.
This script provides a comprehensive and visually distinct indicator with the previous week's and day's levels, VWAP, and EMA crossover signals.
Stochastics Oscillator with Buy/Sell Indicator [iSTAGs]iSTAGs "Stochastics Oscillator" with Buy/Sell Indicator
Overview
The Stochastics Oscillator is a versatile trading indicator designed to provide comprehensive insights into market momentum and potential price reversals. With its multi-layered approach, it incorporates a blend of oscillators, smoothed averages, and relative strength measures to deliver actionable trading signals.
Disclaimer
This indicator is provided for study purposes only . While it may assist in identifying potential buy and sell opportunities, please note:
1. False Signals: The buy/sell indicators may generate false signals. Always validate signals using additional analysis or tools.
2. Trading Strategies: Use appropriate exit points and stop-loss levels as part of your overall trading strategy.
3. No Guarantees: Do not rely solely on this indicator for trading decisions. Market conditions may change, and no indicator guarantees accurate results.
4. Strategy Testing: The strategy associated with this indicator is not tested, and backtesting features are not available at this time.
Key Features
1. Stochastics Oscillator
• Combines the smoothed ranges of price movement to identify overbought and oversold conditions.
• Inbuilt signal lines helps pinpoint potential crossovers for trend reversals.
2. Zones Highlighting
• Clearly visualized zones for:
o Overbought (70–100): Caution for potential reversals.
o Bullish (0–40): Positive momentum.
o Bearish (0 to -40): Negative momentum.
o Oversold (-70 to -100): Potential buying opportunities.
3. Buy and Sell Signals
• Primary Buy/Sell Indicator: Highlighted directly on the chart for ease of use.
• Potential Buy/Sell Signals: Secondary indicators based on advanced crossover conditions that can generate early signals.
4. RSI Integration
• Realtime RSI value display for an additional layer of confirmation.
• Color-coded RSI values to easily interpret market strength:
o Red: Overbought (>80)
o Orange: Strong momentum (70–80)
o White: Neutral (30–70)
o Blue: Weak momentum (20–30)
o Green: Oversold (<20)
5. Limited Customizable Visuals
o Clean and color-coded plots and fills make it intuitive to identify trends and trading opportunities at a glance.
How to Use
1. Trading Signals:
• Use buy/sell shapes and flags for identifying potential entry and exit points.
• Combine primary buy/sell indicator and secondary buy/sell signals for higher confidence.
2. Trend Confirmation:
• Monitor the oscillator and signal crossovers alongside zone fills to gauge market direction.
3. RSI Analysis:
• Keep an eye on the RSI value and its color coding for confirmation of overbought or oversold conditions.
Settings
• Enable/Disable Features: Customize the visibility of Buy/Sell indicators, Potential Signals, and RSI display.
• Editable Zones: Adjust zone colors and ranges to suit your trading strategy.
Conclusion
The Stochastics Oscillator is a powerful tool for traders seeking to enhance their technical analysis. Its layered approach provides clarity, precision, and adaptability for a wide range of trading strategies, whether you're a scalper, swing trader, or long-term investor.
________________________________________
Developed by iSTAGs
________________________________________
Happy Trading! 🎯
Stock Scanner - 38 AssetsPullback Scanner and Trading Strategy:
The Scanner's Purpose:
This tool helps identify stocks and futures from a set-list that are in a strong uptrend (above 200 SMA) but experiencing a temporary pullback (RSI below 38), creating potential buying opportunities.
Load 38 Favourite Stocks. They need to be bullish ie: Trading usually above 200 SMA. A drop down switch lets you choose which group. You can find suitable stocks using the filter at FINVIZ:
use on 4hr Timeframes and Above
You must use this on at least the 4hr timeframe, otherwise the 200SMA is not truly placed correctly and a valid trade depends upon the price action being ABOVE the 200SMA.
finviz.com
Key Components:
200 Simple Moving Average (SMA)
Acts as a trend filter
Price above 200 SMA indicates a long-term uptrend
Helps avoid trading against the main trend
Relative Strength Index (RSI)
Set to 38 as the oversold threshold
Identifies temporary weakness in strong trends
Acts as the pullback confirmation. You could add an RSI indicator to the chart for monitoring.
Visual Signals:
Green row: Indicates both conditions are met (price > 200 SMA and RSI < 38)
Yellow triangle: Appears at price bottom when RSI drops below 38
Yellow 200 SMA line: Shows the trend direction and potential support
Trade Setup:
First Requirement: Price must be trading above the 200 SMA
Second Requirement: Wait for RSI to drop below 38
Entry Trigger: When both conditions align (row turns green)
Risk Management: Set stop loss below recent swing low
Exit: When RSI moves above 53 or price crosses below 200 SMA
The scanner monitors multiple instruments simultaneously, allowing traders to identify setups across different markets without manually checking each chart. When a row turns green, that instrument deserves closer attention for potential trade setup.
Example Trade:
Looking at the chart of Apple (AAPL), the yellow triangles show where RSI dropped below 38 while price remained above the rising 200 SMA, providing multiple long entry opportunities in an established uptrend. Actually Apple may be better with RSI below 26.
If you use ctrader, I have made a cbot version of this to automatically take trades on the ctrader platform: eg: XAUUSD i.postimg.cc
GocchiMulti-Indicator: RSI & Moving Averages
This versatile TradingView indicator combines two essential tools for technical analysis—Relative Strength Index (RSI) and Moving Averages (MAs)—into one comprehensive solution. It is designed for traders seeking flexibility, customization, and efficiency in their charting experience.
Features:
Relative Strength Index (RSI):
Customizable RSI length.
Adjustable overbought and oversold levels.
Selectable source input (e.g., close, open, high, low).
Visual levels for overbought and oversold zones, aiding in quick trend and momentum identification.
Three Moving Averages:
Three independently customizable moving averages.
Options for Simple Moving Average (SMA) or Exponential Moving Average (EMA) for each line.
Adjustable lengths for short-, medium-, and long-term trend tracking.
Visual Enhancements:
Clear, color-coded plots for RSI and each moving average.
Overbought and oversold zones are highlighted with horizontal dotted lines.
Alerts:
Get notified when RSI crosses above the overbought level or below the oversold level.
Alerts help traders stay on top of potential market reversals or breakout opportunities.
Use Cases:
RSI Analysis: Spot overbought or oversold conditions to identify potential reversals.
Trend Following: Use moving averages to confirm trends or identify crossovers for potential entry and exit points.
Custom Strategies: Tailor the settings to fit specific trading styles, such as scalping, swing trading, or long-term investing.
This all-in-one indicator streamlines your analysis by reducing the need for multiple overlays, making your charts cleaner and more actionable. Whether you're a novice or an experienced trader, this tool provides the flexibility and insights you need to succeed in any market condition.
BBSS+This Pine Script implements a custom indicator overlaying Bollinger Bands with additional features for trend analysis using Exponential Moving Averages (EMAs). Here's a breakdown of its functionality:
Bollinger Bands:
The script calculates the Bollinger Bands using a 20-period Simple Moving Average (SMA) as the basis and a multiplier of 2 for the standard deviation.
It plots the Upper Band and Lower Band in red.
EMA Calculations:
Three EMAs are calculated for the close price with periods of 5, 10, and 40.
The EMAs are plotted in green (5-period), cyan (10-period), and orange (40-period) to distinguish between them.
Trend Detection:
The script determines bullish or bearish EMA alignments:
Bullish Order: EMA 5 > EMA 10 > EMA 40.
Bearish Order: EMA 5 < EMA 10 < EMA 40.
Entry Signals:
Long Entry: Triggered when:
The close price crosses above the Upper Bollinger Band.
The Upper Band is above its 5-period SMA (indicating momentum).
The EMAs are in a bullish order.
Short Entry: Triggered when:
The close price crosses below the Lower Bollinger Band.
The Lower Band is below its 5-period SMA.
The EMAs are in a bearish order.
Trend State Tracking:
A variable tracks whether the market is in a Long or Short trend based on conditions:
A Long trend continues unless conditions for a Short Entry are met or the Upper Band dips below its average.
A Short trend continues unless conditions for a Long Entry are met or the Lower Band rises above its average.
Visual Aids:
Signal Shapes:
Triangle-up shapes indicate Long Entry points below the bar.
Triangle-down shapes indicate Short Entry points above the bar.
Bar Colors:
Green bars indicate a Long trend.
Red bars indicate a Short trend.
This script combines Bollinger Bands with EMA crossovers to generate entry signals and visualize market trends, making it a versatile tool for identifying momentum and trend reversals.
Dynamic Market ScannerDynamic Market Scanner is a powerful tool for analyzing financial markets, combining a variety of indicators to provide clear and understandable signals.
Key Features:
- Signal Generation:
The main signals "Buy", "Sell", and "Hold" are formed based on the analysis of indicators:
- MACD
- RSI
- SMA
- EMA
- WMA
- Hull MA
Additional Analytical Tools:
- ATR is used to assess volatility and helps to understand the risk of the current market situation.
- SMA Ichimoku does not generate signals but is used to assess their accuracy.
- If the price is above the SMA, "Buy" signals are more likely, as this confirms the strength of the upward movement.
- If the price is below the SMA, "Buy" signals require additional confirmations.
Dashboard:
Displays the current price position relative to the indicators, helping the trader understand how strong or weak the current signals are.
Advantages of Using:
1. Signal Filtering:
The price position relative to the SMA Ichimoku helps to assess the likelihood of successful trades.
2. Volatility Analysis:
ATR provides additional information about risks and market fluctuations.
3. Comprehensive Approach:
Signal generation is based on a combination of key indicators, offering a multifaceted view of the market.
Explanation of Percent Calculation in the Table:
- The table shows the values of indicators such as MACD, ATR, EMA, SMA, WMA, and Hull MA in percentages. Percentages are calculated based on the current value of the indicator relative to its maximum and minimum.
- Percentages are displayed for each indicator, allowing traders to assess market conditions based on their current values.
Dynamic Market Scanner will become a reliable assistant in your technical analysis toolkit, providing a comprehensive overview of market conditions and helping to make informed trading decisions.
HMA Buy Sell Signals - Profit ManagerNote : Settings should be adjusted according to the selected time frame. Try to find the best setting according to the profitability rate
Overall Functionality
This script combines several trading tools to create a comprehensive system for trend analysis, trade execution, and performance tracking. Users can identify market trends using specific moving averages and RSI indicators while managing profit and loss levels automatically.
Trend Detection and Trade Signals
Hull Moving Averages (HMA):
Two HMAs (a faster one and a slower one) are used to determine the market trend.
A buy signal is generated when the faster HMA crosses above the slower HMA.
Conversely, a sell signal is triggered when the faster HMA crosses below the slower one.
Visual Feedback:
Trend lines on the chart change color to reflect the trend direction (e.g., green for upward trends and red for downward trends).
Trade Levels and Management
Entry, Take-Profit, and Stop-Loss Levels:
When the trend shifts upwards, the script calculates entry, take-profit, and stop-loss levels based on the opening price.
Similarly, for downward trends, these levels are determined for short trades.
Commission Tracking:
Each trade includes a commission cost, which is factored into net profit and loss calculations.
Dynamic Labels:
Entry, take-profit, and stop-loss levels are visually marked on the chart for easier tracking.
Performance Tracking
Profit and Loss Tracking:
The script keeps a running total of profits, losses, and commissions for both long and short trades.
It also calculates the net profit after all costs are considered.
Performance Table:
A table is displayed on the chart summarizing:
The number of trades.
Total profit and loss for long and short positions.
Commission costs.
Net profit.
Fractal Support and Resistance
Dynamic Lines:
The script identifies the most recent significant highs and lows using fractals.
It draws support and resistance lines that automatically update as new fractals form.
Simplified Visuals:
The chart always shows the last two support and resistance lines, keeping the visualization clean and focused.
RSI-Based Signals
Overbought and Oversold Levels:
RSI is used to identify overbought (above 80) and oversold (below 20) conditions.
The script generates buy signals at oversold levels and sell signals at overbought levels.
Chart Indicators:
Arrows and labels appear on the chart to highlight these RSI-based opportunities.
Customization
The script allows users to customize key parameters such as:
Moving average lengths for trend detection.
Take-profit and stop-loss percentages.
Timeframes for backtesting.
Starting capital and commission rates.
Conclusion
This script is a versatile tool for traders, combining trend detection, automated trade management, and visual feedback. It simplifies decision-making by providing clear signals and tracking performance metrics, making it suitable for both beginners and experienced traders.
* The most recently drawn fractals represent potential support and resistance levels. If the price aligns with these levels at the time of entering a trade, it may indicate a likelihood of reversal. In such cases, it’s advisable to either avoid entering the trade altogether or proceed with increased caution.
Price Action Health CheckThis is a price action indicator that measures market health by comparing EMAs, adapting automatically to different timeframes (Weekly/Daily more reliable) and providing context-aware health status.
Key features:
Automatically adjusts EMA periods based on timeframe
Measures price action health through EMA separation and historical context
Provides visual health status with clear improvement/deterioration signals
Projects a 13-period trend line for directional context
Trading applications:
Identify shifts in market health before major trend changes
Validate trend strength by comparing current readings to historical averages
Time entries/exits based on health status transitions
Filter trades using timeframe-specific health readings
I like to use it to keep SPX in check before deciding the market is going down.
Note: For optimal analysis, use primarily on Weekly and Daily timeframes where price action patterns are more significant.
Snipe 1-Minute IntradayPurpose
This script demonstrates a simple intraday approach using RSI, EMAs, VWAP, and an optional volume filter. It plots visual buy (bullish) and sell (bearish) signals on the chart under certain conditions. You can use it as a starting point to explore or develop your own intraday strategies.
Key Features
1. VWAP (Volume Weighted Average Price)
Plots the built-in VWAP for additional context on intraday price action.
2. EMA Crossover
Uses two EMAs (fast and slow). A bullish signal triggers when the fast EMA is above the slow EMA, and a bearish signal triggers when the fast EMA is below the slow EMA.
3. RSI Momentum Filter
An RSI reading above 50 indicates bullish momentum; below 50 indicates bearish momentum.
4. Volume Filter (Optional)
Compares the current bar’s volume against the average volume (over a user-defined period). When enabled, signals only appear if the current volume exceeds the average.
5. Time Window (Optional)
Allows you to define a specific time window (e.g., the first hour of trading) for valid signals. You can enable or disable this filter and set your preferred time zone.
How the Signals Are Generated
• Bullish Signal
o Occurs when:
1. Price is above VWAP.
2. Fast EMA is above Slow EMA.
3. RSI is above 50.
4. (Optional) Current volume exceeds the average volume if the volume filter is enabled.
5. (Optional) The chart’s timestamp is within the specified session if the time filter is enabled.
A green triangle is plotted below the bar, and an optional background highlight is shown.
• Bearish Signal
Occurs when the conditions are inverted (price below VWAP, fast EMA below slow EMA, RSI below 50, volume filter and time window—if enabled—are satisfied).
A red triangle is plotted above the bar, and an optional background highlight is shown.
How to Use
1. Load on a 1-Minute Chart (Recommended)
This script is intended for intraday timeframes (specifically 1-minute). Feel free to experiment with other timeframes.
2. Adjust Inputs
You can modify the RSI length, EMA lengths, and volume lookback to suit your preferences or trading style.
If you prefer signals outside the default session hours, turn off “Use Time Filter for Signals?” or change the session window and time zone.
3. Enable or Disable Volume Filter
Turn this on if you only want signals during higher-than-average volume bars.
4. Combine with Other Analysis
This script can be used as a visual tool; however, it is not a complete trading system by itself. Consider additional technical or fundamental analysis to validate your trading decisions.
5. Risk Management
Always practice sound risk management. Setting appropriate stop-losses or using position sizing techniques can help manage potential losses.
Important Notes and Disclaimers
• Educational Only: This script is for demonstration and educational purposes and does not guarantee future results.
• No Financial Advice: Nothing here should be construed as financial or investment advice. Always do your own research and consider consulting a qualified financial professional.
• Test Before Using Live: If you plan to incorporate this script into a strategy, backtest it on historical data and consider forward-testing on a demo account.
• License: This code is subject to the Mozilla Public License 2.0.
MA Distance with StdDev BandsThis Pine Script indicator calculates and visualizes the percentage deviation from a moving average with dynamic standard deviation bands. Here's what it does:
Key Features
Calculates the percentage difference between current price and a user-selected moving average (SMA, EMA, or VWMA)
Computes standard deviation bands using the entire historical dataset
Displays dynamic color changes based on price movement and band positions
Visual Components
Main line: Shows percentage deviation from the moving average
Dashed bands: Upper and lower standard deviation boundaries
Zero line: Reference for neutral position
Color signals:
Red: Price outside standard deviation bands
Green: Above MA and rising
Orange: Below MA but rising
Blue: Other conditions
Special Forces Supertrend | JeffreyTimmermansSpecial Forces Supertrend Indicator
The "Special Forces Supertrend" is a cutting-edge trading indicator designed by Jeffrey Timmermans to provide traders with actionable insights into market trends. It combines advanced moving averages with dynamic range calculations to adapt to changing market conditions, ensuring clear and reliable trend identification.
Core Features
Trend Identification:
Integrates a customizable moving average (MA) with multiple types such as SMA, EMA, SMMA, WMA, VWMA, TEMA, DEMA, LSMA, HMA, or ALMA.
Employs a dynamic range calculation using the highest high over a user-defined period, modified by adjustable multipliers.
Offers the option to switch between average range and specific lookback periods for increased adaptability.
Signal Generation:
Scores are calculated based on price action relative to the moving average and dynamic range.
Generates bullish (long) and bearish (short) crossover signals using these scores.
Alerts for long and short conditions are integrated, ensuring traders never miss an opportunity.
Visual Indicators:
Candlestick Coloring: Trends are visually distinguished—greenish hues for bullish conditions and purplish hues for bearish conditions.
Moving Average Line: A semi-transparent, color-coded line dynamically adjusts to match the trend direction for improved clarity.
Range Visualization: A semi-transparent shaded area indicates potential support or resistance levels based on the average range calculation.
Customization Options
Range Settings:
Length: Determines the period for calculating the highest high.
Lookback Alpha & Beta: Enables varied lookback periods for range computation.
Multiplier Alpha & Beta: Fine-tune the range sensitivity using these multipliers.
Use Average Range: Toggle between average range or specific lookback periods for signal generation.
Source Input: Select a data source (e.g., close price) to adapt the range calculation for highly volatile assets.
Moving Average Settings:
Type MA: Choose from multiple moving average methods to suit different trading styles.
Length: Define the length for the moving average calculation.
Source: Specify the price source (default is close price).
Color Customization: Choose personalized colors for bullish and bearish trends to align with your trading environment.
Alerts:
Supertrend Long Alert: Notifies when a bullish crossover is detected.
Supertrend Short Alert: Notifies when a bearish crossover is detected.
How to Use
The Special Forces Supertrend indicator is a versatile tool that excels in identifying and confirming trends.
For optimal performance:
Use it in combination with other indicators or analysis methods to validate signals.
Adjust its parameters to align with specific market instruments or your trading strategy.
This indicator is tailored to meet the needs of both novice and experienced traders, providing flexibility, reliability, and clear visual cues for navigating complex market dynamics.
-Jeffrey
13W High/Low/Fibs w/100D SMAIndicator: 13 Week High/100 Day SMA/13 Week Low with 0.382, 0.5, and 0.618 Fibonacci Levels
Description:
This indicator for TradingView, written in Pine Script version 6
It displays a table on the chart that provides a visual analysis of key price levels based on a 13-week timeframe and a 100-day Simple Moving Average (SMA).
Core Calculations:
100-Day SMA: The indicator calculates the 100-day Simple Moving Average of the closing price using daily data. The SMA is a widely used trend-following indicator.
13-Week High and Low: The indicator calculates the highest high and lowest low over the past 13 weeks using weekly data. This provides a longer-term perspective on the price range.
13-Week Fibonacci Retracement Levels: Based on the calculated 13-week high and low, the script determines the 0.382, 0.5, and 0.618 Fibonacci retracement levels.
The table includes the following information:
13W High: The highest price reached over the last 13 weeks.
100D SMA: The calculated 100-day Simple Moving Average value.
13W Low: The lowest price reached over the last 13 weeks.
Fibonacci Levels: The 0.382, 0.5, and 0.618 Fibonacci retracement levels, labeled as "↗," "|," and "↘," respectively.
SMA Ichimoku CrossesSMA Ichimoku Crosses displays the moving average between the last two crossings of the Tenkan-Sen and Kijun-Sen lines from Ichimoku Kinko Hyo. The line is calculated based on the closing prices at the time of the crossings and is added directly to the price chart, making it a convenient tool for trend analysis and identifying entry and exit points.
Features:
- Automatic calculation of Tenkan-Sen and Kijun-Sen lines.
- Fixation of closing prices at the point of line crossings.
- Calculation of the average price between the last two crossings.
- Display of a pink line on the price chart for convenient analysis.
How to use:
- Identify potential trend reversal zones by observing the line’s position relative to the price.
- Use the line as a dynamic level of support or resistance.
- Include the indicator in your Ichimoku strategies to enhance the accuracy of signals.
Suitable for:
- Traders using Ichimoku in their trading.
- Trend analysis enthusiasts.
- Those looking for additional filters for entry and exit points.
Support Resistance Major/Minor [TradingFinder] Market Structure🔵 Introduction
Support and resistance levels are key concepts in technical analysis, serving as critical points where prices pause or reverse due to the interaction of supply and demand. These foundational elements in price action and classical technical analysis assist traders in understanding market behavior and making better trading decisions.
Support levels are zones where demand is strong enough to prevent further price declines, while resistance levels act as barriers that hinder price increases.
Support and resistance levels are divided into two main types: static and dynamic. Static levels are fixed horizontal lines on charts, formed based on historical price points, and are crucial due to repeated price reactions in these areas.
Dynamic levels, on the other hand, move with market trends and are often identified using tools like moving averages and trendlines. These levels are particularly useful for analyzing dynamic trends and identifying potential reversal points in financial markets.
The importance of support and resistance in technical analysis lies in their ability to pinpoint price reversal or continuation points. Professional traders use these levels to determine optimal entry and exit points and combine them with tools such as Fibonacci retracements or moving averages for precise strategies.
Detailed analysis of price behavior at these levels provides insights into trend strength and the likelihood of price breaks or reversals. By understanding these concepts, technical analysts can forecast future price movements and optimize their trading decisions using tools such as indicators and price action. Support and resistance levels, as a cornerstone of technical analysis, form the foundation for many trading strategies.
🔵 How to Use
The Static Support and Resistance Indicator is a vital tool for identifying significant price zones in financial markets. It automatically detects major and minor support and resistance levels in both short-term and long-term intervals, enabling traders to analyze price behavior accurately and develop optimal entry and exit strategies.
🟣 Major Long-Term Support and Resistance
Major Long-Term Support : The lowest price points recorded over long-term intervals that prevent further declines.
Major Long-Term Resistance : The highest price points in long-term intervals that limit further price increases.
🟣 Minor Long-Term Support and Resistance
Minor Long-Term Support : Temporary halts in price decline within a downtrend over long-term intervals.
Minor Long-Term Resistance : Short-term zones within long-term intervals where prices react negatively in an uptrend.
🟣 Major Short-Term Support and Resistance
Major Short-Term Support : The lowest price points in short-term intervals that act as barriers against sharp price drops.
Major Short-Term Resistance : The highest points in short-term intervals that prevent further price surges.
🟣 Minor Short-Term Support and Resistance
Minor Short-Term Support : Temporary halts in price decline within short-term downtrends.
Minor Short-Term Resistance : Zones where price reacts quickly and reverses in short-term uptrends.
🔵 Settings
Long Term S&R Pivot Period : Defines the interval for identifying long-term support and resistance levels (default: 21).
Short Term S&R Pivot Period : Defines the interval for identifying short-term support and resistance levels (default: 5).
🟣 Long-Term Lines
Major Line Display : Enable/disable major long-term lines.
Minor Line Display : Enable/disable minor long-term lines.
Major Line Colors : Green for support, red for resistance (long-term major levels).
Minor Line Colors : Light green for support, light red for resistance (long-term minor levels).
Major Line Style : Choose between solid, dotted, or dashed lines for major long-term levels.
Minor Line Style : Choose between solid, dotted, or dashed lines for minor long-term levels.
Major Line Width : Adjust the thickness of major long-term lines.
Minor Line Width : Adjust the thickness of minor long-term lines.
🟣 Short-Term Lines
Major Line Display : Enable/disable major short-term lines.
Minor Line Display : Enable/disable minor short-term lines.
Major Line Colors : Gray-green for support, gray-red for resistance (short-term major levels).
Minor Line Colors : Dark green for support, dark red for resistance (short-term minor levels).
Major Line Style : Choose between solid, dotted, or dashed lines for major short-term levels.
Minor Line Style : Choose between solid, dotted, or dashed lines for minor short-term levels.
Major Line Width : Adjust the thickness of major short-term lines.
Minor Line Width : Adjust the thickness of minor short-term lines.
🔵 Conclusion
Static support and resistance levels are among the most critical tools in technical analysis, helping traders identify key reversal or continuation points.
This indicator simplifies and enhances the analysis process by automatically detecting major and minor levels in both short-term and long-term intervals. It allows traders to customize settings to suit their trading strategies and analyze different market levels effectively.
Using this indicator improves price action analysis, enhances market understanding, and identifies trading opportunities. Applicable to all trading styles, from day trading to long-term investing, it is an essential tool for technical analysis.
Combining this indicator with other tools like trendlines, Fibonacci retracements, and moving averages enables comprehensive analysis and allows traders to navigate financial markets with greater confidence.
DR Oscillator 8 * Measures price deviation: Calculates the percentage difference between the closing price and a simple moving average.
* Defines upper and lower limits: User-defined upper and lower limits determine overbought and oversold conditions.
* Signal line: A simple moving average of the deviation is plotted as a signal line.
* Deviation smoothing (optional): The deviation can be smoothed using a moving average to create a smoother line.
* Additional signal line (optional): An additional signal line can be added for further analysis.
* Visual representation: The oscillator is plotted with different colors to indicate overbought, oversold, or neutral conditions.
* Background coloring: The background color changes based on the oscillator's value to provide visual cues for buy or sell signals.
In summary:
The DR Oscillator helps traders identify potential buying and selling opportunities by measuring the extent to which a security's price has deviated from its moving average. When the oscillator moves above the upper limit, it suggests that the asset may be overbought and due for a price correction. Conversely, when it moves below the lower limit, it may indicate an oversold condition and a potential buying opportunity.
However, it's important to note that the DR Oscillator is just one tool and should be used in conjunction with other technical indicators and fundamental analysis for more accurate trading decisions.
MACD Pseudo Super Smoother [MACDPSS]The MACD Pseudo Super Smoother (MACDPSS) is a variation of the classic Moving Average Convergence Divergence (MACD) indicator. It utilizes the Pseudo Super Smoother (PSS) filter, a Finite Impulse Response (FIR) filter, to smooth both the MACD line and the signal line, providing a potentially refined representation of momentum compared to the traditional MACD which typically uses Exponential Moving Averages (EMAs).
The PSS, inspired by the Super Smoother filter (an Infinite Impulse Response (IIR) filter), aims to reduce noise while minimizing lag. The MACDPSS leverages this FIR implementation to create a unique MACD variant. The core concept of MACD, which involves analyzing the relationship between two moving averages of different lengths to identify momentum shifts, remains intact.
Filter Types and Customization
The MACDPSS offers independent control over the smoothing applied to the MACD line and the signal line through two "Filter Style" inputs:
Oscillator MA Type: This setting determines the filter type used to calculate the fast and slow moving averages that form the basis of the MACD line.
Signal Line MA Type: This setting controls the filter type used to smooth the MACD line, generating the signal line.
Each of these settings allows a choice between two distinct PSS filter types:
Type 1: Provides a smoother output with a more gradual response, characterized by greater attenuation of high-frequency components.
Type 2: Exhibits increased reactivity, allowing for a faster response to shifts in momentum, but with a potential for overshoot.
This dual-filter approach provides flexibility in tailoring the indicator's responsiveness and smoothness to individual preferences and specific market conditions. The user can, for example, choose a smoother Type 1 filter for the MACD line and a more reactive Type 2 filter for the signal line, or vice-versa.
Calculations
The MACDPSS calculates the MACD line by subtracting the slow moving average from the fast moving average, both derived using the PSS filter with the selected "Oscillator MA Type." The signal line is then calculated by applying the PSS filter with the selected "Signal Line MA Type" to the MACD line. The histogram represents the difference between the MACD line and the signal line.
Interpretation
The interpretation of the MACDPSS is similar to the standard MACD. Crossovers between the MACD line and the signal line, the position of the MACD line relative to the zero line, and the slope and direction of the histogram are all used to gauge momentum and potential trend changes.
Disclaimer
The MACDPSS, while inspired by the Super Smoother, utilizes a distinct FIR approximation (the PSS). Therefore, its behavior will not perfectly mirror that of a MACD calculated using IIR filters. The PSS is designed to be a rough approximation. This indicator should be used in conjunction with other technical analysis tools, and users should be aware of the inherent differences between FIR and IIR filter characteristics when interpreting the indicator's signals. Like any moving average based indicator, the MACDPSS is a lagging indicator, although it tries to improve it. The novelty of this indicator comes from applying a unique FIR filter to a classic momentum oscillator in a configurable way.
Pseudo Super Smoother [PSS]The Pseudo Super Smoother (PSS) is a a Finite Impulse Response (FIR) filter. It provides a smoothed representation of the underlying data. This indicator can be considered a variation of a moving average, offering a unique approach to filtering price or other data series.
The PSS is inspired by the Super Smoother filter, known for its ability to reduce noise while maintaining a relatively low delay. However, the Super Smoother is an Infinite Impulse Response (IIR) filter. The PSS attempts to approximate some characteristics of the Super Smoother using an FIR design, which offers inherent stability.
The indicator offers two distinct filter types, selectable via the "Filter Style" input: Type 1 and Type 2 . Type 1 provides a smoother output with a more gradual response to changes in the input data. It is characterized by a greater attenuation of high-frequency components. Type 2 exhibits increased reactivity compared to Type 1 , allowing for a faster response to shifts in the underlying data trend, albeit with a potential overshoot. The choice between these two types will depend on the specific application and the preference for responsiveness versus smoothness.
The PSS calculates the FIR filter coefficients based on a decaying exponential function, adjusted according to the selected filter type and the user-defined period. The filter then applies these coefficients to a window of past data, effectively creating a weighted average that emphasizes more recent data points to varying degrees. The PSS uses a specific initialization technique that uses the first non-null data point to pre-fill the input window, which helps it start right away.
The PSS is an approximation of the Super Smoother filter using an FIR design. While it try's to emulate some of the Super Smoother's smoothing characteristics, users should be aware that the frequency response and overall behavior will differ due to it being a rough approximation. The PSS should be considered an experimental indicator and used in conjunction with other analysis techniques. This is, effectively, just another moving average, but its novelty lies in its attempt to bridge the gap between FIR and IIR filter designs for a specific smoothing goal.
EMA Crossover Strategy with 50 & 200 EMAs - Faisal AnwarThis indicator uses 50 and 200-day Exponential Moving Averages (EMAs) to identify significant trend directions and potential trading opportunities through golden crossovers and death crosses. It highlights the role of EMAs as dynamic support in uptrends and downtrends, enhancing trend-following strategies.
Detailed Explanation:
EMAs Used:
The strategy utilizes two key EMAs — the 50-day EMA and the 200-day EMA. The 50-day EMA is often seen as a medium-term trend indicator, while the 200-day EMA is regarded as a benchmark for the long-term market trend.
Golden Crossover:
This occurs when the 50-day EMA crosses above the 200-day EMA, traditionally considered a bullish signal indicating potential long positions.
Death Cross:
This event is marked by the 50-day EMA crossing below the 200-day EMA, typically viewed as a bearish signal suggesting potential short positions.
Trend Support Identification:
The script also identifies when the price is above the 50-day EMA during an uptrend (indicating ongoing support) and when the price is above the 200-day EMA during a downtrend, suggesting the EMA is acting as resistance turning into support.
Visual Tools:
The indicator plots these EMAs on the chart with distinct colors for easy differentiation and uses background color changes to visually indicate when these EMAs act as support. Buy and sell signals are clearly marked with shapes and text directly on the chart for actionable insights.
Usage Tips:
Trading Decisions:
This indicator is best used in markets with clear trends, where EMAs can effectively identify shifts in momentum and serve as reliable support or resistance levels.
Complementary Tools:
Consider combining this EMA strategy with other technical analysis tools like RSI or MACD for confirmation of signals to enhance the reliability of the trading signals.
Ideal for:
Traders looking for a visual tool to assist in identifying trend directions and optimal points for entering or exiting trades based on established technical analysis principles.