Higher Timeframe Stochastics with Slope Color(HTF Stochastics)This script displays the Stochastics value of a user-defined higher timeframe and optionally colors the plot based on its slope.
Features:
Displays the Stochastics value from a selected higher timeframe. This allows you to see the higher timeframe Stochastics without switching timeframes.
Colors the Stochastics plot based on its slope compared to the previous value
このスクリプトは、ユーザーが設定した上位時間足のストキャスティクスを表示し、オプションとしてその傾きに基づいてプロットに色を付けます。
特徴:
選択した上位時間足のストキャスティクスを表示します。これにより、時間足を切り替えることなく、上位足のストキャスティクスを確認できます。
ストキャスティクスのプロットを、前回の値と比較した傾きに基づいて色付けします。
Penunjuk dan strategi
Lord Loren Strategy//@version=6
indicator("Lord Loren Strategy", overlay=true)
// EMA calculations
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
// Plotting EMAs
plot(ema9, color=color.blue, title="EMA 9")
plot(ema21, color=color.orange, title="EMA 21")
plot(ema50, color=color.red, title="EMA 50")
// RSI calculation
rsiPeriod = 14
rsi = ta.rsi(close, rsiPeriod)
// Buy/Sell Conditions based on EMA Cross and RSI
buyCondition = ta.crossover(ema9, ema21) and rsi < 70
sellCondition = ta.crossunder(ema9, ema21) and rsi > 30
// Plot Buy/Sell signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// RSI plotting in the same script but with a secondary scale
plot(rsi, color=color.purple, title="RSI", offset=0)
hline(70, "Overbought", color=color.red, linestyle=hline.style_dotted)
hline(30, "Oversold", color=color.green, linestyle=hline.style_dotted)
First 3-min Candle ScannerThis is the first 3 min candle setup in a downtrend or uptrend market you have to see an "N" pattern where the first candle should be red if downtrend other candle should be green once the 3rd candle sweeps the second candle low.. sell and vice versa
4th Day Performance After 3 Down Days 5 years//@version=5
indicator("4th Day Performance After 3 Down Days", overlay=true)
// Define the starting date for 5 years ago
fromDate = timestamp(year=year - 5, month=1, day=1, hour=0, minute=0)
// Variables to track market performance
isDown = close < open
threeDaysDown = isDown and isDown and isDown and (time >= fromDate)
// Variables to store entry and exit points
var float entryPrice = na
var float exitPrice = na
var float totalPnL = 0.0
var int tradeCount = 0
var int positiveDays = 0
var int negativeDays = 0
if threeDaysDown
entryPrice := close // 3rd day close
exitPrice := close // 4th day close
pnl = exitPrice - entryPrice
totalPnL += pnl
tradeCount += 1
if pnl > 0
positiveDays += 1
else if pnl < 0
negativeDays += 1
// Display total PnL, trade count, positive and negative day counts
defineTable() =>
var table myTable = table.new(position.top_right, 5, 2, bgcolor=color.new(color.white, 90))
table.cell(myTable, 0, 0, "Metric", text_color=color.black, bgcolor=color.new(color.gray, 70))
table.cell(myTable, 0, 1, "Value", text_color=color.black, bgcolor=color.new(color.gray, 70))
myTable
var table myTable = na
myTable := defineTable()
table.cell(myTable, 1, 0, "Total PnL", text_color=color.black)
table.cell(myTable, 1, 1, str.tostring(totalPnL, format.mintick), text_color=color.black)
table.cell(myTable, 2, 0, "Trade Count", text_color=color.black)
table.cell(myTable, 2, 1, str.tostring(tradeCount), text_color=color.black)
table.cell(myTable, 3, 0, "Positive Days", text_color=color.black)
table.cell(myTable, 3, 1, str.tostring(positiveDays), text_color=color.black)
table.cell(myTable, 4, 0, "Negative Days", text_color=color.black)
table.cell(myTable, 4, 1, str.tostring(negativeDays), text_color=color.black)
AdibXmos// © AdibXmos
//@version=5
indicator('Sood Indicator V2 ', overlay=true, max_labels_count=500)
show_tp_sl = input.bool(true, 'Display TP & SL', group='Techical', tooltip='Display the exact TP & SL price levels for BUY & SELL signals.')
rrr = input.string('1:2', 'Risk to Reward Ratio', group='Techical', options= , tooltip='Set a risk to reward ratio (RRR).')
tp_sl_multi = input.float(1, 'TP & SL Multiplier', 1, group='Techical', tooltip='Multiplies both TP and SL by a chosen index. Higher - higher risk.')
tp_sl_prec = input.int(2, 'TP & SL Precision', 0, group='Techical')
candle_stability_index_param = 0.5
rsi_index_param = 70
candle_delta_length_param = 4
disable_repeating_signals_param = input.bool(true, 'Disable Repeating Signals', group='Techical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity.')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('huge', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
atr = ta.atr(14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
var last_signal = ''
var tp = 0.
var sl = 0.
bull_state = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
bull = bull_state and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true)
bearish_engulfing = close > open and close < open and close < open
rsi_above = rsi > 100 - rsi_index_param
increase_over = close > close
bear_state = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed
bear = bear_state and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
round_up(number, decimals) =>
factor = math.pow(10, decimals)
math.ceil(number * factor) / factor
if bull
last_signal := 'buy'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close + tp_dist, tp_sl_prec)
sl := round_up(close - dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bar_index, low, 'BUY', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_down, textcolor=label_text_color)
if bear
last_signal := 'sell'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close - tp_dist, tp_sl_prec)
sl := round_up(close + dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_up, textcolor=label_text_color)
alertcondition(bull or bear, 'BUY & SELL Signals', 'New signal!')
alertcondition(bull, 'BUY Signals (Only)', 'New signal: BUY')
alertcondition(bear, 'SELL Signals (Only)', 'New signal: SELL')
Currency Strength [Linniu Edit]The Currency Strength indicator is a versatile tool designed to analyze and compare the relative strength of major currencies in the forex market. By aggregating price movements across multiple currency pairs, this indicator provides a clear visualization of which currencies are gaining or losing strength relative to others.
Bank Nifty Weighted IndicatorThe Bank Nifty Weighted Indicator is a comprehensive trading tool designed to analyze the performance of the Bank Nifty Index using its constituent stocks' weighted prices. It combines advanced technical analysis tools, including Bollinger Bands, to provide highly accurate buy and sell signals, especially for intraday traders and scalpers.
Combined EMA, RSI, VI//@version=6
indicator("Combined EMA, RSI, VI", overlay=true)
// EMA calculations
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
// Plotting EMA
plot(ema9, color=color.blue, title="EMA 9")
plot(ema15, color=color.orange, title="EMA 15")
// RSI calculation
rsiPeriod = 14
rsi = ta.rsi(close, rsiPeriod)
// Plotting RSI in a separate pane
plot(rsi, color=color.purple, title="RSI")
hline(70, "Overbought", color=color.red, linestyle=hline.style_dotted)
hline(30, "Oversold", color=color.green, linestyle=hline.style_dotted)
// Volatility Index (VI) calculations
viLength = 14
highLow = high - low
highPrevClose = math.abs(high - close )
lowPrevClose = math.abs(low - close )
trueRange = math.max(highLow, math.max(highPrevClose, lowPrevClose))
smoothedTrueRange = ta.rma(trueRange, viLength)
viPlus = ta.rma(high - low, viLength) / smoothedTrueRange
viMinus = ta.rma(close - low, viLength) / smoothedTrueRange
// Plotting VI in the same pane as RSI for demonstration
plot(viPlus, color=color.green, title="VI+")
plot(viMinus, color=color.red, title="VI-")
Jenkins Square Root Levels Square Root Levels with Fixed Spacing (Extended Lines)
This script calculates and displays horizontal levels based on the square root of a price point. It offers two calculation modes, Octave System and Square Root Multiples, allowing traders to identify key support and resistance levels derived from price harmonics.
The methodology is inspired by the teachings of Michael Jenkins, to whom I owe much gratitude for sharing his profound insights into the geometric principles of trading.
Features and Functions
1. Calculation Modes
Octave System:
Divides the square root range into specified steps, called "octave divisions."
Each division calculates levels proportionally or evenly spaced, depending on the selected spacing mode.
Multiple repetitions (or multiples) extend these levels upward, downward, or both.
Square Root Multiples:
Adds or subtracts multiples of the square root of the price point to create levels.
These multiples act as harmonics of the original square root, providing meaningful levels for price action.
2. Spacing Modes
Proportional: Levels are scaled proportionally with each multiple, resulting in increasing spacing as multiples grow.
Even: Levels are spaced equally, maintaining a consistent distance regardless of the multiple.
3. Direction
Up: Calculates levels above the price point only.
Down: Calculates levels below the price point only.
Both: Displays levels on both sides of the price point.
4. Customization Options
Price Point: Enter any key high, low, or other significant price point to anchor the calculations.
Octave Division: Adjust the number of divisions within the octave (e.g., 4 for quarter-steps, 8 for eighth-steps).
Number of Multiples: Set how far the levels should extend (e.g., 3 for 3 repetitions of the octave or square root multiples).
5. Visualization
The calculated levels are plotted as horizontal lines that extend across the chart.
Lines are sorted and plotted dynamically for clarity, with spacing adjusted according to the chosen parameters.
Acknowledgments
This script is based on the trading methodologies and geometric insights shared by Michael S. Jenkins. His work has profoundly influenced my understanding of price action and the role of harmonics in trading. Thank you, Michael Jenkins, for your invaluable teachings.
MACD y RSI CombinadosMACD y RSI Combinados – Indicador de Divergencias y Tendencias** Este indicador combina dos de los indicadores más populares en análisis técnico: el **MACD ( Media Móvil Convergencia Divergencia)** y el **RSI (Índice de Fuerza Relativa)**. Con él, podrás obtener señales de tendencia y detectar posibles puntos de reversión en el mercado. ### Características: - **RSI (Índice de Fuerza Relativa)**: - **Longitud configurable**: Ajusta el periodo del RSI según tu preferencia. - **Niveles de sobrecompra y sobreventa**: Personaliza los niveles 70 y 30 para detectar condiciones extremas. - **Divergencias**: Calcula divergencias entre el RSI y el precio para identificar posibles cambios de dirección. Las divergencias alcistas y bajistas se muestran con líneas y etiquetas en el gráfico.
The Game of MomentumThe horizontal line, which is indicating the risk in that stock. Max risk is till it closes below the horizontal line.
Вертикальные линии на третьи среды (экпирации)Вертикальные линии на третьи среды (2022-2025 гг., экпирации для ТВ, контракты форматов 1! и 2!)
Foxers SupertrendThe indicator uses volume data for Vema and it also has sentiment table and supertrend
Pi Cycle Bitcoin High/LowThe theory that a Pi Cycle Top might exist in the Bitcoin price action isn't new, but recently I found someone who had done the math on developing a Pi Cycle Low indicator, also using the crosses of moving averages.
The Pi Cycle Top uses the 2x350 Daily MA and the 111 Daily MA
The Pi Cycle Bottom uses the 0.745x471 Daily MA and the 150 Daily EMA
Note: a Signal of "top" doesn't necessarily mean "THE top" of a Bull Run - in 2013 there were two Top Signals, but in 2017 there was just one. There was one in 2021, however BTC rose again 6 months later to actually top at 69K, before the next Bear Market.
There is as much of a chance of two "bottom" indications occurring in a single bear market, as nearly happened in the Liquidity Crisis in March 2020.
On April 19 2024 (UTC) the Fourth Bitcoin Halving took place, as the 840,000th block was completed. It is currently estimated that the 5th halving will take place on March 26, 2028.
RSI + WMA + EMA Strategy-NTSThực hiện lệnh mua : Nếu RSI <50 wma45 cắt ema89
- Thực hiện lệnh bán: nếu rsi >50 wma45 cắt ema89
Elf Trade Academy- Multipl. SMA Trend and ATRELF TRADE ACADEMY YOUTUBE VE TELEGRAM SAYFASI İÇİN BASİT GÖSTERGELER SERİSİ AMACIYLA KODLANMIŞTIR
İçindekiler
-Seçtiğiniz iki hareketli ortalama değerine göre tablo haline zaman dilimleri ayrılmış halde up trend/down trend belirteçleri
-Farklı zaman dilimlerinde ki atr değerleri tablosu.
Fibonacci Retracment & Pivot Points by Amarpatil04Fibonacci Retracment & Pivot Points by Amarpatil04
Fibonacci Retracment & Pivot Points by Amarpatil04Fibonacci Retracment & Pivot Points by Amarpatil04
DRSI by Cryptos RocketDRSI by Cryptos Rocket - Relative Strength Index (RSI) Indicator with Enhancements
This script is a custom implementation of the Relative Strength Index (RSI) indicator, designed with several advanced features to provide traders with additional insights. It goes beyond the traditional RSI by including moving averages, Bollinger Bands, divergence detection, dynamic visualization and improved alert functions.
________________________________________
Key Features
1. RSI Calculation
The RSI is a momentum oscillator that measures the speed and change of price movements. It ranges from 0 to 100 and is calculated as:
• RSI = 100−(1001+Average GainAverage Loss)100 - \left( \frac{100}{1 + \frac{\text{Average Gain}}{\text{Average Loss}}} \right)
This script allows users to:
• Set the RSI length (default: 14).
• Choose the price source for calculation (e.g., close, open, high, low).
________________________________________
2. Dynamic Visualization
• Background Gradient Fill:
o Overbought zones (above 70) are highlighted in red.
o Oversold zones (below 30) are highlighted in green.
• These gradients visually indicate potential reversal zones.
________________________________________
3. Moving Averages
The script provides a range of moving average options to smooth the RSI:
• Types: SMA, EMA, SMMA (RMA), WMA, VWMA, and SMA with Bollinger Bands.
• Customizable Length: Users can set the length of the moving average.
• Bollinger Bands: Adds standard deviation bands around the SMA for volatil
ity analysis.
________________________________________
4. Divergence Detection
This feature identifies potential price reversals by comparing price action with RSI behavior:
• Bullish Divergence: When price forms lower lows but RSI forms higher lows.
• Bearish Divergence: When price forms higher highs but RSI forms lower highs.
Features include:
• Labels ("Bull" and "Bear") on the chart marking detected divergences.
• Alerts for divergences synchronized with plotting for timely notifications.
________________________________________
5. Custom Alerts
The script includes alert conditions for:
• Regular Bullish Divergence
• Regular Bearish Divergence
These alerts trigger when divergences are detected, helping traders act promptly.
________________________________________
Customization Options
Users can customize various settings:
1. RSI Settings:
o Length of the RSI.
o Price source for calculation.
o Enable or disable divergence detection (enabled by default).
2. Moving Average Settings:
o Type and length of the moving average.
o Bollinger Band settings (multiplier and standard deviation).
________________________________________
Use Cases
1. Overbought and Oversold Conditions:
o Identify potential reversal points in extreme RSI zones.
2. Divergences:
o Detect discrepancies between price and RSI to anticipate trend changes.
3. Volatility Analysis:
o Utilize Bollinger Bands around the RSI for added context on market conditions.
4. Trend Confirmation:
o Use moving averages to smooth RSI and confirm trends.
________________________________________
How to Use
1. Add the indicator to your chart.
2. Customize the settings based on your trading strategy.
3. Look for:
o RSI crossing overbought/oversold levels.
o Divergence labels for potential reversals.
o Alerts for automated notifications.
________________________________________
DRSI by Cryptos Rocket combines classic momentum analysis with modern tools, making it a versatile solution for technical traders looking to refine their strategies.
Moving Average Exponential050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505
EMA20-50-200 //EMA1
study(title="Moving Average Exponential", shorttitle="EMA", overlay=true, resolution="")
len = input(50, minval=1, title="Length")
src = input(close, title="Source")
offset = input(title="Offset", type=input.integer, defval=0, minval=-500, maxval=500)
out = ema(src, len)
plot(out, title="EMA", color=color.teal, offset=offset)
//EMA2
len2 = input(100, minval=1, title="Length2")
src2 = input(close, title="Source2")
offset2 = input(title="Offset2", type=input.integer, defval=0, minval=-500, maxval=500)
out2 = ema(src2, len2)
plot(out2, title="EMA2", color=color.orange, offset=offset2)
//EMA3
len3 = input(150, minval=1, title="Length3")
src3 = input(close, title="Source3")
offset3 = input(title="Offset3", type=input.integer, defval=0, minval=-500, maxval=500)
out3 = ema(src3, len3)
plot(out3, title="EMA3", color=color.blue, offset=offset3)
PVBIJUCLT Session's First Bar RangeOening Range Trading developed by VJ. its a calculation of the opening candle range, used in any timeframe for the entry exit decisions
Mein SkriptBefore publishing, clearly define:
Purpose: What do you aim to achieve? (e.g., inform, entertain, educate).
Target Audience: Who are you creating for? Understand their needs, preferences, and habits.
Format: Choose the medium—book, blog post, podcast, video, or article.
Pro Tip: Outline your content to ensure clarity and consistency.