MAGICAL 50 LINEExplanation:
Indicator Declaration: The script declares an indicator to overlay on the chart.
Time Calculation: Calculates the start time of the first 5-minute candle, assuming it begins at 9:15 AM.
First Candle Close: It gets the closing price of the first 5-minute candle.
Calculate +50: It calculates the level 50 points above the closing price.
Plot Line: It plots a line at the calculated +50 level in green.
This script will draw a line on your chart at the specified level, providing a visual reference for your analysis. If you have any other requests or modifications, just let me know! 😊
Penunjuk dan strategi
Improved RSI with Divergence + Gradient + Trend HistogramThis will:
Restrict the y-axis to start at 0
Prevent any accidental -40 scale drops
You can now safely reintroduce the histogram bars without breaking the scale.
Let me know if you want to move the histogram to a separate pane or adjust its bar thickness/gradient.
MACD AaronVersionAutomatically changes color to help you better assess trend strength, suitable for use with breakout or range trading strategies.
Fast Line (MACD):
🔸 Higher than yesterday → Yellow
🔹 Lower than yesterday → Gray
Slow Line (Signal Line):
🟢 After a Golden Cross occurs → stays Green until a Death Cross
🔴 After a Death Cross occurs → stays Red until the next Golden Cross
SuperBollingerTrend MACD ADXWrote this, but it didn't work so well
I used MACD ADX and SuperBollingerTrend
EMA Trend with MACD-Based Bar Coloring (Customized)This indicator blends trend-following EMAs with MACD-based momentum signals to provide a visually intuitive view of market conditions. It's designed for traders who value clean, color-coded charts and want to quickly assess both trend direction and overbought/oversold momentum.
🔍 Key Features:
Multi-EMA Trend Visualization:
Includes four Exponential Moving Averages (EMAs):
Fast (9)
Medium (21)
Slow (50)
Long (89)
Each EMA is dynamically color-coded based on its slope—green for bullish, red for bearish, and gray for neutral—to help identify the trend strength and alignment at a glance.
MACD-Based Bar Coloring:
Candlesticks are colored based on MACD's relationship to its Bollinger Bands:
Green bars signal strong bullish momentum (MACD > Upper Band)
Red bars signal strong bearish momentum (MACD < Lower Band)
Gray bars reflect neutral conditions
Compact Visual Dashboard:
A clean, top-right table displays your current EMA and MACD settings, helping you track parameter configurations without opening the settings menu.
✅ Best Used For:
Identifying trend alignment across short- to medium-term timeframes
Filtering entries based on trend strength and MACD overextension
Enhancing discretion-based or rule-based strategies with visual confirmation
2-Candle Reversal with Hammer + MA + RSI (Buy Alert)First Candle (Setup Candle):
Hammer:
Lower wick ≥ 2 × real body
Close is:
Below MA20 and MA200
MA20 is below MA200 (bearish environment)
RSI < 40
Second Candle (Confirmation Candle):
Higher Low
Higher High and Close above previous high
TradersFriendCandles v2
TradersFriendCandles
A fully customizable candle‑color and banding indicator built on percentile + ATR, with optional EMA vs. ALMA trend filtering and higher‑timeframe support.
Key Features
Dynamic Percentile Center Line
Compute any Nth percentile over M bars (default 20th over 15) to serve as a reference “mid‑price” level.
ATR‑Based Bands
Envelope that percentile line with upper/lower bands at X × ATR (default 1×), plus an extended upper band at 3.5× ATR.
Higher‑Timeframe Mode
Plot bands based on a higher timeframe (e.g. daily bands on a 15m chart) so you can gauge macro support/resistance in micro timeframes.
Custom‑Color Candles
5 user‑editable colors for:
Strong bullish
Light bullish
Neutral
Light bearish
Strong bearish
Optional EMA vs. ALMA Trend Filter
When enabled, candles simply turn “bull” or “bear” based on fast EMA crossing above/below slow ALMA.
Border‑Only Coloring
Keep candle bodies transparent and color only the border & wick.
Live Plot Labels & Track Price
All lines carry titles and can display current values directly on the price scale.
Alerts
Strong Bull Breakout (price stays above upper band)
Strong Bear Breakdown (price closes below lower band)
EMA/ALMA crossovers
Inputs & Customization
Percentile level & lookback length
ATR length, multiplier, opacity
Fast EMA length, ALMA parameters (offset, length, sigma)
Toggle bands, lines, custom candles, higher‑timeframe mode
Pick your own colors via color‑picker inputs
Use TradersFriendCandles to visualize momentum shifts, dynamic support/resistance, and trend strength all in one overlay. Perfect for pinpointing breakouts, breakdowns, and filtering noise with adjustable sensitivity.
CANX Pairs Table© CanxStixTrader
This Indicator simply shows the change in movement of all the major currency pairs using custom time frames and percentage.
Customize time frame, background, text colors and indicator location to suit.
Keep it simple!
USDTUSD Stoh RSI [SAKANE]Release Note
■ Overview
The USDTUSD Stoch RSI indicator visualizes shifts in market sentiment and liquidity by applying the Stochastic RSI to the USDT/USD price pair.
Rather than tracking the price of Bitcoin directly, this tool observes the momentum of USDT, a key intermediary in most crypto transactions, to detect early signals of trend reversals.
■ Background & Motivation
USDT exhibits two distinct characteristics:
Its credibility as a long-term store of value is limited.
Yet, it serves as one of the most liquid assets in the crypto space and is widely used as a trading base pair.
Because most BTC trades involve converting fiat into USDT and vice versa, USDT/USD frequently deviates slightly from its peg to USD.
These deviations—though subtle—often occur just before major shifts in the broader crypto market.
This indicator is designed to detect such moments of structural imbalance by applying momentum analysis to USDT itself.
■ Feature Highlights
Calculates RSI and Stochastic RSI on the USDT/USD closing price
Supports customizable smoothing via SMA or EMA
Background shading dynamically visualizes overheated or cooled market states (thresholds are adjustable)
Displayed in a separate pane, keeping it visually distinct from the price chart
■ Usage Insights
This indicator is based on an observable pattern:
When the Stochastic RSI bottoms out, Bitcoin tends to form a price bottom shortly afterward
Conversely, when the indicator peaks, Bitcoin tends to top out with a slight delay
Since USDT acts as a gateway for capital in and out of the market, changes in its momentum often foreshadow turning points in BTC.
This allows traders to anticipate shifts in sentiment rather than merely reacting to them.
■ Unique Value Proposition
Unlike conventional price-based indicators, this tool offers a structural perspective.
It focuses on USDT as a mechanism of liquidity flow, making it possible to detect the "hidden rhythm" of the crypto market.
In that sense, this is not just a technical tool, but an entry point into market microstructure analysis—allowing users to read the market’s intentions rather than just its movements.
■ Practical Tips
Look for reversals in momentum as potential BTC entry or exit points.
Overlay this indicator with the BTC chart to compare timing and divergence.
Combine with other tools such as on-chain data or macro indicators for comprehensive analysis.
■ Final Thoughts
USDTUSD Stoch RSI is designed with the belief that the most important market signals often come from what drives the price, not the price itself.
By tuning into the “heartbeat” of capital flow, this indicator sheds light on market dynamics that would otherwise remain unseen.
We hope it proves useful in your trading and research.
ADR & ATR Extension from EMAThis indicator helps identify how extended the current price is from a chosen Exponential Moving Average (EMA) in terms of both Average Daily Range (ADR) and Average True Range (ATR).
It calculates:
ADR Extension = (Price - EMA) / ADR
ATR Extension = (Price - EMA) / ATR
The results are shown in a floating table on the chart.
The ADR line turns red if the price is more than 4 ADRs above the selected EMA
Customization Options:
- Select EMA length
- Choose between close or high as price input
- Set ADR and ATR periods
- Customize the label’s position, color, and transparency
- Use the chart's timeframe or a fixed timeframe
Golden chart v1## Golden Chart v1 – Trend Tracking & Signal Visualization Tool
**Version**: v1
**Pine Script**: version=5
**Visibility**: Invite-only
### Overview
Golden Chart v1 combines EMA-based trend bands (Golden Chart 2) with ATR-derived dynamic levels (Golden Chart 3) to help traders identify potential trend phases, visualize BUY/SELL signals, and color candles by trend direction.
### Key Features
- **Golden Chart 2 (EMA bands)**
- Calculates `emaHigh` & `emaLow` using `gc2_ema_period` (default 10)
- Determines SSL-style trend lines `sslUp` & `sslDown`
- **Golden Chart 3 (ATR levels)**
- Computes weighted ATR (`avgTR`) over `gc3_length` (default 13)
- Sets dynamic levels `hiLimit` & `loLimit` with `gc3_multiplier` (default 2.0)
- Plots `ret` line as the active trend level
- **Trade Signals**
- `BUY` label on bullish cross (`sslUp` → `sslDown` + close>open)
- `SELL` label on bearish cross (`sslDown` → `sslUp` + close **Request:** Invite-only v1 review for House Rules approval. Thank you!
Grid Tendence V1The “Grid Tendence V1” strategy is based on the classic Grid strategy, only in this case the entries and exits are made in favor of the trend, which allows you to take advantage of large movements to maximize profits, because you can also enter and exit with the entire balance with a controlled risk, because precisely the distance between each Grid works as a natural and adaptive stop loss and take profit.
In version 1 of the script the entries and exits are always at the market, and based on the percentage change of the price, not on the profit or loss of the current position.
However, it is recommended to optimize the parameters so that the strategy is effective for each asset and for each time frame.
RSI-SMA + ADX + EMA Optimized StrategyRSI-SMA Crossover Strategy for Nifty Option Buying
Strategy Type: Intraday or Swing
Instruments: Nifty ATM Options (Weekly expiry)
Chart Timeframe: 5-minute (for intraday) or 15-minute (for short-term trades)
Indicators Used:
RSI (Relative Strength Index) – 14 period
SMA (Simple Moving Average) of RSI – typically 9 or 10 period
Entry Rules:
Buy ATM Call Option (Bullish Setup):
RSI crosses above its SMA (RSI line crosses above RSI-SMA).
RSI is above 50 at the time of crossover.
Nifty price is above 20 EMA (optional filter for trend confirmation).
Buy ATM Call Option of current week expiry.
Buy ATM Put Option (Bearish Setup):
RSI crosses below its SMA.
RSI is below 50 at the time of crossover.
Nifty price is below 20 EMA (optional).
Buy ATM Put Option of current week expiry.
Exit Rules:
Target: 30–50% profit on premium
Stop-loss: 25–30% of premium OR opposite crossover
Time-based exit: Square off by 3:15 PM (for intraday)
Ma stratégieAlphaTrader – Sunjoku Strategy
Overview:
AlphaTrader – Sunjoku Strategy is a precision intraday trading tool combining three core processes of the Sunjoku method with advanced institutional logic. Built for scalpers and intraday trend followers, it identifies high-probability entries using Initial Balance breakouts, VWAP bands, order blocks (H1 & H4 only), and volume-driven impulses.
Core Features:
✅ Sunjoku 3-Process Logic:
Process 1: Institutional Impulse Recognition
Process 2: Structure Retest after EMA Shift
Process 3: Reversal from Extreme Deviation Zones (VWAP)
✅ Initial Balance Detection & Breakout Filtering (05:00–06:00 UTC)
✅ VWAP Daily & Weekly Bands with Up to 3 Standard Deviations
✅ Order Blocks (H1 & H4 Only) with Auto Buy/Sell Signal Zones
✅ High-Volume Filter + EMA Flux Alignment
✅ Clean Dashboard for Live Conditions
✅ Visual Entry Points + Alerts
✅ Optimized for M15 precision entries
Best Timeframe:
M15 (Main execution)
H1/H4 (Context – Order Block Zones)
Use Cases:
Prop Firm Challenges
High-precision intraday trading
Institutional momentum capture
Structured trade confirmation via volume and imbalance
Note:
This indicator is built to avoid noise and reduce false signals by aligning volume, VWAP structure, and Initial Balance breakouts. Order Blocks are filtered and visible only on H1 and H4, with smart confirmation logic.
动态止损趋势指标Trend indicators edited by Happy in Chiang Mai,When the K-line is above the stop loss line, go long; when the K-line is below the stop loss line, go short. The stop loss line stops loss, which is applicable to the two-minute cycle.
My script//@version=6
strategy("Ultimate Combined Buy/Sell Strategy - 4$ Profit", overlay=true)
// تنظیمات ورودی
maFastLength = input.int(5, title="Fast MA Length", minval=1)
maSlowLength = input.int(13, title="Slow MA Length", minval=1)
rsiLength = input.int(14, title="RSI Length", minval=1)
bbLength = input.int(20, title="Bollinger Length", minval=1)
bbMult = input.float(2.0, title="Bollinger Multiplier", minval=0.1, step=0.1)
stochK = input.int(14, title="Stochastic K", minval=1)
stochD = input.int(3, title="Stochastic D", minval=1)
stochSmooth = input.int(3, title="Stochastic Smooth", minval=1)
atrThreshold = input.float(0.10, title="ATR Threshold (Pips)", minval=0.01)
volumeLookback = input.int(20, title="Volume Lookback", minval=1)
profitTargetPips = input.float(40, title="Profit Target (Pips)", minval=1)
stopLossPips = input.float(20, title="Stop Loss (Pips)", minval=1)
// محاسبه اندیکاتورها
maFast = ta.sma(close, maFastLength)
maSlow = ta.sma(close, maSlowLength)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, 5, 13, 1)
= ta.bb(close, bbLength, bbMult)
= ta.stoch(close, high, low, stochK, stochD, stochSmooth)
atr = ta.atr(14)
avgVolume = ta.sma(volume, volumeLookback)
// سیستم امتیازدهی
buyScore = 0.0
sellScore = 0.0
// امتیاز MA
if maFast > maSlow
buyScore := buyScore + 1.5
if maFast < maSlow
sellScore := sellScore + 1.5
// امتیاز RSI
if rsi < 70
buyScore := buyScore + 1.0
if rsi > 30
sellScore := sellScore + 1.0
if rsi < 30
buyScore := buyScore + 1.5 // اشباع فروش
if rsi > 70
sellScore := sellScore + 1.5 // اشباع خرید
// امتیاز MACD
if macdLine > signalLine
buyScore := buyScore + 1.0
if macdLine < signalLine
sellScore := sellScore + 1.0
// امتیاز Bollinger Bands
if close > bbUpper
buyScore := buyScore + 1.0
if close < bbLower
sellScore := sellScore + 1.0
// امتیاز Stochastic
if stochKVal > stochDVal and stochKVal < 80
buyScore := buyScore + 1.0
if stochKVal < stochDVal and stochKVal > 20
sellScore := sellScore + 1.0
// امتیاز ATR
if atr > atrThreshold
buyScore := buyScore + 1.0
sellScore := sellScore + 1.0
// امتیاز Volume
if volume > avgVolume
buyScore := buyScore + 1.0
sellScore := sellScore + 1.0
// تصمیمگیری
buyCondition = buyScore >= 4.5 and buyScore > sellScore
sellCondition = sellScore >= 4.5 and sellScore > buyScore
// ورود به ترید
if buyCondition
strategy.entry("Buy", strategy.long)
if sellCondition
strategy.entry("Sell", strategy.short)
// خروج با هدف سود و حد ضرر
strategy.exit("Exit Buy", "Buy", profit=profitTargetPips * 10, loss=stopLossPips * 10) // هر پیپ = 0.1 دلار با 0.1 لات
strategy.exit("Exit Sell", "Sell", profit=profitTargetPips * 10, loss=stopLossPips * 10)
// رسم سیگنالها (برای نمایش بصری)
plotshape(buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// رسم MA
plot(maFast, "Fast MA", color=color.green, linewidth=1)
plot(maSlow, "Slow MA", color=color.red, linewidth=1)
Chattes-Grid-Pivot You Can Customize:
Use anchor = pivotHigh if you're in a downtrend
Use math.avg(pivotHigh, pivotLow) to anchor from the midpoint of the range
Let me know if you want to:
Anchor from a fixed price like 1.3700
Automatically switch between pivotHigh/pivotLow based on trend direction
Label each grid line with its price
First 15-Min Candle High/Low### 📘 Description of the Script
This Pine Script indicator draws **horizontal lines** at the **high and low of the first 15-minute candle after the market opens at 9:30 AM (New York time)**. It is designed for use on **intraday charts** (e.g., 1m, 5m) for U.S. stock markets.
---
### 🔍 What the Script Does
* **Fetches 15-minute candle data** using `request.security()` from the `"15"` timeframe.
* **Detects the first 15-minute candle starting at 9:30 AM** (i.e., the 9:30–9:45 candle).
* **Saves the high and low** of that first 15-minute candle.
* **Plots horizontal lines** at those high/low levels for the rest of the trading day.
* **Resets at the start of each new day**, so the levels are updated fresh each morning.
---
### 🕒 When It Updates
* At exactly 9:45 AM (when the first 15-minute candle closes), it captures the high/low.
* Lines remain plotted for the rest of the day until the script resets on a new day.
---
### 🧠 Why This Is Useful
Traders often watch the **initial 15-minute range** as a key zone for:
* Breakouts or breakdowns
* Trend direction confirmation
* Entry or exit signals
This script helps visualize that range clearly and automatically.
---
Let me know if you want to:
* Extend the line beyond today
* Add alerts for breakouts
* Support different market open times (e.g., futures or forex markets)
Consecutive Candles Above/Below EMADescription:
This indicator identifies and highlights periods where the price remains consistently above or below an Exponential Moving Average (EMA) for a user-defined number of consecutive candles. It visually marks these sustained trends with background colors and labels, helping traders spot strong bullish or bearish market conditions. Ideal for trend-following strategies or identifying potential trend exhaustion points, this tool provides clear visual cues for price behavior relative to the EMA.
How It Works:
EMA Calculation: The indicator calculates an EMA based on the user-specified period (default: 100). The EMA is plotted as a blue line on the chart for reference.
Consecutive Candle Tracking: It counts how many consecutive candles close above or below the EMA:
If a candle closes below the EMA, the "below" counter increments; any candle closing above resets it to zero.
If a candle closes above the EMA, the "above" counter increments; any candle closing below resets it to zero.
Highlighting Trends: When the number of consecutive candles above or below the EMA meets or exceeds the user-defined threshold (default: 200 candles):
A translucent red background highlights periods where the price has been below the EMA.
A translucent green background highlights periods where the price has been above the EMA.
Labeling: When the required number of consecutive candles is first reached:
A red downward arrow label with the text "↓ Below" appears for below-EMA streaks.
A green upward arrow label with the text "↑ Above" appears for above-EMA streaks.
Usage:
Trend Confirmation: Use the highlights and labels to confirm strong trends. For example, 200 candles above the EMA may indicate a robust uptrend.
Reversal Signals: Prolonged streaks (e.g., 200+ candles) might suggest overextension, potentially signaling reversals.
Customization: Adjust the EMA period to make it faster or slower, and modify the candle count to make the indicator more or less sensitive to trends.
Settings:
EMA Length: Set the period for the EMA calculation (default: 100).
Candles Count: Define the minimum number of consecutive candles required to trigger highlights and labels (default: 200).
Visuals:
Blue EMA line for tracking the moving average.
Red background for sustained below-EMA periods.
Green background for sustained above-EMA periods.
Labeled arrows to mark when the streak threshold is met.
This indicator is a powerful tool for traders looking to visualize and capitalize on persistent price trends relative to the EMA, with clear, customizable signals for market analysis.
Explain EMA calculation
Other trend indicators
Make description shorter
DragonEdge CryptoDragonEdge Crypto is a refined version of the DragonEdge Prime algorithm, re-engineered for the fast-moving, always-on world of cryptocurrency trading.
This TradingView indicator scans for high-probability long and short setups by analyzing a confluence of technical signals — including VWAP pressure zones, MACD momentum shifts, RSI compression, and abnormal volume behavior. Unlike traditional tools, it evaluates 17 dynamic market variables and only fires a signal when conditions align with a configurable confidence threshold.
Built for clarity and speed, DragonEdge Crypto helps eliminate noise and spotlight directional setups with minimal delay.
🔹 Designed for BTC, ETH, SOL, and other high-volume crypto pairs
🔹 Best performance on the 15-minute to 1-hour charts
🔹 Clean LONG / SHORT visual alerts when multiple signals converge
🔹 Zero reliance on day-of-week logic — fully optimized for 24/7 markets
🔹 Alerts can trigger push notifications or emails via the TradingView app
Whether you’re scalping momentum or swing trading key moves, DragonEdge Crypto gives you the tools to act when the odds favor precision.
No financial advice. Use at your own discretion.
Crypto Scalping Strategy [Dubic] - LONG OnlyThe Dubic Scalping Strategy is a lightweight and effective EMA-based tool designed for fast-paced trading on crypto, forex, and indices.
✅ Initial Buy/Sell signals are triggered by fast EMA crossovers.
✅ Re-entry signals use volume confirmation to catch pullbacks within the trend.
🔔 Includes alert support for webhook automation and manual execution.
Arrows mark trend entries, and colored dots indicate valid re-entries.
Simple. Responsive. Built for scalpers.
Intraday Sweep + Theta Decay + TPVolume Sweep Detects sudden volume spikes above average (suggests smart money interest)
Theta Decay Penalizes late entries — triggers only if price reacts quickly
Trend Filter Uses EMA for bullish/bearish bias
TP Levels Calculates target price based on ATR or fixed multiples
Signals Buy/Sell entries with TP levels plotted and alerts triggered