Simple MA + RSI//@version=6
// This script is a called " "
// Description:
// This script implements a
// It includes customizable inputs for moving average lengths and plots signals directly on the chart.
//
// Features:
// - Customizable input parameters
// - Buy/sell signals plotted on chart
// - Can be used with alerts (via `alertcondition()`)
// - Suitable for
Bill Williams Indicators
Volume Weighted Average PriceTitle: VWAP with Confirmed Breakout Color Shift
Description:
This is an enhanced Volume Weighted Average Price (VWAP) indicator that dynamically changes color based on confirmed price breakouts above or below the VWAP line.
✅ Green VWAP line indicates a strong bullish move (price has broken above VWAP by at least 0.2%).
🔻 Red VWAP line signals a bearish move (price has dropped below VWAP by at least 0.2%).
⚪️ Neutral gray is used when price is near VWAP without clear breakout confirmation.
Includes optional upper/lower bands based on either standard deviation or percentage distance from VWAP.
Ideal for identifying market bias and confirming momentum shifts in real time.
4wooindiDescription (한글)
이 지표는 BTC/ETH 가격 비율의 Z-Score와 개별 자산(BTC, ETH)의 RSI를 동시에 계산하여, 시장의 추세 강도와 과매수·과매도 구간을 한눈에 파악할 수 있는 통합 전략 대시보드를 제공합니다.
사용자 정의 가능한 기간(length) 및 진입·청산 임계값(threshold) 설정
캔들 차트 위에 오버레이 형태로 표시
트레이딩뷰 기본 툴바 및 알림 기능 완벽 호환
Description (English)
This indicator delivers an integrated strategy dashboard by calculating both the Z-Score of the BTC/ETH price ratio and the RSI of each asset (BTC, ETH), enabling you to visualize market trend strength and overbought/oversold conditions at a glance.
Customizable length and entry/exit threshold settings
Overlay display directly on your candlestick chart
Fully compatible with TradingView’s toolbar and alert system
Z-Score Pairs Trading Composite
z-score
Description (한글)
이 지표는 BTC/ETH 가격 비율의 Z-Score와 개별 자산(BTC, ETH)의 RSI를 동시에 계산하여, 시장의 추세 강도와 과매수·과매도 구간을 한눈에 파악할 수 있는 통합 전략 대시보드를 제공합니다.
사용자 정의 가능한 기간(length) 및 진입·청산 임계값(threshold) 설정
캔들 차트 위에 오버레이 형태로 표시
트레이딩뷰 기본 툴바 및 알림 기능 완벽 호환
Description (English)
This indicator delivers an integrated strategy dashboard by calculating both the Z-Score of the BTC/ETH price ratio and the RSI of each asset (BTC, ETH), enabling you to visualize market trend strength and overbought/oversold conditions at a glance.
Customizable length and entry/exit threshold settings
Overlay display directly on your candlestick chart
Fully compatible with TradingView’s toolbar and alert system
MES Alerts: EMA9/21 + VWAP + Visual TradesTitle:
📈 MES Scalping Indicator – EMA9/21 + VWAP + Entry/TP/SL Visualization
Description:
This indicator combines a simple yet effective scalping setup tailored for the MES (Micro E-mini S&P 500) futures market.
🔧 Features:
EMA 9 & EMA 21 crossover logic
VWAP filter to confirm trend direction
Signal generation on pullbacks in trend direction
Visual trade levels:
Dashed lines for entry, take-profit, and stop-loss
Webhook-ready alerts for automated trading integrations (e.g., via Python, Tradovate API, etc.)
💬 Community Feedback Welcome:
This is an early version. I'm actively seeking input from traders and developers alike — especially around signal refinement, visualization, and automation compatibility.
Feel free to comment or fork.
Happy trading! 🚀
Bar ColorThis script implements a designed to [purpose – e.g., identify trend direction, generate trade signals, highlight overbought/oversold conditions
This script is based on , and is fully customizable with adjustable parameters.
Use it on any asset and timeframe. Best paired with .
Simple Bollinger BandsBollinger Bands are a popular technical analysis indicator used to measure market volatility and identify potential overbought or oversold conditions.
This script plots:
A middle band (20-period Simple Moving Average)
An upper band (SMA + 2 standard deviations)
A lower band (SMA – 2 standard deviations)
Simple RSIThe Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It helps traders identify overbought or oversold conditions in the market.
This script plots the 14-period RSI, which is one of the most commonly used settings.
How It Works:
The RSI ranges from 0 to 100.
Values above 70 suggest the asset may be overbought (a potential sell area).
Values below 30 suggest the asset may be oversold (a potential buy area).
Simple 20 SMAThe Simple 20 SMA is a technical analysis indicator that calculates the average closing price of an asset over the last 20 candles (bars). It smooths out short-term price fluctuations to help traders identify the overall trend direction.
How It Works:
It takes the last 20 closing prices, adds them together, and divides by 20.
The result is plotted as a smooth line on the chart, updating with each new candle
9 EMA & 15 EMA Crossover Arrows//@version=5
indicator("9 EMA & 15 EMA Crossover Arrows", overlay=true)
// EMA calculations
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
// Detect crossovers (on previous candle)
bullishCross = ta.crossover(ema9 , ema15 )
bearishCross = ta.crossunder(ema9 , ema15 )
// Plot arrows on previous candle
plotshape(bullishCross, title="Bullish Cross", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small, offset=-1)
plotshape(bearishCross, title="Bearish Cross", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small, offset=-1)
// Plot EMAs (optional for visual)
plot(ema9, color=color.green, title="9 EMA")
plot(ema15, color=color.orange, title="15 EMA")
Customizable Engulfing, Pin Bar, Inside Bar Colorengulfing,pin,inside bar candle which helps to identify these candles for better visualization and understanding
KST Strategy [Skyrexio]Overview
KST Strategy leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
Unique Features
ATR based stop-loss and take profit. Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
Configurable Trading Periods. Users can tailor the strategy to specific market windows, adapting to different market conditions.
Optional Choppiness Index filter. Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
Methodology
The strategy opens long trade when the following price met the conditions:
Close price is above the Alligator's jaw line
Close price is above the filtering Moving average
KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
If the Choppiness Index filter is enabled its value shall be less than user defined threshold
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.5, number of ATRs to calculate stop-loss level)
ATR Take Profit (by default = 3.5, number of ATRs to calculate take profit level)
Filter MA Type (by default = Least Squares MA, type of moving average which is used for filter MA)
Filter MA Length (by default = 200, length for filter MA calculation)
Enable Choppiness Index Filter (by default = true, setting to choose the optional filtering using Choppiness index)
Choppiness Index Threshold (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
Choppiness Index Length (by default = 14, length used in Choppiness index calculation)
KST ROC Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #2 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #3 (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #4 (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #2 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #3 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #4 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST Signal Line Length (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4
ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4
Also for this indicator the signal line is calculated:
Signal = SMA(KST, KST Signal Line Length)
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
It reacts faster to price changes than most moving averages.
It is smoother and less noisy than short-term EMAs.
It can be used to identify trend direction, momentum, and potential reversal points.
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
High - Low
abs(High - Previous Close)
abs(Low - Previous Close)
ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n)
where:
ΣATR(n) = sum of the Average True Range over n periods
MaxHigh(n) = highest high over n periods
MinLow(n) = lowest low over n periods
log10 = base-10 logarithm
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 60%
Maximum Single Position Loss: -5.53%
Maximum Single Profit: +8.35%
Net Profit: +5175.20 USDT (+51.75%)
Total Trades: 120 (56.67% win rate)
Profit Factor: 1.747
Maximum Accumulated Loss: 1039.89 USDT (-9.1%)
Average Profit per Trade: 43.13 USDT (+0.6%)
Average Trade Duration: 27 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
Bar Color2. indicator("Bar Color", overlay=true) "Bar Color" is the name of the script that will appear on your chart. overlay=true means this script will be drawn directly on the price chart (not in a separate pane). 3. ma = ta.sma(close, 10) This calculates a Simple Moving Average (SMA) of the closing prices over the last 10 bars (candles). ta.sma() is the built-in function for SMA in Pine Script v5. 4. barcolor(close > ma ? color.green : color.red) This line colors each candle/bar: Green if the current close is above the 10-period moving average. Red if the close is below or equal to the moving average. barcolor() changes the bar color but doesn’t plot anything visually on top of the candles — it only recolors them.
Market Structure by HorizonAIThis indicator shows SMC Market structure with BOS and CHoCH. Internal and external structur. Use external structure for better experience.
EUR/USD & DXY StrategyTVS entry module, SMT with DXY and EUR/USD, previous candle sweeps and SELL/BUY above and below opens.
Williams VIX For Bottoms [DCD]Williams VIX Original - Authentic Volatility Fear Gauge
What This Indicator Does
The Williams VIX Fix measures market fear by calculating how far current lows deviate from recent highs, identifying potential market bottoms during high volatility periods. This implementation provides Larry Williams' original formula in its purest form.
How It Works
Core Formula:
VIX Fix = ((Highest High over 22 periods - Current Low) / Highest High over 22 periods) × 100
The calculation process:
Measures Relative Distance: Compares current low to highest high over lookback period
Converts to Percentage: Normalizes values for cross-market comparison
Applies Statistical Analysis: Uses Bollinger Bands (2 std dev) around VIX Fix values
Filters with Percentiles: 85th percentile threshold removes noise
Signal Generation
Green Flash Signals trigger when either condition is met:
VIX Fix exceeds upper Bollinger Band (2 standard deviations above 20-period MA)
VIX Fix exceeds Range High (85th percentile of recent values)
This dual-condition approach reduces false signals while capturing genuine volatility spikes.
What Makes This Original
Pure Formula Implementation: Uses Williams' exact original calculation without modifications
Dual Confirmation System: Combines Bollinger Bands with percentile analysis
Professional Visualization: Histogram display, background highlighting, and live value table
Comprehensive Alerts: Signal start/end notifications plus Green Flash alerts
How to Use
Primary Purpose: Spot high-probability reversal zones during market fear climaxes
Signal Interpretation:
Green triangle + background highlight = High volatility reversal zone
Higher VIX Fix values = Stronger fear/better reversal potential
Use with price action confirmation for best results
Optimal Settings:
Timeframes: 4H, Daily, Weekly
Markets: All (stocks, crypto, forex, commodities)
Combine with support levels and candlestick patterns
Key Parameters:
VIX Fix Length (22): Lookback period for highest high
Std Dev Multiplier (2.0): Bollinger Band sensitivity
Percentile High (0.85): Only top 15% of readings trigger signals
The VIX Fix excels at identifying market fear climaxes that coincide with significant price bottoms, making it valuable for swing traders seeking high-probability entries during market stress.
Edukasi Bar & MFI Profitmore🎯 Profitmore Trade Indicator: Combination of Market Facilitation Index (MFI) & Bill Williams Bar Rules
This script is a visual aid designed for Profitmore Trade traders. It combines the Market Facilitation Index (MFI) by Bill Williams with his unique bar classification system. The main objective is to reveal the starting point of a new wave and the ending of the previous one , as emphasized in the Profitmore method.
🔍 Key Components:
MFI (Market Facilitation Index)
An indicator by Bill Williams that measures the efficiency of price movement relative to volume. It’s calculated as (High - Low) ÷ Volume, and categorized based on the combination of MFI movement and volume: Green , Fade , Fake , and Squat .
Bar Classification (Bill Williams):
Categorizes price bars into psychological market signals: bullish bar, bearish bar, inside bar, reversal bar, etc. Useful for detecting subtle shifts in market sentiment.
🎯 Use Cases:
✅ Identifies the zero point of a trend shift.
✅ Filters out false signals.
✅ Visualizes the market's driving forces.
✅ Suitable for multiple timeframes (D1, H4, H1).
📌 This script is intended for Profitmore Trade education participants, but is freely available as an open learning tool.
Custom EMA 5 LinesThis is a Pine Script example for 5 EMAs where each EMA can have a customizable length, and each line is set to 1 pixel width:
Live SPX Buy/Sell Zones (Simulated)This indicator allows you to see when people bought and sold by the grace of Jesus Christ