[COG]StochRSI Zenith📊 StochRSI Zenith
This indicator combines the traditional Stochastic RSI with enhanced visualization features and multi-timeframe analysis capabilities. It's designed to provide traders with a comprehensive view of market conditions through various technical components.
🔑 Key Features:
• Advanced StochRSI Implementation
- Customizable RSI and Stochastic calculation periods
- Multiple moving average type options (SMA, EMA, SMMA, LWMA)
- Adjustable signal line parameters
• Visual Enhancement System
- Dynamic wave effect visualization
- Energy field display for momentum visualization
- Customizable color schemes for bullish and bearish signals
- Adaptive transparency settings
• Multi-Timeframe Analysis
- Higher timeframe confirmation
- Synchronized market structure analysis
- Cross-timeframe signal validation
• Divergence Detection
- Automated bullish and bearish divergence identification
- Customizable lookback period
- Clear visual signals for confirmed divergences
• Signal Generation Framework
- Price action confirmation
- SMA-based trend filtering
- Multiple confirmation levels for reduced noise
- Clear entry signals with customizable display options
📈 Technical Components:
1. Core Oscillator
- Base calculation: 13-period RSI (adjustable)
- Stochastic calculation: 8-period (adjustable)
- Signal lines: 5,3 smoothing (adjustable)
2. Visual Systems
- Wave effect with three layers of visualization
- Energy field display with dynamic intensity
- Reference bands at 20/30/50/70/80 levels
3. Confirmation Mechanisms
- SMA trend filter
- Higher timeframe alignment
- Price action validation
- Divergence confirmation
⚙️ Customization Options:
• Visual Parameters
- Wave effect intensity and speed
- Energy field sensitivity
- Color schemes for bullish/bearish signals
- Signal display preferences
• Technical Parameters
- All core calculation periods
- Moving average types
- Divergence detection settings
- Signal confirmation criteria
• Display Settings
- Chart and indicator signal placement
- SMA line visualization
- Background highlighting options
- Label positioning and size
🔍 Technical Implementation:
The indicator combines several advanced techniques to generate signals. Here are key components with code examples:
1. Core StochRSI Calculation:
// Base RSI calculation
rsi = ta.rsi(close, rsi_length)
// StochRSI transformation
stochRSI = ((ta.highest(rsi, stoch_length) - ta.lowest(rsi, stoch_length)) != 0) ?
(100 * (rsi - ta.lowest(rsi, stoch_length))) /
(ta.highest(rsi, stoch_length) - ta.lowest(rsi, stoch_length)) : 0
2. Signal Generation System:
// Core signal conditions
crossover_buy = crossOver(sk, sd, cross_threshold)
valid_buy_zone = sk < 30 and sd < 30
price_within_sma_bands = close <= sma_high and close >= sma_low
// Enhanced signal generation
if crossover_buy and valid_buy_zone and price_within_sma_bands and htf_allows_long
if is_bullish_candle
long_signal := true
else
awaiting_bull_confirmation := true
3. Multi-Timeframe Analysis:
= request.security(syminfo.tickerid, mtf_period,
)
The HTF filter looks at a higher timeframe (default: 4H) to confirm the trend
It only allows:
Long trades when the higher timeframe is bullish
Short trades when the higher timeframe is bearish
📈 Trading Application Guide:
1. Signal Identification
• Oversold Opportunities (< 30 level)
- Look for bullish crosses of K-line above D-line
- Confirm with higher timeframe alignment
- Wait for price action confirmation (bullish candle)
• Overbought Conditions (> 70 level)
- Watch for bearish crosses of K-line below D-line
- Verify higher timeframe condition
- Confirm with bearish price action
2. Divergence Trading
• Bullish Divergence
- Price makes lower lows while indicator makes higher lows
- Most effective when occurring in oversold territory
- Use with support levels for entry timing
• Bearish Divergence
- Price makes higher highs while indicator shows lower highs
- Most reliable in overbought conditions
- Combine with resistance levels
3. Wave Effect Analysis
• Strong Waves
- Multiple wave lines moving in same direction indicate momentum
- Wider wave spread suggests increased volatility
- Use for trend strength confirmation
• Energy Field
- Higher intensity in trading zones suggests stronger moves
- Use for momentum confirmation
- Watch for energy field convergence with price action
The energy field is like a heat map that shows momentum strength
It gets stronger (more visible) when:
Price is in oversold (<30) or overbought (>70) zones
The indicator lines are moving apart quickly
A strong signal is forming
Think of it as a "strength meter" - the more visible the energy field, the stronger the potential move
4. Risk Management Integration
• Entry Confirmation
- Wait for all signal components to align
- Use higher timeframe for trend direction
- Confirm with price action and SMA positions
• Stop Loss Placement
- Consider placing stops beyond recent swing points
- Use ATR for dynamic stop calculation
- Account for market volatility
5. Position Management
• Partial Profit Taking
- Consider scaling out at overbought/oversold levels
- Use wave effect intensity for exit timing
- Monitor energy field for momentum shifts
• Trade Duration
- Short-term: Use primary signals in trading zones
- Swing trades: Focus on divergence signals
- Position trades: Utilize higher timeframe signals
⚠️ Important Usage Notes:
• Avoid:
- Trading against strong trends
- Relying solely on single signals
- Ignoring higher timeframe context
- Over-leveraging based on signals
Remember: This tool is designed to assist in analysis but should never be used as the sole decision-maker for trades. Always maintain proper risk management and combine with other forms of analysis.
אינדיקטורים ואסטרטגיות
TASC 2025.03 A New Solution, Removing Moving Average Lag█ OVERVIEW
This script implements a novel technique for removing lag from a moving average, as introduced by John Ehlers in the "A New Solution, Removing Moving Average Lag" article featured in the March 2025 edition of TASC's Traders' Tips .
█ CONCEPTS
In his article, Ehlers explains that the average price in a time series represents a statistical estimate for a block of price values, where the estimate is positioned at the block's center on the time axis. In the case of a simple moving average (SMA), the calculation moves the analyzed block along the time axis and computes an average after each new sample. Because the average's position is at the center of each block, the SMA inherently lags behind price changes by half the data length.
As a solution to removing moving average lag, Ehlers proposes a new projected moving average (PMA) . The PMA smooths price data while maintaining responsiveness by calculating a projection of the average using the data's linear regression slope.
The slope of linear regression on a block of financial time series data can be expressed as the covariance between prices and sample points divided by the variance of the sample points. Ehlers derives the PMA by adding this slope across half the data length to the SMA, creating a first-order prediction that substantially reduces lag:
PMA = SMA + Slope * Length / 2
In addition, the article includes methods for calculating predictions of the PMA and the slope based on second-order and fourth-order differences. The formulas for these predictions are as follows:
PredictPMA = PMA + 0.5 * (Slope - Slope ) * Length
PredictSlope = 1.5 * Slope - 0.5 * Slope
Ehlers suggests that crossings between the predictions and the original values can help traders identify timely buy and sell signals.
█ USAGE
This indicator displays the SMA, PMA, and PMA prediction for a specified series in the main chart pane, and it shows the linear regression slope and prediction in a separate pane. Analyzing the difference between the PMA and SMA can help to identify trends. The differences between PMA or slope and its corresponding prediction can indicate turning points and potential trade opportunities.
The SMA plot uses the chart's foreground color, and the PMA and slope plots are blue by default. The plots of the predictions have a green or red hue to signify direction. Additionally, the indicator fills the space between the SMA and PMA with a green or red color gradient based on their differences:
Users can customize the source series, data length, and plot colors via the inputs in the "Settings/Inputs" tab.
█ NOTES FOR Pine Script® CODERS
The article's code implementation uses a loop to calculate all necessary sums for the slope and SMA calculations. Ported into Pine, the implementation is as follows:
pma(float src, int length) =>
float PMA = 0., float SMA = 0., float Slope = 0.
float Sx = 0.0 , float Sy = 0.0
float Sxx = 0.0 , float Syy = 0.0 , float Sxy = 0.0
for count = 1 to length
float src1 = src
Sx += count
Sy += src
Sxx += count * count
Syy += src1 * src1
Sxy += count * src1
Slope := -(length * Sxy - Sx * Sy) / (length * Sxx - Sx * Sx)
SMA := Sy / length
PMA := SMA + Slope * length / 2
However, loops in Pine can be computationally expensive, and the above loop's runtime scales directly with the specified length. Fortunately, Pine's built-in functions often eliminate the need for loops. This indicator implements the following function, which simplifies the process by using the ta.linreg() and ta.sma() functions to calculate equivalent slope and SMA values efficiently:
pma(float src, int length) =>
float Slope = ta.linreg(src, length, 0) - ta.linreg(src, length, 1)
float SMA = ta.sma(src, length)
float PMA = SMA + Slope * length * 0.5
To learn more about loop elimination in Pine, refer to this section of the User Manual's Profiling and optimization page.
FVG Reversal SentinelFVG Reversal Sentinel
A Fair Value Gap (FVG) is an area on a price chart where there is a gap between candles. It indicates an imbalance in the market due to rapid price movement. It represents untraded price levels caused by strong buying or selling pressure.
FVGs are crucial in price action trading as they highlight the difference between the current market price of an asset and its fair value. Traders use these gaps to identify potential trading opportunities, as they often indicate areas where the market may correct itself.
This indicator will overlap multiple timeframes FVGs over the current timeframe to help traders anticipate and plan their trades.
Features
Up to 5 different timeframes can be displayed on a chart
Hide the lower timeframes FVGs to get a clear view in a custom timeframe
Configurable colors for bullish and bearish FVGs
Configurable borders for the FVG boxes
Configurable labels for the different timeframes you use
Show or hide mitigated FVGs to declutter the chart
FVGs are going to be displayed only when the candle bar closes
FVGs are going to be mitigated only when the body of the candle closes above or below the FVG area
No repainting
Settings
TIMEFRAMES
This indicator provides the ability to select up to 5 timeframes. These timeframes are based on the trader's timeframes including any custom timeframes.
Select the desired timeframe from the options list
Add the label text you would like to show for the selected timeframe
Check or uncheck the box to display or hide the timeframe from your chart
FVG SETTINGS
Control basic settings for the FVGs
Length of boxes: allows you to select the length of the box that is going to be displayed for the FVGs
Delete boxes after fill?: allows you to show or hide mitigated FVGs on your chart
Hide FVGs lower than enabled timeframes?: allows you to show or hide lower timeframe FVGs on your chart. Example - You are in a 15 minutes timeframe chart, if you choose to hide lower timeframe FVGs you will not be able to see 5 minutes FVG defined in your Timeframes Settings, only 15 minutes or higher timeframe FVGs will be displayed on your chart
BOX VISUALS
Allows you to configure the color and opacity of the bullish and bearish FVGs boxes.
Bullish FVG box color: the color and opacity of the box for the bullish FVGs
Bearish FVG box color: the color and opacity of the box for the bearish FVGs
LABELS VISUALS
Allows you to configure the style of the boxes labels
Bullish FVG labels color: the color for bullish labels
Bearish FVG labels color: the color for bearish labels
Labels size: the size of the text displayed in the labels
Labels position: the position of the label inside the FVGs boxes (right, left or center)
BORDER VISUALS
Allows you to configure the border style of the FVGs boxes
Border width: the width of the border (the thickness)
Bullish FVG border color: the color and the opacity of the bullish box border
Bearish FVG border color: the color and the opacity of the bearish box border
Once desired settings have been achieved, the settings can be saved as default from the bottom left of the indicator settings page for future use.
Dynamic 2025this indicator is use for all members .
this indicator for use scalping.
this indicator for use interaday.
this indicator for use Swing Trading.
this indicator for use investment.
join for more profitable indicator please join me in teligram group
@profitnifty50
ايجابي بالشموع//@version=5
indicator("Metastock", overlay=true)
// شرط الشراء
buyCondition = open > close and low < low and close > close and close >= open and close <= high and close <= high and close > high
// شرط البيع (عكس شرط الشراء)
sellCondition = open < close and low > low and close < close and close <= open and close >= low and close >= low and close < low
// إضافة ملصق عند تحقق شرط الشراء (أسفل الشمعة)
if buyCondition
label.new(bar_index, low, "ايجابي", color=color.green, textcolor=color.white, style=label.style_label_up, yloc=yloc.belowbar)
// إضافة ملصق عند تحقق شرط البيع (أعلى الشمعة)
if sellCondition
label.new(bar_index, high, "سلبي", color=color.red, textcolor=color.white, style=label.style_label_down, yloc=yloc.abovebar)
Footprint IQ Pro [TradingIQ]Hello Traders!
Introducing "Footprint IQ Pro"!
Footprint IQ Pro is an all-in-one Footprint indicator with several unique features.
Features
Calculated delta at tick level
Calculated delta ratio at tick level
Calculated buy volume at tick level
Calculated sell volume at tick level
Imbalance detection
Stacked imbalance detection
Stacked imbalance alerts
Value area and POC detection
Highest +net delta levels detection
Lowest -net delta levels detection
CVD by tick levels
Customizable values area percentage
The image above thoroughly outlines what each metric in the delta boxes shows!
Metrics In Delta Boxes
"δ:", " δ%:", " ⧎: ", " ◭: ", " ⧩: "
δ Delta (Difference between buy and sell volume)
δ% Delta Ratio (Delta as a percentage of total volume)
⧎ Total Volume At Level (Total volume at the price area)
◭ Total Buy Volume At Level (Total buy volume at the price area)
⧩ Total Sell Volume At Level (total sell volume at the price area)
Each metric comes with a corresponding symbol.
That said, until you become comfortable with the symbol, you can also turn on the descriptive labels setting!
The image above exemplifies the feature.
The image above shows Footprint IQ's full power!
Additionally, traders with an upgraded TradingView plan can make use of the "1-Second" feature Footprint IQ offers!
The image above shows each footprint generated using 1-second volume data. 1-second data is highly granular compared to 1-minute data and, consequently, each footprint is exceptionally more accurate!
Imbalance Detection
Footprint IQ pro is capable of detecting user-defined delta imbalances.
The image above further explains how Footprint IQ detects imbalances!
The imbalance percentage is customizable in the settings, and is set to 70% by default.
Therefore,
When net delta is positive, and the positive net delta constitutes >=70% of the total volume, a buying imbalance will be detected (upwards triangle).
When net delta is negative, and the negative net delta constitutes >=70% of the total volume, a buying imbalance will be detected (downwards triangle).
Stacked Imbalance Detection
In addition to imbalance detection, Footprint IQ Pro can also detect stacked imbalances!
The image above shows Footprint IQ Pro detecting stacked imbalances!
Stacked imbalances occur when consecutive imbalances at sequential price areas occur. Stacked imbalances are generally interpreted as significant price moves that are supported by volume, rather than a significant result with disproportionate effort.
The criteria for stacked imbalance detection (how many imbalances must occur at sequential price areas) is customizable in the settings.
The default value is three. Therefore, when three imbalances occur at sequential price areas, golden triangles will begin to print to show a stacked imbalance.
Additionally, traders can set alerts for when stacked imbalances occur!
Highest +Delta and Highest -Delta Levels
In addition to being a fully-fledged Footprint indicator, Footprint IQ Pro goes one step further by detecting price areas where the greater +Delta and -Delta are!
The image above shows price behavior near highest +Delta price areas detected by Footprint IQ!
These +Delta levels are considered important as there has been strong interest from buyers at these price areas when they are traded at.
It's expected that these levels can function as support points that are supported by volume.
The image above shows a similar function for resistance points!
Blue lines = High +Delta Detected Price Areas
Red lines = High -Delta Detected Price Areas
Value Area Detection
Similar to traditional volume profile, Footprint IQ Pro displays the value area per bar.
Green lines next to each footprint show the value area for the bar. The value area % is customizable in the settings.
CVD Levels
Footprint IQ Pro is capable of storing historical volume delta information to provide CVD measurements at each price area!
The image above exemplifies this feature!
When this feature is enabled, you will see the CVD of each price area, rather than the net delta!
And that's it!
Thank you so much to TradingView for offering the greatest charting platform for everyone to create on!
If you have any feature requests you'd like to see for Footprint IQ, please feel free to share them with us!
Thank you!
Multi-Timeframe Trend StatusThis Multi-Timeframe Trend Status indicator tracks market trends across four timeframes ( by default, 65-minute, 240-minute, daily, and monthly). It uses a Volatility Stop based on the Average True Range (ATR) to determine the trend direction. The ATR is multiplied by a user-adjustable multiplier to create a dynamic buffer zone that filters out market noise.
The indicator tracks the volatility stop and trend direction for each timeframe. In an uptrend, the stop trails below the price, adjusting upward, and signals a downtrend if the price falls below it. In a downtrend, the stop trails above the price, moving down with the market, and signals an uptrend if the price rises above it.
Two input parameters allow for customization:
ATR Length: Defines the period for ATR calculation.
ATR Multiplier: Adjusts the sensitivity of trend changes.
This setup lets traders align short-term decisions with long-term market context and spot potential trading opportunities or reversals.
Multi-Indicator Signals with Selectable Options by DiGetMulti-Indicator Signals with Selectable Options
Script Overview
This Pine Script is a multi-indicator trading strategy designed to generate buy/sell signals based on combinations of popular technical indicators: RSI (Relative Strength Index) , CCI (Commodity Channel Index) , and Stochastic Oscillator . The script allows you to select which combination of signals to display, making it highly customizable and adaptable to different trading styles.
The primary goal of this script is to provide clear and actionable entry/exit points by visualizing buy/sell signals with arrows , labels , and vertical lines directly on the chart. It also includes input validation, dynamic signal plotting, and clutter-free line management to ensure a clean and professional user experience.
Key Features
1. Customizable Signal Types
You can choose from five signal types:
RSI & CCI : Combines RSI and CCI signals for confirmation.
RSI & Stochastic : Combines RSI and Stochastic signals.
CCI & Stochastic : Combines CCI and Stochastic signals.
RSI & CCI & Stochastic : Requires all three indicators to align for a signal.
All Signals : Displays individual signals from each indicator separately.
This flexibility allows you to test and use the combination that works best for your trading strategy.
2. Clear Buy/Sell Indicators
Arrows : Buy signals are marked with upward arrows (green/lime/yellow) below the candles, while sell signals are marked with downward arrows (red/fuchsia/gray) above the candles.
Labels : Each signal is accompanied by a label ("BUY" or "SELL") near the arrow for clarity.
Vertical Lines : A vertical line is drawn at the exact bar where the signal occurs, extending from the low to the high of the candle. This ensures you can pinpoint the exact entry point without ambiguity.
3. Dynamic Overbought/Oversold Levels
You can customize the overbought and oversold levels for each indicator:
RSI: Default values are 70 (overbought) and 30 (oversold).
CCI: Default values are +100 (overbought) and -100 (oversold).
Stochastic: Default values are 80 (overbought) and 20 (oversold).
These levels can be adjusted to suit your trading preferences or market conditions.
4. Input Validation
The script includes built-in validation to ensure that oversold levels are always lower than overbought levels for each indicator. If the inputs are invalid, an error message will appear, preventing incorrect configurations.
5. Clean Chart Design
To avoid clutter, the script dynamically manages vertical lines:
Only the most recent 50 buy/sell lines are displayed. Older lines are automatically deleted to keep the chart clean.
Labels and arrows are placed strategically to avoid overlapping with candles.
6. ATR-Based Offset
The vertical lines and labels are offset using the Average True Range (ATR) to ensure they don’t overlap with the price action. This makes the signals easier to see, especially during volatile market conditions.
7. Scalable and Professional
The script uses arrays to manage multiple vertical lines, ensuring scalability and performance even when many signals are generated.
It adheres to Pine Script v6 standards, ensuring compatibility and reliability.
How It Works
Indicator Calculations :
The script calculates the values of RSI, CCI, and Stochastic Oscillator based on user-defined lengths and smoothing parameters.
It then checks for crossover/crossunder conditions relative to the overbought/oversold levels to generate individual signals.
Combined Signals :
Depending on the selected signal type, the script combines the individual signals logically:
For example, a "RSI & CCI" buy signal requires both RSI and CCI to cross into their respective oversold zones simultaneously.
Signal Plotting :
When a signal is generated, the script:
Plots an arrow (upward for buy, downward for sell) at the corresponding bar.
Adds a label ("BUY" or "SELL") near the arrow for clarity.
Draws a vertical line extending from the low to the high of the candle to mark the exact entry point.
Line Management :
To prevent clutter, the script stores up to 50 vertical lines in arrays (buy_lines and sell_lines). Older lines are automatically deleted when the limit is exceeded.
Why Use This Script?
Versatility : Whether you're a scalper, swing trader, or long-term investor, this script can be tailored to your needs by selecting the appropriate signal type and adjusting the indicator parameters.
Clarity : The combination of arrows, labels, and vertical lines ensures that signals are easy to spot and interpret, even in fast-moving markets.
Customization : With adjustable overbought/oversold levels and multiple signal options, you can fine-tune the script to match your trading strategy.
Professional Design : The script avoids clutter by limiting the number of lines displayed and using ATR-based offsets for better visibility.
How to Use This Script
Add the Script to Your Chart :
Copy and paste the script into the Pine Editor in TradingView.
Save and add it to your chart.
Select Signal Type :
Use the "Signal Type" dropdown menu to choose the combination of indicators you want to use.
Adjust Parameters :
Customize the lengths of RSI, CCI, and Stochastic, as well as their overbought/oversold levels, to match your trading preferences.
Interpret Signals :
Look for green arrows and "BUY" labels for buy signals, and red arrows and "SELL" labels for sell signals.
Vertical lines will help you identify the exact bar where the signal occurred.
Tips for Traders
Backtest Thoroughly : Before using this script in live trading, backtest it on historical data to ensure it aligns with your strategy.
Combine with Other Tools : While this script provides reliable signals, consider combining it with other tools like support/resistance levels or volume analysis for additional confirmation.
Avoid Overloading the Chart : If you notice too many signals, try tightening the overbought/oversold levels or switching to a combined signal type (e.g., "RSI & CCI & Stochastic") for fewer but higher-confidence signals.
Revenue & Profit GrowthA simple yet powerful financial tracker that helps you identify fundamental growth trends by visualizing quarterly and TTM (Trailing Twelve Months) revenue and profit data. The script combines bar and line visualizations with a dynamic growth table to provide comprehensive insights into a company's financial performance at a glance.
A business has many metrics, but revenue and profit growths - I would argue - are the primordial ones.
Why is this unique? It overlays profit and revenues in one graph and provides QoQ and YoY growth rates.
Features
Quarterly performance bars overlaid with TTM trend lines for both revenue and profit metrics
Automatic calculation of Year-over-Year (YoY) and Quarter-over-Quarter (QoQ) growth rates
Color-coded visualization: blue for revenue, green/red for profits based on positive/negative values
Alerts for revenue and profit changes
AI NEWThese is an gann based indicatore calculate gann levels on current day open and give buy and sell signal alng with gann levels which allow us to see gann levels in chart
Double ZigZag with HHLL – Advanced Versionاین اندیکاتور نسخه بهبودیافتهی Double ZigZag with HHLL است که یک زیگزاگ سوم به آن اضافه شده تا تحلیل روندها دقیقتر شود. در این نسخه، قابلیتهای جدیدی برای شناسایی سقفها و کفهای مهم (HH, LL, LH, HL) و نمایش تغییر جهت روندها وجود دارد.
ویژگیهای جدید در این نسخه:
✅ اضافه شدن زیگزاگ سوم برای دقت بیشتر در تحلیل روند
✅ بهینهسازی تشخیص HH (Higher High) و LL (Lower Low)
✅ بهبود کدنویسی و بهینهسازی پردازش دادهها
✅ تنظیمات پیشرفته برای تغییر رنگ و استایل خطوط زیگزاگ
✅ نمایش بهتر نقاط بازگشتی با Labelهای هوشمند
نحوه استفاده:
این اندیکاتور برای تحلیل روندها و شناسایی نقاط بازگشتی در نمودار استفاده میشود.
کاربران میتوانند دورههای مختلف زیگزاگ را تنظیم کنند تا حرکات قیمت را در تایمفریمهای مختلف بررسی کنند.
برچسبهای HH, LL, LH, HL نقاط مهم بازگشتی را نمایش میدهند.
Double ZigZag with HHLL – Advanced Version
This indicator is an enhanced version of Double ZigZag with HHLL, now featuring a third ZigZag to improve trend analysis accuracy. This version includes improved High-High (HH), Low-Low (LL), Lower-High (LH), and Higher-Low (HL) detection and better visualization of trend direction changes.
New Features in This Version:
✅ Third ZigZag added for more precise trend identification
✅ Improved detection of HH (Higher High) and LL (Lower Low)
✅ Optimized code for better performance and data processing
✅ Advanced customization options for ZigZag colors and styles
✅ Smart labeling of key turning points
How to Use:
This indicator helps analyze trends and identify key reversal points on the chart.
Users can adjust different ZigZag periods to track price movements across various timeframes.
Labels such as HH, LL, LH, HL highlight significant market swings.
スイングハイ/ローの水平線(EMAトリガー)//@version=5
indicator("スイングハイ/ローの水平線(EMAトリガー)", overlay=true, max_lines_count=500)
//─────────────────────────────
//【入力パラメータ】
//─────────────────────────────
pivotPeriod = input.int(title="Pivot期間(左右バー数)", defval=10, minval=1)
emaPeriod = input.int(title="EMA期間", defval=20, minval=1)
lineColorHigh = input.color(title="スイングハイ水平線の色", defval=color.red)
lineColorLow = input.color(title="スイングロー水平線の色", defval=color.green)
lineWidth = input.int(title="水平線の太さ", defval=2, minval=1, maxval=10)
displayBars = input.int(title="表示する過去ローソク足数", defval=200, minval=1)
//─────────────────────────────
//【EMAの計算&プロット】
//─────────────────────────────
emaValue = ta.ema(close, emaPeriod)
plot(emaValue, color=color.orange, title="EMA")
//─────────────────────────────
//【Pivot(スイングハイ/ロー)の検出&マーカー表示】
//─────────────────────────────
pivotHighVal = ta.pivothigh(high, pivotPeriod, pivotPeriod)
pivotLowVal = ta.pivotlow(low, pivotPeriod, pivotPeriod)
plotshape(pivotHighVal, title="スイングハイ", style=shape.triangledown, location=location.abovebar, color=lineColorHigh, size=size.tiny, offset=-pivotPeriod)
plotshape(pivotLowVal, title="スイングロー", style=shape.triangleup, location=location.belowbar, color=lineColorLow, size=size.tiny, offset=-pivotPeriod)
//─────────────────────────────
//【水平線(pivotライン)管理用の配列定義】
//─────────────────────────────
// 各ピボットに対して、作成した水平線オブジェクト、開始バー、ピボット価格、ピボット種類、確定フラグを保持
var line pivotLines = array.new_line()
var int pivotLineBars = array.new_int()
var float pivotLinePrices = array.new_float()
var int pivotLineTypes = array.new_int() // 1: スイングハイ, -1: スイングロー
var bool pivotLineFinaled = array.new_bool() // EMA条件で確定済みかどうか
//─────────────────────────────
//【新たなPivot発生時に水平線を作成】
//─────────────────────────────
if not na(pivotHighVal)
pivotBar = bar_index - pivotPeriod
newLine = line.new(pivotBar, pivotHighVal, pivotBar, pivotHighVal, extend=extend.none, color=lineColorHigh, width=lineWidth)
array.push(pivotLines, newLine)
array.push(pivotLineBars, pivotBar)
array.push(pivotLinePrices, pivotHighVal)
array.push(pivotLineTypes, 1) // 1:スイングハイ
array.push(pivotLineFinaled, false)
if not na(pivotLowVal)
pivotBar = bar_index - pivotPeriod
newLine = line.new(pivotBar, pivotLowVal, pivotBar, pivotLowVal, extend=extend.none, color=lineColorLow, width=lineWidth)
array.push(pivotLines, newLine)
array.push(pivotLineBars, pivotBar)
array.push(pivotLinePrices, pivotLowVal)
array.push(pivotLineTypes, -1) // -1:スイングロー
array.push(pivotLineFinaled, false)
//─────────────────────────────
//【古い水平線の削除:指定過去ローソク足数より前のラインを削除】
//─────────────────────────────
if array.size(pivotLines) > 0
while array.size(pivotLines) > 0 and (bar_index - array.get(pivotLineBars, 0) > displayBars)
line.delete(array.get(pivotLines, 0))
array.remove(pivotLines, 0)
array.remove(pivotLineBars, 0)
array.remove(pivotLinePrices, 0)
array.remove(pivotLineTypes, 0)
array.remove(pivotLineFinaled, 0)
//─────────────────────────────
//【各バーで、未確定の水平線を更新】
//─────────────────────────────
if array.size(pivotLines) > 0
for i = 0 to array.size(pivotLines) - 1
if not array.get(pivotLineFinaled, i)
pivotPrice = array.get(pivotLinePrices, i)
pivotType = array.get(pivotLineTypes, i)
startBar = array.get(pivotLineBars, i)
if bar_index >= startBar
lineObj = array.get(pivotLines, i)
line.set_x2(lineObj, bar_index)
// スイングハイの場合:EMAがピボット価格を上回ったら確定
if pivotType == 1 and emaValue > pivotPrice
line.set_x2(lineObj, bar_index)
array.set(pivotLineFinaled, i, true)
// スイングローの場合:EMAがピボット価格を下回ったら確定
if pivotType == -1 and emaValue < pivotPrice
line.set_x2(lineObj, bar_index)
array.set(pivotLineFinaled, i, true)
TSI Long/Short for BTC 2HThe TSI Long/Short for BTC 2H strategy is an advanced trend-following system designed specifically for trading Bitcoin (BTC) on a 2-hour timeframe. It leverages the True Strength Index (TSI) to identify momentum shifts and executes both long and short trades in response to dynamic market conditions.
Unlike traditional moving average-based strategies, this script uses a double-smoothed momentum calculation, enhancing signal accuracy and reducing noise. It incorporates automated position sizing, customizable leverage, and real-time performance tracking, ensuring a structured and adaptable trading approach.
🔹 What Makes This Strategy Unique?
Unlike simple crossover strategies or generic trend-following approaches, this system utilizes a customized True Strength Index (TSI) methodology that dynamically adjusts to market conditions.
🔸 True Strength Index (TSI) Filtering – The script refines the TSI by applying double exponential smoothing, filtering out weak signals and capturing high-confidence momentum shifts.
🔸 Adaptive Entry & Exit Logic – Instead of fixed thresholds, it compares the TSI value against a dynamically determined high/low range from the past 100 bars to confirm trade signals.
🔸 Leverage & Risk Optimization – Position sizing is dynamically adjusted based on account equity and leverage settings, ensuring controlled risk exposure.
🔸 Performance Monitoring System – A built-in performance tracking table allows traders to evaluate monthly and yearly results directly on the chart.
📊 Core Strategy Components
1️⃣ Momentum-Based Trade Execution
The strategy generates long and short trade signals based on the following conditions:
✅ Long Entry Condition – A buy signal is triggered when the TSI crosses above its 100-bar highest value (previously set), confirming bullish momentum.
✅ Short Entry Condition – A sell signal is generated when the TSI crosses below its 100-bar lowest value (previously set), indicating bearish pressure.
Each trade execution is fully automated, reducing emotional decision-making and improving trading discipline.
2️⃣ Position Sizing & Leverage Control
Risk management is a key focus of this strategy:
🔹 Dynamic Position Sizing – The script calculates position size based on:
Account Equity – Ensuring trade sizes adjust dynamically with capital fluctuations.
Leverage Multiplier – Allows traders to customize risk exposure via an adjustable leverage setting.
🔹 No Fixed Stop-Loss – The strategy relies on reversals to exit trades, meaning each position is closed when the opposite signal appears.
This design ensures maximum capital efficiency while adapting to market conditions in real time.
3️⃣ Performance Visualization & Tracking
Understanding historical performance is crucial for refining strategies. The script includes:
📌 Real-Time Trade Markers – Buy and sell signals are visually displayed on the chart for easy reference.
📌 Performance Metrics Table – Tracks monthly and yearly returns in percentage form, helping traders assess profitability over time.
📌 Trade History Visualization – Completed trades are displayed with color-coded boxes (green for long trades, red for short trades), visually representing profit/loss dynamics.
📢 Why Use This Strategy?
✔ Advanced Momentum Detection – Uses a double-smoothed TSI for more accurate trend signals.
✔ Fully Automated Trading – Removes emotional bias and enforces discipline.
✔ Customizable Risk Management – Adjust leverage and position sizing to suit your risk profile.
✔ Comprehensive Performance Tracking – Integrated reporting system provides clear insights into past trades.
This strategy is ideal for Bitcoin traders looking for a structured, high-probability system that adapts to both bullish and bearish trends on the 2-hour timeframe.
📌 How to Use: Simply add the script to your 2H BTC chart, configure your leverage settings, and let the system handle trade execution and tracking! 🚀
Opening Range Breakout current day9.30 am breakout
the first 15 minutes = the range
only the current days range is trade
stop at the low / high or range
1 contract
2R TP
DCA (CryptoBus)DCA (CryptoBus)
🚀 DCA (CryptoBus) — автоматизированная стратегия усреднения (Dollar-Cost Averaging) для TradingView!
📉 Покупай активы равными частями на падениях и снижай среднюю цену входа.
🔧 Гибкая настройка параметров для адаптации под рынок.
sogge333: Price alert every 15 minutes in timeWith this indicator you will be able to get an alarm of the current price of your favorite asset every 15 minutes.
Good for recorgnizing current price action during work or where ever you want to be noticed. Works awesome with your smartwatch 😎
HOW TO:
Go to 15 minutes Chart, than click on 'Add Alert' -> under Condition choose 'sogge333: Price alert every 15 minutes in time'
TROUBLESHOOTING: Sometimes the alert won't work, because of internet connection issues.
Have fun with this and good look for trading!!! 🍀 🤑
Volumatic Variable Index Dynamic Average [Kuuumz]This is basically the indicator from BigBeluga but added ability to configure the length of the pivot line.
Volume Momentum Oscillator (Enhanced)📊 Volume Momentum Oscillator (VMO) — 量能动量振荡器
🔍 介绍
Volume Momentum Oscillator (VMO) 是一款基于成交量变化的动量指标,它通过计算成交量的 短期均线与长期均线的偏离程度,衡量市场活跃度的变化。该指标适用于分析市场趋势的 加速与减弱,帮助交易者捕捉可能的趋势转折点。
📌 计算逻辑
短期成交量均线(默认 14)
长期成交量均线(默认 28)
计算公式:
𝑉𝑀𝑂= (短期成交量均线 − 长期成交量均线)/长期成交量均线 × 100
结果:
VMO > 0 🔼:短期成交量高于长期成交量,市场活跃度增加,可能为上涨信号。
VMO < 0 🔽:短期成交量低于长期成交量,市场活跃度下降,可能为下跌信号。
📊 主要功能
✅ 趋势动量检测 📈📉
✅ 超买/超卖区间提示 🔴🟢
✅ 动态颜色变化,直观显示趋势
✅ 可自定义参数,适配不同市场
🛠️ 参数说明
短期周期 (默认 14): 计算短周期成交量均线的长度
长期周期 (默认 28): 计算长周期成交量均线的长度
超买/超卖区间 (默认 ±10): 设定成交量过热或低迷的界限
颜色变换:
绿色(短期成交量增强)
红色(短期成交量减弱)
背景颜色提示:
进入 超买区(>10) 时,背景变红
进入 超卖区(<-10) 时,背景变绿
📈 交易策略
1️⃣ VMO 上穿 0 轴 ➝ 短期成交量增强,可能是买入信号
2️⃣ VMO 下穿 0 轴 ➝ 短期成交量下降,可能是卖出信号
3️⃣ VMO 高于 +10(超买区) ➝ 市场可能过热,警惕回调风险
4️⃣ VMO 低于 -10(超卖区) ➝ 市场可能超跌,关注反弹机会
📌 建议搭配 RSI、MACD 或趋势指标使用,以提高交易准确性! 🚀
🔗 适用市场
📌 股票 / 期货 / 外汇 / 加密货币(适用于所有基于成交量的市场)
📌 免责声明
本指标仅用于市场分析和学习,不构成任何投资建议。交易者应结合自身策略和市场条件谨慎决策。📢
📊 如果你觉得这个指标有帮助,请点赞 & 收藏!欢迎在评论区交流你的交易经验! 🎯🚀
Bad resumption from effortThis simple and clear indicator is designed for those of you who trade from levels. I expect a bad resumption of the attacking side at the level. To do this, I need to see the effort (usually a bar with a large spread and volume). We repaint such bars in white. Next, in the body of this bar (from low to high), I want to see bad resumption - a decrease in volumes and spreads of bars. I need to know the size of these bars as a percentage of the price. Instead of a ruler, I use marks above the bars, where the size of such bars is written, if the bar meets the following criteria.
Green bars - from 0 to 0.35%.
Blue bars - from 0.36% to 0.45%.
You can change all the colors in the settings depending on your color scheme.
This indicator does not provide an entry point ))
It simplifies the decision-making process based on a bad resumption from effort.
Good luck!
In Russian -
Этот простой и наглядный индикатор призван для тех из вас, кто торгует от уровней. Я ожидаю на уровне плохое возобновление атакующей стороны. Для этого мне необходимо увидеть усилие (это как правило бар с большим спредеом и объемом). Такие бары мы перекрашиваем в белый цвет. Далее в теле этого бара (от лой до хай) я хочу видеть плохую возобновляемость - снижение объемов и спредов баров. Мне нужно узнать размер этих баров в процентах от цены. Вместо линейки я использую метки над барами, где прописан размер таких баров, если бар соответствуют следующим критериям.
Зеленые бары - от 0 до 0.35%.
Синие бары - от 0.36% до 0.45%.
Все цвета ты можешь изменить в настройках в зависимости от твоей цветовой схемы.
Этот индикатор не дает точки входа ))
Он упрощает процесс принятия решения на основе плохого возобновления от усилия..
Удачи!
Golden MACDThis Indicator is the Simple MACD of the MQL5 with some small changes and some tool to help trade easier.
As you can see they are two lines of MACD & Signal and the Cross of the lines can help you find the right place to put the Buy/Sell order or to use it for your Exit Points.
I have also add the Alert to the same Indicator to help you have the right time of Entry and Exit.
The Colors of the lines and Diagram and also the Level lines are completely adjustable.
Please comment me in case you need any more information or help.
Thanks a Lot
JohnScript//@version=5
indicator('JohnScript', format=format.price, precision=4, overlay=true)
// Inputs
a = input(1, title='Чувствительность')
c = input(10, title='Период ATR')
h = input(false, title='Сигналы Heikin Ashi')
signal_length = input.int(title='Сглаживание', minval=1, maxval=200, defval=11)
sma_signal = input(title='Сигнальная линия (MA)', defval=true)
lin_reg = input(title='Линейная регрессия', defval=false)
linreg_length = input.int(title='Длина линейной регрессии', minval=1, maxval=200, defval=11)
// Линии Болинджера
bollinger = input(false, title='Боллинджер')
bolingerlength = input(20, 'Длина')
// Bollinger Bands
bsrc = input(close, title='Исходные данные')
mult = input.float(2.0, title='Смещение', minval=0.001, maxval=50)
basis = ta.sma(bsrc, bolingerlength)
dev = mult * ta.stdev(bsrc, bolingerlength)
upper = basis + dev
lower = basis - dev
plot(bollinger ? basis : na, color=color.new(color.red, 0), title='Bol Basic')
p1 = plot(bollinger ? upper : na, color=color.new(color.blue, 0), title='Bol Upper')
p2 = plot(bollinger ? lower : na, color=color.new(color.blue, 0), title='Bol Lower')
fill(p1, p2, title='Bol Background', color=color.new(color.blue, 90))
// EMA
len = input(title='Длина EMA', defval=50)
//smooth = input (title="Сглаживание", type=input.bool, defval=false)
ema1 = ta.ema(close, len)
plot(ema1, color=color.new(color.yellow, 0), linewidth=2, title='EMA')
xATR = ta.atr(c)
nLoss = a * xATR
src = h ? request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, close, lookahead=barmerge.lookahead_off) : close
xATRTrailingStop = 0.0
iff_1 = src > nz(xATRTrailingStop , 0) ? src - nLoss : src + nLoss
iff_2 = src < nz(xATRTrailingStop , 0) and src < nz(xATRTrailingStop , 0) ? math.min(nz(xATRTrailingStop ), src + nLoss) : iff_1
xATRTrailingStop := src > nz(xATRTrailingStop , 0) and src > nz(xATRTrailingStop , 0) ? math.max(nz(xATRTrailingStop ), src - nLoss) : iff_2
pos = 0
iff_3 = src > nz(xATRTrailingStop , 0) and src < nz(xATRTrailingStop , 0) ? -1 : nz(pos , 0)
pos := src < nz(xATRTrailingStop , 0) and src > nz(xATRTrailingStop , 0) ? 1 : iff_3
xcolor = pos == -1 ? color.red : pos == 1 ? color.green : color.blue
ema = ta.ema(src, 1)
above = ta.crossover(ema, xATRTrailingStop)
below = ta.crossover(xATRTrailingStop, ema)
buy = src > xATRTrailingStop and above
sell = src < xATRTrailingStop and below
barbuy = src > xATRTrailingStop
barsell = src < xATRTrailingStop
plotshape(buy, title='Buy', text='Buy', style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0), textcolor=color.new(color.white, 0), size=size.tiny)
plotshape(sell, title='Sell', text='Sell', style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0), textcolor=color.new(color.white, 0), size=size.tiny)
barcolor(barbuy ? color.green : na)
barcolor(barsell ? color.red : na)
alertcondition(buy, 'UT Long', 'UT Long')
alertcondition(sell, 'UT Short', 'UT Short')
bopen = lin_reg ? ta.linreg(open, linreg_length, 0) : open
bhigh = lin_reg ? ta.linreg(high, linreg_length, 0) : high
blow = lin_reg ? ta.linreg(low, linreg_length, 0) : low
bclose = lin_reg ? ta.linreg(close, linreg_length, 0) : close
r = bopen < bclose
signal = sma_signal ? ta.sma(bclose, signal_length) : ta.ema(bclose, signal_length)
plotcandle(r ? bopen : na, r ? bhigh : na, r ? blow : na, r ? bclose : na, title='LinReg Candles', color=color.green, wickcolor=color.green, bordercolor=color.green, editable=true)
plotcandle(r ? na : bopen, r ? na : bhigh, r ? na : blow, r ? na : bclose, title='LinReg Candles', color=color.red, wickcolor=color.red, bordercolor=color.red, editable=true)
plot(signal, color=color.new(color.white, 0))
DINH THANG FOLLOW TREND ### **Ichimoku Cloud (Kumo)**
The **Kumo (Cloud)** in the Ichimoku indicator consists of the **Senkou Span A** and **Senkou Span B** lines. It represents areas of support and resistance, trend direction, and market momentum:
- **Thick Cloud** → Strong support/resistance zone.
- **Thin Cloud** → Weak support/resistance, price may break through easily.
- **Price above Kumo** → Bullish trend.
- **Price below Kumo** → Bearish trend.
- **Price inside Kumo** → Consolidation or indecision.
### **Super Trend**
The **Super Trend** indicator is a trend-following tool that helps traders identify the current trend direction. It is based on the **Average True Range (ATR)** and a multiplier factor:
- **Green line below price** → Uptrend (Buy signal).
- **Red line above price** → Downtrend (Sell signal).
- It works best in trending markets but may give false signals in sideways conditions.
### **SMA 10 & SMA 20**
The **Simple Moving Average (SMA)** smooths out price action and helps identify trend direction:
- **SMA 10** → A short-term moving average, reacts quickly to price changes.
- **SMA 20** → A slightly slower-moving average, offering a broader trend perspective.
- **SMA 10 above SMA 20** → Bullish momentum.
- **SMA 10 below SMA 20** → Bearish momentum.
These indicators can be used together to confirm trends and potential trade signals. 🚀