fadi ffa This script is for educational purposes only. It draws historical pivot points and labels them on the chart to help users visualize price levels. It does not provide trading signals, recommendations, or any financial advice. Use at your own risk. The author is not responsible for any decisions made based on this script.
Bantlar ve Kanallar
FVG IndicatorYet another indicator allowing you to plot FVGs with the following specific features:
FVG Detection: It automatically identifies bullish (BISI) and bearish (SIBI) FVGs based on the relationship between candle highs and lows.
Clear Visualization: It draws boxes to represent the FVGs and adds a median line for each FVG, making them easier to identify.
Dynamic Styles: The indicator adapts the appearance of FVGs (color and border style) based on their current state:
Untested: When the price has not yet interacted with the FVG.
Tested (Partially Traversed): When the price has entered the FVG.
Fully Traversed (Unmitigated): When the price has completely crossed the FVG but has not yet "invalidated" it (closed beyond the FVG).
Mitigated: When the FVG is invalidated by price action, it disappears from the chart to avoid clutter. This disappearance only occurs after the closing of the mitigating candle.
Full Customization: You can adjust all colors and border styles for each FVG state via the indicator's settings, as well as the maximum number of FVGs displayed.
----------------------------------------------------------------------------------------------------------------------
Avg High/Low Lines with TP & SL아래 코드는 TradingView Pine Script v6으로 작성된 스크립트로, 주어진 캔들 수 동안의 평균 고가와 저가를 계산해서 그 위에 수평선을 그리며, 해당 수평선 돌파 시 진입 가격을 기록하고, 손절가(SL)와 목표가(TP)를 자동으로 계산하여 표시하는 전략입니다. 알림(alert) 기능도 포함되어 있습니다.
코드 주요 기능 요약
length 기간 동안 평균 고가, 저가를 단순 이동평균(SMA)으로 계산
평균 고가선, 저가선 수평선을 일정 바 개수만큼 좌우 연장하여 차트에 표시
평균 고가 돌파 시 매수 진입, 평균 저가 돌파 시 매도 진입 처리
진입 가격 저장 및 상태 관리 (inLong, inShort 플래그)
손절가(SL): 롱이면 평균 저가, 숏이면 평균 고가
목표가(TP): 진입가에서 손절 거리의 1.5배만큼 설정
진입가 기준으로 TP, SL 라인과 라벨 표시
상단 돌파 후 종가 마감 시 매수 알림, 하단 돌파 후 종가 마감 시 매도 알림
Sure! Here’s the English explanation of your TradingView Pine Script v6 code:
Summary of Key Features
Calculates the simple moving average (SMA) of the high and low prices over a user-defined number of candles (length).
Draws horizontal lines for the average high and average low, extending them a specified number of bars to the left and right on the chart.
Detects breakouts above the average high to trigger a long entry, and breakouts below the average low to trigger a short entry.
Records the entry price and manages trade states using flags (inLong, inShort).
Sets the stop loss (SL) at the average low for long positions, and at the average high for short positions.
Calculates the take profit (TP) level based on the entry price plus 1.5 times the stop loss distance.
Draws lines and labels for the TP and SL levels starting from the entry bar, extended to the right.
Sends alerts when the price closes above the average high after a breakout (long signal), or closes below the average low after a breakout (short signal).
-onestar-
EMA 9/21 Crossover Indicator w/ ADX Filter9 and 21 EMA cross over showing buy and sell signals when the ADX is above 20. This is scalping strategy but does work on all time frame. Best used in a trending market
Simple Volume Profile with POC, VAH, VAL + nPOCVRVP by Kolesnik
This indicator halp you with analitick
Breakout with ATR & Volume Filter🚀 Introducing Our New Breakout Strategy: Powerful Signals with ATR & Volume Filters
Designed specifically for the fast and volatile crypto markets, this breakout strategy delivers robust signals on Bitcoin’s 15-minute charts.
🌟 Key Features:
ATR filter ensures entries only during high volatility periods, reducing false signals.
Volume confirmation captures strong and reliable breakouts.
20-period support/resistance breakout levels identify early trend moves.
Scientifically optimized stop loss and take profit levels provide effective risk management.
Simple, clear, and effective — ideal for both beginners and professional traders.
🔥 Why Choose This Strategy?
It filters out market noise and focuses on genuine momentum moves, increasing your chances of success by leveraging real-time volatility and volume conditions.
📈 How to Use
Easily deploy on TradingView with customizable parameters. Perfect for traders who need quick, confident decisions in crypto markets.
Get closer to success in BTC trading with reliable signals and smart risk management!
تنبؤ حركة الشارت (حجم وخطوط اتجاه)A forecast for the movement of the prices is helpful to add to the peviouse indicator
Polynomial Regression + RSI Explosive Zones// Sonic R
EMA_len = input.int(89, title="EMA Signal Length")
HiLoLen = input.int(34, title="PAC EMA Length")
// Polynomial Regression
regression_length = input.int(10, title="Regression Length")
fractal_size = input.int(2, title="Fractal Size")
// Color inputs for regression
colorMid = input.color(color.red, title="Mid Line Color")
colorMax = input.color(color.orange, title="Max Line Color")
colorMin = input.color(color.green, title="Min Line Color")
colorUpper = input.color(color.blue, title="Upper Line Color")
colorLower = input.color(color.purple, title="Lower Line Color")
// === SONIC R ===
// PAC lines
pacC = ta.ema(close, HiLoLen)
pacL = ta.ema(low, HiLoLen)
pacH = ta.ema(high, HiLoLen)
plot(pacL, title="PAC Low EMA", color=color.new(color.blue, 50))
plot(pacH, title="PAC High EMA", color=color.new(color.blue, 50))
plot(pacC, title="PAC Close EMA", color=color.new(color.blue, 0), linewidth=2)
fill(plot(pacL), plot(pacH), color=color.aqua, transp=90, title="Fill PAC")
// EMA lines
ema610 = ta.ema(close, 610)
ema200 = ta.ema(close, 200)
emaSignal = ta.ema(close, EMA_len)
plot(ema610, title="EMA 610", color=color.white)
plot(ema200, title="EMA 200", color=color.fuchsia)
plot(emaSignal, title="EMA Signal", color=color.orange, linewidth=2)
AI Score Indicator//@version=5
indicator("AI Score Indicator", overlay=true)
// Eingaben
length = input.int(14, title="RSI Length")
smaLength = input.int(50, title="SMA Length")
bbLength = input.int(20, title="Bollinger Band Length")
stdDev = input.float(2.0, title="Standard Deviation")
// Indikatoren
rsi = ta.rsi(close, length)
sma = ta.sma(close, smaLength)
= ta.bb(close, bbLength, stdDev)
// Scoring (simuliert ein KI-System mit gewichteten Bedingungen)
score = 0
score := rsi < 30 ? score + 1 : score
score := close < sma ? score + 1 : score
score := close < bb_lower ? score + 1 : score
score := ta.crossover(close, sma) ? score + 1 : score
// Buy-/Sell-Signale auf Basis des Scores
buySignal = score >= 3
sellSignal = rsi > 70 and close > sma
// Signale anzeigen
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Score visualisieren (debugging)
plot(score, title="AI Score", color=color.orange)
AlphaTrend//@version=5
indicator('AlphaTrend', shorttitle='AT', overlay=true, format=format.price, precision=2, timeframe='')
coeff = input.float(1, 'Multiplier', step=0.1)
AP = input(14, 'Common Period')
ATR = ta.sma(ta.tr, AP)
src = input(close)
showsignalsk = input(title='Show Signals?', defval=true)
novolumedata = input(title='Change calculation (no volume data)?', defval=false)
upT = low - ATR * coeff
downT = high + ATR * coeff
AlphaTrend = 0.0
AlphaTrend := (novolumedata ? ta.rsi(src, AP) >= 50 : ta.mfi(hlc3, AP) >= 50) ? upT < nz(AlphaTrend ) ? nz(AlphaTrend ) : upT : downT > nz(AlphaTrend ) ? nz(AlphaTrend ) : downT
color1 = AlphaTrend > AlphaTrend ? #00E60F : AlphaTrend < AlphaTrend ? #80000B : AlphaTrend > AlphaTrend ? #00E60F : #80000B
k1 = plot(AlphaTrend, color=color.new(#0022FC, 0), linewidth=3)
k2 = plot(AlphaTrend , color=color.new(#FC0400, 0), linewidth=3)
fill(k1, k2, color=color1)
buySignalk = ta.crossover(AlphaTrend, AlphaTrend )
sellSignalk = ta.crossunder(AlphaTrend, AlphaTrend )
K1 = ta.barssince(buySignalk)
K2 = ta.barssince(sellSignalk)
O1 = ta.barssince(buySignalk )
O2 = ta.barssince(sellSignalk )
plotshape(buySignalk and showsignalsk and O1 > K2 ? AlphaTrend * 0.9999 : na, title='BUY', text='BUY', location=location.absolute, style=shape.labelup, size=size.tiny, color=color.new(#0022FC, 0), textcolor=color.new(color.white, 0))
plotshape(sellSignalk and showsignalsk and O2 > K1 ? AlphaTrend * 1.0001 : na, title='SELL', text='SELL', location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.new(color.maroon, 0), textcolor=color.new(color.white, 0))
alertcondition(buySignalk and O1 > K2, title='Potential BUY Alarm', message='BUY SIGNAL!')
alertcondition(sellSignalk and O2 > K1, title='Potential SELL Alarm', message='SELL SIGNAL!')
alertcondition(buySignalk and O1 > K2, title='Confirmed BUY Alarm', message='BUY SIGNAL APPROVED!')
alertcondition(sellSignalk and O2 > K1, title='Confirmed SELL Alarm', message='SELL SIGNAL APPROVED!')
alertcondition(ta.cross(close, AlphaTrend), title='Price Cross Alert', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low, AlphaTrend), title='Candle CrossOver Alarm', message='LAST BAR is ABOVE ALPHATREND')
alertcondition(ta.crossunder(high, AlphaTrend), title='Candle CrossUnder Alarm', message='LAST BAR is BELOW ALPHATREND!')
alertcondition(ta.cross(close , AlphaTrend ), title='Price Cross Alert After Bar Close', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low , AlphaTrend ), title='Candle CrossOver Alarm After Bar Close', message='LAST BAR is ABOVE ALPHATREND!')
alertcondition(ta.crossunder(high , AlphaTrend ), title='Candle CrossUnder Alarm After Bar Close', message='LAST BAR is BELOW ALPHATREND!')
MEAN X VIBRATION(dynammic)This is a base example for using mean reversion in trading. the probability of sellers coming in on the 1.9-2.4 band is highly likely . use 1.2-0.9 as a smaller vibration.
key note universal laws are used in this. those who can see will see.
Dhokiya's 0.09% IndicatorThis is a custom indicator for predicting the levels on NSE:NIFTY chart for day trading. More strategy details will be updated soon.
(WIP)
- Rahul Dhangar
Alım Algoritması (EMA + RSI + MACD + ATR + Pozisyon Takibi)//@version=5
indicator("Alım Algoritması (EMA + RSI + MACD + ATR + Pozisyon Takibi)", overlay=true)
// === INPUTS ===
ema1_len = input.int(21, title="EMA 1")
ema2_len = input.int(50, title="EMA 2")
ema3_len = input.int(100, title="EMA 3")
rsi_len = input.int(14, title="RSI Length")
atr_len = input.int(14, title="ATR Length")
macd_fast = input.int(12, title="MACD Fast")
macd_slow = input.int(26, title="MACD Slow")
macd_signal = input.int(9, title="MACD Signal")
max_distance_pct = input.float(5.0, title="Max EMA Distance %", step=0.1)
// === CALCULATIONS ===
ema1 = ta.ema(close, ema1_len)
ema2 = ta.ema(close, ema2_len)
ema3 = ta.ema(close, ema3_len)
avg_ema = (ema1 + ema2 + ema3) / 3
distance_pct = math.abs(close - avg_ema) / avg_ema * 100
ema_near = distance_pct <= max_distance_pct
basis = ta.sma(close, 20)
dev = ta.stdev(close, 20)
upper = basis + 2 * dev
lower = basis - 2 * dev
width = (upper - lower) / basis
is_range = width < 0.12 // %5'ten dar bant
rsi = ta.rsi(close, rsi_len)
rsi_trend = ta.sma(rsi, 5)
rsi_up = rsi > rsi_trend
= ta.macd(close, macd_fast, macd_slow, macd_signal)
ema1_cross = ta.crossover(close, ema1) or ta.crossover(close, ema2) or ta.crossover(close, ema3)
ema_recent_cross = ta.barssince(ema1_cross) < 5
// === BUY SIGNAL ===
//buy_signal = ema_near and ema_recent_cross and
// macdLine > signalLine and hist > 0 and
// rsi > 45 and rsi < 65 and rsi_up
buy_signal = not is_range and ema_near and ema_recent_cross and
macdLine > signalLine and hist > 0 and
rsi > 45 and rsi < 65 and rsi_up
//buy_signal = not is_range and ema_near and ema_recent_cross and
// macdLine > signalLine and hist > 0 and
// rsi > 45 and rsi < 65 and rsi_up
// === POSITION LOGIC ===
var bool in_position = false
var float entry_price = na
var float stop_loss = na
var float take_profit_1 = na
var float take_profit_2 = na
atr = ta.atr(atr_len)
// Koşullar
new_buy = buy_signal and not in_position
// SL ve TP seviyeleri hesaplama
new_sl = close - 1.5 * atr
new_tp1 = close + 2.0 * atr
new_tp2 = close + 3.5 * atr
// Pozisyon açma
if new_buy
in_position := true
entry_price := close
stop_loss := new_sl
take_profit_1 := new_tp1
take_profit_2 := new_tp2
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
sl_hit = in_position and low <= stop_loss
tp1_hit = in_position and high >= take_profit_1
tp2_hit = in_position and high >= take_profit_2
// Pozisyon kapama sinyali
if sl_hit
in_position := false
//label.new(bar_index, low, "SL", style=label.style_label_down, color=color.red, textcolor=color.white)
if tp2_hit
in_position := false
//label.new(bar_index, high, "TP2", style=label.style_label_down, color=color.rgb(209, 34, 222), textcolor=color.white)
else if tp1_hit
in_position := false
//label.new(bar_index, high, "TP1", style=label.style_label_down, color=color.rgb(209, 34, 222), textcolor=color.white)
// === PLOT ===
// Sadece BUY, SL ve TP seviyeleri çizilir
plot(in_position ? stop_loss : na, title="Stop Loss", color=color.red, style=plot.style_linebr)
//plot(in_position ? take_profit_1 : na, title="TP1", color=color.rgb(209, 34, 222), style=plot.style_linebr)
//plot(in_position ? take_profit_2 : na, title="TP2", color=color.rgb(209, 34, 222), style=plot.style_linebr)
Indicador Pro: Medias + RSI + ADX + Engulfing + FiboThis advanced indicator is designed to detect high-probability trading opportunities by combining multiple technical signals into a single system.
✅ Included Features:
EMA cross signals (fast vs. slow)
Confirmation via RSI (avoids overbought/oversold conditions)
Trend strength filter using ADX
Entry validation with Engulfing candlestick patterns
Automated buy/sell alerts
Dynamic Take Profit (TP) and Stop Loss (SL) levels
Automatic Fibonacci retracement zones
EMA + RSI Trend Strength v6✅ Indicator Name:
EMA + RSI Trend Strength v6
📌 Purpose:
This indicator combines trend detection (via EMA) with momentum confirmation (via RSI) to help traders identify high-probability bullish or bearish conditions. It also provides optional visual buy/sell signals and trend shading directly on the chart.
⚙️ Core Components:
1. Inputs:
emaLen: Length of the Exponential Moving Average (default: 50).
rsiLen: RSI period for momentum analysis (default: 14).
rsiOB, rsiOS: RSI levels for context (default: 70/30, but mainly 50 is used for trend strength).
showSignals: Toggle for showing entry signals.
2. Logic:
Bullish Condition:
Price is above the EMA
RSI is above 50 (indicating positive momentum)
Bearish Condition:
Price is below the EMA
RSI is below 50
3. Visuals & Outputs:
EMA Line: Orange line on the price chart showing the trend direction.
Buy Signal: Green triangle appears below the candle when bullish condition is met.
Sell Signal: Red triangle appears above the candle when bearish condition is met.
Background Color:
Light green when bullish
Light red when bearish
MACD Histogram v6This script plots the MACD histogram, a popular momentum indicator used to identify bullish/bearish momentum shifts, convergence/divergence between moving averages, and potential entry/exit signals.
Core Components:
Inputs:
fast – Period for the fast EMA (default: 12).
slow – Period for the slow EMA (default: 26).
signal – Period for the signal line EMA (default: 9).
Simple v6 Moving‑Average TrendTo provide a visual guide for trend direction using EMA crossovers, supported by a dynamic trailing stop for potential exit zones. It shows whether the price is above or below a moving average and highlights shifts in trend with labeled signals and a stop-line.
⚙️ How It Works
1. EMA Calculation
It computes a single EMA (default: 20-period) from the current chart’s close price.
The EMA represents the short-term trend.
TRADER_3DThis indicator is derived from the sum of moving averages. Price charts sometimes react to the areas of this indicator. You cannot rely on this indicator alone and enter a trade only by reacting to these bands. This is wrong and will lower your win rate. Instead, wait for the remaining conditions to form before entering a trade, for example with full-body candles or a multi-time frame look.
Volatility Flow X | Dual Trend Strategy [VWMA+SMA+ADX]📌 Strategy Title
Volatility Flow X | Dual Trend Strategy
🧾 Description
🚀 Strategy Overview
Volatility Flow X is a dual-directional trading strategy that combines Volume-Weighted MA (VWMA) for momentum, Simple MA (SMA) for trend direction, ADX for trend strength filtering, and ATR-based volatility cloud for dynamic support/resistance zones.
It is designed specifically for high-volatility assets like BTC/USD on intraday timeframes such as 15 min, 30 min, and 1 hour — offering both breakout and trend-following opportunities.
🔬 Technical Components and Sources
1. VWMA (Volume-Weighted Moving Average)
Captures volume-weighted momentum shifts.
📚 Kirkpatrick & Dahlquist (2010) — “Technical Analysis”
2. SMA (Simple Moving Average)
Used as a baseline trend direction validator.
📚 Ernie Chan — “Algorithmic Trading” (2013)
3. ADX (Average Directional Index)
Filters out low-conviction signals based on trend strength.
📚 J. Welles Wilder (1978) — ADX in directional movement systems
4. ATR Cloud (Volatility Envelope)
Creates upper and lower dynamic bands using ATR to visualize trend pressure.
📚 Zunino et al. (2017) — Fractal volatility behavior in Bitcoin markets
🧠 Key Features
✅ 3 configurable Long signal modes
✅ 3 configurable Short signal modes
✅ Manually switchable signals for flexibility
✅ Auto-calculated TP/SL using ATR and risk/reward ratio
✅ ADX filter to avoid choppy trends
✅ Visual cloud overlay for support/resistance
✅ Suitable for scalping and short-term swing trading
⚙️ Recommended Settings (for BTC/USDT – 30min)
VWMA Length = 18
SMA Length = 50
ATR Length = 14, Multiplier = 2.5
Risk-Reward Ratio = 1.5
ADX Length = 14, Threshold = 18, Lookback = 4
⚠️ Disclaimer
This strategy is not financial advice. Please backtest and understand the risks before using it in live markets.