Risk Metric combinedAttempt at replicating a simplified Risk-Metric for BTC.
Original code written by user Oakley Wood.
Based on 3 different approaches:
- deviation from 4 year sma
- ln(btc / 20 wma)
- 50D MA / 50W MA
Moyennes mobiles
LevelUp^ Trend Follower All-In-OneLevelUp is an all-in-one collection of the most popular trend following tools merged into one indicator. LevelUp automates many aspects of technical analysis to find and highlight chart patterns and signals based on the principles of William O'Neil, Stan Weinstein, Jesse Livermore and other well-known trend followers.
The 10-EMA, 21-EMA and 50-SMA are foundational in LevelUp. LevelUp uses the term moving average alignment to refer to patterns that meet your specific requirements as it relates to moving averages and their relationship to price and one another. For example, you can request the start of MA alignment begin when the low is > 21-EMA, the 21-EMA is > 50-SMA and the 50-SMA is trending up.
LevelUp includes indicators for intraday, daily and weekly timeframes.
Key Features:
Daily Timeframe:
▪ Configure moving average alignment and preferred price action.
▪ Custom RS Line:
▪ Symbol overlays showing new RS highs.
▪ Custom moving average with optional cloud.
▪ View 10-week SMA on daily chart.
▪ Set exit criteria based on moving averages and % below entry.
▪ Stats table to simplify calculating entry/exit points.
▪ Signals table to quickly view if stock is trending up.
▪ Power trend tools and analysis.
Daily & Weekly Timeframe:
▪ Flat base detection with custom configuration.
▪ Consolidation detection with custom configuration.
▪ Highlight lower lows and lower closes (pullbacks).
▪ Highlight 52-week highs.
Weekly Timeframe:
▪ Customizable tight closes.
▪ Customizable up weeks.
Intraday Timeframe:
▪ View daily 10-EMA, 21-EMA and 50-SMA.
▪ 1-day and 2-day AVWAP.
▪ 5-day moving average.
All Timeframes:
▪ Marked highs/lows with lines showing support/resistance.
▪ Custom moving averages.
Daily Chart Examples
The following charts show a range of examples on customization and features in LevelUp when viewing a daily chart.
Weekly Chart Examples
Weekly charts are helpful for identifying longer-term trends and patterns. Trend followers often limit the number of indicators and signals on a weekly timeframe, making for a cleaner chart with less noise.
Intraday Chart Examples
Daily 10-EMA, 21-EMA and 50-SMA on an intraday chart.
AVWAP and marked highs/lows.
RS Line ~ Relative Strength
The RS Line compares a stock's performance to the S&P 500 index. A rising RS Line means the stock is outperforming the overall market. Another important signal is when the RS Line reaches a new high before price. When this occurs, it indicates strong demand for the stock and may precede a significant price increase as buyers accumulate shares. Both signals are customizable within LevelUp providing multiple visual cues when the required conditions are met.
LevelUp also adds a few unique visuals as it relates to the typical RS Line. Included are options to show symbols on the RS line that represent RS Line new high and RS Line new high before price. This provides an at-a-glance view of the trend. Additionally, LevelUp allows for custom moving averages to be applied to the RS Line as well as an optional cloud to help identify support/resistance levels.
Power Trends
When a power trend is active, there is a stronger than usual uptrend underway. The concept of a power trend was created by Investor's Business Daily (IBD) based on extensive backtesting and historical analysis.
A power trend by definition uses a major index, such as the Nasdaq Composite (IXIC), as the data source for determining a power trend's state, either off or on. The LevelUp indicator builds upon this concept by allowing the current active chart symbol to be the data source for the power trend.
What Starts A Power Trend:
▪ Low is above the 21-day EMA for at least 10 days.
▪ 21-day EMA is above the 50-day SMA for at least five days.
▪ 50-day SMA is in an uptrend.
▪ Close up for the day.
What Ends A Power Trend:
▪ 21-day EMA crosses under 50-day SMA and the close is below prior day close.
▪ Close below the 50-day SMA and low is 10% below recent high.
Important Note: The power trend as created by IBD uses the daily 21-EMA and 50-SMA. Hence, the power trend is only shown when on the daily timeframe.
AVWAP - Anchored VWAP
The Anchored Volume Weighted Average Price (AVWAP) , created by Brian Shannon, is used to assess the average price at which an asset has traded since a specific time, event or milestone. This could be the beginning of a trading day, the release of important news, or any other event deemed significant. By anchoring the VWAP to a specific point in time, it helps market participants analyze how prices have evolved relative to that anchor.
If a stock is above a rising AVWAP, buyers are in control, while a declining AVWAP indicates sellers are in control. By analyzing AVWAP, traders can make informed decisions on timing entries, managing losses and profits, or deciding to stay on the sidelines during periods of market indecision.
Tight Weeks And Up Weeks
William O'Neil primarily focused on weekly charts. Two common patterns he looked for were tight weeks and up weeks.
Tight weeks occur when there are small variations in price from one week to the next. This indicates a lack of supply and accumulation by institutions. You can configure the minimum number of weeks and the maximum % change in price from week to week.
Up weeks are defined as multiple weeks where each close is higher than the previous week. This pattern is often a signal of institutional buying. At a minimum, O'Neil looked for three weeks of upward price action. You can configure the minimum number of up weeks required.
Flat Base
A flat based is relatively tight price action within a range. A flat base takes 5+ weeks (25+ days) to form. Although flat bases are often found after a more significant advance in price, this isn't always the case. With that in mind, LevelUp does not currently have requirements for a prior uptrend while scanning for flat bases.
In a flat base, price declines should be no more than 15% from intraday peak to trough. This is an important distinction, as with a consolidation (see below) the maximum depth is based on the high of first bar that started the base.
Default Requirements:
▪ Daily minimum length: 25 days.
▪ Weekly minimum length: 5 weeks.
▪ Depth maximum: 15% (daily or weekly).
Consolidation
A consolidation differs from a flat base in that the former can be much deeper and last longer. In addition, the fluctuations in price of a flat base are often tighter than a consolidation.
Unlike a flat base, the maximum depth is calculated from the high at the start of the consolidation. The minimum length and maximum depth can be customized for all flat base and consolidation patterns.
Default Requirements:
▪ Daily minimum length: 30 days.
▪ Weekly minimum length: 6 weeks.
▪ Depth maximum: 35% (daily or weekly).
Pullback In Price And Potential Bounce
A pullback occurs when the price declines after an initial advance. This is normal price action as prior support levels are tested. Pullbacks also act as a way to shakeout weak holders before the primary trend resumes.
With LevelUp you specify the type of pullback to track: lower lows, lower closes or both. You also set the minimum number of bars required. Different values can be set for daily and weekly charts. Once your requirements are met, LevelUp will highlight the bar after the pullback is complete. This is often a potential entry/add point.
52-Week Highs
A 52-week high refers to the highest closing price within the past 52 weeks. Trend followers often use the 52-week high as a signal to identify assets with upward momentum, considering it as an indication of a potential trend continuation. This approach assumes that assets that have reached a 52-week high are more likely to experience further price appreciation.
52-week highs can be shown on both weekly and daily charts. You can set the location where the 52-week high symbol is shown: above the bar, below the bar, at the top of the chart or at the bottom of the chart.
Marked Highs And Lows
Marked highs/lows, often referred to as pivot highs/lows, can be helpful to find areas of potential support and resistance. As defined by William O'Neil, on a daily chart, a marked high is the highest high going back nine bars and forward nine bars. The number of days forward/backward is referred to as the period. The same concept applies to finding marked lows.
One benefit of LevelUp marked highs/lows is that you can customize the high and low periods on all timeframes.
There is an additional option when viewing marked highs/lows to see where a breakout occurs. The highlight is shown if the current bar high is above the most recent pivot high.
Comparing Stock Performance
With two or more copies of LevelUp installed, you can configure different settings and compare and contrast how indicators and signals perform relative to one another.
This is a great way to come up with your own custom layout for each timeframe, tailored to your preferences and trading style.
Stats And The Signals Table
The stats and signal tables can be very helpful to see price information and patterns at a glance. For example, you can quickly determine potential stoploss placement based on the distance to/from a moving average. The signals tables show the status of several key trend indicators, including 52-week highs, RS Line new high and RS Line new high before price.
Managing Long Term Trends
Depending on your trading style, there are many ways to take advantage of long term trends. For example, the chart that follows show how an uptrend can be a profitable trade whether holding for the duration or taking shorter term trades along the way.
BitBell - EMA PullBack RSI EXO
🔵 Introduction
Version 1.1
This is a Pine 5 trend following strategy. It has a four strategy with several alerts and signals. The design intent is to produce a commercial grade signal generator that can be adapted to any symbol in cryptocurrency and only 1H Chart. Ideally, the script is reliable enough to be the basis of an automated trading system web-hooked to a server with API access to crypto brokerages. The strategy can be run in three different modes: long, short and bidirectional.
As a trend following strategy, the behavior of the script is to buy on strength and sell on weakness. As such the trade orders maintain its directional bias according to price pressure. What you will see on the chart is long positions on the left side of the mountain and short on the right. Long and short positions are not intermingled as long as there exists a detectable trend. This is extremely beneficial feature in long running bull or bear markets. The script uses multiple setups to avoid the situation where you got in on the trend, took a small profit but couldn’t get back in because the logic is waiting for a pullback or some other intricate condition.
Deep draw-downs are a characteristic of trend following systems and this system is no different. However, this script makes use of the TradingView pyramid feature with three NPUs to find better place and even you can change drop percentage in settings for another trigger, accessible from the properties tab.
When trend market break it will stop the trade and usually it takes 2-4 percent loss but don't worry it has prefect money management and you can use it for Futures market and even Spot market.
🔵 Design
This script uses twelve indicators on two time frames. The chart (primary) interval and one higher time frame which is based on the primary. The higher time frame identifies the trend for which the primary will trade. I’ve tried to keep the higher time frame around five times greater than the primary. The original trading algorithms are a port from a much larger program on another trading platform. I’ve converted some of the statistical functions to use standard indicators available on TradingView. The setups make heavy use of the Hull Moving Average in conjunction with EMAs that form the Bill Williams Alligator as described in his book “New Trading Dimensions” Chapter 3. Lag between the Hull and the EMAs form the basis of the entry and exit points. The alligator itself is used to identify the trend main body.
The entire script is around 740 lines of Pine code which is the maximum incidental size given the TradingView limits: local scopes, run-time duration and compile time. I’ve been working on this script for over a year and have tested it on various instruments stock crypto. It performs well on higher liquidity markets that have at least a year of historical data. Though it can be configured to work on any interval between 15 minutes and 4 hour, trend trading is generally a longer term paradigm. For day trading the 10 to 15 minute interval will allow you to catch momentum breakouts. For intraweek trades 30 minutes to 1 hour should give you a trade every other a day.
Inputs to the script use cone centric measurements in effort to avoid exposing adjustments to the various internal indicators. The goal was to keep the inputs relevant to the actual trade entry and exit locations as opposed to a series of MA input values and the like. As a result the strategy exposes over 12 inputs grouped into long or short sections. Inputs are available for the usual minimum profit and stop-loss as well as trade, modes, presets, reports and lots of calibrations. The inputs are numerous, I’m aware. Unfortunately, at this time, TradingView does not offer any other method to get data in the script. The usual initialization files such as cnf, cfg, ini, json and xml files are currently unsupported.
Example configurations for various instruments along with a detailed PDF user manual is available.
it has no repaint i guaranty this, and you can have 10 days free with comment and check it by yourself
One issue that comes up when comparing the strategy with the study is that the strategy trades show on the chart one bar later than the study. This problem is due to the fact that “strategy.entry()” and “strategy_close()” do not execute on the same bar called. The study, on the other hand, has no such limitation since there are no position routines. However, alerts that are subsequently fired off when triggered in the study are dispatched from the TradingView servers one bar later from the study plot. Therefore the alert you actually receive on your cell phone matches the strategy plot but is one bar later than the study plot.
Please be aware that the data source matters. Cryptocurrency has no central tick repository so each exchange supplies TradingView its feed. Even though it is the same symbol the quality of the data and subsequently the bars that are supplied to the chart varies with the exchange. This script will absolutely produce different results on different data feeds of the same symbol. Be sure to backtest this script on the same data you intend to receive alerts for. Any example settings I share with you will always have the exchange name used to generate the test results.
🟡 Usage
It sends long and short signals with pyramid orders of up to 3, meaning that the strategy can trigger up to 3 orders in the same direction. Good risk and money management.
It's important to note that the strategy combines 2 systems working together (Long and LongX). Let’s describe the specific features of this strategy.
🔵 If Findes Supports And Ressitances And Trend Lines As Best As It Can, And You Can See:
🟢 Frist Simple Long Condition = It Look At The Trend Wait For RSI Cross 30 Number Then Ckeck Risk To Reward, check something else such as divergence:
🟢 Another Long Example:
🔴 Frist Simple Short Condition = It Look At The Trend Wait For RSI Cross 70 Number Then Ckeck Risk To Reward, check something else such as divergence:
🔴 Another Short Example:
The following steps provide a very brief set of instructions that will get you started but will most certainly not produce the best backtest. A trading system that you are willing to risk your hard earned capital will require a well crafted configuration that involves time, expertise and clearly defined goals. As previously mentioned, I have several example configs that I use for my own trading that I can share with you along with a PDF which describes each input in detail. To get hands on experience in setting up your own symbol from scratch please follow the steps below.
The input dialog box contains over 12 inputs, There are four options must to be configured: Choose Target, side, Choose Settings, Money Management,and settings that apply to both. The following steps address these four main options only.
Money Management System For Leverage 10:
Bot Finds Last Lower Low And Calculate Distance From Entry Price, Then Cross It To Initial Capitan And Cross Leverage =>
Position_Size = (((1.64) * (initial Capital)) * (leverage))
And Check Dominances Too For Getting Best Money Management Result
🔵 Settings
* Side, You Can Set Long Or Short Or Both.
* Choose Target, You Can Set One Target Or All Targets.
* Money Management, You Can ON Or OFF It, With OFF You Can USE It For SPOT Trades.
* Choose Settings, In This Field You Can Set Mathematical Optimization, Ddepends On Which Pair You USE.
* Clear With Daily PullBack?, With This Check Box You Can Clear Signals With Daily PullBack.
* Long X, You Can Set Long Leverage.
* Short X, You Can Set Short Leverage.
* Second Order X, You Can Set Pyramiding Leverage.
* Target Long, You Can Set Percent For Long Target.
* Target Short, You Can Set Percent For Short Target.
* Short Martin Percent, You Can Set Short Martingale Percent.
* Long Martin Percent, You Can Set Long Martingale Percent.
🟡 Pyraming 3
🟡 Commission Is 0.065 %
🟡 Slippage Is 10 ticks
🔴Only Use For 1 Hour Chart
🔴 CONCLUSION
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that.
The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making.
🔴 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by BitBell are purely for informational & educational purposes only. Past performance does not guarantee future results.
Qullamaggie ADR and Volatility and Price Change IndicatorElevate your trading strategy with Qullamaggie ADR, a dynamic indicator inspired by the Kristjan Qullamaggie trading approach. Gain a deeper understanding of market dynamics, daily price movements, and potential turning points.
Key Features:
Qullamaggie ADR: Assess market volatility through the QullaADR, offering customizable time intervals (5, 10, 15, 20 days) to adapt to various trading styles.
Today's Change: Monitor price changes relative to the low of the current trading day, providing valuable intraday insights.
PrevDay price differentials from the previous day's low, aiding in the identification of potential trend reversals.
Track the percentage change from the opening price, offering a snapshot of intraday market sentiment.
Percent from 10-day SMA: Visualize the percentage difference between the closing price and a 10-day Simple Moving Average (SMA), a key trend-following indicator.
Usage:
Utilize QullaADR to set realistic profit targets and stop-loss levels based on current market conditions.
Identify potential trend shifts by observing changes from the previous day's low with Today's QullaChange.
Incorporate QullaPercent from 10-day SMA for trend confirmation and well-informed trading decisions.
Strategy Inspiration:
QullaADR draws inspiration from the Kristjan Qullamaggie trading strategy, aiming to complement your trading toolkit and enhance decision-making.
Disclaimer:
Trading involves risk, and past performance is not indicative of future results. Use this indicator as a supplementary tool within a comprehensive trading strategy.
Version: 1.0
LYFX-GOLD-15MIndicator Operation Method:
The indicator provides a buy signal when the price stabilizes above the moving averages. It should be close to the averages at the same time to ensure a close stop loss.
When the conditions are met, a long trade is opened, and the buy signal appears on the indicator. The stop loss is placed with the red line, and the targets are indicated with the blue balloons. Usually, the first target is twice the stop loss, and the second target is three times the stop loss.
This indicator is one of the most powerful indicators for monitoring price explosions in gold.
For clarification, this indicator is used (according to its default settings) exclusively for gold and only on the 15-minute timeframe. The indicator is created by Mr. Layth Al-Muhandis:
The indicator provides a very close stop loss compared to the first and second targets. I recommend adhering strictly to the stop loss and securing the trade after achieving profits.
This is a simple explanation of how the indicator works.
طريقة عمل المؤشر:
يوفر المؤشر إشارة شراء عند استقرار السعر فوق المتوسطات المتحركة. يجب أن يكون السعر قريبًا من المتوسطات في نفس الوقت لضمان وجود استوب لوس قريب.
عند تحقيق الشروط، يتم فتح صفقة شراء، وتظهر إشارة الشراء على المؤشر. يتم وضع الاستوب لوس بالخط الأحمر، وتوضح البالونات الزرقاء الأهداف. عادةً، يكون الهدف الأول ضعف الاستوب لوس، والهدف الثاني ثلاثة أضعاف الاستوب.
هذا المؤشر من بين أقوى المؤشرات لرصد انفجارات الأسعار في الذهب.
للتنويه، يُستخدم هذا المؤشر (وفقًا لإعداداته الافتراضية) حصريًا للذهب وعلى فاصل زمني 15 دقيقة فقط. تم إنشاء المؤشر بواسطة السيد ليث المهندس.
يوفر المؤشر استوب لوس قريب جداً مقارنة بالهدف الأول والهدف الثاني. أنصح بالالتزام الصارم بالاستوب لوس وتأمين الصفقة بعد تحقيق الأرباح.
DSKOLI TableThis helps to determine bullish or bearish trend of any chart on any generally available time-frame and good to have for Intraday watch.
Details -
a. Points shown in table shows the difference of last shown price from specified EMAs, this helps to know the price movement of candles are above or below the EMA and its coloured with red and green which even further helps to determine its existing trend.
Note or Disclaimer:
1. This may be considered only for Watching as Learning and informational purpose.
2. Take advice from financial advisor before entering, holding, converting or exiting from any order or trade.
3. Always keep your acceptable stop-loss in all your transactions while trading or investing.
DSKOLI or TradingView reserves all right and don't hold any responsibilities for any loss/losses as well as accuracy of levels or price movement.
Multi MAs mit LabelA MA (Moving Average) is useful to identify a trend of an assets. The TradingView builtin indicator "Exponential Moving Average" is useful, but limited in some aspects:
Bound to the active timeframe (e.g. h1)
One MA per indicator instance. Makes it confusing when using multiple
In reality to want to have multiple MAs with different types (EMA, SMA), length and timeframes on your chart to identify trading opportunities. As an example you can use the daily EMA12 and EMA21 to identify the trend and EMA200 on the h4 to enter a trade. That's what this script is used for.
The provided script is an extension to the indicator powered by chipmonk (link to profile below). The original script let you add up to 8 EMAs that can be bound to any timeframe and length. The timeframe and length is displayed on the chart next to EMA.
Unfortunately you can only add EMAs (Exponential Moving Averages) and no SMAs (Simple Moving Averages). That's why the script was extended. You can now choose the type (EMA or SMA) for up to 8 MAs.
Links
Profile of chipmonk
Indicator by chipmonk
Simple Volume-Based Support & Resistance IndicatorWelcome to my open-source indicator that uses trading volume and market trends to identify potential support and resistance levels. This tool is great for seeing where the price might pause or reverse, helping you make more informed trading decisions.
Why You'll Love This Indicator:
Volume Awareness: It looks at how much trading is happening to better predict support (where the price might stop falling) and resistance (where the price might stop rising).
Trend Tracking: The indicator uses the market's ups and downs to refine these support and resistance areas.
Easy to Read: We've made the lines and zones clear and simple to understand, so you can focus on what matters.
How to Use This Tool:
No complicated settings needed! Since it's open-source, feel free to explore the code and tweak it if you like.
The chart will show support zones in green and resistance zones in red. These are your clues for potential price turns.
The Open-Source Advantage:
This script is completely open for you to use, modify, and share. I believe in community-driven improvements, so dive into the code, see how it works, and if you've got a knack for coding, you can even make it better!
Understanding the Chart:
You'll see the support and resistance levels dynamically drawn on your chart. Green shades are where the price might bounce up, and red shades indicate where it might bounce down.
This indicator is my way of giving back to the trading community. By sharing it openly, I hope we can all help improve it and learn from each other. Happy trading!
Trend Change IndicatorThe Trend Change Indicator is an all-in-one, user-friendly trend-following tool designed to identify bullish and bearish trends in asset prices. It features adjustable input values and a built-in alert system that promptly notifies investors of potential shifts in both short-term and long-term price trends. This alert system is crucial for helping less active investors correctly position themselves ahead of major trend shifts and assists in risk management after a trend is established. It's important to note that this indicator is most effective with assets that historically exhibit strong trends.
At the heart of this tool is the interaction between the 30-day and 60-day Exponential Moving Averages (EMA). A bullish trend is indicated in green when the 30-day EMA is above the 60-day EMA, while a bearish trend is signaled in red when the 30-day EMA is below the 60-day EMA. The appearance of gray alerts users to potential shifts in the current trend as the EMAs converge, falling below the Average True Range (ATR) safety margin. This analysis is conducted across both hourly and daily timeframes, with the 4-hour timeframe providing early signals for daily trend changes. The band visually represents the interaction between the daily EMAs and is also displayed in the second row of the table, with the first row showing the same EMA interaction on the 4-hour timeframe.
This indicator also includes a 140-day (20-week) Simple Moving Average (SMA), visually represented by a line with predictive dots. This feature significantly enhances the investor's ability to understand long-term trends in asset prices, offering forward-looking insights by projecting the SMA value 10 days into the future. The value of this forecast lies in interpreting the slope of the dots; upward trending dots suggest a bullish underlying trend, while downward trending dots indicate a bearish trend. Generally, prices above the SMA signal bullishness, and prices below indicate bearishness.
In summary, the Trend Change Indicator is a comprehensive solution for identifying price trends and managing risk. Its intuitive, color-coded design makes it an indispensable tool for traders and investors who aim to be well-positioned ahead of trend shifts and manage risk once a trend has been established. While it has proven historically valuable in trending markets such as cryptocurrencies, tech stocks, and commodities, it is advisable to use this indicator in conjunction with other technical analysis tools for a more comprehensive and well-rounded decision-making process.
MoonFlag BTC Daily Swing PredictorThis script mainly works on BTC on the daily timeframe. Other coins also show similar usefulness with this script however, BTC on the daily timeframe is the main design for this script.
(Please note this is not trading advice this is just comments about how this indicator works.)
This script is predictive. It colors the background yellow when the script calculates a large BTC swing is potentially about to happen. It does not predict in which direction the swing will occur but it leads the price action so can be useful for leveraged trades. When the background gets colored with vertical yellow lines - this shows that a largish price swing is probably going to occur.
The scripts also shades bands around the price action that are used to estimate an acceptable volatility at any given time. If the bands are wide that means price action is volatile and large swings are not easily predicted. Over time, with reducing volatility, these price action bands narrow and then at a set point or percentage (%) which can be set in the script settings, the background gets colored yellow. This indicates present price action is not volatile and a large price swing is potentially going to happen in the near future. When price action breaks through the narrowing bands, the background is no longer presented because this is seen as an increase in volatility and a considerable portion of the time, a large sudden drop in price action or momentous gain in price is realized.
This indicator leads price action. It predicts that a swing is possibly going to happen in the near future. As the indicator works on the BTC daily, this means on a day-to-day basis if the bands continually narrow - a breakout is more likely to happen. In order to see how well this indicator works, have a look at the results on the screenshot provided. Note the regions where vertical yellow lines are present on the price action - and then look after these to see if a sizeable swing in price has occurred.
To use this indicator - wait until yellow vertical lines are presented on the BTC daily. Then use your experience to determine which way the price action might swing and consider entering a trade or leveraged trade in this direction. Alternatively wait a while to see in which direction the break-out occurs and considering and attempt to trade with this. Sometimes swings can be unexpected and breakout in one direction before then swinging much larger in the other. Its important to remember/consider that this indicator works on the BTC daily timeframe, so any consideration of entering a trade should be expected to cover a duration over many days or weeks, or possibly months. A large swing is only estimated every several plus months.
Most indicators are based on moving averages. A moving average is not predictive in the sense in that it lags price actions. This indicator creates bands that are based on the momentum of the price action. A change in momentum of price action therefore causes the bands to widen. When the bands narrow this means that the momentum of the price action is steady and price action volatility has converged/reduced over time. With BTC this generally means that a large swing in price action is going to occur as momentum in price action then pick-up again in one direction or another. Trying to view this using moving averages is not easy as a moving average lags price action which means that it is difficult to predict any sudden movements in price action ahead of when they might occur. Although, moving averages will converge over time in a similar manner as the bands calculated by this script. This script however, uses the price action momentum in a predictive manner to estimate where the price action might go based on present price momentum. This script therefore reacts to reduced volatility in price action much faster than a set of moving averages over various timescales can achieve.
MoonFlag
Golden Cross and Death Cross with ProbabilityThe Advanced Golden and Death Crossover Indicator offers traders a powerful tool for identifying potential buy and sell signals through the classic technical analysis method of moving average crossovers. This script enhances decision-making by dynamically changing the chart background color in response to Golden (bullish) and Death (bearish) crossovers, providing a visual representation of the market's momentum.
Features:
Golden and Death Crossover Detection: Utilizes a 50-period SMA and a 200-period SMA to identify potential buy (golden cross) and sell (death cross) points.
Continuous Background Coloring: Changes the chart's background color to green for golden crosses and red for death crosses, offering an intuitive grasp of market trends.
Customizable Lookback Period: Allows users to adjust the lookback period for calculating the success rate of each crossover, making the indicator adaptable to various trading strategies.
Success Rate Calculation: Provides an additional layer of analysis by calculating the historical success rate of crossovers within the specified lookback period.
Instructions:
Adding the Indicator: Search for "Advanced Golden and Death Crossover Indicator" in the TradingView Indicators & Strategies library and add it to your chart.
Customization: Access the indicator settings to adjust the lookback period according to your trading preferences.
Interpretation: Use the continuous background color as a guide to market conditions, with green indicating bullish momentum and red indicating bearish momentum. The success rate of past crossovers can help assess the reliability of the signals.
How the Script Works:
The Advanced Golden and Death Crossover Indicator operates by continuously monitoring two key moving averages (MAs) on your chart: a short-term (50-period) SMA and a long-term (200-period) SMA. Here's a step-by-step breakdown of its functionality:
Crossover Detection:
Golden Cross: When the short-term MA crosses above the long-term MA, indicating potential bullish momentum, the script identifies this as a Golden Cross signal.
Death Cross: Conversely, when the short-term MA crosses below the long-term MA, suggesting potential bearish momentum, the script flags this as a Death Cross signal.
Background Coloring:
Upon detecting a Golden Cross, the script changes the chart background to green, visually representing a bullish market condition.
Upon detecting a Death Cross, the chart background turns red, indicating bearish market conditions.
This color change remains in effect until the next crossover event, providing a continuous visual cue of the market's trend direction.
Success Rate Calculation:
The script calculates the historical success rate of these crossovers within a user-defined lookback period. This metric helps assess the reliability of the signals based on past performance.
Customization:
Users have the flexibility to adjust the lookback period for the success rate calculation, allowing for customization according to individual trading strategies and risk preferences.
Application in Trading Analysis:
Traders can use this indicator as part of their technical analysis toolkit to make informed decisions about entry and exit points. The visual cues from the continuous background coloring, combined with the success rate of past signals, provide a comprehensive overview of market trends and crossover reliability. It’s important for traders to combine this indicator with other analysis tools and consider broader market conditions to optimize their trading strategy.
Disclaimer:
This script is provided for educational and informational purposes only and should not be construed as investment advice. Trading involves risk, and you should conduct your own research or consult a financial advisor before making investment decisions. The author or distributor of this script bears no responsibility for any trading losses incurred by users.
Trend Sentinel BarrierEveryone in the market wants to take profits from the trend. It is easy to think but hard to execute. In fact, some callbacks or rebounds may cause you to close the position out of fear and let you miss bigger profits.
Indicator: Trend Sentinel Barri er solves this problem for you! It use AI algorithm to help you seize profits.
It is a trend indicator, using AI algorithm to calculate the cumulative trading volume of bulls and bears, identify trend direction and opportunities, and calculate short-term average cost in combination with changes of turnover ratio in multi-period trends, so as to grasp the profit from the trend more effectively without being cheated.
💠Usage:
Signal: "BUY" means bullish trend, "SELL" means bearish trend.
Support and resistance range: "red area" represents strong support or resistance for long-term fluctuation costs, and "blue area" represents moderate support of resistance for short-term fluctuation costs.
🎈Tip I:
When the BUY and SELL signal appear, it means that the direction of the trend will change, and the color of the candles will also change. Don't care about the color of the candles, let's just focus on the price, support and resistance.
🎈Tip II:
Take the BUY signal as an example. When the signal appears and you hold long position, you need to pay attention to the blue and red support range. If the price returns to this range but there is no SELL signal, you can consider holding the long position for a while.
If the price pump with long candles, and then pulls back to the range, you need to be vigilant. You can consider taking the profit when the price breakthrough the support range, or wait for the SELL signal.
🎈Advanced tip I:
In most cases, the trend market is not smooth, there will be a lot of callbacks or rebounds, but because of this, we have many opportunities to do swing trading.
Continuing to take the BUY signal as an example, when this signal appears, every time the price falls back to the blue or red support area, you can consider adding positions. There are two ways to deal with these newly added positions.
One is to do swing trading. You can consider taking profits near the previous high when the price rises. The advantage of this operation is that you can get more profits in the same trend market.
The second is to continue to hold it as the bottom position until the general trend is completely over, and then close the position after obtaining huge profits.
🎈Advanced tip II:
When using advanced tips I, you can consider adding some momentum indicators to assist you in judging whether pullbacks or rebounds have failed, so as to increase your position. Similarly, the momentum indicator can also help you find a take-profit point for newly added positions
For details, please refer to the momentum indicator: KD Momentum Matrix
*The signals in the indicators are for reference only and not intended as investment advice. Past performance of a strategy is not indicative of future earnings results.
Update-
Optimize the alarm function. If you need to monitor the "Buy" or "Sell" signal, when creating an alarm, set the condition bar to:
Trend Sentinel Barrier --> "Buy" or "Sell" --> Crossing Up --> value --> 1
Custom Dual SMADescription
The Custom Dual SMA Indicator is designed for traders who wish to track and compare the moving averages of two different financial instruments simultaneously on the same chart, usually if there is correlation between to different asset such as TQQQ vs SQQQ. This indicator is particularly useful for those who engage in comparative analysis or pairs trading strategies.
Features
Dual Ticker Input: Users can input any two ticker symbols (e.g., stocks, currencies, commodities) to analyze. This flexibility allows for a broad range of comparative analyses across different markets or sectors.
Customizable SMA Length: The indicator provides the option to set the length of the SMA for each ticker symbol independently. This feature is critical for traders who wish to analyze the moving averages over different time periods, depending on their trading strategy or the specific characteristics of the instruments being analyzed.
Overlay on Price Chart: The calculated SMAs are overlaid directly on the price chart, enabling users to easily visualize how the moving averages of the two instruments move in relation to each other and to their respective price actions.
Color-Coded for Clarity: Each SMA is plotted in a different color (red and blue by default), ensuring clear differentiation and easy interpretation at a glance.
Use Case
This indicator is particularly beneficial for:
Comparative Analysis: Traders can compare the performance and trends of two different instruments, observing how their moving averages converge or diverge over time.
Pairs Trading: Those involved in pairs trading can use this tool to identify potential entry and exit points by analyzing the moving averages of two correlated or inversely correlated instruments.
Diversification Analysis: Investors looking to diversify their portfolio can use this indicator to understand the moving average trends of various instruments, helping them make informed decisions about asset allocation.
Summary
The Custom Dual SMA Indicator is a versatile tool for traders and investors who require a comparative view of the moving averages of two different instruments on the same chart. Its customizable nature and ease of use make it suitable for a wide range of trading strategies and market analyses.
PKJ StrategyWelcome to the Daily Price Action Mastery Strategy, a powerful approach to navigating the financial markets using the purest form of market analysis – price action. This trading view strategy is meticulously crafted for those seeking a method that harnesses the daily price movements to make informed and strategic trading decisions.
Key Features:
Daily Candlestick Analysis: Dive into the daily candlestick patterns to identify key support and resistance levels, trend reversals, and potential breakout points. The strategy leverages the valuable information encapsulated in each day's price action to discern market sentiment.
Trend Identification: Utilize trend analysis tools and indicators to pinpoint the prevailing market direction. By understanding the dynamics of daily trends, traders can align their positions with the broader market movement for higher probability trades.
Dynamic Support and Resistance: Implement dynamic support and resistance levels derived from daily price action. These levels act as crucial markers for entry and exit points, helping traders set effective stop-loss and take-profit orders.
Chart Patterns Recognition: Uncover chart patterns such as head and shoulders, flags, and triangles on the daily timeframe. The strategy incorporates pattern recognition techniques to identify potential trend continuation or reversal scenarios, offering traders a comprehensive view of market dynamics.
Volatility Analysis: Gauge market volatility by studying daily price ranges and fluctuations. Volatility indicators are integrated to help traders adjust their risk management strategies in response to varying market conditions.
Confirmation through Indicators: Supplement price action analysis with carefully selected indicators for additional confirmation signals. These indicators are chosen to align with the philosophy of the Daily Price Action Mastery Strategy, enhancing the precision of trade entries and exits.
Risk Management Guidelines: Discover effective risk management practices tailored to the daily timeframe. Learn how to optimize position sizes, set appropriate stop-loss levels, and manage capital to ensure long-term success and sustainability in your trading journey.
Whether you are a seasoned trader or a newcomer to the markets, the Daily Price Action Mastery Strategy provides a comprehensive framework to navigate the complexities of daily price movements. Elevate your trading experience by incorporating this strategy into your analysis, and empower yourself to make well-informed decisions in the dynamic world of finance.
Bitcoin ETFs Clustered EMA [UOI]The 'Bitcoin ETFs Clustered EMA ' is designed to track and analyze the combined movement of various Bitcoin-related ETFs. This indicator incorporates a range of prominent ETFs, including iShares Bitcoin (IBIT), Bitwise Bitcoin (BITB), Tidal Bitcoin (DEFI), ARK Bitcoin (ARKB), Grayscale Bitcoin (GBTC), Fidelity Bitcoin (FBTC), WisdomTree Bitcoin (BTCW), Invesco Bitcoin (BTCO), Valkyrie Bitcoin (BRRR), VanEck Bitcoin (HODL), and Franklin Bitcoin (EZBC). By normalizing their prices to a unified scale and applying Exponential Moving Averages (EMAs) of different lengths (Short, Long, and Extra Long), it provides a comprehensive view of the aggregated trend strength and direction in the Bitcoin ETF market. Its color-coded plotting system offers quick visual cues for market sentiment, making it an invaluable tool for traders focusing on Bitcoin-related securities.
Apply this indicator to the charts of NASDAQ:MARA or AMEX:SPY to see how you can effectively trade these ETFs.
Remember, these do not trade 24/7, so when applied to a Bitcoin chart, the indicator only properly shows during regular trading hours. Also, since these ETFs were recently launched, don't expect them to work properly on longer timeframes like the daily chart. You need to use it on lower timeframes; otherwise, the EMAs may not display correctly. As time passes, you will be able to use it on higher timeframes.
FlexiMA x FlexiST - Strategy [presentTrading]█ Introduction and How it is Different
The FlexiMA x FlexiST Strategy blends two analytical methods - FlexiMA and FlexiST, which are opened in my early post.
- FlexiMA calculates deviations between an indicator source and a dynamic moving average, controlled by a starting factor and increment factor.
- FlexiST, on the other hand, leverages the SuperTrend model, adjusting the Average True Range (ATR) length for a comprehensive trend-following oscillator.
This synergy offers traders a more nuanced and multifaceted tool for market analysis.
BTC 6H L/S Performance
Local
█ Strategy, How It Works: Detailed Explanation
The strategy combines two components: FlexiMA and FlexiST, each utilizing unique methodologies to analyze market trends.
🔶FlexiMA Component:
- Calculates deviations between an indicator source and moving averages of variable lengths.
- Moving average lengths are dynamically adjusted using a starting factor and increment factor.
- Deviations are normalized and analyzed to produce median and standard deviation values, forming the FlexiMA oscillator.
Length indicator (50)
🔶FlexiST Component:
- Uses SuperTrend indicators with varying ATR (Average True Range) lengths.
- Trends are identified based on the position of the indicator source relative to the SuperTrend bands.
- Deviations between the indicator source and SuperTrend values are calculated and normalized.
Starting Factor (5)
🔶Combined Strategy Logic:
- Entry Signals:
- Long Entry: Triggered when median values of both FlexiMA and FlexiST are positive.
- Short Entry: Triggered when median values of both FlexiMA and FlexiST are negative.
- Exit Signals:
- Long Exit: Triggered when median values of FlexiMA or FlexiST turn negative.
- Short Exit: Triggered when median values of FlexiMA or FlexiST turn positive.
This strategic blend of FlexiMA and FlexiST allows for a nuanced analysis of market trends, providing traders with signals based on a comprehensive view of market momentum and trend strength.
█ Trade Direction
The strategy is designed to cater to various trading preferences, offering "Long", "Short", and "Both" options. This flexibility allows traders to align the strategy with their specific market outlook, be it bullish, bearish, or a combination of both.
█ Usage
Traders can effectively utilize the FlexiMA x FlexiST Strategy by first selecting their desired trade direction. The strategy then generates entry signals when the conditions for either the FlexiMA or FlexiST are met, indicating potential entry points in the market. Conversely, exit signals are generated when the conditions for these indicators diverge, thus signaling a potential shift in market trends and suggesting a strategic exit point.
█ Default Settings
1. Indicator Source (HLC3): Provides a balanced and stable price source, reducing the impact of extreme market fluctuations.
2. Indicator Lengths (20 for FlexiMA, 10 for FlexiST): Longer FlexiMA length smooths out short-term fluctuations, while shorter FlexiST length allows for quicker response to market changes.
3. Starting Factors (1.0 for FlexiMA, 0.618 for FlexiST): Balanced start for FlexiMA and a harmonized approach for FlexiST, resonating with natural market cycles.
4. Increment Factors (1.0 for FlexiMA, 0.382 for FlexiST): FlexiMA captures a wide range of market behaviors, while FlexiST provides a gradual transition to capture finer trend shifts.
5. Normalization Methods ('None'): Uses raw deviations, suitable for markets where absolute price movements are more significant.
6. Trade Direction ('Both'): Allows strategy to consider both long and short opportunities, ideal for versatile market engagement.
*More details:
1. FlexiMA
2. FlexiST
EMA + Lower Timeframe EMA (correct display in Replay Mode)This indicator shows
one EMA for the current timeframe
one EMA for a lower timeframe
Unlike the built-in Tradingview EMA indicator, this indicator shows the correct values for the lower timeframe EMA during Replay Mode.
[MAD] Acceleration based dampened SMA projectionsThis indicator utilizes concepts of arrays inside arrays to calculate and display projections of multiple Smoothed Moving Average (SMA) lines via polylines.
This is partly an experiment as an educational post, on how to work with multidimensional arrays by using User-Defined Types
------------------
Input Controls for User Interaction:
The indicator provides several input controls, allowing users to adjust parameters like the SMA window, acceleration window, and dampening factors.
This flexibility lets users customize the behavior and appearance of the indicator to fit their analysis needs.
sma length:
Defines the length of the simple moving average (SMA).
acceleration window:
Sets the window size for calculating the acceleration of the SMA.
Input Series:
Selects the input source for calculating the SMA (typically the closing price).
Offset:
Determines the offset for the input source, affecting the positioning of the SMA. Here it´s possible to add external indicators like bollinger bands,.. in that case as double sma this sma should be very short.
(Thanks Fikira for that idea)
Startfactor dampening:
Initial dampening factor for the polynomial curve projections, influencing their starting curvature.
Growfactor dampening:
Growth rate of the dampening factor, affecting how the curvature of the projections changes over time.
Prediction length:
Sets the length of the projected polylines, extending beyond the current bar.
cleanup history:
Boolean input to control whether to clear the previous polyline projections before drawing new ones.
Key technologies used in this indicator include:
User-Defined Types (UDT) :
This indicator uses UDT to create a custom type named type_polypaths.
This type is designed to store information for each polyline, including an array of points (array), a color for the polyline, and a dampening factor.
UDTs in Pine Script enable the creation of complex data structures, which are essential for organizing and manipulating data efficiently.
type type_polypaths
array polyline_points = na
color polyline_color = na
float dampening_factor= na
Arrays and Nested Arrays:
The script heavily utilizes arrays.
For example, it uses a color array (colorpreset) to store different colors for the polyline.
Moreover, an array of type_polypaths (polypaths) is used, which is an array consisting of user-defined types. Each element of this array contains another array (polyline_points), demonstrating nested array usage.
This structure is essential for handling multiple polylines, each with its set of points and attributes.
var type_polypaths polypaths = array.new()
Polyline Creation and Manipulation:
The core visual aspect of the indicator is the creation of polylines.
Polyline points are calculated based on a dampened polynomial curve, which is influenced by the SMA's slope and acceleration.
Filling initial dampening data
array_size = 9
middle_index = math.floor(array_size / 2)
for i = 0 to array_size - 1
damp_factor = f_calculate_damp_factor(i, middle_index, Startfactor, Growfactor)
polyline_color = colorpreset.get(i)
polypaths.push(type_polypaths.new(array.new(0, na), polyline_color, damp_factor))
The script dynamically generates these polyline points and stores them in the polyline_points array of each type_polypaths instance based on those prefilled dampening factors
if barstate.islast or cleanup == false
for damp_factor_index = 0 to polypaths.size() - 1
GET_RW = polypaths.get(damp_factor_index)
GET_RW.polyline_points.clear()
for i = 0 to predictionlength
y = f_dampened_poly_curve(bar_index + i , src_input , sma_slope , sma_acceleration , GET_RW.dampening_factor)
p = chart.point.from_index(bar_index + i - src_off, y)
GET_RW.polyline_points.push(p)
polypaths.set(damp_factor_index, GET_RW)
Polyline Drawout
The polyline is then drawn on the chart using the polyline.new() function, which uses these points and additional attributes like color and width.
for pl_s = 0 to polypaths.size() - 1
GET_RO = polypaths.get(pl_s)
polyline.new(points = GET_RO.polyline_points, line_width = 1, line_color = GET_RO.polyline_color, xloc = xloc.bar_index)
If the cleanup input is enabled, existing polylines are deleted before new ones are drawn, maintaining clarity and accuracy in the visualization.
if cleanup
for pl_delete in polyline.all
pl_delete.delete()
------------------
The mathematics
in the (ABDP) indicator primarily focuses on projecting the behavior of a Smoothed Moving Average (SMA) based on its current trend and acceleration.
SMA Calculation:
The indicator computes a simple moving average (SMA) over a specified window (sma_window). This SMA serves as the baseline for further calculations.
Slope and Acceleration Analysis:
It calculates the slope of the SMA by subtracting the current SMA value from its previous value. Additionally, it computes the SMA's acceleration by evaluating the sum of differences between consecutive SMA values over an acceleration window (acceleration_window). This acceleration represents the rate of change of the SMA's slope.
sma_slope = src_input - src_input
sma_acceleration = sma_acceleration_sum_calc(src_input, acceleration_window) / acceleration_window
sma_acceleration_sum_calc(src, window) =>
sum = 0.0
for i = 0 to window - 1
if not na(src )
sum := sum + src - 2 * src + src
sum
Dampening Factors:
Custom dampening factors for each polyline, which are based on the user-defined starting and growth factors (Startfactor, Growfactor).
These factors adjust the curvature of the projected polylines, simulating various future scenarios of SMA movement.
f_calculate_damp_factor(index, middle, start_factor, growth_factor) =>
start_factor + (index - middle) * growth_factor
Polynomial Curve Projection:
Using the SMA value, its slope, acceleration, and dampening factors, the script calculates points for polynomial curves. These curves represent potential future paths of the SMA, factoring in its current direction and rate of change.
f_dampened_poly_curve(index, initial_value, initial_slope, acceleration, damp_factor) =>
delta = index - bar_index
initial_value + initial_slope * delta + 0.5 * damp_factor * acceleration * delta * delta
damp_factor = f_calculate_damp_factor(i, middle_index, Startfactor, Growfactor)
Have fun trading :-)
SMIIO + VolumeThis indicator generates long and short signals.
The operation of the indicator is as follows;
First, true strength index is calculated with closing prices. We call this the "ergodic" curve.
Then the average of the ergodic (ema) is calculated to obtain the "signal" curve.
To calculate the "oscillator", the signal is subtracted from ergodic (oscillator = ergodic - signal).
The last variable to be used in the calculation is the average volume, calculated with sma.
Calculation for long signal;
- If the ergodic curve cross up the zero line (ergodic > 0 AND ergodic < 0) and,
- If the current oscillator is greater than the previous oscillator (oscillator > oscillator ) and,
- If the current ergonic is greater than the previous signal (ergonic > signal) and,
- If the current volume is greater than the average volume (volume > averageVolume) and,
- If the current candle closing price is greater than the opening price (close > open)
If all the above conditions are fullfilled, the long input signal is issued with "Buy" label.
Calculation for short signal;
- If the ergodic curve cross down the zero line (ergodic < 0 AND ergodic > 0) and,
- If the current oscillator is smaller than the previous oscillator (oscillator < oscillator ) and,
- If the current ergonic is smaller than the previous signal (ergonic < signal) and,
- If the current volume is greater than the average volume (volume > averageVolume) and,
- If the current candle closing price is smaller than the opening price (close < open)
If all the above conditions are fullfilled, the short input signal is issued with "Sell" label.
Osmosis [ChartPrime]Osmosis is a multi indicator, multi period heatmap. Lookback periods can be mysterious as it can tend to seem very arbitrary. This tool allows users to see how price/volume reacts to short to long periods by visualizing all of the periods at the same time. This is useful because small periods are only good for short term movements while long periods are useful for long term movements. This more detailed view of market trends is analogues of multi time frame analysis. The lookback periods are arranged from bottom up, where the bottom of the indicator is the shortest period while the top is the longest period.
One major feature of this indicator is its ability to signal potential trend reversals. For example, a shift in the direction at the lower end of the heatmap can indicate a weakening of the current trend, suggesting a possible reversal. On the other hand, when the heatmap is fully saturated at all levels, it may indicate a strong trend that could be nearing a reversal point.
Another important and unique aspect of the Osmosis indicator is its automatic highlighting feature. This feature emphasizes regions within the heatmap that score exceptionally high or low, drawing attention to significant market movements or potential anomalies.
All of the indicators are normalized using min/max scaling driven by the highest highs and lows. The period of this scaling is adjustable by changing the "Lookback" parameter under settings. Delta length changes the lookback for "MA Delta" and "Volume Delta". A longer period corresponds to a smoother output. Fast Mode scales back the range of the indicator, literally halving the increment.
Here is a short description of what each input does:
Alternate Source: A choice to use a different data source for the indicator.
Source: An option to turn on or off the alternate data source.
Style: A selection menu to choose the visual style of the indicator.
Lookback: Adjusts how far back in time the indicator looks for its calculations.
Delta Length: Changes the length of time over which changes are measured.
Fast Mode: A setting that adjusts the range of the indicator for quicker analysis.
Enable Smoothing: A choice to smooth out the data for a cleaner look.
Smooth: Activates the smoothing feature.
Max Region: Highlights the highest value regions in the heatmap.
Max Threshold: Sets the threshold for what counts as a 'max' region.
Minimum Max Width: Determines the smallest size for a 'max' region to be highlighted.
Max Region Color: Chooses the color for the maximum value regions.
Max Top Line Alpha: Adjusts the transparency of the top line in max regions.
Max Bottom Line Alpha: Adjusts the transparency of the bottom line in max regions.
Line Width: Sets the thickness of the lines in the max regions.
Region Start Indication: Specifies where the max region starts.
Fill Max: Decides if the max regions should be filled with color and sets the transparency level for the color fill in max regions.
Minimum Region: Highlights the lowest value regions in the heatmap.
Minimum Threshold: Sets the threshold for what counts as a 'min' region.
Minimum Minimum Width: Determines the smallest size for a 'min' region to be highlighted.
Minimum Region Color: Chooses the color for the minimum value regions.
Minimum Top Line Alpha: Adjusts the transparency of the top line in min regions.
Minimum Bottom Line Alpha: Adjusts the transparency of the bottom line in min regions.
Minimum Line Width: Sets the thickness of the lines in the min regions.
Minimum Region Start Indication: Specifies where the min region starts.
Fill Minimum: Decides if the min regions should be filled with color and sets the transparency level for the color fill in min regions.
Color Presets: Provides pre-set color schemes.
Invert Color Scale: Flips the color scale.
Gradient Colors: Customizes individual colors for the gradient scale.
Available styles include:
'MACD Histogram'
'Normalized MACD'
'Slow MACD'
'MACD Percent Rank'
'MA Delta' (Delta Length set to 2)
'BB Width'
'BB Width Percentile'
'Stochastic'
'RSI'
'True Range OSC'
'Normalized Volume'
'Volume Delta'
'True Range'
'Rate of Change' (Smoothing set to 1)
'OBV' (Smoothing set to 1)
'MFI' (Smoothing set to 1)
'Trend Angle' (Smoothing set to 2 and fast mode off)
EXPONOVA @thejamiulNSE:NIFTY "EXPONOVA @thejamiul," is designed to provide traders with a visual tool to analyze market trends and potential entry or exit points. Here's an overview of its features and functionality:
1. Dual Exponential Moving Averages (EMAs):
The indicator utilizes two EMAs with different lengths - one set at 20 periods and the other at 55 periods. These EMAs are calculated based on the closing prices of the assets.
2. Color Gradient Feature:
A unique aspect of this indicator is its use of a color gradient to visually represent the relationship between the price and the longer EMA (55 periods). The gradient consists of a series of colors ranging from shades of red to green.
3. Dynamic Color Adaptation:
The indicator dynamically changes the color of the area between the two EMAs. This color change is based on the position of the closing price relative to the longer EMA (55 periods). The color shifts through the gradient based on the number of bars since the price last crossed the longer EMA.
4. Close Price and EMA Interaction:
The script includes functions to determine whether the closing price is above or below the longer EMA. This interaction is a crucial part of how the color gradient is applied.
5. Visualisation of Market Trends:
By plotting these EMAs and the color-filled area between them, the indicator provides a visual representation of market trends. The changing colors can help traders in identifying trend strength, potential reversals, or consolidation phases.
6. Overlay on Price Chart:
The indicator is designed to overlay directly on the price chart, making it easier for traders to correlate the EMAs and the color gradient with price movements.
7. Explicit Mention of Originality:
One of the distinctive features of 'EXPONOVA @thejamiul' is its innovative use of a color gradient to visually represent the price's relationship with the longer EMA. This approach, combined with our specific choice of EMAs and the dynamic color adaptation technique, sets this script apart from standard EMA-based indicators.
8. Acknowledgement of Potential Shortcomings or Limitations:
While 'EXPONOVA @thejamiul' provides a dynamic visual aid for trend analysis, users should note that like all indicators, it is subject to market volatility and should be used in conjunction with other analysis methods. This script is best suited for , and users may need to adjust settings for optimal performance in different market scenarios.
9. Summary:
"EXPONOVA @thejamiul" is a visually intuitive and dynamic trading tool that combines dual EMAs with a unique color gradient feature to aid traders in making informed decisions based on the relationship between price trends and moving averages.
Moving Average Dispersion Index w/ Z-Score (Adjusted MADI-Z)Overview
The Adjusted MADI-Z indicator is a custom indicator that looks to decipher trends and consolidations based on the clustering and dispersion of Moving Averages. It calculates a z-score based on the dispersion of various exponentially weighted moving averages to identify trends and consolidation. The z-score is then adjusted using a logistic function to map it between 0-100.
How can it be used?
- Identify trends and consolidation - Values above 80 indicate a strong trend while values below 20 show consolidation
- Gauge trend strength - Higher positive values suggest a stronger uptrend while lower negative values indicate a stronger downtrend
- Generate trading signals - Crossovers of key levels can act as entry/exit triggers
- Smooth noise in price action - The adjusted z-score filters out market noise
Default Values
- ma5_len = 5
- ma10_len = 10
- ma50_len = 50
- ma200_len = 200
- lookback_period = 100
Strategies
The Adjusted MADI-Z can be used for trend-following strategies across various timeframes. Specific strategies include:
- Trend trading - Enter long on crossover above 80, exit on crossover below 80. Reverse for short trades.
- Range trading - Enter short on crossover below 20, exit on crossover above 20. Reverse for long trades.
- Identifying pullbacks - Temporary moves below 80 during uptrends and above 20 during downtrends can act as retracement entry points.
Rationale
By adjusting the z-score output of the standard MADI using a logistic function, the indicator becomes bounded and easier to interpret for trading purposes. The customized moving average lengths also allow tuning the indicator to particular assets and timeframes.
Interpretation
- Above 80 - Strong uptrend
- 70 to 80 - Moderate uptrend
- 50 to 70 - Weak uptrend
- 30 to 50 - Range-bound consolidation
- 20 to 30 - Weak downtrend
- Below 20 - Strong downtrend
Values below 15 or above 85 represent extremes outside two standard deviations.