Previous 4-Hour High/Low Indicator Name: Previous 4-Hour High/Low Lines
Description:
This indicator highlights the high and low levels of the previous candle from a user-defined timeframe (default: 4 hours) and extends these levels both to the left and right across the chart. It allows traders to visualize key support and resistance levels from higher timeframes while analyzing lower timeframe charts.
Key Features:
• Customizable Timeframe: Select any timeframe (e.g., 4-hour, daily) to track the high and low of the previous candle.
• Dynamic Updates: The high and low levels update automatically with each new candle.
• Extended Levels: Lines extend both left and right, providing a clear reference for past and future price action.
• Overlay on Chart: The indicator works seamlessly on any timeframe, making it ideal for multi-timeframe analysis.
Use Case:
This tool is perfect for traders who rely on higher timeframe levels for setting entry/exit points, identifying potential breakout zones, or managing risk. By visualizing these levels directly on lower timeframe charts, traders can make informed decisions without switching between charts.
Grafik Paternleri
BTC Trendline Patterns with Signals BTC Trendline Patterns with Signals
This custom Pine Script indicator automatically detects key pivot points in Bitcoin price action and draws support and resistance trendlines. The indicator provides buy (long) and sell (short) signals when these trendlines are broken. This can help traders identify potential breakout opportunities and trend reversals based on established price levels.
Features:
Pivot Point Detection: Automatically identifies pivot highs and lows in the price chart, based on customizable parameters (Pivot Left and Pivot Right).
Support and Resistance Trendlines: Draws trendlines based on the identified pivot points. These lines represent significant price levels where price may experience support or resistance.
Breakout Signals: Provides buy (long) and sell (short) signals when the price breaks above the resistance trendline (for buy signals) or below the support trendline (for sell signals).
Customizable Pivot Lengths: Adjust the number of bars considered for determining pivot points using the Pivot Left and Pivot Right input parameters.
How it Works:
Pivot Detection: The script identifies the highest high (pivotHigh) and the lowest low (pivotLow) within a specific range of bars (defined by Pivot Left and Pivot Right).
Trendline Plotting: Once pivots are detected, the script draws resistance (red) and support (green) trendlines connecting the most recent pivots. These trendlines act as dynamic support and resistance levels.
Breakout Signals: The script generates signals:
BUY (Long): Triggered when the price breaks above the most recent resistance trendline.
SELL (Short): Triggered when the price breaks below the most recent support trendline.
Parameters:
Pivot Left: Number of bars to the left of the pivot point to consider.
Pivot Right: Number of bars to the right of the pivot point to consider.
Line Width: Customizable line width for drawing trendlines.
Ideal Use:
Timeframes: This indicator works well on timeframes ranging from 1-minute to daily charts. For best results, use it on 1-hour, 4-hour, or daily charts.
Strategy: Ideal for breakout traders or trend-following strategies. Use it to identify potential entry points when price breaks key levels of support or resistance.
Example Use Case:
Swing Traders: Traders looking for potential breakouts can use this script to identify key levels in the market and wait for the price to break through resistance for a long trade or support for a short trade.
Day Traders: For those looking to enter and exit trades in a single day, this indicator can help pinpoint areas of support and resistance, and provide actionable signals when price breaks those levels.
Disclaimer:
This script is not a guarantee of success and should be used in conjunction with other technical analysis tools. Always perform additional research and backtesting before live trading.
Important Notes:
The pivot points and trendlines may adjust dynamically as the price evolves. Adjust the pivot settings to suit the volatility and timeframe of the market you're trading.
This indicator works best when combined with other indicators such as volume, RSI, or MACD for confirmation.
How to Use:
Add the indicator to your chart.
Adjust the Pivot Left and Pivot Right parameters to fine-tune the pivot point detection.
Monitor for trendline breakouts. When the price breaks above the resistance line, a BUY signal will appear. When the price breaks below the support line, a SELL signal will appear.
Use the signals to enter trades at the right moment.
Final Notes:
If you're submitting to TradingView for publishing, keep your description clear and informative, but also concise. Traders need to quickly understand how your indicator works, what parameters they can adjust, and how it might fit into their trading strategy.
RSI Buy-Sell Indicator - MissouriTimThe RSI Buy-Sell Indicator by MissouriTim, is an advanced trading tool designed to elevate your trading strategy. This indicator leverages the power of the Relative Strength Index (RSI) to provide clear and actionable buy and sell signals, ensuring you make informed trading decisions with confidence.
Key Features:
Customizable RSI Settings: Tailor the RSI source, length, and thresholds for overbought and oversold conditions to fit your trading style.
Real-Time Alerts: Enable BUY and SELL alerts to receive instant notifications when market conditions meet your criteria.
Visual Clarity: Easily distinguish between buy and sell signals with customizable line colors, ensuring you never miss a trading opportunity.
Intelligent Labeling: Buy and Sell labels dynamically update to reflect overbought and oversold current market conditions, providing you with clear entry and exit points.
Swing Lines: Visualize price movements with intuitive swing lines that connect recent highs and lows, helping you spot trends and reversals.
How It Works:
The RSI Buy-Sell Indicator utilizes the RSI and a specially designed algorithm to determine when an asset is overbought or oversold. When the RSI value crosses the specified overbought or oversold thresholds, the indicator generates a signal, displayed as a label on the chart. Additionally, swing lines are drawn to connect recent highs and lows, offering a visual representation of market trends.
This tool is perfect for traders who want to enhance their technical analysis and make more informed decisions. With its customizable settings and real-time alerts, the RSI Buy-Sell Indicator by MissouriTim is a must-have for any serious trader.
London & New York Sessions + Engulfing Indicator (simple)This indicator combines session visualization with engulfing pattern detection, designed for forex traders focusing on London and New York sessions.
Key Features:
• Session Visualization
- Clear box display for London (0800-1630 GMT) and New York (1300-2200 GMT) sessions
- Real-time session high/low tracking with customizable labels
- Session boxes with adjustable transparency and colors
• Engulfing Pattern Detection
- Bullish and bearish engulfing patterns marked with colored arrows
- Enhanced detection requiring 20% larger body size for confirmation
- Customizable pattern colors
• Information Display
- Clean, minimal time table showing session status
- Real-time countdown for active sessions
- Open/Closed status with color indicators
• Customization Options
- Toggle session boxes, labels, and pattern detection
- Adjustable colors for all visual elements
- Flexible display settings for clean chart appearance
Perfect for traders who:
• Trade London/NY session overlaps
• Use price action with engulfing patterns
• Need clear session boundaries and time management
Pro Stock Scanner + MACD# Pro Stock Scanner - Advanced Trading System
### Professional Scanning System Combining MACD, Momentum & Technical Analysis
## 🎯 Indicator Purpose
This indicator was developed to identify high-quality trading opportunities by combining:
- Strong positive momentum
- Clear technical trend
- Significant trading volume
- Precise MACD signals
## 💡 Core Mechanics
The indicator is based on three core components:
### 1. Advanced MACD Analysis (40%)
- MACD line crossover tracking
- Momentum strength measurement
- Positive/negative divergence detection
- Score range: 0-40 points
### 2. Trend Analysis (40%)
- Moving average relationships (MA20, MA50)
- Primary trend direction
- Current trend strength
- Score range: 0-40 points
### 3. Volume Analysis (20%)
- Comparison with 20-day average volume
- Volume breakout detection
- Score range: 0-20 points
## 📊 Scoring System
Total score (0-100) composition:
```
Total Score = MACD Score (40%) + Trend Score (40%) + Volume Score (20%)
```
### Score Interpretation:
- 80-100: Strong Buy Signal 🔥
- 65-79: Developing Bullish Trend ⬆️
- 50-64: Neutral ↔️
- 0-49: Technical Weakness ⬇️
## 📈 Chart Markers
1. **Large Blue Triangle**
- High score (80+)
- Positive MACD
- Bullish MACD crossover
2. **Small Triangles**
- Green: Bullish MACD crossover
- Red: Bearish MACD crossover
## 🎛️ Customizable Parameters
```
MACD Settings:
- Fast Length: 12
- Slow Length: 26
- Signal Length: 9
- Strength Threshold: 0.2%
Volume Settings:
- Threshold: 1.5x average
```
## 📱 Information Panel
Real-time display of:
1. Total Score
2. MACD Score
3. MACD Strength
4. Volume Score
5. Summary Signal
## ⚙️ Optimization Guidelines
Recommended adjustments:
1. **Bull Market**
- Decrease MACD sensitivity
- Increase volume threshold
- Focus on trend strength
2. **Bear Market**
- Increase MACD sensitivity
- Stricter trend conditions
- Higher score requirements
## 🎯 Recommended Trading Strategy
### Phase 1: Initial Scan
1. Look for 80+ total score
2. Verify sufficient trading volume
3. Confirm bullish MACD crossover
### Phase 2: Validation
1. Check long-term trend
2. Identify nearby resistance levels
3. Review earnings calendar
### Phase 3: Position Management
1. Set clear stop-loss
2. Define realistic profit targets
3. Monitor score changes
## ⚠️ Important Notes
1. This indicator is a supplementary tool
2. Combine with fundamental analysis
3. Strict risk management is essential
4. Not recommended for automated trading
## 📈 Usage Examples
Examples included:
1. Successful buy signal
2. Trend reversal identification
3. False signal analysis and lessons learned
## 🔄 Future Updates
1. RSI integration
2. Advanced alerts
3. Auto-optimization features
## 🎯 Key Benefits
1. Clear scoring system
2. Multiple confirmation layers
3. Real-time market feedback
4. Customizable parameters
## 🚀 Getting Started
1. Add indicator to chart
2. Adjust parameters if needed
3. Monitor information panel
4. Wait for strong signals (80+ score)
## 📊 Performance Metrics
- Success rate: Monitor and track
- Best performing in trending markets
- Optimal for swing trading
- Most effective on daily timeframe
## 🛠️ Technical Details
```pine
// Core components
1. MACD calculation
2. Volume analysis
3. Trend confirmation
4. Score computation
```
## 💡 Pro Tips
1. Use multiple timeframes
2. Combine with support/resistance
3. Monitor sector trends
4. Consider market conditions
## 🤝 Support
Feedback and improvement suggestions welcome!
## 📜 License
MIT License - Free to use and modify
## 📚 Additional Resources
- Recommended timeframes: Daily, 4H
- Best performing markets: Stocks, ETFs
- Optimal market conditions: Trending markets
- Risk management guidelines included
## 🔍 Final Notes
Remember:
- No indicator is 100% accurate
- Always use proper position sizing
- Combine with other analysis tools
- Practice proper risk management
// @version=5
// @description Pro Stock Scanner - Advanced trading system combining MACD, momentum and volume analysis
// @author AviPro
// @license MIT
//
// This indicator helps identify high-quality trading opportunities by analyzing:
// 1. MACD momentum and crossovers
// 2. Trend strength and direction
// 3. Volume patterns and breakouts
//
// The system provides:
// - Total score (0-100)
// - Visual signals on chart
// - Information panel with key metrics
// - Customizable parameters
//
// IMPORTANT: This indicator is for educational and informational purposes only.
// Always conduct your own analysis and use proper risk management.
//
// If you find this indicator helpful, please consider leaving a like and comment!
// Feedback and suggestions for improvement are always welcome.
GS_MM_HULLKey Features:
Strategy Configuration:
Allows you to set the trading direction: long, short, or both (strat_dir_input).
Defines the backtesting period through testPeriodStart and testPeriodStop.
Hull Moving Average Variations:
Includes three variations of the Hull Moving Average: HMA, THMA (Triangular HMA), and EHMA (Exponential HMA).
Offers the flexibility to select the desired variation through modeSwitch.
Dynamic Plot and Color Options:
Can color the Hull MA line based on trend direction (switchColor).
Offers a band visualization for the moving averages.
Optionally colors the candles based on the Hull MA trend (candleCol).
Entry Logic:
Automatically places long or short orders based on the relationship between the current Hull MA value and its past value.
Restricts trades to the specified backtesting period.
ADR (Average Daily Range) Calculation:
Calculates and displays the ADR% using a specified length (adrLength).
Adds a label showing the ADR%
Daytrading ES Wick Length StrategyThis Pine Script strategy calculates the combined length of upper and lower wicks of candlesticks and uses a customizable moving average (MA) to identify potential long entry points. The strategy compares the total wick length to the MA with an added offset. If the wick length exceeds the offset-adjusted MA, the strategy enters a long position. The position is automatically closed after a user-defined holding period.
Key Features:
1. Calculates the sum of upper and lower wicks for each candlestick.
2. Offers four types of moving averages (SMA, EMA, WMA, VWMA) for analysis.
3. Allows the user to set a customizable MA length and an offset to shift the MA.
4. Automatically exits positions after a specified number of bars.
5. Visualizes the wick length as a histogram and the offset-adjusted MA as a line.
References:
• Candlestick wick analysis: Nison, S. (1991). Japanese Candlestick Charting Techniques.
• Moving averages: Brock, W., Lakonishok, J., & LeBaron, B. (1992). “Simple Technical Trading Rules and the Stochastic Properties of Stock Returns”. Journal of Finance.
This strategy is suitable for identifying candlesticks with significant volatility and long wicks, which can indicate potential trend reversals or continuations.
Swing & Day Trading Strategy dddddThis TradingView Pine Script is designed for swing and day trading, incorporating multiple technical indicators and tools to enhance decision-making. It calculates and plots exponential moving averages (EMAs) for 5, 9, 21, 50, and 200 periods to identify trends and crossovers. The Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) provide momentum and overbought/oversold signals. The script dynamically identifies and marks support and resistance levels based on recent highs and lows, while also detecting and labeling key candlestick patterns such as bullish and bearish engulfing, doji, and hammer candles. Bullish and bearish signals are highlighted on the chart with green and red backgrounds, respectively, and alerts are generated to notify traders of these conditions. All visualizations, including EMAs, support/resistance lines, and candlestick labels, are overlaid directly on the stock chart for easy interpretation. This comprehensive approach assists traders in spotting potential trading opportunities effectively.
Parabolic SAR This script provides an enhanced implementation of the Parabolic SAR (Stop and Reverse) indicator, a popular tool for identifying potential trend reversals in financial markets. The script incorporates additional features for improved usability and trading decision-making:
Key Features:
Customizable Parameters:
Initial Acceleration Factor: Start value for the SAR calculation.
Increment: Step value that increases the SAR during a trend.
Maximum Acceleration Factor: Cap for the SAR to prevent over-adjustment.
Buy & Sell Signals:
Buy Signal: Triggered when the price crosses above the SAR.
Sell Signal: Triggered when the price crosses below the SAR.
Signals are displayed as visually intuitive labels ("Buy" and "Sell") on the chart.
Alerts Integration:
Configurable alerts for buy and sell signals, allowing users to stay informed without actively monitoring the chart.
Dynamic Candle Coloring:
Candlesticks are dynamically colored based on the most recent signal:
Green: Buy signal (bullish trend).
Red: Sell signal (bearish trend).
Elegant SAR Plot:
The SAR is plotted as cross-style markers with a visually appealing magenta color.
How to Use:
Adjust the Initial Acceleration Factor, Increment, and Maximum Acceleration Factor in the input settings to match your trading style.
Enable alerts to receive notifications when buy or sell signals are generated.
Use the colored candlesticks as an additional confirmation tool to visualize market trends directly on the chart.
Up Gap Strategy with DelayThis strategy, titled “Up Gap Strategy with Delay,” is based on identifying up gaps in the price action of an asset. A gap is defined as the percentage difference between the current bar’s open price and the previous bar’s close price. The strategy triggers a long position if the gap exceeds a user-defined threshold and includes a delay period before entering the position. After entering, the position is held for a set number of periods before being closed.
Key Features:
1. Gap Threshold: The strategy defines an up gap when the gap size exceeds a specified threshold (in percentage terms). The gap threshold is an input parameter that allows customization based on the user’s preference.
2. Delay Period: After the gap occurs, the strategy waits for a delay period before initiating a long position. This delay can help mitigate any short-term volatility that might occur immediately after the gap.
3. Holding Period: Once the position is entered, it is held for a user-defined number of periods (holdingPeriods). This is to capture the potential post-gap trend continuation, as gaps often indicate strong directional momentum.
4. Gap Plotting: The strategy visually plots up gaps on the chart by placing a green label beneath the bar where the gap condition is met. Additionally, the background color turns green to highlight up-gap occurrences.
5. Exit Condition: The position is exited after the defined holding period. The strategy ensures that the position is closed after this time, regardless of whether the price is in profit or loss.
Scientific Background:
The gap theory has been widely studied in financial literature and is based on the premise that gaps in price often represent areas of significant support or resistance. According to research by Kaufman (2002), gaps in price action can be indicators of future price direction, particularly when they occur after a period of consolidation or a trend reversal. Moreover, Gaps and their Implications in Technical Analysis (Murphy, 1999) highlights that gaps can reflect imbalances between supply and demand, leading to high momentum and potential price continuation or reversal.
In trading strategies, utilizing gaps with specific conditions, such as delay and holding periods, can enhance the ability to capture significant price moves. The strategy’s delay period helps avoid potential market noise immediately after the gap, while the holding period seeks to capitalize on the price continuation that often follows gap formation.
This methodology aligns with momentum-based strategies, which rely on the persistence of trends in financial markets. Several studies, including Jegadeesh & Titman (1993), have documented the existence of momentum effects in stock prices, where past price movements can be predictive of future returns.
Conclusion:
This strategy incorporates gap detection and momentum principles, supported by empirical research in technical analysis, to attempt to capitalize on price movements following significant gaps. By waiting for a delay period and holding the position for a specified time, it aims to mitigate the risk associated with early volatility while maximizing the potential for sustained price moves.
LevelUp^ Power Trend ScreenerScreen for symbols in a Power Trend using the Pine Screener. This screener supports all equity types from stocks to ETFs to crypto.
When a Power Trend is active, there is a stronger than usual uptrend underway. The concept of a Power Trend was created by Investor's Business Daily to mimic the trading style of IBD's Founder and legendary trader, William O'Neil.
🔹 What Starts A Power Trend?
✓ Low is above the 21-day EMA for at least 10 days.
✓ 21-day EMA is above the 50-day SMA for at least five days.
✓ 50-day SMA is in an uptrend.
✓ Close up for the day.
🔹 What Ends A Power Trend?
✓ 21-day EMA crosses under 50-day SMA.
✓ Close 10% below recent high and below the 50-day SMA.
🔹 Screening Features - Setting Your Search Criteria
There are various search options that can be customized to meet your preferences.
▪ In A Power Trend
To cast the widest net, select only this option and all stocks in a Power Trend will be returned.
▪ Power Trend Started
This option will search for symbols that began a Power Trend on the most recent daily bar.
▪ Power Trend Ended
This option will search for symbols where there was an active Power Trend, however, it ended on the most recent daily bar.
▪ Days In A Power Trend
This option can be helpful if you would like to find stocks that recently entered a Power Trend, for example, stocks that have been in a Power Trend for less than 5 days. Another use would be to search for stocks where the Power Trend has been active for a longer period of time, for instance, over 50 days.
▪ 1 Week % Change
With this option you can search for stocks that are up/down a specific percentage over the past week. For example, search for stocks in a Power Trend that are up 5% or more in the past week.
▪ 1 Month % Change
Similar to the above, narrow the search to percent changes based on monthly data. For example, return stocks in a Power Trend that are down 10% or more in the past month.
▪ Limit Symbol Types
If you have a watchlist that has multiple symbol types, for example stocks and crypto, you can set this option to limit the search to one or more symbol types. You can configure this option by clicking the drop-down to the right of the indicator name and selecting Settings.
🔹 Installation And Usage
▪ Mark this indicator as a Favorite.
▪ Use the Pine Screener to search for Power Trends.
▪ Save the search results to a watchlist.
▪ View the watchlist in TradingView.
🔹 Power Trend Indicator
This screener is designed to be used along with the Power Trend indicator to view Power Trends on your chart.
🔹 Important Notes
▪ This indicator is for screening, there is no visible output on the chart.
▪ Once you mark this screener as a Favorite, you can remove it from your chart.
▪ The Power Trend concept as defined by Investor's Business Daily is based on moving averages on the daily timeframe. Given this requirement, this screener is also limited to searching the same timeframe.
Nimu Market on DemandNimu Market On Demand is an innovative tool designed to provide a visual representation of market demand levels on a scale of 1 to 100. This scale is displayed at specific intervals , making it easy for users to understand market demand fluctuations in real time.
To enhance analysis, Nimu Market On Demand also incorporates the Relative Strength Index (RSI) with key thresholds at . RSI is a widely-used technical indicator that measures market strength and momentum, offering insights into overbought (excessive buying) or oversold (excessive selling) conditions.
The combination of the Demand graph and RSI enables users to:
Identify the right time to buy when the RSI falls below 30, signaling an oversold condition.
Determine the optimal time to sell when the RSI rises above 70, indicating an overbought condition.
With an integrated visualization, users can effortlessly observe demand patterns and combine them with RSI signals to make smarter and more strategic trading decisions. This tool is designed to help traders and investors maximize opportunities in a dynamic market environment.
Edufx AMD~Accumulation, Manipulation, DistributionEdufx AMD Indicator
This indicator visualizes the market cycles using distinct phases: Accumulation, Manipulation, Distribution, and Reversal. It is designed to assist traders in identifying potential entry points and understanding price behavior during these phases.
Key Features:
1. Phases and Logic:
-Accumulation Phase: Highlights the price range where market accumulation occurs.
-Manipulation Phase:
- If the price sweeps below the accumulation low, it signals a potential "Buy Zone."
- If the price sweeps above the accumulation high, it signals a potential "Sell Zone."
-Distribution Phase: Highlights where price is expected to expand and establish trends.
-Reversal Phase: Marks areas where the price may either continue or reverse.
2. Weekly and Daily Cycles:
- Toggle the visibility of Weekly Cycles and Daily Cycles independently through the settings.
- These cycles are predefined with precise timings for each phase, based on your selected on UTC-5 timezone.
3. Customizable Appearance:
- Adjust the colors for each phase directly in the settings to suit your preferences.
- The indicator uses semi-transparent boxes to represent the phases, allowing easy visualization without obstructing the chart.
4. Static Boxes:
- Boxes representing the phases are drawn only once for the visible chart range and do not dynamically delete, ensuring important consistent reference points.
ML Trading Bot with Advanced FilteringOverview
The Enhanced ML Trading Bot is a sophisticated trading strategy designed to leverage multiple technical filters—ranging from GMAs (Geometric Moving Averages) and ATR-based volatility checks, to volume thresholds, choppiness index, and even real-world event scoring—to pinpoint optimal entry and exit points. By combining advanced technical signals with external event awareness, this script aims to identify high-probability trades while filtering out low-liquidity and choppy market conditions.
Key Features
1. Dual GMAs (Geometric Moving Averages)
Long & Short Calculation
Employs two separate GMAs (long vs. short) derived from the log of price data, revealing market trends with enhanced smoothness.
Directional Bias
Confirms uptrends by ensuring the “long” GMA is above the “short” GMA, and downtrends by the reverse, helping traders stay aligned with prevailing market momentum.
2. Hugging Filter for Entry Confirmation
Precision Entry Check
Uses a “hugging threshold” to assess how closely recent prices have “hugged” the GMA or an entry price, indicating potential breakouts or reversals.
Adaptive Window
Dynamically adjusts around the entry price with a user-defined percentage window, filtering out half-hearted price tests.
3. Volatility & Risk Management
ATR Multipliers
Incorporates an Average True Range–based “ATR Multiplier” to ensure entries happen in normal or beneficial volatility conditions (avoiding noise and extreme swings).
Stop-Loss & Take-Profit
Auto-sets protective exit parameters based on the entry price, refined by ATR or hugging conditions.
4. Volume & Choppiness Index (CI) Filters
Volume Threshold
Checks that daily or recent volume meets a minimum requirement, reducing trades in low-liquidity conditions.
Choppiness Index
Gauges whether the market is ranging or trending. Avoids whipsaw trades by restricting entries if the market is extremely choppy or too trendless.
5. Advanced Time-Based Filtering
Session Hours
Allows traders to specify exact UTC start/end hours for trading, mitigating overnight or low-volume sessions.
News-Driven Event Scoring
Dynamically incorporates upcoming BTC halving dates, Fed meetings, and election cycles—along with a user-defined sentiment input—adding a real-world fundamental dimension to a purely technical system.
6. Overtrading Prevention
Minimum Bar Gap
Ensures a set number of bars between consecutive trades, preventing high-frequency whipsaws and preserving capital.
How the Strategy Works
Geometric Moving Averages
The script calculates two GMAs (long and short) from logged prices, helping identify trend direction and potential reversals.
Hugging & ATR-Based Validation
The hugging filter checks how closely recent price bars have stayed within a specified band around the entry price.
The ATR multiplier then confirms that current volatility conditions are suitable for a reliable trade.
Volume and CI Screening
Volume Threshold ensures there is sufficient liquidity to avoid slippage.
Choppiness Index confirms the market is either trending or shows enough directional bias.
Time & Event Constraints
Trades are only triggered within defined session hours for optimal market participation.
Event Scoring can skew the strategy to be bullish or bearish depending on upcoming major events (BTC halving, Fed meetings, etc.).
Entry/Exit Logic
Long Trades: Triggered when the long GMA > short GMA, price is below the long GMA, and hugging/ATR checks pass, etc.
Short Trades: Triggered when short GMA > long GMA, price is above the short GMA, and hugging/ATR checks pass, etc.
Stop-Loss & Take-Profit: Automatically set around the entry price, aiming for positive risk-reward scenarios.
Setup and Configuration
Add the Strategy
Apply the Enhanced ML Trading Bot to your chart from the TradingView Indicators/Strategies panel.
Select Symbol & Timeframe
Works well on liquid crypto pairs (e.g., ETH/USDT).
Its logic can apply to various timeframes; many traders prefer 1-minute for frequent signals.
Adjust Inputs
Fine-tune parameters such as GMA lengths, ATR multipliers, volume thresholds, session hours, and event sentiment to match your personal trading style and risk tolerance.
Backtesting Recommendations
Extended Backtest Window
To gather enough trades for meaningful statistics, backtest at least 3 months of data—particularly if you’re on lower timeframes like 1-minute.
Statistical Reliability
Aim for 100+ closed trades in your backtest to better gauge win rate, drawdowns, and net profit.
By combining geometric moving averages, hugging filters, volume/choppiness checks, and real-world event weighting, this strategy seeks to capitalize on short-term price swings while maintaining disciplined risk management.
SMA Trend Spectrum [InvestorUnknown]The SMA Trend Spectrum indicator is designed to visually represent market trends and momentum by using a series of Simple Moving Averages (SMAs) to create a color-coded spectrum or heatmap. This tool helps traders identify the strength and direction of market trends across various time frames within one chart.
Functionality:
SMA Calculation: The indicator calculates multiple SMAs starting from a user-defined base period (Starting Period) and increasing by a specified increment (Period Increment). This creates a sequence of moving averages that span from short-term to long-term perspectives.
Trend Analysis: Each segment of the spectrum compares three SMAs to determine the market's trend strength: Bullish (color-coded green) when the current price is above all three SMAs. Neutral (color-coded purple) when the price is above some but not all SMAs. Bearish (color-coded red) when the price is below all three SMAs.
f_col(x1, x2, x3) =>
min = ta.sma(src, x1)
mid = ta.sma(src, x2)
max = ta.sma(src, x3)
c = src > min and src > mid and src > max ? bull : src > min or src > mid or src > max ? ncol : bear
Heatmap Visualization: The indicator plots these trends as a vertical spectrum where each row represents a different set of SMAs, forming a heatmap-like display. The color of each segment in the heatmap directly correlates with market conditions, providing an intuitive view of market sentiment.
Signal Smoothing: Users can choose to smooth the trend signal using either a Simple Moving Average (SMA), Exponential Moving Average (EMA), or leave it as raw data (Signal Smoothing). The length of smoothing can be adjusted (Smoothing Length). The signal is displayed in a scaled way to automatically adjust for the best visual experience, ensuring that the trend is clear and easily interpretable across different chart scales and time frames
Additional Features:
Plot Signal: Optionally plots a line representing the average trend across all calculated SMAs. This line helps in identifying the overall market direction based on the spectrum data.
Bar Coloring: Bars on the chart can be colored according to the average trend strength, providing a quick visual cue of market conditions.
Usage:
Trend Identification: Use the heatmap to quickly assess if the market is trending strongly in one direction or if it's in a consolidation phase.
Entry/Exit Points: Look for shifts in color patterns to anticipate potential trend changes or confirmations for entry or exit points.
Momentum Analysis: The gradient from bearish to bullish across the spectrum can be used to gauge momentum and potentially forecast future price movements.
Notes:
The effectiveness of this indicator can vary based on market conditions, asset volatility, and the chosen SMA periods and increments.
It's advisable to combine this tool with other technical indicators or fundamental analysis for more robust trading decisions.
Disclaimer: Past performance does not guarantee future results. Always use this indicator as part of a broader trading strategy.
Hezy Levels {Darkoexe}This indicator plots area's of hesitation as price levels on the chart or at least perceived areas of hesitation. I call them "hezy levels". Area's of hesitation are defined as being price levels where price usually has trouble displacing through. Either price will displace through them with hesitation or price will reject off that level.
Each hezy level starts with an attribute "chance" when they are first formed that has the value 3. If price breaks clean through a hezy level, the hezy levels integrity will decrease which will decrement chance by 1. If price rejects off a hezy level, the hezy levels integrity will increase which will increment chance by 1. All hezy levels start orange. If chance reaches a value of 5, it's corresponding hezy level will be changed to blue, if chance reaches a value of 1 its corresponding hezy level will be changed to pink, and if chance reaches a value of 0, the hezy level will be deleted with all its attributes.
Creating a hezy level:
After a candle close, if the script detects a clean rejection at a price point it will search up to 5000 bars back for the most recent area of rejection that happened at that same relative price point. If the script does find rejection at that price point, then the script will ensure that the potential hezy level is valid between the past rejecting price point and the current rejecting price point. If it is valid, the script then ensures the hezy level does not already exist at the relative specified price point, if it does no hezy level will be added. If it does not already exist, if there's a hezy level close to the price point, a new hezy level will be created between the price point and the hezy level and the upper, lower or both hezy level will be deleted.
Factors:
ATR same price factor is the range from a hezy level that is considered the same price level. The factor is multiplied with the ATR to determine the range.
ATR same hezy factor is the range from a hezy level that is considered the same hezy level. This means if there's another hezy level in that range, they are considered the same hezy level and will be merged. The factor is multiplied with the ATR to determine the range.
ATR same break hezy factor is the range from a hezy level where if the close of a candle and the open of a candle are outside the range, then the hezy level will have been considered broken. The factor is multiplied with the ATR to determine the range.
Hammer Ratio:
This indicator considers hammers/shooting stars for hesitation, so if one of these types of candles form near a hezy level, that hezy levels integrity may increase. The ratio is based on the size of the body compared to the entire candle top to bottom. If the body is entirely contained on one side of the candle with a margin of error of the ratio, then that candle will be considered a hammer or shooting star.
BARTU V1 MACD-RSI//@version=6
indicator('MACD ve RSI', overlay = false)
// MACD hesaplama
= ta.macd(close, 12, 26, 9)
macdHist = macdLine - signalLine
// RSI hesaplama
rsiLength = 14
rsiValue = ta.rsi(close, rsiLength)
// MACD çizimleri
hline(0, 'Sıfır Çizgisi', color = color.gray)
plot(macdLine, color = color.blue, title = 'MACD Hattı')
plot(signalLine, color = color.red, title = 'Sinyal Hattı')
plot(macdHist, color = color.green, style = plot.style_histogram, title = 'MACD Histogramı')
// RSI çizimleri
rsiOverbought = 70
rsiOversold = 30
hline(rsiOverbought, 'Aşırı Alım', color = color.red)
hline(rsiOversold, 'Aşırı Satım', color = color.green)
plot(rsiValue, color = color.orange, title = 'RSI')
// Arka Plan Renkleri
bgcolor(rsiValue > rsiOverbought ? color.new(color.red, 90) : na)
bgcolor(rsiValue < rsiOversold ? color.new(color.green, 90) : na)
MACD,RSI,EM9,WMA45 (Scale -100 đến 100)include: MACD,RSI,EM9,WMA45.
All indicators are fixed from -100 to 100.
Momentum Setup - Ankush Bajaj Momentum Investing SetupMomentum Setup - Ankush Bajaj Momentum Investing Setup
Momentum Setup - Ankush Bajaj Momentum Investing SetupMomentum Setup - Ankush Bajaj Momentum Investing Setup
EMA Crossover with RSI and DistanceEMA Crossover with RSI and Distance Strategy
This strategy combines Exponential Moving Averages (EMA) with Relative Strength Index (RSI) and distance-based conditions to generate buy, sell, and neutral signals. It is designed to help traders identify entry and exit points based on multiple technical indicators.
Key Components:
Exponential Moving Averages (EMA):
The strategy uses four EMAs: EMA 5, EMA 13, EMA 40, and EMA 55.
A buy signal (long) is triggered when EMA 5 crosses above EMA 13 and EMA 40 crosses above EMA 55.
A sell signal (short) is generated when EMA 55 crosses above EMA 40.
The distance between EMAs (5 and 13) is also important. If the current distance between EMA 5 and EMA 13 is smaller than the average distance over the last 5 candles, a neutral condition is triggered, preventing a signal even if all other conditions are met.
Relative Strength Index (RSI):
The 14-period RSI is used to determine market strength and direction.
The strategy requires RSI to be above 50 and greater than the average RSI (over the past 14 periods) for a buy signal.
If the RSI is above 60, a green signal is given, indicating a strong bullish condition, even if the EMA conditions are not fully met.
If the RSI is below 40, a red signal is given, indicating a strong bearish condition, regardless of the EMA crossover.
Distance Conditions:
The strategy calculates the distance between EMA 5 and EMA 13 on each candle and compares it to the average distance of the last 5 candles.
If the current distance between EMA 5 and EMA 13 is lower than the average of the last 5 candles, a neutral signal is triggered. This helps avoid entering a trade when the market is losing momentum.
Additionally, if the distance between EMA 40 and EMA 13 is greater than the previous distance, the previous signal is kept intact, ensuring that the trend is still strong enough for the signal to remain valid.
Signal Persistence:
Once a buy (green) or sell (red) signal is triggered, it remains intact as long as the price is closing above EMA 5 for long trades or below EMA 55 for short trades.
If the price moves below EMA 5 for long trades or above EMA 55 for short trades, the signal is recalculated based on the most recent conditions.
Signal Display:
Green Signals: Represent a strong buy signal and are shown below the candle when the RSI is above 60.
Red Signals: Represent a strong sell signal and are shown above the candle when the RSI is below 40.
Neutral Signals: Displayed when the conditions for entry are not met, specifically when the EMA distance condition is violated.
Long and Short Signals: Additional signals are shown based on the EMA crossovers and RSI conditions. These signals are plotted below the candle for long positions and above the candle for short positions.
Trade Logic:
Long Entry: Enter a long trade when EMA 5 crosses above EMA 13, EMA 40 crosses above EMA 55, and the RSI is above 50 and greater than the average RSI. Additionally, the current distance between EMA 5 and EMA 13 should be larger than the average distance of the last 5 candles.
Short Entry: Enter a short trade when EMA 55 crosses above EMA 40 and the RSI is below 40.
Neutral Condition: If the distance between EMA 5 and EMA 13 is smaller than the average distance over the last 5 candles, the strategy will not trigger a signal, even if other conditions are met.