RAZ G. MACD PRICE TRIGGER - LONG(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
Indicadores e estratégias
RAZ G. MACD PRICE TRIGGER - SHORT(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
RAZ G. MACD PRICE TRIGGER - SHORT(!)
"First, we determine the desired price level for entry and wait for a MACD cross to confirm the signal.
We can customize both the entry time frame and a separate time frame for taking profit or closing the position
Smart Breakout with ATR Stop-LossThe Smart Breakout indicator combines a classic 20-day Donchian channel breakout with a tight trailing stop, drawing green lines and “ENTRY” labels at the bar after a valid breakout, and red lines and “EXIT” label at the bar after a stop-loss breach.
By default it uses the chart’s timeframe to compute ATR and stops, but you can flip on Daily lock to freeze both ATR and price reads at the daily resolution—so your stops stay the same whether you view at 1s, 15 m, 4h or lower frequency bars.
Key features:
20-day Donchian breakout: entry when price closes above the highest high of the previous 20 bars
2 × ATR(14) trailing stop: initialized at entry and raised only when the new (close – 2 × ATR) exceeds the prior stop
Daily lock option: Ensures all ATR and close values are calculated on the daily timeframe, keeping stop levels consistent across resolutions
BTC Growth | AlchimistOfCrypto🌈 BTC Regression Bands & Halvings – Unveiling Bitcoin's Logarithmic Growth Fields 🌈
"The Bitcoin Regression Bands, engineered through advanced logarithmic mathematics, visualizes the probabilistic distribution of Bitcoin's price evolution within a multi-cycle growth paradigm. This indicator employs principles from hyperbolic regression where decay coefficients create mathematical boundaries that define Bitcoin's long-term value progression. Our implementation features algorithmically enhanced rainbow visualization derived from extensive cycle analysis, creating a dynamic representation of Bitcoin's logarithmic growth with adaptive color gradients that highlight critical halving-based phase transitions in the asset's monetary evolution."
📊 Professional Trading Application
The Bitcoin Regression Bands transcends traditional price prediction models with a sophisticated multi-band illumination system that reveals the underlying structure of Bitcoin's monetary evolution. Scientifically calibrated across multiple halving cycles and featuring seamless rainbow visualization, it enables investors to perceive Bitcoin's position within its macro growth trajectory with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for cycle pattern recognition:
- Violet-Blue: Lower value accumulation zones with highest mathematical growth potential
- Green: Fair value equilibrium zone representing the regression mean
- Yellow-Orange: Moderate overvaluation regions indicating potential resistance
- Red: Statistical extreme zones indicating mathematical cycle peaks
- Halving Visualization 🔍
- Precise cycle boundaries demarcating Bitcoin's fundamental supply shock events
- Adaptive band spacing based on mathematical cycle progression
- Multiple sub-cycle markers revealing the probabilistic nature of Bitcoin's trajectory
🚀 How to Use
1. Identify Macro Position ⏰: Locate Bitcoin's current price relative to the regression bands
2. Understand Cycle Context 🎚️: Note position within the current halving cycle for time-based analysis
3. Assess Mathematical Value 🌈: Determine potential over/undervaluation based on band location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on mathematical value assessment
5. Identify Cycle Phases ✅: Monitor band transitions to detect accumulation and distribution zones
6. Invest with Precision 🛡️: Utilize lower bands for strategic accumulation, upper bands for strategic reduction
7. Manage Risk Dynamically 🔐: Scale investment allocations based on mathematical cycle positioning
Arun - TimingSession Timing:
This script allows you to visualize key trading sessions (Asian, Frankfurt, London, and New York) by drawing boxes and lines around those time periods.
It has the ability to adjust the time range for each session using input variables. For example:
Asian Range: rangeTime = input.session(title='Session Time', defval='1700-0100')
Frankfurt: rangeTime0 = input.session(title='FRANKFURT', defval='0200-0301')
London: rangeTime4 = input.session(title='LONDON KZ', defval='0300-0500')
New York: rangeTime5 = input.session(title='NEWYORK KZ', defval='0800-1000')
Box Creation for Sessions:
The script creates boxes that highlight the high and low values of each session.
The boxes are drawn based on session time intervals and can be extended into the future (if extendLines is true).
You can also enable or disable the background color and middle line for the boxes.
Previous High/Low for Various Timeframes:
Previous Daily High/Low: Plots the high and low of the previous day.
Previous Weekly High/Low: Plots the high and low of the previous week.
Previous Monthly High/Low: Plots the high and low of the previous month.
These levels can be displayed on the chart with configurable colors and options.
MMM (Market Maker Movements) Levels:
The script allows you to plot "Market Maker Movements" (MMM), which are key levels that may act as support or resistance during specific times of the trading day. It includes:
mmm1Range = input.session(title='MMM', defval='0330-0331')
You can configure the color and style of the lines for these levels as well.
Daily Open:
The Daily Open is shown on the chart as a labeled point, so you can easily track the opening price of the day.
Dynamic Features:
Real-Time Adjustments: The script dynamically updates the lines and boxes when the session starts and ends. It can delete and redraw lines and boxes based on whether the session is active or extended.
Line/Box Styles: You can customize the appearance of the lines (solid, dotted, or dashed) and set the color of the session boxes and lines.
Background and Middle Lines: You can choose to display the background color of the session ranges and a middle line that divides the high and low of the session.
How It Works:
Boxes and Lines: For each session (like the Asian range), the script draws a box between the session’s high and low values. You can also draw vertical lines marking the start and end of the session. These are updated in real-time as new bars are formed.
Previous High/Low: The script plots the previous day's, week's, or month's high and low prices, helping traders identify important support and resistance levels from earlier time periods.
Market Maker Movements (MMM): These levels are drawn at specific times of the day based on your input and are often used by traders who believe that institutional players move the market at specific times.
User Input Options:
Show/Hide Options: You can enable or disable the display of various features like the daily open, previous daily/weekly highs, and the MMM levels.
Customization: You can set the colors, line styles, and the timeframes for each session and other levels.
Text Labels: The script supports labeling the session lines and high/low points, with customizable text color.
Example Visualization:
Asian Session Box: A box is drawn for the Asian session range (from 1700 to 0100), with the session’s high and low price points marked.
Previous High/Low: You would see circles or labels for the previous day's high and low.
MMM Lines: Horizontal lines or areas drawn at specific times based on the user input for the "Market Maker Movement".
2 MA + Strat Candle ColorsThe "2 MA + Strat Candle Colors" indicator combines two customizable moving averages (MAs) with a strategic candle-coloring system to help traders analyze trends and price action. Here’s a breakdown of its features:
1. Two Moving Averages (MAs):
MA 1 & MA 2 Settings:
Users can select between 7 MA types for each line: SMA, EMA, WMA, HMA, VWMA, LSMA, SMMA.
Adjustable periods and price sources (e.g., close, open) for both MAs.
Default settings: MA 1 = 9-period EMA, MA 2 = 20-period EMA.
Plotting:
MA 1 is blue, MA 2 is red (colors customizable via inputs).
Crossovers between the MAs can signal trend changes.
2. Strategic Candle Coloring:
Candles are colored based on their relationship to the previous candle:
Green (Bullish): "Two-Up Bar" – current high > prior high, and low does not break prior low.
Red (Bearish): "Two-Down Bar" – current low < prior low, and high does not break prior high.
Purple (Outside Bar): "Three Bar" – current candle engulfs the prior candle (higher high and lower low).
Yellow (Inside Bar): "One Bar" – current candle is contained within the prior candle’s range.
Candle coloring is based on:
Custom Time Session Background (Amsterdam Time, DST Safe)This indicator highlights two custom intraday time ranges with background colors on your chart. The times are set based on your local Amsterdam time and automatically adjust for Daylight Saving Time (DST).
📌 Features:
- Define two separate time ranges (Start & End) in local Amsterdam time
- Background color highlighting for each range
- Fully DST-aware using the "Europe/Amsterdam" timezone
- Works across all intraday timeframes
🎯 Use Cases:
- Highlight key market sessions (e.g., EU open, NY overlap)
- Visually segment your trading hours
- Eliminate manual DST adjustments
Developed with Pine Script v5.
Made for traders who want clarity during specific time zones, without worrying about time shifts across the year.
Linear Regression Slope The Linear Regression Slope provides a quantitative measure of trend direction. It fits a linear regression line to the past N closing prices and calculates the slope, representing the average rate of price change per bar.
To ensure comparability across assets and timeframes, the slope is normalized by the ATR over a shorter window. This produces a volatility-adjusted measure which allows for the slope to be interpreted relative to typical price fluctuations.
Mathematically, the slope is derived by minimizing the sum of squared deviations between actual prices and the fitted regression line. A positive normalized slope indicate upwards movement; a negative slope indicate downwards movement. Persistent values near zero could indicate an absence of clear trend, with price dominated by short-term fluctuations or noise.
The definition of a trend depends on the period of observation. The lookback setting should be set based on to the desired timeframe. Shorter lookbacks will respond faster to recent changes but may be more sensitive to noise, while longer lookbacks will emphasize broader structures.
While effective at quantifying existing trends, this method is not predictive. Sudden regime changes, volatility shocks, and non-linear dynamics can all cause rapid slope reversals. Therefore, it is best applied as part of a broader analytical framework.
In summary, the Linear Regression Slope quantifies price direction and serves as a measurable supplement to the visual assessment of trends on price charts.
Additional Features:
Option to display or hide the normalized slope line.
Option to enable background coloring when the slope is above or below zero.
Day Range DividerThe indicator divides the chart into Israeli trading days, starting at one o’clock after midnight and ending a minute before the next midnight, marking each day’s open with a thin vertical line whose color and width you can choose. A label with the day’s name (in Hebrew) can appear on the very first bar of the session, while another label is placed midway through the previous day, beneath the candles at a fixed distance from the bottom so it doesn’t obscure price. You can adjust the label’s color, size, and letter spacing, customize the line style, and decide whether to show the early-session label. The indicator ignores Saturday and Sunday, works on any intraday timeframe, never repaints after plotting, and lets you quickly spot daily sequences and time-of-day patterns for market analysis.
Discipline WatermarkDescription for "Discipline Watermark" Indicator:
The Discipline Watermark is a motivational overlay tool designed to reinforce trading discipline directly on your chart. It periodically displays inspirational messages as a subtle watermark, reminding traders of key principles like risk management, capital protection, and the importance of discipline.
Displays one of three motivational phrases:
🛑 "The Stop protects me"
💵 "Protect Your Capital"
🔑 "Discipline is the Key"
Automatically rotates the message every user-defined number of bars (default is 10).
Customizable watermark visibility, text size, position, and background color.
Lightweight and non-intrusive, ideal for maintaining a disciplined trading mindset during live sessions.
Stay focused and consistent with the Discipline Watermark!
Schaff Trend Cycle (STC) - t0rdn3Schaff Trend Cycle (STC)
By t0rdn3 (original STC by , now with more descriptive naming)
Description
The Schaff Trend Cycle (STC) is a momentum-based oscillator that combines the speed of a fast EMA crossover with cyclical normalization. Developed by Doug Schaff, it identifies market turning points more responsively than MACD or RSI.
How It Works
1. EMA Difference : Calculates the difference between two EMAs of the source series (default: close).
2. Cycle Percentage : Normalizes that difference to a 0–100 range over the cycle period.
3. Smoothing : Applies exponential smoothing twice—first to the cycle percentage, then to its normalized cycles—to reduce noise.
4. Final STC Line : Produces a smoothed oscillator oscillating between 0 and 100.
Alerts
- "STC turned down above 75" : Fires once when STC makes a local peak above the upper threshold ( 75 ).
- "STC turned up below 25" : Fires once when STC makes a local trough below the lower threshold ( 25 ).
Inputs
Cycle Period : 12 — Lookback in bars for normalization
Fast EMA Length : 26 — Period of the fast EMA
Slow EMA Length : 50 — Period of the slow EMA
Smoothing Factor : 0.5 — Exponential smoothing coefficient (0–1)
Usage
Readings above 75 indicate an overbought cycle; readings below 25 indicate an oversold cycle. Crossings of the 50 midline can confirm trend direction:
- STC rising through 50 → bullish shift
- STC falling through 50 → bearish shift
Combine STC with price action or other trend filters to improve signal quality. You can adjust the cycle period and EMA lengths to match different timeframes or instruments.
ian_Trado v15 Trend Entry Filter# 📈 ian_Trado v15 Trend Entry Filter (Pine Script v6)
The **ian_Trado v15** is a multi-factor **trend confirmation filter** for NASDAQ (NAS100), Dow Jones (DJ30), Gold (XAU), DAX, and USDJPY.
It combines **EMA structure**, **Donchian channel breakout**, **MACD histogram momentum**, **Volume confirmation**, and a **Range Compression Filter** to avoid entering during choppy or sideways markets.
✅ Designed for **bot deployment** (e.g., grid bots, long/short breakout bots) or **manual trading**.
---
## 🔍 How This Filter Works:
1. **EMA Trend Confirmation**
- Long Trend: EMA(1) > EMA(5) > EMA(60)
- Short Trend: EMA(1) < EMA(5) < EMA(60)
2. **Donchian Channel Width Expansion**
- Only allows trades when the **breakout width** exceeds a minimum threshold.
3. **MACD Histogram Slope Filter (Optional)**
- Confirms momentum building in the direction of the trend.
- Strict Mode: MACD histogram must consistently rise or fall over 3 bars.
4. **Volume Filter (Optional)**
- Ensures volume supports the move (filters out weak conditions).
5. **Range Compression Filter (Optional)**
- Avoids entries during sideways chop.
6. **Cooldown Control**
- Limits overtrading by requiring spacing between entries.
7. **Exit Conditions**
- Gray dot appears when trending conditions are no longer valid.
---
## ⚙️ Settings Explained:
| Setting | Description |
|:--------|:------------|
| **Cooldown Bars** | Minimum bars between consecutive entries |
| **Profit Target (%)** | Visual profit marker for exit tracking |
| **Donchian Channel Length** | Lookback period for detecting breakout width |
| **Minimum Donchian Width** | Threshold to confirm meaningful breakouts |
| **Volume Lookback Period** | Average volume validation window |
| **Box Range (Range Compression)** | Max allowed price range over lookback bars |
| **Range Compression Bars** | Number of bars to check for range compression |
| **Strict MACD Filter** | Use stricter MACD slope checks |
---
## 📊 Recommended Settings by Instrument (1H Chart):
| Asset | Min Donchian Width | Range Compression | Profit Target |
|:------|:-------------------|:------------------|:--------------|
| **NAS100** (Nasdaq) | 300–450 pts | 400 pts / 40 bars | 1.5% |
| **DJ30** (Dow Jones) | 400–600 pts | 500 pts / 40 bars | 1.0–1.5% |
| **XAU/USD** (Gold) | 10–15 pts | 8 pts / 30 bars | 0.8–1.2% |
| **DAX40** (Germany) | 200–300 pts | 250 pts / 40 bars | 1.0% |
| **USD/JPY** (Forex) | 0.5–0.8 pts | 0.4 pts / 40 bars | 0.5–0.8% |
---
## 🔔 Alerts Available:
- Long Entry
- Short Entry
- Exit Zone
> **Note:** Volume filter may be disabled if volume is unreliable (e.g., some forex pairs).
---
## 📅 Version:
- **ian_Trado v15** — April 2025
- Built with **Pine Script v6** for maximum stability
- Clean toggling and plotting logic (no `na` errors)
Mul EMA [TsixJnineY]The "Four EMA Indicator with Toggle" is a customizable technical analysis tool for TradingView that displays up to four Exponential Moving Averages (EMAs) on the chart. Users can adjust the period length for each EMA (default: 5, 10, 50, 200) and toggle their visibility via checkboxes. The indicator supports a selectable data source (default: close price) and offset for flexible chart alignment. Ideal for trend analysis and identifying trading signals through EMA crossovers, it offers a clean and user-friendly interface for traders.
Rectangle with Optional Quarter LinesBox with quarter lines and half line, color can be changed as well.
Relative Strength IndexRSI script that indicates whenever there is a crossover with RSI and the rsi ma
Candlestick Pattern Detector BrarTrader (Short Labels)It will detect all candlestick pattern such as Doji, Hammer etc
Rally Sweep Volume RSV w/ Bollinger Band Filter + Swing FilterRally Sweep Volume entry models using bollinger bands and Swing points as a filter.
GTR369 Day Range DividerThe indicator divides the chart into Israeli trading days, starting at one o’clock after midnight and ending a minute before the next midnight, marking each day’s open with a thin vertical line whose color and width you can choose. A label with the day’s name (in Hebrew) can appear on the very first bar of the session, while another label is placed midway through the previous day, beneath the candles at a fixed distance from the bottom so it doesn’t obscure price. You can adjust the label’s color, size, and letter spacing, customize the line style, and decide whether to show the early-session label. The indicator ignores Saturday and Sunday, works on any intraday timeframe, never repaints after plotting, and lets you quickly spot daily sequences and time-of-day patterns for market analysis.
🚨 MA Oliver Velez MA Cross (with Alerts)This indicator is based off the Oliver Velez strategy. When price crosses the 20MA and the 50MA or the 200MA in one time span, a big move is typically waiting to come out of that origin. You can set an alert to let you know when this dynamic event occurs - then BOOM!
Trading Session Levels | Data For TradersA clean price level marker for futures traders that markets the Tokyo, London and New York session open, high, low and close price levels.
Kevs RSI v2 - Divergence & Signals **Kevs RSI v2 - Divergence & Signals**
**Description:**
Kevs RSI v2 is an enhanced Relative Strength Index (RSI) indicator designed for traders who want more actionable insights from RSI behavior.
It combines a hybrid smoothing technique for a cleaner RSI line with intelligent divergence detection and automatic buy/sell signals.
Key features include:
- **Smoothed RSI** using a blend of WMA and EMA for a sharper, more responsive line.
- **Buy/Sell Signals** generated by oversold/overbought exits and confirmed divergence patterns.
- **Automatic Divergence Detection**, highlighting bullish and bearish divergences visually on the chart.
- **Customizable Settings** for RSI length, overbought/oversold levels, background fill, and divergence sensitivity.
This tool provides an excellent edge for traders who want to combine traditional RSI signals with modern divergence analysis.
---
# **How to Use:**
1. **Add to Chart:**
Apply "Kevs RSI v2 - Divergence & Signals" to your chart from the Indicators menu.
2. **Customize Settings (Optional):**
- Adjust the RSI Length, Overbought, and Oversold levels according to your trading style.
- Turn background fill on or off for better visibility.
- Modify the Divergence Lookback Period or Strength Threshold to fine-tune divergence sensitivity.
3. **Interpret Signals:**
- **Buy Signal:** A green "BUY" label appears when the RSI crosses back above the oversold zone or when bullish divergence is detected.
- **Sell Signal:** A red "SELL" label appears when the RSI crosses below the overbought zone or when bearish divergence is detected.
- **Bullish/Bearish Divergence:** Small green or red diamonds highlight divergence points with optional strength labels.
4. **Trade Responsibly:**
Combine these signals with your broader analysis (price action, trend structure, risk management) for best results.
---
**Notes:**
- Best used on 1-minute to daily charts.
- Ideal for day traders, swing traders, and crypto or forex traders looking to enhance entry/exit precision.
- Divergence detection is dynamic — lower the "Divergence Strength Threshold" to catch more divergences, or raise it to filter out weaker signals.
OpeningRange (Trading_Tix)Purpose:
The indicator highlights the high, low, and middle (50%) price levels of a specified session's opening range. These levels can serve as key support and resistance zones for trading strategies. The indicator also offers options to extend these levels beyond the session into later timeframes, making it useful for tracking breakout or trend continuation setups.
Key Features:
1. Session Detection:
The indicator identifies a specific session period using the user-defined Session Time. It calculates the start time, high, and low prices during this period:
rangeTime: Defines the session time range (default: 5:00 PM to 2:59 AM).
extendTime: Defines the extended time range where lines/backgrounds can be prolonged.
2. Opening Range Calculation:
High (high_val) and Low (low_val)**:
Tracks the highest and lowest prices during the session.
Middle Line:
A midpoint is calculated by averaging high_val and low_val.
3. Visual Elements:
Horizontal Lines:
Drawn at the high, low, and middle levels.
Customizable in width and color.
Shaded Background Box:
Covers the range between high and low prices.
The box’s color and transparency can be adjusted.
Line and Box Extension:
Optionally extends these elements into the extended time range.
4. Customization:
Users have the flexibility to:
Toggle visibility of lines, middle line, and background box.
Adjust colors, line thickness, and style.
Enable or disable the extension of lines and backgrounds into the extended period.
How It Works:
Initialization:
The script initializes variables to store range data (startTime, high_val, low_val) and drawing objects (lines, boxes).
It detects whether the current bar falls within the session (inSession) or extended timeframe (inExtend).
Plotting:
During the session:
Deletes previous lines and boxes from prior sessions.
Draws new lines at the high, low, and middle levels.
Creates a background box covering the range, if enabled.
During the extended period:
Extends the session lines and box, if the user has opted for extensions.
Updates:
Continuously adjusts the high/low values and updates the lines as new price data arrives.
Use Cases:
This indicator can be valuable for traders who:
Use the opening range to identify potential breakout zones.
Trade based on price consolidation within the range.
Want a visual representation of key price levels to plan entries and exits.
Would you like help refining this script further or adjusting its settings to match your trading style?
BTC Daily DCA CalculatorThe BTC Daily DCA Calculator is an indicator that calculates how much Bitcoin (BTC) you would own today by investing a fixed dollar amount daily (Dollar-Cost Averaging) over a user-defined period. Simply input your start date, end date, and daily investment amount, and the indicator will display a table on the last candle showing your total BTC, total invested, portfolio value, and unrealized yield (in USD and percentage).
Features
Customizable Inputs: Set the start date, end date, and daily dollar amount to simulate your DCA strategy.
Results Table: Displays on the last candle (top-right of the chart) with:
Total BTC: The accumulated Bitcoin from daily purchases.
Total Invested ($): The total dollars invested.
Portfolio Value ($): The current value of your BTC holdings.
Unrealized Yield ($): Your profit/loss in USD.
Unrealized Yield (%): Your profit/loss as a percentage.
Visual Markers: Green triangles below the chart mark each daily investment.
Overlay on Chart: The table and markers appear directly on the BTCUSD price chart for easy reference.
Daily Timeframe: Designed for Daily (1D) charts to ensure accurate calculations.
How to Use
Add the Indicator: Apply the indicator to a BTCUSD chart (e.g., Coinbase:BTCUSD, Binance:BTCUSDT).
Set Daily Timeframe: Ensure your chart is on the Daily (1D) timeframe, or the script will display an error.
Configure Inputs: Open the indicator’s Settings > Inputs tab and set:
Start Date: When to begin the DCA strategy (e.g., 2024-01-01).
End Date: When to end the strategy (e.g., 2025-04-27 or earlier).
Daily Investment ($): The fixed dollar amount to invest daily (e.g., $100).
View Results: Scroll to the last candle in your date range to see the results table in the top-right corner of the chart. Green triangles below the bars indicate investment days.
Settings
Start Date: Choose the start date for your DCA strategy (default: 2024-01-01).
End Date: Choose the end date (default: 2025-04-27). Must be after the start date and within available chart data.
Daily Investment ($): Set the daily investment amount (default: $100). Minimum is $0.01.
Notes
Timeframe: The indicator requires a Daily (1D) chart. Other timeframes will trigger an error.
Data: Ensure your BTCUSD chart has historical data for the selected date range. Use reliable pairs like Coinbase:BTCUSD or Binance:BTCUSDT.
Limitations: Does not account for trading fees or slippage. Future dates (beyond the current date) will not display results.
Performance: Works best with historical data. Free TradingView accounts may have limited historical data; consider premium for longer ranges.