INDIA/NIFTY DOWN DAY MARKERINDIA/NIFTY DOWN DAY MARKER is indicator designed for Indian investors that provides visual cues on whole universe of stock charts marking volatile days based on the performance of selected Indian market indices. This indicator helps traders and investors assess the relative strength of individual stocks during extreme market movements
Key Features:
1) Index Selection: Users can choose from four major Indian indices: Nifty 50, Nifty Midcap 100, Nifty Smallcap 100, and Nifty MIDSMALLCAP 400. This flexibility allows for tailored analysis based on market focus.
2) Customizable Thresholds: Users can set their desired percentage thresholds for both rise and fall days, with default values of 2%. This customization enables users to adapt the indicator to their trading strategies.
3) Visual Indicators:
Rise Days: When the selected index rises by the specified percentage, the chart background turns green, indicating a bullish trend.
Fall Days: Conversely, if the index falls by the defined percentage, the background changes to red, signaling a bearish trend.
Indicators and strategies
Al Brooks - SuiteThis indicator is designed to identify some key terms and methodologies inspired by Al Brooks price action. It helps trades to easy recognize for example i/ii/iii patterns or shaved bars defined in his books.
i/ii/iii : Single to triple inside bars. Every bar an inside bar to the previous. This can indiciate a potential contination or reversal pattern. (marked with "i")
o/oo/ooo : Single to triple outside bars. Not defined by Al Brooks, but could be an interesting area to develop a strategy. (marked with "o")
Shaved bar : A bar with little or no tail/wick on one or both sides. It can indicate strong directional movement or momentum. (marked with "s"
The timeframe is not important for the validation of the patterns.
Advanced Physics Financial Indicator Each component represents a scientific theory and is applied to the price data in a way that reflects key principles from that theory.
Detailed Explanation
1. Fractal Geometry - High/Low Signal
Concept: Fractal geometry studies self-similar patterns that repeat at different scales. In markets, fractals can be used to detect recurring patterns or turning points.
Implementation: The script detects pivot highs and lows using ta.pivothigh and ta.pivotlow, representing local turning points in price. The fractalSignal is set to 1 for a pivot high, -1 for a pivot low, and 0 if there is no signal. This logic reflects the cyclical, self-similar nature of price movements.
Practical Use: This signal is useful for identifying local tops and bottoms, allowing traders to spot potential reversals or consolidation points where fractal patterns emerge.
2. Quantum Mechanics - Probabilistic Monte Carlo Simulation
Concept: Quantum mechanics introduces uncertainty and probability into systems, much like how future price movements are inherently uncertain. Monte Carlo simulations are used to model a range of possible outcomes based on random inputs.
Implementation: In this script, we simulate 100 random outcomes by generating a random number between -1 and 1 for each iteration. These random values are stored in an array, and the average of these values is calculated to represent the Quantum Signal.
Practical Use: This probabilistic signal provides a sense of randomness and uncertainty in the market, reflecting the possibility of price movement in either direction. It simulates the market’s chaotic nature by considering multiple possible outcomes and their average.
3. Thermodynamics - Efficiency Ratio Signal
Concept: Thermodynamics deals with energy efficiency and entropy in systems. The efficiency ratio in financial terms can be used to measure how efficiently the price is moving relative to volatility.
Implementation: The Efficiency Ratio is calculated as the absolute price change over n periods divided by the sum of absolute changes for each period within n. This ratio shows how much of the price movement is directional versus random, mimicking the concept of efficiency in thermodynamic systems.
Practical Use: A high efficiency ratio suggests that the market is trending smoothly (high efficiency), while a low ratio indicates choppy, non-directional movement (low efficiency, or high entropy).
4. Chaos Theory - ATR Signal
Concept: Chaos theory studies how complex systems are highly sensitive to initial conditions, leading to unpredictable behavior. In markets, chaotic price movements can often be captured through volatility indicators.
Implementation: The script uses a very long ATR period (1000) to reflect slow-moving chaos over time. The Chaos Signal is computed by measuring the deviation of the current price from its long-term average (SMA), normalized by ATR. This captures price deviations over time, hinting at chaotic market behavior.
Practical Use: The signal measures how far the price deviates from its long-term average, which can signal the degree of chaos or extreme behavior in the market. High deviations indicate chaotic or volatile conditions, while low deviations suggest stability.
5. Network Theory - Correlation with BTC
Concept: Network theory studies how different components within a system are interconnected. In markets, assets are often correlated, meaning that price movements in one asset can influence or be influenced by another.
Implementation: This indicator calculates the correlation between the asset’s price and the price of Bitcoin (BTC) over 30 periods. The Network Signal shows how connected the asset is to BTC, reflecting broader market dynamics.
Practical Use: In a highly correlated market, BTC can act as a leading indicator for other assets. A strong correlation with BTC might suggest that the asset is likely to move in line with Bitcoin, while a weak or negative correlation might indicate that the asset is moving independently.
6. String Theory - RSI & MACD Interaction
Concept: String theory attempts to unify the fundamental forces of nature into a single framework. In trading, we can view the RSI and MACD as interacting forces that provide insights into momentum and trend.
Implementation: The script calculates the RSI and MACD and combines them into a single signal. The formula for String Signal is (RSI - 50) / 100 + (MACD Line - Signal Line) / 100, normalizing both indicators to a scale where their contributions are additive. The RSI represents momentum, and MACD shows trend direction and strength.
Practical Use: This signal helps in detecting moments where momentum (RSI) and trend strength (MACD) align, giving a clearer picture of the asset's direction and overbought/oversold conditions. It unifies these two indicators to create a more holistic view of market behavior.
7. Fluid Dynamics - On-Balance Volume (OBV) Signal
Concept: Fluid dynamics studies how fluids move and flow. In markets, volume can be seen as a "flow" that drives price movement, much like how fluid dynamics describe the flow of liquids.
Implementation: The script uses the OBV (On-Balance Volume) indicator to track the cumulative flow of volume based on price changes. The signal is further normalized by its moving average to smooth out fluctuations and make it more reflective of price pressure over time.
Practical Use: The Fluid Signal shows how the flow of volume is driving price action. If the OBV rises significantly, it suggests that there is strong buying pressure, while a falling OBV indicates selling pressure. It’s analogous to how pressure builds in a fluid system.
8. Final Signal - Combining All Physics-Based Indicators
Implementation: Each of the seven physics-inspired signals is combined into a single Final Signal by averaging their values. This approach blends different market insights from various scientific domains, creating a comprehensive view of the market’s condition.
Practical Use: The final signal gives you a holistic, multi-dimensional view of the market by merging different perspectives (fractal behavior, quantum probability, efficiency, chaos, correlation, momentum/trend, and volume flow). This approach helps traders understand the market's dynamics from multiple angles, offering deeper insights than any single indicator.
9. Color Coding Based on Signal Extremes
Concept: The color of the final signal plot dynamically reflects whether the market is in an extreme state.
Implementation: The signal color is determined using percentiles. If the Final Signal is in the top 55th percentile of its range, the signal is green (bullish). If it is between the 45th and 55th percentiles, it is orange (neutral). If it falls below the 45th percentile, it is red (bearish).
Practical Use: This visual representation helps traders quickly identify the strength of the signal. Bullish conditions (green), neutral conditions (orange), and bearish conditions (red) are clearly distinguished, simplifying decision-making.
aPortfolioaPortfolio can be overlayed on any chart with any timeframe. It provides a way to keep track of your portfolio(s) real-time and dynamically. Tool tips provide information about each input item.
Up to 8 customizable assets can be defined using 2 exchanges. The amount owned, the exchange used and the amount spent (in Euro or US Dollar) can be entered per asset.
Furthermore, available Euros and US Dollars can be entered as part of your portfolio.
The output consists of a label and a table , which can both be configured or switched off.
The label is being displayed at the current bar and price on the chart. It can show various totals and a total profit percentage.
The table display position can be set to “AUTO” or to a fixed customizable position. Per used asset, it can show the amount, value in BTC, value in Euro, value in US Dollar and value in a customizable currency. Also, the profit percentage and the percentage of the total portfolio value of an asset can be shown.
The total line shows the values and the profit percentage of the whole portfolio.
In the VIEW options, on the bottom of the settings/inputs window, the coloring can be customized. The profit percentages provide dynamic coloring.
It is also possible to use the EU (#.###,#) format in stead of the US format for numbers.
Although it has its limitations, aPortfolio might be useful and conveniently provides real-time insight.
GuidoN - October 2024
Buy and Sell Signals Based on SMI {K28}Buy/Sell Signals Based on SMI
This indicator provides buy and sell signals based on the Stochastic Momentum Index (SMI) to assist traders in identifying potential entry and exit points in the market. Here’s how to effectively use this indicator:
Usage Instructions:
Signal Interpretation:
No signal is 100% guaranteed
Green Labels: Indicate strong buy signals when the SMI crosses above its EMA, especially if the candle is green (closing price higher than opening price).
Red Labels: Indicate strong sell signals when the SMI crosses below its EMA.
Cautious Signals:
Blue Buy Labels: These buy signals appear when the SMI is in a cautious zone (between -20 and 20). They may not be as reliable, so confirm these signals with other indicators before acting.
Yellow Sell Labels: These buy signals appear when the SMI is in a cautious zone (between -20 and 20). They may not be as reliable, so confirm these signals with other indicators before acting.
Gray Buy and Sell Labels: Indicate potential false signals (when the SMI is overbought or oversold). Use other confirmation indicators to verify these signals.
Trade Strategy:
This indicator is designed for traders looking to make small, consistent profits. Focus on executing more trades rather than waiting for larger price movements.
Be mindful that the indicator may yield frequent signals, so it's essential to maintain discipline and only take trades that meet your criteria for confirmation.
Important Notes:
Caution with Signals: Always exercise caution when acting on blue or gray labels. These may indicate less reliable signals, so it's crucial to confirm with additional indicators.
No Perfect Indicator: Please remember that no trading indicator is perfect. Use this indicator at your own risk, and consider incorporating risk management strategies into your trading plan.
Conclusion:
By employing this SMI indicator, you can enhance your trading strategy focused on generating small, consistent profits through frequent trades. However, always verify signals and stay aware of market conditions to optimize your trading performance.
Range Tightening Indicator (RTI)The Range Tightening Indicator (RTI) quantifies price volatility relative to recent price action, helping traders identify low-volatility consolidations that often precede breakouts.
Range Tightening is calculated by measuring the range between each bar’s high and low prices over a chosen lookback period.
A 5-bar period is recommended for shorter-term momentum setups and a 15-bar period is recommended for swing trading. An option for a custom period is available to suit specific strategies. The default look back for custom is 50, ideal for longer term traders.
Other Key Features:
Dynamic Color Coding: The RTI line turns green when volatility doubles after a drop to or below 20, flagging significant volatility shifts commonly seen before breakouts.
Low-Volatility Dots: Orange dots appear on the RTI line when two or more consecutive bars show RTI values below 20, visually marking extended low-volatility periods.
Volatility Zones: Shaded zones provide quick context:
Zone 1 (0-5): Extremely tight volatility, shown in red.
Zone 2 (5-10): Low volatility, shown in light green.
Zone 3 (10-15): Moderate low volatility, shown in green.
The RTI indicator is ideal for traders looking to anticipate breakout conditions, with features that highlight consolidation phases, support momentum strategies, and help improve entry timing by focusing on shifts in volatility.
This indicator was inspired after Deepvue's RMV Indicator, but uses a different calculation. Results may vary.
Innovative Market Direction SignalThe indicator is designed to help traders identify moments when price action, volatility, volume and certain time trends are aligned in a way that signals a high probability entry into the market in one direction or another.
General:
The indicator is superimposed on the price chart (overlay=true), which makes it more convenient for visual analysis of trading signals in the context of price levels.
The user can configure the parameters through the built-in interface (for example, "Lookback Period", "Buy Signal Threshold", "Sell Signal Threshold").
Main components and their functionality:
Parameters for the user:
window_size - the number of bars or candles for calculating various metrics.
buy_threshold and sell_threshold - threshold values for determining buy and sell signals.
Momentum Asymmetry:
The code calculates the difference between positive (upMomentum) and negative (downMomentum) price changes within the selected time window.
Using a loop, it adds or updates values to the corresponding arrays, checking whether the price is increasing (positive change) or decreasing (negative change).
After collecting the data, the average positive and negative price change over the period is calculated, their proportion and input into momentum_asymmetry. This is a measure of how much the current price movement deviates from the high of the current period.
Volatility Analysis:
The ta.tr function is used to calculate the true price range.
Then, the standard deviation (ta.stdev) is used to calculate the volatility over the specified period, which reflects the volatility of prices.
Volume Momentum:
The volume and price change are combined to find the volume momentum (current_volume_momentum).
If the volume is associated with a price increase, it is considered positive, otherwise it is considered negative.
Seasonal and cyclical changes:
The seasonal_index is calculated, which reflects the time between the current timestamp and the beginning of the analyzed time window (window_size), divided by the time between the current timestamp and the previous candlestick.
Combined signal:
All calculated components (momentum asymmetry, volume momentum, volatility and seasonal index) are summed up in combined_signal.
Buy signals (buy_signal) and sell signals (sell_signal) are generated depending on the thresholds set by the user.
Visualization:
The plotshape indicator displays green circles (buy signals) above the bar and red circles (sell signals) below the bar.
The plot function outputs the combined_signal line to visualize the combined indicator.
CSP Key Level Finder This script is designed for option sellers, particularly those using strategies like cash-secured puts (CSPs), to help automate the process of identifying key levels in the market. The core functionality is to calculate a specific price level where a 5% return can be achieved based on the historical volatility of the underlying asset. This level is visually plotted on a chart to guide traders in making more informed decisions without manually calculating the thresholds themselves.
The script incorporates implied volatility (IV) data to determine the volatility rank of the asset and calculates historical volatility (HV) based on price movements. These volatility measures help assess market conditions. The resulting key level is drawn as a line on the chart, along with a label that includes relevant information about volatility, making it easier for traders to evaluate potential option selling strategies.
Additionally, the script includes user input options, allowing users to control when to display the key level on the chart, offering flexibility based on individual needs. Overall, the script provides a visual aid for option sellers to streamline the process of identifying attractive entry points.
Fibonacci Buy /Sell SignalsHere is a Fibonacci-based Buy/Sell Indicator using retracement levels for potential support and resistance zones. This indicator plots Fibonacci levels and provides buy/sell signals based on price interaction with these levels.
Fibonacci Levels:
Highest high and lowest low over the lookback period.
Key levels: 38.2% (retracement), 50% (midpoint), 61.8% (strong retracement).
Buy Signal: When the price crosses above the 61.8% Fibonacci level (bullish).
Sell Signal: When the price crosses below the 38.2% Fibonacci level (bearish).
Enhanced CCI with Trend FiltersThis indicator combines the power of the Commodity Channel Index (CCI) with adaptive trend filters and divergence detection to identify high-probability trading opportunities. It's designed to reduce false signals by incorporating trend direction and divergence confirmation.
🔍 How It Works:
1. Trend Detection:
- Uses an adaptive Simple Moving Average (SMA) that automatically adjusts between daily and weekly timeframes
- Daily mode: Default 200 SMA for longer-term trend
- Weekly mode: Default 40 SMA for broader market perspective
- Trend direction is determined by comparing current SMA value to its previous value
2. CCI Component:
- Traditional CCI calculation with customizable length (default: 20)
- Adjustable overbought (default: +100) and oversold (default: -100) levels
- Color-coded CCI line for quick visual reference:
* Green: Overbought and rising
* Red: Oversold and falling
* Gray: Neutral zone
3. Signal Generation:
- Buy Signal (Green Background):
* CCI crosses above oversold level AND
* Main trend is confirmed bullish (rising SMA)
- Sell Signal (Red Background):
* CCI crosses below overbought level AND
* Main trend is confirmed bearish (falling SMA)
4. Divergence Detection:
- Automatically identifies bullish and bearish divergences
- Bullish Divergence: Price makes lower low while CCI makes higher low
- Bearish Divergence: Price makes higher high while CCI makes lower high
- Visualized with distinct markers on the CCI line
- Can be used to set up alerts for divergence confirmations
⚙️ Customization Options:
- CCI calculation length and price source
- Overbought/Oversold levels
- SMA lengths for daily and weekly modes
- Divergence lookback period
- Signal colors and visualization settings
🔔 Alert Capabilities:
- Set alerts for CCI crossovers of overbought/oversold levels
- Create divergence detection alerts
- Configure trend change notifications
- Combine multiple conditions for complex alert strategies
💡 Trading Tips:
- Combine divergence signals with trend direction for better accuracy
- Wait for signal confirmation before entering trades
- Use additional indicators or price action for exit decisions
This indicator helps traders identify potential trend reversals while keeping them aligned with the main market trend. Perfect for both trend following and counter-trend strategies when used appropriately.
Tags: CCI, trend following, divergence, momentum, signals, SMA, multi-timeframe, technical analysis, trend filter, oversold, overbought
Note: Past performance does not guarantee future results. Always combine with proper risk management.
Range Detection [No Repaint]DETECTS RANGE EARLY
Using Confirmed Data:
All calculations now use to reference the previous completed candle
Signals are only generated based on completed candles
Range state is stored and confirmed before displaying
Key Changes to Prevent Repainting:
ATR calculations use previous candle data
Bollinger Bands calculate from previous closes
Price range checks use previous highs and lows
Range state is confirmed before displaying
How to Verify No Repainting:
Signals will only appear after a candle closes
Historical signals will remain unchanged
Alerts will only trigger on confirmed changes
This means:
The indicator will be slightly delayed (one candle)
But signals will be more reliable
Historical analysis will be accurate
Backtesting results will match real-time performance
Usage Tips with No-Repaint Version:
Wait for candle close before acting on signals
Use the confirmed range state for decision making
Consider the one-candle delay in your strategy timing
Alerts will only trigger on confirmed condition changes
Would you like me to:
Add a parameter to choose between real-time and no-repaint modes?
Add visual indicators for pending vs confirmed signals?
Modify the sensitivity of the range detection?
Price Action StrategyThe **Price Action Strategy** is a tool designed to capture potential market reversals by utilizing classic reversal candlestick patterns such as Hammer, Shooting Star, Doji, and Pin Bar near dinamic support and resistance levels.
***Note to moderators
- The moving average was removed from the strategy because it was not suitable for the strategy and not participating in the entry or exit criteria.
- The moving average length has been replaced/renamed by the support/resistance lenght.
- The bullish engulfing and bearish engulfing patterns were also removed because in practice they were not working as entry criteria, since the candle price invariably closes far from the support/resistance level even considering the sensitivity range. There was no change in the backtest results after removing these patterns.
### Key Elements of the Strategy
1. Support and Resistance Levels
- Support and resistance are pivotal price levels where the asset has previously struggled to move lower (support) or higher (resistance). These levels act as psychological barriers where buying interest (at support) or selling interest (at resistance) often increases, potentially causing price reversals.
- In this strategy, support is calculated as the lowest low and resistance as the highest high over a 16-period length. When the price nears these levels, it indicates possible zones for a reversal, and the strategy looks for specific candlestick patterns to confirm an entry.
2. Candlestick Patterns
- This strategy uses classic reversal patterns, including:
- **Hammer**: Indicates a buy signal, suggesting rejection of lower prices.
- **Shooting Star**: Suggests a sell signal, showing rejection of higher prices.
- **Doji**: Reflects indecision and potential reversal.
- **Pin Bar**: Represents price rejection with a long shadow, often signaling a reversal.
By combining these reversal patterns with the proximity to dinamic support or resistance levels, the strategy aims to capture potential reversal movements.
3. Sensitivity Level
- The sensitivity parameter adjusts the acceptable range (Default 0.018 = 1.8%) around support and resistance levels within which reversal patterns can trigger trades (i.e. the closing price of the candle must occur within the specified range defined by the sensitivity parameter). A higher sensitivity value expands this range, potentially leading to less accurate signals, as it may allow for more false positives.
4. Entry Criteria
- **Buy (Long)**: A Hammer, Doji, or Pin Bar pattern near support.
- **Sell (Short)**: A Shooting Star, Doji, or Pin Bar near resistance.
5. Exit criteria
- Take profit = 9.5%
- Stop loss = 16%
6. No Repainting
- The Price Action Strategy is not subject to repainting.
7. Position Sizing by Equity and risk management
- This strategy has a default configuration to operate with 35% of the equity. The stop loss is set to 16% from the entry price. This way, the strategy is putting at risk about 16% of 35% of equity, that is, around 5.6% of equity for each trade. The percentage of equity and stop loss can be adjusted by the user according to their risk management.
8. Backtest results
- This strategy was subjected to deep backtest and operations in replay mode on **1000000MOGUSDT.P**, with the inclusion of transaction fees at 0.12% and slipagge of 5 ticks, and the past results have shown consistent profitability. Past results are no guarantee of future results. The strategy's backtest results may even be due to overfitting with past data.
9. Chart Visualization
- Support and resistance levels are displayed as green (support) and red (resistance) lines.
- Only the candlestick pattern that generated the entry signal to triger the trade is identified and labeled on the chart. During the operation, the occurrence of new Doji, Pin Bar, Hammer and Shooting Star patterns will not be demonstrated on the chart, since the exit criteria are based on percentage take profit and stop loss.
Doji:
Pin Bar and Doji
Shooting Star and Doji
Hammer
10. Default settings
Chart timeframe: 20 min
Moving average lenght: 16
Sensitivity: 0.018
Stop loss (%): 16
Take Profit (%): 9.5
BYBIT:1000000MOGUSDT.P
Night Low Liquidity Congestions with 4 Trading SessionsThis indicator is designed to help traders visualize and analyze key market periods of low liquidity during the night and identify high-activity zones in the morning. It also includes customizable time sessions for major global markets, including the European and American sessions, as well as the London Close session.
T he main functionalities include:
- Night Low Liquidity Phase: This highlights periods with typically low market activity during the night (default: 20:01–5:59). It also displays the total range (in pips) during this phase, allowing traders to identify potential price consolidations.
- Morning Hot Zone: This focuses on high-activity periods in the early morning (default: 6:00–7:59), providing visual cues without altering bar colors.
- European Trading Session: Displays the European market’s open hours (default: 8:00–12:00), shaded in blue, to mark increased volatility typically seen during this period.
- American Trading Session: Marks the active hours of the U.S. market (default: 12:01–16:59), where market activity tends to peak.
- London Close Area: Highlights the closing hours of the London market (default: 17:00–20:00), allowing traders to track potential liquidity shifts.
Key Features:
1. Customizable Time Sessions:
- The indicator allows for full customization of the start and end times for each market session, making it adaptable to different instruments and trading style.
- Traders can choose their preferred color and opacity for each time zone to suit their charting preferences.
2. Night Low Liquidity Pip Range Calculation:
- Automatically calculates and displays the pip range for the Night Low Liquidity phase.
- The range is colored red if it exceeds the specified threshold and green if it remains below it.
3. Alarm System:
- Customizable alerts for H1, M15, and M5 timeframes.
- Traders can set alerts to trigger just before a bar closes during specific sessions (European, American, or London Close) and on selected days of the week (Monday–Friday).
- The alarm system allows for full customization of active hours and days, giving traders full control over their notifications.
4. Clear Visual Cues:
- The indicator uses transparent shading to differentiate market sessions, making it easy to spot different phases of the trading day.
- Each session is visually distinct and can be toggled on or off based on trader preferences.
Ideal For:
- Traders who focus on intraday strategies and want to understand how market sessions affect liquidity and volatility.
- Those looking to trade during specific time windows like the Night Low Liquidity or Morning Hot Zones.
- Traders who need to automate their alerts based on specific market hours and close events for major timeframes.
Supertrend StrategyThe Supertrend Strategy was created based on the Supertrend and Relative Strength Index (RSI) indicators, widely respected tools in technical analysis. This strategy combines these two indicators to capture market trends with precision and reliability, looking for optimizing exit levels at oversold or overbought price levels.
The Supertrend indicator identifies trend direction based on price and volatility by using the Average True Range (ATR). The ATR measures market volatility by calculating the average range between an asset’s high and low prices over a set period. It provides insight into price fluctuations, with higher ATR values indicating increased volatility and lower values suggesting stability. The Supertrend Indicator plots a line above or below the price, signaling potential buy or sell opportunities: when the price closes above the Supertrend line, an uptrend is indicated, while a close below the line suggests a downtrend. This line shifts as price movements and volatility levels change, acting as both a trailing stop loss and trend confirmation.
To enhance the Supertrend strategy, the Relative Strength Index (RSI) has been added as an exit criterion. As a momentum oscillator, the RSI indicates overbought (usually above 70) or oversold (usually below 30) conditions. This integration allows trades to close when the asset is overbought or oversold, capturing gains before a possible reversal, even if the percentage take profit level has not been reached. This mechanism aims to prevent losses due to market reversals before the Supertrend signal changes.
### Key Features
1. **Entry criteria**:
- The strategy uses the Supertrend indicator calculated by adding or subtracting a multiple of the ATR from the closing price, depending on the trend direction.
- When the price crosses above the Supertrend line, the strategy signals a long (buy) entry. Conversely, when the price crosses below, it signals a short (sell) entry.
- The strategy performs a reversal if there is an open position and a change in the direction of the supertrend occurs
2. **Exit criteria**:
- Take profit of 30% (default) on the average position price.
- Oversold (≤ 5) or overbought (≥ 95) RSI
- Reversal when there is a change in direction of the Supertrend
3. **No Repainting**:
- This strategy is not subject to repainting, as long as the timeframe configured on your chart is the same as the supertrend timeframe .
4. **Position Sizing by Equity and risk management**:
- This strategy has a default configuration to operate with 35% of the equity. At the time of opening the position, the supertrend line is typically positioned at about 12 to 16% of the entry price. This way, the strategy is putting at risk about 16% of 35% of equity, that is, around 5.6% of equity for each trade. The percentage of equity can be adjusted by the user according to their risk management.
5. **Backtest results**:
- This strategy was subjected to deep backtesting and operations in replay mode, including transaction fees of 0.12%, and slippage of 5 ticks.
- The past results in deep backtest and replay mode were compatible and profitable (Variable results depending on the take profit used, supertrend and RSI parameters). However, it should be noted that few operations were evaluated, since the currency in question has been created for a short time and the frequency of operations is relatively small.
- Past results are no guarantee of future results. The strategy's backtest results may even be due to overfitting with past data.
Default Settings
Chart timeframe: 2h
Supertrend Factor: 3.42
ATR period: 14
Supertrend timeframe: 2 h
RSI timeframe: 15 min
RSI Lenght: 5 min
RSI Upper limit: 95
RSI Lower Limit: 5
Take Profit: 30%
BYBIT:1000000MOGUSDT.P
Max Support and Min Resistance LevelsРусский
Индикатор уровней поддержки и сопротивления за выбранный период
Этот индикатор позволяет автоматически отображать уровни поддержки и сопротивления, основываясь на исторических максимумах и минимумах за выбранный период свечей. Пользователь может настроить длину периода, чтобы адаптировать анализ под различные стратегии торговли. Индикатор идеально подходит для выявления ключевых ценовых уровней, которые могут служить зонами остановки или разворота движения цены.
Основные особенности:
Пользовательские настройки периода:
В настройках индикатора можно выбрать количество свечей, за которые будут анализироваться максимальные и минимальные значения. Это позволяет гибко адаптировать индикатор под текущую рыночную ситуацию и таймфрейм.
Автоматическое определение уровней:
Индикатор использует функции для нахождения самых высоких и самых низких цен за указанный период и автоматически строит горизонтальные линии для отображения этих уровней.
Точные уровни поддержки и сопротивления:
Линии поддержки и сопротивления начинаются непосредственно от пиковых значений свечей, что помогает точно определить ключевые точки на графике.
Как использовать:
Настройте желаемый период свечей в настройках индикатора.
Следите за тем, как цена ведет себя при достижении уровней поддержки и сопротивления. Эти уровни могут использоваться для определения точек входа и выхода, а также установки стоп-лоссов и тейк-профитов.
Применение:
Использование индикатора может помочь трейдерам визуально идентифицировать важные ценовые уровни, где можно ожидать отскоки или прорывы. Это удобно как для скальперов, так и для долгосрочных трейдеров.
English
Support and Resistance Levels Indicator for Selected Period
This indicator automatically displays support and resistance levels based on historical highs and lows over a selected period of candles. The user can customize the length of the period to adapt the analysis to various trading strategies. The indicator is ideal for identifying key price levels that can act as zones of stop or reversal.
Key Features:
Customizable Period Settings:
In the indicator settings, you can choose the number of candles over which the highest and lowest values will be analyzed. This allows you to flexibly adapt the indicator to the current market situation and timeframe.
Automatic Level Detection:
The indicator uses functions to find the highest and lowest prices over the specified period and automatically plots horizontal lines to display these levels.
Accurate Support and Resistance Levels:
Support and resistance lines start directly from the peak values of the candles, helping to accurately identify key points on the chart.
How to Use:
Adjust the desired period of candles in the indicator settings.
Observe how the price behaves when it reaches the support and resistance levels. These levels can be used to determine entry and exit points, as well as setting stop-loss and take-profit orders.
Application:
Using the indicator can help traders visually identify important price levels where bounces or breakouts are expected. This is convenient for both scalpers and long-term traders.
SimpleChart Indicator V1copyThe SimpleChart Indicator V1 is a technical analysis tool designed to facilitate trading decisions by providing clear buy and sell signals based on the relationship between the price and a Simple Moving Average (SMA). This indicator is especially useful for traders who prefer a straightforward, rule-based approach to market analysis.
Key Features:
Simple Moving Average (SMA): The core of the indicator is the SMA, which smooths price data over a specified period (default is 14 periods). This helps to identify the overall trend direction by filtering out short-term fluctuations.
Buy Signal: A buy signal is generated when the price crosses above the SMA. This indicates a potential upward trend, suggesting that it may be a good time to enter a long position.
Sell Signal: Conversely, a sell signal is triggered when the price crosses below the SMA. This suggests a potential downward trend, indicating that it may be time to exit a long position or consider a short position.
Visual Representation: The indicator provides clear visual cues on the chart:
Buy signals are marked with green labels below the bars.
Sell signals are marked with red labels above the bars.
The SMA line is plotted in blue, making it easy to identify the trend.
Benefits of Using SimpleChart Indicator V1:
User-Friendly: The indicator is easy to understand and implement, making it suitable for both novice and experienced traders.
Clarity in Decision Making: By providing distinct signals, the indicator helps traders make quick decisions based on the market's behavior concerning the moving average.
Trend Following: The SimpleChart Indicator V1 is particularly effective in trending markets, allowing traders to capture significant price movements.
Use Cases:
Day Trading: Traders can use the indicator for short-term trades by reacting quickly to buy and sell signals.
Swing Trading: The SMA helps identify trends over a longer period, making it suitable for swing traders looking to capitalize on price movements.
In summary, the SimpleChart Indicator V1 is a valuable tool for traders seeking a straightforward and effective way to analyze market trends and make informed trading decisions.
SMA Fibonacci Rainbow Waves[FibonacciFlux]SMA Fibonacci Rainbow Waves
Overview
The SMA Fibonacci Rainbow Waves script is designed for traders who seek to blend simplicity with complexity in their trading strategies. By leveraging multiple Simple Moving Averages (SMAs) weighted by Fibonacci numbers, this indicator provides a nuanced view of price action, allowing traders to capture essential market dynamics while filtering out unnecessary noise.
Key Features
1. Multiple Simple Moving Averages (SMA)
- The indicator employs a series of SMAs to represent both short-term and long-term trends, providing a comprehensive view of market sentiment.
- Each SMA helps identify critical price levels that serve as support and resistance, particularly the purple Fibonacci SMA, which can be pivotal for limit entries. Traders positioned at this level can initiate stop-loss hunts at the institutional level, potentially achieving risk-reward ratios exceeding 30.
2. Fibonacci Weighting
- By applying Fibonacci principles to the SMAs, the indicator enhances adaptability to market conditions.
- This unique approach allows traders to pinpoint significant support and resistance levels within Fibonacci layers, enabling them to anticipate market movements effectively.
3. Dynamic Support and Resistance Levels
- The SMA Fibonacci Rainbow Waves indicator identifies key price levels that act as support and resistance based on Fibonacci layers.
- For instance, on the hourly chart, these levels function as reliable zones for traders to watch for potential reversals, while on the 15-minute chart, a consolidation within the rainbow pocket followed by expansion can signal lucrative trading opportunities.
4. Visual Clarity with Color Coding
- Each SMA is assigned a distinct color, making it easy to differentiate between the various levels on the chart.
- Fills between SMAs visually represent zones of confluence, enhancing the analysis of potential trading opportunities.
Signal Generation and Alerts
- The indicator generates buy and sell signals based on the interactions of the SMAs, providing clear entry and exit points.
- Customizable alerts notify traders of significant market changes, allowing for timely reactions to evolving conditions.
Benefits
1. Simplified Trading Approach
- Traders can focus on significant market trends without distraction, enhancing decision-making efficiency and reducing emotional trading.
2. Flexibility Across Timeframes
- The indicator operates effectively across multiple timeframes, allowing traders to apply its principles in various scenarios, from scalping to longer-term strategies.
3. Enhanced Market Insights
- The combination of multiple SMAs and Fibonacci weighting offers a comprehensive view of market trends, helping traders identify lucrative opportunities that may be overlooked.
4. Bridging Simplicity and Complexity
- This indicator elegantly addresses the contradictions in trading psychology, allowing traders to maintain clarity while navigating complex market dynamics.
Conclusion
The SMA Fibonacci Rainbow Waves script is an essential tool for traders seeking to streamline their analysis while effectively capturing market movements. By integrating Fibonacci principles with multiple SMAs, this indicator empowers traders to follow trends confidently. Its design makes it invaluable for both novice and experienced traders, revealing entry points often missed by traditional indicators.
Open Source Collaboration
This script is available as an open-source project on TradingView, inviting contributions from the global trading community to enhance its functionality. Collaboration ensures it remains a valuable resource for market participants.
Important Note
As with any trading tool, thorough analysis and risk management are crucial when using this indicator. Past performance does not guarantee future results, and traders should always prepare for potential market fluctuations.
TechniTrend: Trend and Volume Indicator🟪 Overview
The "TechniTrend: Trend and Volume Indicator" is designed to assist traders in identifying optimal entry and exit points in the market by combining trend detection and volume analysis. This indicator integrates moving average-based trend recognition with volume threshold analysis to provide clear buy and sell signals. Additionally, it includes divergence filtering and correlation analysis to enhance the accuracy of signals, making it suitable for traders who want to identify strong trends and high-probability trading opportunities.
🟪 Indicator Components
🔹Trend Moving Average (MA):
The indicator calculates a moving average based on the closing prices to identify the overall trend. Various moving average types are available for customization:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Hull Moving Average (HMA)
The length of the moving average can be adjusted via the Trend MA Length input to adapt to different market conditions.
🔹Volume Analysis:
A volume moving average is calculated over a specified period (Volume MA Length), with a volume threshold derived by multiplying this average by a user-defined Volume Threshold Factor.
This threshold helps to classify volume as either high or low, which plays a crucial role in signal generation.
🔹Divergence Detection:
The indicator can filter out signals when there is a divergence between the price movement and volume changes. Divergence occurs when the price moves in one direction while the volume moves in the opposite direction, indicating a potential weakening of the trend.
🔹Correlation Analysis:
The correlation between price and volume changes is calculated over the same length as the trend moving average. The user can enable this filter to ensure that buy or sell signals are only generated when the correlation exceeds a specified threshold (Correlation Threshold).
🟪 Signals and Alerts
🔹Buy Signal: Generated when the price is above the trend moving average (indicating an uptrend), and the current volume exceeds the volume threshold (indicating high volume). The signal can be filtered based on divergence or correlation settings.
🔹Sell Signal: Triggered when the price is below the trend moving average (indicating a downtrend), and the volume is above the threshold. Similarly, the signal is affected by divergence and correlation filters.
🔹Visual Indicators:
The trend line is plotted on the chart for easy trend identification.
Buy and sell signals are displayed using green and red labels, respectively.
Background highlighting is used to mark areas of high volume on the chart.
🟪 Customizable Inputs
🔹Trend MA Length: Adjusts the moving average length used to detect trends.
🔹Volume MA Length: Sets the length for the volume moving average calculation.
🔹MA Type for Trend: Select the type of moving average for trend detection (SMA, EMA, WMA, HMA).
🔹Volume Threshold Factor: Multiplier used to define high-volume conditions based on the volume moving average.
🔹Enable Divergence Filter: Allows the user to filter out signals where divergence between price and volume is detected.
🔹Enable Correlation Filter: Enables filtering of signals based on the correlation between price and volume changes.
🔹Correlation Threshold: Sets the minimum correlation value required for a signal to be considered valid.
🟪 Alerts
The indicator provides alert conditions for buy and sell signals, allowing traders to receive notifications when new trading opportunities arise.
🟪 Usage Tips
🔹Adjust Moving Average Lengths: Shorter lengths can make the indicator more sensitive to recent market changes, while longer lengths provide a smoother, more reliable trend signal.
🔹Volume Threshold Factor: Increasing this factor raises the volume required to generate high-volume signals, which can help filter.
🟪 Disclaimer:
The "TechniTrend: Trend and Volume Indicator" is a technical analysis tool intended for educational and informational purposes only. It is not a guarantee of future performance or a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk, and past performance is not indicative of future results. Users should conduct their own research and seek advice from a qualified financial professional before making any investment decisions. The creators of this indicator are not liable for any financial losses or damages incurred through its use.
Daily Range Position Sizer// ENGLISH, GERMAN BELOW
Daily Range Position Sizer
A versatile indicator that helps traders calculate position sizes based on daily high/low levels with flexible session handling.
Features:
- Displays daily high and low levels with broken line style for clear visibility
- Calculates position sizes for both long and short setups based on your defined risk amount
- Flexible session dealing with optional pre-market inclusion
- Real-time position size updates based on current price
- Clearly visible info box showing position sizes
Settings:
- Risk Amount ($): Define your desired risk amount in dollars
- Include Pre-market: Toggle between regular session only (9:30-16:00 ET) or full day including pre-market
- X-Offset: Adjust the horizontal position of the info box
Usage:
1. Set your desired risk amount
2. Choose whether to include pre-market data
3. Monitor daily ranges and corresponding position sizes
4. Use the automatically calculated position sizes for your trades
Note: This indicator is for educational and informational purposes only. Always verify calculations and manage your risk appropriately.
Contributions and feedback are welcome!
// GERMAN
Tageshoch/-Tief & Positionsgröße
Ein vielseitiger Indikator, der Tradern bei der Berechnung von Positionsgrößen auf der Basis von Tageshochs und -tiefs hilft und eine flexible Handhabung der Sitzungen ermöglicht.
Eigenschaften:
- Zeigt tägliche Höchst- und Tiefststände mit gestrichelten Linien für eine klare Sichtbarkeit an
- Berechnet Positionsgrößen für Long- und Short-Setups auf der Grundlage des von Ihnen definierten Risikobetrags
- Flexibles Session-Handling mit optionaler Einbeziehung des vorbörslichen Handels
- Aktualisierung der Positionsgröße in Echtzeit auf Basis des aktuellen Kurses
- Deutlich sichtbare Infobox mit Positionsgrößen
Einstellungen:
- Risikobetrag ($): Definieren Sie Ihren gewünschten Risikobetrag in Dollar
- Vorbörslich einbeziehen: Schalten Sie um zwischen nur regulärer Sitzung (9:30-16:00 ET) oder ganztägig einschließlich Vormarkt
- X-Absatz: Passen Sie die horizontale Position der Infobox an
Verwendung:
1. Legen Sie den gewünschten Risikobetrag fest
2. Wählen Sie, ob vorbörsliche Daten einbezogen werden sollen
3. Überwachen Sie die täglichen Bandbreiten und die entsprechenden Positionsgrößen
4. Verwenden Sie die automatisch berechneten Positionsgrößen für Ihre Trades
Hinweis: Dieser Indikator ist nur für Lehr- und Informationszwecke gedacht. Überprüfen Sie stets die Berechnungen und steuern Sie Ihr Risiko angemessen.
Beiträge und Feedback sind willkommen!
HMA Fibonacci Rainbow Waves[FibonacciFlux]HMA Fibonacci Rainbow Waves
Overview
The HMA Fibonacci Rainbow Waves script is designed for traders who strive for simplicity in their trading strategies while navigating the complexities of chart analysis. By utilizing the Hull Moving Average (HMA) for smoothing, this indicator provides a refined view of price action. However, over-smoothing can sometimes filter out essential market noise. To address this, the indicator incorporates a unique approach by applying Fibonacci weighting to seven HMA200 calculations. This enables traders to capture noise while effectively following market trends.
BTCUSDT 4hour
Key Features
1. Hull Moving Average (HMA)
- The HMA is known for its responsiveness and ability to filter out noise, providing a clear view of the underlying trend.
- The indicator balances smoothness with responsiveness, making it suitable for various trading styles, from day trading to swing trading and scalping.
2. Fibonacci Weighting
- By applying Fibonacci numbers to the HMA calculations, the indicator enhances its ability to adapt to market dynamics.
- This unique approach allows traders to maintain clarity while accommodating fluctuations in price action, ensuring they do not miss critical entry points.
3. Multi-Timeframe Functionality
- The HMA Fibonacci Rainbow Waves indicator operates effectively across multiple timeframes, including daily, 4-hour, 5-minute, and 1-minute charts.
- This adaptability makes it a valuable tool for traders, regardless of their preferred trading style, facilitating seamless transitions between different market conditions.
4. Noise Capture and Trend Following
- The indicator is designed to capture essential market movements while filtering out excessive noise.
- It helps traders follow trends without being overwhelmed by market fluctuations, allowing them to act on advantageous entry conditions that might otherwise be obscured.
Signal Generation and Alerts
- The indicator generates buy and sell signals based on the relationship between the HMAs, providing clear entry and exit points.
- Customizable alerts keep traders informed of significant changes in market conditions, enabling timely decisions that reflect the nuances of market behavior.
BTCUSDT 15min
Benefits
1. Simplified Trading Approach
- Traders can focus on core market movements without being distracted by excessive noise, enhancing decision-making efficiency and minimizing emotional trading.
2. Flexibility Across Timeframes
- The ability to function across different timeframes allows traders to apply the same principles in various trading scenarios, from quick scalps to strategic swing trades.
3. Enhanced Market Insights
- The combination of HMA smoothing and Fibonacci weighting offers a comprehensive view of market trends, aiding traders in identifying potential opportunities, including those that institutional investors might exploit.
4. Resolving Complexity with Simplicity
- This indicator elegantly bridges the gap between simplicity and complexity, providing a single tool that addresses the inherent contradictions in trading psychology. It allows traders to simplify their strategies while still capturing the dynamic nature of the market.
BTCUSDT 1min
Conclusion
The HMA Fibonacci Rainbow Waves script is a powerful tool for traders seeking to streamline their analysis while effectively capturing market dynamics. By integrating advanced smoothing techniques with Fibonacci weighting, this indicator empowers traders to follow market trends confidently across various timeframes. Its design makes it an essential asset for both novice and experienced traders alike, offering insights that can reveal entry points often missed by traditional indicators.
Open Source Collaboration
This script is released as an open-source project on TradingView, inviting the global trading community to contribute and enhance its functionality. By collaborating on this project, traders can help improve its capabilities, ensuring it remains a valuable resource for market participants around the world.
Important Note
As with any trading tool, it is crucial to conduct thorough analysis and risk management when using this indicator. Past performance does not guarantee future results, and traders should always be prepared for potential market fluctuations.
Weekly OHLC LevelsWeekly OHLC Levels Indicator
This indicator plots the previous week's open, high, low, and close (OHLC) levels on the chart for the entire duration of the current week. These levels can be critical for identifying key support and resistance zones, as they often represent psychological levels that traders watch closely.
Features:
Plots previous week’s High (green), Low (red), Open (blue), and Close (purple).
Levels remain visible throughout the current week, providing consistent reference points.
Helps in visualizing how current price action interacts with last week’s important levels.
How to Use:
Use these levels to gauge potential support and resistance areas.
Monitor price reactions around these levels, especially during the beginning of the week, as they can serve as pivot points.
This indicator is suitable for all markets and timeframes, providing valuable insight into price structure relative to weekly market behavior.
Counting Positive and Negative BarsCounting Positive and Negative Bars: It goes through a specified number of bars and counts how many are positive (close above the previous value) and how many are negative (close below the previous value).
Imbalance Criterion: If the count of negative bars exceeds that of positive bars by a configurable margin (such as 60%), it signals a possible buy (Long) condition. The opposite applies for sell (Short) conditions..
Dynamic Score SMA [QuantAlgo]Dynamic Score SMA 📈🌊
The Dynamic Score SMA by QuantAlgo offers a powerful trend-following approach that combines the simplicity of the Simple Moving Average (SMA) with an innovative dynamic trend scoring technique . By continuously evaluating price movement relative to the SMA over a customizable window, this indicator adapts to varying market conditions, providing traders and investors with clearer, more adaptable trend signals. With this dynamic scoring approach, the Dynamic Score SMA helps identify trend shifts, allowing for more strategic decision-making.
🌟 Conceptual Foundation and Innovation
At the core of the Dynamic Score SMA is its dynamic trend score system , which assesses price movements by comparing them to the SMA over a series of historical data points. This technique goes beyond traditional SMA indicators by offering a dynamic, probabilistic evaluation of trend strength, delivering a more responsive and nuanced view of market direction. The integration of this scoring system enables traders and investors to navigate both trending and sideway markets with greater confidence and precision.
⚙️ Technical Composition and Calculation
The Dynamic Score SMA leverages the Simple Moving Average to establish a baseline trend, with customizable SMA length to control the indicator’s sensitivity. The dynamic trend scoring technique then evaluates price behavior relative to the SMA over a specified window, generating a trend score that reflects the current market bias.
When the score crosses the designated uptrend or downtrend thresholds, the indicator signals a potential trend shift. By adjusting the SMA length, window duration, and thresholds, users can refine the indicator’s responsiveness to match their preferred trading or investing strategy, making it suitable for both volatile and steady markets.
📈 Features and Practical Applications
Customizable SMA Length: Set the length of the SMA to control how sensitive the trend is to price changes. Longer lengths produce smoother trends, while shorter lengths increase responsiveness.
Window Length for Dynamic Scoring: Adjust the window length to determine how many data points are considered in the dynamic trend score calculation, allowing for more tailored analysis of recent versus long-term trends.
Uptrend/Downtrend Thresholds: Define thresholds for triggering trend signals. Higher thresholds reduce sensitivity, providing clearer signals in volatile markets, while lower thresholds capture shorter-term movements.
Bar and Background Coloring: Visual cues, including bar coloring and background fills, provide a quick reference for current trend direction, making it easier to monitor market conditions.
Trend Confirmation: The dynamic trend scoring system verifies trend strength, offering more reliable entry and exit points by filtering out potential false signals.
⚡️ How to Use
✅ Add the Indicator: Add the Dynamic Score SMA to your favourites, then apply it to your chart. Customize the SMA length, window size, and thresholds to match your trading or investing preferences.
👀 Monitor Trend Shifts: Observe the trend in relation to the SMA and watch for signals when the score crosses key thresholds. Bar and/or background coloring will help identify the current trend direction and any shifts in momentum.
🔔 Set Alerts: Configure alerts for significant trend crossovers and reversals, enabling you to act on market changes in real-time without needing constant chart observation.
💫 Summary and Usage Tips
The Dynamic Score SMA by QuantAlgo is a sophisticated trend-following indicator that combines the familiarity of the SMA with a dynamic trend scoring system, providing a more adaptable and probabilistic approach to trend analysis. By tailoring the SMA length, scoring window, and thresholds, traders and investors can fine-tune the indicator for both short-term adjustments and long-term trend following. For optimal use, adjust sensitivity based on market volatility, and rely on the visual cues for clear trend confirmation. Whether you’re navigating choppy markets or stable trends, the Dynamic Score SMA offers a refined approach to capturing market direction with enhanced precision.