geebcountCandle Counter with Explosive Moves Indicator
A custom indicator for counting different types of candles including explosive price movements.
Indicator Overview
This indicator counts green (bullish), red (bearish), neutral candles, and explosive price movements over specified periods.
Inputs
Count Period (จำนวนนับกี่แท่งต่อรอบ): Number of candles to count per round
Display Rounds (จำนวนแสดงผลการนับ): Number of counting rounds to display
Start Date: Optional starting date for the count
Text Color: Color of the displayed labels
Explosive Move % Threshold: Minimum percentage move to qualify as an explosive candle
Calculations
The indicator performs the following counts:
G: Number of green (bullish) candles
R: Number of red (bearish) candles
Y: Number of neutral (doji) candles
E: Number of explosive candles (moves exceeding the threshold percentage)
Indicateurs et stratégies
최적 매매 전략청산 이익률 입력 변수 추가: takeProfitPct를 추가하여 원하는 청산 이익률을 입력할 수 있게 하였습니다.
매수 진입 비율 수정: entryPct를 사용하여 매수 시 진입 금액을 계좌의 일정 비율로 설정하였습니다.
Take Profit 가격 계산 수정: takeProfitPrice를 정확하게 계산하도록 수정하였습니다.
매도 조건 수정: 포지션이 닫혔을 때를 정확히 감지하여 매도 신호를 표시하도록 sellCondition을 수정하였습니다.
매도 신호 표시 개선: 실제 전략의 청산 시점과 매도 신호가 일치하도록 개선하였습니다.^^
Price Channel with SupertrendOverview
This Pine Script creates an indicator named "Price Channel with Supertrend" that overlays on the main chart. It combines the Price Channel and Supertrend indicators, and includes various customization options for colors and bar conditions.
Key Components
Inputs:
length: Length for the Price Channel.
channel: Boolean to enable/disable the Price Channel.
Various color inputs for customization.
Bar Conditions:
Identifies different types of bars (e.g., inside bars, outside bars, up days, down days) and sets colors accordingly.
Price Channel:
Calculates the upper and lower bounds of the Price Channel using the highest high and lowest low over the specified length.
Plots the Price Channel if enabled.
Supertrend:
Uses ATR (Average True Range) to calculate the Supertrend.
Plots the Supertrend line with color changes based on the trend direction.
Bar Coloring:
Colors bars based on conditions like outside bars and Supertrend direction.
Buy and Sell Signals:
Generates buy and sell signals based on crossovers and crossunders of the closing price with the Supertrend line.
Plots labels for these signals on the chart.
Plotting
Price Channel: Plots the upper and lower bounds.
Supertrend: Plots the Supertrend line with color changes.
ATR: Uses ATR for Supertrend calculation.
Bar Colors: Colors bars based on conditions.
Signals: Plots buy and sell signals with labels.
Multiple Timeframe CloseMultiple Timeframe Close
This indicator allows users to track the closing prices of up to three different higher timeframes directly on their current chart. It plots the closures of user-selected timeframes such as daily, weekly, or monthly, making it easier to visualize significant levels across different periods. Additionally, users can select the desired time zone for more precise tracking.
Buy and Sell Signal with VWAP and EMAsBuy and Sell Signal with VWAP and EMAs and also based on candle stick patterns.
PRINCE007 PIVOT,VWAP & H/L,M/A DEC 2024PRINCE007 PIVOT,VWAP & H/L,M/A DEC 2024
It's a pretty simple example of a nice custom screener you can run for multiple timeframes. This is an RSI screener, but you can easily change the function for your own Indicator.
Screener displays:
Last value of the instrument
RSI value for up to 10 instruments / 4 timeframes.
In Parameters you can change:
4 timeframes
10 instruments
Parameters for RSI
Styling parameters for table
If the selected timeframe will be lower than the current one you will receive a warning message in a table.
Thanks to MUQWISHI to help me code it.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
My EngulfingEngulfing Candle that everyone can use it to make a simple entry on every pair and every timeframe
Stock_Cloud-EMA,VWAP,ST Indicator_V1Stock_Cloud-EMA,VWAP,ST Indicator
A simple indicator combining three popular technical indicators: EMA, VWAP, and SuperTrend. It generates clear trading signals when price moves above or below all three indicators.
Features:
• EMA (Exponential Moving Average) - Blue line
• VWAP (Volume Weighted Average Price) - Purple line
• SuperTrend - Green/Red line
• Background color changes to light green in bullish conditions and light red in bearish conditions
• Small triangles mark entry/exit points when price crosses all indicators
Signals:
▲ Green triangle: Bullish signal when price crosses above all indicators
▼ Red triangle: Bearish signal when price crosses below all indicators
Settings:
- EMA Length: 20 (default)
- SuperTrend Period: 10 (default)
- SuperTrend Multiplier: 3.0 (default)
How to Use:
Look for trade entries when all three indicators align and the triangle signal appears. The background color helps confirm the overall trend direction.
Multi Indicator By poid0010อินดิเคเตอร์ตัวนี้พัฒนาโดย AI โดยเอาเครื่องมือยอดฮิต 10 ตัวมาคำนวน จุดเข้า ซื้อ ขาย และสามาถ ทดสอบกลยุทธ ย้อนหลังได้ ว่าหากเล่นตามตัวนี้ จะชนะ หรือแพ้ และกำไรขาดทุนเท่าไหร่ มีให้ตั้ง เงินทุนที่จะลงเล่นต่อไม้
Lakush bhai hi kehdeThis script appears to be a custom indicator for TradingView that combines **Volumatic Variable Index Dynamic Average (VIDYA)** with **liquidity zone detection** and volume analysis. Here's a breakdown of its main components and functionality:
### Key Features
1. **VIDYA Calculation**:
- Implements a Variable Index Dynamic Average using momentum and length parameters to adapt to price action.
- Smoothes the trend dynamically based on volume and price momentum.
2. **Liquidity Zone Detection**:
- Identifies pivot highs and lows, and marks support (low) and resistance (high) zones on the chart.
- Tracks and extends these zones dynamically to visualize potential price liquidity levels.
3. **Trend Detection**:
- Tracks whether the trend is up or down by comparing the price source against VIDYA-based bands.
- Includes upper and lower bands calculated with a distance factor and ATR for flexibility.
4. **Volume Analysis**:
- Aggregates volumes during uptrends and downtrends to show the dominance of buying or selling pressure.
- Displays the delta volume percentage to highlight the difference between buying and selling volumes.
5. **Annotations**:
- Adds labels and markers for significant events:
- Liquidity zones are labeled with volume data.
- Trend changes are highlighted with up and down arrows.
6. **Plot and Styling**:
- VIDYA is plotted along with its bands, and the area between price and VIDYA is shaded to emphasize trend direction.
- Supports customizable colors for uptrends and downtrends.
---
### Usage
- **Inputs**:
- `vidya_length` and `vidya_momentum`: Control the sensitivity of the VIDYA calculation.
- `band_distance`: Determines the width of upper and lower bands.
- Source: Defines the data used for calculations, typically `close`.
- **Outputs**:
- Trendlines, arrows, and shaded areas showing trend direction.
- Liquidity lines marking support/resistance zones.
- Volume statistics for trends and delta volume percentage.
---
### How to Use in TradingView
1. **Copy the Code**:
- Copy the script and paste it into the Pine Script editor in TradingView.
2. **Customize Inputs**:
- Adjust the parameters in the input section (`VIDYA Length`, `Momentum`, etc.) to suit your trading style.
3. **Add to Chart**:
- Save and add the script to your desired chart.
4. **Interpret Signals**:
- Use liquidity zones for potential reversal areas.
- Observe the trend and volume indicators for entries and exits.
---
### Potential Improvements
1. **Optimization**:
- Fine-tune the default values for `vidya_length`, `momentum`, and `band_distance` based on backtesting.
2. **Performance**:
- Limit the number of liquidity lines stored to enhance performance for charts with extensive data.
3. **Alerts**:
- Add alert conditions for trend changes, significant volume shifts, or price crossing liquidity zones.
Advanced Pattern Detector**Script Overview**
**Indicator Name:** Advanced Pattern Detector
**Pine Script Version:** v5
**Indicator Type:** Overlaid on the chart (overlay=true)
**Main Features:**
- Detection and visualization of various technical patterns.
- Generation of BUY and SELL signals based on detected patterns.
- Display of Fibonacci levels to identify potential support and resistance levels.
- Ability to enable or disable each pattern through the indicator settings.
---
**Indicator Settings**
**Switches to Enable/Disable Patterns**
At the top of the indicator, there are parameters that allow the user to select which patterns will be displayed on the chart:
- Three Drives
- Rounding Top
- Rounding Bottom
- ZigZag Pattern
- Inverse Head and Shoulders
- Fibonacci Retracement
**Parameters for ZigZag**
Settings are also available for the ZigZag pattern, such as the depth of peak and trough detection, allowing the user to adjust the indicator's sensitivity to price changes.
---
**Pattern Detection**
Each pattern is implemented with its own logic, which checks specific conditions on the current bar (candle). Below are the main patterns:
1. **Three Drives**
- **Description:** This pattern consists of three consecutive price movements in one direction (up or down). It can signal the continuation of the current trend or its reversal.
- **How It Works:**
- **Upward Drive:** The indicator checks that the closing price of each subsequent candle is higher than the previous one for three bars.
- **Downward Drive:** The indicator checks that the closing price of each subsequent candle is lower than the previous one for three bars.
2. **Rounding Top**
- **Description:** A pattern representing a smooth decrease in maximum prices over several bars, which may indicate a potential downward trend reversal.
- **How It Works:**
- The indicator checks that the maximum prices of the last five bars are gradually decreasing, and the current bar shows a decrease in the maximum price.
3. **Rounding Bottom**
- **Description:** A pattern characterized by a smooth increase in minimum prices over several bars, signaling a possible upward trend reversal.
- **How It Works:**
- The indicator checks that the minimum prices of the last five bars are gradually increasing, and the current bar shows an increase in the minimum price.
4. **ZigZag Pattern**
- **Description:** Used to identify corrective movements on the chart. The pattern shows peak and trough points connected by lines, helping to visualize the main price movement.
- **How It Works:**
- The indicator uses a function to determine local maxima and minima based on the specified depth.
- Detected peaks and troughs are connected by lines to create a visual zigzag structure.
5. **Inverse Head and Shoulders**
- **Description:** An inverted head and shoulders formation signals a possible reversal of a downward trend to an upward one.
- **How It Works:**
- The indicator looks for three local minima: the left shoulder, the head (the lowest minimum), and the right shoulder.
- It checks that the left and right shoulders are approximately at the same level and below the head.
6. **Fibonacci Retracement Levels**
- **Description:** Automatically builds key Fibonacci levels based on the maximum and minimum prices over the last 50 bars. These levels are often used as potential support and resistance levels.
- **How It Works:**
- Daily, the minimum and maximum prices over the last 50 bars are calculated.
- Based on these values, Fibonacci levels are drawn: 100%, 23.6%, 38.2%, 50%, 61.8%, and 0%.
- Old levels are removed when a new day begins to keep the chart clean and up-to-date.
---
**Generation of Buy and Sell Signals**
The indicator combines the results of detected patterns to generate trading signals:
- **Buy Signals (BUY):**
- Rounding Bottom
- Three Drives Up
- Inverse Head and Shoulders
- ZigZag Low
- **Sell Signals (SELL):**
- Rounding Top
- Three Drives Down
- Inverse Head and Shoulders
- ZigZag High
**How It Works:**
- If one or more buy conditions are met, a "BUY" label is displayed below the corresponding bar on the chart.
- If one or more sell conditions are met, a "SELL" label is displayed above the corresponding bar on the chart.
---
**Visualization of Patterns on the Chart**
Each detected pattern is visualized using various graphical elements, allowing traders to easily identify them on the chart:
- **Three Drives Up:** Green upward triangle below the bar.
- **Three Drives Down:** Red downward triangle above the bar.
- **Rounding Top:** Orange "RT" label above the bar.
- **Rounding Bottom:** Blue "RB" label below the bar.
- **Inverse Head and Shoulders:** Turquoise "iH&S" label below the bar.
- **ZigZag High/Low:** Purple circles at the peaks and troughs of the zigzag.
---
**Displaying Fibonacci Levels**
Fibonacci levels are displayed as horizontal lines on the chart with corresponding labels. These levels help traders determine potential entry and exit points, as well as support and resistance levels.
---
**Drawing ZigZag Lines**
ZigZag lines connect the detected peaks and troughs, visualizing corrective movements. To avoid cluttering the chart, the number of lines is limited, and old lines are automatically removed as new ones are added.
Indicador M2 con Filtro de EMAs
El Patrón de Velas M2 es el mejor gatillo para entrar a mercado cuando el grafico de los precios nos da una ventaja estadística.
Las EMAS 10 y 5 nos dan un filtro de la tendencia a corto plazo y en combinación con el patón M2 conforman la base del Sistema Scalping 2.0 el cual nos permite realizar operaciones siempre a favor de la tendencia, dándonos la oportunidad de llevar a cabo una de las premisas mas antiguas que existen en el mercado: 2Latendencia es tu amiga"
El patrón de velas M2 consiste en una vela que cierra mayor que los cuerpos de las dos velas anteriores (para compra) o una vela que cierra por debajo de los cuerpos de las dos velas anteriores (para venta).
Cada que el precio genera un nuevo M2 sobre una tendencia establecida, nos indica que el precio ha de continuar con esa tendencia, a menos que exista algun tipo de soporte o resistencia importante justo ante el cierre de dicho M2
Heavy Gustavo Buy and Sell Execution SignalsLiquidity Runs:
Detects when price sweeps above the highest high or below the lowest low of the lookback period.
Fair Value Gap:
Identifies gaps where price can retrace, indicating a potential reversal zone.
Trend Confirmation:
Uses a moving average (MA) to confirm the trend direction and filter trades (optional).
Visualization:
Small green circles are plotted for buy signals.
Small red circles are plotted for sell signals.
Correlation Confluence Trend IndicatorCorrelation Confluence Trend Indicator
Overview
The Correlation Confluence Trend Indicator combines exponential moving averages (EMAs) and statistical correlation measures to identify high-confidence trend alignments between an asset and a benchmark. By filtering signals through correlation strength, this indicator highlights opportunities when the asset and benchmark move together. In other words, it defines a trend and then uses correlation strength and the trend of a second asset to identify high-confidence trends.
Key Features
Dual EMA Trend Analysis :
Calculates fast and slow EMAs for both the asset and the selected benchmark (e.g., SPY) to identify bullish and bearish trends.
Correlation Strength Filtering :
Evaluates correlation between the asset and benchmark, identifying stronger-than-average relationships based on the mean and standard deviation.
Background Color Coding :
- Green : Strong correlation, both asset and benchmark bullish.
- Aqua : Weak correlation, both asset and benchmark bullish.
- Red : Strong correlation, both asset and benchmark bearish.
- Fuchsia : Weak correlation, both asset and benchmark bearish.
- Orange : Strong correlation, benchmark bullish, asset bearish.
- Yellow : Weak correlation, benchmark bullish, asset bearish.
- Purple : Strong correlation, benchmark bearish, asset bullish.
- Lime : Weak correlation, benchmark bearish, asset bullish.
Visual Trend Indicators :
Plots fast and slow EMAs for the asset, dynamically colored based on aggregate trend signals. The color of this corresponds to the main trend signal.
Inputs
Benchmark Symbol : Symbol of the benchmark asset to compare against.
Fast EMA Length : Period for the fast EMA calculation.
Slow EMA Length : Period for the slow EMA calculation.
Correlation Length : Number of bars for correlation calculation.
Correlation Mean Length : Number of bars for mean and standard deviation calculation.
Std Dev Multiplier : Multiplier for standard deviation to define correlation strength. When the correlation is Std Dev Multiplier standard deviations above the mean, it counts as a strong correlation.
Set Background Color : Toggle background coloring on or off.
Notes
This indicator is primarily designed for trend-following strategies. By combining trend analysis and correlation filtering, it ensures that signals occur during aligned market conditions, reducing false signals.
Before incorporating this indicator into your trading strategy:
Always backtest on historical data to evaluate its performance before committing capital.
Use proper risk management to control position sizes and mitigate potential losses.
Remember that no indicator guarantees success. I'm quite proud of this one, but it's not the holy grail.
Dukes Cross (RSI-MA Cross + Bollinger Bands Strategy)Key Commitments:
Track Enhancements:
Every modification will be incremental and documented to ensure measurable improvements.
Optimize Profitability:
The current profitability is 60%; the goal is to improve it incrementally.
Maintain Core Logic:
This code’s foundation—based on RSI-MA crosses, Bollinger Bands, SMA trends, and volume confirmation—will remain central to all strategies.
Adapting and Testing:
All changes will be tested in a backtesting environment using Strategy Tester and real-time charts for validation.
Preserve Readability:
Code will remain clean, structured, and modular to facilitate further iterations
Ryzen.eth crossover 13EMA and 50EMA colored13 EMA & 50 EMA Crossover by Ryzen.eth
Is not a buy and sell signal but helps to track momentum and keep you in winning trades longer.
Click add to favorites(above) then check your favorites tab in the indicators menu on your chart.
Enjoy
FVG - NibzDescription: Fair Value Gap (FVG) Indicator - Nibz
This Pine Script identifies and visualizes Fair Value Gaps (FVGs) on your TradingView chart. FVGs are price inefficiencies left behind when the market moves too quickly, skipping price levels that might not be tested. These gaps often act as magnets, attracting price for potential reversals or continuations.
The script works by detecting upward (bullish) and downward (bearish) price imbalances based on specific candlestick criteria and then marks these zones on your chart using customizable shaded boxes. This tool is essential for traders looking to identify key areas of market inefficiency that could signify support/resistance levels, potential reversal zones, or areas to monitor for market rebalancing.
How It Works
1. Bullish FVG Detection
The script identifies an upward imbalance when:
The low of the candlestick two bars back is less than or equal to the open of the previous bar.
The high of the current candlestick is greater than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a green box is drawn from the low of the second candlestick back to the high of the current candlestick.
2. Bearish FVG Detection
The script identifies a downward imbalance when:
The high of the candlestick two bars back is greater than or equal to the open of the previous bar.
The low of the current candlestick is less than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a red box is drawn from the low of the current candlestick to the high of the second candlestick back.
Customization Options
This script is highly customizable, allowing you to tailor the appearance of the FVG boxes to suit your trading style and chart aesthetics:
Bullish FVG:
Fill color and transparency.
Border color and transparency.
Bearish FVG:
Fill color and transparency.
Border color and transparency.
The settings are user-friendly, with intuitive sliders for transparency and color pickers for customization.
How to Use the Indicator
Adding the Script:
Add the indicator to your chart, and it will automatically mark bullish (green) and bearish (red) FVGs.
Interpreting FVGs:
Bullish FVGs (green zones): These often act as support or areas of potential price rebalancing on retracement.
Bearish FVGs (red zones): These often act as resistance or areas of interest for short entries.
Trade Ideas:
Use FVG zones to confirm other trade signals or strategies.
Watch for price interaction with these zones to time entries and exits.
Key Features
Automated detection of Fair Value Gaps.
Customizable visual representation to match your chart preferences.
Enhances trading precision by identifying price inefficiencies.
Suitable for scalping, day trading, or swing trading strategies.
This script provides a powerful tool to highlight important price levels and inefficiencies in the market, enabling traders to make informed decisions. Whether you're using it as a standalone indicator or combining it with other tools, the 'FVG - Nibz' indicator is a valuable addition to any trader's toolkit!
BeautifulStochRSIBeautifulStochRSI: A Unique and Clear Approach to Stochastic RSI
Introducing the BeautifulStochRSI, an colorfull approach to the popular Stochastic RSI indicator. This script goes beyond the standard representation by offering visually distinct and intuitive signals to enhance your trading experience.
The BeautifulStochRSI is ideal for traders who value both precision and simplicity. It combines functional enhancements with a polished design, ensuring that crucial market insights are presented clearly and effectively. Created by rektbyhielke, this script leverages the capabilities of Pine Script™ v5 for optimal performance.
By sharing this script, the aim is not only to provide a practical trading solution but also to inspire others to create indicators that are both beautiful and efficient.
the script includes fully customizable parameters for RSI length, stochastic length, and smoothing factors, allowing traders to tailor the indicator to their specific strategies. Overbought and oversold zones are marked with dots at levels 80 and 20, complemented by a subtle teal background fill to emphasize these areas.
ICT Macro Sessions by @zeusbottradingICT Macro Sessions Indicator
The ICT Macro Sessions Indicator is a powerful tool designed for traders who follow the ICT (Inner Circle Trader) methodology and want to optimize their trading during specific high-probability time intervals. This indicator highlights all the key macro sessions throughout the trading day in the GMT+8 (Hong Kong) time zone.
What Does the Indicator Do?
This indicator visually marks ICT Macro Sessions on your trading chart using background colors and optional labels. Each session corresponds to specific time intervals when institutional activity is most likely to drive price action. By focusing on these periods, traders can align their strategies with market volatility and liquidity, increasing their chances of success.
Highlighted Sessions
The indicator covers all major ICT Macro Sessions, each with a unique color for easy identification:
London Macro 1 (15:33–16:00 GMT+8):
- Marks the early London session, often characterized by strong directional moves.
London Macro 2 (17:03–17:30 GMT+8):
- Captures the mid-London session, where price frequently reacts to liquidity levels.
New York AM Macro 1 (22:50–23:10 GMT+8):
- Highlights the start of the New York session, a prime time for price reversals or continuations.
New York AM Macro 2 (23:50–00:10 GMT+8):
- Focuses on late-morning New York activity, often aligning with key news releases.
New York Lunch Macro (00:50–01:10 GMT+8):
- Covers the lunch period in New York, where price may consolidate or set up for afternoon moves.
New York PM Macro 1 (02:10–02:40 GMT+8):
- Tracks post-lunch activity in New York, often featuring renewed volatility.
New York PM Macro 2 (04:15–04:45 GMT+8):
- Captures late-session moves as institutional traders finalize their positions.
Features of the Indicator
Fixed Time: The indicator is pre-configured for GMT+8 but it will adapt automatically to your timezone. No need to change anything in the code.
Background Highlighting: Each session is visually marked with a unique background color for quick recognition.
Optional Labels: Traders can enable or disable labels for each session, providing flexibility in how information is displayed.
Session Toggles: You can choose which sessions to display based on your trading preferences and strategy.
Intraday Timeframes: The indicator is optimized for intraday charts with timeframes of 45 minutes or less. You can change it to anything you like.
Why Use This Indicator?
The ICT Macro Sessions Indicator helps traders focus on the most critical times of the trading day when institutional activity is at its peak. These periods often coincide with significant price movements, making them ideal for scalping, day trading, or even swing trading setups. By visually highlighting these sessions, the indicator eliminates guesswork and allows traders to plan their trades with precision.
crypto signals 80% win smoothmoves10180 percent win rate this works on many different pairs for crypto and forex possible
heavy gustavo Order Block B/SThis indicator helps traders visually identify order blocks and key levels, which are critical areas where price action is expected to react strongly. By integrating impulse detection, higher timeframe confluence, and alerts/signals, it improves the accuracy of trade setups and increases confidence in entries and exits.