Penunjuk dan strategi
EMA Distance Indicator [Eddie_Bitcoin]🧠 EMA Distance Indicator
This indicator is a powerful statistical tool designed to provide enhanced context and signal confirmation for traders who want to go beyond price action alone.
🔍 What It Does
It calculates and visualizes the distance (%) between two EMAs (Fast & Slow) on either the current chart symbol or a selected macro/index reference (e.g., BTC Dominance, TOTAL2, SPX). But it doesn't stop there:
Core Features:
✅ Real-time percentage distance between Fast and Slow EMAs
📈 Slope (acceleration) of the distance to capture trend momentum
🎯 Gaussian-based percentile rank of the current distance over a configurable historical sample
📊 Dynamic table display with intuitive emoji-based cues
🟢 Highlights extreme conditions (e.g., TOP 5% or LOW 5% percentile zones)
🔀 Compare both current asset and a macro/index asset side by side
💡 Display Modes:
Show only current symbol
Show only index/macro symbol
Show both with independently positioned tables
🎯 Ideal Use Case
This is not a standalone strategy, but rather a statistical enhancement module designed to pair with tools like my 👉 “AltCoin Index Correlation” indicator. It gives traders a quick-glance view of strength, divergence, and macro alignment for better timing and confidence.
Whether you’re trading altcoins, tracking dominance charts, or watching indices, this tool offers deep visual insight into EMA-based dynamics — wrapped in a clean, emoji-driven UI.
🛠 Created with ❤️ by @Eddie_Bitcoin
🚀 ### Check my profile for other juicy hints and original strategies. ### 🚀
Market Structure (HH, HL, LH, LL)Trying Something. I have decided to try to create my own script. I don't know what I am doing just yet, but I am learning.
Recent Session High Low Marker - SimpleDescription:
This Pine Script marks the high and low points of the most recent trading sessions: Asian, London, and New York.
Asian Session: From 19:00 to 21:00 New York time (UTC-4).
London Session: From 02:00 to 05:00 New York time (UTC-4).
New York Session: From 07:00 to 10:00 New York time (UTC-4).
For each session, the script draws two lines:
One for the high of the session.
One for the low of the session.
The lines are drawn horizontally across the chart, making them easy to spot. Each session is marked by two lines with specific colors:
Orange for the Asian session.
Blue for the London session.
Purple for the New York session.
The lines are dynamically updated during the active session, and they will reset when the next session begins. The width of the lines is set to 2 to ensure they are visible without being too thick.
Credits:
Script created by Jdv.
Break-out DailyBreakout - with body - of yesterday's daily high or low.
With body we mean that the indicator only signals if the candle has closed above the high (Breakout - Long) or below the low (Breakout - Short).
This indicator can make mistakes such as not signaling a breakout or signaling it at the wrong level (this is because it is based on the highs/lows recorded in the daily candle, not the daily high/low in the reference timeframe).
I recommend always checking if the breakout has actually occurred.
I hope it will make it easier for you to read the charts and happy trading to everyone! :)
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Con corpo si intende che l'indicatore segnala solo se la candela ha chiuso al di sopra del massimo(Break-out - Long) o al di sotto del minimo(Break-out - Short).
Questo indicatore può fare degli errori come non segnalare una rottura strutturale o segnalarla su un livello sbagliato(questo perché si basa sui massimi/minimi registrati nella candela giornaliera, non il massimo/minimo giornaliero nel timeframe di riferimento).
Consiglio di controllare sempre se effettivamente è avvenuta la rottura.
Spero che vi semplificherà la lettura dei grafici e buon trading a tutti! :)
Wick Spike 50% Detector (15m & 1h)This script identifies candles with significant upper or lower wicks (spikes) based on a percentage of the total candle range. It helps spot potential reversals, exhaustion moves, or liquidity grabs — especially useful in volatile markets.
📍 Key Features:
15-Minute Timeframe:
Red Triangle Above: Candle range ≥ 0.35% and upper wick ≥ 50% of the range.
Green Triangle Below: Candle range ≥ 0.30% and lower wick ≥ 50% of the range.
1-Hour Timeframe:
Red Circle Above: Candle range ≥ 0.50% and upper wick ≥ 50%.
Green Circle Below: Candle range ≥ 0.50% and lower wick ≥ 50%.
📢 Alerts:
Alerts trigger when the 50% spike condition is met — within the last 60 seconds before candle close — ensuring timely notifications.
🎯 Designed to assist traders in identifying spike-driven opportunities and refining entry/exit strategies.
Stochastic RSI with Alerts# Stochastic RSI with Alerts - User Manual
## 1. Overview
This enhanced Stochastic RSI indicator identifies overbought/oversold conditions with visual signals and customizable alerts. It features:
- Dual-line Stoch RSI (K & D)
- Threshold-based buy/sell signals
- Configurable alert system
- Customizable parameters
## 2. Installation
1. Open TradingView chart
2. Open Pine Editor (📈 icon at bottom)
3. Copy/paste the full code
4. Click "Add to Chart"
## 3. Input Parameters
### 3.1 Core Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| K | 3 | Smoothing period for %K line |
| D | 3 | Smoothing period for %D line |
| RSI Length | 14 | RSI calculation period |
| Stochastic Length | 14 | Lookback period for Stoch calculation |
| RSI Source | Close | Price source for RSI calculation |
### 3.2 Signal Thresholds
| Parameter | Default | Description |
|-----------|---------|-------------|
| Upper Limit | 80 | Sell signal threshold (overbought) |
| Lower Limit | 20 | Buy signal threshold (oversold) |
### 3.3 Alert Settings
| Parameter | Default | Description |
|-----------|---------|-------------|
| Enable Buy Alerts | True | Toggle buy notifications |
| Enable Sell Alerts | True | Toggle sell notifications |
| Custom Alert Message | Empty | Additional text for alerts |
## 4. Signal Logic
### 4.1 Buy Signal (Green ▲)
Triggers when:
\text{%K crossover %D} \quad AND \quad (\text{%K ≤ Lower Limit} \quad OR \quad \text{%D ≤ Lower Limit})
### 4.2 Sell Signal (Red ▼)
Triggers when:
\text{%K crossunder %D} \quad AND \quad (\text{%K ≥ Upper Limit} \quad OR \quad \text{%D ≥ Upper Limit})
## 5. Alert System
### 5.1 Auto-Generated Alerts
The script automatically creates these alert conditions:
- **Buy Signal Alert**: Triggers on valid buy signals
- **Sell Signal Alert**: Triggers on valid sell signals
Alert messages include:
- Signal type (Buy/Sell)
- Current %K and %D values
- Custom message (if configured)
### 5.2 Alert Configuration
**Method 1: Script-Generated Alerts**
1. Hover over any signal marker
2. Click the 🔔 icon
3. Select trigger conditions:
- "Buy Signal Alert"
- "Sell Signal Alert"
**Method 2: Manual Setup**
1. Open Alert creation window
2. Condition: Select "Stoch RSI Alerts"
3. Choose:
- "Buy Signal Alert" for long entries
- "Sell Signal Alert" for exits/shorts
## 6. Customization Tips
### 6.1 Threshold Adjustment
// For day trading (tighter ranges)
upperLimit = 75
lowerLimit = 25
// For swing trading (wider ranges)
upperLimit = 85
lowerLimit = 15
### 6.2 Visual Modifications
Change signal markers via:
- `style=` : Try `shape.labelup`, `shape.flag`, etc.
- `color=` : Use hex codes (#FF00FF) or named colors
- `size=` : `size.tiny` to `size.huge`
## 7. Recommended Use Cases
1. **Mean Reversion Strategies**: Pair with support/resistance levels
2. **Trend Confirmation**: Filter with 200EMA direction
3. **Divergence Trading**: Compare with price action
## 8. Limitations
- Works best in ranging markets
- Combine with volume analysis for confirmation
- Not recommended as standalone strategy
---
This documentation follows technical writing best practices with:
- Clear parameter tables
- Mathematical signal logic
- Visual hierarchy
- Practical examples
- Usage recommendations
OTT Vix-Spx OscillatorOscillatore di movimento percentuale tra VIX e SPX
verde = VIX sottoperforma SPX
rosso = VIX sovraperforma SPX
by www.optiontraders.it
Percentage Movement Oscillator between VIX and SPX
Green = VIX underperforms SPX
Red = VIX outperforms SPX
Weekly Swing Momentum Strategy (India)Use 1D timeframe
Use daily chart (1D) to place trades.
Each trade is expected to last a few days to a week.
Olddriver1English K-Line (Candlestick) Description:
On the 5-minute chart, a strong bullish candlestick formed with a long body and minimal upper and lower wicks, indicating strong buying pressure during that period. This candle closed near its high, suggesting momentum may continue to the upside. It followed a brief consolidation phase and broke above a key resistance level, potentially signaling the start of an upward move.
AT Stochastic RSIA simple variation of the Stochastic RSI indicator designed to make it easier to view k and d positions. It marks the (k,d) crossovers and the (k,20) and (k,80) crossovers with triangles at the bottom and top.
Parsifal.RSI.TrendContext
The Relative Strength Index (RSI) is one of the most widely used classical indicators in technical analysis, typically employed to identify overbought or oversold market conditions. It reflects the degree of upside or downside dominance within a specified period. However, in its standard form, RSI is not particularly effective as a standalone entry trigger.
The Parsifal.RSI.Trend indicator builds upon the RSI to offer a more reliable method for distinguishing between bullish and bearish market regimes. It is a very simple, but surprisingly efficient concept.
________________________________________
Concept
In trending markets, an Exponential Moving Average (EMA) of the price is often smoother and more stable than raw price data. As a result, the RSI calculated on this smoothed price (i.e., the EMA) tends to react earlier and more consistently than the standard RSI. Specifically:
• In uptrends, the RSI of the EMA tends to exceed the RSI of the original price.
• In downtrends, it tends to lag behind.
The difference between these two RSI readings provides a stable and less noisy measure of market bias—positive in uptrends, negative in downtrends.
________________________________________
Indicator Mechanics
The RSI.Trend indicator works as follows:
• Baseline:
o 14-period RSI of the original price (RSI)
o 14-period EMA of that RSI (RSI.EMA)
• Trigger Line:
o 5-period EMA of the price series
o 14-period RSI on that smoothed price (RSI5M)
o 14-period EMA of RSI5M (RSI5M.EMA)
• The difference between the trigger line and the baseline reflects the current trend regime:
o A crossover of the trigger line above the baseline indicates a shift to a bullish regime.
o A crossunder signals a transition to a bearish regime.
________________________________________
RSI.Trend Background Value
The RSI.Trend Flow Background enhances this difference by incorporating recent changes in the trend state. This produces a slightly accelerated signal and visually shades the background:
• > 0 (Green background): Bullish regime
• < 0 (Red background): Bearish regime
________________________________________
How to Use RSI.Trend
• Use crossovers and crossunders between the trigger line and the baseline as entry signals or confirmation of regime shifts.
• The background value can serve as:
o A secondary confirmation signal
o A position sizing multiplier for continuous trading, adjusting exposure based on the trend strength rather than relying on discrete entry points.
________________________________________
Final Notes
As with all indicators, the RSI.Trend is most effective when used in conjunction with other technical tools and market context. It does not predict future price movements; rather, it reflects current market dynamics and recent directional tendencies. Use it with discretion and as part of a broader trading strategy.
Línea Vertical y Apertura 00:00 VeranoThis TradingView Pine Script plots vertical lines at specific key times throughout the trading day based on the New York timezone (Eastern Time), which aligns with Colombian time during Daylight Saving Time (UTC-4). It also highlights the opening price of the 00:00 candle and shades a specific time range on the chart.
Key Features:
Timezone Configuration:
Uses "America/New_York" to define the trading session times.
Opening Price at 00:00:
Captures and stores the opening price of the candle at exactly 00:00.
Optionally stores the bar index (although it's not used visually here).
Vertical Lines at Key Times:
Draws vertical dashed lines at these specific times each day:
00:00
07:30
08:30
09:45
10:00
10:15
10:30
10:45
11:00
13:30
16:30
These lines extend above and below the chart range, from the highest to the lowest price over the last 500 bars.
Background Highlight:
Shades the time interval between 11:00 and 13:30 with a semi-transparent gray background, but only for the current day.
My strategy"SCALPERS MOVE
"Printes the scalp before the scalp.Blue arrow up(bullish).Red arrow down (bearish)
Asia Opening Range [fjk]Draws a box based on a timeframe and highs/lows for that timeframe with a few other options available to customise the box itself.
High Low Levels by JZCustom High Low Levels Indicator - features
Clearly plotted high and low levels for specific trading sessions. This indicator provides visual representations of key price levels during various trading periods. Below are the main features and benefits of this indicator:
1. Display high and low levels for each session
- previous day high/low: display the high and low from the previous day, giving you a better understanding of how the price moves compared to the prior day.
- asia, london, and custom sessions: track the high and low levels for the major trading sessions (asian and london) and two custom user-defined sessions.
2. Complete line and label customization
- custom line appearance: choose the color, line style (solid, dashed, dotted), and line thickness for each trading session. you can also decide if the lines should extend beyond the current price action.
- custom labels: define your own label texts for each custom session. this way, you can label the levels precisely and easily track price movements.
3. Define your own trading sessions
- add up to two custom sessions (custom and custom 2), which can be defined using precise start and end times (hour and minute).
- each custom session allows you to specify the label text for the high and low levels, enabling you to easily differentiate different parts of the day on the chart.
4. Clear and intuitive design
- grouped settings: all settings are grouped based on trading sessions, so you can easily customize every aspect of the visual representation.
- simple toggle on/off: you can easily enable or disable each line (previous day, asia, london, custom 1, custom 2). this allows you to keep your chart clean and focus only on the important levels you need at any moment.
5. Flexible time zones
- time zone settings: set the time zone (utc, europe/london, america/new_york, asia/tokyo) to properly align the timeframes for each level depending on the market you're focusing on.
6. Automatic cleanup of old lines and labels
- old levels removal: automatically remove old lines and labels to prevent clutter on your chart. this ensures that only current, relevant levels for each trading day or session are displayed.
7. Precise plotting and line extension
- accurate level markings: the indicator calculates the precise times when the high and low levels were reached and plots lines that visually represent these levels.
- line extension options: you have the option to extend the high/low lines beyond their point of calculation, which helps with identifying price action trends beyond the current period.
Dec 7, 2024
Release Notes
Changes and Improvements for Users:
1. Customizable Offset for Lines and Labels:
- A new input, `Line and Label Offset`, allows users to control how far the lines and their associated text labels extend. This ensures the labels and lines remain aligned and can be adjusted as needed.
2. Unified Offset Control:
- The same offset value is applied to all types of lines and labels (e.g., Previous Day High/Low, Asia High/Low, London High/Low, and custom sessions). Users can change this in one place to affect the entire script consistently.
3. Enhanced Flexibility:
- Users now have more control over the appearance and position of their lines and labels, making the indicator adaptable to different chart setups and personal preferences.
These updates aim to enhance user convenience and customization, ensuring a more tailored charting experience.
Session High/Low MarkerThis indicator highlights the highest and lowest candles within the Asia, London, and New York trading sessions. It colors these candles black and adds labels showing the session name and corresponding price. Ideal for intraday traders seeking clear visual markers of key session price extremes on the chart.
EMA Pullback Speed Strategy 📌 **Overview**
The **EMA Pullback Speed Strategy** is a trend-following approach that combines **price momentum** and **Exponential Moving Averages (EMA)**.
It aims to identify high-probability entry points during brief pullbacks within ongoing uptrends or downtrends.
The strategy evaluates **speed of price movement**, **relative position to dynamic EMA**, and **candlestick patterns** to determine ideal timing for entries.
One of the key concepts is checking whether the price has **“not pulled back too much”**, helping focus only on situations where the trend is likely to continue.
⚠️ This strategy is designed for educational and research purposes only. It does not guarantee future profits.
🧭 **Purpose**
This strategy addresses the common issue of **"jumping in too late during trends and taking unnecessary losses."**
By waiting for a healthy pullback and confirming signs of **trend resumption**, traders can enter with greater confidence and reduce false entries.
🎯 **Strategy Objectives**
* Enter in the direction of the prevailing trend to increase win rate
* Filter out false signals using pullback depth, speed, and candlestick confirmations
* Predefine Take-Profit (TP) and Stop-Loss (SL) levels for safer, rule-based trading
✨ **Key Features**
* **Dynamic EMA**: Reacts faster when price moves quickly, slower when market is calm – adapting to current momentum
* **Pullback Filter**: Avoids trades when price pulls back too far (e.g., more than 5%), indicating a trend may be weakening
* **Speed Check**: Measures how strongly the price returns to the trend using candlestick body speed (open-to-close range in ticks)
📊 **Trading Rules**
**■ Long Entry Conditions:**
* Current price is above the dynamic EMA (indicating uptrend)
* Price has pulled back toward the EMA (a "buy the dip" situation)
* Pullback depth is within the threshold (not excessive)
* Candlesticks show consecutive bullish closes and break the previous high
* Price speed is strong (positive movement with momentum)
**■ Short Entry Conditions:**
* Current price is below the dynamic EMA (indicating downtrend)
* Price has pulled back up toward the EMA (a "sell the rally" setup)
* Pullback is within range (not too deep)
* Candlesticks show consecutive bearish closes and break the previous low
* Price speed is negative (downward momentum confirmed)
**■ Exit Conditions (TP/SL):**
* **Take-Profit (TP):** Fixed 1.5% target above/below entry price
* **Stop-Loss (SL):** Based on recent price volatility, calculated using ATR × 4
💰 **Risk Management Parameters**
* Symbol & Timeframe: BTCUSD on 1-hour chart (H1)
* Test Capital: \$3000 (simulated account)
* Commission: 0.02%
* Slippage: 2 ticks (minimal execution lag)
* Max risk per trade: 5% of account balance
* Backtest Period: Aug 30, 2023 – May 9, 2025
* Profit Factor (PF): 1.965 (Net profit ÷ Net loss, including spreads & fees)
⚙️ **Trading Parameters & Indicator Settings**
* Maximum EMA Length: 50
* Accelerator Multiplier: 3.0
* Pullback Threshold: 5.0%
* ATR Period: 14
* ATR Multiplier (SL distance): 4.0
* Fixed TP: 1.5%
* Short-term EMA: 21
* Long-term EMA: 50
* Long Speed Threshold: ≥ 1000.0 (ticks)
* Short Speed Threshold: ≤ -1000.0 (ticks)
⚠️Adjustments are based on BTCUSD.
⚠️Forex and other currency pairs require separate adjustments.
🔧 **Strategy Improvements & Uniqueness**
Unlike basic moving average crossovers or RSI triggers, this strategy emphasizes **"momentum-supported pullbacks"**.
By combining dynamic EMA, speed checks, and candlestick signals, it captures trades **as if surfing the wave of a trend.**
Its built-in filters help **avoid overextended pullbacks**, which often signal the trend is ending – making it more robust than traditional trend-following systems.
✅ **Summary**
The **EMA Pullback Speed Strategy** is easy to understand, rule-based, and highly reproducible – ideal for both beginners and intermediate traders.
Because it shows **clear visual entry/exit points** on the chart, it’s also a great tool for practicing discretionary trading decisions.
⚠️ Past performance is not a guarantee of future results.
Always respect your Stop-Loss levels and manage your position size according to your risk tolerance.
VWAP + Candle-Rating SELL (close, robust)This multi‐timeframe setup first scans the 15-minute chart for strong bearish candles (body position in the bottom 40% of their range, i.e. rating 4 or 5) that close below the session VWAP. When it finds the first such “setup” of a trading period, it pins the low of that 15-minute candle as a trigger level and draws a persistent red line there. On the 5-minute chart, the strategy then waits for a similarly strong bearish candle (rating 4 or 5) to close below that marked low—at which point it emits a one‐time SELL signal. The trigger level remains in place (and additional sell signals are locked out) until the market “rescues” the price: a 15-minute bullish candle (rating 1 or 2) closing back above VWAP clears the old setup and allows the next valid bearish 15-minute candle to form a new trigger. This design ensures you only trade the most significant breakdowns after a clear bearish bias and avoids repeated signals until a genuine bullish reversal resets the system.
My script//@version=5
strategy("15-Min EMA + RSI Pullback Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// === INPUTS ===
emaShort = input.int(9, title="EMA Short")
emaLong = input.int(21, title="EMA Long")
rsiPeriod = input.int(14, title="RSI Period")
rsiBuyThresh = input.int(40, title="RSI Buy Threshold")
rsiSellThresh = input.int(60, title="RSI Sell Threshold")
sl_pct = input.float(1.0, title="Stop Loss %", minval=0.1)
tp_pct = input.float(2.0, title="Take Profit %", minval=0.1)
// === CALCULATIONS ===
emaFast = ta.ema(close, emaShort)
emaSlow = ta.ema(close, emaLong)
rsi = ta.rsi(close, rsiPeriod)
// === CONDITIONS ===
// Long setup
bullTrend = emaFast > emaSlow
pullbackLong = close > emaSlow and close < emaFast
rsiLongCond = rsi > rsiBuyThresh
bullSignal = bullTrend and pullbackLong and rsiLongCond
// Short setup
bearTrend = emaFast < emaSlow
pullbackShort = close < emaSlow and close > emaFast
rsiShortCond = rsi < rsiSellThresh
bearSignal = bearTrend and pullbackShort and rsiShortCond
// === ENTRIES ===
if bullSignal
strategy.entry("Long", strategy.long)
strategy.exit("TP/SL Long", from_entry="Long", stop=close * (1 - sl_pct / 100), limit=close * (1 + tp_pct / 100))
if bearSignal
strategy.entry("Short", strategy.short)
strategy.exit("TP/SL Short", from_entry="Short", stop=close * (1 + sl_pct / 100), limit=close * (1 - tp_pct / 100))
// === PLOT INDICATORS ===
plot(emaFast, color=color.orange, title="EMA 9")
plot(emaSlow, color=color.blue, title="EMA 21")