Star Pattern IdentifierThe Star Pattern Identifier is a custom TradingView indicator designed to detect and mark Morning Star (MS) and Evening Star (ES) candlestick patterns, which are powerful reversal signals. This indicator offers a flexible and customizable approach by incorporating adjustable parameters for both the size and volume of the third candle in the pattern.
Key Features:
Morning Star (MS) : A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES) : A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier : Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier : Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle , followed by a bullish or indecisive second candle , and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle , followed by a bearish or indecisive second candle , and a bearish third candle .
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
Motifs graphiques
jamesmadeanother Rich's Golden Cross plots clear "BUY" signals on your chart when all conditions align, giving you a strategic edge in the markets. Whether you're a swing trader or a long-term investor, this indicator helps you stay ahead of the curve by filtering out noise and focusing on high-quality setups.
Why Choose Rich's Golden Cross?
Multi-Timeframe Analysis: Combines short-term and long-term trends for better accuracy.
Easy-to-Read Signals: Clear buy alerts directly on your chart.
Customizable: Adjust parameters to suit your trading style.
Take your trading to the next level with Rich's Golden Cross—your ultimate tool for spotting golden opportunities in the market.
PP High Low + SMAsHai,
Here i alter an indicator which have pivot point high low with alteration and additional SMA With different period
Buy Signal with FVG Confirmation (1h,15m,5m)Key Changes:
FVG Conditions Added to buySignal:
The buy signal now requires FVGs on all three timeframes (1h, 15m, 5m) in addition to your original criteria.
buySignal = ... and fvg1h and fvg15m and fvg5m
Simplified FVG Detection:
The detectFVG function now only returns the fvgBullish boolean (no need to return price levels).
How to Use:
Apply to 1-Hour Chart:
The script works best on a 1-hour chart since it combines daily, hourly, and lower timeframe (15m/5m) logic.
Interpret Signals:
A green triangle appears below the price bar when all conditions align, including FVGs on 1h, 15m, and 5m.
Use the shaded FVG zones (teal, orange, purple) to visually confirm gaps.
Set Alerts:
Create an alert in TradingView to notify you when the buySignal triggers.
Important Notes:
Multi-Timeframe Limitations:
Lower timeframe FVGs (15m/5m) are fetched using request.security, which may cause slight repainting on the 1-hour chart.
FVGs are evaluated based on the most recent completed bar in their respective timeframes.
Strategy Strictness:
Requiring FVGs on three timeframes makes the signal very selective. Adjust the logic (e.g., fvg1h or fvg15m) if you prefer fewer restrictions
Improved Scalping Strategy with Alerts//@version=5
indicator("Improved Scalping Strategy with Alerts", overlay=true)
// EMA Settings for Scalping
emaLength = input.int(9, title="EMA Length")
emaValue = ta.ema(close, emaLength)
plot(emaValue, title="EMA", color=color.blue, linewidth=2)
// Volume Analysis for Scalping
volumeThreshold = input.float(2.0, title="Volume Threshold")
volumeSignal = volume > ta.sma(volume, 10) * volumeThreshold
bgcolor(volumeSignal ? color.new(color.blue, 90) : na, title="Volume Signal")
// RSI Settings for Scalping
rsiLength = input.int(9, title="RSI Length")
rsiValue = ta.rsi(close, rsiLength)
overbought = 70
oversold = 30
plot(rsiValue, title="RSI", color=color.purple, linewidth=2)
hline(overbought, "Overbought", color=color.red)
hline(oversold, "Oversold", color=color.green)
// MACD Settings for Scalping
fastLength = input.int(6, title="MACD Fast Length")
slowLength = input.int(13, title="MACD Slow Length")
signalSmoothing = input.int(5, title="MACD Signal Smoothing")
= ta.macd(close, fastLength, slowLength, signalSmoothing)
plot(macdLine, title="MACD Line", color=color.blue, linewidth=1)
plot(signalLine, title="Signal Line", color=color.red, linewidth=1)
// Strong Bullish and Bearish Conditions for Scalping
strongBullish = rsiValue > 70 and macdLine > signalLine and close > emaValue and volumeSignal
strongBearish = rsiValue < 30 and macdLine < signalLine and close < emaValue and volumeSignal
// Buy/Sell Signals for Scalping
buySignal = strongBullish
sellSignal = strongBearish
// Plot Buy/Sell Signals on Chart
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
// Alerts for Scalping
alertcondition(buySignal, title="Long Trade Alert", message="Strong Bullish Signal: Consider LONG Trade")
alertcondition(sellSignal, title="Short Trade Alert", message="Strong Bearish Signal: Consider SHORT Trade")
// Additional Alerts for Confirmation
confirmationBullish = ta.crossover(macdLine, signalLine) and rsiValue > 50 and close > emaValue and volumeSignal
confirmationBearish = ta.crossunder(macdLine, signalLine) and rsiValue < 50 and close < emaValue and volumeSignal
alertcondition(confirmationBullish, title="Confirmation Bullish Alert", message="Confirmation Bullish Signal: Consider LONG Trade")
alertcondition(confirmationBearish, title="Confirmation Bearish Alert", message="Confirmation Bearish Signal: Consider SHORT Trade")
Pivot Powerup indy for tradingviewThis script calculates and plots Pivot Points (P, R1, R2, R3, S1, S2, S3) on the price chart. Pivot Points are key levels used in technical analysis to identify potential support and resistance areas.
Features :
- Calculates daily Pivot Points using the standard formula.
- Plots Pivot Point (P), Resistance levels (R1, R2, R3), and Support levels (S1, S2, S3).
- Overlays the levels on the price chart for easy visualization.
- No user-configurable parameters in this version.
- This indicator is based on the previous day's data. It may not be accurate in highly volatile markets.
- Always use Pivot Points in conjunction with other technical analysis tools for better accuracy.
- To customize the indicator, modify the formula in the `calculate_pivot_points` function.
- You can also change the colors or line widths of the plotted levels by editing the `plot()` functions.
Created by chakrint. Feel free to use and modify this script.
9-20 EMA Crossover with TP and SL9-20 EMA Crossover: This script tracks the crossover of the 9-period EMA and the 20-period EMA.
When the 9 EMA crosses above the 20 EMA, a buy signal is triggered.
When the 9 EMA crosses below the 20 EMA, a sell signal is triggered.
Take Profit and Stop Loss Levels:
The take profit for a long position is set at 3% above the entry price (close * 1.03).
The stop loss for a long position is set at 1% below the entry price (close * 0.99).
The take profit for a short position is set at 3% below the entry price (close * 0.97).
The stop loss for a short position is set at 1% above the entry price (close * 1.01).
Leverage: The strategy uses 20x leverage for both long and short positions (leverage=20).
Alerts: Alerts are set up for the buy signal when the 9 EMA crosses above the 20 EMA and the sell signal when the 9 EMA crosses below the 20 EMA. These alerts can be used with a webhook to trigger trades on Binance Futures.
Strategy:
For long trades: The strategy enters a long position and sets a take profit at 3% above the entry price and a stop loss at 1% below the entry price.
For short trades: The strategy enters a short position and sets a take profit at 3% below the entry price and a stop loss at 1% above the entry price.
SMA Crossover with VWAP Filter-Thiru YadavBuy/Sell Signals: Displayed as labels on the chart.
SMAs: Plotted as blue (9 SMA) and orange (21 SMA) lines.
VWAP: Plotted as a purple line.
Pivot Powerup (Indy)Pivot powerup(indy) Indicator for TradingView
This script calculates and plots daily Pivot Points (P, R1, R2, R3, S1, S2, S3) on the price chart. Pivot Points are key levels used in technical analysis to identify potential support and resistance areas.
Key Features
Calculates daily Pivot Points using the standard formula.
Plots Pivot Point (P), Resistance levels (R1, R2, R3), and Support levels (S1, S2, S3).
Overlays the levels on the price chart for easy visualization.
How to Use
Copy and paste the script into the Pine Script editor on TradingView.
Add the indicator to your chart.
The Pivot Points will be automatically calculated and plotted based on the previous day's high, low, and close prices.
Cautions
This indicator is based on the previous day's data. It may not be accurate in highly volatile markets.
Always use Pivot Points in conjunction with other technical analysis tools for better accuracy.
Customization
To customize the indicator, modify the formula in the calculate_pivot_points function.
You can also change the colors or line widths of the plotted levels by editing the plot() functions.
Credits
Created by Zhongli2566. Feel free to use and modify this script.
Bullish/Bearish Reversal ArrowsThe Bullish/Bearish Reversal Arrows Indicator is designed to identify potential reversal points in the market based on two key technical analysis tools: the MACD (Moving Average Convergence Divergence) and the RSI (Relative Strength Index).
Bullish Reversal:
A green upward arrow appears below the price bar when the MACD line crosses above the signal line (bullish crossover) and the RSI is in the oversold region (below the specified RSI oversold level).
This indicates a potential shift from a bearish trend to a bullish trend, signaling a possible buy opportunity.
Bearish Reversal:
A red downward arrow appears above the price bar when the MACD line crosses below the signal line (bearish crossunder) and the RSI is in the overbought region (above the specified RSI overbought level).
This indicates a potential shift from a bullish trend to a bearish trend, signaling a possible sell opportunity.
Features:
Combines two popular indicators (MACD and RSI) to increase accuracy.
Plots clear green upward arrows for bullish reversals and red downward arrows for bearish reversals directly on the chart.
Customizable inputs:
Adjust the MACD fast, slow, and signal lengths.
Set the RSI length and thresholds for oversold and overbought conditions.
Use Case:
This indicator is suitable for traders looking for:
Visual cues for potential market reversals.
Confirmation of oversold and overbought conditions using RSI.
An additional layer of decision-making for entry and exit points.
Note: As with all indicators, this tool should not be used in isolation. Combine it with other analysis techniques and risk management strategies for the best results.
EMA Study Script for Price Action Traders, v2JR_EMA Research Tool Documentation
Version 2 Enhancements
Version 2 of the JR_EMA Research Tool introduces several powerful features that make it particularly valuable for studying price action around Exponential Moving Averages (EMAs). The key improvements focus on tracking and analyzing price-EMA interactions:
1. Cross Detection and Counting
- Implements flags for crossing bars that instantly identify when price crosses above or below the EMA
- Maintains running counts of closes above and below the EMA
- This feature helps students understand the persistence of trends and the frequency of EMA interactions
2. Bar Number Tracking
- Records the specific bar number when EMA crosses occur
- Stores the previous crossing bar number for reference
- Enables precise measurement of time between crosses, helping identify typical trend durations
3. Variable Reset Management
- Implements sophisticated reset logic for all counting variables
- Ensures accuracy when analyzing multiple trading sessions
- Critical for maintaining clean data when studying patterns across different timeframes
4. Cross Direction Tracking
- Monitors the direction of the last EMA cross
- Helps students identify the current trend context
- Essential for understanding trend continuation vs reversal scenarios
Educational Applications
Price-EMA Relationship Studies
The tool provides multiple ways to study how price interacts with EMAs:
1. Visual Analysis
- Customizable EMA bands show typical price deviation ranges
- Color-coded fills help identify "normal" vs "extreme" price movements
- Three different band calculation methods offer varying perspectives on price volatility
2. Quantitative Analysis
- Real-time tracking of closes above/below EMA
- Running totals help identify persistent trends
- Cross counting helps understand typical trend duration
Research Configurations
EMA Configuration
- Adjustable EMA period for studying different trend timeframes
- Customizable EMA color for visual clarity
- Ideal for comparing different EMA periods' effectiveness
Bands Configuration
Three distinct calculation methods:
1. Full Average Bar Range (ABR)
- Uses the entire range of price movement
- Best for studying overall volatility
2. Body Average Bar Range
- Focuses on the body of the candle
- Excellent for studying conviction in price moves
3. Standard Deviation
- Traditional statistical approach
- Useful for comparing to other technical studies
Signal Configuration
- Optional signal plotting for entry/exit studies
- Helps identify potential trading opportunities
- Useful for backtesting strategy ideas
Using the Tool for Study
Basic Analysis Steps
1. Start with the default 20-period EMA
2. Observe how price interacts with the EMA line
3. Monitor the data window for quantitative insights
4. Use band settings to understand normal price behavior
Advanced Analysis
1. Pattern Recognition
- Use the cross counting system to identify typical pattern lengths
- Study the relationship between cross frequency and trend strength
- Compare different timeframes for fractal analysis
2. Volatility Studies
- Compare different band calculation methods
- Identify market regimes through band width changes
- Study the relationship between volatility and trend persistence
3. Trend Analysis
- Use the closing price count system to measure trend strength
- Study the relationship between trend duration and subsequent reversals
- Compare different EMA periods for optimal trend following
Best Practices for Research
1. Systematic Approach
- Start with longer timeframes and work down
- Document observations about price behavior in different market conditions
- Compare results across multiple symbols and timeframes
2. Data Collection
- Use the data window to record significant events
- Track the number of bars between crosses
- Note market conditions when signals appear
3. Optimization Studies
- Test different EMA periods for your market
- Compare band calculation methods for your trading style
- Document which settings work best in different market conditions
Technical Implementation Notes
This tool is particularly valuable for educational purposes because it combines visual and quantitative analysis in a single interface, allowing students to develop both intuitive and analytical understanding of price-EMA relationships.
Parabolic Detector (10min, 75°)Объяснение :
Таймфрейм 10 минут:
Используется функция request.security для получения цены закрытия за последние 10 минут.
Таймфрейм задается через input.timeframe("10", ...).
Расчет угла наклона:
Изменение цены (price_change) рассчитывается как разница между текущей ценой закрытия и ценой закрытия 10 минут назад.
Угол наклона (angle) рассчитывается с использованием функции math.atan (арктангенс). Учитывается, что 10 минут = 600 секунд.
Пороговое значение 75 градусов:
Если абсолютное значение угла (math.abs(angle)) больше или равно 75 градусам, то движение считается параболическим.
Визуализация:
На графике отображается метка "PARABOLIC", если движение параболическое.
Khubaib janThis is a custom indicator to check RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI. It help to check the RSI.
FOMC Volatility & FVG TrackerThis is a brand new Indicator, not yet tested!, as of 1/29/2025, 1:55 PM EST.
How It Works (hopefully):
🔹 Orange background → High volatility FOMC release window
🔹 Green FVG zones → Bullish FVGs (potential support)
🔹 Red FVG zones → Bearish FVGs (potential resistance)
🔹 Blue VWAP line → Trend confirmation
Crypto Pro Indicator"Crypto Pro Indicator" – Your All-in-One Trading Edge
Elevate your cryptocurrency trading with the Crypto Pro Indicator, a sophisticated toolkit designed for modern traders who demand precision, speed, and professional-grade analytics.
Key Features
🔹 Smart Trend Detection:
Dynamic EMA layers (20, 50, 70, 100, 200) reveal hidden market structure.
Real-time bullish/bearish confirmation via multi-EMA alignment.
🔹 Auto-Adaptive Fibonacci Grid:
Self-updating Fibonacci retracement levels (23.6%–78.6%) pinpoint reversals and entries.
Built for crypto’s volatility, recalculating with every candle.
🔹 Laser-Focused Signals:
AI-inspired buy/sell alerts combining EMA crossovers + Fibonacci + trend strength.
Clean visual markers (▲/▼) eliminate chart clutter.
🔹 Risk Management Built-In:
Auto-stop loss & take profit zones based on live volatility (ATR-adjusted).
Professional price table for rapid decision-making.
🔹 Crypto-Optimized Design:
Flawless performance across all timeframes (minutes to weekly).
Sleek, institutional-grade visuals with trend-highlighted backgrounds.
EMA 5 and SMA 10 Crossover with RSI by santosh kadamExplanation of the Script:
Indicators:
EMA 5 and SMA 10: These are the two moving averages used to determine the trend direction.
Buy signal is triggered when EMA 5 crosses above SMA 10.
Sell signal is triggered when EMA 5 crosses below SMA 10.
RSI 14: This is used to filter buy and sell signals.
Buy trades are allowed only if RSI 14 is above 60.
Sell trades are allowed only if RSI 14 is below 50.
Buy Conditions:
The strategy waits for the EMA crossover (EMA 5 crosses above SMA 10).
The strategy checks if RSI 14 is above 60 for confirmation.
If the price is below 60 on RSI 14 at the time of crossover, the strategy will wait until the price crosses above 60 on RSI 14 to initiate the buy.
Sell Conditions:
The strategy waits for the EMA crossover (EMA 5 crosses below SMA 10).
The strategy checks if RSI 14 is below 50 for confirmation.
If the price is above 50 on RSI 14 at the time of crossover, the strategy will wait until the price crosses below 50 on RSI 14 to initiate the sell.
Exit Conditions:
The Buy position is closed if the EMA crossover reverses (EMA 5 crosses below SMA 10) or RSI 14 drops below 50.
The Sell position is closed if the EMA crossover reverses (EMA 5 crosses above SMA 10) or RSI 14 rises above 60.
Plotting:
The script plots the EMA 5, SMA 10, and RSI 14 on the chart for easy visualization.
Horizontal lines are drawn at RSI 60 and RSI 50 levels for reference.
Key Features:
Price Confirmation: The strategy ensures that buy trades are only initiated if RSI 14 crosses above 60, and sell trades are only initiated if RSI 14 crosses below 50. Additionally, price action must cross these RSI levels to confirm the trade.
Reversal Exits: Positions are closed when the EMA crossover or RSI condition reverses.
Backtesting:
Paste this script into the Pine Editor on TradingView to test it with historical data.
You can adjust the EMA, SMA, and RSI lengths based on your preferences.
Let me know if you need further adjustments or clarification!
Demo GPT - Bollinger Bands StrategyDemo GPT - Bollinger Bands Strategy, this strategy is going to help the people in identifying buy and sell signals
YAMIL//@version=6
indicator(title = 'MACD+RSI+KONCORDE YAMIL', shorttitle = 'MAC+RSI+KON YAMIL')
//KONCORDE
showkoncorde = input(true, title = 'Koncorde')
deltaKon = input(-700, title = 'KONCORDE - Desfase')
escalaKoncorde = input(2, 'Koncorde - Escala')
calc_mfi(length) =>
100.0 - 100.0 / (1.0 + math.sum(volume * (ta.change(hlc3) <= 0 ? 0 : hlc3), length) / math.sum(volume * (ta.change(hlc3) >= 0 ? 0 : hlc3), length))
tprice = ohlc4
lengthEMA = 255
m = 15
pvim = ta.ema(ta.pvi, m)
pvimax = ta.highest(pvim, 90)
pvimin = ta.lowest(pvim, 90)
oscp = (ta.pvi - pvim) * 100 / (pvimax - pvimin)
nvim = ta.ema(ta.nvi, m)
nvimax = ta.highest(nvim, 90)
nvimin = ta.lowest(nvim, 90)
azul = (ta.nvi - nvim) * 100 / (nvimax - nvimin)
xmf = calc_mfi(14)
mult = 2.0
basis = ta.sma(tprice, 25)
dev = mult * ta.stdev(tprice, 25)
upper = basis + dev
lower = basis - dev
OB1 = (upper + lower) / 2.0
OB2 = upper - lower
BollOsc = (tprice - OB1) / OB2 * 100
xrsi = ta.rsi(tprice, 14)
calc_stoch(src, length, smoothFastD) =>
ta.sma(100 * (src - ta.lowest(low, length)) / (ta.highest(high, length) - ta.lowest(low, length)), smoothFastD)
stoc = calc_stoch(tprice, 21, 3)
marron = (xrsi + xmf + BollOsc + stoc / 3) / 2
verde = marron + oscp
media = ta.ema(marron, 21) //
vl = plot(showkoncorde ? verde * escalaKoncorde + deltaKon : na, color = color.new(#25BC00, 0), style = plot.style_columns, histbase = deltaKon, linewidth = 4, title = 'Manos Chicas')
ml = plot(showkoncorde ? marron * escalaKoncorde + deltaKon : na, color = color.new(#FFC34C, 0), style = plot.style_columns, histbase = deltaKon, linewidth = 4, title = 'Koncorde - marron')
al = plot(showkoncorde ? azul * escalaKoncorde + deltaKon : na, color = color.new(#6C3AFF, 0), style = plot.style_columns, histbase = deltaKon, linewidth = 4, title = 'Manos Grandes')
plot(showkoncorde ? marron * escalaKoncorde + deltaKon : na, color = color.new(#000000, 0), linewidth = 1, title = 'Koncorde - lmarron')
plot(showkoncorde ? media * escalaKoncorde + deltaKon : na, color = color.new(#FF0000, 0), linewidth = 1, title = 'Koncorde - media')
hline(-700, color = color.black, linestyle = hline.style_solid)
// MACD
// Getting inputs
showmacd = input(true, title = 'MADC')
deltaMacd = input(700, title = 'MACD - Desfase')
multMacd = input(5, title = 'MACD - Escala')
fast_length = input(title = 'MACD - Fast Length', defval = 12)
slow_length = input(title = 'MACD - Slow Length', defval = 26)
src = input(title = 'MACD - Source', defval = close)
signal_length = input.int(title = 'MACD - Signal Smoothing', minval = 1, maxval = 50, defval = 9)
sma_source = input(title = 'MACD - Simple MA(Oscillator)', defval = false)
sma_signal = input(title = 'MACD - Simple MA(Signal Line)', defval = false)
// Plot colors
col_grow_above = #2AFF00
col_grow_below = #FF0000
col_fall_above = #168500
col_fall_below = #980000
col_macd = #0042FF
col_signal = #FFA200
// Calculating
// = macd(close, fastLength, slowLength, signalLength)
fast_ma = sma_source ? ta.sma(src, fast_length) : ta.ema(src, fast_length)
slow_ma = sma_source ? ta.sma(src, slow_length) : ta.ema(src, slow_length)
macd = (fast_ma - slow_ma) / slow_ma * 1000 * multMacd
signal = sma_signal ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length)
hist = macd - signal
plot(showmacd ? bool(hist) ? hist + deltaMacd : na : na, title = 'MACD - Histogram', style = plot.style_columns, color = hist >= 0 ? hist < hist ? col_grow_above : col_fall_above : hist < hist ? col_grow_below : col_fall_below, histbase = deltaMacd)
plot(showmacd ? bool(macd) ? macd + deltaMacd : na : na, title = 'MACD', color = color.new(col_macd, 0), linewidth = 1)
plot(showmacd ? bool(signal) ? signal + deltaMacd : na : na, title = 'MACD - Signal', color = color.new(col_signal, 0), linewidth = 1)
hline(700, color = color.black, linestyle = hline.style_solid, linewidth = 1)
// STOCH (14,3,1)
showrsi = input(true, title = 'RSI - STOCH')
deltaRSI = input(0, title = 'RSI/STOCH - Desfase')
multip = input(5, title = 'RSI/STOCH - Escala')
deltaSTOCH = deltaRSI - 50 * multip / 2
length = input.int(14, minval = 1, title = 'STOCH - Periodo')
smoothK = input.int(1, minval = 1, title = 'STOCH - Smooth K')
smoothD = input.int(3, minval = 1, title = 'STOCH - Smooth D')
k = ta.sma(ta.stoch(close, high, low, length), smoothK)
d = ta.sma(k, smoothD)
// RSI
bandm = hline(showrsi ? 0 + deltaRSI : na, color = color.black, linewidth = 1, linestyle = hline.style_solid)
band0 = hline(showrsi ? -20 * multip + deltaRSI : na, color = color.new(#59FF00, 0), linewidth = 1, linestyle = hline.style_dotted)
band1 = hline(showrsi ? 20 * multip + deltaRSI : na, color = color.new(#FF0000, 0), linewidth = 1, linestyle = hline.style_dotted)
fill(band1, band0, color = color.new(#FFFF00, 75), title = 'Background')
lengthRSI = input.int(14, minval = 1, title = 'RSI - Periodo')
RSIMain = ta.rsi(close, lengthRSI) - 50
rsiPlot = plot(showrsi ? RSIMain * multip + deltaRSI : na, color = color.new(#000000, 0), linewidth = 1)
// Media móvil en RSI
lengthMA = input.int(21, minval = 1, title = 'RSI - Media Móvil Ponderada Periodo')
RSIMA = ta.wma(RSIMain * multip + deltaRSI, lengthMA)
plot(showrsi ? RSIMA : na, color = color.new(#78FF00, 0), linewidth = 1, title = 'RSI - Media Móvil')
// STOCH (14,3,1) en RSI
showstoch = input(true, title = 'STOCH - RSI')
deltaSTOCH_RSI = input(100, title = 'STOCH - RSI Desfase')
kRSI = ta.sma(ta.stoch(RSIMain, RSIMain, RSIMain, length), smoothK)
dRSI = ta.sma(kRSI, smoothD)
plot(false ? bool(kRSI) ? kRSI + deltaSTOCH_RSI : na : na, title = 'STOCH - RSI K', color = color.new(#0000FF, 0), linewidth = 1)
plot(false ? bool(dRSI) ? dRSI + deltaSTOCH_RSI : na : na, title = 'STOCH - RSI D', color = color.new(#FFA500, 0), linewidth = 1)
High of Specific Date//@version=5
indicator("High of Specific Date", overlay=true)
// Input for the specific date
input_date = input.time(timestamp("2023-10-01"), title="Specific Date", confirm=true)
// Check if the current bar's date matches the input date
is_target_date = (time == input_date)
// Get the high of the target candle
var float target_high = na
if is_target_date
target_high := high
// Draw a horizontal line at the high of the target candle
line.new(x1=bar_index, y1=target_high, x2=bar_index + 1, y2=target_high, color=color.red, width=2, extend=extend.right)
// Optional: Label to show the high value
if not na(target_high)
label.new(x=bar_index, y=target_high, text=str.tostring(target_high), color=color.white, textcolor=color.black, style=label.style_label_down, size=size.small)
CRYPTO Wall Street HoursAdjust to your Time.
Use with 8h Chart.
Shows only bars of WALLSTREET hours.