Penunjuk dan strategi
Bitcoin Cycle Log-Curve (JDK-Analysis)Important: The standard parameters provided in the script are specifically tuned for the TradingView Bitcoin Index chart on a monthly timeframe on logarithmic scale, and will yield the most accurate visual alignment when applied to that dataset. (more below)
This very simple script visualizes Bitcoin’s long-term price behavior using a logarithmic regression model designed to reflect the cyclical nature of Bitcoin’s historical market trends. Unlike typical technical indicators that react to recent price movements, this tool is built on the assumption that Bitcoin follows an exponential growth path over time, shaped by its fixed supply structure and four-year halving cycles.
The calculation behind the curved bands:
An upper boundary, a lower boundary, and a central midline, are calculated based on logarithmic functions applied to the bar index (which serves as a proxy for time). The upper and lower bounds are defined using exponential formulas of the type y = exp(constant + coefficient * log(bar_index)), allowing the curves to evolve dynamically over time. These bands serve as a macro-level guide for identifying periods of historical overvaluation (upper red curve) and undervaluation (lower green curve), with a central black curve representing the geometric average of the two.
How to customize the parameters:
The lower1_const and upper1_const values vertically shift the respective lower and upper curves—more negative values push the curve downward, while higher values lift it.
The lower1_coef and upper1_coef control the steepness of the curves over time, with higher values resulting in faster growth relative to time.
The shift_factor allows for uniform vertical adjustment of all curves simultaneously.
Additionally, the channel_width setting determines how far the mirrored bands extend from the original curves, creating a visual “channel” that can highlight more conservative or aggressive valuation zones depending on preference.
How to use this indicator:
This indicator is not intended for short-term trading or intraday signals. Rather, it serves as a contextual framework for long-term investors to identify high-risk zones near the upper curve and potential long-term value opportunities near the lower curve. These areas historically align with cycle tops and bottoms, and the model helps to place current price action within that broader cyclical narrative. While the concept draws inspiration from Bitcoin’s halving-driven market cycles and exponential adoption curve, the implementation is original in its use of time-based logarithmic regression to define dynamic trend boundaries.
It is best used as a strategic tool for cycle analysis, macro positioning, and trend anchoring—rather than as a short-term signal provider.
JWs EMA CrossoversJWs EMA Crossovers - A clean Pine Script v6 indicator that displays 8 and 21 period exponential moving averages with arrow signals when they cross. Shows bullish arrows when the faster EMA crosses above the slower EMA and bearish arrows when it crosses below. Includes customizable EMA periods and built-in alert conditions for trend change notifications. Perfect for identifying trend reversals without chart clutter.
Gil Stocks Custom WatermarkBased on Micha Stock
Adding Sell Based on ATR
stock price
i have noting to say so i write rowa
Intraday vs Overnight OBV🔍 Purpose
This indicator provides a volume-weighted cumulative flow model that mimics On-Balance Volume (OBV) logic but splits the volume impact into intraday vs. overnight sessions. It allows traders to track how volume contributes to price movement in each session and identify whether buying/selling pressure is stronger during or outside of regular trading hours.
This indicator attempts to alleviate some of the downfalls of the standard OBV indicator, which only looks at total volume and total direction. The price of stocks generally behaves extremely differently during market hours and outside market hours, and many of the large moves happen outside of regular market hours on low volume.
⚙️ Core Features
1) OBV-style calculation:
If price increases → volume is added to the OBV stream.
If price decreases → volume is subtracted.
If price is flat → OBV remains unchanged.
2) Session splitting:
Intraday session: movement from today's open to close.
Overnight session: movement from yesterday’s close to today’s open.
Volume is split proportionally between these two periods based on user input.
3) Four visualization modes:
"Intraday" — plots only OBV from intraday price movement.
"Overnight" — plots only OBV from overnight price movement.
"Aggregate" — plots the sum of intraday and overnight OBV for a holistic view.
"Both Intraday and Overnight" — plots intraday and overnight OBV separately on the same chart.
📐 Inputs
1) Synthetic OBV Type:
"Intraday" — Show OBV from open to close only.
"Overnight" — Show OBV from prior close to today's open only.
"Aggregate" — Show a single line combining both.
"Both Intraday and Overnight" — Show both lines on the same chart.
2) Estimated Overnight Volume %:
Percentage of total daily volume assumed to occur during extended hours.
The rest is allocated to regular session (intraday).
Default: 20% overnight, 80% intraday.
🧮 How It Works
Volume Splitting:
Total bar volume is split into overnight Volume and intraday Volume:
Intraday change is the difference between today’s close and open.
Overnight change is the difference between today’s open and yesterday’s close.
Session OBV Calculations:
OBV is incremented/decremented by the session's allocated volume, depending on whether the session’s price change was positive or negative.
Aggregate OBV:
Combines both session deltas for a holistic volume flow view.
📊 Interpretation
Rising OBV (any stream) suggests accumulation; falling OBV suggests distribution.
Divergences between price and OBV lines (especially overnight vs. intraday) can reveal where hidden buying/selling is occurring.
Comparing intraday vs overnight OBV can help:
Spot whether institutional demand is building off-hours.
Detect retail vs. institutional behavior (retail trades often dominate intraday; institutional may prefer after-hours).
💡 Use Cases
Identify whether overnight gaps are supported by overnight volume momentum.
Detect accumulation in low-volume overnight sessions.
Compare intraday and overnight strength during earnings season or news events.
Complement traditional OBV by seeing session-based breakdowns.
ORB Norman (2 Sessions, Auto Timezone)ORB Norman (2 Sessions, Auto Timezone)
This script plots Opening Range Breakout (ORB) levels for two configurable sessions. It’s designed for intraday traders—especially in futures markets like Gold (GC), Nasdaq (NQ), and S&P (ES)—who trade based on early session breakouts or range rejections. Unlike standard indicators, this tool auto-adjusts for timezones based on the instrument, ensuring precise session alignment.
Features:
Automatically adjusts for NQ/ES (Chicago time) and GC (New York time) based on the symbol.
Plots high, low, and optional midpoint lines for each session.
Clean, minimal settings with visual separation for better usability.
Ray extension length is fully customizable.
Works on any intraday chart (recommended: 5–15 minute timeframes).
Includes customizable session times, colors, ray length, and an optional midpoint line.
Default Sessions:
Session 1:
‣ 07:00–08:00 EST for GC
‣ 06:00–07:00 CT for NQ/ES
Session 2:
‣ 09:30–09:45 EST for GC
‣ 08:30–08:45 CT for NQ/ES
This tool is ideal for traders who scalp the early morning breakout or look for range rejections based on the opening auction.
This script was developed from scratch based on the author's own intraday trading needs.
JWs Algo — 8/21 EMA Crossover📊 JWs Algo — 8/21 EMA Crossover (Visual Study)
JWs Algo is a clean, momentum-based visual tool that highlights key trend reversal points using a classic 8/21 EMA crossover strategy.
This study does not place trades but instead helps traders visually spot potential buy/sell moments using:
📈 Green emoji label below candles when the 8 EMA crosses above the 21 EMA (bullish signal)
📉 Red emoji label above candles when the 8 EMA crosses below the 21 EMA (bearish signal)
🔍 Features:
Smooth and responsive EMA trend lines
Clear visual cues without clutter
Emoji signal bubbles with custom-colored backgrounds for enhanced readability
Works on any asset and timeframe
Ideal for trend-following traders and EMA-based setups
🧠 Use Cases:
Confirm momentum shifts visually
Use alongside other indicators (RSI, MACD, etc.)
Build discretionary or rules-based entries around clean signals
JWs Algo📈 JWs Algo — 8/21 EMA Crossover Strategy with Take Profit and Stop Loss
JWs Algo is a momentum-based trading strategy that uses a classic 8/21 Exponential Moving Average (EMA) crossover to identify trend reversals and generate long and short trade signals. It includes built-in take profit and stop loss parameters to manage risk and lock in profits automatically.
🔍 Core Logic
Long Entry: When the 8 EMA crosses above the 21 EMA (bullish signal)
Short Entry: When the 8 EMA crosses below the 21 EMA (bearish signal)
Exit: Each position is exited automatically upon hitting either:
A take profit, defined as a percentage gain from entry
A stop loss, defined as a percentage loss from entry
✅ Key Features
Supports both long and short trades
Configurable take profit (%) and stop loss (%)
Prevents overlapping trades — the strategy waits for one trade to fully close before opening another
Clean visualization with:
Buy and sell signal markers
Plotted 8 EMA and 21 EMA for trend context
Compatible with any symbol and timeframe
⚙️ Recommended Use
This strategy works best on trending markets and can be adapted for:
Crypto
Forex
Stocks
Indices
Tune the TP/SL values and timeframe based on asset volatility for best results. Backtest thoroughly.
ATR Trailing + Alerts + Price LabelsATR Trend is a clean and intelligent trend-following overlay built for traders who want clarity during both trending and ranging markets.
This indicator dynamically detects bullish and bearish market trends using the Average True Range (ATR), applying a confirmation-based approach to filter out false signals and minor pullbacks.
The trend line is:
Blue 🔵 during uptrends.
Black ⚫ during downtrends.
Continuous, recalculating only when the market truly shifts — not just when price temporarily crosses the line.
When a confirmed trend reversal occurs:
A 🔼 or 🔽 label shows the exact price of the flip.
An alert can be triggered to notify the user immediately.
💡 Features:
✅ Single-line trend direction
✅ Filters out short-term noise
✅ Exact price labeling on trend change
✅ Built-in alerts for up/down trend shifts
⚙️ Inputs:
ATR Period – Length of ATR calculation (default: 14)
ATR Multiplier – Offset for trend line placement (default: 2.0)
Flip Sensitivity – Number of bars required to confirm a trend reversal (default: 3)
This tool is suitable for:
Swing traders avoid false breakouts
Scalpers looking for high-probability trend entries
Algorithmic setups requiring structured trend logic
My strategyThe Combination 1 strategy is a precision-based breakout and retest setup designed for the EUR/USD 2-minute chart, operating during the Asia and London sessions (UTC-4). It identifies a unique consolidation zone where price, the 20-period SMA, and the 200-period SMA all align within a tight 2-pip range, signaling potential buildup. Once price breaks 10 to 15 pips above this consolidation area, the strategy waits for a retest—specifically, a wick that touches the zone, followed by a bullish close. This confirms buyer strength and triggers a BUY alert, with the take profit set at the breakout high and the stop loss at the recent swing low. This strategy filters for clean trends and disciplined breakouts, minimizing noise and maximizing precision.
Trading CalculatorTrading Calculator Indicator
VIBE CODED WITH GROK 3
The Trading Calculator is a Pine Script indicator designed to perform quick and useful trading-related calculations directly on your chart. It allows traders to execute basic arithmetic operations—such as addition, subtraction, multiplication, and division—as well as calculate percent change and average using either numerical values or trading variables (e.g., close, open, high, low, volume). The indicator displays its results in a table that resembles a calculator interface, making it both functional and visually intuitive. Unlike typical indicators, it does not overlay on the price chart but instead appears in a separate pane.
Inputs
Formula (new | old): First value or variable (e.g., 100, close, close ). Example: close uses the current closing price.
Operator: Mathematical operation (e.g., Plus, Minus, Multiply). Example: Plus adds the two inputs.
Second Input: Second value or variable (e.g., 50, open, close ). Example: open uses the current opening price.
Golden Ratio Trend Persistence [EWT]Golden Ratio Trend Persistence
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Overview
The Golden Ratio Trend Persistence is a dynamic tool designed to identify the strength and persistence of market trends. It operates on a simple yet powerful premise: a trend is likely to continue as long as it doesn't retrace beyond the key Fibonacci golden ratio of 61.8%.
This indicator automatically identifies the most significant swing high or low and plots a single, dynamic line representing the 61.8% retracement level of the current move. This line acts as a "line in the sand" for the prevailing trend. The background color also changes to provide an immediate visual cue of the current market direction.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Power of the Golden Ratio (61.8%)
The golden ratio (ϕ≈1.618) and its inverse (0.618, or 61.8%) are fundamental mathematical constants that appear throughout nature, art, and science, often representing harmony and structure. In financial markets, this ratio is a cornerstone of Fibonacci analysis and is considered one of the most critical levels for price retracements.
Market movements are not linear; they progress in waves of impulse and correction. The 61.8% level often acts as the ultimate point of support or resistance. A trend that can hold this level demonstrates underlying strength and is likely to persist. A breach of this level, however, suggests a fundamental shift in market sentiment and a potential reversal.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to Use This Indicator
This indicator is designed for clarity and ease of use.
Identifying the Trend : The visual cues make the current trend instantly recognizable.
A teal line with a teal background signifies a bullish trend. The line acts as dynamic support.
A maroon line with a maroon background signifies a bearish trend. The line acts as dynamic resistance.
Confirming Trend Persistence : As long as the price respects the plotted level, the trend is considered intact.
In an uptrend, prices should remain above the teal line. The indicator will automatically adjust its anchor to new, higher lows, causing the support line to trail the price.
In a downtrend, prices should remain below the maroon line.
Spotting Trend Reversals : The primary signal is a trend reversal, which occurs when the price closes decisively beyond the plotted level.
Potential Sell Signal : When the price closes below the teal support line, it indicates that buying pressure has failed, and the uptrend is likely over.
Potential Buy Signal : When the price closes above the maroon resistance line, it indicates that selling pressure has subsided, and a new uptrend may be starting.
Think of this tool as an intelligent, adaptive trailing stop that is based on market structure and the time-tested principles of Fibonacci analysis.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Input Parameters
You can customize the indicator's sensitivity through the following inputs in the settings menu:
Pivot Lookback Left : This number defines how many bars to the left of a candle must be lower (for a pivot high) or higher (for a pivot low) to identify a potential swing point. A higher value will result in fewer, but more significant, pivots being detected.
Pivot Lookback Right : This defines the number of bars that must close to the right before a swing point is confirmed. This parameter prevents the indicator from repainting. A higher value increases confirmation strength but also adds a slight lag.
Fibonacci Ratio : While the default is the golden ratio (0.618), you can adjust this to other key Fibonacci levels, such as 0.5 (50%) or 0.382 (38.2%), to test for different levels of trend persistence.
Adjusting these parameters allows you to fine-tune the indicator for different assets, timeframes, and trading styles, from short-term scalping to long-term trend following.
Kanal MA 5 GarisTentu! Berikut ini adalah **deskripsi indikator dalam bahasa Inggris** yang bisa langsung kamu pakai untuk dipublikasikan di TradingView:
---
### 📌 **Indicator Title (Name):**
**Engulfing + RSI OB/OS Filter (1-Bar Confirmation)**
---
### 📝 **Description for TradingView:**
This custom indicator combines classic **Engulfing Candlestick Patterns** with **RSI-based overbought/oversold filters** for smarter signal confirmation.
### 🔍 Key Features:
✅ Detects 4 engulfing types:
* **BE1 (Bullish Engulfing 1):** Current close > previous high
* **BE2 (Bullish Engulfing 2):** Current high > previous high AND current close > previous open
* **SE1 (Bearish Engulfing 1):** Current close < previous low
* **SE2 (Bearish Engulfing 2):** Current low < previous low AND current close < previous open
✅ Detects RSI Overbought (OB) and Oversold (OS) conditions:
* **OB** (Overbought): RSI > 70
* **OS** (Oversold): RSI < 30
✅ **Smart confirmation rule:**
* **BE1/BE2** signals only appear **if the previous candle was OS (RSI < 30)**
* **SE1/SE2** signals only appear **if the previous candle was OB (RSI > 70)**
### 🎯 Usage:
This indicator helps traders avoid false engulfing signals by confirming momentum exhaustion using RSI. It is ideal for identifying **potential reversals** from overbought or oversold zones.
You can customize the RSI period and OB/OS threshold from the settings.
---
Let me know if you’d like a shorter version or want me to add strategy tips for the description!
Volume MA Crossover SignalsDisplay the 10-day Simple Moving Average volume in red .
Display the 20-day Simple Moving Average volume in orange.
Risk Distribution HistogramStatistical risk visualization and analysis tool for any ticker 📊
The Risk Distribution Histogram visualizes the statistical distribution of different risk metrics for any financial instrument. It converts risk data into histograms with quartile-based color coding, so that traders can understand their risk, tail-risks, exposure patterns and make data-driven decisions based on empirical evidence rather than assumptions.
The indicator supports multiple risk calculation methods, each designed for different aspects of market analysis, from general volatility assessment to tail risk analysis.
Risk Measurement Methods
Standard Deviation
Captures raw daily price volatility by measuring the dispersion of price movements. Ideal for understanding overall market conditions and timing volatility-based strategies.
Use case: Options trading and volatility analysis.
Average True Range (ATR)
Measures true range as a percentage of price, accounting for gaps and limit moves. Valuable for position sizing across different price levels.
Use case: Position sizing and stop-loss placement.
The chart above illustrates how ATR statistical distribution can be used by looking at the ATR % of price distribution. For example, 90% of the movements are below 5%.
Downside Deviation
Only considers negative price movements, making it ideal for checking downside risk and capital protection rather than capturing upside volatility.
Use case: Downside protection strategies and stop losses.
Drawdown Analysis
Tracks peak-to-trough declines, providing insight into maximum loss potential during different market conditions.
Use case: Risk management and capital preservation.
The chart above illustrates tale risk for the asset (TQQQ), showing that it is possible to have drawdowns higher than 20%.
Entropy-Based Risk (EVaR)
Uses information theory to quantify market uncertainty. Higher entropy values indicate more unpredictable price action, valuable for detecting regime changes.
Use case: Advanced risk modeling and tail-risk.
VIX Histogram
Incorporates the market's fear index directly into analysis, showing how current volatility expectations compare to historical patterns. The CAPITALCOM:VIX histogram is independent from the ticker on the chart.
Use case: Volatility trading and market timing.
Visual Features
The histogram uses quartile-based color coding that immediately shows where current risk levels stand relative to historical patterns:
Green (Q1): Low Risk (0-25th percentile)
Yellow (Q2): Medium-Low Risk (25-50th percentile)
Orange (Q3): Medium-High Risk (50-75th percentile)
Red (Q4): High Risk (75-100th percentile)
The data table provides detailed statistics, including:
Count Distribution: Historical observations in each bin
PMF: Percentage probability for each risk level
CDF: Cumulative probability up to each level
Current Risk Marker: Shows your current position in the distribution
Trading Applications
When current risk falls into upper quartiles (Q3 or Q4), it signals conditions are riskier than 50-75% of historical observations. This guides position sizing and portfolio adjustments.
Key applications:
Position sizing based on empirical risk distributions
Monitoring risk regime changes over time
Comparing risk patterns across timeframes
Risk distribution analysis improves trade timing by identifying when market conditions favor specific strategies.
Enter positions during low-risk periods (Q1)
Reduce exposure in high-risk periods (Q4)
Use percentile rankings for dynamic stop-loss placement
Time volatility strategies using distribution patterns
Detect regime shifts through distribution changes
Compare current conditions to historical benchmarks
Identify outlier events in tail regions
Validate quantitative models with empirical data
Configuration Options
Data Collection
Lookback Period: Control amount of historical data analyzed
Date Range Filtering: Focus on specific market periods
Sample Size Validation: Automatic reliability warnings
Histogram Customization
Bin Count: 10-50 bins for different detail levels
Auto/Manual Bin Width: Optimize for your data range
Visual Preferences: Custom colors and font sizes
Implementation Guide
Start with Standard Deviation on daily charts for the most intuitive introduction to distribution-based risk analysis.
Method Selection: Begin with Standard Deviation
Setup: Use daily charts with 20-30 bins
Interpretation: Focus on quartile transitions as signals
Monitoring: Track distribution changes for regime detection
The tool provides comprehensive statistics including mean, standard deviation, quartiles, and current position metrics like Z-score and percentile ranking.
Enjoy, and please let me know your feedback! 😊🥂