Normalized Price ComparisonNormalized Price Comparison Indicator Description
The "Normalized Price Comparison" indicator is designed to provide traders with a visual tool for comparing the price movements of up to three different financial instruments on a common scale, despite their potentially different price ranges. Here's how it works:
Features:
Normalization: This indicator normalizes the closing prices of each symbol to a scale between 0 and 1 over a user-defined period. This normalization process allows for the comparison of price trends regardless of the absolute price levels, making it easier to spot relative movements and trends.
Crossing Alert: It features an alert functionality that triggers when the normalized price lines of the first two symbols (Symbol 1 and Symbol 2) cross each other. This can be particularly useful for identifying potential trading opportunities when one asset's relative performance changes against another.
Customization: Users can input up to three symbols for analysis. The normalization period can be adjusted, allowing flexibility in how historical data is considered for the scaling process. This period determines how many past bars are used to calculate the minimum and maximum prices for normalization.
Visual Representation: The indicator plots these normalized prices in a separate pane below the main chart. Each symbol's normalized price is represented by a distinct colored line:
Symbol 1: Blue line
Symbol 2: Red line
Symbol 3: Green line
Use Cases:
Relative Performance Analysis: Ideal for investors or traders who want to compare how different assets are performing relative to each other over time, without the distraction of absolute price differences.
Divergence Detection: Useful for spotting divergences where one asset might be outperforming or underperforming compared to others, potentially signaling changes in market trends or investment opportunities.
Crossing Strategy: The alert for when Symbol 1 and Symbol 2's normalized lines cross can be used as a part of a trading strategy, signaling potential entry or exit points based on relative price movements.
Limitations:
Static Alert Messages: Due to Pine Script's constraints, the alert messages cannot dynamically include the names of the symbols being compared. The alert will always mention "Symbol 1" and "Symbol 2" crossing.
Performance: Depending on the timeframe and the number of symbols, performance might be affected, especially on lower timeframes with high data frequency.
This indicator is particularly beneficial for those interested in multi-asset analysis, offering a streamlined way to observe and react to relative price movements in a visually coherent manner. It's a powerful tool for enhancing your trading or investment analysis by focusing on trends and relationships rather than raw price data.
อินดิเคเตอร์และกลยุทธ์
Volume Multiplier Index (VMI)Этот индикатор масштабирует объемы и позволяет анализировать их через две линии, основанные на различных подходах (экспонента и логарифм), с визуализацией ключевых уровней (перекупленности, перепроданности и средней зоны).
1. Описание настроек
Линия 1: "Exponent Line"
Show Exponent Line: Включает/выключает отображение линии экспоненты.
Period for Exponent: Период для расчета скользящих максимумов и минимумов объема.
Use Exponent Multiplier: Включает/выключает применение множителя.
Exponent Multiplier: Значение степени, в которую возводится объем.
Линия 2: "Logarithm Line"
Show Logarithm Line: Включает/выключает отображение логарифмической линии.
Period for Logarithm: Период для расчета скользящих максимумов и минимумов объема.
Use Logarithm Multiplier: Включает/выключает применение логарифмического множителя.
Общие элементы
Уровни:
80: Верхняя граница, обозначающая зону перекупленности.
50: Средний уровень, зона баланса объема.
20: Нижняя граница, зона перепроданности.
Заливка фона: Показывает диапазон между уровнями 20 и 80 для наглядности.
2. Интерпретация линий
Линия 1 (Exponent):
Линия усиливает влияние крупных объемов. Используется для определения аномально высоких объемов, что может указывать на сильные движения рынка (тренд или разворот).
Пример:
Если линия резко поднимается выше уровня 80 — это сигнал о значительном увеличении объема, возможно, начало сильного тренда.
Линия вблизи 20 — снижение активности, возможна консолидация или боковое движение.
Линия 2 (Logarithm):
Линия сглаживает влияние крупных объемов, делая акцент на стабильных изменениях. Подходит для анализа общего тренда или средней рыночной активности.
Пример:
Линия выше 80 — указывает на устойчивую активность вблизи перекупленности.
Линия ниже 20 — активность снижается, сигнализируя о возможной перепроданности.
3. Как применять индикатор
Анализ зон объемов:
Используйте верхний уровень (80) для выявления зон перекупленности.
Используйте нижний уровень (20) для поиска зон перепроданности.
Средний уровень (50) помогает оценивать нормальное состояние рынка.
Совмещение линий:
Если обе линии поднимаются выше 80, это подтверждение высокой активности рынка.
Если обе линии находятся ниже 20, это подтверждение низкой активности (возможна консолидация).
Фильтрация сигналов:
Используйте линию экспоненты для поиска резких скачков объема.
Линия логарифма помогает сгладить шум и дает подтверждение для более устойчивых трендов.
Комбинация с другими индикаторами:
Индикатор эффективен в сочетании с трендовыми (например, MACD, RSI) для подтверждения сигналов.
Например, перекупленность по объему может совпадать с дивергенцией на RSI.
4. Примеры сценариев использования
Сценарий 1: Идентификация тренда
Если линия экспоненты пересекает уровень 80, а линия логарифма также приближается к этому уровню, это может быть сигналом продолжения сильного тренда.
Сценарий 2: Разворот рынка
Когда линии опускаются ниже уровня 20, а затем обе начинают подниматься вверх — возможно начало нового тренда.
Сценарий 3: Консолидация
Если линии движутся около уровня 50 и не показывают сильных отклонений, рынок, скорее всего, находится в фазе консолидации.
5. Рекомендации по интерпретации
Не использовать индикатор в одиночку — он предназначен для фильтрации сигналов.
Для анализа лучше всего подходят периоды повышенной волатильности.
Настройки периода и множителя можно подстраивать под актив, с которым вы работаете. Для более волатильных инструментов лучше увеличить период.
Этот индикатор идеально подходит для анализа активности рынка, фильтрации шумов и подтверждения сигналов в стратегиях трендового или контртрендового характера.
Буллтренд ололоsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
Percentage Calculator by Akshay GaurThis indicator calculates and displays percentage levels above and below the current price. It allows you to easily identify any percentage levels which can be used in many things like creating strangles and straddles and make informed trading decisions. The indicator automatically adjusts and redraws the lines and labels on the latest bar to reflect real-time market conditions.
Key Features:
• Calculates percentage levels above and below the current price
• Displays percentage levels on big labels with the horizontal lines on the chart
• Allows you to adjust the percentage value and every details.
• Allows you to see Fluctuation line on the chart.
How to Use:
1. Set the percentage value to the desired level (e.g. 1%, 2%, etc.)
2. If you want to see Fluctuation lines also then turn on it from Input settings.
3. Use the displayed levels to identify desired percentage levels.
4. Make informed trading decisions based on the calculated levels
Relative Strength Index with MA Strategy [QuocMinhOfficial}Giải thích các thay đổi:
Định nghĩa Tín hiệu Mua (Buy) và Bán (Sell):
Buy: Sử dụng hàm Cross(rsiMA2, rsiMA3) để xác định khi đường RSI MA2 cắt lên trên đường RSI MA3.
Sell: Sử dụng hàm Cross(rsiMA3, rsiMA2) để xác định khi đường RSI MA2 cắt xuống dưới đường RSI MA3.
Điều chỉnh Filter:
Ban đầu, trong code của bạn có Filter = Buy AND Sell; điều này luôn luôn sai vì một giao dịch không thể vừa mua vừa bán cùng một lúc. Thay vào đó, chúng ta sử dụng Filter = Buy OR Sell; để lọc các giao dịch mua và bán riêng biệt.
Thêm Các Cột Hiển Thị (Tu yong):
Sử dụng AddColumn để hiển thị các giá trị RSI và các đường MA tương ứng trong kết quả backtest, giúp bạn dễ dàng theo dõi và phân tích.
Ghi chú:
Nếu bạn muốn thêm các điều kiện bổ sung cho tín hiệu mua bán (ví dụ: chỉ mua khi RSI trên 50), bạn có thể kết hợp các điều kiện bằng toán tử AND hoặc OR như trong ví dụ đã thêm.
Hãy đảm bảo rằng bạn kiểm tra lại logic và kết quả backtest để xác nhận rằng tín hiệu mua bán hoạt động như mong đợi.
Sonic R Indicator - HoangTNĐiều kiện vào lệnh mua (BUY): Giá đóng cửa cao hơn EMA 34 High và EMA 34 Close nằm trên EMA 89.
Điều kiện vào lệnh bán (SELL): Giá đóng cửa thấp hơn EMA 34 Low và EMA 34 Close nằm dưới EMA 89.
13, 21, 34 SMAs tradewithshamincluded 13,21 and 34 simple moving average for swing trade. use it in day candle
RelVolRelative Volume is an indicator of current volume divided by average volume over the lats 10 candle sticks.
反彈三次突破策略策略說明 (Strategy Explanation)
英文 (English)
This strategy is called "反彈三次突破策略" (Three Rebound Breakthrough Strategy). It is designed to identify and trade based on three consecutive price drops followed by a rebound, ensuring certain conditions are met before entering a trade. The key components and conditions of this strategy are as follows:
Moving Averages (MAs):
Fast MA: The short-term moving average (e.g., 5 periods).
Slow MA: The long-term moving average (e.g., 20 periods).
The crossover of these MAs generates buy (long) and sell (short) signals.
Average True Range (ATR):
Used to calculate volatility and set stop-loss and take-profit levels.
Three Consecutive Drops and Rebounds:
The strategy identifies three consecutive drops in price, each creating a new lower low (low1, low2, low3).
After the third drop, the price must rebound and break above the previous low's rebound height.
Parallel Channel:
A parallel channel is drawn between the lowest points (low1 and low3) to visualize the price range.
Two lines (lower and upper) form the channel.
Entry and Exit Conditions:
Entry signals are based on MA crossovers and the three rebound condition.
Stop-loss and take-profit levels are set using ATR-based calculations.
Labels are added to the chart to indicate stop-loss and take-profit points.
中文 (Chinese)
這個策略叫做 "反彈三次突破策略"。其目的是識別並基於三次連續價格下跌後的反彈進行交易,並確保在進行交易之前滿足某些條件。該策略的關鍵組成部分和條件如下:
移動平均線 (MAs):
快速均線:短期移動平均線(例如,5 期)。
慢速均線:長期移動平均線(例如,20 期)。
這些均線的交叉產生買入(做多)和賣出(做空)信號。
真實波動範圍 (ATR):
用於計算波動性並設置止損和止盈水平。
三次連續下跌和反彈:
該策略識別連續三次的價格下跌,每次都創下更低的低點(low1、low2、low3)。
在第三次下跌後,價格必須反彈並突破前一個低點的反彈高度。
平行通道:
在最低點(low1 和 low3)之間繪製平行通道,以可視化價格區間。
兩條線(下邊界和上邊界)形成通道。
進出場條件:
進場信號基於均線交叉和三次反彈條件。
使用基於 ATR 的計算設置止損和止盈水平。
在圖表上添加標籤以指示止損和止盈點。
Moving average densityMoving average density,This is a method of using SMA and EMA moving averages to determine the direction of price rise and fall.
Sag MacdThe main change in this code is the src variable. Instead of using an input for the source, it now calculates the 14-period RSI of the close price:
text
src = ta.rsi(close, 14)
This modification means that the MACD indicator will now be based on the RSI values rather than the original price data. The RSI is calculated using the default period of 14, which is a commonly used setting.
The rest of the code remains the same, applying the MACD calculations to the RSI values. This will result in a MACD indicator that reflects the momentum of the RSI rather than the price directly, potentially providing different insights into the market dynamics
Doji Detector By NattawatThis indicator is designed to detect Doji candlesticks on your chart and draw horizontal lines at the Open and Close prices of the Doji candlesticks. You can customize the number of bars to wait before drawing these horizontal lines after a Doji is detected. These horizontal lines will help you easily identify and analyze the points where Doji candlesticks occur on your chart.
Market Sentiment TrendGauges the trend of the DXY, VIX, and ticker by using SuperTrend, EMA, and Ichimoku Baseline to generate bullish and bearish signals.
Advanced Strategy: Buy and Sell//@version=5
indicator("Advanced Strategy: Buy and Sell", overlay=true)
// User Inputs
ema_fast_length = input.int(12, title="EMA Fast Period")
ema_slow_length = input.int(26, title="EMA Slow Period")
rsi_period = input.int(14, title="RSI Period")
macd_fast = input.int(12, title="MACD Fast Period")
macd_slow = input.int(26, title="MACD Slow Period")
macd_signal = input.int(9, title="MACD Signal Period")
bb_length = input.int(20, title="Bollinger Bands Period")
bb_mult = input.float(2.0, title="Bollinger Bands Std Dev")
adx_period = input.int(14, title="ADX Period")
adx_threshold = input.int(20, title="Minimum ADX for Trend Validation")
// Indicator Calculations
ema_fast = ta.ema(close, ema_fast_length)
ema_slow = ta.ema(close, ema_slow_length)
rsi = ta.rsi(close, rsi_period)
= ta.macd(close, macd_fast, macd_slow, macd_signal)
= ta.bb(close, bb_length, bb_mult)
// ADX Calculation
true_range = ta.rma(ta.tr, adx_period)
plus_dm = ta.rma(ta.change(high) > ta.change(low) ? math.max(ta.change(high), 0) : 0, adx_period)
minus_dm = ta.rma(ta.change(low) > ta.change(high) ? math.max(ta.change(low), 0) : 0, adx_period)
plus_di = (plus_dm / true_range) * 100
minus_di = (minus_dm / true_range) * 100
dx = math.abs(plus_di - minus_di) / (plus_di + minus_di) * 100
adx = ta.rma(dx, adx_period)
// Buy Rules
buy_signal = ta.crossover(ema_fast, ema_slow) and rsi < 50 and macd_line > signal_line and close < bb_lower and adx > adx_threshold
// Sell Rules
sell_signal = ta.crossunder(ema_fast, ema_slow) and rsi > 50 and macd_line < signal_line and close > bb_upper and adx > adx_threshold
// Plot Indicators on the Chart
plot(ema_fast, color=color.green, title="EMA Fast")
plot(ema_slow, color=color.red, title="EMA Slow")
plot(bb_upper, color=color.orange, title="Bollinger Upper Band")
plot(bb_lower, color=color.orange, title="Bollinger Lower Band")
// Buy and Sell Signals
plotshape(buy_signal, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(sell_signal, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Alerts
alertcondition(buy_signal, title="Buy Alert", message="Buy Signal Detected!")
alertcondition(sell_signal, title="Sell Alert", message="Sell Signal Detected!")
Price H/L Look BackPrice H/L Look Back
Last x # of days will show the high/low for that time period.
Work in progress.....
QRS Updatedthis is the updated quadratic regression slopes compatible with version 6 of trading view
Candle VolumeThis indicator gives gives candle volume represented in X.Y format for simplicity.
100% = 1.0
20% = 0.2
Anything 10X is represented by an arrow up or down based on candle price delta open to close.
By default, a 500 candle lookback of volume is used excluding exteem outliers of 50.
You can adjust these in settings.
Advanced Ichimoku SignalThe Advanced Ichimoku Signal is an innovative indicator that combines the strengths of the Ichimoku Cloud system with enhanced signal processing features. This tool is designed to provide traders with clearer insights into market trends and potential trading opportunities.
Key Features of the Advanced Ichimoku Signal
1. Integration of Ichimoku Components:
- The indicator utilizes essential Ichimoku elements such as **Tenkan-sen** (Conversion Line) and **Kijun-sen** (Base Line) to determine short-term and long-term market trends.
2. Enhanced Signal Logic:
- It incorporates a Weighted Moving Average (WMA) to smooth price data, allowing for better trend identification and reducing noise in volatile markets.
3. Customizable Parameters:
- Traders can adjust various parameters, including the lengths of the Tenkan-sen, Kijun-sen, and WMA, as well as their colors and thicknesses for improved visibility.
4. Dynamic Visual Signals:
- The background color changes based on bullish or bearish conditions, providing immediate visual cues for potential trade setups.
5. Signal Strength Calculation:
- The indicator calculates the strength of signals based on the distance between the closing price and the WMA, helping traders gauge the reliability of trade signals.
Importance of the Advanced Ichimoku Signal
- Trend Analysis: By combining multiple indicators, traders can identify both short-term and long-term trends effectively.
- Improved Decision Making: The clear visual signals help traders make informed decisions quickly, reducing the chances of emotional trading.
- Flexibility in Trading Strategies: The customizable nature of the indicator allows it to fit various trading styles, whether scalping or long-term investing.
- Risk Management: Understanding market momentum through this indicator aids in better risk management by providing clear entry and exit points.
Conclusion
The Advanced Ichimoku Signal is a powerful tool for traders looking to enhance their market analysis capabilities. With its advanced features and customizable settings, it offers a comprehensive approach to identifying trading opportunities in various market conditions. Integrating this indicator into your trading strategy can lead to more informed decisions and improved trading performance.
LN-Heikin Ashi RSI OscillatorBuilding RSI levels and oscillator to identify trend and extreme levels
1 Minute Candle Strategythe script will work on any time frame, but specifically mentioned on 1 minutes candles. when applied on a 1 minutes chart the script will execute based on minute candle.