12 indicators Multi Timeframe : MACD,RSI,PIVOT,EMA-CROSS,TD9,EMAThis is the open source of the previous indicator "10 indicators in 1 : MACD RSI PIVOT EMA-CROSS and 7 EMA/SMA"
+ Upgraded to Multi-Timeframe indicator.
This upgrade empowers you to find optimal entry points within any trend on the timeframe of your choice. Let's recapitulate and see how it works:
🛠 Utility of the Pullback Signal Feature
Flexible Timeframe Selection:
You can now choose the timeframe that best fits your trading style—whether it’s a 5-minute chart for quick entries or a daily chart for longer-term setups.
Optimized Trend Entries:
The script identifies the trend direction (Histogram & Table) and marks pullback entry points within that trend with clear green and red arrows on the chart.
Green Arrows in an uptrend indicate potential entry points for long positions.
Red Arrows in a downtrend signal potential entry points for short positions.
Integrated Indicators:
With indicators like MACD, RSI, Pivot Points, 13/48 EMA Crosses, and , the script provides a comprehensive market overview. These indicators are displayed in a Histogram for easy trend and momentum analysis .
📈 How to Use the Pullback Signal with Custom Timeframes
Select Your Preferred Timeframe:
Choose the timeframe that aligns with your trading strategy, whether for scalping, day trading, or swing trading.
Identify the Trend and Enter on Pullbacks:
Check the histogram and table to determine the overall trend.
Enter on green pullback signals in an uptrend for long trades, or on red pullback signals in a downtrend for short trades.
Confirm Signals with Indicators:
Review the Histogram/Table panel (MACD, RSI, EMA Crossovers, etc.) to confirm the strength of the pullback signal. This gives you added confidence before taking a position.
This update makes the indicator adaptable for different trading styles and market conditions. By allowing you to choose a specific timeframe. This feature helps reduce the risk of entering at extreme highs or lows, and instead focuses on pullbacks in a chosen trend.
Indicadores e estratégias
Power Core MAThe Power Core MA indicator is a powerful tool designed to identify the most significant moving average (MA) in a given price chart. This indicator analyzes a wide range of moving averages, from 50 to 400 periods, to determine which one has the strongest influence on the current price action.
The blue line plotted on the chart represents the "Current Core MA," which is the moving average that is most closely aligned with other nearby moving averages. This line indicates the current trend and potential support or resistance levels.
The table displayed on the chart provides two important pieces of information. The "Current Core MA" value shows the length of the moving average that is currently most influential. The "Historical Core MA" value represents the average length of the most influential moving averages over time.
This indicator is particularly useful for traders and analysts who want to identify the most relevant moving average for their analysis. By focusing on the moving average that has the strongest historical significance, users can make more informed decisions about trend direction, support and resistance levels, and potential entry or exit points.
The Power Core MA is an excellent tool for those interested in finding the strongest moving average in the price history. It simplifies the process of analyzing multiple moving averages by automatically identifying the most influential one, saving time and providing valuable insights into market dynamics.
By combining current and historical data, this indicator offers a comprehensive view of the market's behavior, helping traders to adapt their strategies to the most relevant timeframes and trend strengths.
Strong 3rd Wave Signal with Filter By DemirkanUsage Explanation:
The Strong 3rd Wave Signal with Filter indicator is designed to help traders identify high-quality entry points for the beginning of strong uptrends, particularly in the context of Elliott Wave Theory. This indicator integrates multiple technical analysis tools to ensure that only the most reliable signals are generated, avoiding noise and weak trends.
This indicator is built on the following key components:
HMA (Hull Moving Average): The Hull Moving Average is used to capture the trend direction, filtering out market noise. A rising HMA indicates an uptrend, while a falling HMA signals a downtrend.
RSI (Relative Strength Index): RSI is used to confirm that the market is not in an overbought condition when a buy signal is generated. The indicator ensures that the RSI stays within a neutral range, indicating a healthy market condition for potential trend continuation.
ADX (Average Directional Index): ADX is employed to confirm whether the market is in a strong trend. The indicator ensures that only strong trends with a sufficient level of momentum are considered, filtering out weak or sideways markets.
Volume Filter: The indicator uses volume analysis to confirm that the price movement is supported by sufficient market participation. Buy signals are only triggered when the volume exceeds the average volume by a specified multiplier.
EMA 200 and SMA 50: The 200-period Exponential Moving Average (EMA) is used to identify the long-term market trend, while the 50-period Simple Moving Average (SMA) helps in filtering out signals that occur outside of a favorable trend zone. The indicator only generates buy signals when the price is below the EMA 200 but above the SMA 50, ensuring that the market is in a mid-term bullish trend.
How to Use:
Buy Signals: The indicator will plot a Buy Signal when the following conditions are met:
Price is above the 50-period SMA and below the 200-period EMA, indicating a potential uptrend within a mid-term bullish trend.
The Hull Moving Average is rising, signaling an uptrend.
RSI is in a neutral zone (not overbought).
Volume exceeds the average volume, confirming the strength of the move.
Price is making higher highs compared to the last 10 bars, showing increasing buying momentum.
Trend Confirmation: The indicator is designed to avoid generating false signals during weak or sideways trends. By using ADX and volume filters, it ensures that signals are only triggered during strong, trending markets, reducing the likelihood of false breakouts or reversals.
Risk Management: While this indicator helps you identify the most promising trends, it's always recommended to use additional risk management strategies like stop-loss and take-profit levels to protect your investments.
Target Audience:
This indicator is suitable for traders who prefer to trade with the trend and are looking for high-quality, filtered signals that align with the Elliott Wave Theory. It is especially useful for those who focus on medium- to long-term trades and wish to avoid choppy, low-volume market conditions.
Key Benefits:
Helps identify strong uptrends with high probability.
Avoids weak and sideways markets.
Integrates multiple filters like HMA, RSI, ADX, Volume, and EMA/SMA to ensure the quality of the signals.
Focuses on confirming strong trends based on Elliott Wave principles, providing a structured approach for trend-following strategies.
By using this indicator, traders can focus on high-quality setups and improve their decision-making process by filtering out noise and low-probability trades.
Multi-Timeframe with TrendLine Cross and Fibonacci LevelsCombined Fib with trendline cross.
FIB Levels automatically calculated based on bar lookback.
From AleSaira:
This indicator "TrendLine Cross", is designed to plot trend lines so you can spot potential trend reversal points on the charts. The main function is to draw several lines on the chart and identify the crossings between these lines, which can be significant indicators for trading. The lines are based on different periods which can be changed in the settings tabs.
Let's see the characteristics of the trend lines:
_Low Line Color(Green Line): This line connects the lowest point of low prices in the "low_time" period with the lowest point of low prices in the "high_time" period. Indicates a possible short-term support level on the chart.
_Liquidity Up Line Color (Golden Line): This line connects the lowest point of low prices in the "low_time" period with the highest point of low prices in the same period. It represents a liquidity zone and an important resistance in the chart.
_Lower Line Color (Blue Line): This horizontal line connects the lowest point of low prices in the "LowerLine_period" with the lowest point of low prices in the "high_time" period. Indicates a possible long-term support level.
_Upper Line Colorr: This line represents a connection between the highest points of the "high_time" period and the lowest point of the "LowerLine_period". Indicates a possible long-term resistance level.
_Up Line Color (Red Line): This line connects the highest point of high prices in the "high_time" period with the highest point of high prices in the "LowerLine_period". It represents a possible long-term resistance level.
_Liquidity Down Line Color(Golden Line): This line connects the highest point of high prices in the "high_time" period with the highest point of low prices in the "low_time" period. It represents a liquidity point and an important support zone.
The indicator becomes particularly interesting when the lines make crossings. These crossovers could suggest a potential trend change in the market. For example:
Change from Bearish to Bullish: If the "long-term" line (black) crosses the "short- or long-term" line (green or blue) from top to bottom, it could indicate a shift from a bearish to a bullish market , suggesting the opportunity for long positions.
_Changing from Bullish to Bearish: If the "long-term" line (blue) crosses the "short-term" line (red or black) from bottom to top, it could indicate a shift from a bullish to a bearish market, suggesting the opportunity for short positions.
Generally speaking, crossings between these lines can be key points of interest for traders, as they can signal significant changes in price direction.
No Trade Zone Indicator [CHE]No Trade Zone Indicator
The "No Trade Zone Indicator " is a powerful tool designed to help traders identify periods when the market may not present favorable trading opportunities. By analyzing the percentage change in the 20-period Simple Moving Average (SMA20) relative to a dynamically adjusted threshold based on market volatility, this indicator highlights times when it's prudent to stay out of the market.
Why Knowing When Not to Trade Is Important
Understanding when not to trade is just as crucial as knowing when to enter or exit a position. Trading during periods of low volatility or uncertain market direction can lead to unnecessary risks and potential losses. By recognizing these "No Trade Zones," you can:
- Avoid Low-Probability Trades: Reduce the chances of entering trades with unfavorable risk-to-reward ratios.
- Preserve Capital: Protect your investment from unpredictable market movements.
- Enhance Focus: Concentrate on high-quality trading opportunities that align with your strategy.
How the Indicator Works
- SMA20 Calculation: Computes the 20-period Simple Moving Average of closing prices to identify the market's short-term trend.
- ATR Measurement: Calculates the Average True Range (ATR) over a user-defined period (default is 14) to assess market volatility.
- Dynamic Threshold: Determines an adjusted threshold by multiplying the ATR percentage by a Threshold Adjustment Factor (default is 0.05).
- Trend Analysis: Compares the percentage change of the SMA20 against the adjusted threshold to evaluate market momentum.
- Status Identification:
- Long: Indicates a rising SMA20 above the threshold—suggesting a potential upward trend.
- Short: Indicates a falling SMA20 above the threshold—suggesting a potential downward trend.
- No Trade: Signals when the SMA20 change is below the threshold, marking a period of low volatility or indecision.
Features
- Customizable Settings: Adjust the ATR period and Threshold Adjustment Factor to suit different trading styles and market conditions.
- Visual Indicators: Colored columns represent market status—green for "Long," red for "Short," and gray for "No Trade."
- On-Chart Table: An optional table displays the current market status directly on your chart for quick reference.
- Alerts: Set up alerts to receive notifications when the market enters a "No Trade Zone," helping you stay informed without constant monitoring.
How to Use the Indicator
1. Add to Chart: Apply the "No Trade Zone Indicator " to your preferred trading chart on TradingView.
2. Configure Settings: Customize the ATR period and Threshold Adjustment Factor based on your analysis and risk tolerance.
3. Interpret Signals:
- Green Columns: Consider looking for buying opportunities as the market shows upward momentum.
- Red Columns: Consider looking for selling opportunities as the market shows downward momentum.
- Gray Columns: Refrain from trading as the market lacks clear direction.
4. Monitor Alerts: Use the alert feature to get notified when the market status changes, allowing you to make timely decisions.
Conclusion
Incorporating the "No Trade Zone Indicator " into your trading toolkit can enhance your decision-making process by clearly indicating when the market may not be conducive to trading. By focusing on periods with favorable conditions and avoiding low-volatility times, you can improve your trading performance and achieve better results over the long term.
*Trade wisely, and remember—the best trade can sometimes be no trade at all.*
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
best regards
Chervolino
Support & Resistance AI LevelScopeSupport & Resistance AI LevelScope
Support & Resistance AI LevelScope is an advanced, AI-driven tool that automatically detects and highlights key support and resistance levels on your chart. This indicator leverages smart algorithms to pinpoint the most impactful levels, providing traders with a precise, real-time view of critical price boundaries. Save time and enhance your trading edge with effortless, intelligent support and resistance identification.
Key Features:
AI-Powered Level Detection: The LevelScope algorithm continuously analyzes price action, dynamically plotting support and resistance levels based on recent highs and lows across your chosen timeframe.
Sensitivity Control: Customize the sensitivity to display either major levels for a macro view or more frequent levels for detailed intraday analysis. Easily adjust to suit any trading style or market condition.
Level Strength Differentiation: Instantly recognize the strength of each level with visual cues based on how often price has touched each one. Stronger levels are emphasized, highlighting areas with higher significance, while weaker levels are marked subtly.
Customizable Visuals: Tailor the look of your chart with customizable color schemes and line thickness options for strong and weak levels, ensuring clear visibility without clutter.
Proximity Alerts: Receive alerts when price approaches key support or resistance, giving you a heads-up for potential market reactions and trading opportunities.
Who It’s For:
Whether you're a day trader, swing trader, or just want a quick, AI-driven way to identify high-probability levels on your chart, Support & Resistance AI LevelScope is designed to keep you focused and informed. This indicator is the perfect addition to any trader’s toolkit, empowering you to make more confident, data-backed trading decisions with ease.
Upgrade your analysis with AI-powered support and resistance—no more manual lines, only smart levels!
Trade Mavrix: Elite Trade NavigatorYour ultimate trading companion that helps you spot profitable breakouts, perfect pullbacks, and crucial support & resistance levels. Ready to take your trading to the next level? Let's dive in!
RVI-Based Support & Resistance[Kopottaja]RVI-Based Support & Resistance
This indicator is designed to identify dynamic support and resistance levels based on the Relative Vigor Index (RVI) crossover signals. Instead of using static horizontal lines, it marks key levels on the chart using cross symbols (X) where recent Buy and Sell signals occurred.
Green crosses (X) represent potential support levels based on the last Buy signal.
Red crosses (X) indicate potential resistance levels based on the last Sell signal.
The indicator dynamically updates the support and resistance levels whenever a new signal appears.
Features:
Utilizes Relative Vigor Index (RVI) with a customizable length for trend detection.
Displays cross symbols on the chart at the price levels where the latest Buy and Sell signals were detected.
Provides built-in alerts for new Buy and Sell signals, allowing users to react quickly to potential market changes.
Usage:
Green crosses may indicate areas where the price could find support if revisited.
Red crosses may suggest areas where the price could encounter resistance.
Use this tool in conjunction with other technical indicators or trading strategies for enhanced decision-making.
This indicator is suitable for traders looking for a visual representation of key support and resistance levels that adjust dynamically with market conditions.
MACD+RSI+BBDESCRIPTION
The MACD + RSI + Bollinger Bands Indicator is a comprehensive technical analysis tool designed for traders and investors to identify potential market trends and reversals. This script combines three indicators: the Moving Average Convergence Divergence (MACD), the Relative Strength Index (RSI), and Bollinger Bands. Each of these indicators provides unique insights into market behavior.
FEATURES
MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
The script calculates the MACD line, the signal line, and the histogram, which visually represents the difference between the MACD line and the signal line.
RSI (Relative Strength Index)
The RSI is a momentum oscillator that measures the speed and change of price movements. It ranges from 0 to 100 and is typically used to identify overbought or oversold conditions.
The script allows users to set custom upper and lower thresholds for the RSI, with default values of 70 and 30, respectively.
Bollinger Bands
Bollinger Bands consist of a middle band (EMA) and two outer bands (standard deviations away from the EMA). They help traders identify volatility and potential price reversals.
The script allows users to customize the length of the Bollinger Bands and the multiplier for the standard deviation.
Color-Coding Logic
The histogram color changes based on the following conditions:
Black: If the RSI is above the upper threshold and the closing price is above the upper Bollinger Band, or if the RSI is below the lower threshold and the closing price is below the lower Bollinger Band.
Green (#4caf50): If the RSI is above the upper threshold but the closing price is not above the upper Bollinger Band.
Light Green (#a5d6a7): If the histogram is positive and the RSI is not above the upper threshold.
Red (#f23645): If the RSI is below the lower threshold but the closing price is not below the lower Bollinger Band.
Light Red (#faa1a4): If the histogram is negative and the RSI is not below the lower threshold.
Inputs
Bollinger Bands Settings
Length: The number of periods for the moving average.
Basis MA Type: The type of moving average (SMA, EMA, SMMA, WMA, VWMA).
Source: The price source for the Bollinger Bands calculation.
StdDev: The multiplier for the standard deviation.
RSI Settings
RSI Length: The number of periods for the RSI calculation.
RSI Upper: The upper threshold for the RSI.
RSI Lower: The lower threshold for the RSI.
Source: The price source for the RSI calculation.
MACD Settings
Fast Length: The length for the fast moving average.
Slow Length: The length for the slow moving average.
Signal Smoothing: The length for the signal line smoothing.
Oscillator MA Type: The type of moving average for the MACD calculation.
Signal Line MA Type: The type of moving average for the signal line.
Usage
This indicator is suitable for various trading strategies, including day trading, swing trading, and long-term investing.
Traders can use the MACD histogram to identify potential buy and sell signals, while the RSI can help confirm overbought or oversold conditions.
The Bollinger Bands provide context for price volatility and potential breakout or reversal points.
Example:
From the example, it can clearly see that the Selling Climax and Buying Climax, marked as orange circle when a black histogram occurs.
Conclusion
The MACD + RSI + Bollinger Bands Indicator is a versatile tool that combines multiple technical analysis methods to provide traders with a comprehensive view of market conditions. By utilizing this script, traders can enhance their analysis and improve their decision-making process.
Fractals CheckerBasically, this indicator helps to identify upper and lower fractals (red/green) of three candles.
This fractal checker marks all candles with a triangle below/above the candle that fall into this category and draws a line until the fractal is closed.
HTF Candle Projections and BoxesThe HTF Candle Projections with Labels indicator builds on the power of previous tools: HTF Candle Projections and HTF Candle Boxes for LTF Charts . This versatile indicator combines advanced features from both indicators into an improved version, allowing you to display multiple Higher Time Frame (HTF) candles directly on a Lower Time Frame (LTF) chart, with enhanced functionality for improved visualization and analysis.
Key Features
Multiple HTF Candle Projections
Project a customizable number of HTF candles to the right of the current time frame. Easily compare HTF and LTF data without constantly switching between charts.
Customizable Projection Types
Choose between traditional candles or Heikin Ashi for your projections, adapting to your preferred analysis method.
Real-Time Open/High/Low/Close Projections
Dynamic updates ensure you always have the most current levels visible. Includes optional lines for Open, High, Low, and Close values, with selectable styles (solid, dotted, dashed).
Enhanced Visualization
Display HTF candles in the background as shaded areas, with transparent color options for up and down candles—offering intuitive context for recent market movements.
OHLC Labels
View key OHLC values beside each projected candle for quick and easy reference.
Time Frame Display Table
Added visual labels to clearly indicate which HTF is being displayed—no more guessing.
Box Options for Candle Range and Body
Box the entire candle range (High to Low) or just the body (Open to Close), inspired by Kevin Rollo's HTF Candle Boxes.
Pip Range Labels
Label the pip range from High to Low or Open to Close, providing better insight into volatility and price movement within the HTF candle.
This indicator is perfect for traders seeking a combined high-level overview with detailed precision for better decision-making. HTF Candle Projections and Boxes keep the macro perspective in view while focusing on the finer details—all in one chart. Free, open-source, and community-inspired, this tool is a comprehensive solution for time frame analysis.
Released under TradingView's default license (Mozilla Public License 2.0).
Bolvoman by Dragon.3 Chiến lược giao dịch t là một hệ thống khá phức tạp, kết hợp nhiều chỉ báo và điều kiện khác nhau để xác định tín hiệu mua và bán. Dưới đây là phần giải thích chi tiết từng phần:
EMA (Exponential Moving Averages)
Mã sử dụng ba đường EMA:
Signal EMA là EMA chu kỳ ngắn, thường là 21 hoặc 10.
Trend EMA là EMA 55, dùng để xác định xu hướng chính.
Supper Trend EMA là EMA dùng để hỗ trợ xác định xu hướng, tương tự như trailing stop.
Màu sắc và Điều kiện xu hướng
Khi Signal EMA nằm trên Trend EMA, mã sẽ hiển thị màu xanh để báo hiệu xu hướng tăng.
Khi Signal EMA nằm dưới Trend EMA, mã sẽ hiển thị màu đỏ báo hiệu xu hướng giảm.
Keltner Channel
Keltner Channel được tạo bằng cách sử dụng ATR (Average True Range) làm độ rộng kênh, nhằm xác định các vùng mua và bán.
Kênh trên (upperKC) và kênh dưới (lowerKC) được hiển thị khi người dùng bật Show KC.
Phân tích Mô Hình Nến và Khối Lượng
Mã xác định các mô hình nến như Bullish Engulfing, Bearish Engulfing, Bullish Pinbar, và Bearish Pinbar.
Nếu một trong các mô hình này xuất hiện trong điều kiện xu hướng tăng/giảm (EMA cắt lên/xuống), và khối lượng lớn hơn khối lượng trung bình của 14 phiên trước đó, thì tín hiệu mua hoặc bán sẽ được đưa ra.
Dynamic Levels Breakout
Mã có thể xác định các mức kháng cự và hỗ trợ động dựa trên các điểm pivot, dùng Pivot Point Period và ATR Factor.
Các mức kháng cự và hỗ trợ động sẽ giúp xác định điểm vào lệnh tiềm năng khi giá phá vỡ các mức này.
SuperTrend AI Dựa Trên Machine Learning
Phần này của mã nhằm phân tích và phân loại các vùng biến động cao, trung bình, và thấp dựa trên ATR.
Dựa trên AI Supper Trend, mã tính toán các trung tâm cụm dữ liệu và tạo các dải SuperTrend để chỉ ra sự biến động, hỗ trợ trader trong việc nắm bắt cơ hội giao dịch trong các điều kiện thị trường khác nhau.
Đường Zigzag và Double Bottom/Double Top
Mã có tích hợp đường zigzag để hiển thị các đỉnh và đáy, từ đó giúp xác định các mô hình đảo chiều như Double Bottom hoặc Double Top.
Điều kiện Mua/Bán chính
Mua khi Signal EMA cắt lên Trend EMA, xuất hiện Bullish Engulfing hoặc Bullish Pinbar, và giá đóng cửa trên Signal EMA kèm khối lượng lớn hơn trung bình 14 phiên.
Bán khi Signal EMA cắt xuống Trend EMA, xuất hiện Bearish Engulfing hoặc Bearish Pinbar, và giá đóng cửa dưới Signal EMA kèm khối lượng lớn hơn trung bình 14 phiên.
Chiến lược này hướng đến việc kết hợp các chỉ báo kỹ thuật và mô hình nến để tăng độ chính xác cho tín hiệu giao dịch. Với các chỉ báo như EMA, Keltner Channel, SuperTrend AI, và phân tích khối lượng, mã cho phép các trader nhận diện các cơ hội giao dịch tốt trong xu hướng và các điểm phá vỡ quan trọng.
VIX IndicatorShows volatility using supertrend indicator.
It grabs the latest pivot data from CBOE:VIX (4h by default).
Can be used in options trading.
Chart VWAPChart VWAP 2 for testing reason that allow as to know if trading view allow us using pine editor in cutome web page
moshak adel//@version=5
indicator("2 indicator", precision=0, timeframe='', timeframe_gaps = true)
PhiSmoother(series float source, simple int length, simple float phase=3.7)=>
var array coefs = na
var int length_1 = length - 1
var float W = 0.0
if na(coefs)
coefs := array.new()
const float SQRT_PIx2 = math.sqrt(2.0 * math.pi)
const float MULTIPLIER = -0.5 / 0.93
var float length_2 = length * 0.52353
for int i=0 to length_1
float alpha = (i + phase - length_2) * MULTIPLIER
float beta = 1.0 / (0.2316419 * math.abs(alpha) + 1.0)
float phi = (math.exp(math.pow(alpha, 2) * -0.5)
*-0.398942280) * beta *
( 0.319381530 + beta *
(-0.356563782 + beta *
( 1.781477937 + beta *
(-1.821255978 + beta
* 1.330274429)))) + 1.011
if alpha < 0.0
phi := 1.0 - phi
float weight = phi / SQRT_PIx2
coefs.push(weight)
W += weight
float sma2 = math.avg(source, nz(source , source))
float E = 0.0
for int i=0 to length_1
E += coefs.get(i) * sma2
E / W
ema(series float source, simple float length)=>
float alpha = 2.0 / (length + 1)
var float smoothed = na
smoothed := alpha * source + (1.0 - alpha) * nz(smoothed , source)
dema(series float source, simple float length)=>
float ema1 = ema(source, length)
float ema2 = ema( ema1, length)
2.0 * ema1 - ema2
tema(series float source, simple float length)=>
float ema1 = ema(source, length)
float ema2 = ema( ema1, length)
float ema3 = ema( ema2, length)
(ema1 - ema2) * 3.0 + ema3
wma(series float source, simple int length)=>
float weight_sum = length * 0.5 * (length + 1)
float sum = 0.0
for int i=0 to length - 1
sum += source * (length - i)
sum / weight_sum
sma(series float source, simple int length)=>
float sum = ta.cum(source)
if bar_index < length - 1
sum / (bar_index + 1)
else
(sum - sum ) / length
filter(series float source,
simple int length,
simple float phase,
simple string style)=>
if length > 1
switch style
"PhiSmoother" => PhiSmoother(source, length, phase)
"EMA" => ema(source, length)
"DEMA" => dema(source, length)
"TEMA" => tema(source, length)
"WMA" => wma(source, length)
=> sma(source, length) // "SMA"
else
source
method get_score(series array source)=>
array scores = array.new()
for int i=0 to source.size() - 1
float current = source.get(i)
int score_sum = 0
for j = 0 to source.size() - 1
float check = source.get(j)
int polarity = i < j ? 1 : -1
if i != j
if current > check
score_sum += polarity
else
score_sum -= polarity
scores.push(score_sum)
scores
method net_score(series array scores)=>
int value = scores.size() - 1
float netScore = ((scores.avg() + value) / (value * 2.0) - 0.5) * 200.0
netScore
method get_color(series float score,
simple float transition_easing,
simple bool volatility_mode,
simple color rising_bullish,
simple color falling_bullish,
simple color falling_bearish,
simple color rising_bearish,
simple color rising_transition,
simple color falling_transition)=>
var color grad = na
float delta = score - nz(score , score)
color bullish = delta >= 0.0 ? rising_bullish : falling_bullish
color bearish = delta > 0.0 ? rising_bearish : falling_bearish
color transit = score > 0.0 ? (delta >= 0.0 ? rising_transition : falling_transition)
: (delta >= 0.0 ? falling_transition : rising_transition)
if volatility_mode
float easing = 0.01 * transition_easing
float crms = easing * math.sqrt(ta.cum(math.pow(math.abs(score), 2)) / (bar_index + 1))
grad := if score > 0.0
transition_easing > 0.0 ? color.from_gradient(score, 0.0, crms, transit, bullish) : bullish
else
transition_easing > 0.0 ? color.from_gradient(score, -crms, 0.0, bearish, transit) : bearish
else
grad := if score > 0.0
transition_easing > 0.0 ? color.from_gradient(score, 0.0, transition_easing, transit, bullish) : bullish
else
transition_easing > 0.0 ? color.from_gradient(score, -transition_easing, 0.0, bearish, transit) : bearish
grad
string common = "Common Controls"
float source = input.source( close, "Source", group=common)
string mode = input.string("Trend Strength", "Composite Cluster Mode", group=common, options= , tooltip="Trend Strength visualizes the directionality of the filter cluster. Volatility weights the score to the bandwidth of the cluster.")
string filter = input.string( "PhiSmoother", "Cluster Filter", group=common, options= , tooltip="Choose a filter to build the moving average cluster with.")
float phase = input.float ( 3.7, "PhiSmoother Phase", group=common, minval=0.0, step=0.1, tooltip="This allows for subtle adjustment (tweaking) of the phase/lag for PhiSmoother")
string cluster = "Cluster Options"
int spacing = input.int(3, "Cluster Dispersion", group=cluster, minval=1, maxval=10, tooltip="Choose the separation between the moving averages in the cluster.")
int upper_trim = input.int(0, "Cluster Trim - Upper:", group=cluster, inline="trim", minval=0, maxval=31)
int lower_trim = input.int(0, "Lower:", group=cluster, inline="trim", minval=0, maxval=31, tooltip="The 'Upper' parameter modifies the shortest period of the moving averages, whereas 'Lower' parameter adjusts the longest period. Increasing the upper value reduces sensitivity, while increasing the lower value heightens sensitivity.")
string output = "Composite Post Smoothing"
string post_smooth_filt = input.string("PhiSmoother", "PostSmooth - Filter:", group=output, inline="post", options= )
int post_smooth_len = input.int ( 1, "Length:", group=output, inline="post", minval=1, tooltip="Period of the cluster's post smoothing.")
string signal = "Composite Signal Settings"
string signal_filter = input.string("PhiSmoother", "Signal - Filter:", group=signal, inline="signal", options= )
int signal_length = input.int ( 20, "Length:", group=signal, inline="signal", minval=1, tooltip="Period of the momentum signal plot.")
color signal_color = input.color ( color.white, "Filter Color", group=signal)
string threshold = "Threshold Levels"
float upperLevel = input.float( 75.00, "Levels - Upper:", group=threshold, inline="level", minval= 1.0, maxval=99.0, step=2.0)
float lowerLevel = input.float(-75.00, "Lower:", group=threshold, inline="level", minval=-99.0, maxval=-1.0, step=2.0, tooltip="Fine-tune the thresholds to your liking")
string colors = "Coloring Preferences"
//bool candle_color = input.bool ( false, "Candle Coloring", group=colors)
float transition_easing = input.float( 50.0, "Transition Easing", group=colors, maxval= 100.0, minval=0.0, step=5.0, tooltip="Adjust the sensitivity to ranging conditions.")
bool fill_bg = input.bool ( true, "Fill Background", group=colors, inline= "fill")
int fill_alpha = input.int ( 85, "", group=colors, inline= "fill", minval=0, maxval=100)
color rising_bullish = input.color(#FFCC00, "Bullish Color", group=colors, inline= "bull")
color rising_transition = input.color(#9598A1, "Transition Color", group=colors, inline="range")
color falling_bearish = input.color(#5500CC, "Bearish Color", group=colors, inline= "bear")
var bool VOLATILITY_MODE_ON = mode == "Volatility"
price = input(title='Source', defval=close)
alpha = input.int(title='Combined Smoothness', defval=15, minval=1)
array filter_cluster = array.new(34)
filter_cluster.set( 0, source)
filter_cluster.set( 1, filter(source, spacing, phase, filter))
filter_cluster.set( 2, filter(source, 2 * spacing, phase, filter))
filter_cluster.set( 3, filter(source, 3 * spacing, phase, filter))
filter_cluster.set( 4, filter(source, 4 * spacing, phase, filter))
filter_cluster.set( 6, filter(source, 5 * spacing, phase, filter))
filter_cluster.set( 7, filter(source, 6 * spacing, phase, filter))
filter_cluster.set( 8, filter(source, 7 * spacing, phase, filter))
filter_cluster.set( 9, filter(source, 8 * spacing, phase, filter))
filter_cluster.set(10, filter(source, 9 * spacing, phase, filter))
filter_cluster.set(11, filter(source, 10 * spacing, phase, filter))
filter_cluster.set(12, filter(source, 11 * spacing, phase, filter))
filter_cluster.set(13, filter(source, 12 * spacing, phase, filter))
filter_cluster.set(14, filter(source, 13 * spacing, phase, filter))
filter_cluster.set(15, filter(source, 14 * spacing, phase, filter))
filter_cluster.set(16, filter(source, 15 * spacing, phase, filter))
filter_cluster.set(17, filter(source, 16 * spacing, phase, filter))
filter_cluster.set(18, filter(source, 17 * spacing, phase, filter))
filter_cluster.set(19, filter(source, 18 * spacing, phase, filter))
filter_cluster.set(20, filter(source, 19 * spacing, phase, filter))
filter_cluster.set(21, filter(source, 20 * spacing, phase, filter))
filter_cluster.set(22, filter(source, 21 * spacing, phase, filter))
filter_cluster.set(23, filter(source, 22 * spacing, phase, filter))
filter_cluster.set(24, filter(source, 23 * spacing, phase, filter))
filter_cluster.set(25, filter(source, 24 * spacing, phase, filter))
filter_cluster.set(26, filter(source, 25 * spacing, phase, filter))
filter_cluster.set(27, filter(source, 26 * spacing, phase, filter))
filter_cluster.set(28, filter(source, 27 * spacing, phase, filter))
filter_cluster.set(29, filter(source, 28 * spacing, phase, filter))
filter_cluster.set(30, filter(source, 29 * spacing, phase, filter))
filter_cluster.set(31, filter(source, 30 * spacing, phase, filter))
filter_cluster.set(32, filter(source, 31 * spacing, phase, filter))
filter_cluster.set(33, filter(source, 32 * spacing, phase, filter))
if upper_trim > 0
for int i=0 to math.min(upper_trim - 1, filter_cluster.size() - 1)
if filter_cluster.size() > 2
filter_cluster.shift()
else
break
if lower_trim > 0
for int i=0 to math.min(lower_trim - 1, filter_cluster.size() - 1)
if filter_cluster.size() > 2
filter_cluster.pop()
else
break
float ribbon_max = filter_cluster.max()
float ribbon_min = filter_cluster.min()
float ribbon_width = ribbon_max - ribbon_min
float ribbon_rank = VOLATILITY_MODE_ON ? nz(ribbon_width / math.avg(ribbon_max, ribbon_min)) : 1
array score = filter_cluster.get_score()
float net_score = filter(score.net_score() * ribbon_rank, post_smooth_len, 3.7, post_smooth_filt)
float signal_value = signal_length < 2 ? na : filter(ta.sma(net_score, 2), signal_length, 3.7, signal_filter)
top = hline(VOLATILITY_MODE_ON ? na : 100.0, "Top", #FF0000)
upper = hline(VOLATILITY_MODE_ON ? na : upperLevel, "+Level", rising_bullish, hline.style_dotted, 2)
center = hline( 0.0, "Center", #CCCCCC)
lower = hline(VOLATILITY_MODE_ON ? na : lowerLevel, "+Level", falling_bearish, hline.style_dotted, 2)
bottom = hline(VOLATILITY_MODE_ON ? na : -100.0, "Bottom", #00FF00)
const color invisible = #00000000
fill( top, upper, 100.0, upperLevel, #800000, invisible)
fill(center, upper, upperLevel, 0.0, color.new( rising_bullish, 100), color.new(rising_bullish, fill_bg ? fill_alpha : 100))
fill(center, lower, 0.0, lowerLevel, color.new(falling_bearish, fill_bg ? fill_alpha : 100), color.new(falling_bearish, 100))
fill(bottom, lower, lowerLevel, -100.0, invisible, #008000)
//barcolor(candle_color ? main_color : na)
color1 = net_score>signal_value ? #00FF00 : #ff0000
net = plot(net_score, "Score", color1, 3)
zero = plot( 0.0, "", invisible)
plot(signal_value, "Signal", signal_color, 1)
fill(net, zero, net_score > 0.0 ? net_score : 0.0,
net_score > 0.0 ? 0.0 : net_score,
net_score > 0.0 ? color.new(rising_bullish, fill_bg and VOLATILITY_MODE_ON ? fill_alpha : 100) : color.new(falling_bearish, 100),
net_score > 0.0 ? color.new(rising_bullish, 100) : color.new(falling_bearish, fill_bg and VOLATILITY_MODE_ON ? fill_alpha : 100))
//===============================================
f_LazyLine(_data, _length) =>
w1 = 0
w2 = 0
w3 = 0
L1 = 0.0
L2 = 0.0
L3 = 0.0
w = _length / 3
if _length > 2
w2 := math.round(w)
w1 := math.round((_length - w2) / 2)
w3 := int((_length - w2) / 2)
L1 := ta.wma(_data, w1)
L2 := ta.wma(L1, w2)
L3 := ta.wma(L2, w3)
L3
else
L3 := _data
L3
L3
//====================================
LL = f_LazyLine(price, alpha)
c_up = color.new(#33ff00, 0)
c_dn = color.new(#ff1111, 0)
uptrend = LL > LL
plot(LL, 'SS_WMA Line', color=uptrend ? c_up : c_dn, linewidth=3,force_overlay=true)
plot(ta.wma(price, alpha), 'WMA', color=color.new(color.purple, 0), display=display.none,force_overlay=true)
// ========================================================================================================================
// v2: add optional up/dn arrow signal on change of direction (swing)
ShowSig = input(title='Up/Dn Swing Signal?', defval=false)
SigMulti = input.float(title='Signal Locator %', defval=1.0, step=0.2, minval=0, maxval=20)
SignalOn = ShowSig and barstate.isconfirmed // ensure the signal plots *only* after "the bar closes" :) -- insert jokes :)
SwingDn = uptrend and not uptrend
SwingUp = uptrend and not uptrend
d = SigMulti / 100 * LL //we'll use this to tweak a good location for the signal (that is not tied to price-specific parameters)
plotshape(SignalOn and SwingDn ? LL + d : na, title='Swing Down', style=shape.triangledown, location=location.absolute, size=size.small, color=c_dn,force_overlay=true)
plotshape(SignalOn and SwingUp ? LL - d : na, title='Swing Up', style=shape.triangleup, location=location.absolute, size=size.small, color=c_up,force_overlay=true)
// ========================================================================================================================
// v3: enable alerts
// need to use alertcondition() to support variable resolution
alertcondition(SwingUp, 'Swing Up', 'Swing Up Detected!') // explicit swing up
alertcondition(SwingDn, 'Swing Down', 'Swing Down Detected!') // explicit swing down
alertcondition(SwingUp or SwingDn, 'Swing', 'Up/Down Swing Detected!') // either swings
Rainbow by ChetuThis indicator, Rainbow by Chetu, is a comprehensive tool designed for trend analysis and strategic trade setups on TradingView. Here’s a breakdown of its core features and functionality for your TradingView description:
Multi-Length EMAs for Trend Detection: The Rainbow Indicator uses multiple Exponential Moving Averages (EMAs) of different lengths (from 9 to 60) to detect trend strength and direction. A unique color-coding system is applied to each EMA, with green for uptrends, red for downtrends, and black during crossovers. This helps traders visualize the current market trend across various timeframes quickly.
RSI and Volume Filters: To enhance accuracy, the indicator incorporates an RSI (Relative Strength Index) and volume filter. The RSI helps avoid overbought or oversold conditions, while the volume filter ensures signals are generated only in active trading conditions, reducing false signals.
Automated Buy and Sell Signals: The indicator identifies crossover points between fast and slow EMAs, generating Buy and Sell signals based on RSI conditions and volume levels. These signals are plotted directly on the chart with clear labels, making it easy to recognize potential entry points.
Risk Management with Stop Loss and Target Levels: To support risk management, the Rainbow Indicator includes automatic stop-loss and target levels, based on a customizable ATR (Average True Range) multiplier. A shaded box is drawn on the chart between these levels, providing visual guidance on potential risk and reward for each trade.
Trendline Break Detection: The indicator includes a customizable trendline break detection feature, which uses ATR, standard deviation, or linear regression to calculate slopes for trendlines. When a significant trendline is broken, the indicator plots an alert on the chart, signaling possible trend reversals or breakout opportunities.
Customizable Color and Style Options: Users can adjust the colors of trendlines, signal boxes, and EMAs, tailoring the look and feel of the indicator to their preferences. This customization enhances chart readability and aligns with users' unique trading setups.
This Rainbow Indicator offers a powerful, multi-faceted tool for traders looking to automate and refine their analysis, providing clear entry and exit signals, robust trend visualization, and dynamic risk management all in one.
Composite Oscillation Indicator Based on MACD and OthersThis indicator combines various technical analysis tools to create a composite oscillator that aims to capture multiple aspects of market behavior. Here's a breakdown of its components:
* Individual RSIs (xxoo1-xxoo15): The code calculates the RSI (Relative Strength Index) of numerous indicators, including volume-based indicators (NVI, PVI, OBV, etc.), price-based indicators (CCI, CMO, etc.), and moving averages (WMA, ALMA, etc.). It also includes the RSI of the MACD histogram (xxoo14).
* Composite RSI (xxoojht): The individual RSIs are then averaged to create a composite RSI, aiming to provide a more comprehensive view of market momentum and potential turning points.
* MACD Line RSI (xxoo14): The RSI of the MACD histogram incorporates the momentum aspect of the MACD indicator into the composite measure.
* Double EMA (co, coo): The code employs two Exponential Moving Averages (EMAs) of the composite RSI, with different lengths (9 and 18 periods).
* Difference (jo): The difference between the two EMAs (co and coo) is calculated, aiming to capture the rate of change in the composite RSI.
* Smoothed Difference (xxp): The difference (jo) is further smoothed using another EMA (9 periods) to reduce noise and enhance the signal.
* RSI of Smoothed Difference (cco): Finally, the RSI is applied to the smoothed difference (xxp) to create the core output of the indicator.
Market Applications and Trading Strategies:
* Overbought/Oversold: The indicator's central line (plotted at 50) acts as a reference for overbought/oversold conditions. Values above 50 suggest potential overbought zones, while values below 50 indicate oversold zones.
* Crossovers and Divergences: Crossovers of the cco line above or below its previous bar's value can signal potential trend changes. Divergences between the cco line and price action can also provide insights into potential trend reversals.
* Emoji Markers: The code adds emoji markers ("" for bullish and "" for bearish) based on the crossover direction of the cco line. These can provide a quick visual indication of potential trend shifts.
* Colored Fill: The area between the composite RSI line (xxoojht) and the central line (50) is filled with color to visually represent the prevailing market sentiment (green for above 50, red for below 50).
Trading Strategies (Examples):
* Long Entry: Consider a long entry (buying) signal when the cco line crosses above its previous bar's value and the composite RSI (xxoojht) is below 50, suggesting a potential reversal from oversold conditions.
* Short Entry: Conversely, consider a short entry (selling) signal when the cco line crosses below its previous bar's value and the composite RSI (xxoojht) is above 50, suggesting a potential reversal from overbought conditions.
* Confirmation: Always combine the indicator's signals with other technical analysis tools and price action confirmation for better trade validation.
Additional Notes:
* The indicator offers a complex combination of multiple indicators. Consider testing and optimizing the parameters (EMAs, RSI periods) to suit your trading style and market conditions.
* Backtesting with historical data can help assess the indicator's effectiveness and identify potential strengths and weaknesses in different market environments.
* Remember that no single indicator is perfect, and the cco indicator should be used in conjunction with other forms of analysis to make informed trading decisions.
By understanding the logic behind this composite oscillator and its potential applications, you can incorporate it into your trading strategy to potentially identify trends, gauge market sentiment, and generate trading signals.
MACD with Warning SymbolsThis indicator uses 34 and 55 wma / ema to confirm trend and when the trend is reversing gives upper warning arrows or lower warning arrows
Confluence Indicator with Buy/Sell Crosses### Explicação do Funcionamento do Indicador "Confluence Indicator with Buy/Sell Crosses": Este indicador combina múltiplos fatores de análise técnica para gerar sinais de compra e venda com base em condições específicas de sobrecompra/sobrevenda, resistência e suporte, além da confluência com uma média móvel, o **DonForex T2**. Aqui está uma explicação de como ele funciona: #### 1. **RSI (Índice de Força Relativa)**: - O **RSI** é usado para medir a força do movimento de preços e identificar condições de sobrecompra e sobrevenda. Ele varia de 0 a 100, com: - **RSI > 70**: O mercado está **sobrecomprado**, o que sugere uma possível reversão para baixo. - **RSI < 30**: O mercado está **sobrevendido**, o que sugere uma possível reversão para cima. O indicador gera um sinal de venda quando o **RSI** está acima de 70 (sobrecompra) e um sinal de compra quando o **RSI** está abaixo de 30 (sobrevenda). #### 2. **Suporte e Resistência**: - **Resistência**: O nível de preço mais alto observado nos últimos **30 candles** é considerado uma resistência. Quando o preço atinge ou ultrapassa esse nível, isso sugere que pode haver uma reversão de preço para baixo. - **Suporte**: O nível de preço mais baixo observado nos últimos **30 candles** é considerado um suporte. Quando o preço atinge ou ultrapassa esse nível para cima, isso sugere que pode haver uma reversão de preço para cima. O indicador gera um sinal de **venda** quando o preço atinge ou ultrapassa o nível de **resistência**, e um sinal de **compra** quando o preço atinge ou ultrapassa o nível de **suporte**. #### 3. **Confluência com DonForex T2 (Média Móvel Exponencial)**: - O **DonForex T2** é um indicador simulado baseado em uma **Média Móvel Exponencial (EMA)** de 14 períodos. Essa média ajuda a suavizar as flutuações do preço e servir como uma referência adicional para a tendência. - O sinal de **venda** ocorre quando o preço está **acima da resistência** e também **acima** da linha DonForex T2 (indicando uma tendência de alta). - O sinal de **compra** ocorre quando o preço está **abaixo do suporte** e também **abaixo** da linha DonForex T2 (indicando uma tendência de baixa). #### 4. **Geração de Sinais**: - **Sinal de Compra (Buy)**: - O preço está **abaixo do suporte**. - O **RSI** está **abaixo de 30** (indicando sobrevenda). - O preço também está **abaixo do DonForex T2**, o que pode sugerir que o preço está em uma fase de retração e pronto para uma reversão para cima. Se essas condições forem atendidas, o indicador gerará um **sinal de compra** com uma **cruz verde** abaixo da vela, indicando uma possível oportunidade de compra. - **Sinal de Venda (Sell)**: - O preço está **acima da resistência**. - O **RSI** está **acima de 70** (indicando sobrecompra). - O preço também está **acima do DonForex T2**, o que pode sugerir que o preço está em uma fase de expansão e pronto para uma reversão para baixo. Se essas condições forem atendidas, o indicador gerará um **sinal de venda** com uma **cruz vermelha** acima da vela, indicando uma possível oportunidade de venda. #### 5. **Visualização no Gráfico**: - **Cruz Verde**: Aparece **abaixo da vela** quando há um sinal de **compra**. - **Cruz Vermelha**: Aparece **acima da vela** quando há um sinal de **venda**. - Além disso, **marcas de RSI** sobrevendido (verde) e sobrecomprado (vermelho) também são desenhadas para ajudar na visualização e entender melhor o comportamento do mercado. #### 6. **Objetivo do Indicador**: O objetivo do indicador é **identificar pontos de reversão** no gráfico baseados na confluência de múltiplos fatores: - O **RSI** ajuda a capturar condições de sobrecompra e sobrevenda. - O **suporte e resistência** ajudam a identificar zonas de reversão de preço. - A **média móvel DonForex T2** atua como um filtro adicional para confirmar a direção da ten
Directional Volatility and Volume with Three ATR Bandsadded some effects on @PuguForex indiactor " Directional Volatility and Volume "using chatgpt
would like some help crating exiting stuff since am lazy on these kind of stuff but consider of having of some what some brain
long/short price hits red
high win-rate or breakeven low losses (AT YOUR OWN COST)
small percentage add up
play with yellow on your cost
better using DCA on reds to see better result to avoid extreme case seniors multiplying it
exept if your going oppisite of the narritive / cycle / market / flow than your a ignorrant / cursed / stupid (sorry)
(maybe some updated edits coming on the way)
THANK ALLAH ALL TIME AND ASK FOR HIS FORGIVNESS AS YOUR A LIVE NO TIME LEFT
WORSHIP HIM ALONE WITH NO CAMPANIONS
PEACE AND MERCY AND BLESSING TO YOU