RSI Cross Under Strategy buy and hold
Buys when RSI crosses under 28.5
Takes profit on 50% of the position when the price rises by 900%
Plots buy and sell signals on the chart
Displays the RSI line and oversold level
Shows entry and target prices when in a position
Includes a table with strategy information
BTC 1 day timeframe
المؤشرات والاستراتيجيات
Nifty 50 Relative Strength Indicator🔍 Overview
The Nifty 50 Relative Strength Indicator helps traders identify NSE stocks that are outperforming the Nifty 50 Index while ensuring that they are not overextended beyond key levels. It is designed for trend-following, breakout traders, and Minervini SEPA strategy users who want to trade strong stocks at the right time without chasing overextended moves. 🚀
This indicator is displayed in a separate pane (below RSI) and provides clear labels & alerts for identifying strong stocks within a safe trading range.
📊 Features & Benefits
1️⃣ Relative Strength vs. Nifty 50
🔹 Compares the stock’s performance against Nifty 50
🔹 Identifies when a stock is outperforming the market
2️⃣ RS Line & 50-SMA
📈 Blue Line (RS Line) → Tracks stock’s strength vs. Nifty 50
📉 Red Line (RS 50-SMA) → Helps smooth out RS trend
3️⃣ RS New Highs = Strong Momentum
🔹 Highlights when RS Line is making new highs (bullish confirmation)
4️⃣ Avoid Overextended Stocks 🚨
❌ Stocks that are more than 25% above their 50-SMA are ignored
✅ Ensures safe entry points for strong stocks
5️⃣ Labels for Easy Decision Making
🟢 "✅ Within Range" Label → Stock is in a safe buy zone
🔴 "❌ Not Within Range" Label → Stock is too extended, avoid chasing
6️⃣ Background Highlighting
🔹 Blue Background = Stock is outperforming Nifty 50 & in the right price range
🔹 No color? The stock is either weak or too extended
7️⃣ Alerts for Trading Automation
📢 Get notified when:
✅ A stock outperforms Nifty 50 & is within range
⚠️ A stock is overextended (more than 25% above 50-SMA)
📢 How to Use
1️⃣ Apply this indicator on any NSE stock
2️⃣ Check the label in the separate pane:
✅ Green: Within Range (Safe Trade Setup)
❌ Red: Not Within Range (Avoid Entry)
3️⃣ Use the RS Line to confirm strong stocks making new highs
4️⃣ Enable Alerts for breakout opportunities
⚡ Ideal For
✅ Breakout Traders (Minervini SEPA, CANSLIM, Trend Following)
✅ Swing & Position Traders Looking for Strong Stocks
✅ Trend Followers Avoiding Weak & Extended Stocks
✅ Nifty 50 & NSE Stock Traders
🔗 Add This to Your TradingView Now!
This AI-powered Relative Strength indicator simplifies stock selection & keeps your trades within the right risk-reward zones.
💬 Let us know your feedback & improvements! Happy Trading! 🔥
🚀 #TradingView #RelativeStrength #Minervini #BreakoutTrading #Nifty50 #TrendFollowing #StockMarket #AITrading
OmniPulse (Fixed Version)OmniPulse (Fixed Version) – Description
OmniPulse is a multi-indicator framework designed to combine three core oscillators—RSI, Stochastic, and Momentum—at various lookback lengths, then refine their signals using placeholder features such as machine learning forecasting, adaptive cycle detection, and neural network filtering. While some of these advanced features are not natively supported in Pine Script, they are represented here in simplified forms to illustrate how a more sophisticated system could be structured.
Key Components:
Multi-Length Oscillator Arrays
RSI (calcrsi() function)
Stochastic (placeholder via ta.sma() on a typical price average)
Momentum (ta.roc())
These are calculated for multiple lengths defined by the rsiLengths, stochLengths, and momentumLengths arrays.
Dual-Threshold Convergence
Compares each oscillator’s value to user-defined upper/lower thresholds (threshold1, threshold2) to identify bullish or bearish conditions.
Summarizes results in a convergence score.
Placeholder Machine Learning Forecast
Demonstrates a simple averaging of oscillator values as a “forecast” when toggled on.
Adaptive Cycle Detection (Placeholder)
Introduces a static cycle period (e.g., 20.0) as a placeholder for more advanced transforms.
Neural Network Filter (Placeholder)
Averages convergence, forecast, and cyclePeriod into a single filteredSignal.
Signal Plotting
Plots the filtered signal on the chart.
Highlights potential bullish or bearish extremes with shape markers based on percentile thresholds.
Practical Use & Extension:
Real Multi-Timeframe Analysis: Replace placeholders with request.security() for each timeframe.
Advanced Forecasting: Incorporate custom or external machine learning models.
Genuine Cycle Detection: Implement more sophisticated logic or user-defined cycle detection tools.
Neural Network Heuristics: Expand the placeholder step into a deeper filtering or weighting system.
Overall, OmniPulse serves as an adaptable blueprint for traders and developers, showcasing how multiple indicators and advanced concepts might be combined into a cohesive, signal-generating framework.
AwAc OscillatorThis indicator combines the Awesome Oscillator and the Accelerator Oscillator, allowing you to select either of them. It can be particularly useful when you want to utilize both oscillators along with the Parabolic SAR to develop a powerful trading strategy.
Strategy Overview
In the strategy described below, the Parabolic SAR should be added to the main chart.
Short Trade Criteria
The Awesome Oscillator turns red.
The Accelerator Oscillator turns red.
The Parabolic SAR is above the current candle.
All conditions for a short trade must be met below the 200 EMA.
Action: Go short at the opening of the next candle.
Long Trade Criteria
The Awesome Oscillator turns green.
The Accelerator Oscillator turns green.
The Parabolic SAR is below the current candle.
All conditions for a long trade must be met above the 200 EMA.
Action: Go long at the opening of the next candle.
MIMA with Shaded Fibonacci Zones It is a combined sma settings that have a bigger weight on the most recent price movements that are meant to be used when at the background colors (which identifiy fibonnaci levels on a higher time frame). At that point, use the smaller MIMas to identify the begining of the movement and the higher ones to identify bigger trends, or support and resistance levels
Month of Year Performance█ OVERVIEW
The Month of Year Performance indicator is designed to visualize and compare the cumulative percentage change for each month of the year. By aggregating monthly returns, it helps uncover seasonal trends and potential anomalies in financial markets.
In financial analysis, a calendar based anomaly refers to recurring patterns or tendencies associated with specific time periods, such as days of the week. By calculating the cumulative percentage change for each month (January through December) and displaying the results both graphically and in a summary table, this indicator helps identify whether certain months
consistently outperform others.
█ FEATURES
Customisable time window via Time Settings.
Calculates cumulative percentage change for each month (January to December) separately.
Built-in error check to ensure the indicator is applied on a Monthly timeframe.
Distinct visual representation for each month using unique colours.
Customisable table settings including location and font size.
Displays a performance summary table with metrics such as performance, average return, % positive, and count.
█ HOW TO USE
Add the indicator to a chart set to a Monthly timeframe.
Select your desired Start Time and End Time in the Time Settings.
Toggle the performance table on or off in the Table Settings.
Adjust the table’s location and font size as needed.
View the cumulative monthly performance plotted in distinct colours.
Colour Scheme:
January: Blue
February: Red
March: Green
April: Orange
May: Purple
June: Fuchsia
July: Teal
August: Yellow
September: Navy
October: Lime
November: Maroon
December: Aqua
Moving Volume DensityMoving Volume Density (MVD) is a custom TradingView indicator written in Pine Script™ (version 6) that blends volume analysis with price range data to offer a unique perspective on market dynamics. By measuring the total volume over a specified period and relating it to the price range during the same interval, this indicator provides valuable insights into the concentration of trading activity relative to price movement.
Key Features:
User-Defined Period: The indicator uses an input period (default 20 bars) to calculate both the total volume and the price range. This flexibility allows you to tailor the analysis to your preferred timeframe.
Volume Calculation: It computes the sum of the volume over the defined period, capturing the cumulative trading activity.
Price Range Determination: The indicator identifies the highest high and the lowest low within the period, calculating the price range (difference between the two). This range serves as the denominator in the density calculation.
Volume Density Computation: Volume Density is derived by dividing the total volume by the price range. This metric reveals how concentrated the volume is within the observed price movement. To prevent division errors, the calculation returns 'NA' when the price range is zero.
Visual Representation: The resulting Volume Density is plotted as a line on a separate sub-window, making it easy to compare with other indicators or overlay your analysis.
「Moving Volume Density (MVD) インジケーター」は、Pine Script™(バージョン6)で作成されたカスタムインジケーターです。出来高の分析と、指定期間内の高値・安値による価格レンジの情報を組み合わせることで、市場のダイナミクスに対する独自の視点を提供します。指定された期間内の合計出来高とその期間内の価格レンジの比率から、価格変動に対する出来高の集中度を示す指標となります。
主な特徴:
ユーザー定義の期間: インジケーターは、入力された期間(デフォルトは20本のバー)を基に、合計出来高と価格レンジ(最高値と最安値の差)の両方を計算します。これにより、ご自身の分析に合わせた柔軟な設定が可能です。
出来高の計算: 指定期間内の全出来高を合計することで、累積的な取引活動を把握します。
価格レンジの算出: 期間内の最高値と最安値を取得し、その差を価格レンジとして算出。このレンジは、出来高密度の計算における分母として使用されます。
出来高密度の計算: 合計出来高を価格レンジで割ることで、出来高がどれだけ価格変動内に集中しているかを示す「出来高密度」を求めます。なお、価格レンジがゼロの場合はゼロ除算を避けるため「NA」を返す設計となっています。
視覚的な表現: 計算結果はサブウィンドウにラインとしてプロットされ、他のインジケーターとの併用や比較が容易に行えます。
Heiken Ashi + ATR StrategyStrategy: Heiken Ashi + Super Trend Reversal (STR) for TradingView
This strategy combines Heiken Ashi candles and the Super Trend Reversal (STR) indicator to detect trend shifts and generate buy/sell signals. It is designed to minimize noise, making it ideal for trend-following traders in Forex, Stocks, and Crypto.
Strategy Logic
🔹 Entry Condition (Buy)
A long position is opened when:
Heiken Ashi candle turns green (indicating bullish momentum).
Super Trend Reversal (STR) confirms a buy signal (price is above the STR support level).
🔻 Exit Condition (Sell)
The position closes when:
Heiken Ashi candle turns red (indicating bearish pressure).
Super Trend Reversal (STR) confirms a sell signal (price is below the STR resistance level).
Risk Management (Stop Loss & Take Profit)
This strategy uses ATR (Average True Range) for dynamic risk management:
✔ Stop Loss: 1.5 × ATR below entry price
✔ Take Profit: 3 × ATR above entry price
This ensures a risk-reward ratio of 1:2, maximizing profit potential.
Indicators Used
1️⃣ Heiken Ashi Candles → Smoothed price action for clearer trend detection.
2️⃣ Super Trend Reversal (STR) → A volatility-based trend-following indicator.
3️⃣ ATR (Average True Range) → Measures market volatility to adjust stop-loss and take-profit dynamically.
How to Use This Strategy in TradingView
Go to TradingView
Open the Pine Script Editor
Paste the Pine Script Code (provided earlier)
Run the strategy
Backtest it on different timeframes & markets
Best Timeframes & Markets
✅ Works best on trending markets (Forex, Crypto, Stocks).
✅ Recommended timeframes: 1H, 4H, Daily for optimal results.
Why This Strategy Works Well?
✔ Filters market noise using Heiken Ashi for smoother trends.
✔ Combines trend confirmation with STR for higher accuracy.
✔ Uses ATR-based stop-loss & take-profit for optimized risk management.
✔ Easy to use with visual Buy/Sell signals.
🚀 Try it on TradingView now and optimize it for your favorite asset! 🚀
IBD Relative Strength with MAUnlike existing IBD Relative Strength indicators, this one has a moving average element to help track how the relative strength of your stock is performing longer term.
This indicator comes with two features:
1. The Relative Strength (RS) indicator
2. The moving average (MA) of the RS
In general, when the RS is moving up, the stock is out performing the index; and when down, it is underperforming. If flat, then the stock is moving inline with the index. The default index is SPY, but you can change that in the settings.
With the MA addition, you can quickly see how the RS is trending and tell if, on that day or week when the RS is moving down, is your stock still holding above the moving average trend--Is it still outperforming the market?
There are several features you can adjust in the settings:
1. You can set the RS to track against any stock or index
2. You can set the look back period for RS comparison (the default is 63 for a full quarter on the daily timeframe)
3. You can adjust the moving average time length (the default is 10 for two weeks on the daily timeframe)
4. You can determine if you want a simple or exponential moving average for your MA indicator
Hope you enjoy! Thanks for checking it out.
Starfield Scroller█ OVERVIEW
This script creates a visually appealing starfield effect on your chart. It generates and animates multiple star fields, each customizable with its own parameters. Explore the input options to adjust the number of stars, their speed, and color.
█ CONCEPTS
The script is a simple demonstration, and utilizes a custom `starfield` function and my `geo` library for point management. It simulates a parallax effect by creating stars at random positions and moving them across the chart at varying speeds.
Star Creation
• Stars are generated with random X and Y coordinates within defined boundaries.
• Each star is assigned a random speed factor, influencing its movement speed.
• Star color is also influenced by its speed; faster stars appear more transparent.
Star Movement & Management
• The script maintains a dynamic array of Star structures. Each Star structure holds the star's creation bar index, location (as a Point ), speed factor, and the label used to display it.
• On each new bar, new stars are created and added to the array.
• Stars are moved horizontally based on their speed factor.
• Stars that move off-screen are deleted to manage resource usage.
• The maximum number of stars for each starfield instance is controlled by an input parameter.
Parallax Effect
• The varying speeds of the stars create a parallax effect, giving the illusion of depth to the starfield.
█ FEATURES
This script includes two independent starfield instances, each configurable via inputs.
Starfield 1:
• Max Stars 1: Maximum number of stars in the first starfield.
• New Stars Per Bar 1: Number of new stars created per bar for the first starfield.
• Max Star Speed 1: Maximum speed of the stars in the first starfield.
• Star Color 1: Color of the stars in the first starfield.
Starfield 2:
• Max Stars 2: Maximum number of stars in the second starfield.
• New Stars Per Bar 2: Number of new stars created per bar for the second starfield.
• Max Star Speed 2: Maximum speed of the stars in the second starfield.
• Star Color 2: Color of the stars in the second starfield.
█ HOW TO USE
1 — Add the script to your chart.
2 — Adjust the input parameters for each starfield to customize its appearance and behavior.
3 — Observe the animated starfield effect.
█ LIMITATIONS
• Excessive numbers of stars may impact performance. Adjust the maximum number of stars and new stars per bar accordingly.
• The script uses labels for rendering stars, which can have limitations on certain chart timeframes and settings.
█ NOTES
This script is intended for visual enhancement and does not provide trading signals. It demonstrates the use of custom types, arrays, and functions for creating complex visual effects in Pine Script™. The `geo` library is used for consistent point calculations.
█ THANKS
Thanks to the TradingView community for inspiration and support.
Optimized SMA Crossover with VWAP, ADX Filter, and Dynamic S/RKey Changes:
ADX Filter Enhancement: Added a check to ensure that the plusDI is greater than minusDI for a long signal and vice versa for a short signal. This ensures that the trend is in the direction of the crossover.
Removed Fake Signals: By ensuring that the crossover is in the direction of the trend (using plusDI and minusDI), we reduce the likelihood of false signals.
Consolidated Logic: The script now ensures that signals are only generated when the price is in a clear trend and the crossover is sustained.
This should help in reducing fake signals and provide more reliable buy/sell signals based on the SMA crossover, VWAP filter, and ADX trend strength.
ICT Master Final**Title:** ICT Master Final – Advanced Smart Money Concepts Indicator
**Description:**
The **ICT Master Final** indicator is a powerful tool designed for traders utilizing **Smart Money Concepts (SMC)** and **ICT (Inner Circle Trader) methodology**. It helps identify critical price action patterns such as **Fair Value Gaps (FVGs), Order Blocks (OBs), and Kill Zones**, offering precise trade setups in high-probability areas.
### **Key Features:**
✅ **Fair Value Gaps (FVGs)** – Highlights bullish and bearish FVG zones for potential liquidity imbalances.
✅ **Order Blocks (OBs)** – Detects significant bullish and bearish order blocks based on price action and ATR thresholds.
✅ **Kill Zones** – Identifies key trading sessions (New York Morning & Afternoon) where institutional activity is prevalent.
✅ **Custom Alerts** – Get notified when an order block aligns with a kill zone for high-probability trade setups.
### **How It Works:**
- **FVGs Detection:** Finds gaps in price structure, marking areas where price may return to fill liquidity.
- **Order Blocks Identification:** Detects strong institutional levels based on market structure shifts.
- **Kill Zones Highlighting:** Displays optimal trading times using New York session timing (9:30-11:30 AM & 12:30-4:00 PM EST).
### **Who Is This For?**
📈 **Day Traders & Scalpers** – Ideal for those trading intraday liquidity.
📊 **ICT & SMC Traders** – Perfect for traders following institutional trading strategies.
🔍 **Forex, Indices, Crypto Traders** – Works across multiple asset classes and timeframes.
**🚀 Add this to your chart and enhance your trading precision with institutional-grade insights!**
Expected Move LevelsInput: Expected move (EM) as a percentage
Plots: Levels with 0.5EM spaces up and down until 3EM with red lines.
Useful for expected move traders for SPX 0DTE.
langshen K-Line CounterEnglish Description:**
This indicator, named “langshen K-Line Counter,” is designed to count the number of K-line bars (candlesticks) during the current trading day. The key functionalities include:
- **Daily Reset**: At the start of a new trading day (detected by the change in daily time), the counter automatically resets to 1.
- **Incremental Counting**: For each new bar within the same trading day, the counter increments by 1, thus recording the sequence number of each K-line.
- **Chart Display**: The current count is displayed as a numerical label above the high of each K-line on the chart. Users can customize the text size and color of these numbers.
This feature enables traders to visually track the number of K-lines and their sequence within the day, which can assist in analyzing market trends and the pace of price movements.
中文介绍:**
此指标名为“langshen K线计数器”,主要用于统计当前交易日内的K线(蜡烛图)数量。指标的核心功能包括:
- **每日计数重置**:在交易所日切换时(即新的一天开始时),计数器自动重置为1。
- **逐根累加**:在同一交易日内,每根新出现的K线都会使计数器加1,从而记录当天的K线序号。
- **图表展示**:计数器的当前值会以数字标签的形式显示在每根K线的最高价上方,用户可自定义数字的显示大小和颜色。
这种功能可以帮助交易者直观地了解当天市场中的K线数量以及K线的序号变化,辅助分析市场的走势和节奏。
EE's Levels & TargetsThis indicator is meant to be used by subscribers of Efficient Enzyme's daily plans for /ES, but it can be used by anyone that prefers to draw levels on their chart with a simple copy and paste. The code is largely based off the "honey marks" indicator created by honeybear, but it has been slimmed down to focus on just the newsletter levels.
There are options to draw levels of support and resistance, as well as bull and bear targets. Each can be styled to personal taste. Values can be copied and pasted directly from EE's newsletter.
Like in the original code, levels that are provided as "zones" because they are trendlines can be drawn as boxes by entering a range as a value (i.e. 6120-6124).
You now have the option to draw any/all of the levels as zones rather than single values, and you are able to specify the height of the zone boxes.
If you are not a subscriber, you need to check out EE's Substack at efficientenzyme.substack.com/ . Take a free trial, join the group, and learn price action from the best in the business.
1W Timeframe Swing Trading This script is a multi-timeframe swing trading strategy for TradingView. It analyzes weekly swing highs/lows for trend direction and uses 5-minute pivot points for trade entries. It applies this logic to XAUUSD (Gold) and NAS100 (NASDAQ 100 Index)
ATR BandAs name suggests, this indicator is ATR band. Here you can specify upper band config and lower band config. Also Source last few bars are also given choice, so that ATR bands can be drawn considering last few candles. You can use these channels to help out with target, stop loss channel.
SMA 5 Upper Distance AlertWill plot a mark on candles if 5 Simple moving average is away from the open of candle. Applies only to positive side.
Thanks,
Rohan H