Fibonacci Retracement/ExtensionThis Pine Script code implements Fibonacci retracement and extension levels based on a ZigZag pattern. Below is a breakdown of its functionality:
Overview
The script calculates Fibonacci retracement and extension levels by identifying swing highs and swing lows using the ZigZag algorithm. It then plots these levels on the chart for trend analysis.
1. ZigZag Length Input
Defines the ZigZag length, which determines the sensitivity of peak and trough identification.
2. Fibonacci Retracement Calculation
Computes Fibonacci retracement levels using swing highs and lows.
Uses pre-defined Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
Adjusts line positions dynamically as the trend evolves.
3. Fibonacci Extension Calculation
Identifies Fibonacci extension levels for future price targets.
Uses previous ZigZag patterns to estimate potential price movements.
4. Trend and Fibonacci Configuration
Allows the user to configure Fibonacci trend analysis.
TrendSw: Sets the trend direction (1 = Bullish, -1 = Bearish, 0 = None).
ZigZagleg: Determines the countback value for retracement calculations.
Candlestick analysis
Daily COC Strategy with SHERLOCK WAVESThis indicator implements a unique trading strategy known as the "Daily COC (Candle Over Candle) Strategy" enhanced with "SHERLOCK WAVES" for pattern recognition. It's designed for traders looking to capitalize on specific candlestick formations with a negative risk-reward ratio, with the aim of achieving a high win rate (over 70%) through numerous trading opportunities, despite each trade having a higher risk relative to the reward.
Key Features:
Pattern Recognition: Identifies a setup based on three consecutive candles - a red candle followed by a shooting star, then an entry candle that does not break below the shooting star's low.
Negative Risk/Reward Trade Selection: Focuses on entries where the potential stop loss is greater than the take profit, banking on a high win rate to offset the individual trade's negative risk-reward ratio.
Visual Signals:
Green Label: Marks potential entry points at the high of the candle before the entry.
Green Dot: Indicates a winning trade closure.
Red Dot: Signals a losing trade closure.
Blue Circle: Warns when the current candle is within 2% of breaking above the previous candle's high, suggesting a potential setup is developing.
Green Circle: Plots the take profit level.
Red Circle: Plots the stop loss level.
Dynamic Statistics: A live updating label showing the number of trades, wins, losses, open trades, current account balance, and win percentage.
Customizable Parameters:
Risk % per Trade: Adjust the percentage of your account balance you're willing to risk on each trade.
Initial Account Balance: Set your starting balance for tracking performance.
Start Date for Strategy: Define when the strategy should start calculating from, allowing for backtesting.
Alerts:
An alert condition is set for when a potential trade setup is developing, helping traders prepare for entries.
Usage Tips:
This strategy is predicated on the idea that a high win rate can compensate for the negative risk-reward ratio of individual trades. It might not suit all market conditions or traders' risk profiles.
Use this strategy in conjunction with other analysis methods to validate trade setups.
Note: Always backtest thoroughly before applying to live markets. Consider this tool as part of a broader trading strategy, not a standalone solution. Monitor your win rate and adjust your risk management accordingly to ensure the strategy remains profitable over time.
This description now correctly explains the purpose behind the negative risk-reward ratio in the context of your trading strategy.
Momentum TheoryMomentum Theory is a mechanical pattern-recognition tool for rapid multi-timeframe analysis. It utilizes higher timeframe breakout levels and peak levels to quickly identify multi-timeframe Swing Points that help in setting a bias, formulating a setup, and executing an entry. It takes advantage of the fractal nature of the market by applying one concept for top-down analysis that scalpers, day traders, and swing traders can use.
✅ Rapid Multi-Timeframe Analysis
✅ Mechanical Pattern-Recognition Used to Filter Setups
✅ For Scalpers, Day Traders, and Swing Traders
--- 📷 INDICATOR GALLERY ---
--- ⚡ ANALYSIS FEATURES ---
✔ Multi-Timeframe Map
Displays breakout levels, peak levels, bar flow, and swing points of higher timeframes. Read how the market is moving with a quick glance.
✔ Bar Flow
Displays whether the previous higher timeframe bar closed in breakout, fakeout, inside, or outside. Aids to quickly read market flow.
There are 4 Bar Types: Breakout , Fakeout , Inside , Outside
✔ Momentum Cycles
Displays which part of the Momentum Cycle the timeframe is currently in to anticipate future movement.
Read more information below at Momentum Theory Concept
✔ Quick Analysis
Calculates a percentage bias based on the position of the higher timeframes to set an overall bias. Great for when trying to narrow down a large watchlist to a few pairs.
✔ Market Snapshots
Takes a snapshot of the entire market on all valid trigger bars for future review. Tracks Quick Analysis, Momentum Cycles, and Bar Flow at that exact point in time.
Limited to the last 150 entry bars. Use TradingView Bar Replay to access more history.
--- ⛰️ LEVELS FEATURES ---
✔ Breakout Bias
Shows the location of all the higher timeframe breakout levels and if price is currently bullish or bearish. Breakout bias shows the overall bias of the timeframe.
✔ Peak Bias
Shows which peak level has been triggered of the higher timeframe and if price closed above or below it. Peak bias shows the current momentum of the timeframe.
✔ Trigger Bars
Displays when the lower and middle timeframes are moving in alignment. Spot when the lower timeframes are starting to move together.
⚠️ Trigger bars are an indication of breakout bias alignment at the lowest timeframes. They are NOT signals to be taken blindly without further analysis.
✔ Automatic Range Detection
Detects if the current and higher timeframe is in a range and plots those levels on the chart.
Ranges are created when the following 3 bar scenarios occur:
Inside Bar - Peaks of current bar closed inside previous bar's peaks
Outside Bar - Peaks of current bar are outside previous bar's peaks, but closed inside.
Mirrored Fakeout Bars - 2 opposite facing fakeout bars in a row
✔ Key Levels Highlights
Highlights the relevant levels for each timeframe and if current price is above or below them.
✔ Visual Elements
Highlights key elements like breakout level flips, fakeout bars, intraday session trading times, off session times, and higher timeframe swing points.
--- 🔥 OTHER FEATURES ---
✔ Built-In Alerts
Multiple built-in alert types to notify you of significant events in the market.
✔ Dark and Light Modes
Adjustable theme colors to trade your chart the way you want.
✔ Plug-and-Play
Automatically changes the relevant levels depending on the viewed timeframe. No initial settings to configure. Just add it to your chart and start trading!
H4 - Monthly Setups / Weekly Momentum
H1 -Weekly Setups / Daily Momentum
M15 - Daily Setups / H8 Momentum
M5 -H8 Setups / H2 Momentum
M3 - H4 Setups / H1 Momentum
M1 - H1 Setups / M15 Momentum
--- 💡 MOMENTUM THEORY CONCEPT ---
The best trade setups are found at swing points for 3 reasons:
They are the highest probability point the market will continue pushing.
They provide the best Stop Loss protection.
They offer the greatest Risk-to-Reward.
The goal of trading is to identify when these swing points occur to take the best trade setups.
Every swing point consists of a push towards a peak, a peak formation, and a push away from a peak. There is no way to know how long a push towards or away from a peak will last, but the peak formation can be identified by 2 elements:
A fakeout of a previous peak level
A flip of its last breakout level
We can track the movement of the market by looking at which peak level is triggered relative to its breakout level. How price behaves at the previous peak levels shows where momentum is headed. It continues to build towards a new peak until it fakes out the previous peak level and flips its breakout level, creating a swing point.
Swing points on the higher timeframes show up as multiple swing points on the lower timeframes, but they often won't be moving in sync. When 2 timeframe swing points get in alignment, the market will move smoothly together. You find the lower timeframe swing point the exact same way you find the higher timeframe one.
The market is constantly moving from one swing point to the next in a repeatable cycle. By using higher timeframe breakout levels and peak levels triggered, we can track where we are in this cycle to anticipate its future movement. This is the Momentum Cycle and it repeats itself over and over.
By using the exact same concept, we can identify mechanical alignment patterns on the lower timeframes to create setups that work in every phase of the market cycle. Identify your own patterns or use the suggested ones below. Watch the Live Trading Examples to see how these patterns are used.
✔ Range Setups
✔ Continuation Setups
✔ Reversal Setups
--- 🧩 EXTENDING MOMENTUM THEORY ---
If the best trade setups are found at swing points, then that must mean that every trading strategy that's worth learning must have some type of method to identify that specific move. Since Momentum Theory specializes in identifying the swing point, it can easily fit into most trading strategies by removing discretion and inserting a mechanical process to filter your existing strategy's setups. By using only non-negotiable levels such as Previous Day High / Low, you can convert most discretionary patterns into mechanical ones to hopefully help increase your consistency. My hope is that you can build your own library of mechanical setups that are specific to your strategy that go beyond the ones that I've provided.
--- 📝 HOW TO USE ---
⚠ Click on "Indicators > Invite-Only > Momentum Theory" to add it to your charts.
1) Determine directional bias on the higher timeframe chart.
2) Identify the cycle and setup pattern on the middle timeframe chart and wait for the momentum timeframe to be triggered.
3) Execute entries when the lower timeframes are aligned. Market is fractal and you can pick whatever timeframe you want for entry. Trade as simple or complex as you want.
⚠️ Trigger bars are an indication of breakout bias alignment at the lowest timeframes. They are NOT signals to be taken blindly without further analysis.
--- 🎞️ LIVE TRADING EXAMPLES ---
Market Analysis with Momentum Theory
Day Trading with Mechanical Setups (using Momentum Theory Scanner)
Momentum Theory Scalping Concepts - Asia Session - GOLD
RoGr75 - EMA Cross Signal with Buffer and Variable Distance**Overview**:
This script is designed to identify potential buy and sell signals based on the crossover of two Exponential Moving Averages (EMAs) – a short-term EMA (default: 8 periods) and a long-term EMA (default: 50 periods). To reduce noise and false signals, the script incorporates a customizable buffer percentage, ensuring that signals are only generated when the short-term EMA moves significantly above or below the long-term EMA. Additionally, the script allows users to adjust the distance of the signals from the candles using the Average True Range (ATR) for better visualization.
---
Improvements: Added Buffer Percentage for reduced noise in Signals
### **Key Features**:
1. **EMA Crossover Signals**:
Buy Signal: Generated when the short-term EMA crosses above the long-term EMA.
Sell Signal: Generated when the short-term EMA crosses below the long-term EMA.
2. **Buffer Percentage**:
A user-defined buffer percentage ensures that signals are only triggered when the short-term EMA moves a specified percentage above or below the long-term EMA, reducing false signals.
3. **Customizable Signal Distance**:
Signals are plotted at a user-defined distance from the candles, calculated using the ATR (Average True Range) for dynamic positioning.
4. **Visual Enhancements**:
Buy and sell signals are displayed as labels above or below the candles, with optional background highlighting for better visibility.
5. **Flexible Inputs**:
Users can customize the lengths of the short-term and long-term EMAs, the ATR period, the signal distance multiplier, and the buffer percentage.
6. **Alerts**:
Built-in alert conditions allow users to receive real-time notifications for buy and sell signals.
### **Input Parameters**:
**Short EMA Length**: Period for the short-term EMA (default: 8).
**Long EMA Length**: Period for the long-term EMA (default: 50).
**Signal Distance**: Multiplier for ATR to determine the distance of signals from the candles (default: 2.0).
**ATR Length**: Period for the ATR calculation (default: 14).
**Buffer Percentage**: Percentage buffer for reversal signals to reduce noise (default: 1.0%).
### **Ideal For**:
Traders who use EMA crossovers as part of their strategy.
Those looking to reduce false signals with a buffer mechanism.
Users who prefer dynamic signal positioning based on market volatility (ATR).
### **Notes**:
The buffer percentage ensures that signals are only generated when the price moves significantly, making it suitable for trend-following strategies.
The script is highly customizable, allowing traders to adapt it to different timeframes and instruments.
Micha Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Support and Resistancelookback: This input allows you to specify the number of bars to look back to calculate the support and resistance levels.
support: This is calculated as the lowest low over the specified lookback period.
resistance: This is calculated as the highest high over the specified lookback period.
plot: The support and resistance levels are plotted on the chart with different colors.
bgcolor: This optional feature highlights the support and resistance zones with a semi-transparent background color.
RoGr75 - EMA 50/8 Cross With Buy/Sell Signals RoGr75 - EMA 50/8 Cross With Buy/Sell Signals
---
**Overview:**
This script is designed to generate **Buy** and **Sell** signals based on the crossover and crossunder of two Exponential Moving Averages (EMAs): **EMA 8** (green line) and **EMA 50** (blue line). The signals are plotted at a user-defined distance from the candles, ensuring clear visibility and adaptability to market volatility.
---
**Key Features:**
1. **EMA Cross Signals**:
- A **Buy Signal** is generated when the **EMA 8** crosses above the **EMA 50**.
- A **Sell Signal** is generated when the **EMA 8** crosses below the **EMA 50**.
2. **Variable Signal Distance**:
- The distance of the Buy and Sell signals from the candles is controlled by a **user-defined input** (`signal_distance`).
- The distance is calculated using the **Average True Range (ATR)** to adapt to market volatility.
3. **Customizable Parameters**:
- `signal_distance`: Adjust the distance of the signals from the candles (default: 2.0).
- ATR period: Fixed at 14 but can be modified in the script.
4. **Visual Enhancements**:
- Buy signals are displayed as green labels below the candles.
- Sell signals are displayed as red labels above the candles.
- Optional background highlighting for Buy and Sell signals.
---
**How It Works:**
- The script calculates the **EMA 8** and **EMA 50** and plots them on the chart.
- When a crossover or crossunder occurs, a label is placed at a distance determined by the formula:
- **Buy Signal Position**: `low - (signal_distance * ATR(14))`
- **Sell Signal Position**: `high + (signal_distance * ATR(14))`
- The signals are clearly visible and adapt to the volatility of the asset.
---
**Input Parameters:**
- `signal_distance` (type: input float): Controls the distance of the Buy and Sell signals from the candles. Default value is `2.0`.
---
**Usage:**
1. Add the script to your chart in TradingView.
2. Adjust the `signal_distance` input to set the desired distance of the signals from the candles.
3. Monitor the Buy and Sell signals generated by the script for potential trading opportunities.
---
**Example:**
- If `signal_distance` is set to `2.0`, the Buy signal will appear **2x ATR** below the candle's low, and the Sell signal will appear **2x ATR** above the candle's high.
---
**Customization:**
- Modify the ATR period or replace it with a fixed value for static distance.
- Adjust the colors, styles, and sizes of the labels and EMAs to suit your preferences.
---
**Ideal For:**
- Traders looking for a simple and effective EMA crossover strategy.
- Users who want customizable signal placement for better visibility.
- Those who prefer volatility-adjusted signal distances.
---
**Note:**
This script is for educational and informational purposes only. Always backtest and validate strategies before using them in live trading.
RSI Crossover dipali parikhThis script generates buy and sell signals based on the crossover of the Relative Strength Index (RSI) and the RSI-based Exponential Moving Average (EMA). It also includes an additional condition for both buy and sell signals that the RSI-based EMA must be either above or below 50.
Key Features:
Buy Signal: Triggered when:
The RSI crosses above the RSI-based EMA.
The RSI-based EMA is above 50.
A green "BUY" label will appear below the bar when the buy condition is met.
Sell Signal: Triggered when:
The RSI crosses below the RSI-based EMA.
The RSI-based EMA is below 50.
A red "SELL" label will appear above the bar when the sell condition is met.
Customizable Inputs:
RSI Length: Adjust the period for calculating the RSI (default is 14).
RSI-based EMA Length: Adjust the period for calculating the RSI-based EMA (default is 9).
RSI Threshold: Adjust the threshold (default is 50) for when the RSI-based EMA must be above or below.
Visuals:
The RSI is plotted as a blue line.
The RSI-based EMA is plotted as an orange line.
Buy and sell signals are indicated by green "BUY" and red "SELL" labels.
Alerts:
Alerts can be set for both buy and sell conditions to notify you when either condition is met.
How to Use:
Use this script to identify potential buy and sell opportunities based on the behavior of the RSI relative to its EMA.
The buy condition indicates when the RSI is strengthening above its EMA, and the sell condition signals when the RSI is weakening below its EMA.
Strategy Use:
Ideal for traders looking to leverage RSI momentum for entering and exiting positions.
The RSI-based EMA filter helps smooth out price fluctuations, focusing on stronger signals.
This script is designed for both discretionary and algorithmic traders, offering a simple yet effective method for spotting trend reversals and continuation opportunities using RSI.
High/Low LabelsThis simple Version 6 script labels each bar on the chart with Green labels noting HH for higher highs and HL for higher lows. And Red labels noting LH for lower highs and LL for lower lows. Works on any Trading View chart and any time frame. Any comments or suggestions, please do!
Trend & ADX by Gideon for Indian MarketsThis indicator is designed to help traders **identify strong trends** using the **Kalman Filter** and **ADX** (Average Directional Index). It provides **Buy/Sell signals** based on trend direction and ADX strength. I wanted to create something for Indian markets since there are not much available.
In a nut-shell:
✅ **Buy when the Kalman Filter turns green, and ADX is strong.
❌ **Sell when the Kalman Filter turns red, and ADX is strong.
📌 **Ignore signals if ADX is weak (below threshold).
📊 Use on 5-minute timeframes for intraday trading.
------------------------------------------------------------------------
1. Understanding the Indicator Components**
- **Green Line:** Indicates an **uptrend**.
- **Red Line:** Indicates a **downtrend**.
- The **line color change** signals a potential **trend reversal**.
**ADX Strength Filter**
- The **ADX (orange line)** measures trend strength.
- The **blue horizontal line** marks the **ADX threshold** (default: 20).
- A **Buy/Sell signal is only valid if ADX is above the threshold**, ensuring a strong trend.
**Buy & Sell Signals**
- **Buy Signal (Green Up Arrow)**
- Appears **one candle before** the Kalman line turns green.
- ADX must be **above the threshold** (default: 20).
- Suggests entering a **long position**.
- **Sell Signal (Red Down Arrow)**
- Appears **one candle before** the Kalman line turns red.
- ADX must be **above the threshold** (default: 20).
- Suggests entering a **short position**.
2. Best Settings for 5-Minute Timeframe**
For day trading on the **5-minute chart**, the following settings work best:
- **Kalman Filter Length:** `50`
- **Process Noise (Q):** `0.1`
- **Measurement Noise (R):** `0.01`
- **ADX Length:** `14`
- **ADX Threshold:** `20`
- **(Increase to 25-30 for more reliable signals in volatile markets)**
3. How to Trade with This Indicator**
**Entry Rules**
✅ **Buy Entry**
- Wait for a **green arrow (Buy Signal).
- Kalman Line must **turn green**.
- ADX must be **above the threshold** (strong trend confirmed).
- Enter a **long position** on the next candle.
❌ **Sell Entry**
- Wait for a **red arrow (Sell Signal).
- Kalman Line must **turn red**.
- ADX must be **above the threshold** (strong trend confirmed).
- Enter a **short position** on the next candle.
**Exit & Risk Management**
📌 **Stop Loss**:
- Place stop-loss **below the previous swing low** (for buys) or **above the previous swing high** (for sells).
📌 **Take Profit:
- Use a **Risk:Reward Ratio of 1:2 or 1:3.
- Exit when the **Kalman Filter color changes** (opposite trend signal).
📌 **Avoid Weak Trends**:
- **No trades when ADX is below the threshold** (low trend strength).
4. Additional Tips
- Works best on **liquid assets** like **Bank Nifty, Nifty 50, and large-cap stocks**.
- **Avoid ranging markets** with low ADX values (<20).
- Use alongside **volume analysis and support/resistance levels** for confirmation.
- Experiment with **ADX Threshold (increase for stronger signals, decrease for more trades).**
Best of Luck traders ! 🚀
Gap Symbolized on ChartIndicator Description: Gap Analysis with Text Symbols
This indicator analyzes the relationship between the current candle's open price, the previous candle's close price, and the current candle's close price to provide visual insights into price gaps and momentum. It displays text symbols (▼, ▲, ━) above each candle, color-coded to reflect the strength and direction of the gap.
Key Features:
Gap Analysis:
Compares the current candle's open price with the previous candle's close price.
Evaluates the current candle's close price relative to its open price.
Text Symbols:
▼ (Down Arrow): Indicates a bearish movement.
▲ (Up Arrow): Indicates a bullish movement.
━ (Dash): Indicates a neutral or sideways movement.
Color Coding:
Red: Bearish conditions (e.g., price opening lower than the previous close and closing lower than the open).
Orange: Mild bearish or bullish conditions.
Blue: Bullish conditions (e.g., price opening higher than the previous close and closing higher than the open).
Navy: Strong bullish conditions.
Transparent Background:
The text symbols are displayed without any background shape, ensuring they do not obstruct the chart.
Use Cases:
Identify Gaps: Quickly spot gaps between the previous close and the current open.
Momentum Analysis: Assess the strength and direction of price movements.
Visual Clarity: The minimalist design (text symbols only) keeps the chart clean and easy to interpret.
How to Use:
Add the indicator to your chart.
Observe the text symbols above each candle:
Red ▼: Strong bearish momentum.
Blue ▲: Strong bullish momentum.
━: Neutral or consolidation phase.
Use the insights to confirm trends, spot reversals, or identify potential entry/exit points.
Donchian Reversal Scanner by Hitesh2603How It Works:
Bearish Side Logic:
If the price is falling with bearish candles and touching the lower Donchian Channel, the bearishCondition flag is set to true.
When a bullish candle appears afterward, the flag is reset, and the bullishReversalSquare condition becomes true.
Bullish Side Logic:
If the price is rising with bullish candles and touching the upper Donchian Channel, the bullishCondition flag is set to true.
When a bearish candle appears afterward, the flag is reset, and the bearishReversalSquare condition becomes true.
Plotting Squares:
A green square is plotted below the candle when bullishReversalSquare is true.
A red square is plotted above the candle when bearishReversalSquare is true.
Scanner Output:
The scanCondition variable is true when either bullishReversalSquare or bearishReversalSquare is true.
How to Use the Script:
On the Chart:
Add the script to your chart.
You will see squares plotted on the chart when the conditions are met:
Green squares below the candle for bullish reversals.
Red squares above the candle for bearish reversals.
In the Scanner:
Open the Scanner tab in TradingView.
Click on "Create New Scanner".
In the "Condition" field, select the script you just created.
Choose the market or watchlist you want to scan (e.g., "NYSE", "NASDAQ", or a custom watchlist).
Run the scan. The Scanner will return a list of instruments where the scanCondition is true.
Why This Works:
The scanCondition variable is now properly declared and used.
The plotchar function explicitly outputs the scanCondition variable as a plot, which the Scanner can recognize.
Failed 2D & Failed 2U BarsI created this indicator to plot a triangle when a candle is either 1) a failed 2 down--the candle breaks the low of the prior candle but closes green (or higher than its opening price) and doesn't break the high of the previous candle; and 2) a failed 2 up--high of the prior candle is broken but the bar is red and does not break the low of the prior candle.
It has alerts which you can set up in the alert system.
I think that this candle is one of the most telling and powerful when it comes to candle analysis.
R.I.P. Rob Smith, Creator of The Strat.
Chart scaleThe point of this indicator is to gauge chart sale, to make sure you are NOT too overly focused on tiny chart movement while too zoomed in and loses focus. It lock in y-axis and x-axis base on a fixed defined number so no matter how much you zoom in or not, it will changes and keep the same scale.
There are 2 lines, x-axis line = time and you can set how many bars to look back. And y-axis which is the price, in the setting you can select how many bar to look back which is x-axis and time
as for y axis, intead of using 2 fixed time, it put it in a precentage of the overall price, for example if you put 1%, then top of the line from price will be 1% of overall price top and below the current price. in the setting you can also select where does x-axis line appear, top bottom or middle, so it does not clutter the chart.
what i like to do is to find my perfect spot where average move over time and make both x and y axis to be close to as a square as possible, and when price slows down or speed up, if i zoom in or out, and see the x and y lines are no longer forming a square, shape then i would know the price is either moving too fast or too slow and i would trade accordingly
you can also custozmie the line type, width and transprancy.
Multi-Timeframe Stoch RSIThe Multi-Timeframe Stoch RSI Indicator analyzes Stochastic RSI values across multiple timeframes (5m, 15m, 30m, 1h, 3h, and 1D) to help identify overbought and oversold conditions. It displays a visual table where each timeframe is color-coded—red for overbought (🐻) and green for oversold (✅)—allowing traders to quickly assess market momentum at different intervals. This helps in making informed trading decisions based on multi-timeframe confluence.
Real-Time Data Error Check _byMDKTests back if there was missing data/bar with respect to selected timeframe and source.
Experienced red data (no-real time data is available) so i come up with the idea.
Regards.
i.redd.it
Candle Close NotificationCandle Close Notification Indicator - Specification
1. 概要 (Overview)
本インジケーターは、TradingView 上でローソク足が確定した際に、そのローソク足が陰線(Bearish)または陽線(Bullish)であった場合に通知を送信するものです。
また、該当するローソク足の上または下にマークを表示し、視覚的にも識別しやすくなっています。
This indicator for TradingView sends notifications when a candlestick closes as either a bearish (red) or bullish (green) candle. It also marks the corresponding candles on the chart for visual reference.
2. 機能 (Features)
2.1 通知機能 (Notification Function)
ローソク足の確定時に、以下の条件に基づき アラート(通知) を送信します。
「Both」(両方): 陰線・陽線のどちらでも通知
「Bearish」(陰線のみ): 陰線の時のみ通知
「Bullish」(陽線のみ): 陽線の時のみ通知
When a candlestick closes, an alert notification is sent based on the selected option:
"Both" (Default): Notifies for both bearish and bullish candles.
"Bearish": Notifies only bearish candles.
"Bullish": Notifies only bullish candles.
2.2 チャートマーク表示機能 (Chart Marking Function)
ローソク足が確定した際、以下のルールでマークを表示します。
陰線(Bearish) の場合、赤色の「下向きマーク」を表示(ローソク足の上)
陽線(Bullish) の場合、緑色の「上向きマーク」を表示(ローソク足の下)
When a candlestick closes, a marker appears according to the following rules:
Bearish candle → A red downward marker appears above the candle.
Bullish candle → A green upward marker appears below the candle.
3. 通知オプションの設定 (Setting Notification Options)
スクリプト内の notify_option の値を変更することで、通知の種類を設定できます。
Both(デフォルト) → 陰線・陽線両方通知
Bearish → 陰線のみ通知
Bullish → 陽線のみ通知
Modify the notify_option value in the script to customize notifications:
Both (Default) → Notifies for both bearish and bullish candles.
Bearish → Notifies only bearish candles.
Bullish → Notifies only bullish candles.
TradingView の アラート機能 を有効にすることで、通知を受け取ることができます。
Enable TradingView’s Alert function to receive notifications.
Advanced Order Blocks with VolumeAdvanced Order Blocks with Volume Indicator
This professional-grade indicator combines order block detection with sophisticated volume analysis to identify high-probability trading opportunities. It automatically detects and displays bullish and bearish order blocks formed during consolidation periods, enhanced by three distinct volume calculation methods (Simple, Relative, and Weighted).
Key Features:
- Smart consolidation detection with customizable thresholds
- Volume-filtered order blocks to avoid false signals
- Automatic order block mitigation tracking
- Clear visual presentation with volume metrics
- Flexible customization options for colors and parameters
Settings:
Core Parameters:
- Consolidation Threshold %: Sets the maximum price range (0.1-1.0%) for detecting consolidation zones
- Lookback Period: Number of bars (2-10) to analyze for consolidation patterns
Volume Analysis:
- Volume Calculation Method: Choose between Simple (basic average), Relative (compared to average), or Weighted (prioritized recent volume)
- Volume Lookback Period: Historical bars (5-100) used for volume analysis
- Volume Threshold Multiplier: Minimum volume requirement (1.0-5.0x) for valid order blocks
Visual Settings:
- Bullish/Bearish OB Color: Background colors for order blocks
- Bullish/Bearish OB Text Color: Colors for volume information display
Perfect for traders focusing on institutional price levels and volume-based trading strategies. The indicator helps identify potential reversal zones with strong institutional interest, validated by significant volume conditions.
D-LEVELS **FUTURECODE**The D-LEVELS indicator helps traders identify key price levels based on high-volume nodes and their relative positions to the current price. It visually displays these dynamic levels on the chart, offering insights into potential support, resistance, or zones of interest for trading decisions.
Key Features for Traders:
Dynamic Volume Nodes: Highlights high-volume price levels across different lookback periods, which can act as support or resistance.
Custom Alerts: Warns traders when price is within a specified percentage range of these levels.
Visual Cues: Uses labels and lines with customizable colors and widths for better chart clarity.
Table Display: Summarizes volume node price levels and their relative percentages for quick reference.
Customization: Flexible input options for text size, colors, and display settings to adapt to individual trading styles.
Use Case:
Traders can incorporate this indicator into their strategy to identify high-probability zones for entries, exits, or trade management by observing the interaction of price with these volume-based levels.
Next level scolilay swing timerThe "Next Level Scolilay Swing Timer" is an advanced TradingView indicator designed to help traders navigate trends, reversals, and swing opportunities with ease. It's built around several key concepts like ATR filtering, ZigZag analysis, and momentum-based trend detection, making it a powerful tool for identifying market direction and key trading opportunities.
One of the standout features is its ability to filter candles using the Average True Range (ATR). This ensures that the indicator focuses on meaningful price movements rather than noise. You can tweak the ATR settings to suit your trading style, deciding how much historical data to consider or even turning the filter off completely if you prefer.
The script also integrates a ZigZag algorithm to detect pivot points, which it uses to evaluate swings in price action. This feature comes with customizable settings for depth and sensitivity, allowing you to adjust how the script reacts to price fluctuations. By analyzing these swings, the indicator identifies key highs and lows, which play a big role in determining whether the market is trending up or down.
When it comes to trends, the script is smart and flexible. It doesn't just look for higher highs or lower lows; it also considers momentum and retracement levels to decide if a trend is gaining strength or reversing. For example, it uses one-third retracement logic to spot sudden shifts in market direction, which can be critical for catching reversals early. You can also enable features like fast trend switching, which reacts to single-candle events that might signal a trend break.
Visualization is another area where this script shines. It marks uptrends and downtrends directly on the chart with clear labels, so you can instantly see when a new trend starts. Pink arrows appear above candles to signal potential downtrends, while yellow arrows below candles indicate possible uptrends. These signals combine multiple layers of analysis, like swing validation, ATR filtering, and trend confirmation, to give you reliable insights.
What makes the Swing Timer especially useful is its flexibility. Whether you’re a trend trader looking to ride major market moves, a swing trader focused on pivot points, or someone hunting for reversals, you can customize the settings to fit your needs. You can adjust everything from ZigZag and ATR parameters to how trends are labeled and filtered. The result is a tool that adapts to your trading style while still providing clear and actionable signals.
In short, this script brings together a range of advanced trading concepts into one user-friendly package. It’s perfect for traders who want to see market trends clearly, identify opportunities with confidence, and stay ahead of sudden reversals—all without getting bogged down in unnecessary complexity.
Internal Bar StrengthShort Description:
This indicator calculates the Internal Bar Strength (IBS) for each bar, which measures the close price’s relative position within that bar’s high-low range, and then optionally smooths that value with a selected moving average.
What Does It Measure?
Internal Bar Strength (IBS):
The IBS formula is (close-low)/(high-low)
. This ratio indicates where the closing price lies within a bar’s trading range:
A value near 0 means the close is near the bar’s low.
A value near 1 means the close is near the bar’s high.
A value of 0.5 means the close is exactly in the middle of the bar’s range.
Smoothing (Moving Averages):
You can choose to smooth the IBS value with one of five different moving average types: RMA, SMA, EMA, WMA, or VWMA. The default length for smoothing is 10, but this can be adjusted for more or less sensitivity.
Key Features
Multiple MA Options:
RMA: Also known as the Wilder’s moving average, it reacts slightly slower to changes than EMA.
SMA: Simple moving average, straightforward average of the last n values.
EMA: Exponential moving average, places more weight on recent data.
WMA: Weighted moving average, linear weighting from oldest to newest data.
VWMA: Volume-weighted moving average, weights price by trading volume.
Color Coding:
Green when IBS is greater than 0.5.
Red when IBS is less than or equal to 0.5.
Star Pattern IdentifierThe Star Pattern Identifier is a custom TradingView indicator designed to detect and mark Morning Star (MS) and Evening Star (ES) candlestick patterns, which are powerful reversal signals. This indicator offers a flexible and customizable approach by incorporating adjustable parameters for both the size and volume of the third candle in the pattern.
Key Features:
Morning Star (MS) : A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES) : A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier : Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier : Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle , followed by a bullish or indecisive second candle , and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle , followed by a bearish or indecisive second candle , and a bearish third candle .
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
[GrandAlgo] Candlestick ThemesTransform your TradingView charts with Candlestick Themes, an indicator that customizes candlestick colors using a variety of stunning themes. Whether you’re seeking improved clarity, enhanced personalization, or a fresh visual appeal, this indicator has something for everyone.
Key Features
This indicator offers a wide selection of pre-defined themes:
TradingView Default: The classic, familiar look of TradingView charts.
GrandAlgo: Our exclusive brand theme, blending vibrancy and professionalism for an exceptional charting experience.
MetaTrader-Inspired Themes: Green on Black, Yellow on Black, and Black on White, designed to replicate the iconic MetaTrader aesthetics.
Green Black: A calming and balanced theme for focused trading.
Darkblue Red: A bold and impactful combination with rich tones.
Darkblue Black: A subtle, sleek palette perfect for minimalists.
Lightblue Red: A mix of warm and cool tones for balanced visuals.
Lightblue Red (Gradient): Adds smooth transitions for a modern feel.
Lightblue Black: Crisp and clean for improved readability.
Crimson to Calm: A gradient theme transitioning from bold to tranquil tones.
Robinhood: Inspired by the clean and vibrant look of the popular trading platform.
Warm & Cool Harmony: A seamless blend of warm and cool tones.
Valentine: Passionate reds and pinks for a romantic visual.
Christmas: Festive greens and reds to match the holiday spirit.
Grapes: A playful mix of purples and greens.
Desert: Warm, sandy hues inspired by desert landscapes.
Real Madrid: A sporty theme with iconic colors for fans.
This indicator ensures seamless integration with TradingView charts, offering personalized trading experience. Whether you're a seasoned trader or just starting, these themes will make your charts both functional and visually appealing.