Perfect Order Alert USDJPY/BTCUSD/XAUUSDPerfect Order Alert USDJPY/BTCUSD/XAUUSD 日本語解説は下記
This indicator detects the perfect order of three moving averages and displays on the Panel in an easy-to-understand visual manner whether there is an uptrend, downtrend, or non-trend for each time leg.
This indicator detects perfect orders for the three currency pairs USDJPY/BTCUSD/XAUUSD on the 5-minute, 15-minute, 1-hour, and 4-hour time frames, and displays them on the Panel on the chart, with “▲” for up, “▼” for down, and “ー” for non-trend, so that you can quickly determine the trend. The panel is displayed on the chart.
In order to check for perfect orders without missing them, it is also possible to set up alerts that notify you of all the time frames and currency pairs as well.
Functions
Displaying 4H, 1H, 15M, 5M, up (▲), down (▼), other (-), of USDJPY/BTCUSD/XAUUSD on the panel.
*(By default, 20EMA, 75EMA, and 200EMA are hidden.)
Display position setting of the panel (You can choose from upper left, upper top, upper right, lower left, lower bottom, or lower right).
Panel color and text color change function
The moving average line can be hidden by default.
Moving average period change
Moving average color and thickness can be changed.
EMA/SMA switchable
Alert function - One alert can be set for each currency pair and time frame ▲▼, which is very useful.
Perfect Order Alert
You can use it even if you have a free account with only one alert setting.
To use the alert function, go to the Tradingview default alert settings, select “USDJPY/BTCUSD/XAUUSD” for the top item of conditions, and select “Call Alert() function” in the frame just below it!
_* Supplementary explanation: ____________
Please note that due to the limitation of the script, only 3 currency pairs and 4 time frames are displayed with 12 items (Panels for currency pairs other than USDJPY/BTCUSD/XAUUSD are also created, but they are indicators for other scripts, so if you are interested in other currency pairs, please use those. If you are interested in other currency pairs, please use them.)
Please note that we may change the functions or delete the indicator itself without prior notice.
Translated with DeepL.com (free version)
Reference image of the setting screenReference image of the setting screen
設定画面参考画像
3本の移動平均線のパーフェクトオーダーを検知し、時間足ごとに上昇トレンドか下降トレンドかノントレンドかを視覚的にわかりやすくPanelに表示するインジゲーターです。
このインジゲーターは、USDJPY/BTCUSD/XAUUSDの3通貨ペアの5分足、15分足、1時間足、4時間足のパーフェクトオーダーを検知して、チャートに表示されるPanelに、上昇は「▲」下降は「▼」ノントレンドは「ー」と、すぐに判断できる表示にしてあります。
パーフェクトオーダーを逃さずチェックできるように、それぞれの時間足や通貨ペアも全てを通知してくれるアラート設定が可能なのも特徴です。
機能紹介
・USDJPY/BTCUSD/XAUUSDの4H,1H,15M,5M,の上昇(▲),下降(▼),その他(-),をパネルに表示
※(デフォルトでは20EMA,75EMA,200EMAの3本で非表示にしてあります)
・パネルの表示位置設定(左上、上、右上、左下、下、右下、から選択できます。)
・パネルの色とテキスト色変更機能
・移動平均線表示非表示機能(デフォルトでは表示OFFにしてあります。)
・移動平均線期間変更
・移動平均線色と太さ変更
・EMA/SMA切り替え可能
・アラート機能ー1つのアラート設定で通貨ペアと時間足▲▼一つ一つを細かく教えてくれるので便利。
※パーフェクト オーダーアラート
無料アカウントで1つしかアラート設定できなくても使えます。
アラート機能はTradingviewデフォルトのアラート設定から、条件の一番上の項目を「USDJPY/BTCUSD/XAUUSD」選択、そのすぐ下の枠に「Alert()関数の呼び出し」を選択でOK!
_※ 補足説明____________
・スクリプトの制限の為、3通貨ペアと4つの時間足の12項目で表示させていますのでご了承ください
(USDJPY/BTCUSD/XAUUSD以外の通貨ペアのPanelも作成していますが別スクリプトのインジゲーターになりますので他の通貨ペアも興味がある方はそちらをお使いください)
・予告なしで機能の変更やインジゲーター自体の削除等行う事もあるかもなのでご了承ください。
Simple Moving Average (SMA)
Moving Average Crossover Swing StrategyMoving Average Crossover Swing Strategy
**Overview:**
The basic concept of this strategy is to generate a signal when a faster/shorter length moving average crosses over (for Longs) or crosses under (for Shorts) a medium/longer length moving average. All of which are customizable. This strategy can work on any timeframe, however the daily is the timeframe used for the default settings and screenshots, as it was designed to be a multi-day swing strategy. Once a signal has been confirmed with a candle close, based on user options, the strategy will enter the trade on the open of the next candle.
The crossover strategy is nothing new to trading, but what can make this strategy unique and helpful, is the addition of further confirmation points, ATR based stop loss and take profit targets, optional early exit criteria, customizable to your needs and style, and just about everything visual can be toggled on/off. This strategy is based on a Trend (MA) indicator and a Momentum (MACD) indicator. While a Volume-based indicator is not shown here, one could consider using their favorite from that category to further compliment the signal idea.
It should be noted that depending on the time frame, direction(s) chosen, the signal options, confirmation options, and exit options selected, that a ticker may not produce more than 100 trades on the back test. Depending on your style and frequency, one could consider adjusting options and/or testing multiple tickers. It should also be noted that this strategy simply tests the underlying stock prices, not options contracts. And of course, testing this strategy against historical data does not assume that the same results will occur in future price action.
Shoutout given to Ripster's Clouds Indicator as pieces of that code were taken and modified to create both the Cloud visualization effects, and the Moving Average Pair Plots that are implemented in this strategy.
BASIC DEFAULTS
All can be changed as normal
Initial capital = 10,000
Order Sizing = 25% of equity (use the "Inputs" tab to modify this)
Pyramiding = 0
Commission = 0.65 USD per order
Price Verification = 1 tick
Slippage = 1 tick
RISK MANAGMENT
You will notice two different percentage options and ATR multipliers. This strategy will adjust position sizing by not exceeding either one of those % values based on the ATR (Average True Range) of the symbol and the multipliers selected, should the stock hit the stop loss price.
For Example, lets assume these values are true:
Account size = $10,000,
Max Risk = 1% of account size
Max Position Size = 25% of the account size
Stock Price = 23.45
ATR = 3.5
ATR Stop Loss Multiplier = 1.4
Then the formulas would be:
ACCT_SIZE * MaxRisk_% = 10000 * .01 = $100 (MaxCashRisk)
-----
MaxCashRisk / (ATR * ATR_SL_MULTIPLIER) = 100 / (3.5 * 1.4) = 20.4 Shares based on Max Cash Risk
-----
(ACCT_SIZE * MaxEquity_%) / STOCK_PRICE = (10000 * .25) / 23.45 = 106.61 Shares based on Max Equity Allocation
The minimum value of each of those options is then used, which in this case would be to purchase 20 shares so as not to exceed the max dollar risk should the stock reach the stop loss target. Likewise, if the ATR were to be much lower, say 0.48 cents, and all else the same, then the strategy would purchase the 106 shares based on Max Equity Allocation because the Max Cash Risk would require 149.25 shares.
MOVING AVERAGE OPTIONS
Select between and change the length & type of up to 5 pairs (10 total) of moving averages
The "Show Cloud-x" option will display a fill color between the "a" and "b" pairs
All moving averages lines can be toggled on/off in the "Style" tab, as well as adjusting their colors.
Visualization features do not affect calculations, meaning you could have all or nothing on the chart and the strategy will still produce results
SIGNAL CHOICES
Choose the fast/shorter length MA and the medium/longer length MA to determine the entry signal
CONFIRMATION OPTIONS
Both of these have customizable values and can be toggled on/off
A candle close over a slower/much longer length moving average
An additional cross-over (cross-under for Shorts) on the MACD indicator using default MACD values. While the MACD indicator is not necessary to have on the chart, it can help to add that for visualization. The calculations will perform whether the indicator is on the chart or not.
EARLY EXIT CRITERIA
Both can be toggled on/off with customizable values
MA Cross Exit will exit the trade early if the select moving averages cross-under (for longs) or cross-over (for shorts), indicating a potential reversal.
Max Bars in Trades will act as a last-resort exit by simply calculating the amount of full bars the trade has been open, and exiting on the opening of the next bar. For example: the default value is 8 bars, so after 8 full bars in the trade, if no other exit has been triggered (Stop Loss, Take Profit, or MA Cross(if enabled)), then the trade will exit at the opening of the 9th bar.
Finally, there is a table displaying the amount of trades taken for each side, and the amount & percent of both early exits. This table can be turned off in the "Style" tab
ADDITIONAL PLOTS
MACD (Moving Average Convergence/Divergence):
- The MACD is an optional confirmation indicator for this strategy.
- Plotting the indicator is not necessary for the strategy to work, but it can be helpful to visually see the status and position of the MACD if this feature is enabled in the strategy
- This helps to identify if there is also momentum behind the entry signal
Heiken Ashi Ribbon [UkutaLabs]█ OVERVIEW
The Heiken Ashi Ribbon is a powerful trading tool that creates a strong ribbon that indicates market strength. This ribbon is created using four moving averages that use Heiken Ashi values (high, low, open and close) as its input values.
The ribbon will also be colored green, red or grey depending on whether or not its direction aligns with current market strength.
█ USAGE
The Heiken Ashi Ribbon is created using a series of four moving averages that uses values from the Heiken Ashi bars as its inputs. The user has the ability to select whether the moving averages are EMAs or SMAs, as well as the ability to control the period of the moving averages.
If the moving average calculated using the Heiken Ashi Open is below the moving average calculated using the Heiken Ashi Close, the ribbon will be colored green, indicating a bullish trend. If the moving average calculated using the Heiken Ashi Open is above the moving average calculated using the Heiken Ashi Open, the ribbon will be colored red, indicating a bearish trend.
This indicator also uses a series of hidden EMAs to determine market strength. If these EMAs do not align with the direction of the Heiken Ashi Ribbon, the Ribbon will instead be colored grey, indicating uncertainty in the market, as well as a possible reversal.
█ SETTINGS
Configuration
• Moving Average Type: Determines whether or not the Heiken Ashi Moving Averages will be drawn as EMAs or SMAs.
• Moving Average Period: Determines the period of the Heiken Ashi Moving Averages.
Moving Average
• Moving Average Input: Determines the input values for the hidden EMAs.
Filtered MACD with Backtest [UAlgo]The "Filtered MACD with Backtest " indicator is an advanced trading tool designed for the TradingView platform. It combines the Moving Average Convergence Divergence (MACD) with additional filters such as Moving Average (MA) and Average Directional Index (ADX) to enhance trading signals. This indicator aims to provide more reliable entry and exit points by filtering out noise and confirming trends. Additionally, it includes a comprehensive backtesting module to simulate trading strategies and assess their performance based on historical data. The visual backtest module allows traders to see potential trades directly on the chart, making it easier to evaluate the effectiveness of the strategy.
🔶 Customizable Parameters :
Price Source Selection: Users can choose their preferred price source for calculations, providing flexibility in analysis.
Filter Parameters:
MA Filter: Option to use a Moving Average filter with types such as EMA, SMA, WMA, RMA, and VWMA, and a customizable length.
ADX Filter: Option to use an ADX filter with adjustable length and threshold to determine trend strength.
MACD Parameters: Customizable fast length, slow length, and signal smoothing for the MACD indicator.
Backtest Module:
Entry Type: Supports "Buy and Sell", "Buy", and "Sell" strategies.
Stop Loss Types: Choose from ATR-based, fixed point, or X bar high/low stop loss methods.
Reward to Risk Ratio: Set the desired take profit level relative to the stop loss.
Backtest Visuals: Display entry, stop loss, and take profit levels directly on the chart with
colored backgrounds.
Alerts: Configurable alerts for buy and sell signals.
🔶 Filtered MACD : Understanding How Filters Work with ADX and MA
ADX Filter:
The Average Directional Index (ADX) measures the strength of a trend. The script calculates ADX using the user-defined length and applies a threshold value.
Trading Signals with ADX Filter:
Buy Signal: A regular MACD buy signal (crossover of MACD line above the signal line) is only considered valid if the ADX is above the set threshold. This suggests a stronger uptrend to potentially capitalize on.
Sell Signal: Conversely, a regular MACD sell signal (crossunder of MACD line below the signal line) is only considered valid if the ADX is above the threshold, indicating a stronger downtrend for potential shorting opportunities.
Benefits: The ADX filter helps avoid whipsaws or false signals that might occur during choppy market conditions with weak trends.
MA Filter:
You can choose from various Moving Average (MA) types (EMA, SMA, WMA, RMA, VWMA) for the filter. The script calculates the chosen MA based on the user-defined length.
Trading Signals with MA Filter:
Buy Signal: A regular MACD buy signal is only considered valid if the closing price is above the MA value. This suggests a potential uptrend confirmed by the price action staying above the moving average.
Sell Signal: Conversely, a regular MACD sell signal is only considered valid if the closing price is below the MA value. This suggests a potential downtrend confirmed by the price action staying below the moving average.
Benefits: The MA filter helps identify potential trend continuation opportunities by ensuring the price aligns with the chosen moving average direction.
Combining Filters:
You can choose to use either the ADX filter, the MA filter, or both depending on your strategy preference. Using both filters adds an extra layer of confirmation for your signals.
🔶 Backtesting Module
The backtesting module in this script allows you to visually assess how the filtered MACD strategy would have performed on historical data. Here's a deeper dive into its features:
Backtesting Type: You can choose to backtest for buy signals only, sell signals only, or both. This allows you to analyze the strategy's effectiveness in different market conditions.
Stop-Loss Types: You can define how stop-loss orders are placed:
ATR (Average True Range): This uses a volatility measure (ATR) multiplied by a user-defined factor to set the stop-loss level.
Fixed Point: This allows you to specify a fixed dollar amount or percentage value as the stop-loss.
X bar High/Low: This sets the stop-loss at a certain number of bars (defined by the user) above/below the bar's high (for long positions) or low (for short positions).
Reward-to-Risk Ratio: Define the desired ratio between your potential profit and potential loss on each trade. The backtesting module will calculate take-profit levels based on this ratio and the stop-loss placement.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Exponential Smoothing FilterThe digital exponential filter, in finance known as Exponential Moving Average (EMA) , can be used as a technical indicator for chart analysis to visualize uptrends and downtrends in the market. Unlike the classic simple moving average, the EMA requires only two values for its calculation: the last calculated exponential average price and the current price. This is a simple and fast calculation - even for wide smoothing windows. For further details and the math please refer to the "exponential smoothing" article on Wikipedia.
Here are some additional key points about the exponential moving average:
The EMA can react more quickly to price changes because it can give more weight to current prices - depending on your parameter settings.
Short-term, disruptive price fluctuations are smoothed out well, making prevailing trends more visible.
Despite good smoothing properties, it delays the input values slightly, so it can follow sudden trend changes well.
The EMA is well suited to dynamic markets and trading strategies.
The filter is a good basis for further processing such as gradient analysis.
How to use
When you add the script to your charts, you'll immediately see a thin orange line across your time series, smoothing out price fluctuations.
There are only two parameters to set
smoothing factor between 0.0000 = no smoothing and 0.9999 = strong smoothing
input source : open, high, low, close hl2, etc.
Chart output
In the example chart above, you can see that the orange line follows the highs and lows better than the blue line , which is a simple moving average (SMA).
Additionally, the orange line has a shorter lag, or reacts faster when the trend of the original price data suddenly changes. These characteristics are critical for buying and selling decisions: quickly reacting and tracking highs and lows while providing a smooth line that filters out distracting noise.
Multiple Instrument Automation ScreenerI have developed a Pine Script indicator on TradingView designed to demonstrate how to automate execution for ten instruments. This example utilizes a straightforward, Simple Moving Average (SMA) indicator. You can use it as a template, but use your indicator.
The indicator computes long/short signals based on the crossing of the SMA using the security function
It acts as a screener, presenting calculation results in an organized table format.
Utilizing the varip variable, the indicator sends alerts for multiple instruments sequentially rather than simultaneously.
For every generated signal, the indicator builds and sends a JSON execution command to a third-party tool, ensuring seamless integration and automation. You can use your own format.
Sent alerts look like this:
{"ticker": "DOGEBTC","action": "buy","price": "0.00000199","time": "1719754620658"}
Details and Limitations
Instrument Limit: The example is configured for ten instruments for simplicity. However, it can be expanded to handle up to 40 instruments.
Alert Rate Limit: There is a rate limit of 15 alerts in 3 minutes. Exceeding this limit may cause some alerts to be stopped. This can be managed by tracking the alert times and delaying some alerts, though this may affect the entry prices.
Timing of Signal Generation : The indicator processes signals at the bar close to the active instrument. Due to its computational complexity, there is a slight delay in collecting all records, potentially causing signals to reflect a few seconds before the bar closes. Care should be taken when executing based on these signals.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
2 MA Cross Cvg Dvg Slope Overview
This indicator combines the Moving Average Convergence Divergence (MACD) and two Moving Averages (MAs) to assess market momentum and trend direction. It aims to provide insights into the strength and direction of price movements by analyzing the MACD line, MAs slopes, and MA crossovers. Instead of eyeballing the exact MA crossovers and MAs slope steepness on the chart and MACD line changes on separate panes, this indicator pixelate the overloaded information or multiple indicators interpretation into a KISS "boolean" decision making.
Key Components
MACD Line
This line represents the difference between the fast MA and slow MA. It reflects short-term price momentum relative to the long-term trend.
Moving Averages (MAs)
Two types of MAs are utilized in this indicator:
Fast MA (short-term): Often a 9-period MA or similar, which reacts quickly to price changes.
Slow MA (long-term): Typically a 21-period MA or similar, which smooths out price fluctuations and identifies the longer-term trend.
Indicator Logic
MA Crossover: The crossover of the fast MA above the slow MA suggests a bullish trend, while a crossover below indicates a bearish trend.
MA Slope Analysis: The indicator also considers the slopes of both the fast and slow MAs to determine the direction:
Both MA Positive Slope: Indicates upward momentum or bullish trend.
Both MA Negative Slope: Indicates downward momentum or bearish trend.
One MA Positive Slope, the other Negative Slope: Indicates indecision.
MACD Line: MACD Line consecutively increase means increasing positive momentum, vice versa.
Interpretation
Uptrend: When fast MA cross over slow MA. Indicator show "+" symbol at top zone with value 0.5.
Additional Uptrend Confirmation: When both MAs have positive slope. Indicator show only green bar.
Uptrend Upward Momentum: MACD Line increase when fast MA above slow MA. Indicator show "." symbol value 0.75.
Uptrend Downward Momentum: MACD Line decrease when fast MA above slow MA. Indicator show "." symbol value 0.25.
Indecision: When one of the MA has positive slope, but another MA has negative slope. Indicator showing both red and green bar.
Downtrend: When fast MA cross under slow MA. Indicator show "+" symbol at bottom zone with value 0.5.
Additional Downtrend Confirmation: When both MAs have negative slope. Indicator show only red bar.
Downtrend Upward Momentum: MACD Line increase when fast MA below slow MA. Indicator show "." symbol value -0.25.
Uptrend Downward Momentum: MACD Line decrease when fast MA below slow MA. Indicator show "." symbol value -0.75.
Combination of above multiple interpretation can further derive different signal for Trend Starts, Trend Continuous, and Trend Reversals.
Usage
This indicator is valuable for traders seeking to:
Identify entry and exit points based on single or multiple combination of MAs and MACD Line signals.
Confirm trend direction using MAs cross over or cross under spotted easily with the "+" symbol above 0 or below 0.
Double confirm the trend based on two MAs align slope direction.
Understand momentum shifts and potential trend reversals with an easy 4 different dots at -0.75, -0.25, 0.25, and 0.75.
Conclusion
By combining MACD Line analysis with Moving Average slopes and crossovers, this indicator offers a comprehensive approach to assessing market momentum and trend direction. It provides clear signals for traders to make informed decisions on when to enter or exit positions, enhancing overall trading strategy effectiveness without the need of referring to multiple chart or zoom in and out of the price chart to identify the crossover and slope direction.
Median Moving Average @shrilssThe "Median Moving Average" (MMA) It allows users to select from two moving average lengths—short and long—and plots the median moving average, which is the midpoint between these two averages. Colored green for upward trends and red for downward trends, enhancing visual analysis.
Additionally, users can choose from a range of moving average types including Simple (SMA), Exponential (EMA), Weighted (WMA), Double Exponential (DEMA), Triple Exponential (TEMA), Hull (HMA), and Volume Weighted (VWMA).
Guppy Wave [UkutaLabs]█ OVERVIEW
The Guppy Wave Indicator is a collection of Moving Averages that provide insight on current market strength. This is done by plotting a series of 12 Moving Averages and analysing where each one is positioned relative to the others.
In doing this, this script is able to identify short-term moves and give an idea of the current strength and direction of the market.
The aim of this script is to simplify the trading experience of users by automatically displaying a series of useful Moving Averages to provide insight into short-term market strength.
█ USAGE
The Guppy Wave is generated using a series of 12 total Moving Averages composed of 6 Small-Period Moving Averages and 6 Large Period Moving Averages. By measuring the position of each moving average relative to the others, this script provides unique insight into the current strength of the market.
Rather than simply plotting 12 Moving Averages, a color gradient is instead drawn between the Moving Averages to make it easier to visualise the distribution of the Guppy Wave. The color of this gradient changes depending on whether the Small-Period Averages are above or below the Large-Period Averages, allowing traders to see current short-term market strength at a glance.
When the gradient fans out, this indicates a rapid short-term move. When the gradient is thin, this indicates that there is no dominant power in the market.
█ SETTINGS
• Moving Average Type: Determines the type of Moving Average that get plotted (EMA, SMA, WMA, VWMA, HMA, RMA)
• Moving Average Source: Determines the source price used to calculate Moving Averages (open, high, low, close, hl2, hlc3, ohlc4, hlcc4)
• Bearish Color: Determines the color of the gradient when Small-Period MAs are above Large-Period MAs.
• Bullish Color: Determines the color of the gradient when Small-Period MAs are below Large-Period MAs.
Fibonacci Moving Averages [UkutaLabs]█ OVERVIEW
The Fibonacci Moving Averages are a toolkit which allows the user to configure different types of Moving Averages based on key Fibonacci numbers.
Moving Averages are used to visualise short-term and long-term support and resistance which can be used as a signal where price might continue or retrace. Moving Averages serve as a simple yet powerful tool that can help traders in their decision-making and help foster a sense of where the price might be moving next.
The aim of this script is to simplify the trading experience of users by automatically displaying a series of useful Moving Averages, allowing the user to easily configure multiple at once depending on their trading style.
█ USAGE
This script will automatically plot 5 Moving Averages, each with a period of a key Fibonacci Level (5, 8, 13, 21 and 34).
Both the Source and Type of the Moving Averages can be configured by the user (see all options below under SETTINGS), making this a versatile trading tool that can provide value in a wide variety of trading styles.
█ SETTINGS
Configuration
• MA Source: Determines the source of the Moving Averages (open, high, low, close, hl2, hlc3, ohlc4, hlcc4)
• MA Source: Determines the type of the Moving Averages (SMA, EMA, VWMA, WMA, HMA, RMA)
Colors
• 5: Determines the color of the 5 period Moving Average
• 8: Determines the color of the 8 period Moving Average
• 13: Determines the color of the 13 period Moving Average
• 21: Determines the color of the 21 period Moving Average
• 34: Determines the color of the 34 period Moving Average
Death Cross and Golden Cross HighlighterOverview
The script is designed to visually indicate the occurrence of Death Cross and Golden Cross events on a TradingView chart. It achieves this by calculating two moving averages (short-term and long-term) and plotting them on the chart. It then detects when these moving averages cross and highlights these points with labels and background colors.
Inputs
The script begins by defining input parameters:
- Short Moving Average Length: This is set to 50 by default, representing the short-term moving average period.
- Long Moving Average Length: This is set to 200 by default, representing the long-term moving average period.
These inputs allow users to customize the lengths of the moving averages according to their trading strategy.
Moving Averages Calculation
The script calculates two simple moving averages (SMAs) based on the closing prices:
- Short Moving Average (shortMA): Calculated over the short-term period specified by the user.
- Long Moving Average (longMA): Calculated over the long-term period specified by the user.
Plotting the Moving Averages
The moving averages are then plotted on the chart:
- The short-term moving average is plotted in blue.
- The long-term moving average is plotted in red.
These lines help users visually track the trends and potential crossover points.
Identifying Crossovers
The script identifies two key events:
- Golden Cross: Occurs when the short-term moving average crosses above the long-term moving average. This is typically considered a bullish signal, indicating a potential upward trend.
- Death Cross: Occurs when the short-term moving average crosses below the long-term moving average. This is typically considered a bearish signal, indicating a potential downward trend.
Highlighting Crossovers
To make the crossover events more noticeable, the script adds visual cues:
- Golden Cross: When a Golden Cross is detected, a green label with an upward arrow is plotted below the bar where the crossover occurs.
- Death Cross: When a Death Cross is detected, a red label with a downward arrow is plotted above the bar where the crossover occurs.
Background Coloring
Additionally, the script highlights the background of the chart:
- When a Golden Cross occurs, the background color is changed to a translucent green.
- When a Death Cross occurs, the background color is changed to a translucent red.
These background colors help emphasize the crossover events, making them easier to spot.
Usage
To use this script, a user would:
1. Copy the script and paste it into the Pine Script editor on TradingView.
2. Save the script and apply it to their chart.
By doing so, the user will see the moving averages plotted, and any Golden Cross or Death Cross events will be highlighted with labels and background colors. This visual aid helps traders quickly identify significant crossover events, which can inform their trading decisions.
Simplified MA Crossover indicatorThis is my first script, it is really simple logic and you probably saw something similar before. Is a crossover indicator between 2 Moving Average, one fast MA and the second slow MA.
Inputs you can adjust:
- 8 different source of MA's
- lenght of the MA's
- 7 different types of MA's ("EMA", "SMA", "RMA", "WMA", "DEMA", "TEMA", "HMA")
- 3 smoothing level of the fast MA
- plotting fast MA into the chart
- plotting crossover triangle shapes
I really enjoed the creation of this simple concept indicator, maybe not the fastest because of his nature but I liked work on it. I am sure is a good base to improve, study and try new idea.
Multi-Chart Widget [LuxAlgo]The Multi-Chart Widget tool is a comprehensive solution crafted for traders and investors looking to analyze multiple financial instruments simultaneously. With the capability to showcase up to three additional charts, users can customize each chart by selecting different financial instruments, and timeframes.
Users can add various widely used technical indicators to the charts such as the relative strength index, Supertrend, moving averages, Bollinger Bands...etc.
🔶 USAGE
The tool offers traders and investors a comprehensive view of multiple charts simultaneously. By displaying up to three additional charts alongside the primary chart, users can analyze assets across different timeframes, compare their performance, and make informed decisions.
Users have the flexibility to choose from various customizable chart types, including the recently added "Volume Candles" option.
This tool allows adding to the chart some of the most widely used technical indicators, such as the Supertrend, Bollinger Bands, and various moving averages.
In addition to the charting capabilities, the tool also features a dynamic statistic panel that provides essential metrics and key insights into the selected assets. Users can track performance indicators such as relative strength, trend, and volatility, enabling them to identify trends, patterns, and trading opportunities efficiently.
🔶 DETAILS
A brief overview of the indicators featured in the statistic panel is given in the sub-section below:
🔹Dual Supertrend
The Dual Supertrend is a modified version of the Supertrend indicator, which is based on the concept of trend following. It generates buy or sell signals by analyzing the asset's price movement. The Dual Supertrend incorporates two Supertrend indicators with different parameters to provide potentially more accurate signals. It helps traders identify trend reversals and establish trend direction in a more responsive manner compared to a single Supertrend.
🔹Relative Strength Index
The Relative Strength Index is a momentum oscillator that measures the speed and change of price movements. RSI oscillates between 0 and 100 and is typically used to identify overbought or oversold conditions in a market. Traditionally, RSI values above 70 are considered overbought, suggesting that the asset may be due for a reversal or correction, while RSI values below 30 are considered oversold, indicating potential buying opportunities.
🔹Volatility
Volatility in trading refers to the degree of variation or fluctuation in the price of a financial instrument, such as a stock, currency pair, or commodity, over a certain period of time. It is a measure of the speed and magnitude of price changes and reflects the level of uncertainty or risk in the market. High volatility implies that prices are experiencing rapid and significant movements, while low volatility suggests that prices are relatively stable and are not changing much. Traders often use volatility as an indicator to assess the potential risk and return of an investment and to make informed decisions about when to enter or exit trades.
🔹R-Squared (R²)
R-squared, also known as the coefficient of determination, is a statistical measure that indicates the proportion of the variance in the dependent variable that is predictable from the independent variable(s). In other words, it quantifies the goodness of fit of a regression model to the observed data. R-squared values range from %0 to %100, with higher values indicating a better fit of the model to the data. An R-squared of 100% means that all movements of a security are completely explained by movements in the index, while an R-squared value of %0 indicates that the model does not explain any of the variability in the dependent variable.
In simpler terms, in investing, a high R-squared, from 85% to 100%, indicates that the stock’s or fund’s performance moves relatively in line with the index. Conversely, a low R-squared (around 70% or less) indicates that the fund's performance tends to deviate significantly from the movements of the index.
🔶 SETTINGS
🔹Mini Chart(s) Generic Settings
Mini Charts Separator: This option toggles the visibility of the separator lines.
Number Of Bars: Specifies the number of bars to be displayed for each mini chart.
Horizontal Offset: Determines the distance at which the mini charts will be displayed from the primary chart.
🔹Mini Chart Settings: Top - Middle - Bottom
Mini Chart Top/Middle/Bottom: Toggle the visibility of the selected mini chart.
Symbol: Choose the financial instrument to be displayed in the mini chart. If left as an empty string, it will default to the current chart instrument.
Timeframe: This option determines the timeframe used for calculating the mini charts. If a timeframe lower than the chart's timeframe is selected, the calculations will be based on the chart's timeframe.
Chart Type: Selection from various chart types for the mini charts, including candles, volume candles, line, area, columns, high-low, and Heikin Ashi.
Chart Size: Determines the size of the mini chart.
Technical Indicator: Selection from various technical indicators to be displayed on top of the mini charts.
Note : Chart sizing is relative to other mini charts. For example, If all the mini charts are sized to x5 relative to each other, the result will be the same as if they were all sized as x1. This is because the relative proportions between the mini charts remain consistent regardless of their absolute sizes. Therefore, their positions and sizes relative to each other remain unchanged, resulting in the same visual representation despite the differences in absolute scale.
🔹Supertrend Settings
ATR Length: is the lookback length for the ATR calculation.
Factor: is what the ATR is multiplied by to offset the bands from price.
Color: color customization option.
🔹Moving Average Settings
Type: is the type of the moving average, available types of moving averages include SMA (Simple Moving Average), EMA (Exponential Moving Average), RMA (Root Mean Square Moving Average), HMA (Hull Moving Average), WMA (Weighted Moving Average), and VWMA (Volume Weighted Moving Average).
Source: Determines what data from each bar will be used in calculations.
Length: The time period to be used in calculating the Moving Average.
Color: Color customization option.
🔹Bollinger Bands Settings
Basis Type: Determines the type of Moving Average that is applied to the basis plot line.
Source: Determines what data from each bar will be used in calculations.
Length: The time period to be used in calculating the Moving Average which creates the base for the Upper and Lower Bands.
StdDev: The number of Standard Deviations away from the Moving Average that the Upper and Lower Bands should be.
Color: Color customization options for basis, upper and lower bands.
🔹Mini Chart(s) Panel Settings
Mini Chart(s) Panel: Controls the visibility of the panel containing the mini charts.
Dual Supertrend: Toggles the display of the evaluated dual super trend, based on the super trend settings provided below the option. The definitions for the options are the same as stated above for the super trend.
Relative Strength Index: Toggles the display of the evaluated RSI, based on the source and length settings provided below the option.
Volatility: Toggles the display of the calculated Volatility, based on the length settings provided below the option.
R-Squared: Toggles the display of the calculated R-Squared (R²), based on the length settings provided below the option.
🔶 LIMITATIONS
The tool allows users to display mini charts featuring various types of instruments alongside the primary chart instrument. However, there's a limitation: the selected primary chart instrument must have an ACTIVE market status. Alternatively, if the primary chart instrument is not active, the mini chart instruments must belong to the same exchange and have the same type as the primary chart instrument.
Volume Surge Analysis [UAlgo]The "Volume Surge Analysis " indicator is designed to detect significant volume surges in the market. By analyzing volume relative to its moving average and incorporating a comparison of the true range of price movements, this script highlights potential bullish and bearish volume spikes. Traders can utilize these signals to identify moments of heightened market activity that may indicate strong buying or selling pressure.
🔶Features
Volume Multiplier: Customizable setting to define the threshold for what constitutes a volume surge.
Volume SMA Length: Adjustable length for the Simple Moving Average (SMA) of volume.
Price Movement Analysis
Enhances the volume analysis by adding an additional layer of context, helping to confirm whether a volume surge is associated with buying or selling pressure.
True Range Calculation: Measures the range of price movement to understand volatility.
Positive Movement (DM+): Calculated when the current high minus the previous high is greater than the previous low minus the current low. This helps identify strong upward movements.
Negative Movement (DM-): Calculated when the previous low minus the current low is greater than the current high minus the previous high. This helps identify strong downward movements.
Integration with Volume Analysis: By combining the volume analysis with price movement analysis, the script can more accurately determine whether a volume surge is likely driven by bullish or bearish sentiment. This integration helps filter out false signals and provides more reliable indications of market activity.
Median Volume Comparison: Compares the current volume against the median volume multiplied by the volume multiplier to identify significant volume spikes.
Bullish and Bearish Surge Signals: Plots circles above or below bars where significant volume surges occur, indicating potential bullish or bearish movements.
Color Customization: Options to set specific colors for bullish and bearish signals to enhance visual clarity.
Bar Coloring: Optional feature to change the color of bars based on detected volume surges.
Alerts: Configurable alerts for bullish and bearish volume spikes to notify traders in real-time.
🔶Interpretation:
Bullish Volume Surges ( Teal Circles ): These circles appear above the bar when the current volume exceeds the median volume by the specified Volume Multiplier, and the smoothed Positive Directional Index (PDI) is greater than the smoothed Negative Directional Index (NDI). This suggests a potential uptrend with strong buying pressure.
Bearish Volume Surges ( Red Circles ): These circles appear below the bar when the current volume exceeds the median volume by the specified Volume Multiplier, and the smoothed NDI is greater than the smoothed PDI. This suggests a potential downtrend with strong selling pressure.
Overall, the "Volume Surge Analysis " indicator serves as a valuable tool for traders seeking to identify potential trend reversals or strong continuations based on with an above-average rise in volume and directional momentum.
🔶Disclaimer
This indicator is intended for informational and educational purposes only and should not be construed as financial or investment advice. Trading involves substantial risk, and it is essential to conduct your own research and consult with a qualified financial advisor before making any trading decisions.
Micho 150 SMA indicatorAMEX:SPY NASDAQ:MSFT This Pine Script indicator is designed to assist traders by displaying a 150-day Simple Moving Average (SMA) and a stop loss level based on a user-defined percentage below the 150-day SMA. It also marks significant crossover events with labels and highlights potential trend changes using Golden Cross and Death Cross indicators.
Features:
150-Day Simple Moving Average (SMA):
The script calculates and plots the 150-day SMA of the closing prices. This is a common technical indicator used to determine the overall trend of a security. The 150-day SMA is plotted in gray on the chart.
Stop Loss Price:
Users can define a stop loss percentage through an input field. This percentage is used to calculate a stop loss price that is plotted 1% (or user-defined percentage) below the 150-day SMA. The stop loss line is plotted in red on the chart. This helps traders manage risk by indicating a price level where they might consider exiting a trade to prevent further losses.
Buy and Sell Signals:
The script identifies potential buy and sell signals based on crossovers of the closing price with the 150-day SMA:
Buy Signal: When the closing price crosses above the 150-day SMA.
Sell Signal: When the closing price crosses below the 150-day SMA.
Labels are plotted at the crossover points to indicate "start follow" for buy signals (in green) and "check stoploss" for sell signals (in red).
Golden Cross and Death Cross:
The script also identifies Golden Cross and Death Cross events:
Golden Cross: Occurs when the 50-day SMA crosses above the 200-day SMA. This is generally considered a bullish signal indicating a potential upward trend.
Death Cross: Occurs when the 50-day SMA crosses below the 200-day SMA. This is generally considered a bearish signal indicating a potential downward trend.
These crossover events are marked with labels on the chart: "Golden Cross" (in yellow) and "Death Cross" (in yellow)
Golden Cross VWMA & EMA 4h PinescriptlabsThis strategy combines the 50-period Volume-Weighted Moving Average (VWMA) on the current timeframe with a 200-period Simple Moving Average (SMA) on the 4-hour timeframe. This combination of indicators with different characteristics and time horizons aims to identify strong and sustained trends across multiple timeframes.
The VWMA is a variant of the moving average that assigns greater weight to periods of higher volatility, helping to avoid misleading signals. On the other hand, the 4-hour SMA is used as an additional trend filter in a shorter-term horizon. By combining these two indicators, the strategy can leverage the strength of the VWMA to capture the main trend, but only when confirmed by the SMA in the lower timeframe.
Buy signals are generated when the VWMA crosses above the 4-hour SMA, indicating a potential bullish trend aligned in both timeframes. Sell signals occur on a bearish cross, suggesting a possible reversal of the main trend.
The default parameters are a 50-period VWMA and a 200-period 4-hour SMA. It is recommended to adjust these lengths according to the traded instrument and the desired timeframe. It is also crucial to use stop losses and profit targets to properly manage risk.
By combining indicators of different types and timeframes, this strategy aims to provide a more comprehensive view of trend strength.
Español:
Esta estrategia combina la Volume-Weighted Moving Average (VWMA) de 50 períodos en el timeframe actual con una Simple Moving Average (SMA) de 200 períodos en el timeframe de 4 horas. Esta combinación de indicadores de distinta naturaleza y horizontes temporales busca identificar tendencias fuertes y sostenidas en múltiples timeframes.
La VWMA es una variante de la media móvil que asigna mayor ponderación a los períodos de mayor volatilidad, lo que ayuda a evitar señales engañosas. Por otro lado, la SMA de 4 horas se utiliza como un filtro adicional de tendencia en un horizonte de corto plazo. Al combinar estos dos indicadores, la estrategia puede aprovechar la fortaleza de la VWMA para capturar la tendencia principal, pero sólo cuando es confirmada por la SMA en el timeframe menor.
Las señales de compra se generan cuando la VWMA cruza al alza la SMA de 4 horas, indicando una potencial tendencia alcista alineada en ambos horizontes temporales. Las señales de venta ocurren en el cruce bajista, sugiriendo una posible reversión de la tendencia principal.
Los parámetros predeterminados son: VWMA de 50 períodos y SMA de 4 horas de 200 períodos. Se recomienda ajustar estas longitudes según el instrumento operado y el horizonte temporal deseado. También es crucial utilizar stops y objetivos de ganancias para controlar adecuadamente el riesgo.
Al combinar indicadores de diferentes tipos y timeframes, esta estrategia busca brindar una visión más completa de la fuerza de la tendencia.
Moving Average Crossover MonitorMoving Average Crossover Monitor: Gain Insight into Market Trends
The Moving Average Crossover Monitor is a specialized tool crafted for traders seeking to understand and predict market trends more effectively. This indicator's primary focus lies in analyzing consecutive candle movements above or below specified moving averages and providing predictive estimates based on historical data.
Key Features:
1. Consecutive Candle Tracking: The indicator meticulously counts and tracks the number of consecutive candles that close above or below a selected moving average (MA1). This tracking offers a tangible measure of trend persistence over time.
2. Historical Analysis for Future Prediction: By analyzing past trends, the indicator provides insights into potential future movements. It estimates the likelihood of upcoming candles continuing above or below the moving average based on historical patterns.
3. Dynamic Visualization: Moving averages (SMA, WMA, EMA) are dynamically plotted on the chart, clearly displaying crossover points and trend transitions.
How It Works:
1. Moving Average Calculation: Select your preferred moving average type (SMA, WMA, EMA) and define short and long periods. The indicator computes two moving averages (MA1 and MA2) based on these parameters.
2. Consecutive Candle Analysis:
- Above MA1: Tracks and counts consecutive candles closing above MA1, indicating potential bullish momentum.
- Below MA1: Tracks and counts consecutive candles closing below MA1, suggesting potential bearish sentiment.
3. Future Trend Prediction: Based on historical data of consecutive candle movements, the indicator estimates the likelihood of the next candle continuing in the same direction (above or below MA1).
Advantages for Traders:
1. Quantitative Insights: Use numerical data on consecutive candles to gauge trend strength and durability.
2. Predictive Analytics: Leverage historical patterns to anticipate future market movements and adjust trading strategies accordingly.
3. Decision Support Tool: Gain clarity on trend transitions, empowering timely and informed trading decisions.
Disclaimer:
This indicator is provided for educational purposes only and should not be considered as financial advice. Trading involves risks, and past performance is not indicative of future results. Traders should conduct their own analysis and exercise caution when making trading decisions based on any indicator or tool. Always consider risk management strategies and consult with a qualified financial advisor if needed.
VWAP DivergenceThe "VWAP Divergence" indicator leverages the VWAP Rolling indicator available in TradingView's library to analyze price and volume dynamics. This custom indicator calculates a rolling VWAP (Volume Weighted Average Price) and compares it with a Simple Moving Average (SMA) over a specified historical period.
Advantages:
1. Accurate VWAP Calculation: The VWAP Rolling indicator computes a VWAP that dynamically adjusts based on recent price and volume data. VWAP is a vital metric used by traders to understand the average price at which a security has traded, factoring in volume.
2. SMA Comparison: By contrasting the rolling VWAP from the VWAP Rolling indicator with an SMA of the same length, the indicator highlights potential divergences. This comparison can reveal shifts in market sentiment.
3. Divergence Identification: The primary purpose of this indicator is to detect divergences between the rolling VWAP from VWAP Rolling and the SMA. Divergence occurs when the rolling VWAP significantly differs from the SMA, indicating potential changes in market dynamics.
Interpretation:
1. Positive Oscillator Values: A positive oscillator (difference between rolling VWAP and SMA) suggests that the rolling VWAP, derived from the VWAP Rolling indicator, is above the SMA. This could indicate strong buying interest or accumulation.
2. Negative Oscillator Values: Conversely, a negative oscillator value indicates that the rolling VWAP is below the SMA. This might signal selling pressure or distribution.
3. Divergence Signals: Significant divergences between the rolling VWAP (from VWAP Rolling) and SMA can indicate shifts in market sentiment. For instance, a rising rolling VWAP diverging upwards from the SMA might suggest increasing bullish sentiment.
4. Confirmation with Price Movements: Traders often use these divergences alongside price action to confirm potential trend reversals or continuations.
Implementation:
1. Length Parameter: Adjust the Length input to modify the lookback period for computing both the rolling VWAP from VWAP Rolling and the SMA. A longer period provides a broader view of market sentiment, while a shorter period is more sensitive to recent price movements.
2. Visualization: The indicator plots the VWAP SMA Oscillator, which visually represents the difference (oscillator) between the rolling VWAP (from VWAP Rolling) and SMA over time.
3. Zero Line: The zero line (gray line) serves as a reference point. Oscillator values crossing above or below this line can be interpreted as bullish or bearish signals, respectively.
4. Contextual Analysis: Interpret signals from this indicator in conjunction with broader market conditions and other technical indicators to make informed trading decisions.
This indicator, utilizing the VWAP Rolling component, is valuable for traders seeking insights into the relationship between volume-weighted price levels and traditional moving averages, aiding in the identification of potential trading opportunities based on market dynamics.
Money Flow DashboardThe Money Flow Dashboard is my take on trying to replicate the great and mighty Market Cipher's Money Flow and pack it into a comprehensive dashboard format with access to various timeframes.
If Money Flow is king 👑, then follow the Money 💸
How to Use Money Flow Dashboard:
1. Timeframe Selection: Choose the relevant timeframes based on your trading style and preferences. Enable or disable timeframes in the settings to focus on the most relevant ones for your strategy.
2. Dashboard Interpretation: The Money Flow Dashboard displays green (🟢) and red (🔴) symbols to indicate when the Money Flow is in green or in red zone. You can also leverage the Money Flow values on the dashboard to better interpret sentiment and its changes.
3. Dashboard Placement: To maximize effectiveness, consider placing the Money Flow Dashboard alongside your Market Cipher indicator, allowing for seamless analysis of market dynamics on multiple timeframes at the same time.
4. Confirmation and Strategy: Consider Money Flow Dashboard signals as confirmation for your trading strategy. For instance, in an uptrend, look for long opportunities when the dashboard displays consistent green symbols. Conversely, in a downtrend, focus on short opportunities when red symbols dominate.
5. Risk Management: As with any indicator, use Money Flow Dashboard in conjunction with proper risk management techniques. Avoid trading solely based on indicator signals; instead, integrate them into a comprehensive trading plan.
Range Finder [UAlgo]🔶 Description:
The "Range Finder " indicator aims at identifying and visualizing price ranges within a specified number of candles. By utilizing the Average True Range (ATR) indicator and Simple Moving Average (SMA), it detects potential breakout conditions and tracks consecutive candles that remain within the breakout range. This indicator offers flexibility by allowing users to customize settings such as range length, method for determining range breaks (based on either candle close or wick), and visualization options for displaying range breaks on the chart.
🔶 Key Features
Identifying Ranges: The Range Finder automatically adapts to the market by continuously evaluating the Average True Range (ATR) and its Simple Moving Average (SMA). This helps in dynamically adjusting the range based on market volatility.
Range Length: Users can specify the number of candles to be used for constructing the range via the "Range Length" input setting. This allows for customization based on trading strategies and preferences.
Range Break Method: The indicator offers the flexibility to choose between two methods for identifying range breaks. Users can select between "Close" or "Wick" based on their preference for using the closing price or the highs and lows (including wicks) of candles for defining the breakout.
Show Range Breaks: This option enables visual representation of range breaks on the chart. When activated, labels with the letter "B" will appear at the breakout point, colored according to the breakout direction (upward breakouts in the chosen up range color and downward breakouts in the chosen down range color).
Range Color Customization: The indicator provides the ability to personalize the visual appearance of the range by selecting preferred colors for ranges indicating potential upward and downward breakouts.
🔶 Disclaimer
It's important to understand that the Range Finder indicator is intended for informational purposes only and should not be solely relied upon for making trading decisions. Trading financial instruments involves inherent risks, and past performance is not necessarily indicative of future results.
SMA Angular Trends [Yosiet]This indicator uses two specific SMA configurations conditioned by an angular slope that is always repeated in trend markets, which are usually beneficial in swing or long-term strategies.
SETTINGS
- Fast Angle Threshold: Is the value in degrees for the condition of the fast sma
- Slow Angle Threshold: Is the value in degrees for the condition of the slow sma
- Linear Mode: When is active, it shows the sma curves only when the condition is satisfied. When is inactive, it shows color of the trends
HOW TO USE
This indicator it helps to see clearly the trends and the oppotunities to entry/exit in breakouts and retests
WHY THOSE SMAs
The SMAs are sma(7, low) and sma(30, high), those setups came from analyze several others indicators with machine learning searching for convergence points in 2018.
THOUGHTS
This indicator only pretends to help traders to take decissions with extra data confirmation
IMPROVEMENTS
You can comment your ideas and sugestions to improve this indicator
Normal Weighted Average PriceIntroducing the "Normal Weighted Average Price" (NWAP) by OmegaTools. This innovative script refines the traditional concept of VWAP by eliminating volume from the equation, offering a unique perspective on price movements and market trends.
The NWAP script is meticulously crafted to provide traders with a straightforward yet powerful tool for analyzing price action. By focusing solely on price data, the NWAP offers a clear, volume-independent view of the market's average price, augmented with bands that denote varying levels of price deviation.
Key Features:
NWAP Core: At the heart of this script is the Normal Weighted Average Price line, offering a pure, volume-excluded average price over your chosen timeframe.
Dynamic Bands: Includes upper and lower bands, plus extreme levels, calculated using the standard deviation from the NWAP. These bands help identify potential overbought and oversold conditions.
Customizable Timeframe: Whether you're a day trader or a long-term investor, the NWAP script allows you to set your preferred analysis period, ensuring relevance to your trading strategy.
Bands Width Adjustment: Tailor the width of the deviation bands with a simple multiplier to fit your risk tolerance and trading style.
Visual Zones: The script visually demarcates premium and discount zones between the bands, aiding in quick assessment of market conditions.
Usage Tips:
Ideal for traders seeking a volume-neutral method to gauge market sentiment and potential reversal points.
Use the NWAP and its bands to refine entry and exit points, especially in markets where volume data may be less reliable or skewed.
Combine with other technical indicators for a comprehensive trading strategy.
ADX Oscillator @shrilssThis Indicator calculates the Average Directional Index (ADX), a popular indicator used to quantify the strength of a trend. Additionally, it computes the Positive Directional Index (+DI) and Negative Directional Index (-DI), which measure the strength of upward and downward price movements respectively.
What sets this script apart is its enhanced ADX calculations. It incorporates Moving Averages (MAs) of the +DI and -DI to offer a smoother representation of trend direction. By averaging these directional indices over a specified period, it aims to filter out noise and provide clearer signals of trend strength.
Traders have the flexibility to visualize the traditional ADX alongside the enhanced ADX oscillator. The script also highlights potential buying and selling opportunities based on crossover events between the directional indices and the ADX, helping traders identify optimal entry and exit points.
With customizable parameters such as the length of the Directional Movement (DM), ADX, and MA periods, this script empowers traders to adapt the indicator to different market conditions and timeframes.