Directional Movement Index - CAFDirectional Movement Index with improved color pattern and 25 point horizontal line
方向性指数 (DMI)
RSI, ADX, DI & Bollinger Bands Screener [deepakks444]### **Indicator Name:**
**RSI, ADX, DI & Bollinger Bands Screener **
---
### **Purpose:**
This indicator combines several popular technical analysis tools, including RSI, ADX, DI, Bollinger Bands, and Moving Averages, to create a comprehensive screener for identifying potential trading opportunities. It also detects divergences and crossover signals for better entry and exit decisions.
---
### **Key Features:**
1. **RSI (Relative Strength Index):**
- Configurable for up to three different timeframes and lengths.
- Highlights RSI values crossing specific thresholds (e.g., 58 and 42) to signal potential momentum changes.
- Includes visual markers for RSI values overbought, oversold, and divergence detection.
2. **ADX and DI (Directional Movement Index):**
- Tracks ADX values and compares +DI and -DI to assess trend strength and direction.
- Configurable thresholds for ADX and DI levels.
- Dynamic midline plotted at 50 for easy trend visualization.
3. **Bollinger Bands:**
- Provides real-time Bollinger Bands with adjustable length and standard deviation multipliers.
- Detects and alerts when prices cross above or below Bollinger Bands for breakout or reversal signals.
4. **Divergence Detection:**
- Identifies bullish and bearish RSI divergences for potential reversal zones.
- Displays visual markers for divergences directly on the chart.
5. **Customizable Moving Averages (MA):**
- Supports multiple MA types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
- Dynamically changes MA color based on price position relative to the MA.
6. **Alerts:**
- Built-in alert conditions for:
- RSI crossing key levels (58, 42).
- Price crossing Bollinger Bands or moving averages.
- ADX crossing user-defined thresholds.
- Divergences and directional signals (+DI > -DI or vice versa).
- Long and Short signals triggered by combined conditions.
7. **Multi-Symbol Screener:**
- Monitors up to 13 user-defined symbols across multiple timeframes.
- Displays key metrics like RSI for each symbol and timeframe in a tabular format.
- Highlights symbols meeting specific conditions (e.g., RSI overbought/oversold).
8. **User-Friendly Interface:**
- Configurable table position for screener output.
- Adjustable column width and screener position.
- Customizable parameters for every technical indicator and timeframe.
---
### **Inputs and Customization:**
#### **RSI Settings:**
- Configurable lengths for three timeframes (e.g., 14-period RSI for 15m, 1h, and daily charts).
- Overbought and oversold thresholds (default: 60 for overbought, 40 for oversold).
#### **Bollinger Bands Settings:**
- Adjustable length (default: 20) and standard deviation multiplier (default: 2.0).
#### **ADX Settings:**
- Adjustable ADX period, smoothing period, and DI length.
- User-defined ADX threshold to identify strong trends.
#### **Moving Average Settings:**
- Select from various MA types (e.g., SMA, EMA, SMMA, WMA, VWMA).
- Configurable MA length for precise adjustments.
#### **Divergence Detection Settings:**
- User-configurable RSI lookback periods to identify divergence.
- Option to enable or disable divergence detection.
#### **Multi-Symbol Screener:**
- Add up to 13 custom symbols for monitoring.
- Flexible timeframe selection for each symbol.
#### **Display Settings:**
- Choose table position (Top/Bottom Right or Left).
- Customize table column width and screener number.
---
### **Plots and Visuals:**
1. **RSI Panel:**
- Displays RSI values for each symbol and timeframe.
- Highlights RSI values exceeding overbought/oversold thresholds or crossing key levels.
2. **Bollinger Bands:**
- Plots the basis, upper, and lower bands.
- Fills the area between the bands for better visualization of price action.
3. **Moving Average (Dynamic):**
- MA line plotted with dynamic color indicating price position (green for above, red for below).
4. **ADX and DI:**
- Plots ADX and directional lines (+DI, -DI) with dynamic colors based on trend strength.
5. **Divergences:**
- Visual markers for bullish and bearish RSI divergences.
6. **Signals:**
- Buy and Sell markers plotted when signals are triggered.
---
### **Alert Conditions:**
1. **RSI Alerts:**
- RSI crosses above 58 or below 42.
2. **Bollinger Bands Alerts:**
- Price crosses above or below Bollinger Bands.
3. **MA Alerts:**
- Price crosses above or below the selected moving average.
4. **ADX Alerts:**
- ADX crosses above or below the user-defined threshold.
5. **Divergence Alerts:**
- Bullish and Bearish RSI divergence detected.
6. **Trend Signals:**
- Long signal (RSI > 50, +DI > -DI, ADX > threshold).
- Short signal (RSI < 50, -DI > +DI, ADX > threshold).
---
### **How to Use:**
1. Configure the input settings according to your trading strategy.
2. Add up to 13 symbols and define the timeframes you want to monitor.
3. Enable or disable specific features like divergence detection, screener panel, and smoothing.
4. Use the screener table to identify actionable setups quickly.
5. Set alerts for key conditions like RSI levels, price crossovers, and trend signals.
---
### **Best Practices:**
- Combine the screener's output with your trading strategy for better decision-making.
- Use the divergence signals to spot potential reversals early.
- Monitor ADX levels to trade during strong trending markets.
- Configure RSI and Bollinger Band settings to suit the market conditions and asset class.
---
This indicator is a powerful tool for traders seeking a comprehensive analysis of multiple symbols using a combination of RSI, ADX, DI, Bollinger Bands, and Moving Averages. It is especially useful for those looking to detect divergences and receive actionable alerts for improved trading performance.
Disclaimer:
This indicator is designed for educational purposes only and should not be interpreted as financial advice or a recommendation to buy, sell, or hold any financial instrument.
Trading and investing in financial markets involve substantial risks and are not suitable for all investors.
Users are encouraged to perform their own research and consult with a licensed financial advisor or professional before making any trading or investment decisions.
The developer of this script and TradingView are not responsible for any financial losses or decisions based on the use of this indicator.
Past performance is not indicative of future results.
By using this indicator, you acknowledge and accept that you are solely responsible for your own trading and investment decisions. Always trade responsibly and within your financial means.
TASC 2024.12 Dynamic ADX Histogram█ OVERVIEW
This script introduces a new version of the ADX oscillator, designed by Neil Jon Harrington and featured in the "Revisualizing The ADX Oscillator" article from the December 2024 edition of TASC's Traders' Tips .
█ CONCEPTS
The directional movement index (DMI+ and DMI−) and average directional index (ADX) indicators have long been popular with technical analysts. Developed by J. Welles Wilder in the 1970s, these indicators provide information about the direction and strength of price movements across bars. The DMI+ measures positive price movement, the DMI- measures negative price movement, and the ADX gauges the average strength of price trends. Although these indicators can provide helpful insights into price action and momentum, Neil Jon Harrington argues they are often misunderstood or misapplied.
Harrington's indicator, the Dynamic ADX Histogram (DADX), applies directional information to the ADX based on DMI+ and DMI- values to create a single oscillator centered around 0. The indicator displays the oscillator as a histogram with dynamic colors based on ADX movements and user-defined strength thresholds. The author believes this modification of the ADX and DMI data offers a more intuitive visualization of the information provided by Wilder's calculations.
An additional feature of the DADX is the option to use average (smooth) DMI+ and DMI- values in the oscillator's calculation, which reduces noise and choppiness at the cost of added lag.
█ USAGE
The "ADX Length" input determines the number of bars in the DMI and ADX calculation. The "DMI Smoothing Length" input controls the number of bars in the DMI smoothing calculation. Use a value of 1 for non-smoothed DMI data.
The sign of the DADX indicates the direction of price movements based on the difference between the smoothed DMI+ and DMI- values. The absolute value of the oscillator corresponds to the ADX, representing the trend strength.
The "Low Threshold" and "High Threshold" inputs define the ADX thresholds for categorizing trending, non-trending, and exhaustion states. The low threshold specifies the minimum absolute oscillator value required to indicate a trend, and the high threshold marks the absolute value where trend strength is excessive, possibly suggesting an upcoming consolidation or reversal. The indicator colors the histogram based on these thresholds and changes in the ADX, with brighter colors denoting a strengthening trend and darker colors signaling a weakening trend.
DMI Delta by 0xjcfOverview
This indicator integrates the Directional Movement Index (DMI), Average Directional Index (ADX), and volume analysis into an Oscillator designed to help traders identify divergence-based trading signals. Unlike typical volume or momentum indicators, this combination provides insight into directional momentum and volume intensity, allowing traders to make well-informed decisions based on multiple facets of market behavior.
Purpose and How Components Work Together
By combining DMI and ADX with volume analysis, this indicator helps traders detect when momentum diverges from price action—a common precursor to potential reversals or significant moves. The ADX filter enhances this by distinguishing trending from range-bound conditions, while volume analysis highlights moments of extreme sentiment, such as solid buying or selling. Together, these elements provide traders with a comprehensive view of market strength, directional bias, and volume surges, which help filter out weaker signals.
Key Features
DMI Delta and Oscillator: The DMI indicator measures directional movement by comparing DI+ and DI- values. This difference (DMI Delta) is calculated and displayed as a histogram, visualizing changes in directional bias. When combined with ADX filtering, this histogram helps traders gauge the strength of momentum and spot directional shifts early. For instance, a rising histogram in a bearish price trend might signal a potential bullish reversal.
Volume Analysis with Extremes: Volume is monitored to reveal when market participation is unusually high, using a customizable multiplier to highlight significant volume spikes. These extreme levels are color-coded directly on the histogram, providing visual cues on whether buying or selling interest is particularly strong. Volume analysis adds depth to the directional insights from DMI, allowing traders to differentiate between regular and powerful moves.
ADX Trending Filter: The ADX component filters trends by measuring the overall strength of a price move, with a default threshold of 25. When ADX is above this level, it suggests that the market is trending strongly, making the DMI Delta readings more reliable. Below this threshold, the market is likely range-bound, cautioning traders that signals might not have as much follow-through.
Using the Indicator in Divergence Strategies
This indicator excels in divergence strategies by highlighting moments when price action diverges from directional momentum. Here’s how it aids in decision-making:
Bullish Divergence: If the price is falling to new lows while the DMI Delta histogram rises, it can indicate weakening bearish momentum and signal a potential price reversal to the upside.
Bearish Divergence: Conversely, if prices are climbing but the DMI Delta histogram falls, it may point to waning bullish momentum, suggesting a bearish reversal.
Visual Cues and Customization
The color-coded output enhances usability:
Bright Green/Red: Extreme volume with strong bullish or bearish signals, often at points of high potential for trend continuation or reversal.
Green/Red Shades: These shades reflect trending conditions (bullish or bearish) based on ADX, factoring in volume. Green signals a bullish trend, and red is a bearish trend.
Blue/Orange Shades: Indicates non-trending or weaker conditions, suggesting a more cautious approach in range-bound markets.
Customizable for Diverse Trading Styles
This indicator allows users to adjust settings like the ADX threshold and volume multiplier to optimize performance for various timeframes and strategies. Whether a trader prefers swing trading or intraday scalping, these parameters enable fine-tuning to enhance signal reliability across different market contexts.
Practical Usage Tips
Entry and Exit Signals: Use this indicator in conjunction with price action. Divergences between the price and DMI Delta histogram can reinforce entry or exit decisions.
Adjust Thresholds: Based on backtesting, customize the ADX Trending Threshold and Volume Multiplier to ensure optimal performance on different timeframes or trading styles.
In summary, this indicator is tailored for traders seeking a multi-dimensional approach to market analysis. It blends momentum, trend strength, and volume insights to support divergence-based strategies, helping traders confidently make informed decisions. Remember to validate signals through backtesting and use it alongside price action for the best results.
ACCScanner[MaximizedTrading]- ACCScanner -
ACCScanner is a highly advanced and versatile TradingView indicator, specifically designed to enhance and simplify your trading experience. Whether you are a beginner or an experienced trader, ACCScanner provides all the tools you need to make informed and timely trading decisions. With a user-friendly settings menu, cutting-edge signal filtering technology, and a comprehensive alert system, ACCScanner ensures that you stay ahead of the market and never miss a key trading opportunity.
This indicator is built to adapt to your unique trading strategy, allowing for full customization and optimization. ACCScanner offers a seamless trading experience by eliminating unnecessary noise, providing only the most relevant signals, and helping you execute trades with confidence.
__________________________________________________________________
🔑 Key Features:
Comprehensive Alert System: Stay ahead of the market with dynamic alerts. A "Signal incoming!" alert is triggered when trade conditions align, followed by a clear "Buy/Sell Signal" when conditions are met. Visual indicators (red for sell, green for buy) appear on the chart.
Clear and Customizable Settings: Easily customize ACCScanner for your trading strategy with a user-friendly settings menu. Switch between Desktop and Mobile modes for optimal performance.
Trading Session Time: Optimize your trading with improved session time settings for maximum efficiency.
Bollinger Bands: These bands measure market volatility, helping you identify strong signals and potential trend reversals.
RSI Bands: The RSI Bands are designed to provide an additional layer of confirmation by showing the strength of a signal. This helps you assess whether a trade setup is reliable or if caution is warranted.
EMA 200: The EMA 200 serves as a trend indicator, helping you identify the overall market direction. You can also choose to take less strong signals, as long as they align with the prevailing trend, ensuring you stay on the right side of the market.
Advanced Signal Filtering: Eliminate unnecessary signals with additional oscillator bands when signal filtering is enabled. The oscillator’s position shows signal strength—more transparent icons indicate weaker signals, focusing only on high-probability trades.
Integrated Stop Loss and Take Profit Options: Protect your trades with a range of stop loss settings, including Wick Multiplier, Fixed Stoploss, or Average Candle Size. Additionally, you can set a custom Risk Ratio for Take Profit levels, ensuring your risk management is aligned with your strategy.
Position Size Calculation: Once your settings are properly configured, ACCScanner can calculate the ideal position size, helping you manage risk and optimize trades effectively.
__________________________________________________________________
🎯 Why Choose ACCScanner?
ACCScanner stands out with its powerful alert system, allowing you to stay ahead of the market without constantly monitoring your charts. After setting up the alerts, you’ll receive a "Signal incoming" notification when a potential trade is forming. Once the conditions are fully met, a clear "Buy/Sell Signal" alert will notify you, enabling swift action—even if you're away from the screen.
The ACCScanner oscillator helps you quickly assess signal strength. The light blue line (RSI) moving outside the dark blue line (Bands) indicates stronger setups, and with the Signal Strength filter, you can further refine signals. Transparent icons represent weaker signals, ensuring you focus only on high-probability trades.
ACCScanner also offers precise Stoploss, Price, and Position Size calculations, built directly into the indicator. This feature helps you manage risk efficiently. With integrated Average Candle Size calculations and customizable stop loss options, ACCScanner ensures you are trading with optimized risk management. Once all settings are correctly configured under 'Account Info', you can use the table values to execute trades with confidence.
What makes ACCScanner worth paying for is its ability to save time and enhance trading efficiency. By providing early alerts, you have time to prepare for key trading opportunities before they fully develop. This proactive approach allows you to focus on making confident decisions at the right moment, without being overwhelmed by excessive information. Additionally, the well-organized table simplifies trading by displaying all the necessary values, so you can focus on executing your strategy seamlessly.
__________________________________________________________________
How to Use the ACCScanner?
⚙️ Setup Alerts
To use the ACCScanner effectively, it's crucial to set up the indicator correctly beforehand. Make sure to configure all the settings under the 'Account Info' section at the bottom of the settings menu. Proper setup is necessary to function correctly!
To set up alerts, first ensure all settings are correctly configured. Then, hover over the indicator with your mouse and click on the three dots that appear. Select 'Add Alert on ACCS ' and configure the alert settings.
🏹 3 Steps to Place a Trade with ACCScanner
Step 1: Wait for the "Signal Incoming" Alert
Once you've set up your alerts, ACCScanner will notify you when a potential trade is forming with the "Signal Incoming" alert. This is your early signal to prepare for a possible trade. At this point, begin observing the market and focus on the key indicators, such as the RSI Bands and Bollinger Bands. Check if the price or RSI is touching or approaching the outer bands, which could indicate a strong setup.
Step 2: Analyze the Situation
While waiting for the final signal, confirm whether the market conditions align with the trade strategy. If the RSI or Bollinger Bands are interacting with their respective boundaries, this strengthens the potential trade signal. Stay ready and keep a close watch on the chart for the final signal.
Step 3: React Quickly to the "Buy/Sell Signal" Alert
When you receive the "Buy/Sell Signal" alert, it means the conditions for the trade are fully met. Act quickly and use the data provided in the ACCScanner table—including Stoploss distance, Stoploss price, and Position size—to place your trade. Ensure all the settings have been configured properly under 'Account Info' beforehand so you can execute the trade smoothly and confidently.
__________________________________________________________________
📌 CONCLUSION
We believe that true success comes from the synergy between the trader and the indicator, rather than relying solely on the tool itself for profitability. While many traders expect an indicator to generate profits on its own, the reality is much more nuanced.
Our goal with ACCScanner is to offer a comprehensive, customizable, and easy-to-use tool that helps traders develop a deeper understanding of market dynamics. By using ACCScanner as a support tool for informed decision-making, any trader can enhance their trading strategy and gain the confidence to act effectively.
__________________________________________________________________
⚠️ Disclaimer
Past performance does not guarantee future results. All content, tools, scripts, articles, & education provided by MaximizedTrading are purely for informational & educational purposes only. Past performance is no guarantee of future results.
Arjunology for Stocks IndicatorArjunology for Stocks Indicator is a unique trend-following and exit management system that combines the power of Exponential Moving Averages (EMA) and Average True Range (ATR) to capture market trends and manage trade exits dynamically. It is designed to help traders identify potential buy and sell points based on market trends while incorporating volatility adjustments to avoid false signals and provide more reliable trade entries and exits.
Key Features:
1. Exponential Moving Averages (EMAs):
• Two EMAs (Short EMA and Long EMA) are used to determine trend direction and potential crossover signals.
• Short EMA reacts quickly to price changes, giving an indication of shorter-term trends.
• Long EMA provides a more stable measure of the overall trend direction, helping filter out market noise.
• Bullish Crossovers: When the short EMA crosses above the long EMA, it signals a potential uptrend (buy condition).
• Bearish Crossovers: When the short EMA crosses below the long EMA, it signals a potential downtrend (sell condition).
2. Average True Range (ATR):
• ATR is used to assess market volatility and avoid false signals during low volatility periods.
• A trailing stop loss mechanism based on ATR ensures that the indicator adapts to the current market environment, with higher volatility allowing for wider stops and lower volatility leading to tighter stops.
• A flat ATR threshold is used to avoid signals during quiet periods, where price movement may be too insignificant to trade effectively.
3. Buy and Sell Visual Cues:
• Green Triangle at the bottom of the candle when a bullish crossover (buy) condition is met.
• Red Triangle at the top of the candle when a bearish crossover (sell) condition is met.
• These visual cues help traders quickly identify trade entry points based on the trend signals.
4. Dynamic Exit Management:
• The indicator provides an Blue candle background to highlight exit points, with an “EXIT” label at the bottom of the candle in blue. This visual exit signal ensures clarity when a trade should be exited based on the trend reversal.
Justification for Combining EMAs and ATR in This Script:
The Exponential Moving Averages (EMAs) and Average True Range (ATR) serve complementary purposes in this script, enhancing each other’s functionality to provide a more complete trading system:
1. Trend Identification with EMAs:
• The combination of short and long EMAs is a widely trusted method for determining the trend direction. The crossovers between these EMAs provide clear entry signals for buy or sell trades. However, relying solely on EMAs can lead to false signals during periods of low volatility or market consolidation.
2. ATR for Volatility and Stop Loss:
• To prevent false signals during low-volatility conditions, the script uses ATR as a filter. This ensures that trades are only taken when the market has enough momentum, reducing the risk of being caught in “choppy” conditions where price action may be flat and untradeable.
• Additionally, the ATR-based trailing stop provides dynamic trade management, adjusting stop-loss levels according to the current volatility. This makes the system adaptive and prevents tight stops in volatile conditions or unnecessarily wide stops in calm markets.
3. Why They Work Together:
• The EMAs handle the trend direction, which is the foundation of the trading system, while the ATR adjusts the trade management to account for changing volatility. This means that the trader is always entering trades that are likely to follow a strong trend, while avoiding stagnant markets and using volatility-adaptive exit points.
• Without ATR, EMAs might generate signals during low-volatility periods that are unreliable. On the other hand, ATR alone wouldn’t provide a clear direction for trend-following. Together, these indicators create a balanced approach where trades are not only timely but also carefully managed.
How to Use:
• Buy Entry: Enter when the green triangle appears, indicating a bullish EMA crossover.
• Sell Entry: Enter short when the red triangle appears, indicating a bearish EMA crossover.
• Exit: Follow the orange background and blue “EXIT” label as a visual cue to exit the trade.
The combination of these tools allows traders to identify meaningful trend reversals while also managing risk dynamically, making the Arjunology for Stocks Indicator both versatile and effective for various market conditions.
Dema DMI | viResearchDema DMI | viResearch
Conceptual Foundation and Innovation
The "Dema DMI" indicator integrates the Double Exponential Moving Average (DEMA) with the Directional Movement Index (DMI), creating a more responsive and precise trend-following system. The DEMA is used to smooth price data while minimizing lag, making it highly effective for trend detection. The DMI, on the other hand, measures the strength and direction of a trend by analyzing positive and negative directional movements. By combining these two elements, the "Dema DMI" offers traders a powerful tool for identifying trend changes and evaluating the strength of ongoing trends. This combination helps filter out noise in price data while maintaining sensitivity to market movements, providing better trend signals and decision-making opportunities.
Technical Composition and Calculation
The "Dema DMI" script uses two main components: the Double Exponential Moving Average (DEMA) and the Directional Movement Index (DMI). The DEMA is applied to both the high and low prices, creating smoothed versions of these prices based on a user-defined length. The DMI is then calculated by comparing changes in the smoothed high and low prices to measure directional movement. Positive directional movement (DM+) and negative directional movement (DM−) are calculated by evaluating whether the price is trending upward or downward, and the Average Directional Index (ADX) is computed to measure the strength of the trend. The ADX is smoothed to provide a more stable signal of trend strength.
Features and User Inputs
The "Dema DMI" script provides several customizable inputs, enabling traders to tailor the indicator to their strategies. The DEMA Length controls the period over which the DEMA is calculated for both high and low prices. The DMI Length sets the window for calculating directional movement, while the ADX Smoothing Length determines how smooth the ADX line appears, making it easier to assess whether a trend is strengthening or weakening. The script also includes customizable bar colors and alert conditions, providing traders with clear visual cues and notifications when a trend change occurs.
Practical Applications
The "Dema DMI" indicator is designed for traders looking to assess trend strength and direction more effectively. The DEMA smooths price movements, while the DMI highlights shifts in directional movement, providing early signals of potential trend reversals. The ADX helps gauge whether a trend is gaining momentum, allowing traders to improve the timing of trade entries and exits. Additionally, the customizable inputs make the indicator adaptable to different market conditions, ensuring its usefulness in both trending and ranging environments.
Advantages and Strategic Value
The "Dema DMI" script offers significant value by merging the smoothing effects of DEMA with the directional analysis of the DMI. This combination reduces the lag commonly associated with trend-following indicators, providing more timely and accurate trend signals. The ADX further enhances the indicator’s utility by measuring the strength of the trend, helping traders filter out weak signals and stay aligned with stronger trends. This makes the "Dema DMI" an ideal tool for traders seeking to improve their trend-following strategies and optimize their market positioning.
Alerts and Visual Cues
The script includes alert conditions that notify traders when a significant trend change occurs. The "Dema DMI Long" alert is triggered when the indicator detects an upward trend, while the "Dema DMI Short" alert signals a potential downward trend. Visual cues, such as changes in the bar color and the difference between positive and negative directional movement, help traders quickly identify trend shifts and act accordingly.
Summary and Usage Tips
The "Dema DMI | viResearch" indicator combines the smoothing benefits of the DEMA with the directional analysis of the DMI, providing traders with a reliable tool for detecting trend changes and confirming trend strength. By incorporating this script into your trading strategy, you can improve your ability to detect early trend reversals, confirm trend direction, and reduce noise in price data. The "Dema DMI" is a flexible and adaptable solution for traders looking to enhance their technical analysis in various market conditions.
Note: Backtests are based on past results and are not indicative of future performance.
Directional Movement Index DEThis script uses the existing built-in DMI indicator but adds two lines indicating strength of the ADX trend. The original author J. Welles Wilder, indicated a ADX trending strongly above 25 (yellow by default), and ADX trending weaker at a threshold of 20 or below (dashed yellow by default).
The default colours have been changed so that ADX is yellow, +DI is green, and -DI is red.
Calculation
Calculating the DMI can actually be broken down into two parts. First, calculating the +DI and -DI, and second, calculating the ADX. To calculate the +DI and -DI you need to find the +DM and -DM (Directional Movement). +DM and -DM are calculated using the High, Low and Close for each period. You can then calculate the following:
Current High - Previous High = UpMove
Previous Low - Current Low = DownMove
If UpMove > DownMove and UpMove > 0, then +DM = UpMove, else +DM = 0
If DownMove > Upmove and Downmove > 0, then -DM = DownMove, else -DM = 0
Once you have the current +DM and -DM calculated, the +DM and -DM lines can be calculated and plotted based on the number of user defined periods.
+DI = 100 times Exponential Moving Average of (+DM / Average True Range)
-DI = 100 times Exponential Moving Average of (-DM / Average True Range)
Now that -+DX and -DX have been calculated, the last step is calculating the ADX.
ADX = 100 times the Exponential Moving Average of the Absolute Value of (+DI - -DI) / (+DI + -DI)
The basics
DMI has a value between 0 and 100 and is used to measure the strength of the current trend. +DI and -DI are then used to measure direction. When combined, the indicator can provide some valuable insight. A general interpretation would be that during a strong trend (ADX above 25 but dependent on the analyst's interpretation), when the +DI is above the -DI, then a Bullish Market is defined. When -DI is above +DI, then a Bearish Market is at hand.
One thing to be considered is that what DMI values determine, strength or a potential signal, is up to the trader's interpretation. Acceptable values may change depending on the financial instrument being examined, therefore some historical analysis of the instrument in question would be prudent. A technical analyst can make better decisions based on what has occurred in historical examples.
All credit goes to the original script .
Average Directional Index ProThe Average Directional Index (ADX) is a moving average of a range, usually 14 days, that's used to quantify the strength and direction of a trend. ADX values are significant in that lower values indicate a weak to non-existent trend, i.e. ADX=14, whereas an ADX=40 is indicative of a strong trend. Additionally, a weak trend could signal that price has entered in to a consolidation phase. A trader could wait for price to rise or fall out of a supply zone while simultaneously looking for ADX values to climb up and over the 25 level, since the ADX could be strong enough for price to trend after the breakout. As a result, this type of setup could be an excellent entry for a trade. Keep in mind that price is the signal most important value on a chart so it's important to use an indicator like this to confirm a particular bias that you may have.
💥💥💥💥💥
Instead of using a single line as most ADX indicators do, I thought that showing the values in terms of histogram bars would be highly intuitive and provide an interesting visual that would illustrate with varying degrees of color where the strength (or lack thereof) lies at any given time. The following are some of the characteristics that I feel make this script stand out from the pack.
💡Histogram plots. ADX values range from 0-100 and it may seem counterintuitive to see an ADX value below a 0 line. With this approach, I've divided up the ADX values between "bull" and "bear", meaning if an ADX histogram bar is above the 0 line (no matter if the value is 5 or 50), it's because the DMI+ value is ABOVE the DMI- value. Conversely, if the ADX histogram bar is below the 0 line, it's because the DMI- value is ABOVE the DMI+ value. DMI and ADX go hand-in-hand and while DMI values do not play a prominent role here, you'll see their values in the Main Label.
💡Main label. The main label's color will correspond to that of the histogram bar. The DMI and ADX values are listed along with the current price of the asset. Whichever DMI value is higher will be listed ahead of the lower value. In other words, from left to right, you'll see the ADX value followed by the higher of the 2 DMI values followed by the lesser of the 2 DMI values. The ADX value will be followed by an icon showing you if the value is rising or falling. Additionally, the main label has some extras: both buy/sell % on the current chart as well as daily chart along with total volume and average volume for the respective time frames. You can also change the MA lengths for the chart and daily TF averages. Both buy/sell % and total/avg volume values come with their own significant values inputs.
💡Color coded histogram bars dependent on ADX values. A few examples: an ADX value between 30 and 40 when DI+ > DI-, you'll see a dark green bar. Conversely, if the ADX value is > 70 and DI- > DI+, you'll get a dark purple bar. All in all, there's 18 possible colors denoted within the histogram.
💡Momentum arrows. There's 4 colors for the up/down arrows that populate above the histogram bar when DI+ and DI- combined with ADX values are showing extreme values. An example would be when DI+ is between 30 and 50 and ADX is greater than 30, you'll get a green arrow. On the flipside, when DI- is greater than -50 and ADX is greater than 40, you'll see a dark red arrow.
💡ADX and price shown on the histogram. You can choose to have the price and ADX values side by side or on top of one another as well as change the decimal value with a "significant figure" input. You can also opt to have neither value shown. The values will show above or below their respective bar dependent upon if DMI+ or DMI- is the dominant value, which in turn determines if the histogram is above or below the 0 line.
💡Weak trend colors. Any ADX values between 0 to 23 will give varying degrees of black to light gray indicating a weak or no trend. An ADX value of 17 could indicate a weak trend but the value could be rising as buyers push price higher. As the ADX approaches 25, wait for price confirmation (and volume) to validate if momentum could continue.
💡Threshold lines. ADX values above +/- 25-30 tend to show a strengthening of trend and you can choose to include these lines or not in your charts.
💡ADX value follow line. Determined by DMI+ being > or < than DMI-. For instance, if the trend changes and DMI- crosses over DMI+, the follow line will switch to follow the ADX histogram bar as it falls below 0. You can choose to enable/disable this line.
💡Colored bars. You can choose to enable the ADX color schemes to your candles further providing an easy view of the current trend.
💥💥💥💥💥
Remember to use any indicator together with price action to confirm a particular bias you may have! You could also use this indicator in confluence with my Directional Movement Pro script for an extra visual on trend direction and strength.
💥💥💥💥💥
Should you have any questions, feedback etc, please do not hesitate to contact the script's author. My hope is that this indicator becomes an invaluable resource to you and you're able to integrate it in to your everyday trading tool bag to make more informed decisions.
SimpleCryptoLife helped me code up this script and he's been an incredible source of knowledge in my trading journey. Without his patience and pine script expertise, this script would not have been possible!
F.B_DI+ DI- Trend TrackerThe F.B_DI+ DI- Trend Tracker is an indicator developed based on Directional Movement and True Range to identify trends in the market and assess their strength. Here is the logic behind the indicator and how to use it for trading:
Direction Determination
Unlike traditional DI+ and DI- based on simple calculations, this indicator utilizes derived versions of these directional indicators. These derived versions offer a more precise measurement of price directional movements by specifically tailoring to market conditions and the chosen time frame.
Trend Strength
The derived directional indicators are generated by dividing smoothed Directional Movements by smoothed True Range and converting them into percentages. These values provide insights into the strength of the trend by considering directional movements relative to market volatility.
Identifying Trend Reversals
To capture changes in trend strength more accurately, the first derivative of DI+ and DI- is computed. A crossover of these derived versions could indicate a potential trend reversal, with a crossover of DI+ over DI- suggesting a possible uptrend and a crossover of DI- over DI+ indicating a potential downtrend.
Making Trading Decisions
Traders can use crossovers between the derived DI+ and DI- to receive signals for potential trend reversals. Additionally, changes in the color of candlesticks or background can be used as confirmation of the trend direction and its strength.
By utilizing these derived directional indicators, the F.B_DI+ DI- Trend Tracker indicator offers more precise trading signals and improved trend analysis, enabling traders to make informed trading decisions.
Easy To Trade indicatorAbstract
This script evaluates how easy for traders to trade.
This script computes the level that the gains were distributed in many trading days.
We can use this indicator to decide the instruments and the time we trade.
Introduction
Why we think the trading markets are boring?
It is because most of the gains were concentrated in a few trading days.
We look for instruments we can buy at support and sell at resistance frequently and repeatedly.
However, it does not happen usually because it is difficult to find sellers sell at support and buyers buy at resistance.
This script is a method to measure if an instrument is difficult to trade.
If most of the gains were concentrated in a few trading days, this script says it is difficult to trade.
If gains were distributed in many trading days and we can buy low and sell high repeatedly, this script says it is easy to trade.
Therefore, this script measure how difficult for us to trade by the ratio between the area of value and the total gain.
How it works
1. Determine the instruments and time frames we are interested in.
2. Determine how many days this script evaluate the result. This number may depend on how many days from you buy in to you sell out.
3. If the instrument you choose is easy to trade, this script reports higher values.
4. If the instrument is long term bullish, the number "easy to invest" is usually higher than the number "easy to short" .
5. We can consider trade instruments which are easier to trade than others.
6. We can consider wait until the period that it is difficult to trade has past or keep believing that some instruments are easier to trade than others.
Parameters
x_src = The price for each trading day this script use. It may be open , high , low , close or their combination.
x_is_exp = Whether this script evaluate the price movement in exponential or logarithm. You are advised to answer yes if the price changes drastically.
x_period = How many days this script evaluate the result.
Conclusion
With this indicator , we have data to explain how easy or difficult an instrument is for traders . In other words , if we hear some people say the trading markets are boring or difficult for traders , we can use this indicator to verify how accurate their comments are.
With this explainable analysis , we have more knowledge about which instruments and which sessions are relative easy for us to buy low and sell high repeatedly and frequently , we can have better proceeding than buy and hold simply.
[dharmatech] KBDR Mean ReversionBased on the criteria described in the book "Mean Revision Trading" by Nishant Pant.
Bullish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near bottom bband
DI+ increasing
DI- decreasing
RSI near bottom and increasing
Bearish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near upper bband
DI+ decreasing
DI- increasing
RSI near upper and decreasing
A single triangle indicates that all 4 criteria are met.
If letters appear with the triangle, this indicates that there was a partial criteria match.
K : bbands outside Keltner
B : bbands criteria met
D : DI criteria met
R : RSI criteria met
You can use the settings to turn off partial signals. For example:
"Partial 3" means show signals where 3 of the criteria are met.
If you want more insight into the underlying criteria, load these indicators as well:
Bollinger Bands (built-in to TradingView)
Keltner Channels (built-in to TradingView)
RSI (built-in to TradingView)
ADX and DI
Warning:
Not meant to be used as a stand-alone buy/sell signal.
It regularly provides signals which would not be profitable.
It's meant to be used in conjunction with other analysis.
Think of this as a time-saving tool. Instead of manually checking RSI, DI+/DI-, bbands, distance, etc. this does all of that for you on the fly.
Heeger Alert | Didi's Needles setup [HeegerBot]Indicator based on Color Candles - Didi's Needles setup , but now exclusively focused on generating alerts.
With this indicator, you can set up alerts and notifications on TradingView for up to 15 assets based on Didi Aguiar's setup. Additionally, you can specify whether the alert should trigger at the candle close or X minutes before the close.
A session filter has also been added, allowing you to configure alerts to trigger only during a specific session.
Description of monitored signals:
The setup involves the crossing of three moving averages, along with the trend analysis in the ADX and the open Bollinger Bands.
The moving averages will be named "Didi Index". We will have the 3-period average as "Fast Average", the 8-period average as "Median Average", and the 20-period average as "Slow Average". When the Fast Average crosses the Median Average, we will have an alert, and when the Slow Average crosses the Median Average, we will have a confirmation. To adjust the Didi Index in the signals, the Median Average was normalized, that is, it will always be equal to 0. For the Slow and Fast Average, we will only consider the percentage difference in relation to the Median Average.
In addition to the moving averages, we analyze whether the ADX is rising, with DI+ above DI- to indicate an uptrend, or if the ADX is rising, with DI- above DI+ to indicate a downtrend. We also check if the Bollinger Bands are open. With these conditions, we will have a Needle.
Now I'm going to detail how I set this up on the indicator and some filters that I inserted for my personal use, along with some additional signals from the setup.
# Needle Alert
Firstly, we have the "Needle Alert" signal. This signal occurs when the Fast Average crosses the Median Average, along with the trend confirmation in the ADX and the opening of the Bollinger Bands. The filter is set at "1", which means we will only consider the needle alert when the percentage difference between the Slow Average and the Median Average is below 1%. This signal can be used as an entry point or to monitor the asset. Let's go through the examples:
• For a "Buy Alert", the Fast Average must cross the Median Average from bottom to top, and the percentage difference between the Slow Average and the Median Average should be less than +1% and greater than 0, as indicated by the Didi Index.
• For a "Sell Alert", the Fast Average must cross the Median Average from top to bottom, and the percentage difference between the Slow Average and the Median Average should be greater than -1% and less than 0, as indicated by the Didi Index.
We also have the alert projection, which serves as a signal to attract attention and monitor the asset. I use a "0.1" filter, which means that the percentage difference between the Fast Average and the Median Average must be equal to or less than 0.1%. Let's look at the example:
• For a "Buy Alert Projection", the Fast Average should be below the Median Average, and the percentage difference between the Fast Average and the Median Average should be greater than -0.1% and less than 0. In addition, the Slow Average should be above the Median Average in the Didi Index.
• For a "Buy Alert Projection", the Fast Average should be below the Median Average, and the percentage difference between the Fast Average and the Median Average should be greater than -0.1% and less than 0. In addition, the Slow Average should be above the Median Average in the Didi Index.
# Needle
After the Needle Alert, we have the Needle Confirmation, which occurs when the Slow Average crosses the Median Average after the alert. This signal is used to enter the operation. Let's divide this signal into two parts:
1. Needle: We use a filter of "3" (adjustable). This means that, to be considered a "Needle", the candle distance between the Alert (crossing of the Fast Average with the Median Average) and the Confirmation (crossing of the Slow Average with the Median Average) must be equal to or less than 3 candles. Also, there needs to be a trend on the ADX and the Bollinger Bands should be open.
2. Queijo Minas Needle (QM): Essentially, it's a Needle that occurs outside of the filter, with a candle distance between the Alert and the Confirmation above "3" candles. A trend on the ADX and open Bollinger Bands are also necessary.
To anticipate the Needle Confirmation, we use the "Needle Projection" signal. This signal has two filters: the "Needle Projection with Alert", set as "0.1%", and the "Needle Projection after the Alert", set as "0.3%".
1. The "Needle Projection with Alert" generates the signal when the "Needle Alert" occurs (crossing of the Fast Average with the Median Average), as long as the difference between the Slow Average and the Median Average is less than 0.1%.
2. The "Needle Projection after the Alert" generates the signal when the Fast Average has already crossed the Median Average, and the difference between the Slow Average and the Median Average should be less than 0.3%.
# BJMA (Spider Woman's Kiss)
There is another variation of the needle called BJMA. Essentially, it occurs when the Fast Average and the Slow Average approach the Median Average (each on one pole), but do not cross the Median and return to where they came from. In this signal, we have two filters: "Delta BJMA previous candle" and "Delta BJMA current candle". Let's see an example:
• Buy BJMA: First, we observe the previous candle, where the Fast Average must be above 0 (above the Median Average) and the percentage difference should be less than 0.02. In relation to the Slow Average, the configuration is the same, but in the negative sense, that is, it should be below 0 and above -0.02. Now, in the current candle, the Fast Average should be above 0 and below 0.05, while the Slow Average should be below 0 and above -0.05.
• Sell BJMA: First, we observe the previous candle, where the Fast Average must be below 0 (below the Median Average) and the percentage difference should be greater than -0.02. In relation to the Slow Average, the configuration is the same, but in the positive sense, that is, it should be above 0 and below 0.02. Now, in the current candle, the Fast Average should be below 0 and above -0.05, while the Slow Average should be above 0 and below 0.05.
Now, let's look at two signals that are commonly used to stay in a position.
# Fake Point
The Fake Point is primarily used to identify retracements before a continuation of the prevailing trend. Typically, it is preceded by a Needle Confirmation or BJMA signal. Here are some examples:
• Fake Sell (Signal to Maintain a Buy Position): The Fast Average crosses the Median from top to bottom (entering the negative pole of the Didi Index), while the Slow Average, which is already below the Median (below 0), continues to decline further, increasing the percentage difference between the Fast and Slow Averages in the negative pole.
• Fake Buy (Signal to Maintain a Sell Position): It is the same as the fake sell scenario but in the positive pole. The Fast Average crosses the Median, entering the positive pole of the Didi Index, while the Slow Average, which was already above the Median, continues to increase the percentage difference with the Median. For example, if the Slow Average was at +1 on the Didi Index, it would now be at +1.3.
There is also another variation of the Fake Breakout that takes into consideration the ADX (Average Directional Index) to confirm the trend direction. In other words, if we have a fake sell signal that suggests a buy position, we want the ADX to indicate a buying trend, and vice versa.
# Bought and Sold
This signal basically checks whether the indicators continue to confirm the previous signals. There are two variations: "Bought/Sold" and "Bought/Sold without Bollinger Bands". Let's see an example:
• Bought: The Didi Index is in the buying position, which means the Fast Average is above the Median Average (above 0), and the Slow Average is below the Median Average. Additionally, the ADX is indicating a buying trend and the Bollinger Bands are open.
• Sold: The Didi Index is in the selling position, which means the Fast Average is below 0 and the Slow Average is above 0. Moreover, the ADX is indicating a selling trend and the Bollinger Bands are open.
• Bought/Sold without Bollinger Bands: It's the same signal, but without considering whether the Bollinger Bands are open or not.
We can also consider the "Bought/Sold" signal based on the Trix and Stochastic, which would be additional confirmations of the movement.
Personally, I do not activate the Bought/Sold signal.
Now we come to signals to exit the position or take partial profits.
# Close
This exit signal is based on the following indicators: ADX, Bollinger Bands, Trix, and Stochastic. We wait for the ADX Kick or the falling ADX, along with the Bollinger Bands closing, and the Trix and Stochastic changing to the opposite side. Let's see some examples:
• Close a Buy: The ADX was in a buying trend (ADX rising and DI+ above DI-), but then the ADX Kick occurs or the ADX starts to fall. In addition, the Bollinger Bands close, and the Trix and Stochastic should switch to the sell signal.
• Close a Sell: The ADX was in a selling trend (ADX rising and DI- above DI+), but then the ADX Kick occurs or the ADX starts to fall. Also, the Bollinger Bands close, and the Trix and Stochastic should switch to the buy signal.
All indicators must provide signals together, but it is not necessary for all to occur in the exact same candle. For example:
1. The ADX Kick may occur, and the Trix and Stochastic switch to the buy signal, but the Bollinger Bands still remain open. In this case, we still do not have the exit signal.
2. In the next candle, the ADX continues to fall (after the Kick), the Trix and Stochastic continue to indicate buying, but this time the Bollinger Bands close. In this case, we have the "Close a Sell" signal.
It is important that all indicators are in accordance with the necessary signals, even if they occur in different candles, in order for the exit signal to be triggered.
# Close with Alert
This signal occurs when the Didi Index switches to the opposite side from where it was, along with a trend on the ADX, provided it's not a fake point. Let's see some examples:
• Close Buy - Sell Alert: Suppose we were in a buy position on the previous candle. In the current candle, the Fast Average crosses the Median Average from top to bottom, and the ADX indicates a sell trend. In this case, we completely close our buy position or make a partial realization.
• Close Sell - Buy Alert: Suppose we were in a sell position on the previous candle. In the current candle, the Fast Average crosses the Median Average from bottom to top, and the ADX indicates a buy trend. In this case, we completely close our sell position or make a partial realization.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Indicador baseado no Color Candles - Didi's Needles setup , mas agora focado exclusivamente na geração de alertas.
Com esse indicador, você pode configurar alertas e notificações no TradingView para até 15 ativos com base no setup de Didi Aguiar. Além disso, é possível definir se o alerta deve ser acionado no fechamento do candle ou X minutos antes do fechamento.
Também foi adicionado um filtro de sessão que permite configurar os alertas para serem acionados apenas durante uma sessão específica.
Descrição dos sinais monitorados:
O setup consiste no cruzamento de 3 médias móveis, juntamente com a análise da tendência no ADX e das bandas de Bollinger abertas.
As médias móveis serão nomeadas "Didi Index". Teremos a média de 3 períodos como "Média Rápida", a média de 8 períodos como "Média Mediana" e a média de 20 períodos como "Média Lenta". Quando a Média Rápida cruzar a Média Mediana, teremos um alerta e, quando a Média Lenta cruzar a Média Mediana, teremos uma confirmação. Para ajustar o Didi Index nos sinais, a Média Mediana foi normalizada, isto é, ela sempre será igual a 0. Para a Média Lenta e a Média Rápida, levaremos em consideração apenas a diferença percentual em relação à Média Mediana.
Além das médias móveis, analisamos se o ADX está em ascensão, com o DI+ acima do DI- para indicar uma tendência de alta, ou se o ADX está subindo, com o DI- acima do DI+ para indicar uma tendência de baixa. Também verificamos se as bandas de Bollinger estão abertas. Com essas condições, teremos uma Agulhada.
Agora vou detalhar como estabeleci isso no indicador e alguns filtros que inseri para o meu uso pessoal, além de alguns sinais adicionais do setup.
# Alerta de Agulhada
Primeiramente, temos o sinal de "Alerta de Agulhada". Este sinal acontece quando a Média Rápida cruza a Média Mediana, junto com a confirmação da tendência no ADX e a abertura das Bandas de Bollinger. O filtro está ajustado em "1", o que significa que só levaremos em consideração o alerta de agulhada quando a diferença percentual entre a Média Lenta e a Média Mediana estiver abaixo de 1%. Esse sinal pode ser utilizado como um ponto de entrada ou para monitorar o ativo. Vamos aos exemplos:
• Para um "Alerta de Compra", a Média Rápida deve cruzar a Média Mediana de baixo para cima, e a diferença percentual entre a Média Lenta e a Média Mediana deve ser menor que +1% e maior que 0, conforme indicado pelo Didi Index.
• Para um "Alerta de Venda", a Média Rápida deve cruzar a Média Mediana de cima para baixo, e a diferença percentual entre a Média Lenta e a Média Mediana deve ser maior que -1% e menor que 0, conforme indicado pelo Didi Index.
Também temos a projeção do alerta, que serve como um sinal para chamar atenção e monitorar o ativo. Eu uso um filtro de "0.1", o que significa que a diferença percentual entre a Média Rápida e a Média Mediana deve ser igual ou menor que 0.1%. Vamos ver o exemplo:
• Para uma "Projeção de Alerta de Compra", a Média Rápida deve estar abaixo da Média Mediana, e a diferença percentual entre a Média Rápida e a Média Mediana deve ser maior que -0.1% e menor que 0. Além disso, a Média Lenta deve estar acima da Média Mediana no Didi Index.
• Para uma "Projeção de Alerta de Compra", a Média Rápida deve estar abaixo da Média Mediana, e a diferença percentual entre a Média Rápida e a Média Mediana deve ser maior que -0.1% e menor que 0. Além disso, a Média Lenta deve estar acima da Média Mediana no Didi Index.
# Agulhada
Após o Alerta de Agulhada, temos a confirmação da Agulhada, que ocorre quando a Média Lenta cruza a Média Mediana após o alerta. Esse sinal é utilizado para entrar na operação. Vamos dividir esse sinal em duas partes:
1. Agulhada: Utilizamos um filtro de "3" (ajustável). Isso significa que, para ser considerada uma "Agulhada", a distância em velas entre o Alerta (cruzamento da Média Rápida com a Média Mediana) e a Confirmação (cruzamento da Média Lenta com a Média Mediana) deve ser igual ou menor que 3 velas. Além disso, é necessário ter uma tendência no ADX e as Bandas de Bollinger devem estar abertas.
2. Agulhada Queijo Minas (QM): Basicamente, é uma agulhada que ocorre fora do filtro, com uma distância em velas entre o Alerta e a Confirmação acima de "3" velas. Também é necessário ter uma tendência no ADX e as Bandas de Bollinger devem estar abertas.
Para antecipar a confirmação da Agulhada, utilizamos o sinal de "Projeção de Agulhada". Esse sinal possui dois filtros: o "Projeção de Agulhada com Alerta", configurado como "0.1%", e o "Projeção de Agulhada após o Alerta", configurado como "0.3%".
1. "Projeção de Agulhada com Alerta" gera o sinal quando ocorre o "Alerta de Agulhada" (cruzamento da Média Rápida com a Média Mediana), desde que a diferença entre a Média Lenta e a Média Mediana seja menor que 0.1%.
2. "Projeção de Agulhada após o Alerta" gera o sinal quando a Média Rápida já cruzou a Média Mediana, e a diferença entre a Média Lenta e a Média Mediana deve ser menor que 0.3%.
# BJMA (Beijo da Mulher Aranha)
Existe uma outra variação da agulhada chamada BJMA. Essencialmente, ocorre quando a Média Rápida e a Média Lenta se aproximam da Média Mediana (cada uma em um polo), mas não cruzam a Mediana e voltam para o lado de onde vieram. Nesse sinal, temos dois filtros: "Delta BJMA vela anterior" e "Delta BJMA vela atual". Vejamos um exemplo:
• BJMA de Compra: Primeiramente, observamos a vela anterior, onde a Média Rápida deve estar acima de 0 (acima da Média Mediana) e a diferença percentual deve ser menor que 0.02. Em relação à Média Lenta, a configuração é a mesma, porém no sentido negativo, ou seja, ela deve estar abaixo de 0 e acima de -0.02. Agora, na vela atual, a Média Rápida deve estar acima de 0 e abaixo de 0.05, enquanto a Média Lenta deve estar abaixo de 0 e acima de -0.05.
• BJMA de Venda: Primeiramente, observamos a vela anterior, onde a Média Rápida deve estar abaixo de 0 (abaixo da Média Mediana) e a diferença percentual deve ser maior que -0.02. Em relação à Média Lenta, a configuração é a mesma, porém no sentido positivo, ou seja, ela deve estar acima de 0 e abaixo de 0.02. Agora, na vela atual, a Média Rápida deve estar abaixo de 0 e acima de -0.05, enquanto a Média Lenta deve estar acima de 0 e abaixo de 0.05.
Agora vamos abordar dois sinais que são normalmente utilizados para manter uma posição.
# Ponto Falso (Fake Point)
O Ponto Falso é usado para identificar uma retração antes de retomar o movimento. Geralmente, ele ocorre após um sinal de Agulhada ou BJMA. Vejamos exemplos:
• Venda Falsa (sinal para manter uma posição de compra): A Média Rápida cruza a Média Mediana de cima para baixo (entrando no polo negativo do Didi Index), enquanto a Média Lenta, que já está abaixo da Média Mediana (abaixo de 0), continua caindo, aumentando assim a diferença percentual entre a Média Lenta e a Média Mediana no polo negativo.
• Compra Falsa (sinal para manter uma posição de venda): O cenário é semelhante, mas no polo positivo. A Média Rápida cruza a Média Mediana, passando para o lado positivo do Didi Index, enquanto a Média Lenta, que já estava acima da Média Mediana, continua aumentando a diferença percentual em relação à Média Mediana. Por exemplo, se a Média Lenta estava em +1 no Didi Index, agora ela está em +1.3.
Também existe uma variação do Ponto Falso em que verificamos se a tendência no ADX está se mantendo na mesma direção. Ou seja, se tivermos uma Venda Falsa (que seria um sinal para permanecermos em uma posição de compra), é importante que o ADX esteja indicando uma tendência de compra, e vice-versa. Dessa forma, consideramos não apenas o cruzamento das médias, mas também a confirmação da tendência no ADX. Essa variação é chamada de Ponto Falso com Tendência (Fake Point with Trend).
# Comprado e Vendido
Esse sinal, essencialmente, verifica se os indicadores estão mantendo a confirmação dos sinais anteriores. Existem duas variações: "Comprado/Vendido" e "Comprado/Vendido sem Bandas de Bollinger". Vejamos um exemplo:
• Comprado: O Didi Index está em compra, o que significa que a Média Rápida está acima da Média Mediana (acima de 0) e a Média Lenta está abaixo da Média Mediana. Além disso, o ADX está indicando uma tendência de compra e as Bandas de Bollinger estão abertas.
• Vendido: O Didi Index está em venda, o que significa que a Média Rápida está abaixo de 0 e a Média Lenta está acima de 0. Além disso, o ADX está indicando uma tendência de venda e as Bandas de Bollinger estão abertas.
• Comprado/Vendido sem Bollinger: É o mesmo sinal, porém sem considerar se as Bandas de Bollinger estão abertas ou não.
Podemos também considerar o "Comprado/Vendido" com base no Trix e no Estocástico, que seriam confirmações adicionais do movimento.
Eu, pessoalmente, não deixo ativado o sinal de Comprado/Vendido.
Agora chegamos aos sinais de saída da posição ou de realização parcial.
# Fechar (Close)
Este sinal de saída baseia-se nos seguintes indicadores: ADX, Bandas de Bollinger, Trix e Estocástico. Aguardamos o Kick do ADX ou o ADX em queda, juntamente com as Bandas de Bollinger se fechando, e o Trix e o Estocástico mudando para o lado oposto. Vamos ver alguns exemplos:
• Fechar uma Compra (Close Buy): O ADX estava em uma tendência de compra (ADX subindo e DI+ acima do DI-), mas em seguida ocorre o Kick do ADX ou o ADX começa a cair. Além disso, as Bandas de Bollinger se fecham e o Trix e o Estocástico devem mudar para o sinal de venda.
• Fechar uma Venda (Close Sell): O ADX estava em uma tendência de venda (ADX subindo e DI- acima do DI+), mas em seguida ocorre o Kick do ADX ou o ADX começa a cair. Além disso, as Bandas de Bollinger se fecham e o Trix e o Estocástico devem mudar para o sinal de compra.
Todos os indicadores devem fornecer os sinais em conjunto, mas não é necessário que todos ocorram exatamente na mesma vela. Por exemplo:
1. Pode ocorrer o Kick do ADX e o Trix e o Estocástico mudarem para o sinal de compra, mas as Bandas de Bollinger ainda permanecerem abertas. Nesse caso, ainda não teremos o sinal de saída.
2. No candle seguinte, o ADX continua caindo (após o Kick), o Trix e o Estocástico continuam indicando compra, mas desta vez as Bandas de Bollinger se fecham. Nesse caso, teremos o sinal de "Fechamento de uma Venda".
É importante que todos os indicadores estejam em conformidade com os sinais necessários, mesmo que ocorram em velas diferentes, para que seja acionado o sinal de saída.
# Fechar com Alerta (Close with Alert)
Esse sinal ocorre quando o Didi Index muda para o lado oposto do que estava, juntamente com uma tendência no ADX, desde que não seja um ponto falso. Vejamos exemplos:
• Fechar Compra - Alerta de Venda: Suponha que estávamos em uma posição de compra no candle anterior. No candle atual, a Média Rápida cruza a Média Mediana de cima para baixo, e o ADX indica uma tendência de venda. Nesse caso, encerramos completamente nossa posição de compra ou realizamos uma realização parcial.
• Fechar Venda – Alerta de Compra: Suponha que estávamos em uma posição de venda no candle anterior. No candle atual, a Média Rápida cruza a Média Mediana de baixo para cima, e o ADX indica uma tendência de compra. Nesse caso, encerramos completamente nossa posição de venda ou realizamos uma realização parcial.
Directional Movement Index FLEXA common problem experienced by short term traders using DMI/ADX is that the session breaks results in carry-over effects from the prior session. For example, a large gap up would result in a positive DMI, even though momentum is clearly negative. Note the extremely different results in the morning session, when the gap is reversed.
The DMI-FLEX algoritm resets the +DI and -DI values to the prior session ending midpoint, so that new momentum can be observed from the indicator. (Note for Pinescript coders: rma function does not accept series int, thus the explicit pine_rma function)
DMI-FLEX has the added feature that the ADX value, instead of a separate line, is shown as shading between the +DI and -DI lines, and the color itself is determined by whether +DI is above -DI for a bullish color, or -DI is above +DI for a bearish color.
DMI Flex also gives you the flexibility of inverse colors, in case your chart has inverted scale.
Summary and How to use:
1) Green when +DI is above -DI
2) Red when -DI is above +DI
3) Deeper shading represents a higher ADX value.
ADXcellenceThis advanced trading indicator, inspired by Dr. Charles B. Schaap's book "ADXcellence: Power Trend Strategies", leverages the principles of the Average Directional Index (ADX) to help traders identify and exploit trending conditions in the market.
The ADXcellence Indicator uses multiple levels of analysis to evaluate the strength and direction of trends.
In addition to the classic ADX+DMI input settings, these features are included:
ADX Slope Signal: This parameter, controls the sensitivity of the ADX slope, which will indicate when the trend strength is increasing or decreasing.
The indicator provides three trend levels: strong trend level, trending level, and low volatility level, which can be customized to suit various trading strategies.
The color gradients for the ADX, DI+, and DI- lines are designed to visually represent the trend strength from the low volatility level to the strong trend level. The indicator also uses a dynamic background color, highlighting the periods when the ADX is rising. The color will vary depending on the dominant DI.
The ADXcellence Indicator also offers a unique feature of dynamically adjusting the fill between DI+ and DI-, with the color and fill intensity changing based on the relative value of the two.
This indicator is a powerful tool for traders who use trend-following strategies and is best used in conjunction with other technical analysis tools to confirm signals and avoid potential false signals.
Remember, no indicator is perfect and every trading strategy should include risk management and proper due diligence.
Enjoy :)
SumIndTarget:
The SumInd indicator combines Heiking Ashi, Sar Parabolic, Koncord, RSI, DMI, MACD and Bollinger Bands to give buy or sell signals or trends. This are called base indicators.
The goal is to have a clear and quick buy or sell suggestion and to avoid evaluating all or some of the named indicators, especially if they give contradictory signals among them. This speed and simplicity helps the trader to see several tickers in less time. It is intended for all markets and time periods where the above-mentioned indicators can be used.
How it works:
SumInd already has the importance or "weight" of each indicator named above configured, but they can be modified. You can set 0% for no use, or any other value based on the weight you want to give it, between 1% and 200% where 100% is the normal use, and increases or decreases based on importance.
Each base indicator can give signals to buy, sell or just "wait and see".
Each base indicator is checked for a buy signal, in which case its weight is added to the positive or green line, and if there is a sell signal, its weight is subtracted from the sell or red line. in case of indeterminacy or 'wait and see', nothing is added to any signal.
The yellow or total line is the sum of the buy or green signal plus the sell or red signal.
If the yellow or total line rises above the buy level, the background changes to green and an up arrow appears at the bottom of the chart indicating the buy suggestion, because most of the indicators you are interested in gave a buy signal.
If the yellow line or total falls below the sell level, the background changes to red and a downward arrow appears in the upper area of the chart indicating the sell suggestion, because most of the indicators you are interested in gave a sell signal.
The Buy and Sell level can be changed according to the security of the suggestion you need.
Areas without arrows or marks are considered "wait and see" areas, the previous trend in principle continues. They can be marked with the default background if desired from the SumInd settings.
Details and criterials:
Each of the following indicators can be turned on or off and assigned different weights of importances, by whether or not it shares the following criteria:
Heikin Ashi candles: add or subtract half an assigned weight if there is a buy or sell candle and the other half weight if there are two consecutive candles with the same signal.
RSI: Adds or subtracts the assigned weight if the ema is below or above the signal.
Parabolic Sar: Adds half a weight in transition to buy or sell and another half weight if there are two consecutive signals of the same trend.
Koncord: Add or subtract the weight if the current trend (mountain) grows or decreases respectively from the 4th previous time signal, and also the value (red line) is less than 35 or exceeds 65 respectively.
DMI: Adds or subtracts a quarter of the weight assigned by the DMI signal multiplied by the value of DMI, if the positive or negative signal exceeds the other negative or positive signal by 15% respectively.
Bollinger Bands: Add or subtract the weight if the previous third signal touches or falls out of the zone and keeps growing or decreasing respectively.
MACd: Add or subtract one third of the weight if the last 3 time signals are rising or falling, Add or subtract another third if the fast signal is above or below the slow signal, and Add or subtract the last third of the weight if it is rising with the negative fast signal, or falling with the positive fast signal.
Strength Index I2-SIIdea:
Enhance the Stoch RSI with DMI to get the visualization of the strength movement.
Concept:
(Note that we take the close to get the closing price).
-Combination of 2 Stoch RSI (using value K): 1 is UP, 1 is DOWN (these settings have been customized).
-Every time they cross, it calculates the direction of 3 nearly previous crossings to get the color of the current line.
-The value has been re-calculated with the processed value from ADX and DI- (That's why it can be more than 100 or -100 in some cases).
-RSI Overbuy and oversell are removed because the value could be beyond it.
How it works:
1. The line is show as the strength index of bars
- Green means the up strength is strong.
- Red means the down strength is strong.
- Gray means the previous strength is getting week.
2. This one can be used to find divergence.
3. This indicator provides a warning signal when the color of the line changes:
- Change color:
+Turn red: "Down Red"
+Turn green: "Up Green"
+Turn gray: "Down Gray"/"Up Gray"
Suitable time frames:
15m, 4h, 1D, 1W
* Please note that this logic does not attempt to predict future prices or 100% accurate signal.
(INVITE ONLY indicator. Please direct message or visit website if you want to try it out)
Hope you guys enjoy!
Examples:
BTCUSD 1D
XAUUSD 4H
EURUSD 1H
SPX 15m
Job's Tears - V6This strategy is based on Heikin Ashi + supertrend + DMI + RSI .
Fully functional with placing a new order, taking partial profit at the target price, taking partial profit when hit the take profit, and closing an order.
I wrote this strategy mostly in 5min timeframe.
The commission is default at 0.02% and slippage is 1.
InitCapital is 100 USD, place every new order with 20 USD, close 10 USD when hitting the target price and close 2 USD for every take profits.
No leverage is applied.
I use Heikin Ashi candle patterns to identify the buy/sell signal and supertrend to back my signal. Then I use dmi and rsi to filter out the noises.
My target is to catch a big trend, so I use a lot of take profits to maximize the potential profit.
New Short/New Long: Place a market order for a new position of 20 USD.
Target Price: Place a limited order of 10 USD at that price as soon as a new position is ordered as a basic profit in the pocket.
Take Profit: Place a market order to reduce the position by 2 USD each time.
TaoBao: Place a market order to close all remaining positions. It will only show up after hitting the target price as a way to protect our capital.
Close Short/Long: Place a market order to close all remaining positions.
Ichimoku Cloud and ADX with Trailing Stop Loss (by Coinrule)The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
The Ichimoku Cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
The Ichimoku Cloud is composed of five lines or calculations, two of which comprise a cloud where the difference between the two lines is shaded in.
The lines include a nine-period average, a 26-period average, an average of those two averages, a 52-period average, and a lagging closing price line.
The cloud is a key part of the indicator. When the price is below the cloud, the trend is down. When the price is above the cloud, the trend is up.
The above trend signals are strengthened if the cloud is moving in the same direction as the price. For example, during an uptrend, the top of the cloud is moving up, or during a downtrend, the bottom of the cloud is moving down.
DMI is simple to interpret. When +DI > - DI, it means the price is trending up. On the other hand, when -DI > +DI , the trend is weak or moving on the downside. The ADX does not give an indication about the direction but about the strength of the trend.
Typically values of ADX above 25 mean that the trend is steeply moving up or down, based on the -DI and +D positioning. This script aims to capture swings in the DMI, and thus, in the trend of the asset, using a contrarian approach.
Trading on high values of ADX, the strategy tries to spot extremely oversold and overbought conditions. Values of ADX above 45 may suggest that the trend has overextended and is may be about to reverse.
This strategy combines the Ichimoku Cloud with the ADX indicator to better enter trades.
Long orders are placed when these basic signals are triggered.
Long Position:
Tenkan-Sen is above the Kijun-Sen
Chikou-Span is above the close of 26 bars ago
Close is above the Kumo Cloud
MACD line crosses over the signal line
-DI is greater than +DI
ADX is greater than 45
Close Position:
3% increase trailing
3% decrease trailing
The script is backtested from 1 January 2018 and provides good returns.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
This script also works well on MATIC (1d timeframe), ETH (1d timeframe), and SOL (1d timeframe).
DMI Stochastic Momentum IndexConcepts
This is an improved version of the "DMI Stochastic Extreme Refurbished" indicator.
For more information on the main concepts of this indicator, please access this link:
The difference is that here, instead of using the traditional stochastic oscillator, I implemented the use of the Stochastic Momentum Index (SMI).
Stochastic Momentum Index (SMI)
The SMI is considered a refinement of the stochastic oscillator.
It calculates the distance of the current closing price as it relates to the median of the high/low range of price.
William Blau developed the SMI, which attempts to provide a more reliable indicator, less subject to false swings.
The original stochastic is limited to values from 0 to 100, while the SMI varies between the range of -100 to 100.
(Investopedia)
It is worth mentioning that the SMI presented in this script applies to the DMI value, not the screen price.
Moving Average Directional IndexMADX is ADX-inspired indicator with moving averages that determines strength of a trend, as well as its direction. Indicator works following:
As the value of MADX increases, so does the strength of a trend
If MADX+ ( green line - bullish MADX ) crosses above MADX- ( red line - bearish MADX ) we consider trend as bullish and vice versa..
There will be situations where MADX- and MADX+ cross multiple times in a short period of time -> that will mean that market indecision is happening and big move will most likely happen after it.
For the calculation of MADX+ and MADX- we need Moving Averages or Exponential Moving Averages with three specific sources ( high, close, low ).
Now, the calculation of each MADX will differ
=> for MADX+: Moving Average (high) / Moving Average (close)
=> for MADX-: Moving Average (close) / Moving Average (low)
Length of Moving Average is editable.
Directional Movement RibbonWhat makes this different from directional movement index?
The aim is to reduce the amount of data analysis necessary before taking action; currently using DMI requires reviewing the DM+ and DM- plots, and ADX as well as review the overall trend of each one. Also there is the final analysis to determine whether a strong trend hasn’t been established at all.
This indicator condenses the information found from the standard DMI into an intuitive colored ribbon that reveals direction and strength at a glance.
How to use it?
Review the ribbon for sentiment based on color, green being bullish and red being bearish, (if using default color scheme). The brightness of the color determines the strength of the sentiment, brightest being strongest. If no color is represented at all then it is due to weakness and/or lack of direction.
Features
All colors customizable
Toggle display of indecision areas
Adjust levels considered strong, weak trends
Which markets is this meant for?
This can be used in any market, though it’s recommended to use with liquid markets where direction and strength can be found often.
What conditions?
Recommend to utilize with key levels and most commonly utilized moving average periods such as 20, 50, 100 or 200.
Gators Oscillator - Bitcoin Scalp Trader(T&M/e V3!!)Gator's Oscillator:
**For reference, all numbers, and settings displayed on the input screen are only what I HAVE FOUND to be profitable for my own strategy, Yours will differ. This is not financial advice and I am not a financial advisor. Please do your due diligence and own research before considering taking entries based on this strategy and indicator. I am not advertising investing, trading, or skills untaught, this is simply to help incorporate into your own strategy and improve your trading journey!**
INPUTS:
EV: This is an integer value set to default at 55. This value is equated to the lead value, volatility measurement, and standard deviation between averages
EV 2: This integer is used as the base value and is meant to always be GREATER THEN EV, the default is set at 163. There should be at least a 90+ integer difference between EVs for data accuracy.
EV TYPE & EV TYPE 2: This option only affects the output for the moving average histograms. (and data inserted for strategy)
Volatility Smoothing: This is the smoothness of the custom-made volatility oscillator. I have this default at 1 to show time-worthy-term (3.9%+) moves or significant trends to correspond with the standard deviation declination between EVMA and EVMA2.
Directional Length: This is the amount of data observed per candle in the bull versus bear indicator.
Take Profit: Pre-set takes profit level that is set to 4 but can be adjusted for user experience.
Style:
Base Length: Columns equated using a custom-made statistical equation derived from EV TYPE 2+EV2 to determine a range of differential in historic averages to a micro-scale.
Lead Length: Columns equated using a custom-made statistical equation derived from EV TYPE+EV to determine a range of differential in historic averages to a micro-scale.
Weighted EMA Differential: Equation expressing the differences between exponential and simple averages derived from EV+EV Type 2. Default is displaying none, but optional for use if found helpful.
Volatility: Represents volatility from multiple data sets spanning from Bollinger bands to HPV and translated through smoothing.
Bull Strength: The strength of Bulls in the current trend is derived from a DMI+RSI+MACD equation to represent where the trend lies.
Bear Strength: The strength of Bears in the current trend is derived from a DMI+RSI+MACD equation to represent where the trend lies.
(NEW) Standard Deviation between Moving Averages: Use this logarithmic indicator depicted as circles to help determine whether a move is a fake out or not. Compare the circles with the volatility line, if you see them deviating away, it is either a bull/bear trap or trend continuation is imminent until they correlate back together.
CHEAT CODE'S NOTES:
Do not use this indicator on high leverage. I have personally used this indicator for a week and faced a max of 8% drawdown, albeit painful I was on low leverage and still closed on my take profit level.
85% is not 100% do not overtrade using this indicator's entry conditions if you have made 4 consecutive profitable trades.
Mess around with the input values and let me know if you find an even BETTER hit rate, 30+ entries, and a good drawdown!!
V2 UPGRADES:
*Increased Opacity on Bull Bear Columns
*Removed the Stop Loss Input option
*Decreased EV2 to a default of 143 for accuracy
*Added additional disclaimers in the description
* Removed Bull/Bear offset values for accuracy
V3 UPGRADES:
*ADDED THE EMA DIFFERENTIAL FROM SMA STANDARD DEVIATION INDICATOR. REPRESENTED BY PURPLE BARS THAT PLOT BRIGHT AT EXTREME LEVELS (Translate this to the EMA's and SMA's are very far apart) This is a fantastic way to resolve volatility and momentum in one indicator!!
*Line Width increased for volatility
*plot's for Oversold Alma reduced to 3, also adjusted the plot shape to arrows corresponding to 'overbought/oversold values. Look for a cross-over from green/red plot to transparent for best signals.
*Histograms for bull/bear strength correspond to an increase or decrease in value
*Input screen converted into groups, with bull/bear color inline
*Converted base/lead length value's into areas with breaks. IF YOU SEE WHITE (Short/Lead Length), IT IS A SHORT TERM MOVE AND SCALPING OPPORTUNITY. IF YOU SEE BLUE(Long/Base Length) IT MEANS IT IS A MACRO MOVE, WHICH MAY LAST LONGER
-Cheat Code
BINANCE:BTCUSDT BYBIT:BTCUSDT COINBASE:BTCUSD