Green/Red Candle Probability (EMA 7, SMA 20, SMA 200)### Strategy Explanation for Candle Probability Indicator
This script is designed to calculate the **probability of bullish (green) and bearish (red) candles** over a given analysis period. It leverages three key moving averages to identify market trends and display these probabilities directly on the chart, making it easier for traders to make informed decisions.
#### **How the Script Works:**
1. **Trend Detection Using Moving Averages:**
- The script calculates three moving averages:
- **EMA (Exponential Moving Average) over 7 periods**
- **SMA (Simple Moving Average) over 20 periods**
- **SMA over 200 periods**
The trend is classified as:
- **Bullish:** When EMA 7 > SMA 20 > SMA 200
- **Bearish:** When EMA 7 < SMA 20 < SMA 200
2. **Candle Analysis:**
The script analyzes the last "n" candles (based on the user-defined lookback period) to count the number of bullish and bearish candles:
- **Bullish (green) candle:** The closing price is higher than the opening price.
- **Bearish (red) candle:** The closing price is lower than the opening price.
3. **Probability Calculation:**
The probabilities are calculated as a percentage of bullish and bearish candles in the lookback period:
- **Green Probability (%) = (Number of Green Candles / Lookback Period) × 100**
- **Red Probability (%) = (Number of Red Candles / Lookback Period) × 100**
4. **Displaying Results in a Table:**
The results are displayed in a table on the chart, including:
- **Green Probability (%)**
- **Red Probability (%)**
- **Current Trend (Bullish, Bearish, or Neutral)**
#### **Strategy Overview:**
This indicator provides traders with a quick overview of the candle probabilities and the current market trend based on moving averages. It helps traders:
- Gauge the likelihood of bullish or bearish candles appearing in the near future.
- Identify the prevailing trend (bullish, bearish, or neutral).
- Adjust their trading strategies based on statistical probabilities rather than assumptions.
### **Important Notes:**
- The lookback period can be customized between **10 and 200 periods**.
- The indicator does not provide buy/sell signals but gives insights into market behavior.
By understanding the candle probabilities and the trend, traders can better assess market conditions and improve their decision-making process.
المؤشرات والاستراتيجيات
ICT Digital open Daily DividersDescription for "ICT Digital Open Daily Dividers" TradingView Indicator
Overview
The "ICT Digital Open Daily Dividers" is a versatile and comprehensive TradingView Pine Script indicator designed for traders who utilize Institutional Order Flow methodologies, particularly in ICT (Inner Circle Trader) trading. This indicator provides a structured visual framework to assist traders in identifying key daily market sessions, critical opening prices, and distinguishing different trading days, especially focusing on the Sunday open, which is a crucial element in the ICT trading strategy.
Core Functionalities
Daily Vertical Lines: The script plots vertical lines at the start of each trading day, which helps to demarcate daily trading sessions. These lines are customizable, allowing traders to choose their color, style (solid, dashed, or dotted), and width. This feature helps in visually segmenting each trading day, making it easier to analyze daily price action patterns.
Sunday Open Differentiation: Unlike many other daily divider indicators, this script uniquely provides the option to highlight the Sunday open at 6 PM EST with distinct lines. This feature is especially valuable for ICT traders who consider the Sunday open as a critical reference point for weekly analysis. The color, style, and width of the Sunday open lines can be set separately, providing a clear visual distinction from regular weekday separators.
12 AM Open Toggle: For markets that are influenced by midnight opens, the indicator includes an option to shift the daily open line to 12 AM instead of the default 6 PM. This flexibility allows traders to adapt the indicator to different market dynamics or trading strategies.
Timezone Customization: The indicator allows traders to set the timezone for the open lines, ensuring that the vertical lines align accurately with the trader’s specific market hours, whether they follow New York time or any other timezone.
Session Time Filters: The script can hide or show specific trading session markers, such as the New York session open and close, which are pivotal for ICT traders. These markers help in focusing on the most active and liquid trading times.
Customizable Style Settings: The script includes comprehensive styling options for the plotted lines and session markers, allowing traders to personalize their charts to suit their visual preferences and improve clarity.
Day of the Week Labels: The indicator can plot labels for each day of the week, providing a quick reference to the day’s price action. This feature is particularly useful in reviewing weekly trading patterns and performance.
Use in ICT Trading
In ICT trading, the concept of the "open" is fundamental. The "ICT Digital Open Daily Dividers" indicator serves multiple purposes:
Market Structure Identification: By clearly marking daily opens, traders can easily identify market structure changes such as breakouts, retracements, or consolidations around these key levels.
Reference Points: The Sunday open is often a key level in ICT analysis, serving as a benchmark for assessing market direction for the upcoming week. This indicator’s ability to plot Sunday opens separately makes it uniquely suited for ICT strategies.
Time-based Analysis: ICT methodology often involves analyzing the market at specific times of the day. This indicator supports such analysis by marking significant session opens and closes.
Uniqueness and Advantages
The "ICT Digital Open Daily Dividers" stands out from other similar indicators due to its specialized features:
Sunday Open Highlighting: Few indicators offer the capability to specifically mark the Sunday open with distinct styling options.
Flexibility in Time Adjustments: With options to adjust the open time to either 6 PM or 12 AM, this indicator caters to a broader range of trading strategies and market conditions.
Enhanced Visualization: The wide range of customization options ensures that traders can tailor the indicator to their specific needs, enhancing the usability and visual clarity of their charts.
Compliance with TradingView's Pine Script Community Guidelines
The description adheres to TradingView's guidelines by being comprehensive, clear, and informative. It highlights the utility of the script, its unique features, and its application in trading strategies without making exaggerated claims about performance or profitability. The detailed customization options and unique functionalities are emphasized to differentiate this script from other standard daily divider indicators.
Stop Loss & TargetHow to Use the SL/TP Indicator
The SL/TP indicator is a versatile tool designed for traders to easily visualize entry, stop-loss (SL), and take-profit (TP) levels on their charts. This guide will walk you through the steps to configure and use the indicator effectively.
Features:
Configure Long Trades and Short Trades independently.
Define Entry Price, Stop Loss, and up to three Take Profit levels for each trade.
Customize line colors for better visualization.
Works for both risk-reward and target-based trading.
Adding the Indicator:
Open the TradingView platform.
Search for the indicator name: SL/TP.
Click the Add to Chart button to apply it.
Configuration:
1. Long Trade Settings
Enable Long Trade: Check this option to activate long trade lines on the chart.
Long Entry Price: Input the price at which you plan to enter the long trade.
Long Stop Loss: Input your stop-loss level for the long trade.
Line Colors: You can customize the colors for the Entry, SL, and TP lines in the Long Trade settings group.
Take Profit Levels (Calculated Automatically):
TP1: 1:1 Risk-Reward ratio (difference between Entry and SL added to Entry).
TP2: 1:2 Risk-Reward ratio.
TP3: 1:3 Risk-Reward ratio.
2. Short Trade Settings
Enable Short Trade: Check this option to activate short trade lines on the chart.
Short Entry Price: Input the price at which you plan to enter the short trade.
Short Stop Loss: Input your stop-loss level for the short trade.
Line Colors: You can customize the colors for the Entry, SL, and TP lines in the Short Trade settings group.
Take Profit Levels (Calculated Automatically):
TP1: 1:1 Risk-Reward ratio (difference between Entry and SL subtracted from Entry).
TP2: 1:2 Risk-Reward ratio.
TP3: 1:3 Risk-Reward ratio.
Visualizing on the Chart:
Once you configure the settings and enable the trade, the indicator will draw horizontal lines on the chart for:
Entry Price
Stop Loss
Take Profit Levels (TP1, TP2, TP3)
Each line will extend to three bars ahead of the current bar index.
Customization:
Adjust colors for better visibility depending on your chart theme.
The width and style of lines can also be modified in the source code if needed.
Example Usage:
Long Trade Example:
Enable Long Trade: Check the box.
Set Entry Price: 100.
Set Stop Loss: 95.
The indicator will draw the following lines:
Entry Line: At 100 (customizable color).
Stop Loss Line: At 95 (customizable color).
TP1 Line: At 105 (1:1 Risk-Reward).
TP2 Line: At 110 (1:2 Risk-Reward).
TP3 Line: At 115 (1:3 Risk-Reward).
Short Trade Example:
Enable Short Trade: Check the box.
Set Entry Price: 200.
Set Stop Loss: 205.
The indicator will draw the following lines:
Entry Line: At 200 (customizable color).
Stop Loss Line: At 205 (customizable color).
TP1 Line: At 195 (1:1 Risk-Reward).
TP2 Line: At 190 (1:2 Risk-Reward).
TP3 Line: At 185 (1:3 Risk-Reward).
Notes:
Ensure that you input valid and realistic price levels for Entry and Stop Loss.
The indicator will only display lines if both the Entry Price and Stop Loss are non-zero.
Use this indicator for planning trades visually but always confirm levels with your trading strategy.
Disclaimer: This indicator is a tool to assist in trading. Use it with proper risk management and your own due diligence.
Simple Reversal Point - v2感谢原作者 @Dreadblitz , 我在其脚本之上进行了优化
原脚本链接:
1. 不使用当前k线以避免重绘或者警告频繁触发且与绘图不一致的情况
2. 增加连续三根k线的触发反转条件
3. 使信号交替进行, 不会出现连续的信号
Thanks to the original author @Dreadblitz I optimized it on top of his script
Original script link:
1. Do not use the current K-line to avoid redrawing or warnings that are triggered frequently and are inconsistent with the drawing.
2. Add triggering reversal conditions for three consecutive K lines
3. Make the signals alternate and there will be no continuous signals.
Monthly Vertical Lines//@version=5
indicator("Monthly Vertical Lines", overlay=true)
month_change = (month != month ) // Detects a new month
if month_change
line.new(x1=bar_index, y1=na, x2=bar_index, y2=na, extend=extend.both, color=color.gray, style=line.style_dotted, width=1)
Monthly Vertical Lines//@version=5
indicator("Monthly Vertical Lines", overlay=true)
month_change = (month != month ) // Detects a new month
if month_change
line.new(x1=bar_index, y1=na, x2=bar_index, y2=na, extend=extend.both, color=color.gray, style=line.style_dotted, width=1)
CandelaCharts - Swing Failure Pattern (SFP)# SWING FAILURE PATTERN
📝 Overview
The Swing Failure Pattern (SFP) indicator is designed to identify and highlight Swing Failure Patterns on a user’s chart. This pattern typically emerges when significant market participants generate liquidity by driving price action to key levels. An SFP occurs when the price temporarily breaks above a resistance level or below a support level, only to quickly reverse and return within the previous range. These movements are often associated with stop-loss hunting or liquidity grabs, providing traders with potential opportunities to anticipate reversals or key market turning points.
A Bullish SFP occurs when the price dips below a key support level, triggering stop-loss orders, but then swiftly reverses upward, signaling a potential upward trend or reversal.
A Bearish SFP happens when the price spikes above a key resistance level, triggering stop-losses of short positions, but then quickly reverses downward, indicating a potential bearish trend or reversal.
The indicator is a powerful tool for traders, helping to identify liquidity grabs and potential reversal points in real-time. Marking bullish and bearish Swing Failure Patterns on the chart, it provides clear visual cues for spotting market traps set by major players, enabling more informed trading decisions and improved risk management.
📦 Features
Bullish/Bearish SFPs
Styling
⚙️ Settings
Length: Determines the detection length of each SFP
Bullish SFP: Displays the bullish SFPs
Bearish SFP: Displays the bearish SFPs
Label: Controls the size of the label
⚡️ Showcase
Bullish
Bearish
Both
📒 Usage
The best approach is to combine a few complementary indicators to gain a clearer market perspective. This doesn’t mean relying on the Golden Cross, RSI divergences, SFPs, and funding rates simultaneously, but rather focusing on one or two that align well in a given scenario.
The example above demonstrates the confluence of a Bearish Swing Failure Pattern (SFP) with an RSI divergence. This combination strengthens the signal, as the Bearish SFP indicates a potential reversal after a liquidity grab, while the RSI divergence confirms weakening momentum at the key level. Together, these indicators provide a more robust setup for identifying potential market reversals with greater confidence.
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish signal is triggered when a Bearish SFP is formed.
Bullish Signal
A bullish signal is triggered when a Bullish SFP is formed.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
SMA(20,50,100,200) - cryptoMittalSMA(20,50,100,200) - cryptoMittal. Aims to provide simple moving averages for various candle spans
RSI + CHOP + Stochastic Strategy ( LONG/SHORT ) TP/SLMożna edytować poziomy TP i SL dla pozycji LONG i SHORT
SCALPING - interwał 5min
Non-Lagging Indicator: EMA + TSI BY UTTAM PARAMANIK//@version=5
indicator("Non-Lagging Indicator: EMA + TSI", overlay=true)
// Parameters for the EMA
fastLength = input.int(9, title="Fast EMA Period", minval=1)
slowLength = input.int(21, title="Slow EMA Period", minval=1)
// Parameters for the TSI
tsiFastLength = input.int(13, title="TSI Fast Length", minval=1)
tsiSlowLength = input.int(25, title="TSI Slow Length", minval=1)
tsiSignalLength = input.int(7, title="TSI Signal Length", minval=1)
// EMA Calculation
fastEMA = ta.ema(close, fastLength)
slowEMA = ta.ema(close, slowLength)
// TSI Calculation
delta = close - close
doubleSmoothDelta = ta.ema(ta.ema(delta, tsiFastLength), tsiSlowLength)
doubleSmoothAbsDelta = ta.ema(ta.ema(math.abs(delta), tsiFastLength), tsiSlowLength)
tsi = 100 * doubleSmoothDelta / doubleSmoothAbsDelta
tsiSignal = ta.ema(tsi, tsiSignalLength)
// Plot EMAs
plot(fastEMA, color=color.blue, title="Fast EMA")
plot(slowEMA, color=color.orange, title="Slow EMA")
// Plot TSI and Signal
plot(tsi, color=color.green, title="True Strength Indicator")
plot(tsiSignal, color=color.red, title="TSI Signal")
// Buy and Sell Conditions
buyCondition = ta.crossover(fastEMA, slowEMA) and ta.crossover(tsi, tsiSignal)
sellCondition = ta.crossunder(fastEMA, slowEMA) and ta.crossunder(tsi, tsiSignal)
// Plot Buy and Sell Signals
plotshape(buyCondition, color=color.green, style=shape.labelup, location=location.belowbar, text="BUY")
plotshape(sellCondition, color=color.red, style=shape.labeldown, location=location.abovebar, text="SELL")
ADX (levels)This Pine Script indicator calculates and displays the Average Directional Index (ADX) along with the DI+ and DI- lines to help identify the strength and direction of a trend. The script is designed for Pine Script v6 and includes customizable settings for a more tailored analysis.
Features:
ADX Calculation:
The ADX measures the strength of a trend without indicating its direction.
It uses a smoothing method for more reliable trend strength detection.
DI+ and DI- Lines (Optional):
The DI+ (Directional Index Plus) and DI- (Directional Index Minus) help determine the direction of the trend:
DI+ indicates upward movement.
DI- indicates downward movement.
These lines are disabled by default but can be enabled via input settings.
Customizable Threshold:
A horizontal line (hline) is plotted at a user-defined threshold level (default: 20) to highlight significant ADX values that indicate a strong trend.
Slope Analysis:
The slope of the ADX is analyzed to classify the trend into:
Strong Trend: Slope is higher than a defined "medium" threshold.
Moderate Trend: Slope falls between "weak" and "medium" thresholds.
Weak Trend: Slope is positive but below the "weak" threshold.
A background color changes dynamically to reflect the strength of the trend:
Green (light or dark) indicates trend strength levels.
Custom Colors:
ADX color is customizable (default: pink #e91e63).
Background colors for trend strength can also be adjusted.
Independent Plot Window:
The indicator is displayed in a separate window below the price chart, making it easier to analyze trend strength without cluttering the main price chart.
Parameters:
ADX Period: Defines the lookback period for calculating the ADX (default: 14).
Threshold (hline): A horizontal line value to differentiate strong trends (default: 20).
Slope Thresholds: Adjustable thresholds for weak, moderate, and strong trend slopes.
Enable DI+ and DI-: Boolean options to display or hide the DI+ and DI- lines.
Colors: Customizable colors for ADX, background gradients, and other elements.
How to Use:
Identify Trend Strength:
Use the ADX value to determine the strength of a trend:
Below 20: Weak trend.
Above 20: Strong trend.
Analyze Trend Direction:
Enable DI+ and DI- to check whether the trend is upward (DI+ > DI-) or downward (DI- > DI+).
Dynamic Slope Detection:
Use the background color as a quick visual cue to assess trend strength changes.
This indicator is ideal for traders who want to measure trend strength and direction dynamically while maintaining a clean and organized chart layout.
SOPR | RocheurIntroducing Rocheur’s SOPR Indicator
The Spent Output Profit Ratio (SOPR) indicator by Rocheur is a powerful tool designed for analyzing Bitcoin market dynamics using on-chain data. By leveraging SOPR data and smoothing it through short- and long-term moving averages, this indicator provides traders with valuable insights into market behavior, helping them identify trends, reversals, and potential trading opportunities.
Understanding SOPR and Its Role in Trading
SOPR is a metric derived from on-chain data that measures the profit or loss of spent outputs on the Bitcoin network. It reflects the behavior of market participants based on the price at which Bitcoin was last moved. When SOPR is above 1, it indicates that outputs are being spent at a profit. Conversely, values below 1 suggest that outputs are being spent at a loss.
Rocheur’s SOPR indicator enhances this raw data by incorporating short-term and long-term smoothed trends, allowing traders to observe shifts in market sentiment and momentum.
How It Works
Data Source: The indicator uses SOPR data from Glassnode’s BTC_SOPR metric, updated daily.
Short-Term Trend (STH SOPR):
A Double Exponential Moving Average (DEMA) is applied over a customizable short-term length (default: 150 days).
This reflects recent market participant behavior.
Long-Term Trend (1-Year SOPR):
A Weighted Moving Average (WMA) is applied over a customizable long-term length (default: 365 days).
This captures broader market trends and investor behavior.
Trend Comparison:
Bullish Market: When STH SOPR exceeds the 1-year SOPR, the market is considered bullish.
Bearish Market: When STH SOPR falls below the 1-year SOPR, the market is considered bearish.
Neutral Market: When the two values are equal, the market is neutral.
Visual Representation
The indicator provides a color-coded visual representation for easy trend identification:
Green Bars: Indicate a bullish market where STH SOPR is above the 1-year SOPR.
Red Bars: Represent a bearish market where STH SOPR is below the 1-year SOPR.
Gray Bars: Show a neutral market condition where STH SOPR equals the 1-year SOPR.
The dynamic bar coloring allows traders to quickly assess the prevailing market sentiment and adjust their strategies accordingly.
Customization & Parameters
The SOPR Indicator offers several customizable settings to adapt to different trading styles and preferences:
Short-Term Length: Default set to 150 days, defines the smoothing period for the STH SOPR .
Long-Term Length: Default set to 365 days, defines the smoothing period for the 1-year SOPR.
Color Modes: Choose from seven distinct color schemes to personalize the indicator’s appearance.
Final Note
Rocheur’s SOPR Indicator is a unique tool that combines on-chain data with technical analysis to provide actionable insights for Bitcoin traders. Its ability to blend short- and long-term trends with a visually intuitive interface makes it an invaluable resource for navigating market dynamics. As with all indicators, backtesting and integration into a comprehensive strategy are essential for optimizing performance.
Dillon Kane Rose IndicatorThis script was written to help students of The Gold Peacock Proprietary Traders Group execute after identifying and reacting to key liquidity levels
SMC breakout With EMAThis indicator is based on the breakout of the BOS and CHOCH levels at SMC method.
You can change the amount of candles of BOS or CHOCH.
This indicator also includes EMA, that you can use it for confirmation of buy or sell transaction.
Also you can use super trend features on this indicator for following your profit.
This indicator is based on the breakdown of the bass and choke points in it.
And this feature allows you to use this indicator in Forex trading as well.
MVRV PanduFixed the original MVRV indicator with Da_Profs decreasing log function and personal fine tuning of the function and slope. There is now no false positive on 8th january and less signals in general
NUPL PanduFixed the original NUPL indicator with Da_Profs decreasing log function and personal fine tuning of the function and slope. There is now no false positive on 8th january and less signals in general
nifty supertrend tritonTrend based Strategy based on EMA , ATR and supertrend . Currently being used and testing on Nifty and Banknifty with adjusted parameters .
Do backtest before taking any trade
Vitaliby MA and RSI StrategyЭта стратегия использует комбинацию скользящих средних (MA) и индекса относительной силы (RSI) для определения точек входа и выхода из позиций на 1 ч. таймфрейме. Стратегия направлена на использование трендовых сигналов от скользящих средних и подтверждение этих сигналов с помощью RSI.
BS | Buy&Sell Signals With EMAKey Features:
EMA Intersections: Generates clear buy and sell signals based on predefined EMA crossings.
5 EMA Lines: Visualize market trends with five distinct EMA lines plotted on the chart.
Support and Resistance Levels: Easily identify crucial support and resistance levels with our integrated marker.
Comprehensive Indicator Panel: At the bottom of the chart, track Stochastic, RSI, Supertrend, and SMA across multiple timeframes (1m, 5m, 15m, 1H, 4H, Daily, Weekly).
Fully Customizable: Almost every indicator within the tool is adjustable to suit your preferences and trading style.
Alarm Feature: Set up alarms to stay informed of important market movements.
Unlock the full potential of your trading strategy with BS | Buy&Sell Signals With EMA. Customize, analyze, and trade with confidence.
created by @bahadirsezer
BS | Buy&Sell Signals With EMAKey Features:
EMA Intersections: Generates clear buy and sell signals based on predefined EMA crossings.
5 EMA Lines: Visualize market trends with five distinct EMA lines plotted on the chart.
Support and Resistance Levels: Easily identify crucial support and resistance levels with our integrated marker.
Comprehensive Indicator Panel: At the bottom of the chart, track Stochastic, RSI, Supertrend, and SMA across multiple timeframes (1m, 5m, 15m, 1H, 4H, Daily, Weekly).
Fully Customizable: Almost every indicator within the tool is adjustable to suit your preferences and trading style.
Alarm Feature: Set up alarms to stay informed of important market movements.
Unlock the full potential of your trading strategy with BS | Buy&Sell Signals With EMA. Customize, analyze, and trade with confidence.
created by @bahadirsezer