SM Concepts: FVG, BOS, CHOCH, S/R1. *Fair Value Gaps (FVG)* - Plots triangles below/above bars when FVG forms
2. *Break of Structure (BOS)* - Arrows showing trend continuation signals
3. *Change of Character (CHOCH)* - X marks showing potential trend reversals
4. *Support/Resistance* - Dynamic levels based on recent price extremes
5. *Smart Money* - Purple circles indicating high volume activity
Features:
- Customizable parameters in settings
- Visual alerts for BOS signals
- Multiple time frame support
- Clean visual presentation with different colors/shapes
Note: This is a conceptual script - always test strategies before live trading. These concepts work best when combined with proper risk management and market context analysis.
อินดิเคเตอร์และกลยุทธ์
isikh1998sma 50 ema 200 vwap previous day high low close.................
add auto trendlines with it if you like
5-13-26-50-200All in one EMA.
I have added important EMAs in this script.
5,13 and 26 can be treated as short-term EMAs.
50 and 200 EMAs are can be used as long term.
Price Imbalance as Consecutive Levels of AveragesOverview
The Price Imbalance as Consecutive Levels of Averages indicator is an advanced technical analysis tool designed to identify and visualize price imbalances in financial markets. Unlike traditional moving average (MA) indicators that update continuously with each new price bar, this indicator employs moving averages calculated over consecutive, non-overlapping historical windows. This unique approach leverages comparative historical data to provide deeper insights into trend strength and potential reversals, offering traders a more nuanced understanding of market dynamics and reducing the likelihood of false signals or fakeouts.
Key Features
Consecutive Rolling Moving Averages: Utilizes three distinct simple moving averages (SMAs) calculated over consecutive, non-overlapping windows to capture different historical segments of price data.
Dynamic Color-Coded Visualization: SMA lines change color and style based on the relationship between the averages, highlighting both extreme and normal market conditions.
Median and Secondary Median Lines: Provides additional layers of price distribution insight during normal trend conditions through the plotting of primary and secondary median lines.
Fakeout Prevention: Filters out short-term volatility and sharp price movements by requiring consistent historical alignment of multiple moving averages.
Customizable Parameters: Offers flexibility to adjust SMA window lengths and line extensions to align with various trading strategies and timeframes.
Real-Time Updates with Historical Context: Continuously recalculates and updates SMA lines based on comparative historical windows, ensuring that the indicator reflects both current and past market conditions.
Inputs & Settings
Rolling Window Lengths:
Window 1 Length (Most Recent) Bars: Number of bars used to calculate the most recent SMA. (Default: 5, Range: 2–300)
Window 2 Length (Preceding) Bars: Number of bars for the second SMA, shifted by Window 1. (Default: 8, Range: 2–300)
Window 3 Length (Third Rolling) Bars: Number of bars for the third SMA, shifted by the combined lengths of Window 1 and Window 2. (Default: 13, Range: 2–300)
Horizontal Line Extension:
Horizontal Line Extension (Bars): Determines how far each SMA line extends horizontally on the chart. (Default: 10 bars, Range: 1–100)
Functionality and Theory
1. Calculating Consecutive Simple Moving Averages (SMAs):
The indicator calculates three SMAs, each based on distinct and consecutive historical windows of price data. This approach contrasts with traditional MAs that continuously update with each new price bar, offering a static view of past trends rather than an ongoing one.
Mean1 (SMA1): Calculated over the most recent Window 1 Length bars. Represents the short-term trend.
Mean1=∑i=1N1CloseiN1
Mean1=N1∑i=1N1Closei
Where N1N1 is the length of Window 1.
Mean2 (SMA2): Calculated over the preceding Window 2 Length bars, shifted back by Window 1 Length bars. Represents the medium-term trend.
\text{Mean2} = \frac{\sum_{i=1}^{N_2} \text{Close}_{i + N_1}}}{N_2}
Where N2N2 is the length of Window 2.
Mean3 (SMA3): Calculated over the third rolling Window 3 Length bars, shifted back by the combined lengths of Window 1 and Window 2 bars. Represents the long-term trend.
\text{Mean3} = \frac{\sum_{i=1}^{N_3} \text{Close}_{i + N_1 + N_2}}}{N_3}
Where N3N3 is the length of Window 3.
2. Determining Market Conditions:
The relationship between the three SMAs categorizes the market condition into either extreme or normal states, enabling traders to quickly assess trend strength and potential reversals.
Extreme Bullish:
Mean3Mean2>Mean1
Mean3>Mean2>Mean1
Indicates a strong and sustained downward trend. SMA lines are colored purple and styled as dashed lines.
Normal Bullish:
Mean1>Mean2andnot in extreme bullish condition
Mean1>Mean2andnot in extreme bullish condition
Indicates a standard upward trend. SMA lines are colored green and styled as solid lines.
Normal Bearish:
Mean1Mean2>Mean1
Mean3>Mean2>Mean1
Normal Bullish:
Mean1>Mean2andnot in Extreme Bullish
Mean1>Mean2andnot in Extreme Bullish
Normal Bearish:
Mean1 Mean2 > Mean3
Visualization: All three SMAs are displayed as gold dashed lines.
Median Lines: Not displayed to maintain chart clarity.
Interpretation: Indicates a strong and sustained upward trend. Traders may consider entering long positions, confident in the trend's strength without the distraction of additional lines.
2. Normal Bullish Condition:
SMAs Alignment: Mean1 > Mean2 (not in extreme condition)
Visualization: Mean1 and Mean2 are green solid lines; Mean3 is gray.
Median Lines: A thin blue dotted median line is plotted between Mean1 and Mean2, with two additional thin blue dashed lines as secondary medians.
Interpretation: Confirms an upward trend while providing deeper insights into price distribution. Traders can use the median and secondary median lines to identify optimal entry points and manage risk more effectively.
3. Extreme Bearish Condition:
SMAs Alignment: Mean3 > Mean2 > Mean1
Visualization: All three SMAs are displayed as purple dashed lines.
Median Lines: Not displayed to maintain chart clarity.
Interpretation: Indicates a strong and sustained downward trend. Traders may consider entering short positions, confident in the trend's strength without the distraction of additional lines.
4. Normal Bearish Condition:
SMAs Alignment: Mean1 < Mean2 (not in extreme condition)
Visualization: Mean1 and Mean2 are red solid lines; Mean3 is gray.
Median Lines: A thin blue dotted median line is plotted between Mean1 and Mean2, with two additional thin blue dashed lines as secondary medians.
Interpretation: Confirms a downward trend while providing deeper insights into price distribution. Traders can use the median and secondary median lines to identify optimal entry points and manage risk more effectively.
Customization and Flexibility
The Price Imbalance as Consecutive Levels of Averages indicator is highly adaptable, allowing traders to tailor it to their specific trading styles and market conditions through adjustable parameters:
SMA Window Lengths: Modify the lengths of Window 1, Window 2, and Window 3 to capture different historical trend segments, whether focusing on short-term fluctuations or long-term movements.
Line Extension: Adjust the horizontal extension of SMA and median lines to align with different trading horizons and chart preferences.
Color and Style Preferences: While default colors and styles are optimized for clarity, traders can customize these elements to match their personal chart aesthetics and enhance visual differentiation.
This flexibility ensures that the indicator remains versatile and applicable across various markets, asset classes, and trading strategies, providing valuable insights tailored to individual trading needs.
Conclusion
The Price Imbalance as Consecutive Levels of Averages indicator offers a comprehensive and innovative approach to analyzing price trends and imbalances within financial markets. By utilizing three consecutive, non-overlapping SMAs and incorporating median lines during normal trend conditions, the indicator provides clear and actionable insights into trend strength and price distribution. Its unique design leverages comparative historical data, distinguishing it from traditional moving averages and enhancing its utility in identifying genuine market movements while minimizing false signals. This dynamic and customizable tool empowers traders to refine their technical analysis, optimize their trading strategies, and navigate the markets with greater confidence and precision.
哪有小孩天天哭该策略名为“哪有小孩天天哭”,旨在模拟一种随机交易行为,借此展示赌徒谬误的概念。赌徒谬误是指人们错误地相信过去的事件会影响未来的独立事件。在金融市场中,交易者常常会受到这种心理影响,认为连续的亏损或盈利会影响下一次交易的结果。
如果连续亏损达到4次且尚未执行真实下单,则随机选择买入或卖出并执行下单
Super Oscillator - Advanced Trend & Momentum Indicator📖 Description
The Super Oscillator is an advanced oscillator-type indicator designed for trend & momentum analysis.
This tool helps traders identify overbought & oversold zones while also determining trend direction.
By incorporating SuperTrend elements, it enhances the accuracy of entry and exit signals.
📊 Features
✅ Trend & Momentum Analysis: Detects price momentum and trend reversals
✅ Overbought & Oversold Zones: Above 90 indicates overbought, below 10 suggests oversold conditions
✅ Filtering Function: Only allows long entries above 50 and short entries below 50
✅ Noise Reduction: Smooths price fluctuations to minimize false signals
✅ Customizable Settings: Adjustable ATR and filtering parameters
🎯 How to Use
1️⃣ Buy Signal: When the Super Oscillator drops below 10 and shows upward momentum
2️⃣ Sell Signal: When the Super Oscillator rises above 90 and shows downward momentum
3️⃣ Filtering: Long entries are only valid if the oscillator is above 50, short entries only below 50
4️⃣ Divergence Trading: Look for discrepancies between price action and the oscillator for potential reversals
⚙️ Indicator Settings
🔹 ATR Length: Used for trailing stop calculations
🔹 Super Oscillator Sensitivity: Adjusts the oscillator's responsiveness
🔹 Overbought/Oversold Thresholds: Customizable levels for extreme market conditions
📈 Example Usage
📌 Trend Following Strategy:
Uptrend: Super Oscillator stays above 50 and price continues making higher highs → Long entry
Downtrend: Super Oscillator stays below 50 and price makes lower lows → Short entry
📌 Reversal Strategy:
Buy when Super Oscillator is below 10 and starts rising
Sell when Super Oscillator is above 90 and starts falling
📢 Disclaimer
This indicator is provided for educational purposes only and does not constitute financial advice.
Traders should incorporate risk management strategies and use this indicator alongside other tools before making trading decisions.
Triple EMA Indicator - yannnkombinasi 3 EMA yang menggabungkan 3 Exponential Moving Average menjadi satu indikator untuk menghemat penggunaan indikator
B15-Minute Day Trading Strategy The goal is to capitalize on short-term price movements. Below is a basic 15-minute day trading strategy that can be adapted to stocks, forex, or other liquid markets. This strategy is based on technical analysis and requires discipline, risk management, and practice.
Variações Diárias no Mini ÍndicePS: Já publiquei esse script. Porém fiz alguns ajustes e continuarei fazendo.
Fiz esse script de variações baseado no valor do ajuste diário. Criei especificamente para ser usado no mini índice, se desejar usar em outro ativo, terás que modificar o código.
As variações vão de 0,5% até 1,5%, pois eu acredito que como um big player do mercado brasileiro faz operações que duram dias, semanas ou até meses em certos casos, eles vão estar muito mais interessados em saber se já subiu ou caiu 0,5% da operação dele.
Essas variações me mostram regiões em que esses players podem pesar no gráfico, sempre a favor das operações deles. É um bom parâmetro para ver se já subiu demais ou caiu demais.
Um beijo e um queijo e até depois.
Failed 2D & Failed 2U BarsI created this indicator to plot a triangle when a candle is either 1) a failed 2 down--the candle breaks the low of the prior candle but closes green (or higher than its opening price) and doesn't break the high of the previous candle; and 2) a failed 2 up--high of the prior candle is broken but the bar is red and does not break the low of the prior candle.
It has alerts which you can set up in the alert system.
I think that this candle is one of the most telling and powerful when it comes to candle analysis.
R.I.P. Rob Smith, Creator of The Strat.
IBOX For the indicator to appear correctly on the DE40's 5-minute char t, set it to overlay mode.
Variables: Variables are declared to store the high and low points of the first trading hour.
Draw box:
The box representing the range of the first trading hour is drawn in gray.
First trading hour range:
The code checks if it is the first trading hour (9-10 am). If so, the high and low points are stored.
Fibonacci calculation: Based on the range of the first trading hour, the Fibonacci levels 1,61, 2, 2,61, 4,61 above and below the box are calculated.
Support, Resistance & POC EnhancedEste indicador avanzado identifica y gestiona soportes, resistencias y el Punto de Control (POC) utilizando una metodología optimizada con arrays para evitar la saturación de líneas en el gráfico.
¿Qué hace este indicador?
1️⃣ Identificación de Soportes y Resistencias con Pivotes
El indicador utiliza la metodología de pivotes de precios, que identifica máximos y mínimos locales en función de un número configurable de barras a la izquierda y a la derecha.
Se emplean las funciones ta.pivothigh y ta.pivotlow, que requieren que el precio haya girado en la dirección opuesta para confirmar un nivel.
Estos niveles suelen actuar como zonas de oferta y demanda, donde los participantes del mercado han reaccionado en el pasado.
2️⃣ Gestión Dinámica de Niveles para Mayor Precisión
Para evitar que el gráfico se sobrecargue con demasiadas líneas, el indicador almacena los niveles en arrays.
Se establece un límite máximo de niveles visibles, eliminando los más antiguos a medida que se detectan nuevos.
Esto permite una representación clara de los niveles más relevantes en tiempo real.
3️⃣ Cálculo del Punto de Control (POC) como Referencia de Equilibrio
El POC se obtiene mediante la fórmula:
poc := (high + low + close) / 3
Este cálculo representa el precio medio ponderado de cada vela y ayuda a identificar el nivel donde ha habido mayor aceptación del precio.
Un POC cercano a una resistencia puede indicar una posible absorción de órdenes y futura reversión.
Un POC cerca de un soporte puede señalar acumulación antes de un posible rebote alcista.
Aplicaciones Prácticas para los Traders:
✅ Detección de zonas clave: Soportes y resistencias dinámicos para validar entradas y salidas de operaciones.
✅ Confirmación con el POC: Identificación de niveles donde el mercado ha mostrado mayor interés.
✅ Optimización del análisis técnico: Evita la saturación del gráfico y permite una visión clara de los niveles más importantes.
Este indicador es ideal para traders de acción del precio, operadores de tendencias y traders de rangos, ya que les permite visualizar zonas de reacción del mercado con precisión y sin ruido innecesario. 🚀
FJH's Expansion IndicatorFJH's Expansion Indicator is a custom-built trading tool designed to support the unique fractal-based trading model taught at FJH's University. This indicator is engineered to help traders identify key price action patterns, focusing on high and low price levels as potential reversal points. It marks the previous candle's high and low and tracks whether the price breaches these levels before returning within the range, signaling a possible reversal in market direction.
Key Features:
Fractal Model Recognition: Identifies when the high or low of a previous candle is breached and closed back within the range, marking it as a potential entry point.
Line Visualization: Draws lines at the previous candle's high and low and keeps them visible until a valid fractal pattern is confirmed. The lines are then reset after four candles.
Stop Loss and Take Profit: The indicator draws stop loss lines at the price level where the breach occurred and sets the take profit at the closing price of the fourth candle following the pattern's confirmation.
Customization: Users can adjust the color and width of the lines, enabling full flexibility to match their visual preferences and trading style.
Designed for both beginner and advanced traders, FJH's Expansion Indicator aids in identifying high-probability trade setups, integrating seamlessly with the educational content at FJH's University. This indicator enhances your understanding of the fractal model and empowers you to trade with a structured, rule-based approach.
Multi-Timeframe Stoch RSIThe Multi-Timeframe Stoch RSI Indicator analyzes Stochastic RSI values across multiple timeframes (5m, 15m, 30m, 1h, 3h, and 1D) to help identify overbought and oversold conditions. It displays a visual table where each timeframe is color-coded—red for overbought (🐻) and green for oversold (✅)—allowing traders to quickly assess market momentum at different intervals. This helps in making informed trading decisions based on multi-timeframe confluence.
Auto Last Earnings AVWAP
This script provides an automated approach to tracking critical post-earnings price levels. You can add it to a chart and then flip through your watchlist to see the anchored AVWAPs without the need to do it manually one by one.
Core Features:
Automatically detects earnings dates and anchors VWAP calculations without manual input
Calculates volume-weighted average price specifically from the last earnings release
Identifies and visualizes significant earnings gaps between reporting periods
Volume-Based Signal Detection:
Monitors VWAP crosses with volume confirmation (requires 1.5x normal volume)
Labels high-volume breakouts with clear directional signals
Uses a 6-bar adaptive volume baseline to filter out noise
Practical Applications:
AVWAP anchored at earnings offers a great price support level that should be considered when deciding to buy/sell the stock. This script eliminates manual VWAP anchoring and reduces chart management time
Key Differentiators:
First note: coding VWAP anchoring in pine is more challenging that one would think. The source code is open to help other users and hopefully inspire different applications.
No need to manually anchor the VWAP
Draws earnings gap from earnings to earnings (if auto mode)
Detects breakouts through the AVWAP line
Volume Profile / Fixed Range Bubbles By RolingasThe same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.
The same volume profile just with bubbles.The same volume profile just with bubbles.
ICT Midnight Opening RangeICT Midnight Opening Range
Automatically marked and extended right for reference.
-Custom Color
-Optional CE Level
-Extends to Current Candle
.. more
Updates will come with community feedback and suggestions
Previous HTF Highs, Lows & Equilibriums [ᴅᴀɴɪ]#Previous HTF Highs, Lows & Equilibriums
Indicator Description
This powerful and user-friendly indicator is designed to help traders visualize key levels from multiple higher timeframes directly on their chart. It plots the previous session's high, low, and equilibrium (EQ) levels for up to 4 customizable timeframes, allowing you to analyze price action across different time horizons simultaneously.
Key Features
#1 Multi-Timeframe Support:
Choose up to 4 higher timeframes (e.g., 1H, 4H, 1D, 1W) to plot levels on your chart.
Each timeframe's levels are displayed with clear, customizable lines.
#2 Previous Session Levels:
Plots the previous session's high, low, and EQ (EQ = (high + low) / 2) for each selected timeframe.
Levels are dynamically updated at the start of each new session.
#3 Customizable Line Styles:
Choose between solid, dashed, or dotted lines for each level.
Customize colors for high, low, and EQ levels to suit your preferences.
#4 Dynamic Labels:
Each level is labeled with the corresponding timeframe (e.g., "1D - H" for daily high, "4H - L" for 4-hour low).
Labels are positioned dynamically to avoid clutter and ensure readability.
#5 Toggle On/Off:
Easily toggle the visibility of all levels with a single button, making it simple to declutter your chart when needed.
#6 Compatible with All Markets:
Works seamlessly across all instruments (stocks, forex, crypto, futures, etc.) and timeframes.
How to Use?
1. Add the indicator to your chart.
2. Select up to 4 higher timeframes to plot levels.
3. Customize line styles and colors to match your trading style.
4. Toggle levels on/off as needed to keep your chart clean and focused
Disclaimer
This indicator is not a trading signal generator . It does not predict market direction or provide buy/sell signals. Instead, it is a tool to help you visualize key levels from higher timeframes, enabling you to make more informed trading decisions. Always combine this tool with your own analysis, risk management, and trading strategy.
Thank you for choosing this indicator! I hope it becomes a valuable part of your trading toolkit. Remember, trading is a journey, and having the right tools can make all the difference. Whether you're a seasoned trader or just starting out, this indicator is designed to help you stay organized and focused on what matters most—price action. Happy trading, and may your charts be ever in your favor! 😊
Power Trend [MacAlgo]Description:
The Power Trend Indicator is a sophisticated technical analysis tool that overlays on your trading charts to identify prevailing market trends. It utilizes a combination of ATR-based trend calculations, moving averages, volume analysis, and momentum indicators to generate reliable buy and sell signals. Additionally, it offers customizable settings to adapt to various trading styles and timeframes.
Key Features:
Adaptive ATR Calculation: Automatically adjusts the ATR (Average True Range) period and multiplier based on the selected timeframe for more accurate trend detection.
Dynamic Trend Lines: Plots continuous trend lines with color-coded bars to visually represent bullish and bearish trends.
Buy/Sell Signals: Generates standard and power buy/sell signals to help you make informed trading decisions.
Volume Analysis: Incorporates average buy and sell volumes to identify strong market movements.
Multiple Timeframe Support: Automatically adjusts the indicator's timeframe or allows for manual selection to suit your trading preferences.
Highlighting: Highlights trending bars for easy visualization of market conditions.
Alerts: Customizable alert conditions to notify you of potential trading opportunities in real-time.
How it Works:
1. ATR-Based Trend Calculation:
ATR Period & Multiplier: Calculates ATR based on user-defined periods and multipliers, dynamically adjusting according to the chart's timeframe.
Trend Determination: Identifies trends as bullish (1) or bearish (-1) based on price movements relative to ATR-based upper (up) and lower (dn) trend lines.
2. Moving Averages:
EMA & SMA: Calculates exponential and simple moving averages to smooth price data and identify underlying trends.
AlphaTrend Line: Combines a 50-period EMA and a 30-period SMA on a 4-hour timeframe to create the AlphaTrend line, providing a robust trend reference.
3. Volume Analysis:
Buy/Sell Volume: Differentiates between buy and sell volumes to gauge market strength.
Average Volume: Compares current volume against average buy/sell volumes to detect significant market movements.
4. Momentum Indicators:
RSI, MACD, OBV: Incorporates Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and On-Balance Volume (OBV) to assess momentum and confirm trend strength.
5. Signal Generation:
Standard Signals: Basic buy and sell signals based on trend crossovers.
Power Signals: Enhanced signals requiring multiple conditions (e.g., increased volume, momentum confirmation) for higher confidence trades.
Customization Options:
Tailor the Power Trend Indicator to your specific trading needs with the following settings:
ATR Period: Set the period for ATR calculation (default: 8).
ATR Multiplier: Adjust the ATR multiplier to fine-tune trend sensitivity (default: 3.0).
Source: Choose the price source (e.g., HL2, Close) for calculations.
Change ATR Calculation Method: Toggle between different ATR calculation methods.
Show Buy/Sell Signals: Enable or disable the display of buy and sell signals on the chart.
Highlighting: Turn on or off the bar highlighting feature.
Timeframe Adjustment: Choose between automatic timeframe adjustment or manually set
the indicator's timeframe.
Manual Indicator Timeframe: If manual adjustment is selected, specify the desired timeframe (default: 60 minutes).
Visual Components:
Trend Lines: Continuous lines representing the current trend, color-coded for easy identification (green for bullish, red for bearish, orange for neutral).
Bar Coloring: Bars are colored based on the current trend and its relationship to the AlphaTrend line.
Buy/Sell Triangles: Triangular markers appear on the chart to indicate buy and sell signals.
Power Signals: Larger triangles highlight strong buy and sell opportunities based on multiple confirming factors.
Highlighting: Transparent overlays highlight trending areas to enhance visual clarity.
Alerts:
Stay informed with customizable alerts that notify you of important market movements:
SuperTrend Buy/Sell: Alerts when standard buy or sell signals are generated.
Power Buy/Sell Alerts: Notifications for strong buy or sell signals based on comprehensive conditions.
Trend Direction Change: Alerts when the trend changes from bullish to bearish or vice versa.
How to Use:
Add to Chart: Apply the Power Trend Indicator to your preferred trading chart on TradingView.
Configure Settings: Adjust the input parameters to match your trading style and the timeframe you are analyzing.
Analyze Trends: Observe the trend lines, bar colors, and AlphaTrend line to understand the current market trend.
Follow Signals: Look for buy and sell signals or power signals to identify potential entry and exit points.
Set Alerts: Enable alerts to receive real-time notifications of significant trading opportunities.
Adjust as Needed: Fine-tune the settings based on market conditions and your trading experience.
Important Notes:
Backtesting: While the Power Trend Indicator is built using robust technical analysis principles, it's essential to backtest and validate its performance within your trading strategy.
Market Conditions: The indicator performs best in trending markets. In sideways or highly volatile markets, signal reliability may vary.
Risk Management: Always employ proper risk management techniques when trading based on indicator signals to protect your capital.
Disclaimer:
This indicator is intended for educational purposes only and does not provide financial advice or guarantee future performance. Trading involves risk, and past results are not indicative of future outcomes. Always conduct your own analysis and risk management.
روند چند تایمفریمی [کمتر از ۱ ساعت] حمید عمرانی فردروند حرکتی در تایم فریم های مختلف رو بر اساس مووینگ اوریج شناسایی میکنه، رنگ سبز به معنی صعود، قرمز نزول و خاکستری روندی خنثی را نمایش می دهد.
WSGTA IndicatorsThis set of indicators includes all of the items used in the WSGTA trading system. It will have the vwap added eventually, but currently holds the following EMA's -- 9, 15, 30, 65, 200; as well as the previous day/week HLC along with pivots.
Parabolic Detector (10min, 75°)Объяснение :
Таймфрейм 10 минут:
Используется функция request.security для получения цены закрытия за последние 10 минут.
Таймфрейм задается через input.timeframe("10", ...).
Расчет угла наклона:
Изменение цены (price_change) рассчитывается как разница между текущей ценой закрытия и ценой закрытия 10 минут назад.
Угол наклона (angle) рассчитывается с использованием функции math.atan (арктангенс). Учитывается, что 10 минут = 600 секунд.
Пороговое значение 75 градусов:
Если абсолютное значение угла (math.abs(angle)) больше или равно 75 градусам, то движение считается параболическим.
Визуализация:
На графике отображается метка "PARABOLIC", если движение параболическое.