Wilmer's Heikin RSI Circles"Wilmer's Heikin RSI Circles", is designed to highlight specific market conditions by overlaying visual cues (colored circles) on a chart. It uses the Relative Strength Index (RSI) as a primary filter to identify overbought and oversold conditions, determined by user-defined thresholds (default values: 30 for oversold and 70 for overbought). The script compares the current candle's body (the range between open and close prices) with the previous candle’s body. If the current candle’s body is entirely within the boundaries of the previous one, and the RSI condition is met (either below the lower threshold or above the upper threshold), the script signals potential trading opportunities by plotting colored circles directly on the chart.
When the RSI exceeds the upper threshold and the candle is inside the previous one, the script plots a red circle (🔴) to indicate a potential overbought condition, which could signal a reversal or a selling opportunity. Conversely, when the RSI falls below the lower threshold under the same candle condition, it plots a yellow circle (🟡), suggesting a potential oversold condition, possibly signaling a buying opportunity. Additionally, built-in alert conditions notify users when these circles appear, enabling real-time awareness without constant chart monitoring. This visual and alert-based approach assists traders in identifying potential entry and exit points based on both price action and momentum indicators.
Indicatori e strategie
bobs Brownian Trend Momentum Systemthis indicator was made using ai with low code no code that i have programed to use its understanding of pine script and my own trading knowledge it is capable of creating entries but not exits so be aware of that still working o fine tuning the details but for now this will do
Quicktrade703This setup at first marking day first 5 min candle high low . If break low any 5 min time frame candle then sell, and break high any 5 min time frame candle then buy. this a simple setup and working fine.
Super Strategy by WEALTHCREATORTRADE [All Timeframes]Super Hit Gold Trading Strategy of WEALTHCREATORTRADE
Daily & Weekly False-Breakout DetectorDaily & Weekly Lines
We retrieve previous day/week’s High and Low.
lookahead=barmerge.lookahead_on means we see the “final” daily/weekly bar values intraday, so it may repaint in real‐time.
False Breakout Logic
Intraday crosses of close above the previous high (PDH or PWH).
By the end of the daily/weekly bar, close is back below that high.
Similarly for false breakdowns below PDL or PWL.
Shape/Alert
Each time an intraday bar crosses up or down, if the final daily/weekly close reverts back inside the prior range, a label is drawn and an alert is triggered.
Because we are “peeking” at the daily/weekly close, these signals can appear or disappear in real‐time.
If you only want a confirmed signal after the period’s close, switch to lookahead_off, which will finalize them at the next day or next week.
Marcar Máximos y Mínimos de una BarraMarcar Máximos y Mínimos de una Barra especifica para un determinado dia.
es el comienzo para crear una forma de visualizar la estrategia de seguimiento del patron de inicio de dia siguiente
Bitcoin Power Law: Complete with Oscillator + Future Projection
Firstly, we would like to give credit to @apsk32 and @x_X_77_X_x as part of the code originates from their work. Additionally, @apsk32 is widely credited with applying the Power Law concept to Bitcoin and popularizing this model within the crypto community. Additionally, the visual layout is fully inspired by @apsk32's designs, and we think it looks amazing. So much so that we had to turn it into a TradingView script. Thank you!
Understanding the Bitcoin Power Law Model
Also called the Long-Term Bitcoin Power Law Model. The Bitcoin Power Law model tries to capture and predict Bitcoin's price growth over time. It assumes that Bitcoin's price follows an exponential growth pattern, where the price increases over time according to a mathematical relationship.
By fitting a power law to historical data, the model creates a trend line that represents this growth. It then generates additional parallel lines (support and resistance lines) to show potential price boundaries, helping to visualize where Bitcoin’s price could move within certain ranges.
In simple terms, the model helps us understand Bitcoin's general growth trajectory and provides a framework to visualize how its price could behave over the long term.
The Bitcoin Power Law has the following function:
Power Law = 10^(a + b * log10(d))
Consisting of the following parameters:
a: Power Law Intercept (default: -17.668).
b: Power Law Slope (default: 5.926).
d: Number of days since a reference point(calculated by counting bars from the reference point with an offset).
Explanation of the a and b parameters:
Roughly explained, the optimal values for the a and b parameters are determined through a process of linear regression on a log-log scale (after applying a logarithmic transformation to both the x and y axes). On this log-log scale, the power law relationship becomes linear, making it possible to apply linear regression. The best fit for the regression is then evaluated using metrics like the R-squared value, residual error analysis, and visual inspection. This process can be quite complex and is beyond the scope of this post.
Applying vertical shifts to generate the other lines:
Once the initial power-law is created, additional lines are generated by applying a vertical shift . This shift is achieved by adding a specific number of days (or years in case of this script) to the d-parameter. This creates new lines perfectly parallel to the initial power law with an added vertical shift, maintaining the same slope and intercept.
In the case of this script, shifts are made by adding +365 days, +2 * 365 days, +3 * 365 days, +4 * 365 days, and +5 * 365 days, effectively introducing one to five years of shifts. This results in a total of six Power Law lines, as outlined below (From lowest to highest):
Base Power Law Line (no shift)
1-year shifted line
2-year shifted line
3-year shifted line
4-year shifted line
5-year shifted line
The six power law lines:
Bitcoin Power Law Oscillator
This publication also includes the oscillator version of the Bitcoin Power Law. This version applies a logarithmic transformation to the price, Base Power Law Line, and 5-year shifted line using the formula log10(x) .
The log-transformed price is then normalized using min-max normalization relative to the log-transformed Base Power Law Line and 5-year shifted line with the formula:
normalized price = log(close) - log(Base Power Law Line) / log(5-year shifted line) - log(Base Power Law Line)
Finally, the normalized price was multiplied by 5 to map its value between 0 and 5, aligning with the shifted lines. The Oscillator version can be found here .
Interpretation of the Bitcoin Power Law Model:
The shifted Power Law lines provide a framework for predicting Bitcoin's future price movements based on historical trends. These lines are created by applying a vertical shift to the initial Power Law line, with each shifted line representing a future time frame (e.g., 1 year, 2 years, 3 years, etc.).
By analyzing these shifted lines, users can make predictions about minimum price levels at specific future dates. For example, the 5-year shifted line will act as the main support level for Bitcoin’s price in 5 years, meaning that Bitcoin’s price should not fall below this line, ensuring that Bitcoin will be valued at least at this level by that time. Similarly, the 2-year shifted line will serve as the support line for Bitcoin's price in 2 years, establishing that the price should not drop below this line within that time frame.
On the other hand, the 5-year shifted line also functions as an absolute resistance , meaning Bitcoin's price will not exceed this line prior to the 5-year mark. This provides a prediction that Bitcoin cannot reach certain price levels before a specific date. For example, the price of Bitcoin is unlikely to reach $100,000 before 2021, and it will not exceed this price before the 5-year shifted line becomes relevant. After 2028, however, the price is predicted to never fall below $100,000, thanks to the support established by the shifted lines.
In essence, the shifted Power Law lines offer a way to predict both the minimum price levels that Bitcoin will hit by certain dates and the earliest dates by which certain price points will be reached. These lines help frame Bitcoin's potential future price range, offering insight into long-term price behavior and providing a guide for investors and analysts. Lets examine some examples:
Example 1:
In Example 1 it can be seen that point A on the 5-year shifted line acts as major resistance . Also it can be seen that 5 years later this price level now corresponds to the Base Power Law Line and acts as a major support (Note: Vertical yearly grid lines have been added for this purpose👍).
Example 2:
In Example 2, the price level at point C on the 3-year shifted line becomes a major support three years later at point C, now aligning with the Base Power Law Line.
Finally, let's explore some future price predictions, as this script provides projections on the weekly timeframe :
Example 3:
In Example 3, the Bitcoin Power Law indicates that Bitcoin's price cannot surpass approximately $808K before 2030 as can be seen at point E, while also ensuring it will be at least $224K by then (point F).
Micha Stocks Custom Watermark (fixed offsetY by n.b)fixed Y offset so no overlap with other indicators.
special thanks to "micha stocks" for the idea.
Pulse of Cycle Oscillator"Pulse of Cycle" Oscillator: Logic and Usage
What Is It and How Does It Work?
The "Pulse of Cycle" is an oscillator that measures the cycles of price rises and falls, helping you spot overbought and oversold conditions. Unlike classic indicators, it doesn’t focus on how much the price moves but tracks its direction (up or down) like a "pulse." Here’s the logic:
Price Movement:
If the price rises compared to the previous bar, it adds +1.
If the price falls, it subtracts -1.
If the price stays the same, it adds 0.
Decay Factor: Each step, the previous value is multiplied by a factor (e.g., 0.9) to shrink it slightly. This keeps the oscillator from growing too big and focuses it on recent price action.
Signals: The oscillator moves around zero. When it crosses certain levels (e.g., 5 and 10), it warns you about overbought or oversold zones:
Weak Signal: Above ±5, the market might be stretching a bit.
Strong Signal: Above ±10, a reversal is more likely.
In short, it tracks the "rhythm" of price streaks (consecutive ups or downs) and signals when things might be getting extreme.
How It Looks on the Chart
Line: The oscillator moves around a zero line.
Colors:
Blue: Normal zone (between -5 and +5).
Orange: Weak overbought (+5 and up) or oversold (-5 and down).
Red: Strong overbought (+10 and up).
Lime: Strong oversold (-10 and down).
Threshold Lines: You’ll see lines at 0, ±5, and ±10 on the chart to show where you are.
How to Use It?
Here’s how to trade with this oscillator:
Buy Opportunity (Long Position):
When?: The oscillator drops below -5 (weak) or -10 (strong), then starts moving back toward zero. This suggests the price has hit a bottom and might rise.
Example: It falls to -12 (lime), then rises to -8. You could buy, expecting a bounce.
Tip: Wait for a green candle to confirm if you want to be safer.
Sell Opportunity (Short Position):
When?: The oscillator rises above +5 (weak) or +10 (strong), then starts dropping back toward zero. This indicates the price might have peaked and could fall.
Example: It hits +11 (red), then drops to +7. You could sell, expecting a decline.
Tip: Look for a red candle to confirm the turn.
Neutral Zone: If it’s between -5 and +5, the market is balanced. You can wait for a clearer signal.
Practical Steps to Use
Add to TradingView:
Paste the code into Pine Editor and click “Add to Chart.”
Adjust Settings (Optional):
Decay (0.9): Lower to 0.7 for faster response, raise to 0.95 for smoother movement.
Thresholds (5 and 10): Change them (e.g., 4 and 8) based on your market.
Watch Signals:
Follow the color changes and threshold crossings.
Set Alerts:
Right-click the oscillator > “Add Alert” to get notified on overbought/oversold signals.
Things to Watch Out For
Confirmation: Pair it with support/resistance levels or candlestick patterns for stronger signals.
Market Type: Works best in range-bound (sideways) markets. In strong trends (all up or down), signals might mislead.
Risk: Always use a stop loss—below the last low for buys, above the last high for sells.
Summary
The "Pulse of Cycle" is a simple yet powerful tool that tracks price movement streaks. Use it to catch reversals at strong signals (-10/+10) or get early warnings at weak signals (±5). The colors and lines on the chart make it easy to see when to act.
KAMA + RSI + ADX + BB with Individual Signals//@version=6
indicator("KAMA + RSI + ADX + BB with Individual Signals", overlay=true)
// --- KAMA Parametreleri ---
fastPeriod = input.int(5, "KAMA Fast Period", minval=2, maxval=20)
slowPeriod = input.int(30, "KAMA Slow Period", minval=10, maxval=50)
effPeriod = input.int(2, "KAMA Efficiency Period", minval=1, maxval=10)
// KAMA Hesaplama Fonksiyonu
kama(close, effPeriod, fastPeriod, slowPeriod) =>
// Verimlilik Oranı (Efficiency Ratio - ER)
change = math.abs(close - close )
// Manuel olarak effPeriod dönemindeki kümülatif toplamı hesapla
var float sum_vol = 0.0
for i = 0 to effPeriod - 1
sum_vol += math.abs(close - close )
volatility = sum_vol
er = volatility == 0 ? 1 : change / volatility
// Düzeltme Faktörü (Smoothing Constant - SC)
sc = math.pow(er * (2.0 / (fastPeriod + 1) - 2.0 / (slowPeriod + 1)) + 2.0 / (slowPeriod + 1), 2)
// KAMA serisini sakla
var float kama_series = close
kama_series := kama_series + sc * (close - kama_series ) // Seriyi güncelle
kama_prev = nz(kama_series , close) // Önceki KAMA değerini al, yoksa kapanış fiyatını kullan
kama_current = kama_prev + sc * (close - kama_prev) // Yeni KAMA değerini hesapla
kama_current // Fonksiyonun dönüş değeri
// KAMA Değeri
kamaValue = kama(close, effPeriod, fastPeriod, slowPeriod)
// --- RSI Parametreleri ---
rsiLength = input.int(14, "RSI Length", minval=2, maxval=50)
rsiOverbought = input.int(70, "RSI Overbought", minval=50, maxval=100)
rsiOversold = input.int(30, "RSI Oversold", minval=0, maxval=50)
rsi = ta.rsi(close, rsiLength)
// --- ADX Parametreleri ---
adxLength = input.int(14, "ADX Length", minval=2, maxval=50)
adxThreshold = input.int(25, "ADX Threshold", minval=10, maxval=50)
= ta.dmi(adxLength, 14) // length ve adxSmoothing (14) argümanları
// --- Bollinger Bantları Parametreleri ---
bbLength = input.int(20, "BB Length", minval=2, maxval=50)
bbMult = input.float(2.0, "BB Multiplier", minval=1.0, maxval=5.0, step=0.1)
= ta.bb(close, bbLength, bbMult)
// --- Her İndikatörün Al-Sat Sinyalleri ---
// KAMA Sinyalleri
kamaBuy = ta.crossover(close, kamaValue)
kamaSell = ta.crossunder(close, kamaValue)
// RSI Sinyalleri
rsiBuy = ta.crossover(rsi, rsiOversold)
rsiSell = ta.crossunder(rsi, rsiOverbought)
// ADX Sinyalleri (Trend güçlenirse al, zayıflarsa sat)
adxBuy = ta.crossover(adx, adxThreshold)
adxSell = ta.crossunder(adx, adxThreshold)
// Bollinger Bantları Sinyalleri
bbBuy = ta.crossover(close, bbUpper)
bbSell = ta.crossunder(close, bbLower)
// --- Görselleştirme ---
// KAMA Çizgisi ve Bollinger Bantları
plot(kamaValue, color=color.orange, title="KAMA", linewidth=2) // KAMA turuncu ve kalın
plot(bbUpper, color=color.blue, title="BB Upper", linewidth=1) // Bollinger üst mavi ve ince
plot(bbMiddle, color=color.blue, title="BB Middle", linewidth=1, style=plot.style_linebr) // Bollinger orta mavi ve ince, kesikli
plot(bbLower, color=color.blue, title="BB Lower", linewidth=1) // Bollinger alt mavi ve ince
// --- Her İndikatör için Al-Sat Sinyalleri ---
// KAMA Sinyalleri
plotshape(kamaBuy, title="KAMA Al", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="Al")
plotshape(kamaSell, title="KAMA Sat", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Sat")
// RSI Sinyalleri
plotshape(rsiBuy, title="RSI Al", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="Al")
plotshape(rsiSell, title="RSI Sat", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Sat")
// ADX Sinyalleri
plotshape(adxBuy, title="ADX Al", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="Al")
plotshape(adxSell, title="ADX Sat", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Sat")
// Bollinger Bantları Sinyalleri
plotshape(bbBuy, title="BB Al", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="Al")
plotshape(bbSell, title="BB Sat", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Sat")
// --- Alt Panelde RSI ve ADX ---
hline(rsiOverbought, "RSI Overbought", color=color.red, linestyle=hline.style_dashed)
hline(rsiOversold, "RSI Oversold", color=color.green, linestyle=hline.style_dashed)
plot(rsi, "RSI", color=color.purple, display=display.pane)
plot(adx, "ADX", color=color.teal, display=display.pane)
hline(adxThreshold, "ADX Threshold", color=color.gray, linestyle=hline.style_dashed)
欧元交易策略(自定义EMA/SMA参数)建议 SMA101 EMA12 EMA21 以下是该策略的详细文字说明:
//【参数与指标设置】
– 策略允许用户自定义三个主要参数:
• SMA Length:用于计算简单移动平均线(SMA);
• EMA Fast Period:用于计算快速指数移动平均线(EMA Fast);
• EMA Slow Period:用于计算慢速指数移动平均线(EMA Slow)。
– 根据这些参数分别计算出 SMA、EMA Fast 和 EMA Slow,并将它们绘制到图表上,便于观察价格与均线之间的关系。
//【入场条件】
– 做多(买入)条件包含两个触发方式:
a. 条件1:当收盘价高于SMA,同时EMA Fast向上穿越EMA Slow时,认为价格处于上行趋势,此时触发做多信号;
b. 条件2:当收盘价上穿SMA且前5根K线的最低价均高于各自时的SMA,说明近期价格一直处于SMA上方,亦触发做多信号。
– 做空(卖出)条件与做多相反:
a. 条件1:当收盘价低于SMA,同时EMA Fast向下穿越EMA Slow时,触发做空信号;
b. 条件2:当收盘价下穿SMA且前5根K线的最高价均低于各自时的SMA,也触发做空信号。
//【初始止损与止盈设置】
– 当策略满足入场条件且当前无持仓时,记录入场时的价格和当时的EMA Fast值。
– 计算初始止损时,采用“入场时EMA Fast价格与固定0.2%止损”中较大的差值作为止损百分比。
• 例如,对于做多来说,若入场价与EMA Fast之间的差距大于0.2%,则以该差距作为止损标准,否则采用0.2%;
– 初始止损价格计算为:
• 多头:入场价 × (1 – 止损百分比);
• 空头:入场价 × (1 + 止损百分比);
– 初始止盈目标设置为止损幅度的5倍(即止盈为止损的5倍)。
//【移动止损机制】
– 在持仓期间,策略持续追踪:
• 多头时记录持仓期间的最高价;
• 空头时记录持仓期间的最低价。
– 当持仓盈利达到0.8%时,启动移动止损机制:
• 对于多头,更新止损价格为持仓期间最高价的0.3%以下;同时重新计算止盈目标(仍保持止盈为更新后止损的5倍);
• 对于空头,更新止损价格为持仓期间最低价的0.3%上方,并相应调整止盈目标。
//【额外平仓条件】
– 无论是多头还是空头持仓,策略都会监控EMA Fast与EMA Slow之间的交叉:
• 如果持多仓时EMA Fast向下穿越EMA Slow,则立即平多;
• 如果持空仓时EMA Fast向上穿越EMA Slow,则立即平空。
– 这项条件有助于在趋势转变时及时退出,以降低风险。
总的来说,该策略通过灵活调节SMA和EMA参数来判断趋势和入场时机,并采用较为严格的止损/止盈设置和动态移动止损机制,以确保在获利的同时尽可能地锁定利润和控制风险。通过调整这些参数,用户可以回测不同的组合,寻找出对欧元交易效果最佳的策略。
SF_StrategySupport And Resistance
Horizontal
4h Support And Resistance
1d Support And Resistance
1w Support And Resistance
1m Support And Resistance
5 Time divider (Vertical)
DEMA-WMA-SMMA Strategy with Bollinger BandsBUY: Green labels below bars
SELL: Red labels above bars
Exit Buy: Red triangles above bars
Exit Sell: Green triangles below bars
EMA POD Indicator #gangesThis script is a technical analysis indicator that uses multiple Exponential Moving Averages (EMAs) to identify trends and track price changes in the market. Here's a breakdown:
EMA Calculation: It calculates six different EMAs (for periods 5, 10, 20, 50, 100, and 150) to track short- and long-term trends.
Trend Identification:
Uptrend: The script identifies an uptrend when the EMAs are in ascending order (EMA5 > EMA10 > EMA20 > EMA50 > EMA100 > EMA150).
Downtrend: A downtrend is identified when the EMAs are not in ascending order.
Trend Change Tracking: It tracks when an uptrend starts and ends, displaying the duration of the trend and the percentage price change during the trend.
Visuals:
It plots the EMAs on the chart with different colors.
It adds green and red lines to represent the ongoing uptrend and downtrend.
Labels are displayed showing when the uptrend starts and ends, along with the trend's duration and price change percentage.
In short, this indicator helps visualize trends, track their changes, and measure the impact of those trends on price.
Supertrend com Confirmação SMA 50o poder do supertrend com a confirmação de sma de 50 para confirmar as entradas.
Williams %R & MACD Swing StrategyWilliams %R goes below -80 and then moves above it (signals potential bullish reversal).
MACD line crosses above the signal line (confirms momentum shift).
The price is above the 50-period EMA (trend filter).
Txn Label MarkerScript which marks txn labels
One need to copy transactions CSV data into pre defined strings fields before executing this
Historical Risk IndicatorHistorical Risk Indicator — это инструмент, анализирующий ценовую историю актива за заданный период (в месяцах) и оценивающий уровень риска относительно локальных экстремумов. Индикатор рассчитывает процентное расположение текущей цены в диапазоне `минимум–максимум` за заданное количество месяцев.
- 🟢 Зеленый цвет: Низкий риск (цена ближе к минимумам периода).
- 🟠 Оранжевый цвет: Средний риск (цена в среднем диапазоне).
- 🔴 Красный цвет: Высокий риск (цена ближе к максимумам периода).
Этот индикатор помогает трейдерам понимать, насколько текущая цена находится в зоне риска по сравнению с историческим диапазоном.
⚙️ Входные параметры:
- Количество месяцев для анализа (по умолчанию 12) — устанавливает временной диапазон, на основе которого вычисляются уровень риска и ценовые экстремумы.
📊 Как использовать?
- Используется для оценки рыночного положения актива по отношению к его историческим максимумам и минимумам.
- Помогает находить моменты, когда цена находится в "беспокойной" зоне.
- Может быть полезным как самостоятельный инструмент, так и в сочетании с другими индикаторами.
🎯 Идеально подходит для позиционных и свинг-трейдеров, анализирующих долгосрочные движения цены! 🚀