MA Ratio Weighted Trend System I [InvestorUnknown]The MA Ratio Weighted Trend System I combines slow and fast indicators to identify stable trends and capture potential market turning points. By dynamically adjusting the weight of fast indicators based on the Moving Average Ratio (MAR), the system aims to provide timely entry and exit signals while maintaining overall trend stability through slow indicators.
Slow and Fast Indicators with Dynamic Weighting
Slow Indicators: Designed for stable trend identification, these indicators maintain a constant weight in the overall signal calculation. They include:
DMI For Loop (Directional Movement Index)
CCI For Loop (Commodity Channel Index)
Aroon For Loop
Fast Indicators: Aim to detect rapid market changes and potential turning points. Their weights are dynamically adjusted based on the absolute value of the Moving Average Ratio (MAR). Fast indicators include:
ZLEMA For Loop (Zero-Lag Exponential Moving Average)
IIRF For Loop (Infinite Impulse Response Filter)
Dynamic Weighting Mechanism:
Moving Average Ratio (MAR) is calculated as the ratio of the price to its moving average, minus one (for simplicity and visualization).
Weight Calculation
Fast indicator weights are determined based on the absolute value of MAR, possibly with an offset to avoid scenarios where MAR follows rapid price reversals too closely:
// Function to calculate weights based on MAR
f_mar_weights(series float mar, simple int offset, simple float weight_thre) =>
o_mar = math.abs(mar )
float fast_weight = 0
float slow_weight = 1
if o_mar != 0
if weight_thre > 0
if o_mar <= weight_thre
fast_weight := o_mar
else
fast_weight := o_mar
Threshold-Based vs. Continuous Weighting:
Threshold-Based: Fast indicators receive weight only when the absolute MAR exceeds a user-defined threshold (weight_thre).
Continuous: By setting weight_thre to zero, fast indicators always receive some weight, though this may increase false signals.
Offset Mechanism
The offset parameter shifts the MAR used for weighting by a certain number of bars. This helps avoid situations where the MAR follows sudden price movements too closely, preventing fast indicators from failing to provide timely exit signals.
Signal Calculation
The final signal is a weighted average of the slow and fast indicators:
// Calculate Signal (as weighted average)
float sig = math.round(((DMI*slow_w) + (CCI*slow_w) + (Aroon*slow_w) + (ZLEMA*fast_w) + (IIRF*fast_w)) / (3*slow_w + 2*fast_w), 2)
Backtesting and Performance Metrics
Enables users to test the indicator's performance over historical data, comparing it to a buy-and-hold strategy.
Alerts
Set up alerts for when the signal crosses above or below the thresholds.
alertcondition(long_alert, "LONG (MAR Weighted Trend System)", "MAR Weighted Trend System flipped ⬆LONG⬆")
alertcondition(short_alert, "SHORT (MAR Weighted Trend System)", "MAR Weighted Trend System flipped ⬇Short⬇")
Important Notes
Customization: Due to the experimental nature of this indicator, users are strongly encouraged to adjust and calibrate the settings to align with their trading strategies and market conditions.
Default Settings Disclaimer: The default settings are not optimized or recommended for any specific use and serve only as placeholders for the indicator's publication.
Backtest Results Disclaimer: Historical backtest results are not indicative of future performance. Market conditions change, and past results do not guarantee future outcomes.
Wskaźniki i strategie
Silver Bullet ICT Strategy [TradingFinder] 10-11 AM NY Time +FVG🔵 Introduction
The ICT Silver Bullet trading strategy is a precise, time-based algorithmic approach that relies on Fair Value Gaps and Liquidity to identify high-probability trade setups. The strategy primarily focuses on the New York AM Session from 10:00 AM to 11:00 AM, leveraging heightened market activity within this critical window to capture short-term trading opportunities.
As an intraday strategy, it is most effective on lower timeframes, with ICT recommending a 15-minute chart or lower. While experienced traders often utilize 1-minute to 5-minute charts, beginners may find the 1-minute timeframe more manageable for applying this strategy.
This approach specifically targets quick trades, designed to take advantage of market movements within tight one-hour windows. By narrowing its focus, the Silver Bullet offers a streamlined and efficient method for traders to capitalize on liquidity shifts and price imbalances with precision.
In the fast-paced world of forex trading, the ability to identify market manipulation and false price movements is crucial for traders aiming to stay ahead of the curve. The Silver Bullet Indicator simplifies this process by integrating ICT principles such as liquidity traps, Order Blocks, and Fair Value Gaps (FVG).
These concepts form the foundation of a tool designed to mimic the strategies of institutional players, empowering traders to align their trades with the "smart money." By transforming complex market dynamics into actionable insights, the Silver Bullet Indicator provides a powerful framework for short-term trading success
Silver Bullet Bullish Setup :
Silver Bullet Bearish Setup :
🔵 How to Use
The Silver Bullet Indicator is a specialized tool that operates within the critical time windows of 9:00-10:00 and 10:00-11:00 in the forex market. Its design incorporates key principles from ICT (Inner Circle Trader) methodology, focusing on concepts such as liquidity traps, CISD Levels, Order Blocks, and Fair Value Gaps (FVG) to provide precise and actionable trade setups.
🟣 Bullish Setup
In a bullish setup, the indicator starts by marking the high and low of the session, serving as critical reference points for liquidity. A typical sequence involves a liquidity grab below the low, where the price manipulates retail traders into selling positions by breaching a key support level.
This movement is often orchestrated by smart money to accumulate buy orders. Following this liquidity grab, a market structure shift (MSS) occurs, signaled by the price breaking the CISD Level—a confirmation of bullish intent. The indicator then highlights an Order Block near the CISD Level, representing the zone where institutional buying is concentrated.
Additionally, it identifies a Fair Value Gap, which acts as a high-probability area for price retracement and trade entry. Traders can confidently take long positions when the price revisits these zones, targeting the next significant liquidity pool or resistance level.
Bullish Setup in CAPITALCOM:US100 :
🟣 Bearish Setup
Conversely, in a bearish setup, the price manipulates liquidity by creating a false breakout above the high of the session. This move entices retail traders into long positions, allowing institutional players to enter sell orders.
Once the price reverses direction and breaches the CISD Level to the downside, a change of character (CHOCH) becomes evident, confirming a bearish market structure. The indicator highlights an Order Block near this level, indicating the origin of the institutional sell orders, along with an associated FVG, which represents an imbalance zone likely to be revisited before the price continues downward.
By entering short positions when the price retraces to these levels, traders align their strategies with the anticipated continuation of bearish momentum, targeting nearby liquidity voids or support zones.
Bearish Setup in OANDA:XAUUSD :
🔵 Settings
Refine Order Block : Enables finer adjustments to Order Block levels for more accurate price responses.
Mitigation Level OB : Allows users to set specific reaction points within an Order Block, including: Proximal: Closest level to the current price. 50% OB: Midpoint of the Order Block. Distal: Farthest level from the current price.
FVG Filter : The Judas Swing indicator includes a filter for Fair Value Gap (FVG), allowing different filtering based on FVG width: FVG Filter Type: Can be set to "Very Aggressive," "Aggressive," "Defensive," or "Very Defensive." Higher defensiveness narrows the FVG width, focusing on narrower gaps.
Mitigation Level FVG : Like the Order Block, you can set price reaction levels for FVG with options such as Proximal, 50% OB, and Distal.
CISD : The Bar Back Check option enables traders to specify the number of past candles checked for identifying the CISD Level, enhancing CISD Level accuracy on the chart.
🔵 Conclusion
The Silver Bullet Indicator is a cutting-edge tool designed specifically for forex traders who aim to leverage market dynamics during critical liquidity windows. By focusing on the highly active 9:00-10:00 and 10:00-11:00 timeframes, the indicator simplifies complex market concepts such as liquidity traps, Order Blocks, Fair Value Gaps (FVG), and CISD Levels, transforming them into actionable insights.
What sets the Silver Bullet Indicator apart is its precision in detecting false breakouts and market structure shifts (MSS), enabling traders to align their strategies with institutional activity. The visual clarity of its signals, including color-coded zones and directional arrows, ensures that both novice and experienced traders can easily interpret and apply its findings in real-time.
By integrating ICT principles, the indicator empowers traders to identify high-probability entry and exit points, minimize risk, and optimize trade execution. Whether you are capturing short-term price movements or navigating complex market conditions, the Silver Bullet Indicator offers a robust framework to enhance your trading performance.
Ultimately, this tool is more than just an indicator; it is a strategic ally for traders who seek to decode the movements of smart money and capitalize on institutional strategies. With the Silver Bullet Indicator, traders can approach the market with greater confidence, precision, and profitability.
Bitcoin Cycle [BigBeluga]Bitcoin Cycle Indicator is designed exclusively for analyzing Bitcoin’s long-term market cycles, working only on the 1D BTC chart . This indicator provides an in-depth view of potential cycle tops and bottoms, assisting traders in identifying key phases in Bitcoin’s market evolution.
🔵 Key Features:
Heatmap Cycle Phases: The indicator colors each cycle from blue to red , reflecting Bitcoin’s market cycle progression. Cooler colors (blue/green) signal potential accumulation or early growth phases, while warmer colors (yellow/red) indicate maturation and potential top regions.
All-Time High (ATH) and Future ATH Projection: Tracks the current ATH in real-time, while applying a linear regression model to project a possible new ATH in the future. This projection aims to provide insights into the next major cycle peak for long-term strategy.
Dashboard Overview: Displays the current ATH, potential new ATH, and the percentage distance between them. This helps users assess how far the current price is from the projected target.
Top & Bottom Cycle Signals: Red down arrows mark significant price peaks, potentially indicating cycle tops. Up arrows, numbered sequentially (inside each cycle), denote possible bottom signals for strategic DCA (Dollar Cost Averaging) entries.
1D BTC Chart Only: Built solely for the 1D BTC timeframe. Switching to any other timeframe or asset will trigger a warning message: " BTC 1D Only ." This ensures accuracy in analyzing Bitcoin’s unique cyclical behavior.
🔵 When to Use:
Ideal for long-term Bitcoin investors and cycle analysts, the Bitcoin Cycle Indicator empowers users to:
Identify key accumulation and distribution phases.
Track Bitcoin’s cyclical highs and lows with visual heatmap cues.
Estimate future potential highs based on historical patterns.
Strategize long-term positions by monitoring cycle tops and possible accumulation zones.
By visualizing Bitcoin’s cycles with color-coded clarity and top/bottom markers, this indicator is an essential tool for any BTC analyst aiming to navigate market cycles effectively.
Heikin Ashi Processed Generalized Smooth StepDisclaimer : This is my attempt of smoothing and improving @tarasenko_ script. Find the originial author here :
Overview:
The Smooth Step Heikin Ashi Indicator is an enhanced version of the original script developed by tarasenko_. This advanced TradingView tool integrates Heikin Ashi candlestick calculations with a sophisticated smoothing oscillator, offering traders improved trend visualization and dynamic alert capabilities.
Key Enhancements:
Refined Heikin Ashi Calculations: The indicator computes smoothed Open, High, Low, and Close (OHLC) values with adjustable factors, allowing for more precise trend analysis. It also includes an optional second-level modified Heikin Ashi calculation for additional smoothing.
Advanced Smooth Step Oscillator: Utilizing Pascal’s triangle, this oscillator provides a visual representation of price momentum. Traders can configure the lookback period, equation order, and threshold to tailor the oscillator to specific trading strategies.
Enhanced Customization Options: Users can toggle between standard and Heikin Ashi candles, adjust smoothing parameters, and set display preferences to align with their analytical needs.
Noise Reduction: Smoothes out market fluctuations using customizable Heikin Ashi factors. Introduces a second-level smoothing option for even greater noise reduction, allowing traders to focus on the core trend.
Original Indicator :
Heikin Ashi processed version :
Visualization Features:
Heikin Ashi Candles: Displays candles with customizable colors and visibility settings, aiding in clearer trend identification.
Smooth Step Oscillator Line: Plots a line that reflects trend strength and momentum, assisting traders in making informed decisions.
Threshold Line: Provides a visual reference point to facilitate quick assessments of market conditions.
Conclusion:
Building upon tarasenko_'s original work, the Smooth Step Heikin Ashi Indicator delivers a robust tool for traders seeking refined market analysis. Its combination of advanced smoothing techniques and dynamic alert features makes it a valuable addition to any trader's toolkit.
Multi-Symbol Scanner: Advanced EMA-RSI-Volume Strategy# Multi-Symbol Tech Stock Scanner: Advanced EMA-RSI-Volume Strategy
## Technical Analysis Methodology
This scanner implements a sophisticated multi-timeframe analysis approach combining three key technical elements:
### 1. Dual EMA System (Primary Trend Detection)
- **Long-term EMA (820 periods)**: Acts as the primary trend identifier
- Chosen specifically for tech stocks' longer-term price waves
- Helps filter out minor market noise while capturing major trend changes
- 820 periods approximately represents 3.2 years of trading days
- **Medium-term EMA (320 periods)**: Serves as trend confirmation
- Approximately 1.25 years of trading data
- Provides earlier entry signals while maintaining trend reliability
- Helps identify potential trend reversals before the major trend shift
### 2. Volume Analysis Component
The script employs a dynamic volume analysis system:
- Calculates 20-period moving average of volume as baseline
- Requires 1.5x surge above baseline for signal confirmation
- Volume surge requirement helps filter out weak moves and potential false breakouts
- Different from standard volume indicators as it uses adaptive thresholds
### 3. RSI Momentum Filter
Implements a specialized RSI configuration:
- 14-period RSI with dynamic overbought/oversold levels
- Oversold threshold: 30 (customizable)
- Overbought threshold: 70 (customizable)
- Used as a confirmation tool rather than primary signal generator
## Signal Generation Logic
### Buy Signal Requirements
1. Price must cross above 820 EMA (PRIMARY CONDITION)
2. Current price must be above 320 EMA (CONFIRMATION)
3. RSI must be above 30 but below 70 (MOMENTUM CHECK)
4. Volume must be 1.5x above 20-period average (STRENGTH VALIDATION)
### Sell Signal Requirements
1. Price must cross below 820 EMA (PRIMARY CONDITION)
2. Current price must be below 320 EMA (CONFIRMATION)
3. RSI must be above 30 but below 70 (MOMENTUM CHECK)
4. Volume must be 1.5x above 20-period average (STRENGTH VALIDATION)
## Risk Management Integration
The script automatically calculates key risk levels based on volatility:
1. **Stop Loss Calculation**:
- Default: 2% below entry for buys
- Dynamically adjusted based on price point
- Can be modified through input parameters
2. **Take Profit Targets**:
- Primary target: 6% above entry (3:1 reward-risk ratio)
- Based on historical tech stock movement patterns
- Adjustable through input parameters
## Multi-Symbol Implementation
The scanner monitors 6 symbols simultaneously using:
- Separate security calls for each data point
- Optimized data requests to prevent overload
- Individual signal processing for each symbol
- Synchronized alert generation system
## Technical Implementation Details
1. **Data Processing**:
```
- Security data requests on 10-minute timeframe
- Individual EMA calculations per symbol
- Separate volume analysis threads
- RSI calculations with standard deviation normalization
```
2. **Signal Processing**:
```
- Cross-verification of all conditions
- Time-based signal validation
- Volume surge confirmation
- Trend alignment check
```
3. **Alert System**:
```
- Bar-close confirmation required
- Multi-condition validation
- Detailed price level inclusion
- Risk parameter integration
```
## Optimization Features
1. **Memory Usage**:
- Optimized security calls
- Efficient data structure
- Reduced redundant calculations
2. **Processing Efficiency**:
- Single-pass data analysis
- Combined indicator calculations
- Streamlined alert generation
## Practical Application
The system is designed for:
1. Swing Trading (primary use)
2. Position Trading (secondary use)
3. Technical Breakout Trading
Optimal timeframes:
- Primary: 4H charts
- Secondary: Daily charts
- Verification: 1H charts
## Default Configuration
The scanner is preset to monitor key tech stocks:
- TSLA: High-volatility tech leader
- NVDA: Semiconductor sector benchmark
- AVGO: Stable tech infrastructure
- TSM: Global chip manufacturer
- META: Social media sector leader
- AMZN: E-commerce/Cloud computing leader
Each symbol can be modified through input parameters.
## Version Information
- Current Version: 1.3
- Last Updated: November 2024
- Compatibility: TradingView Pro/Pro+/Premium
## Limitations & Considerations
- Limited to 6 symbols due to TradingView security request limits
- Requires consistent market volume for optimal performance
- Best suited for liquid stocks with significant daily volume
- May need parameter adjustments during extreme market conditions
Support, Resistance & OHLCUPDATE:
This Pine Script code is an indicator for TradingView that displays support, resistance, and OHLC (Open, High, Low, Close) data across various timeframes. The code is divided into two main sections: Support/Resistance and OHLC Data.
Support and Resistance:
Logic for Support and Resistance: The indicator draws support and resistance lines after 4 consecutive candles without forming new lows (for support) or new highs (for resistance). This means that a support or resistance level is created after 4 candles that don't set new extremes.
Support: When the last 3 candles have lower lows, and the current candle forms a higher low, the support level is set.
Resistance: When the last 3 candles have higher highs, and the current candle forms a lower high, the resistance level is set.
Drawing the Lines and Labels:
Once the support or resistance level is determined, a horizontal line is drawn that extends left and right from the candle.
Additionally, labels for support and resistance are shown if the corresponding settings are enabled. These labels appear at a distance from the line and display the current support or resistance value.
Deleting the Lines:
If the price falls below the support level or rises above the resistance level, the respective line is deleted. This means that the market has breached the support or resistance level, making the line invalid.
When the support or resistance line is breached, alerts can be triggered to notify the trader.
Alerts:
The script provides options to set alerts when a support or resistance line is created or broken. These alerts notify the trader when the price reaches an important level.
OHLC Data:
The code allows the display of the high, low, close, and open values of the last candles across different timeframes (hourly, daily, weekly, monthly).
Settings:
Options are available to show these values for the respective timeframes.
The user can also adjust the size of the labels.
Visualization: The indicator plots lines for the high, low, and close values for each timeframe and places labels showing the respective values.
In summary, the indicator provides a detailed view of support and resistance levels, which are based on a 4-candle logic, and displays important OHLC values across different timeframes. The indicator also allows setting alerts for specific price levels, so traders can quickly react to market movements.
BUY/SELL Timeframe ContinuityTime frame continuity refers to the alignment of price trends across multiple time frames. This means that the price movement is showing a consistent trend (either up or down) on various timeframes, like the 5-minute, 30-minute, hourly, and daily charts.
Why is it important?
Confirms Trend Strength: When multiple timeframes align, it indicates a strong and sustained trend.
Risk Management: Trading in the direction of the aligned trend can reduce risk.
This indicator checks if the current price of a selected timeframe is above or below its opening price. A buy/sell signal appears the second all bullish timeframes align (buy) or all bearish timeframes align. You can choose to paint the candles when the buy/sell conditions happen. You can select up to 10 different timeframes.
NOTE: With this indicator I prefer timeframes 15m, 30m, 1H, 4H, D, 5D, W - Together these timeframes are great for short-term trends on any stock.
[EmreKb] Custom PatternCustom Pattern
With this indicator, you can create and display as many patterns as you want on the chart. The indicator works by taking two inputs. We can start the explanation by describing these inputs.
Inputs
Zigzag Length: Length for zigzag legs.
Patternscript Code: Patternscript code. (But what is patternscript?)
Explanation Of Patternscript
Patternscript (it's a completely fictional script language) is a scripting language that allows you to write your own patterns, and it operates within Pinescript). Let's take a look at the syntax of this language.
{
(, )
}
...
This means that the Fibonacci levels drawn from the from_point to the to_point must have the target_point between the min_fib_level and max_fib_level .
Let's see a few practical examples.
Patternscript Code For ABCD Pattern
ABCD{
ABC(0.618, 0.886)
BCD(1.272, 1.618)
}
ABC(0.618, 0.886): Fibonacci drawn from the A to B, must have the C between the 0.618 and 0.886
BCD(1.272, 1.618): Fibonacci drawn from the B to C, must have the D between the 1.272 and 1.618
Patternscript Code For Multiple Pattern
BAT{
XAB(0.382, 0.5)
ABC(0.382, 0.886)
BCD(1.618, 2.618)
XAD(0.382, 0.886)
}
ABCD{
ABC(0.618, 0.886)
BCD(1.272, 1.618)
}
Notes:
You can set the pattern name as you like, this is not related to the pattern rules.
There is no limit for pattern count, but remember pine limits.
Dynamic Trend Lines-AYNETCode Summary: Dynamic Trend Lines
This code dynamically draws trend lines and labels based on swing highs and lows identified from historical price action.
Key Features
Swing Point Detection:
Uses the ta.pivothigh and ta.pivotlow functions to identify recent swing highs and swing lows based on a customizable lookback period.
Trend Lines:
Uptrend Line:
Draws a line connecting swing low points.
Colored in blue by default.
Downtrend Line:
Draws a line connecting swing high points.
Colored in red by default.
Lines dynamically adjust as new swing points are identified.
Labels:
Adds a circle-style label at each swing high and swing low.
Displays the price value of the swing point.
Labels have:
Green background for uptrends.
Red background for downtrends.
Customizable Inputs:
lookback: Sensitivity of swing point detection (higher value = fewer swings).
line_color_up and line_color_down: Colors for the trend lines.
label_bg_up and label_bg_down: Colors for the label backgrounds.
Auto Updates:
Trend lines and labels update dynamically as the chart progresses, ensuring they reflect the latest market conditions.
How It Works
Identify Swing Points:
Detects local highs and lows within the defined lookback period.
Draw Lines:
Uptrend lines are drawn from the most recent swing lows.
Downtrend lines are drawn from the most recent swing highs.
Add Labels:
Each swing point is labeled with its price value for easy reference.
Visual Output
Trend Lines:
Blue for uptrends, red for downtrends.
Labels:
Circular labels with price values:
Green for swing lows (uptrend points).
Red for swing highs (downtrend points).
Example Use Case
This script is useful for traders who want to:
Visually identify key trend lines based on swing highs and lows.
Understand the critical price points of market reversals.
Use labeled price points for informed trade decisions.
Let me know if you'd like any specific refinements! 😊
Order Block Zones | Ahmed HALLOUB
This indicator identifies and displays key trading zones based on order block theory, helping traders spot potential support and resistance areas where significant buying or selling pressure has occurred.
Key Features
Dynamic Zone Detection
Automatically identifies bullish and bearish order blocks
Uses volume-weighted analysis for zone strength
Displays clear BUY and SELL zone labels
Customizable Parameters
Swing Length: Adjustable sensitivity (default: 10)
Zone Count: Options from "One" to "High" (1-10 zones)
ATR Multiplier: Controls zone size validation (default: 3.5)
Volume Information: Optional display of volume data
Visual Elements
Green zones indicate bullish order blocks (potential support)
Red zones indicate bearish order blocks (potential resistance)
Volume percentage shown for each zone
Clear labeling of BUY/SELL zones with precise levels
Advanced Features
Zone combining logic to prevent overlapping
Multiple timeframe support
Dynamic zone extension
Historical zone tracking
Zone invalidation monitoring
IlluminateThe Illuminate script predicts the potential range of Bitcoin's top and bottom prices based on a logarithmic regression model, referencing Bitcoin's historical price trends and halvings. This script is designed to provide valuable insights into Bitcoin's price dynamics and long-term trends using principles derived from the "Bitcoin Law."
Key Features
Power Law Trend Lines
Primary Trend:
Projects the general growth trajectory of Bitcoin prices over time based on a logarithmic power law.
Resistance Line:
Identifies a potential upper limit of Bitcoin prices during market peaks.
Includes an offset trendline for an additional buffer zone.
Support Line:
Represents a possible bottom for Bitcoin prices during market downturns.
Offset trendlines highlight potential zones of price fluctuation near the support line.
Fill Zones:
Between resistance and offset: Semi-transparent Red.
Between support and offset: Semi-transparent Green/Blue.
Bitcoin Halving Events
Automatically marks significant Bitcoin halving dates with yellow vertical lines and labeled annotations.
Current and future halvings (approximate) are included.
Trending Phase Indication
A dynamic visual color fill highlights different phases of Bitcoin's price evolution based on a 4-year cycle.
Colors: Red, Green, Blue, Orange (indicating each phase).
"Trending Phase" label provides insight into the current phase.
Interactive Inputs
Show/Hide Resistance: Toggle resistance trend lines.
Show/Hide Support: Toggle support trend lines.
Show/Hide Halving Dates: Toggle visibility of halving annotations.
Customizable Parameters
Fine-tune parameters (A and n) for the main trend line to match your analysis needs.
How to Use
Overlay Analysis:
Add this script to your TradingView chart for direct overlay on Bitcoin's price data.
Interpret the Zones:
Use the resistance and support lines as potential upper and lower bounds for price movements.
Analyze fill zones for areas of likely price oscillation.
Halving Significance:
Observe price behavior before and after halving dates, which historically influence market trends.
Long-Term Perspective:
The model is optimized for long-term projections, making it suitable for strategic, rather than short-term, trading decisions.
Disclaimer:
This indicator is for educational purposes only and should not be used as investment advice. Always do your own research and consult with a financial advisor before making trading decisions.
5min and 15min Buy Sell Strategy By DemirkanThis script is designed to identify Buy and Sell signals based on multiple moving averages and the higher timeframe candle direction. It works as follows:
Key Components:
Higher Timeframe Analysis:
The indicator uses the 60-minute timeframe (or a custom timeframe set by the user) to assess the general market trend.
It compares the open and close prices of the higher timeframe candles:
Bullish Higher Timeframe: Close price > Open price.
Moving Averages:
The script uses three types of moving averages to identify trend and momentum:
Simple Moving Average (SMA) with a length of 9.
Exponential Moving Average (EMA) with a length of 21.
Hull Moving Average (HMA) with a length of 100.
These are calculated on the current timeframe's price data.
Crossover Conditions:
Bullish Crossover: When the 9 SMA crosses above the 21 EMA.
Bearish Crossover: When the 9 SMA crosses below the 21 EMA.
Signal Conditions:
Buy Signal:
A bullish crossover occurs (9 SMA crosses above 21 EMA).
The current price is above the 100 HMA (indicating an uptrend).
The higher timeframe (e.g., 60-minute) is bullish (close > open).
Sell Signal:
A bearish crossover occurs (9 SMA crosses below 21 EMA).
The current price is above the 100 HMA.
The higher timeframe is bullish.
Visual and Alert Outputs:
Moving Average Visualization:
The indicator plots the 9 SMA (blue), 21 EMA (red), and 100 HMA (black) directly on the price chart.
Signal Markers:
Buy signals are displayed as green upward triangles below the price bars.
Sell signals are displayed as red downward triangles above the price bars.
Alerts:
Users receive alerts for both buy and sell signals when conditions are met.
Info Table:
A table in the top-right corner displays:
Signal Type: "Cross Up" or "Cross Down."
Higher Timeframe Status: Indicates if the higher timeframe is bullish (e.g., "1H Bullish").
Purpose:
This indicator is suitable for traders who prefer combining lower timeframe signals (e.g., 5-minute or 15-minute charts) with confirmation from a higher timeframe (e.g., 60-minute) for better accuracy in identifying potential buy and sell opportunities.
Dynamic Supply & Demand Zones- AYNETSummary of the Code: Dynamic Supply & Demand Zones
This Pine Script creates dynamic supply (resistance) and demand (support) zones on a chart by identifying the highest and lowest prices over a user-defined lookback period. It visualizes these zones with shaded regions and horizontal lines that dynamically adjust to price movements.
Key Features:
Dynamic Support Zone (Demand):
Calculated using the lowest price in the last lookback bars.
Creates a shaded region around this price, extended up and down by a user-defined zone width.
Horizontal lines clearly mark the top and bottom of the demand zone.
Dynamic Resistance Zone (Supply):
Calculated using the highest price in the last lookback bars.
Similarly, a shaded region and lines are drawn for this zone, representing supply.
Customizable Inputs:
lookback: Number of bars to calculate the highest and lowest prices.
zone_width: The buffer distance above/below the highest/lowest price to create the zone.
Colors: Separate color inputs for the fill and lines of support and resistance zones.
Dynamic Updates:
Both zones update automatically as new bars are added and the highest/lowest prices change.
Visual Representation:
The script uses plot to create shaded regions and line objects to draw horizontal boundaries.
How It Works:
Inputs:
The user provides a lookback period and zone_width.
Calculations:
Lowest price in the last lookback bars defines the support zone.
Highest price in the same period defines the resistance zone.
Plotting:
The zones are plotted with shaded regions and dynamic lines.
Use Case:
This indicator helps identify key price levels where supply (resistance) or demand (support) is likely to affect price movement.
Useful for traders who rely on support/resistance levels in their strategies.
Let me know if you'd like further enhancements or integrations! 😊
Price BoundariesThe "Price Boundaries" indicator provides a dynamic framework to monitor an asset's price extremes over time. By identifying and tracking the highest and lowest levels, it equips traders with essential insights into market trends and potential trading ranges.
Main Features:
Adaptive Price Tracking:
Continuously updates the maximum and minimum price points as the market fluctuates.
Displays these levels visually on the chart using distinct color-coded lines.
Proportional Range Analysis:
Calculates the percentage difference between the current price and the identified high/low boundaries, offering a clear measure of price positioning within the range.
Shaded Visualization:
Adds visually appealing shaded zones to highlight the gaps between the price and its boundaries, enhancing clarity for traders.
Real-Time Functionality:
Processes price data dynamically, ensuring that the displayed boundaries and calculations reflect the latest market movements.
This tool is ideal for traders who want to pinpoint key market levels and assess the likelihood of price reversals or breakouts. The clear visualization of price dynamics allows for informed decision-making and better risk management.
ATR and Volume AnalysisHi!
I would like to present an indicator that's meant to measure ratio of Volatility to Volume.
Basically it measures 2 moving averages (14 and 100 period) of ATR and Volume and then compares them. The output is ATR14 / Vol14
Color scheme
Red: Volume and ATR is both below 14 period
Green: Both are above
Yellow: Volume up, volatility down
Purple: Volume down, volatility up
Then there are two lines - 1 and 1.5
That is, in my opinion, the most optimal state to trade, because 1 means that there is some volatility and it's confirmed by volume. Above 1,5 you could see it as overbought (or oversold) zone. If it's above this line, we could expect a retracement since the volatility is not backed by volume. Above 2 it's quite critical and I would suggest closing trades.
(You can use it across all timeframes. In fact it's better if you do so. Longer timeframes are good for spotting tradeable markets while shorter timeframes show overbought / oversold zones)
I have also added option to choose between 4 different moving averages, but in my opinion RMA works the best.
Feel free to share some feedback, I would really appreciate it.
Sincerely,
Beefmaster
Sharpe Ratio With Upper/Lower BandsSharpe Ratio with Upper/Lower Bands is an advanced indicator designed to measure and visualize risk-adjusted returns. The Sharpe Ratio evaluates the performance of an asset or portfolio relative to its risk, helping traders and investors gauge efficiency.
This indicator enhances the traditional Sharpe Ratio by adding dynamic upper and lower bands based on its historical mean and standard deviation. These bands provide clear visual thresholds for overperformance and underperformance, allowing users to identify when the Sharpe Ratio deviates significantly from its typical range.
It’s a valuable tool for spotting extreme risk-adjusted performance levels, optimizing entry and exit points, and maintaining a balanced risk-reward strategy.
M2 Suite [KFB Quant]M2 Suite
The M2 Suite is a specialized technical indicator designed to analyze global M2 money supply data from major economies (US, EU, China, and Japan). It aggregates this macroeconomic data and transforms it into actionable insights for crypto trading, assisting with trend-following strategies on a 1D timeframe. By leveraging M2 money supply changes as an economic signal, the M2 Suite highlights potential long and short opportunities based on market liquidity trends.
Functionality:
The M2 Suite aggregates global M2 money supply data, normalizing it to USD for comparability. It calculates percentage changes over multiple timeframes (30–360 days) and averages these changes to score the strength and direction of the M2 trend. With customizable smoothing options, users can tailor the indicator to suit their trading style.
Signal Modes:
Users can choose from three signal modes for maximum flexibility:
Standard – Displays raw trend signals without smoothing.
Smoothed – Applies user-selected smoothing (EMA, SMA, or WMA) for cleaner signals.
Combined – Provides both standard and smoothed signals for a complete picture.
Indicator Features:
Thresholds: Define long and short entry points using customizable score and percentage change thresholds.
Signal Smoothing: Adjust signal clarity with selectable smoothing methods and lengths.
Visual Enhancements: Features gradient-colored signal lines, dynamic background shading, and labeled signal markers for enhanced chart readability.
Limitations:
The M2 Suite is intended for crypto markets and performs best on the 1D timeframe due to the daily data it requests. It should be used as part of a broader trading strategy, as it reflects historical macroeconomic trends and doesn’t predict future movements. Additionally, past results do not guarantee future performance.
Disclaimer: This tool is provided for informational and educational purposes only and should not be considered as financial advice. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions.
智能资金概念 [肥猫汉化修正]非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标非常好的指标
AI Buy/Sell SIgnals by price prediction//@version=5
indicator("AI Buy/Sell SIgnals by price prediction", overlay=true)
learning_times = input.int(200, "Learning times")
ema_length = input.int(1, "EMA length")
learn_filter_length = input.int(5, "SMA Filter length")
learning_block = input.bool(title="Filter Learning data", defval=true)
reaction = input.int(1, "Reaction (1-3)")
a = close
var input_list = array.new_float(100)
var weights = array.new_float(100)
var outt = array.new_float(2)
//def info table
var tab = label.new(bar_index, high, ".", style=label.style_label_left, color=color.white)
infotable = table.new(position=position.top_right, columns=3, rows=3, bgcolor=color.new(color.white, 0))
label.delete(tab)
get_errg(input_array, weights_array, len_of_both) =>
out = 0
for x = 0 to len_of_both
out += int(array.get(weights_array, x) * array.get(input_array, x))
out
//getting inputs
array.set(input_list, 0, ta.valuewhen(bar_index, close, 10))
array.set(input_list, 1, ta.valuewhen(bar_index, close, 20))
array.set(input_list, 2, ta.valuewhen(bar_index, close, 30))
array.set(input_list, 3, ta.valuewhen(bar_index, close, 40))
array.set(input_list, 4, ta.valuewhen(bar_index, close, 50))
array.set(input_list, 5, ta.valuewhen(bar_index, close, 60))
array.set(input_list, 6, ta.valuewhen(bar_index, close, 70))
array.set(input_list, 7, ta.valuewhen(bar_index, close, 80))
array.set(input_list, 8, ta.valuewhen(bar_index, close, 90))
array.set(input_list, 9, ta.valuewhen(bar_index, close, 100))
array.set(input_list, 10, ta.valuewhen(bar_index, open, 10))
array.set(input_list, 11, ta.valuewhen(bar_index, open, 20))
array.set(input_list, 12, ta.valuewhen(bar_index, open, 30))
array.set(input_list, 13, ta.valuewhen(bar_index, open, 40))
array.set(input_list, 14, ta.valuewhen(bar_index, open, 50))
array.set(input_list, 15, ta.valuewhen(bar_index, open, 60))
array.set(input_list, 16, ta.valuewhen(bar_index, open, 70))
array.set(input_list, 17, ta.valuewhen(bar_index, open, 80))
array.set(input_list, 18, ta.valuewhen(bar_index, open, 90))
array.set(input_list, 19, ta.valuewhen(bar_index, open, 100))
// teaching neural network
sma = ta.sma(ta.ema(close, 10), learn_filter_length)
if math.abs(ta.valuewhen(bar_index, sma, 1) - sma) > close / 10000 or not learning_block
for rn = 0 to learning_times
for list_number = 0 to 19
if rn == 0
array.set(weights, list_number, 1) // Initialisiere die Gewichte mit 1
else
target_output = close
current_output = get_errg(input_list, weights, 19)
current_input = array.get(input_list, list_number)
target_input = target_output / current_output * current_input // Berechne die entsprechende Eingabe für das Gewicht
array.set(weights, list_number, target_input)
// getting new output
array.set(outt, 0, get_errg(input_list, weights, 19))
var col = #ff1100
var table_i_col = ''
var pcol = #ff1100
// getting signals
if ta.ema(ta.valuewhen(bar_index, array.get(outt, 0), 1), ema_length) < ta.sma(ta.ema(array.get(outt, 0), ema_length), 10)
col := #39ff14
table_i_col := 'AI Up'
if ta.ema(ta.valuewhen(bar_index, array.get(outt, 0), 1), ema_length) > ta.sma(ta.ema(array.get(outt, 0), ema_length), 10)
col := #ff1100
table_i_col := 'AI down'
if ta.valuewhen(bar_index, col, 50) == col and ta.valuewhen(bar_index, col, 10) == ta.valuewhen(bar_index, col, 20) and ta.valuewhen(bar_index, col, 30) == ta.valuewhen(bar_index, col, 40) and reaction == 1
pcol := col
if ta.valuewhen(bar_index, col, 50) == col and ta.valuewhen(bar_index, col, 10) == ta.valuewhen(bar_index, col, 20) and reaction == 2
pcol := col
if ta.valuewhen(bar_index, col, 50) == col and reaction == 3
pcol := col
// plotting all info
plot(0, "plot2", col, offset=50)
plot(ta.sma(ta.ema(close, 10), 10), color=ta.valuewhen(bar_index, pcol, 50), linewidth=2)
table.cell(infotable, 0, 0, str.tostring(float(array.get(outt, 0))))
table.cell(infotable, 0, 1, str.tostring(float(ta.valuewhen(bar_index, array.get(outt, 0), 50))))
table.cell(infotable, 0, 2, str.tostring(table_i_col))
GP - SRSI ChannelGP - SRSI Channel Indicator
The GP - SRSI Channel is a channel indicator derived from the Stochastic RSI (SRSI) oscillator. It combines SRSI data from multiple timeframes to analyze minimum, maximum, and closing values, forming a channel based on these calculations. The goal is to identify overbought and oversold zones with color coding and highlight potential trading opportunities by indicating trend reversal points.
How It Works
SRSI Calculation: The indicator calculates the Stochastic RSI values using open, high, low, and close prices from the selected timeframes.
Channel Creation: Minimum and maximum values derived from these calculations are combined across multiple timeframes. The midpoint is calculated as the average of these values.
Color Coding: Zones within the channel are color-coded with a gradient from red to green based on the ratios. Green zones typically indicate selling opportunities, while red zones suggest buying opportunities.
Visual Elements:
The channel boundaries (min/max) are displayed as lines.
Overbought/oversold regions (95-100 and 0-5) are highlighted with shaded areas.
Additional explanatory labels are placed on key levels to guide users.
How to Use
Trading Strategy: This indicator can be used for both trend following and identifying reversal points. Selling opportunities can be evaluated when the channel reaches the upper green zone, while buying opportunities can be considered in the lower red zone.
Timeframe Selection: Users can analyze multiple timeframes simultaneously to gain a broader perspective.
Customization: RSI and Stochastic RSI parameters are adjustable, allowing users to tailor the indicator to their trading strategies.
Important Note
This indicator is for informational purposes only and should not be used as a sole basis for trading decisions. Please validate the results of the indicator with your own analysis.
Advanced Range Filter-AynetKey Features
Range Sizing Methods:
Supports various calculation methods, including:
Points: Fixed numerical value.
Pips: Ideal for Forex pairs.
% of Price: Scales range dynamically based on price.
ATR: Volatility-based sizing using Average True Range.
Average Change: Original sizing method using average price change.
Standard Deviation: Measures price volatility.
Absolute: User-defined fixed range.
Filter Types:
Type 1: Original filtering logic.
Type 2: Alternative smoothing logic for more responsive outputs.
Smoothing:
Optional EMA smoothing applied to the filter values.
Dynamic Visuals:
Plots filtered price with upper/lower bands.
Colors bars based on trend direction (bullish, bearish, neutral).
Advanced Averaging:
Conditional EMA logic enables averaging only when the filter value changes.
Trend Output:
Exports trend information (1 for bullish, -1 for bearish) for use in other scripts.
Usage
Trend Identification:
Observe the filtered price line to identify trends while ignoring minor price noise.
Use the bar coloring scheme to visualize trends directly on the chart.
Dynamic Bands:
The upper and lower bands represent the price range that triggers filter movements.
Custom Alerts:
Set up alerts for trend changes by monitoring the trend variable.
Use in Other Scripts:
Import trend information (externalTrend) into custom strategies or other indicators.
Conclusion
This advanced Range Filter Indicator removes minor price action noise and highlights trends with precision. It’s highly customizable, offering flexibility in how ranges and filter values are calculated, with dynamic visualization to make trends clear and actionable. Perfect for traders who prefer clarity and noise reduction in price action analysis.
Daily Manipulation and Distribution Levels with Buy/Sell SignalsIndicator Summary:
This indicator is designed for intraday traders, highlighting key price levels and providing simple buy/sell signals based on price manipulation and distribution concepts.
Key Features:
Core Levels:
Manipulation Plus/Minus: Derived from the daily open and a portion of the daily range (e.g., 25%).
Distribution Levels: Daily high and low serve as ultimate targets or resistance/support levels.
Buy and Sell Signals:
Buy Signal: Triggered when the price crosses above the Manipulation Plus level. A green "BUY" label marks the entry.
Sell Signal: Triggered when the price crosses below the Manipulation Minus level. A red "SELL" label marks the entry.
Clean Chart Design:
Hides unnecessary clutter, showing only relevant key levels and labeled signals for clarity.
How to Use:
Entry Points:
Buy Entry: When a green "BUY" label appears after the price breaks above the Manipulation Plus level.
Sell Entry: When a red "SELL" label appears after the price breaks below the Manipulation Minus level.
Exit Strategy:
Take Profit: Use the Distribution Levels (daily high/low) as take-profit zones.
Stop Loss: Set just above/below the Manipulation Levels to manage risk effectively.
One to Two Trades per Session: Focus on high-probability moves to ensure clarity and reduce overtrading.
Who It’s For:
This indicator is ideal for traders seeking a structured and visual approach to intraday trading, with clear entry/exit criteria based on price manipulation and distribution theory. It simplifies decision-making and ensures clean chart setups without overwhelming visuals.
Tradeneur Trend DirectionIndicator that helps define the direction of the trend on different timeframes