EMA Hierarchy Score V.1.0
EMA Hierarchy Score V.1.0
Purpose
The EMA Hierarchy Score indicator assesses the relative positioning of multiple Exponential Moving Averages (EMAs) for a financial asset. This tool provides insights into trend strength by calculating ideal and non-ideal configurations of EMAs, allowing for effective interpretation when used alongside standard EMA charts.
Variables and Inputs
The indicator organizes a set of EMAs and other metrics into a hierarchy for scoring:
* Primary Variables (A–J):
A: Close price
B: Open price
C: Previous close price
D to J: EMAs of configurable periods (5, 9, 13, 21, 26, 52, 100).
* User Inputs:
* Customizable periods for each EMA, allowing users to adjust the indicator’s sensitivity.
* Customizable period and standard deviation multiplier for Bollinger Bands, enabling further control over the indicator’s analysis.
Mathematical Method
The EMA Hierarchy Score calculates how closely the current EMA structure aligns with an “ideal” configuration through a structured scoring system:
1- Hierarchy Scoring:
* Ideal Order: Defined as A > B > C > D > E > F > G > H > I > J, representing a strong upward trend where each EMA progressively increases.
* Non-Ideal Order: Defined as J > I > H > G > F > E > D > C > B > A, indicating a weak or downward trend where each EMA progressively decreases.
* Optimal Order: Calculated based on achieving maximum alignment with the ideal configuration for each EMA across the chosen period.
* Sub-Optimal Order: The least-aligned structure across the same period.
2- Score Calculation:
* The indicator calculates a score by comparing all EMA pairs in values. For each comparison, a score increment of +1 (ideal) or -1 (non-ideal) is applied.
* The final score reflects the EMA configuration’s deviation from the ideal order:
- Positive Score: Indicates closer alignment with the ideal structure.
- Negative Score: Indicates deviation toward a non-ideal structure.
3- Smoothed and Signal Lines:
* A smoothed score is created using a Simple Moving Average (SMA) of the raw hierarchy score.
* A signal line (an SMA of the smoothed score) further aids in tracking directional shifts in the score.
4- Trend Labels and Bollinger Bands:
* Trend Labels: Display "UP" or "DOWN" based on the smoothed score’s relationship to the signal line.
* Bollinger Bands: Plotted around a selected source (smoothedLine, signalLine, or score) to analyze score volatility and deviations from the mean. The period and standard deviation multiplier for Bollinger Bands are user-configurable.
Result Definition
The Ideal and Non-Ideal Scores represent the upper and lower bounds of achievable configurations, ensuring the score does not exceed these values.
1- Ideal and Non-Ideal Result:
* Calculated based on how closely the current EMA configuration follows the “ideal” ascending or descending order.
* Ideal Score: Defined as +165, representing perfect alignment with the ideal configuration.
* Non-Ideal Score: Defined as -165, indicating full alignment with the descending, non-ideal structure.
* The score is bounded by these values and will not go above or below this range.
2- Optimal and Sub-Optimal Scores:
* Optimal Score: The highest score over the selected scoring period, calculated with the same period as the Bollinger Bands. Using consistent periods reinforces the reliability of the score by aligning with the period already used to gauge volatility.
* Sub-Optimal Score: The lowest score over the same period, capturing points of minimal alignment with the ideal order.
Interpretation and Analysis
1- Use with EMA Charts:
* This indicator is designed to be used alongside EMA charts, as its results provide insights into the relative order of EMAs and their alignment with trend strength.
* The EMA Hierarchy Score interprets the underlying EMA structure, offering additional context on whether current trends are aligned with optimal or non-optimal EMA configurations.
2- Ideal and Non-Ideal Analysis:
* A positive EMA Hierarchy Score indicates an orderly, ideal upward trend, suggesting stronger alignment with the ideal structure.
* A negative score signals a potential downward trend or deviation from the ideal structure.
3 - Trend Indicators and Bands:
* Trend Labels: The "UP" and "DOWN" labels offer real-time feedback on trend direction shifts, based on the smoothed score and signal line relationship.
* Bollinger Bands: Visualize the range of score fluctuations, helping to identify breakout or breakdown points.
4 - Optimal and Sub-Optimal Scores:
* Use the Optimal Score to understand peak trend alignment and Sub-Optimal Score to spot potential reversal or correction zones.
* A consistently high score over time indicates trend stability, while variations may suggest instability.
Quick Reference Table
The table displayed at the top right provides an at-a-glance view of key metrics:
* Ideal and Non-Ideal Score: Fixed at ±165 to represent the calculated ideal and non-ideal configuration.
* Optimal and Sub-Optimal Scores: Show maximum and minimum scores over the scoring period, color-coded green for positive and red for negative values.
This concise table helps users quickly assess indicator values, reducing the need to interpret multiple chart lines and making it easier to understand overall trend strength.
Disclaimer
The EMA Hierarchy Score V.1.0 is a technical analysis tool designed to assist in understanding the alignment and strength of trends as defined by EMA configurations. This indicator does not constitute investment advice, nor does it make specific recommendations for buying or selling assets. Users should consult with a financial advisor before making any trading decisions, as past performance or technical signals do not guarantee future results. The developers of this indicator disclaim all liability for potential financial losses arising from reliance on this tool. Users assume full responsibility for interpreting and applying the indicator’s outputs in their investment decisions.
趋势分析
Dollar Cost Averaging (YavuzAkbay)The Dollar Cost Averaging (DCA) indicator is designed to support long-term investors following a Dollar Cost Averaging strategy. The core aim of this tool is to provide insights into overbought and oversold levels, assisting investors in managing buy and sell decisions with a clear visual cue system. Specifically developed for use in trending or fluctuating markets, this indicator leverages support and resistance levels to give structure to investors' buying strategies. Here’s a detailed breakdown of the indicator’s key features and intended usage:
Key Features and Color Coding
Overbought/Oversold Detection:
The indicator shades candles from light green to dark green when an asset becomes increasingly overbought. Dark green signals indicate a peak, where the asset is overbought, suggesting a potential opportunity to take partial profits.
Conversely, candles turn from light red to dark red when the market is oversold. Dark red signifies a heavily oversold condition, marking an ideal buying window for initiating or adding to a position. This color scheme provides a quick visual reference for investors to manage entries and exits effectively.
Support and Resistance Levels:
To address the risk of assets falling further after an overbought signal, the DCA indicator dynamically calculates support and resistance levels. These levels guide investors on key price areas to watch for potential price reversals, allowing them to make more informed buying or selling decisions.
Support levels help investors assess whether they should divide their capital across multiple buy orders, starting at the current oversold zone and extending to anticipated support zones for maximum flexibility.
Usage Methodology
This indicator is intended for Dollar Cost Averaging, a method where investors gradually add to their position rather than entering all at once. Here’s how it complements the DCA approach:
Buy at Oversold Levels: When the indicator shows a dark red candle, it signals that the asset is oversold, marking an optimal entry point. The presence of support levels can help investors determine if they should fully invest their intended amount or stagger buys at potential lower levels.
Sell at Overbought Levels: When the indicator transitions to dark green, it suggests that the asset is overbought. This is an ideal time to consider selling a portion of holdings to realize gains. The resistance levels, marked by the indicator, offer guidance on where the price may encounter selling pressure, aiding investors in planning partial exits.
Customizable Settings
The DCA indicator offers several user-adjustable parameters:
Pivot Frequency and Source: Define the pivot point frequency and the source (candle wick or body) for more tailored support/resistance detection.
Maximum Pivot Points: Set the maximum number of pivot points to be used in support/resistance calculations, providing flexibility in adapting to different market structures.
Channel Width and Line Width: Adjust the width of the channel for support/resistance levels and the thickness of the lines for easier visual tracking.
Color Intensities for Overbought/Oversold Levels: Customize the shading intensity for each overbought and oversold level to align with your trading preferences.
Optimus trader Optimus Trader
Indicator Description:
The Optimus Trader indicator is designed for technical traders looking for entry and exit points in financial markets. It combines signals based on volume, moving averages, VWAP (Volume Weighted Average Price), as well as the recognition of candlestick patterns such as Pin Bar and Inside Bars. This indicator helps identify opportune moments to buy or sell based on trends, volumes, and recent liquidity zones.
Parameters and Features:
1. Simple Moving Average (MA) and VWAP:
- Optimus Trader uses a 50-period simple moving average to determine the underlying trend. It also includes VWAP for precise price analysis based on traded volumes.
- These two indicators help identify whether the market is in an uptrend or downtrend, enhancing the reliability of buy and sell signals.
2. Volume :
- To avoid false signals, a volume threshold is set using a 20-period moving average, adjusted to 1.2 times the average volume. This filters signals by considering only high-volume periods, indicating heightened market interest.
3. Candlestick Pattern Recognition:
- Pin Bar: This sought-after candlestick pattern is detected for both bullish and bearish setups. A bullish or bearish *Pin Bar* often signals a possible reversal or continuation.
- *Inside Bar*: This price compression pattern is also detected, indicating a zone of indecision before a potential movement.
4. Trend:
- An uptrend is confirmed when the price is above the MA and VWAP, while a downtrend is identified when the price is below both indicators.
5. Liquidity Zones:
- Optimus Trader includes an approximate liquidity zone detection feature. By identifying recent support and resistance levels, the indicator detects if the price is near these zones. This feature strengthens the relevance of buy or sell signals.
6. Buy and Sell Signals:
- Buy: A buy signal is generated when the indicator detects a bullish *Pin Bar* or *Inside Bar* in an uptrend with high volume, and the price is close to a liquidity zone.
- Sell: A sell signal is generated when a bearish *Pin Bar* or *Inside Bar* is detected in a downtrend with high volume, and the price is near a liquidity zone.
Signal Display:
The signals are visible directly on the chart:
- A "BUY" label in green is displayed below the bar for buy signals.
- A "SELL" label in red is displayed above the bar for sell signals.
Summary:
This indicator is intended for traders seeking precise entry and exit points by integrating trend analysis, volume, and candlestick patterns. With liquidity zones, *Optimus Trader* helps minimize false signals, providing clear and accurate alerts.
---
This description can be directly added to TradingView to help users quickly understand the features and logic of this indicator.
Sentient FLDOverview of the FLD
The Future Line of Demarcation (FLD) was first proposed by JM Hurst in the 1970s as a cycle analysis tool. It is a smoothed median price plotted on a time-based chart, and displaced into the future (to the right on the chart). The amount of displacement is determined by performing a cycle analysis, the line then plotted to extend beyond the right hand edge of the chart by half a cycle wavelength.
Interactions between price and the FLD
As price action unfolds, price interacts with the FLD line, either by crossing over the line, or by finding support or resistance at the line.
Targets
When price crosses an FLD a target for the price move is generated. The target consists of a price level and also expected time.
When price reaches that target it is an indication that the cycle influencing price to move up or down has completed that action and is about to turn around.
If price fails to reach a target by the expected time, it indicates bullish or bearish pressure from longer cycles, and a change in mood of the market.
Sequence of interactions
Price interacts with the FLD in a regular sequence of 8 interactions which are labelled using the letters A - H, in alphabetical order. This sequence of interactions occurs between price and a cycle called the Signal cycle. The full sequence plays out over a single wave of a longer cycle, called the Sequence cycle. The interactions are:
A category interaction is where price crosses above the FLD as it rises out of a trough of the Sequence cycle.
B & C category interactions often occur together as a pair, where price comes back to the FLD line and finds support at the level of the FLD as the first trough of the Signal cycle forms.
D category interaction is where price crosses below the FLD as it falls towards the second trough of the Signal cycle.
E category interaction is where price crosses above the FLD again as it rises out of the second trough of the Signal cycle.
F category interaction is where price crosses below the FLD as it falls towards the next trough of the Sequence cycle.
G & H category interactions often occur together as a pair, where price comes back to the FLD line and finds resistance at the level of the FLD before a final move down into the next Sequence cycle trough.
Trading Opportunities
This sequence of interactions provides the trader with trading opportunities:
A and E category interactions involve price crossing over the FLD line, for a long trading opportunity.
D and F category interactions involve price crossing below the FLD line, for a short trading opportunity.
B and C category interactions occur where price finds support at the FLD, another long trading opportunity.
G and H category interactions occur where price finds resistance at the FLD, another short trading opportunity.
3 FLD Lines Plotted
The Sentient FLD indicator plots three FLD lines, for three primary cycles on your time-based charts:
The Signal cycle (pink color, can be changed in the settings), which is used to generate trading signals on the basis of the sequence of interactions between price and the FLD
The Mid cycle (orange color, can be changed in the settings), which is used for confirmation of the signals from the signal cycle FLD.
The Sequence cycle (green color, can be changed in the settings) which is the cycle over which the entire A - H sequence of interactions plays out.
Cycle Analysis
In addition to plotting the three FLD lines, the Sentient FLD indicator performs a cycle phasing analysis and identifies the positions of the troughs of five cycles on your chart (The Signal, Mid & Sequence cycles and two longer cycles for determining the underlying trend).
The results of this analysis are plotted by using diamond symbols to mark the timing of past troughs of the cycles, and circles to mark the timing of the next expected troughs, with lines extending to each side to represent the range of time in which the trough is expected to form. These are called circles-and-whiskers. The diamonds are stacked vertically because the troughs are synchronized in time. The circles-and-whiskers therefore are also stacked, creating a nest-of-lows which is a high probability period for a trough to form.
Identifying the Interactions
The Sentient FLD also identifies the interactions between price and each one of the three FLDs plotted on your chart, and those interactions are labelled so that you can keep track of the unfolding A - H sequence.
Next Expected Interaction
Because the Sentient FLD is able to identify the sequence of interactions, it is also able to identify the next expected interaction between price and the FLD. This enables you to anticipate levels of support or resistance, or acceleration levels where price is expected to cross through the FLD.
Cycle Table
A cycle table is displayed on the chart (position can be changed in settings). The cycle table comprises 6 columns:
The Cycle Name (CYCLE): the name of the cycle which is its nominal wavelength in words.
The Nominal Wavelength (NM): The nominal wavelength of the cycle measured in bars.
The Current Wavelength (CR): The current recent wavelength of the cycle measured in bars.
The Variation (VAR): The variation between the nominal wavelength and current wavelength as a percentage (%).
The relevant Sequence Cycle (SEQ): The cycle over which the sequence of interactions with this FLD plays out.
The Mode (MODE): Whether the cycle is currently Bearish, Neutral or Bullish.
Benefits of using the Sentient FLD
The cycle analysis shown with diamonds and circles marking the troughs, and next expected troughs of the cycles enable you to anticipate the timing of market turns (troughs and peaks in the price), because of the fact that cycles, by definition, repeat with some regularity.
The results of the cycle analysis are also displayed on your chart in a table, and enable you to understand at a glance what the current mode of each cycle is, whether bullish, bearish or neutral.
The identification of the sequence of interactions between price and the FLD enables you to anticipate the next interaction, and thereby expect either a price cross of the FLD or dynamic levels of support and resistance at the levels of the FLD lines, only visible to the FLD trader.
When the next expected interaction between price and the FLD is an acceleration point (price is expected to cross over the FLD), that level can be used as a signal for entry into a trade.
Similarly when the next expected interaction between price and the FLD is either support or resistance, that level can be used as a signal for entry into a trade when price reacts as expected, finding support or resistance.
The targets that are generated as a result of price crossing the FLD represent cycle exhaustion levels and times, and can be used as take profit exits, or as levels after which stops should be tightened.
The indicator optionally also calculates targets for longer timeframes, and displays them on your chart providing useful context for the influence of longer cycles without needing to change timeframe.
Example
In this image you can see an example of the different aspects of the indicator working on a 5 minute chart (details below):
This is what the indicator shows:
The 3 FLD lines are for the 100 minute (pink), 3 hour (orange) and 6 hour (green) cycles (refer to the cycle table for the cycle names).
Previous targets can be seen, shown as pointed labels, with the same colors.
The cycle table at the bottom left of the chart is colour coded, and indicates that the cycles are all currently running a bit long, by about 14%.
Note also the grey-colored 6 hour target generated by the 15 x minute timeframe at 12:20. When targets are close together their accuracy is enhanced.
At the foot of the chart we can see a collection of circles-and-whiskers in a nest-of-lows, indicating that a 12 hour cycle trough has been due to form in the past hour.
The past interactions between price and the signal cycle are labelled and we can see the sequence of E (with some +E post-interaction taps), F and then G-H.
The next interaction between price and the signal is the A category interaction - a long trading opportunity as price bounces out of the 12 hour cycle trough.
Notice the green upward pointing triangles on the FLD lines, indicating that they are expected to provide acceleration points, where price will cross over the FLD and move towards a target above the FLD.
The cycle table shows that the cycles of 6 hours and longer are all expected to be bullish (with the 12 hour cycle neutral to bullish).
On the basis that we are expecting a 12 hour trough to form, and the 6 hour cycle targets have been reached, and the next interaction with the signal cycle is an A category acceleration point, we can plan to enter into a long trade.
Two hours later
This screenshot shows the situation almost 2 hours later:
Notes:
The expected 12 hour cycle trough has been confirmed in the cycle analysis, and now displayed as a stack of diamonds at 12:25
Price did cross over the signal cycle FLD (the 100 minute cycle, pink FLD line) as expected. That price cross is labelled as an A category interaction at 13:00.
A 100 minute target was generated. That target was almost, but not quite reached in terms of price, indicating that the move out of the 12 hour cycle trough is not quite as bullish as would be expected (remember the 12 hour cycle is expected to be neutral-bullish). The time element of the target proved accurate however with a peak forming at the expected time. Stops could have been tightened at that time.
Notice that price then came back to the signal FLD (100 minute) line at the time that the next 100 minute cycle trough was expected (see the pink circle-and-whiskers between 13:40 and 14:25, with the circle at 14:05.
Price found support (as was expected) when it touched the signal FLD at 13:55 and 14:00, and that interaction has been labelled as a B-C category interaction pair.
We also have a 3 hour target above us at about 6,005. That could be a good target for the move.
Another 2 hours later
This screenshot shows the situation another 2 hours later:
Notes:
We can see that the 100 minute cycle trough has been confirmed at 13:45
The nest-of-lows marking the time the 3 hour cycle trough was expected is between 15:00 and 15:45, with a probable trough in price at 15:00
The sequence of interactions is labelled: A at 13:00; B-C at 14:00; another B-C (double B-C interactions are common) at 14:30; E at 15:10; +E (a post E tap) at 16:20
Price has just reached a cluster of targets at 6005 - 6006. The 3 hour target we noted before, as well as a 6 hour target and a 12 hour target from the 15 x minute timeframe.
Notice how after those targets were achieved, price has exhausted its upward move, and has turned down.
The next expected interaction with the signal cycle FLD is an F category interaction. The downward pointing red triangles on the line indicate that the interaction is expected to be a price cross down, as price moves down into the next 6 hour cycle trough.
Other Details
The Sentient FLD indicator works on all time-based charts from 10 seconds up to monthly.
The indicator works on all actively traded instruments, including forex, stocks, indices, commodities, metals and crypto.
Moving Average Pullback Signals [UAlgo]The "Moving Average Pullback Signals " indicator is designed to identify potential trend continuation or reversal points based on moving average (MA) pullback patterns. This tool combines multiple types of moving averages, customized trend validation parameters, and candlestick wick patterns to provide reliable buy and sell signals. By leveraging several advanced MA methods (such as TEMA, DEMA, ZLSMA, and McGinley-D), this script can adapt to different market conditions, providing traders with flexibility and more precise trend-based entries and exits. The addition of a gradient color-coded moving average line and wick validation logic enables traders to visualize market sentiment and trend strength dynamically.
🔶 Key Features
Multiple Moving Average (MA) Calculation Methods: This indicator offers various MA calculation types, including SMA, EMA, DEMA, TEMA, ZLSMA, and McGinley-D, allowing traders to select the MA that best fits their strategy.
Trend Validation and Pattern Recognition: The indicator includes a customizable trend validation length, ensuring that the trend is consistent before buy/sell signals are generated. The "Trend Pattern Mode" setting provides flexibility between "No Trend in Progress," "Trend Continuation," and "Both," tailoring signals to the trader’s preferred style.
Wick Validation Logic: To enhance the accuracy of entries, this indicator identifies specific wick patterns for bullish or bearish pullbacks, which signal potential trend continuation or reversal. Wick length and validation factor are adjustable to suit various market conditions and timeframes.
Gradient Color-coded MA Line: This feature provides a quick visual cue for trend strength, with color changes reflecting relative highs and lows of the MA, enhancing market sentiment interpretation.
Alerts for Buy and Sell Signals: Alerts are triggered when either a bullish or bearish pullback is detected, allowing traders to receive instant notifications without continuously monitoring the chart.
Visual Labels for Reversal Points: The indicator plots labels ("R") at potential reversal points, with color-coded labels for bullish (green) and bearish (red) pullbacks, highlighting pullback opportunities that align with the trend or reversal potential.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Systematic Investment Tracker by Ceyhun Gonul### English Description
**Systematic Investment Tracker with Enhanced Features**
This script, titled **Systematic Investment Tracker with Enhanced Features**, is a TradingView tool designed to support systematic investments across different market conditions. It provides traders with two customizable investment strategies — **Continuous Buying** and **Declining Buying** — and includes advanced dynamic investment adjustment features for each.
#### Detailed Explanation of Script Features and Originality
1. **Two Investment Strategies**:
- **Continuous Buying**: This strategy performs purchases consistently at each interval, as set by the user, regardless of market price changes. It follows the principle of dollar-cost averaging, allowing users to build an investment position over time.
- **Declining Buying**: Unlike Continuous Buying, this strategy triggers purchases only when the asset's price has declined from the previous interval's closing price. This approach helps users capitalize on lower price points, potentially improving average costs during downward trends.
2. **Dynamic Investment Adjustment**:
- For both strategies, the script includes a **Dynamic Investment Adjustment** feature. If enabled, this feature increases the purchasing amount by 50% if the current price has fallen by a specific user-defined percentage relative to the previous price. This allows users to accumulate a larger position when the asset is declining, which may benefit long-term cost-averaging strategies.
3. **Customizable Time Frames**:
- Users can specify a **start and end date** for investment, allowing them to restrict or backtest strategies within a specific timeframe. This feature is valuable for evaluating strategy performance over specific market cycles or historical periods.
4. **Graphical Indicators and Labels**:
- The script provides graphical labels on the chart that display purchase points. These indicators help users visualize their investment entries based on the strategy selected.
- A summary **performance label** is also displayed, providing real-time updates on the total amount spent, accumulated quantity, average cost, portfolio value, and profit percentage for each strategy.
5. **Language Support**:
- The script includes English and Turkish language options. Users can toggle between these languages, allowing the summary label text and descriptions to be displayed in their preferred language.
6. **Performance Comparison Table**:
- An optional **Performance Comparison Table** is available, offering a side-by-side analysis of net profit, total investment, and profit percentage for both strategies. This comparison table helps users assess which strategy has yielded better returns, providing clarity on each approach's effectiveness under the chosen parameters.
#### How the Script Works and Its Uniqueness
This closed-source script brings together two established investment strategies in a single, dynamic tool. By integrating continuous and declining purchase strategies with advanced settings for dynamic investment adjustment, the script offers a powerful, flexible tool for both passive and active investors. The design of this script provides unique benefits:
- Enables automated, systematic investment tracking, allowing users to build positions gradually.
- Empowers users to leverage declines through dynamic adjustments to optimize average cost over time.
- Presents an easy-to-read performance label and table, enabling an efficient and transparent performance comparison for informed decision-making.
---
### Türkçe Açıklama
**Gelişmiş Özellikli Sistematik Yatırım Takipçisi**
**Gelişmiş Özellikli Sistematik Yatırım Takipçisi** adlı bu TradingView scripti, çeşitli piyasa koşullarında sistematik yatırım stratejilerini desteklemek üzere tasarlanmış bir araçtır. Script, kullanıcıya iki özelleştirilebilir yatırım stratejisi — **Sürekli Alım** ve **Düşen Alım** — ve her strateji için gelişmiş dinamik yatırım ayarlama seçenekleri sunar.
#### Script Özelliklerinin Detaylı Açıklaması ve Özgünlük
1. **İki Yatırım Stratejisi**:
- **Sürekli Alım**: Bu strateji, fiyat değişimlerine bakılmaksızın kullanıcının belirlediği her aralıkta sabit bir miktar yatırım yapar. Bu yaklaşım, uzun vadede pozisyonu kademeli olarak oluşturmak isteyenler için idealdir.
- **Düşen Alım**: Sürekli Alım’ın aksine, bu strateji yalnızca fiyat bir önceki aralığın kapanış fiyatına göre düştüğünde alım yapar. Bu yöntem, yatırımcıların daha düşük fiyatlardan alım yaparak ortalama maliyeti potansiyel olarak iyileştirmelerine yardımcı olur.
2. **Dinamik Yatırım Ayarlaması**:
- Her iki strateji için de **Dinamik Yatırım Ayarlaması** özelliği bulunmaktadır. Bu özellik aktif edildiğinde, mevcut fiyatın bir önceki fiyata göre kullanıcı tarafından belirlenen bir yüzde oranında düşmesi durumunda alım miktarını %50 artırır. Bu durum, uzun vadede maliyet ortalaması stratejilerine katkıda bulunur.
3. **Özelleştirilebilir Tarih Aralığı**:
- Kullanıcılar, yatırımı belirli bir tarih aralığında sınırlandırmak veya test etmek için bir **başlangıç ve bitiş tarihi** belirleyebilir. Bu özellik, strateji performansını geçmiş piyasa döngüleri veya belirli dönemlerde değerlendirmek için kullanışlıdır.
4. **Grafiksel İşaretleyiciler ve Etiketler**:
- Script, grafik üzerinde alım noktalarını gösteren işaretleyiciler sağlar. Bu görsel göstergeler, kullanıcıların seçilen stratejiye göre yatırım girişlerini görselleştirmesine yardımcı olur.
- Ayrıca, her strateji için harcanan toplam tutar, biriken miktar, ortalama maliyet, portföy değeri ve kâr yüzdesi gibi bilgileri gerçek zamanlı olarak gösteren bir **performans etiketi** sunar.
5. **Dil Desteği**:
- Script, İngilizce ve Türkçe dillerini desteklemektedir. Kullanıcılar, performans etiketi metninin ve açıklamalarının tercih ettikleri dilde görüntülenmesi için dil seçimini yapabilir.
6. **Performans Karşılaştırma Tablosu**:
- İsteğe bağlı olarak kullanılabilen bir **Performans Karşılaştırma Tablosu**, her iki strateji için net kâr, toplam yatırım ve kâr yüzdesi gibi bilgileri yan yana analiz eder. Bu tablo, kullanıcıların hangi stratejinin daha yüksek getiri sağladığını değerlendirmesine yardımcı olur.
#### Scriptin Çalışma Prensibi ve Özgünlüğü
Bu script, iki yatırım stratejisini gelişmiş bir araçta birleştirir. Sürekli ve düşen fiyatlara dayalı alım stratejilerini dinamik yatırım ayarlama özelliğiyle entegre ederek yatırımcılar için güçlü ve esnek bir çözüm sunar. Script’in tasarımı aşağıdaki benzersiz faydaları sağlamaktadır:
- Otomatik, sistematik yatırım takibi yaparak kullanıcıların pozisyonlarını kademeli olarak oluşturmalarına olanak tanır.
- Dinamik ayarlama ile düşüşlerden yararlanarak zaman içinde ortalama maliyeti optimize etme olanağı sağlar.
- Her iki stratejinin performansını basit ve anlaşılır bir şekilde karşılaştıran etiket ve tablo ile verimli bir performans değerlendirmesi sunar.
Bitcoin: The Puell MultipleBitcoin: The Puell Multiple Indicator Overview
The Puell Multiple is an indicator originally used to analyze Bitcoin's valuation based on mining revenue. However, this approximate version uses Bitcoin's current price to give us a similar perspective. It’s helpful for understanding whether Bitcoin’s price is currently high or low compared to its historical trend.
Recommended Timeframe:
For optimal insights, it’s recommended to use this indicator on the weekly timeframe. This timeframe smooths out daily fluctuations, making it easier to capture long-term valuation trends and better understand market cycles.
What Does the Indicator Show?
This indicator compares the current price of Bitcoin to its average price over the past 365 days. Here’s what it helps you see:
When Bitcoin Might Be Undervalued:
If the indicator value is below a certain low threshold (e.g., 0.51 by default), it suggests that Bitcoin might be undervalued compared to its long-term trend. Historically, periods where the indicator is low have sometimes coincided with good buying opportunities, as Bitcoin is seen as “cheap” in relation to its recent average.
When Bitcoin Might Be Overvalued:
If the indicator value is above a certain high threshold (e.g., 3.4 by default), it suggests that Bitcoin might be overvalued. In the past, these high points have sometimes signaled times to consider selling, as Bitcoin is viewed as “expensive” relative to its recent trend.
How to Read the Indicator
Indicator Line: The main line in the indicator panel shows the value of the Puell Multiple over time, fluctuating based on the comparison between current and past prices.
Threshold Lines: Two horizontal lines represent the high and low thresholds:
Bottom Threshold (Red Line): Indicates a high value, suggesting that Bitcoin might be overvalued.
Top Threshold (Green Line): Indicates a low value, suggesting that Bitcoin might be undervalued.
Color Coding:
The background may appear green when the indicator is below the low threshold (suggesting undervaluation) or red when it’s above the high threshold (suggesting overvaluation).
How You Can Use This Indicator
Long-Term Investment Insights: This indicator can help you identify favorable buying or selling conditions based on historical price trends. When the value is low, Bitcoin might be in a more attractive price range; when it’s high, the price might be inflated compared to its yearly trend.
Market Timing: This tool is best used alongside other indicators, as it’s primarily helpful for understanding broader trends rather than predicting short-term movements.
The Puell Multiple (Approximate) indicator thus offers a historical lens on Bitcoin’s valuation, helping you make decisions informed by past price trends. For best results, keep in mind the weekly timeframe recommendation to capture meaningful market cycles.
Weighted CG Oscillator with ATRATR-Weighted CG Oscillator
The ATR-Weighted CG Oscillator is an enhanced version of the Center of Gravity (CG) Oscillator, originally developed by John Ehlers . By adding the Average True Range (ATR) to dynamically adjust the oscillator’s values based on market volatility, this indicator aims to make trend signals more responsive to price changes, offering an adaptive tool for trend analysis.
Functionality Overview :
The CG Oscillator, a classic trend-following indicator, has been modified here to incorporate the ATR for improved context and adaptability in different market conditions. The indicator calculates the CG Oscillator and scales it by dividing the ATR by the closing price to normalize for volatility. This creates a “weighted” CG Oscillator that generates more contextually relevant signals. A colored line shows green for long signals (above the long threshold), red for short signals (below the short threshold), and gray for neutral conditions.
Input Parameters :
CGO Length : Sets the period of the CG Oscillator calculation.
ATR Length : Determines the period of the ATR calculation. Longer periods smooth out the volatility impact.
Long Threshold : The threshold that triggers a long signal; a long (green) signal occurs when the weighted CG Oscillator crosses above this level.
Short Threshold : The threshold that triggers a short signal; a short (red) signal occurs when the weighted CG Oscillator crosses below this level.
Source : Specifies the data source for CG Oscillator calculations, with the default set to the closing price.
Recommended Use :
This indicator is designed to be an adaptive tool, not your sole resource. To ensure its effectiveness, it’s essential to backtest the indicator on your chosen asset over your preferred timeframe. Market dynamics vary, so testing the indicator’s parameters—especially the thresholds—will allow you to find the settings that best suit your strategy. While the default values work well for some scenarios, customizing the settings will help align the indicator with your unique trading style and the asset’s characteristics.
Momentum TrackerTo screen for momentum movers, one can filter for stocks that have made a noticeable move over a set period—this initial move defines the momentum or swing move. From this list of candidates, we can create a watchlist by selecting those showing a momentum pause, such as a pullback or consolidation, which later could set up for a continuation.
This Momentum Tracker Indicator serves as a study tool to visualize when stocks historically met these momentum conditions. It marks on the chart where a stock would have appeared on the screener, allowing us to review past momentum patterns and screener requirements.
Indicator Calculation
Bullish Momentum: Price is above the lowest point within the lookback period by the specified threshold percentage.
Bearish Momentum: Price is below the highest point within the lookback period by the specified threshold percentage.
The tool is customizable in terms of lookback period and percentage threshold to accommodate different trading styles and timeframes, allowing us to set criteria that align with specific hold times and momentum requirements.
Enhanced Keltner TrendThe Enhanced Keltner Trend (EKT) indicator builds on the classic Keltner Channel, using volatility to define potential trend channels around a central moving average. It combines customizable volatility measures moving average, giving traders flexibility to adapt the trend channel to various market conditions.
How It Works?
MA Calculation:
A user-defined moving average forms the central line (or price basis) of the Keltner Channel.
Channel Width:
The width of the Keltner Channel depends on market volatility.
You can choose between two methods for measuring the volatility:
ATR-based Width: Uses the Average True Range (ATR) with customizable periods and multipliers.
Price Range Width: Uses the high and low price range over a defined period.
Trend Signal:
The trend is evaluated by price in relation to the Keltner Channel:
Bullish Trend (Blue Line): When the price crosses above the upper band, it signals upward momentum.
Bearish Trend (Orange Line): When the price crosses below the lower band, it signals downward momentum.
What Is Unique?
This Enhanced version of the Keltner Trend is for investors who want to have more control over the Keltner's channels calculation, so they can calibrate it to provide them more alpha when combined with other Technical Indicators.
Use ATR: Gives the user the choice to use the ATR for the channel width calculation, or use the default High - Low over specified period.
ATR Period: Users can modify ATR length to calculate the channels width (Volatility).
ATR Multiplier: Users can fine-tune how much of the volatility they want to factor into the channels, providing more control over the final calculation.
MA Period: Smoothing period for the Moving Averages.
MA Type: Choosing from different Moving Averages types providing different smoothing types.
Setting Alerts:
Built-in alerts for trend detection:
Bullish Trend: When price crosses the upper band, it signals a Bullish Signal (Blue Color)
Bearish Trend: When price crosses the lower band, it signals a Bearish Signal (Orange Color)
Credits to @jaggedsoft , it's a modified version of his.
Support and Resistance MTF [Cometreon]Support and Resistance is an advanced indicator that automatically plots key support and resistance levels on any symbol and timeframe, including higher ones. This innovative tool employs sophisticated algorithms to continuously analyze market data, identifying and drawing levels on the chart in real-time. By offering traders an immediate and clear view of critical market areas, Support and Resistance optimizes the decision-making process and eliminates time spent on manual analysis.
Key Features:
Automatic Level Identification: The indicator automatically plots all support and resistance levels, providing a clear map of key points on the chart.
Historical Visualization: Shows historical support and resistance levels, providing a comprehensive view of the market over time.
Dynamic Trend Creation: Automatically identifies and updates trends based on levels, simplifying the understanding of market directions.
Automatic Fibonacci: Generates Fibonacci levels based on the last two support and resistance levels, offering additional reference points for potential price retracements or extensions.
Customizable Alerts: Offers a series of configurable alerts to keep you informed about breakouts, new confirmed levels, and price bounces on active levels.
Technical Details and Customizable Inputs:
Support and Resistance offers a range of customizable settings that allow adapting the indicator to specific needs:
Line Types: Select the type of lines to display: active, broken, both, or none.
Left Length: Determines the number of candles to calculate the previous high or low point.
Right Length: Defines the number of candles needed to confirm a level as Support or Resistance.
Timeframe: You can modify the timeframe of supports and resistances to view levels of a higher timeframe. It's also possible to add additional support and resistance levels using a second timeframe.
Breakout Source: Change the source needed to break support and resistance levels between Close or High/Low.
Delete at Timeframe: Allows removing levels based on the current chart resource instead of using that of the higher timeframe.
Session Range: Choose a period of distance from the last candle to define how far back in the past the indicator should look for Supports or Resistances.
Style Valid Level: Customize the appearance of active levels, including the color of the level itself, Liquidity fill, text color, line style and thickness, extension, as well as the size, position, and values to display in the level text.
Liquidity: This option displays the liquidity associated with each support and resistance level, with three modes: "Wick" which goes from the high/low to the upper/lower body, "Body" instead goes from the level to the lower/upper body of the candle and "Full Range" which extends from the high to the low of the candle.
Style Break Level: Allows modifying color, style, and thickness of lines, as well as text width, for two types of breakouts: "MSS" and "BOS" .
"MSS" stands for "Market Structure Switch" and indicates a level breakout opposite to the previous breakout, signaling a trend reversal.
"BOS" , on the other hand, means "Break of Structure" and occurs when a level is broken in the same direction as the previous one, confirming trend continuation.
Fibonacci Trend Line : Add up to 8 Fibonacci levels based on the last two identified support and resistance levels. Customize the different levels by modifying colors, thickness, style, and extension of lines. You also have the option to add a transparent background between each level.
Use Only Confirmed Levels: Activate this option if you want the system to use only the last two confirmed levels, excluding potential levels not yet confirmed.
Reverse: Used to reverse the direction of Fibonacci lines.
Use Higher / Lower: This option allows using the currently active maximum and minimum levels of Support and Resistance. The indicator will update each Support level until it encounters another active Resistance, and vice versa.
Trend Style: Activate/deactivate two types of indicator Trends: "Bar Color" based on level breakouts and "Background Color" based on the last active unconfirmed level.
Signal Style: Activate or deactivate the various breakout and bounce signals. Bounces present three options:
- Total Rejection: occurs when the price exceeds the high or low and closes below the liquidity level.
- Internal Rejection: the price closes in the liquidity zone.
- Liquidity Rejection: the price does not exceed the high or low, but only the liquidity level, closing below it.
Customized Alerts: Set alerts to be notified in case of breakouts, bounces, or formation of new levels.
These options allow you to optimize the indicator for different trading styles and market conditions, ensuring accurate and tailored technical analysis.
How to Use Support and Resistance:
Using Critical Levels: Consider all levels on the chart as "magnetic points" for the price. These represent critical areas where the market tends to react.
Signal Interpretation: Use the indicator's signals to interpret market movements. A level breakout can indicate a trend reversal or continuation. Bounces can suggest the holding of a level or signal a possible breakout.
Strategy Integration: Leverage the trend of support and resistance levels, breakouts, and bounces as key elements to develop and refine your trading strategies.
Call To Action:
Support and Resistance simplifies your market analysis, saving you time and improving the accuracy of your decisions. Thanks to clearly visualized and customizable levels, you'll have a clearer and more immediate view of market dynamics.
Don't wait any longer: discover how Support and Resistance can enhance your market analysis, offering you clear indications for faster and more precise trading decisions.
TrendLines MTF [Cometreon]Trendline is an advanced indicator designed to automatically plot all trendlines on the chart and signal when they are broken, adapting to any symbol and timeframe, including larger ones. This innovative tool uses advanced algorithms to continuously analyze market data, automatically identifying and drawing trendlines on the chart. Trendline offers traders an immediate and clear visualization of market dynamics, saving time in manual analysis and optimizing trading decisions.
Key Features:
Automatic Plotting: The indicator automatically draws and updates trendlines, providing a real-time overview of market trends.
Breakout and Bounce Signaling: Provides immediate notifications when a trendline is broken or the price bounces off it, allowing traders to react promptly to market changes.
Customization: Offers the ability to modify length, touches, colors, and line style to suit individual preferences.
Information Table: Includes a detailed table showing the values of all active trendlines, facilitating the monitoring of key market points.
Configurable Alerts: Allows setting custom alerts for breakouts, bounces, or creation of new trendlines.
Technical Details and Customizable Inputs:
Trendline offers a range of customizable inputs that allow adapting the indicator to specific needs:
Trendline Type: Select between active trendlines, broken ones, both, or none.
Left and Right Length: Defines the extension of maximum and minimum points to identify Trendlines.
Timeframe: You can also modify the timeframe of Trendlines to display a higher timeframe.
Confirm at Timeframe: Allows you to confirm the Trendlines using the chart's timeframe instead of the selected one. This checks whether a candle has already broken the line previously.
Delete at Timeframe: input to remove trendlines based on breakouts with chart candles, instead of using candles of a higher timeframe.
Touch Need: Sets the number of touches needed to confirm a Trendline.
Max Trend Line for Level: Limits the maximum number of Trendlines in a single level.
Extended Line After Break: Option to extend broken Trendlines by a specific value.
Session Range: The "Session Range" offers two options: select a specific date or a period relative to the last candle. The input allows choosing between "Choose" and "Pick Up".
With "Choose", you select a relative period, with two modes:
- Last: shows the trendlines of the selected period, compatible with Replay.
- Real Time: displays all TrendLines, searching from the last selected period.
Example: "1 Month" with "Last" shows the TrendLines from the previous month, while "Real Time" searches without time limits but uses the values from the last month. This allows defining the search depth of the indicator, crucial for computing power. In case of issues, use "Auto".
Trendlines Style: Modify the style for each type of Trendlines (Valid, Break) including color, style, and line thickness.
Trends Trendlines: Enable/disable two different trends:
- Trend Bar Color: based on TrendLines breakouts. Breaking a bearish TrendLine results in a bullish trend, vice versa for breaking a bullish TrendLine.
- Trend Background: based on the number of active TrendLines. For example, if the number of bullish TrendLines is greater than the "Strength", the trend will be bullish.
Signal Style: You can enable or disable breakout and bounce signals, with customizable colors for each signal type.
Alert: Set notifications for breakouts, bounces, or formation of new Trendlines.
Table: Customize the table showing the values of all active trendlines, facilitating the monitoring of key market points. You can modify the appearance of the table, changing the color of cells and text.
These options allow you to optimize the indicator for different trading styles and market conditions, ensuring precise and personalized technical analysis.
How to Use Trendlines:
Market Analysis: Use the displayed Trendlines as critical indicators of market dynamics to make informed trading decisions.
Signal Interpretation: Leverage Trendline breakouts and bounces to identify potential trend changes and trading opportunities.
Strategy Integration: Use Trendlines and generated signals as a basis for creating personalized and innovative trading strategies.
With Trendlines, you can simplify your market analysis, saving time and improving the accuracy of your decisions with clearly visualized and customizable Trendlines.
Don't waste any more time and visit the link to get access to all Cometreon indicators.
Predict Trend [Cometreon]Predict Trend is an advanced indicator designed to analyze the current trend and compare it with similar historical patterns, providing forecasts based on subsequent results of these patterns. This innovative tool uses advanced algorithms to continuously analyze market data, identifying and comparing relevant historical patterns. Predict Trend offers traders a detailed view of the possible future market trend, optimizing trading decisions.
Key Features:
Historical Pattern Analysis: The indicator identifies and compares the current trend with similar historical patterns, providing predictions based on concrete and historical data.
Customizable Precision: Offers the ability to adjust various parameters such as distance and percentage variation between levels, improving the accuracy of pattern search.
Historical Average-Based Predictions: Displays the predicted movement based on the average of all historical patterns found, allowing for informed trading decisions.
Specific Pattern Search: In addition to automatic search based on the active trend, Predict allows searching for specific patterns by manually entering the necessary data for analysis.
Forecast Visualization: Provides a detailed table with all values found and a line representing the average of results, offering a clear view of predictions based on historical data.
Technical Details and Customizable Inputs:
Predict Trend offers a range of customizable settings that allow adapting the indicator to specific needs:
Precision Parameters: Allows adjusting the length of levels, pattern precision, and the number of subsequent values to obtain after identifying historical patterns.
Specific Pattern Search: Allows manual data entry to search for specific patterns, offering greater flexibility in analysis.
Timeframe: Predict works on any timeframe, with greater precision on higher timeframes.
Chart Compatibility: It is compatible with all chart types, allowing analysis and comparison of historical patterns regardless of the chart type used.
Level 1: First correlation level for patterns. "Last Bar to Check" allows choosing the number of Pivots to check for searching patterns in the past with the same values (e.g., HH, LL, LH, and HL).
Level 2: Checks the candle distance between each level. "Error Value Up-Down" allows adding a margin value between distances.
Level 3: Verifies the percentage distance between levels. "Error Percent" allows adding an error margin to the percentage distance.
Bar to Have: Determines how many values after each pattern to display in the table.
Timezone: Enter the chart's time zone to display the precise start time of the pattern.
Manual search: Allows searching for specific patterns by manually entering up to 8 values, including special values such as:
- High Value: "HH" (Higher High) or "LH" (Lower High)
- Low Value: "LL" (Lower Low) or "HL" (Higher Low)
- Top / Bottom: "HH" (Higher High) or "LL" (Lower Low)
- Mid Level: "LH" (Lower High) or "HL" (Higher Low)
Approximate trend: Shows a trend based on the average of values for each pattern in each section. Allows customizing up to 4 colors, line thickness, and style.
Pattern table: Shows the values of identified patterns. You can customize the number of patterns to show, display order, position, size, and table style.
Displayed elements: Customize elements shown on the table, such as Number, Date, or subsequent Swing values.
Style Label: Modify the visual appearance of labels by selecting colors for background and text.
These options allow optimizing the indicator for different trading styles and market conditions, ensuring accurate and customized technical analysis.
How to Use Predict Trend:
Past Movement Analysis: Use the patterns found to compare past movements with the current trend, gaining a clear vision of possible future directions.
Using Value Averages: Analyze the average of values from found patterns to get a more direct and synthetic view of past market behavior.
Specific Pattern Search: In addition to automatic search based on the active trend, Predict allows searching for specific patterns by entering the necessary data for targeted analysis.
With Predict Trend, you can simplify your market analysis, saving time and improving the accuracy of your decisions with predictions based on concrete and verifiable historical data.
Don't waste any more time and take advantage of the precision of historical pattern analysis to gain a competitive edge in the market.
Economic Seasons [Daveatt]Ever wondered what season your economy is in?
Just like Mother Nature has her four seasons, the economy cycles through its own seasons! This indicator helps you visualize where we are in the economic cycle by tracking two key metrics:
📊 What We're Tracking:
1. Interest Rates (USIRYY) - The yearly change in interest rates
2. Inflation Rate (USINTR) - The rate at which prices are rising
The magic happens when we normalize these values (fancy math that makes the numbers play nice together) and compare them to their recent averages. We use a lookback period to calculate the standard deviation and determine if we're seeing higher or lower than normal readings.
🔄 The Four Economic Seasons & Investment Strategy:
1. 🌸 Goldilocks (↑Growth, ↓Inflation)
"Not too hot, not too cold" - The economy is growing steadily without overheating.
BEST TIME TO: Buy growth stocks, technology, consumer discretionary
WHY: Companies can grow earnings in this ideal environment of low rates and stable prices
2. 🌞 Reflation (↑Growth, ↑Inflation)
"Party time... but watch your wallet!" - The economy is heating up.
BEST TIME TO: Buy commodities, banking stocks, real estate
WHY: These sectors thrive when inflation rises alongside growth
3. 🌡️ Inflation (↓Growth, ↑Inflation)
"Ouch, my purchasing power!" - Growth slows while prices keep rising.
BEST TIME TO: Rotate into value stocks, consumer staples, healthcare
WHY: These defensive sectors maintain pricing power during inflationary periods
4. ❄️ Deflation (↓Growth, ↓Inflation)
"Winter is here" - Both growth and inflation are falling.
BEST TIME TO: Focus on quality bonds, cash positions, and dividend aristocrats
WHY: Capital preservation becomes key; high-quality fixed income provides safety
🎯 Strategic Trading Points:
- BUY AGGRESSIVELY: During late Deflation/early Goldilocks (the spring thaw)
- HOLD & ACCUMULATE: Throughout Goldilocks and early Reflation
- START TAKING PROFITS: During late Reflation/early Inflation
- DEFENSIVE POSITIONING: Throughout Inflation and Deflation
⚠️ Warning Signs to Watch:
- Goldilocks → Reflation: Time to reduce growth stock exposure
- Reflation → Inflation: Begin rotating into defensive sectors
- Inflation → Deflation: Quality becomes crucial
- Deflation → Goldilocks: Start building new positions
The blue dot shows you where we are right now in this cycle.
The red arrows in the middle remind us that this is a continuous cycle - one season flows into the next, just like in nature!
💡 Pro Tip: The transitions between seasons often provide the best opportunities - but also the highest risks. Use additional indicators and fundamental analysis to confirm these shifts.
Remember: Just like you wouldn't wear a winter coat in summer, you shouldn't use a Goldilocks strategy during Inflation! Time your trades with the seasons. 🎯
Happy Trading! 📈
DOGE MVRV Z-ScoreThe MVRV-Z score is a relative indicator, which is the "circulating market value" of Dogecoin minus the "realized market value", and then standardized by the standard of the circulating market value. The formula is:
MVRV-Z Score = (circulation market capitalization - realized market capitalization) / Standard Deviation (circulation market capitalization)
The "realized market value" is based on the value of transactions on-chain, calculating the sum of the "last movement value" of all Dogecoins on the chain. Therefore, when this indicator is too high, it means that the market value of Dogecoin is overvalued relative to its actual value, which is detrimental to the price of Dogecoin; otherwise, it means that the market value of Dogecoin is undervalued. According to past historical experience, when this indicator is at a historical high, the probability of a downward trend in Dogecoin prices increases, and attention should be paid to the risks of chasing higher prices.
ATAMOKU: A Hierarchical Scoring Tool Based on Ichimoku Principle
Overview and Purpose of ATAMOKU
The name "ATAMOKU" combines “Ata” (meaning “ancestor” in Turkish) and “Moku” (meaning “cloud” in Japanese). ATAMOKU is built on Ichimoku principles, designed to assist traders in analyzing trend direction and strength. By providing a structured, score-based approach, ATAMOKU aims to make Ichimoku data more accessible for identifying potential entry and exit points.
How ATAMOKU Works
ATAMOKU uses Ichimoku’s essential elements—including the Conversion Line (Tenkan-sen), Base Line (Kijun-sen), and Leading Spans A and B—and applies a scoring hierarchy to assess market conditions. The scoring system measures trend strength and alignment by comparing the relationships between these elements. This method allows ATAMOKU to produce an objective score that reflects whether the market is in an “ideal” or “non-ideal” state.
Key Features of ATAMOKU
1 - Hierarchy-Based Scoring System:
ATAMOKU calculates a score that represents the strength and direction of the current trend. Each component of Ichimoku is assigned a weight, and the indicator scores these components based on their hierarchical position. When all components align for an upward trend, ATAMOKU’s score will approach +364 (representing an ideal state). In contrast, a score of -364 indicates a non-ideal or bearish alignment.
2 - Optimal and Suboptimal Tracking:
ATAMOKU includes Optimal and Suboptimal markers to track the highest and lowest scores over a specific period, with a default of 52 periods. The Optimal score captures the highest recorded value within the period, while the Suboptimal score captures the lowest. These markers help traders gauge how current conditions compare to recent peaks and troughs, indicating market stability or volatility.
3 - Real-Time Scoring Display (Hierarchy Table):
ATAMOKU uses a Hierarchy Table adjacent to the main chart to present real-time scoring data for each Ichimoku component. This table displays values for Conversion Line, Base Line, Leading Spans, and Lagging Span, providing traders with a detailed view of each component’s contribution to the total score. By referencing the table, traders can understand the weight and impact of each Ichimoku element on the overall score.
4 - Histogram Visualization:
ATAMOKU’s scores are displayed on a histogram with green and red bars to indicate market sentiment. Green bars represent bullish conditions, while red bars indicate bearish conditions. This visual format allows traders to quickly assess trend direction and strength at a glance, providing context for decision-making.
5 - Signal and Smoothing Lines:
To help reduce noise, ATAMOKU features Signal and Smooth lines, which can be customized using different smoothing methods (such as SMA, EMA, or WMA). When the Signal and Smooth lines cross, the indicator will label the trend as UP or DOWN based on the direction of the crossover. This feature helps traders detect potential reversals or trend confirmations.
6 - Adjustable Settings:
* Scoring Weights: Traders can configure the relative weights of each Ichimoku component to match their analysis preferences.
* Smoothing Techniques: Users may choose from SMA, EMA, and WMA smoothing methods to adjust signal sensitivity.
* Period Adjustments: Scoring and smoothing period lengths can be customized to fit various trading styles and time frames.
Intended Use and Practical Application
ATAMOKU is best used alongside the Ichimoku Cloud, as its scoring and signal features complement the visual data provided by Ichimoku. The Hierarchy Score, combined with Optimal/Suboptimal markers, gives traders insight into the current market conditions and allows for comparisons across time. ATAMOKU is adaptable to any time frame and provides both trend analysis and potential entry/exit signals based on Ichimoku principles.
Legal Disclaimer
ATAMOKU is a technical analysis tool and does not guarantee profitability. It is designed to aid in decision-making by providing additional market insights. Traders are encouraged to exercise their judgment and assume responsibility for their trading actions.
Adaptive Kalman filter - Trend Strength Oscillator (Zeiierman)█ Overview
The Adaptive Kalman Filter - Trend Strength Oscillator by Zeiierman is a sophisticated trend-following indicator that uses advanced mathematical techniques, including vector and matrix operations, to decompose price movements into trend and oscillatory components. Unlike standard indicators, this model assumes that price is driven by two latent (unobservable) factors: a long-term trend and localized oscillations around that trend. Through a dynamic "predict and update" process, the Kalman Filter leverages vectors to adaptively separate these components, extracting a clearer view of market direction and strength.
█ How It Works
This indicator operates on a trend + local change Kalman Filter model. It assumes that price movements consist of two underlying components: a core trend and an oscillatory term, representing smaller price fluctuations around that trend. The Kalman Filter adaptively separates these components by observing the price series over time and performing real-time updates as new data arrives.
Predict and Update Procedure: The Kalman Filter uses an adaptive predict-update cycle to estimate both components. This cycle allows the filter to adjust dynamically as the market evolves, providing a smooth yet responsive signal. The trend component extracted from this process is plotted directly, giving a clear view of the prevailing direction. The oscillatory component indicates the tendency or strength of the trend, reflected in the green/red coloration of the oscillator line.
Trend Strength Calculation: Trend strength is calculated by comparing the current oscillatory value against a configurable number of past values.
█ Three Kalman filter Models
This indicator offers three distinct Kalman filter models, each designed to handle different market conditions:
Standard Model: This is a conventional Kalman Filter, balancing responsiveness and smoothness. It works well across general market conditions.
Volume-Adjusted Model: In this model, the filter’s measurement noise automatically adjusts based on trading volume. Higher volumes indicate more informative price movements, which the filter treats with higher confidence. Conversely, low-volume movements are treated as less informative, adding robustness during low-activity periods.
Parkinson-Adjusted Model: This model adjusts measurement noise based on price volatility. It uses the price range (high-low) to determine the filter’s sensitivity, making it ideal for handling markets with frequent gaps or spikes. The model responds with higher confidence in low-volatility periods and adapts to high-volatility scenarios by treating them with more caution.
█ How to Use
Trend Detection: The oscillator oscillates around zero, with positive values indicating a bullish trend and negative values indicating a bearish trend. The further the oscillator moves from zero, the stronger the trend. The Kalman filter trend line on the chart can be used in conjunction with the oscillator to determine the market's trend direction.
Trend Reversals: The blue areas in the oscillator suggest potential trend reversals, helping traders identify emerging market shifts. These areas can also indicate a potential pullback within the prevailing trend.
Overbought/Oversold: The thresholds, such as 70 and -70, help identify extreme conditions. When the oscillator reaches these levels, it suggests that the trend may be overextended, possibly signaling an upcoming reversal.
█ Settings
Process Noise 1: Controls the primary level of uncertainty in the Kalman filter model. Higher values make the filter more responsive to recent price changes, but may also increase susceptibility to random noise.
Process Noise 2: This secondary noise setting works with Process Noise 1 to adjust the model's adaptability. Together, these settings manage the uncertainty in the filter's internal model, allowing for finely-tuned adjustments to smoothness versus responsiveness.
Measurement Noise: Sets the uncertainty in the observed price data. Increasing this value makes the filter rely more on historical data, resulting in smoother but less reactive filtering. Lower values make the filter more responsive but potentially more prone to noise.
O sc Smoothness: Controls the level of smoothing applied to the trend strength oscillator. Higher values result in a smoother oscillator, which may cause slight delays in response. Lower values make the oscillator more reactive to trend changes, useful for capturing quick reversals or volatility within the trend.
Kalman Filter Model: Choose between Standard, Volume-Adjusted, and Parkinson-Adjusted models. Each model adapts the Kalman filter for specific conditions, whether balancing general market data, adjusting based on volume, or refining based on volatility.
Trend Lookback: Defines how far back to look when calculating the trend strength, which impacts the indicator's sensitivity to changes in trend strength. Shorter values make the oscillator more reactive to recent trends, while longer values provide a smoother reading.
Strength Smoothness: Adjusts the level of smoothing applied to the trend strength oscillator. Higher values create a more gradual response, while lower values make the oscillator more sensitive to recent changes.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Dynamic Time Period CandlesThis indicator gives the dynamic history of the current price over various time frames as a series of candles on the right of the display, with optional lines on the chart, so that you can assess the current trend more easily.
In the library I found lots of indicators that looked at the previous xx time period candle, but they then immediately switched to the new xx time candle when it started to be formed. This indicator looks back at the rolling previous time period. With this indicator, you can clearly see how price has been behaving over time.
IMPORTANT SETUP INFO:
Initially, you must go into the settings and select the timeframe (in minutes) that your chart is displaying. If you don't do this then the indicator will look back the wrong number of candles and give you totally wrong results.
You can then setup how high you want the candle labels to be on the chart.
Then you can select settings for each candle that you want displayed. Anywhere between 1 and 5 different timeframes can be displayed on the chart at once.
I initially published an indicator called 'Dynamic 4-Hour Candle (Accurate Highs and Lows)', but this new indicator is so different that it needs to be forked and published as a separate indicator. The reasons for this are below:
The original indicator only looked at the previous 4 hour time period. This indicator allows the user to select any time period that they choose.
The original indicator only looked at one time period. This indicator allows to select between one and five time periods on the chart at once.
The original indicator did not put lines on the chart to show the lookback period and the highs and lows of that time period. This indicator does both those things.
The name of the original indicator in no way now describes what this new indicator is capable of, and would be very misleading to anyone who came across it. This new indicator has a name that much more accurately reflects what its' purpose and functionality is.
[ AlgoChart ] - Compare MarketIndicator Description:
This indicator allows you to display a second asset, selectable from the input panel, in a separate window. Plotted on the same time scale as the first asset but with a distinct price scale, the indicator enables analysis of the relationships and relative movements of two financial instruments. It’s an ideal tool for understanding whether two assets move in a correlated or divergent manner.
Key Features:
Multi-Asset Comparison: Display two assets simultaneously to compare their trends.
Custom Scale: Each asset uses its own price scale, making comparative analysis easier.
Intuitive Interface: Easily select the second asset through the input panel.
Operational Applications:
Spread Trading: Identify optimal moments to execute spread trades when two highly correlated instruments move in opposite directions.
Supply & Demand: Pinpoint zones of interest on both assets, increasing the validity of support and resistance areas.
Exposure Reduction: Monitor instruments that move similarly to avoid exposing the portfolio in identical directions, thereby reducing the risk of double losses.
Additional Features:
Candle Color Change: When a directional divergence occurs between the two assets, the candles change color to highlight the event.
Customizable Notifications: Receive instant alerts when a divergence occurs, allowing you to act promptly.
Anchored Average Trading PriceThis "Anchored Average Trading Price" indicator allows users to anchor the calculation of the average trading price to a specific candle. By selecting an anchor date and time, the indicator begins calculating the average trading price from that point forward. This tool is particularly helpful for traders who want to analyze the price action relative to a key event or a particular point in time on the chart.
Key Features:
1. Flexible Anchoring: The indicator lets you set an anchor time, which determines the specific candle from which the average trading price calculation starts.
2. Customizable Calculation Method: You have the option to choose the basis of the average calculation:
- Open Price
- Close Price
- Average Daily Traded Price (calculated as `(Open + High + Low + Close) / 4`)
3. Automatic Updating: Once the anchor is set, the indicator dynamically updates on each new candle to continuously reflect the average trading price since the anchor point.
Potential Uses and Functionality Expansions:
- Trend Analysis: By observing the average trading price over time, you can gauge market sentiment and track trends from a particular event or time in the market.
- Support and Resistance: Anchoring this indicator to major highs, lows, or significant events could help identify dynamic support and resistance levels as the market interacts with the average price line.
- Customization Options: Future updates could allow additional flexibility, such as:
- A reset feature for users to easily re-anchor without changing the timestamp.
- Additional price calculation methods, like VWAP (Volume Weighted Average Price) for volume-based insights.
- Alerts when price crosses above or below the anchored average, signaling potential entry or exit points.
Trend of Multiple Oscillator Dashboard ModifiedDescription: The "Trend of Multiple Oscillator Dashboard Modified" is a powerful Pine Script indicator that provides a dashboard view of various oscillator and trend-following indicators across multiple timeframes. This indicator helps traders to assess trend conditions comprehensively by integrating popular technical indicators, including MACD, EMA, Stochastic, Elliott Wave, DID (Curta, Media, Longa), Price Volume Trend (PVT), Kuskus Trend, and Wave Trend Oscillator. Each indicator’s trend signal (bullish, bearish, or neutral) is displayed in a color-coded dashboard, making it easy to spot the consensus or divergence in trends across different timeframes.
Key Features:
Multi-Timeframe Analysis: Displays trend signals across five predefined timeframes (1, 2, 3, 5, and 10 minutes) for each included indicator.
Customizable Inputs: Allows for customization of key parameters for each oscillator and trend-following indicator.
Trend Interpretation: Each indicator is visually represented with green (bullish), red (bearish), and yellow (neutral) trend markers, making trend identification intuitive and quick.
Trade Condition Controls: Input options for the number of positive and negative conditions needed to trigger entries and exits, allowing users to refine the decision-making criteria.
Delay Management: Options for re-entry conditions based on both price movement (in points) and the minimum number of candles since the last exit, giving users flexibility in managing trade entries.
Usage: This indicator is ideal for traders who rely on multiple oscillators and moving averages to gauge trend direction and strength across timeframes. The dashboard allows users to observe trends at a glance and make informed decisions based on the alignment of various trend indicators. It’s particularly useful in consolidating signals for strategies that require multiple conditions to align before entering or exiting trades.
Note: Ensure that you’re familiar with each oscillator’s functionality, as some indicators like Elliott Wave and Wave Trend are simplified for visual coherence in this dashboard.
Disclaimer: This script is intended for educational and informational purposes only. Use it with caution and adapt it to your specific trading plan.
Developer's Remark: "This indicator's comprehensive design allows traders to filter noise and identify the most robust trends effectively. Use it to visualize trends across timeframes, understand oscillator behavior, and enhance decision-making with a more strategic approach."
Trends and Peaks [AgJ]Trends and Peaks
The Trends and Peaks indicator is designed to identify and visualize trends and key peaks in the price series. It provides three main functions:
Trends
The indicator detects the formation of trends in the price series and marks uptrend periods in green on the chart. This helps identify where the market is trending in a particular direction.
Peaks
The indicator uses a combination of custom and standard indicators to identify significant peaks in the price action. It classifies these peaks into two categories:
Parabolic Stages : Where the price exhibits accelerated, parabolic growth or decline.
Localized Stages : Where smaller, local peaks occur within a broader trend.
Slowing Trend
In parabolic stages, local peaks can serve as a signal of a slowing trend . As the price begins to plateau, the indicator helps identify areas where the trend might be losing momentum.
NOTE : The default settings are calibrated for BTC. If you're using the indicator on other assets, you may need to adjust the parameters for optimal performance.
Configuration notes
Peaks Settings
Cutoff Limits : Adjusts the width of the area where peaks are detected, allowing you to narrow or widen the peak detection range.
Peak Limits : Offers finer control over the peak detection formula, enabling more precise calibration of what is considered a "peak."
Trends Settings
Algo Parameters : Adjust the algorithm settings to fine-tune trend detection based on your preferences.
Advanced Bitcoin Trend Following StrategyTitle: Bitcoin Multi-Factor Trend Following Strategy
Description:
The Bitcoin Multi-Factor Trend Following Strategy is designed for traders seeking a robust, multi-factor approach to trend following in Bitcoin markets. This script combines technical indicators and statistical methods to identify trend directions, optimize entry and exit points, and manage position sizing based on volatility and leverage constraints. Key features of the strategy include:
Multi-Indicator Trend Forecasting:
This strategy employs three trend forecasting methods: range, exponential moving average (EMA), and Bollinger Bands. Each method can be independently enabled or disabled, giving traders flexibility in how trends are identified and followed.
Range Forecast : Calculates forecast based on the range (high and low) of recent prices, with optional smoothing via a Kalman filter to reduce noise.
EMA Spread Forecast : Utilizes the spread between fast and slow EMAs to gauge the trend’s strength, adjusted for volatility.
Bollinger Band Forecast : Measures the proximity of price to Bollinger Band levels to assess trend intensity.
Kalman Filter for Smoothing:
The Kalman filter is applied to price data for smoother trend estimation, particularly within the range forecast. This allows the strategy to reduce noise and focus on more reliable price signals.
Volatility-Adjusted Position Sizing:
The strategy incorporates volatility targeting to dynamically adjust position sizes based on current market conditions. Traders can set an annualized volatility target to control the risk level, with position size scaled accordingly to maintain consistent risk exposure. A maximum leverage cap ensures that position sizes do not exceed a user-defined threshold, offering an additional layer of risk control.
Dynamic Entry and Exit Points:
Entry and exit points are based on customizable thresholds that determine trend strength and are sensitive to market volatility. The script monitors changes in forecast values and automatically adjusts trades to capitalize on emerging trends or exit weakening ones. The strategy includes an option to close all open positions when trend forecasts fall below defined thresholds, ensuring an automated approach to risk management.
Backtesting and Performance Metrics:
To support strategy optimization, the script includes a backtest mode that calculates key performance metrics such as Sharpe Ratio, Buy & Hold profit, Strategy profit, Win rate, and other metrics. These metrics are displayed in a summary table directly on the chart, providing real-time insight into the strategy’s historical performance compared to a buy-and-hold approach.
Configurable Time and Date Range:
Users can specify start and end dates for the backtest period, allowing for focused backtesting over any desired timeframe. This feature enables in-depth analysis of performance across varying market conditions.
Use Case:
This strategy is best suited for experienced traders who wish to apply a structured trend-following approach in Bitcoin or other high-volatility assets. It is highly customizable, making it adaptable to various market conditions and trading styles. The combination of trend forecasting methods, volatility targeting, and automatic leverage control offers a balanced approach to capturing long-term trends while managing risk.
Parameters:
Entry Threshold: Adjusts the sensitivity of the entry point for trends. Lower values make the strategy more reactive.
Annual Volatility Target: Controls the risk level by targeting a specific annualized volatility percentage.
Max Leverage: Caps the allowable leverage for each trade.
Forecast Activations: Toggles to enable or disable the use of range, EMA, and Bollinger forecasts.
Date Range: Allows users to define the start and end dates for testing the strategy.
Notes:
This strategy is designed for educational purposes and requires thorough backtesting and optimization before live trading. Real-time performance may vary, and additional risk management practices are advised.
License:
This script is subject to the terms of the Mozilla Public License 2.0.