Wskaźniki i strategie
cd_RSI_Divergence_CxGeneral:
The Relative Strength Index (RSI) is a momentum oscillator widely used by traders in price analysis. In addition to showing overbought/oversold zones, divergences between RSI and price are also tracked to identify trading opportunities.
The general consensus is that oscillators alone are not sufficient for entries and should be evaluated together with multiple confirmations.
This oscillator is designed as an additional confirmation/compatible tool for strategies that already use higher time frame (HTF) sweeps and lower time frame (LTF) confirmations such as Change in State Delivery (CISD) or Change of Character (CHOCH).
Features:
While RSI oscillators are commonly displayed in line format (classic), this indicator also offers candlestick-style visualization.
Depending on the selected source, period length, and EMA length, RSI can be displayed as lines and/or candlesticks.
Divergence detection & tracking:
Price and RSI values are monitored on the chosen higher time frame (from the menu) to determine highs and lows. For divergence display, the user can choose between two modes:
1- Alignment with HTF Sweep
2- All
1 - Alignment with HTF Sweep:
First, the price must sweep the previous high/low of the candle on the HTF (i.e., break it) but fail to continue in that direction and return inside (sweep).
If this condition is met, RSI values are checked:
If price makes a high sweep but RSI fails to make a new high → divergence is confirmed.
If price makes a low sweep but RSI fails to make a new low → divergence is confirmed.
Divergence is then displayed on the chart.
2 - All:
In this mode, sweep conditions are ignored. Divergence is confirmed if:
Price makes a new high on HTF but RSI does not.
RSI makes a new high on HTF but price does not.
Price makes a new low on HTF but RSI does not.
RSI makes a new low on HTF but price does not.
Menu & Settings:
RSI visualization (source + period length + EMA period length)
Option to choose classic/candlestick style display
Color customization
Higher time frame selection
Adjustable HTF boxes and table display
Final notes:
This oscillator is designed as an additional confirmation tool for strategies based on HTF sweep + LTF CISD/CHOCH confirmation logic. The chosen HTF in the oscillator should match the time frame where sweeps are expected.
Divergence signals from this oscillator alone will not make you profitable.
For spot trades, monitoring sweeps and divergences on higher time frames is more suitable (e.g., Daily–H1 / Weekly–H4).
My personal usage preferences:
Entry TF: 3m
HTF bias: Daily + H1
Sweep + CISD: 30m / 3m
Market Structure: 3m
RSI divergence: HTF = 30m
If all of them align bullish or bearish ( timeframe alignment ), I try to take the trade.
I’d be glad to hear your feedback and suggestions for improvement.
Happy trading!
TP/SL Dynamic (FIB,ATR,MULTIPLE,PERCENT)TP/SL Dynamic (FIB, ATR, MULTIPLE, PERCENT)
This indicator provides a flexible framework for managing Take Profit (TP) and Stop Loss (SL) levels using multiple calculation schemes. It is designed for traders who want dynamic or rule-based levels that adapt to volatility, market type, and custom input.
The script supports four TP/SL methodologies:
Pro Standards (Auto-Select): Adapts method based on asset type and volatility.
R Multiples: Risk-based reward multiples from ATR-derived stop distance.
Fibonacci R: Fibonacci extension levels projected from recent pivots.
Percent: Fixed percentage distance from entry, adjusted by volatility.
ATR Multiples: ATR-based calculations with configurable multipliers.
Features:
Up to 3 manual entries, each with configurable time, price, and position size.
Weighted entry price calculation across multiple positions.
Single or multiple TP targets (up to 4) with automatic scaling.
Dynamic ATR option: updates SL/TP levels with live volatility or fixes them at entry.
Pivot-based logic for Fibonacci extensions.
Symbol Locking to prevent mismatches between intended pair and chart symbol.
Table display with optional R-multiples, TP/SL values, and entry details.
Visual chart elements: lines, labels, price-scale markers for SL/TP, and zebra-style info tables.
Entry markers (E1, E2, E3) for clarity.
Alerts for TP and SL triggers (both long and short).
How to Use:
Define entry prices, times, and position sizes (up to 3 entries).
Select a TP method (Pro Standards, R Multiples, Fibonacci R, Percent, or ATR Multiples).
Choose single or multiple TP mode.
Optionally enable Dynamic ATR to update levels in real time.
Check the on-chart table for all calculated levels and alerts.
Author & Credit:
Developed from the ground up by me (no external code used outside The Pine public library).
OMN Heikin Ashi Candle Direction Reversal AlertThis is a indicator to let you know once Heikin Ashi candle has changed direction compared to the candle before it. Set an alert on the indicator to get an audible alert.
RSI Oscillator fxdealBased on the Pine Script code you provided, here is a detailed description of the indicator's features and functionality.
Indicator Overview
This is the Heikin Ashi RSI Oscillator (HARSI), a custom-built indicator for TradingView. It combines the principles of Heikin Ashi candles and the Relative Strength Index (RSI) to provide a smoothed, trend-focused oscillator in a separate pane below the main chart. The indicator visualizes trend strength, overbought/oversold conditions, and momentum changes using a series of configurable plots and lines.
Key Components and Features
Heikin Ashi RSI Candles: This is the core component. Instead of traditional price data, the indicator uses a custom Heikin Ashi calculation applied to the RSI values. This creates a smoothed, momentum-driven "candle" visualization that filters out market noise, making it easier to identify the direction and strength of the trend. The color of these candles changes to reflect bullish (teal) or bearish (red) momentum.
RSI Plot & Histogram: The indicator includes a standard RSI line plot and an optional histogram. The RSI can be displayed in "Smoothed Mode," which applies a Heikin Ashi-like smoothing to the RSI line itself to reduce volatility and improve trend identification. The histogram visually represents the RSI's value, with its height corresponding to the magnitude of the RSI.
Stochastic RSI: An optional Stochastic RSI is included to provide a different perspective on momentum. This is a "momentum of momentum" indicator that can be used for confirming trend changes or identifying overbought/oversold conditions within the RSI's own range. It can be plotted as either a ribbon (showing the K and D lines filled) or as individual lines.
Bollinger Bands (Stepline Style): The indicator overlays Bollinger Bands on the RSI. These bands adapt to the volatility of the RSI, providing dynamic overbought and oversold levels. The middle band is a simple moving average of the RSI. The upper and lower bands are plotted using a stepline style, giving them a distinct, staggered appearance.
Horizontal Lines: Several fixed horizontal lines are plotted to define key zones:
Overbought/Oversold (OB/OS) Zones: Customizable horizontal lines define overbought and oversold regions, with additional lines for "extreme" levels. These are based on the indicator's zero-median scale.
Traditional RSI Levels: Optional dotted horizontal lines at 70, 50, and 30 help users who are accustomed to traditional RSI readings quickly identify overbought, neutral, and oversold conditions.
Simple EMA IndicatorSimple EMA Indicator by Ashwin Kumar. Includes all prominent timeframe moving averages on a single indicator.
Justin's Bitcoin Power Law PredictorJustin's MSTR Powerlaw Price Predictor is a Pine Script v6 indicator for TradingView that adapts Giovanni Santostasi’s Bitcoin power law model to forecast MicroStrategy (MSTR) stock prices. Using the formula Price = A * (daysSinceGenesis)^B, it calculates fair, upper, and floor prices with constants A_fair = 1.16e-17, A_floor = 0.42e-17, and B = 5.82, starting from Bitcoin’s genesis (January 3, 2009). The script plots these prices, displays values in a table.
Source: www.ccn.com
Justin's MSTR Powerlaw Price PredictorJustin's MSTR Powerlaw Price Predictor is a Pine Script v6 indicator for TradingView that adapts Giovanni Santostasi’s Bitcoin power law model to forecast MicroStrategy (MSTR) stock prices. The price prediction is based on the the formula published in this article:
www.ccn.com
Simple and effective indicatorsSimple and effective indicators
Green Long
Red Short
Yellow oscillation
Positive Close RatioThe Positive Close Ratio is a simple sentiment indicator that measures the percentage of days within a chosen lookback period where the closing price finished higher than the previous day.
• Calculation:
It counts how many daily closes were positive compared to the previous day, then divides by the total number of days in the lookback window.
\text{Positive Close Ratio} = \frac{\text{Number of Up Days}}{\text{Lookback Days}} \times 100
BTC CME Gap – detector & single signals# BTC CME Gap — Detector & Single Signals (Pine v5)
**What it does**
This indicator finds the **weekend gap** on **CME Bitcoin futures** and turns it into a clean, tradable object:
* Draws a **gap zone** (Friday close ↔ Monday open) as a right-extending box.
* Fires **one-time signals** per gap:
* **ENTER** – first touch of the gap zone by price.
* **FILL** – gap is considered filled when price tags **Friday’s close**.
It works on any BTC chart (spot or futures). The gap itself is calculated from **CME\:BTC1!** daily data.
---
## How it works
1. Pulls **daily** `open`/`close` from `CME:BTC1!` (`request.security`, no lookahead).
2. On **Monday**, compares Monday **open** with previous **Friday close**:
* If different → a **gap** exists.
3. Defines the zone:
* `gapTop = max(MonOpen, FriClose)`
* `gapBot = min(MonOpen, FriClose)`
4. Renders a box + boundary lines, **extending right** until price action resolves it.
5. Signals:
* **ENTER**: the first bar that **enters** the gap zone.
* **FILL**: first bar that **touches Friday close** (gap completion).
6. Each new Monday gap **replaces** the previous box and signals.
---
## Inputs
* **CME symbol** (default `CME:BTC1!`)
* **Gap timeframe** (default `D`)
* **Colors** for the box and edges
---
## Plot & Signals
* **Box** = visual gap zone (transparent fill, outlined).
* **ENTER** = triangle up below bar.
* **FILL** = triangle down above bar.
* Optional label prints **Top / Bottom / Fill** levels.
---
## Notes on behavior
* Uses `barmerge.lookahead_off` and daily aggregation, so the gap definition **does not repaint** once Monday’s daily bar is confirmed.
* Signals are **single-shot** per gap (no clutter).
* Works on any chart timeframe; the gap logic always references **CME daily**.
---
## Practical use
* Track obvious **“magnets”** for mean-reversion, stop-runs, or liquidity grabs.
* Combine with your higher-timeframe bias (e.g., **1D trend filter**) and execution on **4H/1H**.
* Typical outcomes: quick Monday fill, staged fill after partial rejection, or delayed fill during later consolidation.
---
## Customization ideas
* Add `alertcondition(enterSignal, …)` / `alertcondition(fillSignal, …)` for automation.
* Gate trades with trend filters (EMA/SMA, Kernel regression, ADX) or session tools (VWAP/POC).
* Persist multiple historical gap boxes if you want to track **unfilled** gaps.
---
**Credits**: Built for BTC CME weekend gaps; minimal, publication-ready visualization with single-event signals to keep charts clean.
my rulesこのインジケーターは自分のルールをチャート上に表示できます!
行数やテキストも自由に設定できるので是非使ってね!!
Xのアカウントはこちら→@keito_trader
This indicator lets you display your own trading rules directly on the chart!
You can freely customize the number of lines and the text, so be sure to give it a try!!
My X account → @keito_trader