Stochastic Swing PointUsing Stochastic to define any swing points.
When Stochastic is OB or OS this indicator will find a high and low to create a label on it.
Default setting is 9 3 3 OB 80 OS 20
for educational purpose only
Göstergeler ve stratejiler
Test_MACD-English-
Sample MACD-Based Trading Strategy
1. Buy: Enter a long position when the MACD Histogram is greater than 0 and increasing, AND the current price is greater than the highest price of the previous 20 periods. Exit the trade when the MACD Histogram falls below 0 or when the stop-loss level is hit. Set the stop-loss level at the lowest price of the last 3 candlesticks when entering the trade.
2. Sell: The conditions for selling are the opposite of the buy conditions.
Golden Triangle Strategy (1H, Setup 1 & 2)🔺 Golden Triangle Strategy – Setup 1 & 2 with Dynamic Trailing Stop (Optimized for 1H Chart)
### 📘 Strategy Summary
This strategy blends **technical pattern recognition** with **volume confirmation** and **dynamic risk management** to capture high-probability breakouts. It features two independent entry setups . More details can be found at thepatternsite.com
I have added intelligent trailing stop that **tightens once a profit threshold is reached**. Please note that this is not mentioned in GoldenTriangle strategy. I just added to capture the profits.
### ✅ Entry Setups
#### **Setup 1 – Golden Triangle Breakout**
* Detects **triangle formations** using recent pivot highs and lows.
* A **bullish breakout** is confirmed when:
* Price **closes above the triangle top**, and
* Price is also **above the 50-period SMA**.
* Entry: At breakout candle close.
* Ideal for early momentum trades after consolidation.
#### **Setup 2 – Price + Volume Confirmation**
* Based on **mean reversion followed by volume surge**:
* Price drops **below the 50 SMA**, then closes **back above it**.
* Requires at least one **"up day"** (current close > previous close).
* Volume must be:
* Above its 50-SMA, **and**
* Higher than each of the **previous 4 days**.
* Entry: At the close of volume-confirmation day.
* Useful when triangle patterns are not clear, but accumulation is strong.
---
### 📈 Entry Logic Recap
| Condition | Setup 1 | Setup 2 |
| ------------------ | --------------------- | --------------------------------------- |
| Pattern | Triangle Breakout | SMA Reclaim + Volume Surge |
| SMA Filter | Close > 50 SMA | Price drops < 50 SMA, then closes above |
| Volume Requirement | Not Required | > Volume SMA + > last 4 bars |
| Entry Trigger | Breakout candle close | After volume confirmation |
---
### 🚪 Exit Strategy
#### 🔁 **Trailing Stop Loss (TSL)**
* **Initial stop:** 10% below the **highest price reached** after entry.
* **Tightening rule:**
* When profit reaches **10%**, the trailing stop is **tightened to 5%**.
* This keeps you in the trade while locking in more profit as the trade moves in your favor.
#### 🔻 **Manual Close**
* If the price drops below the trailing stop, the position is automatically closed using `strategy.close()`.
---
### 🌈 Visual Aids & Additions
* Green background shading while in a trade.
* Real-time dashboard showing:
* SMA values
* Entry signals
* Plots for:
* Dynamic trailing stop
* Weekly Fibonacci R3 and S3 levels as outer support/resistance zones.
---
### 🧠 Ideal Use Cases
* Works well on **1-hour charts** for intraday to short swing trades.
* Especially effective in **sideways-to-bullish markets**.
* Helps avoid false breakouts by using SMA and volume filters.
---
Tip: I also showed weekly R3 on the chart. When the price touches at this level lock your profits. You Dont have to wait until price hits trailing stop loss.
warning : This strategy is published educational purposes only.
Daily ADR TableDaily ADR Table Indicator
The Daily Average Daily Range (ADR) Table displays real-time volatility statistics directly on your chart. It shows both the current day's range and the historical average daily range as percentages of the current price, providing essential volatility metrics for trading decisions.
The indicator tracks today's range in real-time throughout the trading session using session-based calculations to ensure accuracy. It compares this against a customizable historical average (default 20 days, adjustable from 1-500 days) to help traders assess whether current volatility is above or below normal levels.
All values are displayed as percentages for easy comparison across different price levels and formatted to two decimal places for precision. The table position, text size, alignment, and colors are fully customizable with nine position options and professional default styling optimized for readability.
This indicator is valuable for day traders, swing traders, and market analysts who need to quickly assess current market volatility relative to historical norms. It assists in position sizing decisions, setting stop losses, and identifying potential breakout or consolidation scenarios based on range expansion or contraction.
5 AM NY 4H Candle High/LowThis indicator identifies the 4-hour candle that starts at 5:00 AM New York time (NYT) and automatically plots its high and low on intraday charts (e.g., 15m, 30m, 1H).
It helps traders:
Highlight a key session window often associated with increased market activity.
Use the 5AM–9AM NYT range for breakout, reversal, or liquidity zone strategies.
See clean horizontal levels that can act as support or resistance throughout the trading day.
🧠 Key Features:
Works on any timeframe below 4H.
Automatically detects and updates daily.
Optional labels to mark the range visually.
Power CandlesPower Candles - ATR-Based Momentum Signals
Identifies high-momentum candles with minimal wicks that signal potential trend continuation or reversal.
Key Features:
Detects candles larger than ATR threshold with small opposing wicks
Bullish signals: Green candle after red with small top wick
Bearish signals: Red candle after green with small bottom wick
Customizable ATR period, size factor, and wick tolerance
Built-in alert system for all signal types
Golden Pocket from Strongest Impulse (9:30–9:45)Scans the most extended impulse move from 9:30AM-9:45AM, and creates a golden pocket zone based on the impulsive move.
Golden Pocket from Strongest Impulse (9:30–9:55)Scans the most extended impulse move from 9:30AM-9:55AM, and creates a golden pocket zone based on the impulsive move.
Hide Current Bara lightweight overlay indicator designed to hide the color of the active (unconfirmed) candle on the chart.
Key Features:
Purpose: Hide the color of the currently forming bar (i.e., the active candle) on the price chart.
Psychological Benefit of Hiding the Active Candle’s Color
Hiding the color of the active candle can have notable psychological benefits for traders:
Reduction of Bias: The color of a forming candle often fluctuates as prices move up and down during its formation. This can trigger emotional responses such as fear or greed. By removing the color, traders avoid overreacting to incomplete information and are less likely to jump to conclusions based on transient price moves.
Focus on Confirmed Data: Since only completed candles are relevant for most technical analysis, hiding the color of the active candle encourages traders to make decisions based on fully formed and reliable data rather than noise.
Improved Discipline: By not seeing the color of the active candle, traders are less tempted to enter or exit trades impulsively in reaction to price flickers. This promotes a more systematic and disciplined approach.
Minimized Overtrading: Visual cues like bright green or red candles can prompt hasty trades, particularly in fast-moving markets. A transparent active candle helps reduce the temptation to trade every minor tick, fostering patience.
In summary, by hiding the color of the active candle, this script helps traders maintain emotional neutrality and focus on confirmed price action, leading to better, more rational trading decisions.
ATR Range based on PremarketThis indicator calculates dynamic support and resistance levels by adding the daily Average True Range (ATR) to the premarket high and low of a stock. It helps traders visualize potential price boundaries for the trading day, combining volatility with early market sentiment. Useful for identifying breakout zones, risk levels, and targets based on real premarket action and current market volatility.
VWAP with 4 EMAsVWAP + 4 EMA Indicator
This indicator combines the Volume Weighted Average Price (VWAP) with three customizable Exponential Moving Averages (EMAs) to provide a comprehensive view of market trend, momentum, and institutional price levels.
Features:
VWAP Line: Plots the intraday VWAP, a key indicator used by institutions to gauge fair value.
3 EMAs: Customizable short, medium, and long-term EMAs help identify trend direction and potential entry/exit points.
Flexible Settings: Easily adjust the EMA lengths and styling to suit your trading strategy.
Clean Visual Layout: Designed for clarity without cluttering your chart.
Use Cases:
Trend Confirmation: Use the VWAP as a dynamic support/resistance level, while EMAs confirm the direction and strength of the trend.
Mean Reversion & Breakouts: Identify when price is stretched from VWAP or crosses key EMAs for potential reversal or breakout trades.
Day Trading & Swing Trading: Suitable for both short-term intraday and multi-day analysis.
This tool is ideal for traders who want to blend volume-weighted price levels with moving average trend signals on a single, efficient chart.
Anchored VWAP fastEMA $TICK RVOL ADD SQZ by RMAnchored VWAP fastEMA USI:TICK RVOL ADD SQZ short name is VTARS Model.
The 'VTARS Model by RM' indicator combines several indicators in one, with customizable location settings for the graphs.
VTARS Model Stands for: VWAP, Tick, ADD, RVOL and SQZ.
The Advance Decline Indicator (ADD) measures market breadth by comparing the number of advancing and declining stocks within an index or exchange.
It helps traders assess overall market strength or weakness, confirming trends or signaling potential reversals.
A rising line suggests broad market participation in a rally, while a falling line indicates widespread selling pressure.
This tool is especially useful when used alongside price action and volume indicators for a more complete market analysis.
The Tick Indicator measures the net number of stocks trading on an uptick versus a downtick on a specific exchange, typically the NYSE.
A positive tick value indicates more stocks are trading on upticks (buying pressure), while a negative value shows more downticks (selling pressure).
It’s a real-time market sentiment gauge, often used by day traders to spot intraday strength, weakness, or potential reversals.
Extreme tick readings can signal overbought or oversold conditions.
The Relative Volume (RVOL) Indicator compares a stock's current trading volume to its average volume over a specified period.
It helps identify unusual trading activity and potential trading opportunities.
An RVOL greater than 1 indicates higher-than-normal volume, often signaling increased interest or momentum.
RVOL is widely used by traders to confirm breakouts, validate price moves, and spot high-interest setups.
The VWAP (Volume Weighted Average Price) is a benchmark indicator that shows the average price of an asset, weighted by volume.
It helps traders identify the true average price paid for a security and is widely used for intraday trading.
Price above VWAP suggests bullish sentiment, while price below VWAP indicates bearish sentiment.
VWAP is commonly used for trade entries, exits, and assessing market trend strength.
The Anchored VWAP is a variation that allows the user to set the starting time for calculations.
The Bollinger Bands and Keltner Channels Squeeze Indicator (SQZ) identifies periods of low volatility that often precede major price moves.
The "squeeze" conditions happen when the Bollinger Bands contract inside the Keltner Channels.
This signals consolidation as yellow dots in the graph and potential breakout zones as Up/Dn labels.
When the squeeze ends it indicates increasing volatility and a likely directional move
Traders use this tool to anticipate breakouts and plan entries based on momentum shifts.
9 EMA and VWAP interaction identified by periods of expansion and contraction can be used to identify suitable trade entries.
4 EMA can be used in scalping 1 minute charts for quick entries in combination with Tick, ADD and RVOL.
Disclaimer: The VTARS Model is not a Financial tool, it cannot used as any kind of advice to invest or risk moneys in any market,
Markets are volatile in nature - with little or no warning - and will drain your account if you are not careful.
Use only as an academic demonstrator => * Use it at your own risk *
9:15 Range with 0.09% BufferThis strategy is based on the first 9:15 AM candle for Nifty, which is considered a key reference point (also called the "GAN level entry"). It defines a range around the high and low of the 9:15 candle with a 0.09% buffer on both sides.
The upper buffer level acts as a potential resistance.
The lower buffer level acts as a potential support.
When the price crosses above the upper buffer, it signals a possible entry for a Call option (CE) or a long position.
When the price crosses below the lower buffer, it signals a possible entry for a Put option (PE) or a short position.
This approach helps traders identify early breakout opportunities based on the opening candle range, aiming to capture momentum moves in either direction during the trading session.
PM Levels + SMA 9 By JadraThis indicator automatically identifies pre-market high and low levels (4:00-9:30 AM ET) and marks them with blue horizontal lines that extend throughout the entire trading session. Additionally includes a 9-period Simple Moving Average in red for trend analysis. Perfect for NYSE and NASDAQ traders who use these key levels as support and resistance. Features color-coded backgrounds: yellow for pre-market, transparent for regular hours, and blue for post-market. Lines remain visible from pre-market through market close, providing constant visual references for making trading decisions based on these important psychological levels combined with moving average trend confirmation.
Pre Market High/Low LevelsPre Market High & Pre Market Low By Jadra
Pre Market High/Low Levels Indicator
This indicator automatically identifies pre-market high and low levels (4:00-9:30 AM ET) and marks them with blue horizontal lines that extend throughout the entire trading session. Perfect for NYSE and NASDAQ traders who use these key levels as support and resistance. Features color-coded backgrounds: yellow for pre-market, transparent for regular hours, and blue for post-market. Lines remain visible from pre-market through market close, providing constant visual references for making trading decisions based on these important psychological levels. Essential tool for day traders focusing on overnight price action and gap analysis in US equity markets.
Ethereum Rainbow Chart (9 Levels with Legend)The Ethereum Rainbow Chart is a long-term, color-coded chart that displays Ethereum’s price on a logarithmic scale to show historical trends and growth patterns. It uses colored bands to highlight different price zones, helping to visualize how ETH’s price has moved over time without focusing on short-term fluctuations.
Essa - Multi-Timeframe LevelsEnhanced Multi‐Timeframe Levels
This indicator plots yearly, quarterly and monthly highs, lows and midpoints on your chart. Each level is drawn as a horizontal line with an optional label showing “ – ” (for example “Apr 2025 High – 1.2345”). If two or more timeframes share the same price (within two ticks), they are merged into a single line and the label lists each timeframe.
A distance table can be shown in any corner of the chart. It lists up to five active levels closest to the current closing price and shows for each level:
level name (e.g. “May 2025 Low”)
exact price
distance in pips or points (calculated according to the instrument’s tick size)
percentage difference relative to the close
Alerts can be enabled so that whenever price comes within a user-specified percentage of any level (for example 0.1 %), an alert fires. Once price decisively crosses a level, that level is marked as “broken” so it does not trigger again. Built-in alertcondition hooks are also provided for definite breaks of the current monthly, quarterly and yearly highs and lows.
Monthly lookback is configurable (default 6 months), and once the number of levels exceeds a cap (calculated as 20 + monthlyLookback × 3), the oldest levels are automatically removed to avoid clutter. Line widths and colours (with adjustable opacity for quarterly and monthly) can be set separately for each timeframe. Touches of each level are counted internally to allow future extension (for example visually emphasising levels with multiple touches).
HARSI PRO v2 - Advanced Adaptive Heikin-Ashi RSI OscillatorThis script is a fully re-engineered and enhanced version of the original Heikin-Ashi RSI Oscillator created by JayRogers. While it preserves the foundational concept and visual structure of the original indicatorusing Heikin-Ashi-style candles to represent RSI movementit introduces a range of institutional-grade engines and real-time analytics modules.
The core idea behind HARSI is to visualize the internal structure of RSI behavior using candle representations. This gives traders a clearer sense of trend continuity, exhaustion, and momentum inflection. In this upgraded version, the system is extended far beyond basic visualization into a comprehensive diagnostic and context-tracking tool.
Core Enhancements and Features
1. Heikin-Ashi RSI Candles
The base HARSI logic transforms RSI values into open, high, low, and close components, which are plotted as Heikin-Ashi-style candles. The open values are smoothed with a user-controlled bias setting, and the high/low are calculated from zero-centered RSI values.
2. Smoothed RSI Histogram and Plot
A secondary RSI plot and histogram are available for traditional RSI interpretation, optionally smoothed using a custom midpoint EMA process.
3. Dynamic Stochastic RSI Ribbon
The indicator optionally includes a smoothed Stochastic RSI ribbon with directional fill to highlight acceleration and reversal zones.
4. Real-Time Meta-State Engine
This engine determines the current market environmentneutral, breakout, or reversalbased on multiple adaptive conditions including volatility compression, momentum thrust, volume behavior, and composite reversal scoring.
5. Adaptive Overbought/Oversold Zone Engine
Instead of using fixed RSI thresholds, this engine dynamically adjusts OB/OS boundaries based on recent RSI range and normalized price volatility. This makes the OB/OS levels context-sensitive and more accurate across different instruments and regimes.
6. Composite Reversal Score Engine
A real-time score between 0 and 5 is generated using four components:
* OB/OS proximity (zone score)
* RSI slope behavior
* Volume state (burst or exhaustion)
* Trend continuation penalty based on position versus trend bias
This score allows for objective filtering of reversal zones and breakout traps.
7. Kalman Velocity Filter
A Kalman-style adaptive smoothing filter is applied to RSI for calculating velocity and acceleration. This allows for real-time detection of stalls and thrusts in RSI behavior.
8. Predictive Breakout Estimator
Uses ATR compression and RSI thrusting conditions to detect likely breakout environments. This logic contributes to the Meta-State Engine and the Breakout Risk dashboard metric.
9. Volume Acceleration Model
Real-time detection of volume bursts and fades based on VWMA baselines. Volume exhaustion warnings are used to qualify or disqualify reversals and breakouts.
10. Trend Bias and Regime Detection
Uses RSI slope, HARSI body impulse, and normalized ATR to classify the current trend state and directional bias. This forms the basis for filtering false reversals during strong trends.
11. Dashboard with Tooltips
A clean, table displays six key metrics in real time:
* Meta State
* Reversal Score
* Trend Bias
* Volume State
* Volatility Regime
* Breakout Risk
Each cell includes a descriptive tooltip explaining why the value is being shown based on internal state calculations.
How It Works Internally
* The system calculates a zero-centered RSI and builds candle structures using high, low, and smoothed open/close values.
* Volatility normalization is used throughout the script, including ATR-based thresholds and dynamic scaling of OB/OS zones.
* Momentum is filtered through smoothed slope calculations and HARSI body size measurements.
* Volume activity is compared against VWMA using configurable multipliers to detect institutional-level activity or exhaustion.
* Each regime detection module contributes to a centralized metaState classifier that determines whether the environment is conducive to reversal, breakout, or neutral action.
* All major signal and context values are continuously updated in a dashboard table with logic-driven color coding and tooltips.
Based On and Credits
This script is based on the original Heikin-Ashi RSI Oscillator by JayRogers . All visual elements from the original version, including candle plotting and color configurations, have been retained and extended. Significant backend enhancements were added by AresIQ for the 2025 release. The script remains open-source under the original attribution license. Credit to JayRogers is preserved and required for any derivative versions.
The LEAP Contest - Symbol & Max Position Table TrackerDescription:
This indicator tracks the maximum contracts allowed to be traded for TradingView’s *"The Leap"* Contest. It displays a horizontal table at the bottom right of your chart showing up to 20 symbols along with their maximum allowable open contract positions.
Use case:
Designed specifically for traders participating in *The Leap* Contest on TradingView.
Users need to enter the symbol and the maximum contracts allowed for that symbol in the settings menu for each new contest.
It provides a quick reference to ensure compliance with contest rules on maximum position sizes.
How it works:
The table shows two rows: the top row displays the symbol name, and the bottom row shows the max contract limit.
If the currently loaded chart symbol matches any symbol in the list, its text color changes to yellow .
Customization:
Symbols and limits must be updated in the indicator’s settings before each contest to reflect the current rules.
VWAP 14 & EMA 8 RibbonIndicator that shows when 8 EMA crosses the VWAP 14. I have found this cross to be very bullish on the weekly timeframe. The VWAP 14 on its own serves as a good support and resistance as well. Very effective on the daily as well and even the 4 hour timeframe.
Interpolated Median Volatility LSMA | OttoThis indicator combines trend-following and volatility analysis by enhancing traditional LSMA with percentile-based linear interpolation applied to both the Least Squares Moving Average (LSMA) and standard deviation. Rather than relying on raw values, it uses the interpolated median (50th percentile) to smooth out noise while preserving sensitivity to significant price shifts. This approach produces a cleaner trend signal that remains responsive to real market changes, adapts to evolving volatility conditions, and improves the accuracy of breakout detection.
Core Concept
The indicator builds on these core components:
LSMA (Least Squares Moving Average): A linear regression-based moving average that fits line using user selected source over user defined period. It offers a smoother and more reactive trend signal compared to standard moving averages.
Standard Deviation shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: Instead of traditional Bollinger-style bands, this script calculates custom upper and lower bands using percentile-based linear interpolation on both the LSMA and standard deviation. This method produces smoother bands that filter out noise while remaining adaptive to meaningful price movements, making them more aligned with real market behavior and helping reduce false signals.
Percentile interpolation estimates a specific percentile (like the median — the 50th percentile) from a set of values — even when that percentile doesn't fall exactly on one data point. Instead of selecting a single nearest value, it calculates a smoothed value between nearby points. In this script, it’s used to find the median of past LSMA and standard deviation values, reducing the impact of outliers and smoothing the trend and volatility signals for more robust results.
Signal Logic: A long signal is identified when close price goes above the upper band, and a short signal when close price goes below the lower band.
⚙️ Inputs
Source: The price source used in calculations
LSMA Length: Period for calculating LSMA
Standard Deviation Length: Period for calculating volatility
Percentile Length: Period used for interpolating percentile values of LSMA and standard deviation
Multiplier: Controls the width of the bands by scaling the interpolated standard deviation
📈 Visual Output
Colored LSMA Line: Changes color based on signal (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility bands calculated using interpolated values (green for bullish, purple for bearish)
Bar Coloring: Price bars are colored to reflect signal state (green for bullish, purple for bearish)
Optional Candlestick Overlay: Enhances visual context by coloring candles to match the signal state (green for bullish, purple for bearish)
How to Use
Add the indicator to your chart and look for signals when close price goes above or below the bands.
Long Signal: close Price goes above the upper band
Short Signal: close Price goes below the lower band
🔔 Alerts:
This script supports alert conditions for long and short signals. You can set alerts based on band crossovers to be notified of potential entries/exits.
⚠️ Disclaimer:
This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate strategies before applying them in live markets. Use at your own risk.
Smart Trend Zones + EMAs 20/50/200 + Cross SignalsIndicator for trand up and down including Rsi Macd and other indicators
Futures Margin Lookup TableThis script applies a table to the upper right corner of the screen, which provides the intraday and overnight margin requirements of the currently selected symbol.
In this indicator the user must provide the broker data in the form of specifically formatted text blocks. The data for which should be found on the broker website.
The purpose for it's creation is due to the non-standard way each individual broker may price their margins and lack of information within TradingView when connected to some (maybe all) brokers, including when paper trading, as the flat percentage rule is not accurate.
An example of information for NinjaTrader could look like this
MES;Micro S&P;$50;$2406
ES;E-Mini S&P;$500;$24,053
GC;Gold;$500;$16500
NQ;E-Mini Nasdaq;$1,000;$34,810
FDAX;Dax Index;€2,000;€44,311
Each symbol begins a new line, and the values on that line are separated by semicolons (;)
Each line consists of the following...
SYMBOL : Search string used to match to the beginning of the current chart symbol.
NAME: Human readable name
INTRA: Intraday trading margin requirement per contract
OVERNIGHT: Overnight trading margin requirement per contract
The script simply finds a matching line within your provided information using the current chart symbol.
So for example the continuous chart for NQ1! would match to the user specified line starting with NQ... as would the individual contract dates such as NQM2025, NQK2025, etc.
NOTES:
There is a possibility that symbols with similar starting characters could match.
If this is the case put the longer symbol higher in the list.
There is also a line / character limit to the text input fields within pinescript
Ensure the text you paste into them is not truncated.
If so there are 3 input fields for just this purpose.
Find the last complete line and continue the remaining symbol lines on the subsequent inputs.