Neural Momentum StrategyThis strategy combines Exponential Moving Average (EMA) analysis with a multi-timeframe approach. It uses a neural scoring system to evaluate market momentum and generate precise trading signals. The strategy is implemented in Pine Script v5 and is designed for use on TradingView.
Key Components
The strategy utilizes short-term (10-period) and long-term (25-period) EMAs. It calculates the difference between these EMAs to assess trend direction and strength. A neural scoring system evaluates EMA crossovers (weight: 12 points), trend strength (weight: 10 points), and price acceleration (weight: 4 points). The system implements a score smoothing algorithm using a 10-period EMA.
Multi-timeframe Analysis
The strategy automatically selects a higher timeframe based on the current chart timeframe. It calculates scores for both the current and higher timeframes, then combines these scores using a weighted average. The higher timeframe factor ranges from 3 to 6, depending on the current timeframe.
Trading Logic
Entry occurs when the final combined score turns positive after a change. Exit happens when the final combined score turns negative after a change. The strategy recalculates scores on each bar, ensuring responsive trading decisions.
Risk Management
An optional adaptive stop-loss system based on Average True Range (ATR) is available. The default ATR period is 10, and the stop factor is 1.2. Stop levels are dynamically adjusted on the higher timeframe.
Customization Options
Users can adjust EMA periods, signal line period, scoring weights, and enable/disable multi-timeframe analysis. The strategy allows setting specific date ranges for backtesting and deployment.
Position Sizing
The strategy uses a percentage-of-equity position sizing method, with a default of 30% of account equity per trade.
Code Structure
The strategy is built using TradingView's strategy framework. It employs efficient use of the request.security() function for multi-timeframe analysis. The main calculation function, calculate_score(), computes the neural score based on EMA differences and acceleration.
Performance Considerations
The strategy adapts to various market conditions through its multi-faceted scoring system. Multi-timeframe analysis helps filter out noise and identify stronger trends. The neural scoring approach aims to capture subtle market dynamics often missed by traditional indicators.
Limitations
Performance may vary across different markets and timeframes. The strategy's effectiveness relies on proper calibration of its numerous parameters. Users should thoroughly backtest and forward test before live implementation.
To summarize, the Neural Momentum Strategy represents a sophisticated approach to market analysis. It combines traditional technical indicators with advanced scoring techniques and multi-timeframe analysis. This strategy is designed for traders seeking a data-driven and adaptive method. It aims to identify high-probability trading opportunities across various market conditions.
This Neural Momentum Strategy is for informational and educational purposes only. It should not be considered financial advice. The strategy may exhibit slight repainting behavior due to the nature of multi-timeframe analysis and the use of the request.security() function. Historical values might change as new data becomes available.
Trading carries a high level of risk, and may not be suitable for all investors. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment. Therefore, you should not invest money that you cannot afford to lose.
Past performance is not indicative of future results. The author and TradingView are not responsible for any losses incurred as a result of using this strategy. Always exercise caution when using this or any trading strategy, and thoroughly test it before implementing in live trading scenarios.
Users are solely responsible for any trading decisions they make based on this strategy. It is strongly recommended that you seek advice from an independent financial advisor if you have any doubts.
Acceleration
Rate of Change Suite [QuantraSystems]Rate of Change Suite
Introduction
The "Rate of Change Suite" (𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮) refines traditional RoC concepts by incorporating additional elements that provide more nuanced views of market trends, potential reversions, and momentum shifts.
Its main benefits are that it allows traders to detect momentum changes and frontrun trend shifts.
The suite is designed to be highly adaptable, catering to various trading styles, timeframes and market conditions. It is comprised of 3 metrics:
The RoC base line plots the rate of change, the Signal Histogram to confirm trends, and the Signal Confirmation Oscillator to inform reversal probabilities. For the early detection of trend shifts, the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is a comprehensive tool for the toolkit of modern traders.
A core component of the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is the ability to apply its processing techniques to any other indicator found on TradingView - essentially leveraging the signal power of existing analysis methods. This is achieved by modifying the ‘Source’ input.
Legend
𝓡𝓸𝓒 base line: The primary component of the suite, the RoC Line, offers a direct view of market momentum. An upward trending RoC line informs the potential for a long position, while a downward trend might signal the opportunity for a short position. Both include a secondary confirmation by the color change of the line itself. The Heikin Ashi transformed version of the RoC line provides greater resistance to rapid movements, or outliers.
Signal Histogram: This feature works in tandem with the base RoC Line, providing an additional third confirmation of trends. A rising histogram supports the presence of an upward trend. Conversely, a declining histogram aligns with downward trends.
Signal Confirmation Oscillator: This dotted-line is crucial for detecting peaks or troughs in market momentum: These can precede reversals or shifts in the prevailing trend. Traders can use this signal to anticipate and prepare for potential changes quicker than others.
Case Study
Primarily a tool to follow trends, the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 implies much more – you can trade with a confirmed trend signal entry and a mean reversion signal for the exit:
Here we see two practical cases of the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 on the 1h BTC chart.
In the first scenario, the trader waits for three confirmations from the indicator.
The 𝓡𝓸𝓒 baseline to lead the run and looks for confirmation two and three:
𝓡𝓸𝓒 base line color shifts
and the Signal Histogram follows past the null midline.
The trader has adjusted their risk beforehand and enters the long position.
The 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 shows traders when to take profit:
The Signal Confirmation Oscillator (SCO, dotted line) moves beyond the 𝓡𝓸𝓒 baseline and the Signal Histogram. The trader can take 50% of the profit already.
The trader waits patiently, and if the SCO reverses, the rest of the position is closed.
The same works inversely for the second trade, which successfully frontran the decline shortly after.
Recommended Settings
Day Trading (1H chart)
Length: 30
Smooth Length: 10
Display Variant: Classic
Choose Mode: Trend Following
Investing – Follow Trend (1D chart)
Default settings
Notes
Quantra Standard Value Contents:
The Heikin-Ashi (HA) candle visualization smoothes out the signal line to provide more informative insights into momentum and trends. This allows earlier entries and exits by observing the indicator values transformed by the HA.
Various visualization options are available to adjust the indicator to the user’s preference: Aside from HA, a classic line, or a hybrid of both.
A special feature of Quantra’s indicators is that they are probabilistically built - therefore they work well as confluence and can easily be stacked to increase signal accuracy.
To add to Quantra's indicators’ utility we have added the option to change the price bars’ colors based on different signals:
Choose Mode for Coloring
Trend Following (Indicator above mid line counts as uptrend, below is downtrend)
Extremes (Everything beyond the SD bands is highlighted to signal mean reversion)
Candles (Color of HA candles as barcolor)
Reversions (Only for HA) (Reversion Signals via the triangles if HA candles change trend while beyond the SD bands, high probability entries/exits)
Divergence Sensitivity: Quantra’s 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is finely tuned to detect divergences, a key feature for identifying possible trend reversals.
Trend Following and Reversions: Primarily a tool for trend following, the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is also adept at spotting potential reversions and slowdowns in momentum.
Range Trading Compatibility: In its Heikin Ashi Candles mode, the suite becomes particularly effective for range trading strategies.
High Customizability: Traders can customize the suite with various visualization options, including classic line representation, HA transformation, and bar coloring. These can be based on Heikin Ashi Candles or Trend Following approaches, providing flexibility to adapt to different trading scenarios.
Methodology
The 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is built on a foundation of functions that define and calculate the Rate of Change. They employ a variety of moving average types (SMA, EMA, DEMA, TEMA, WMA, etc.) which can be selected to optimize the RoC line.
A bespoke function to calculate Heikin-Ashi values is engineered to offer a more consistent view of the trend.
The Signal Histogram is derived by mathematically processing the base RoC signal. The Signal Confirmation Oscillator is based on a modified formula, adjusted to align with the RoC dynamics.
With a range of customization options for its visual presentation, including color schemes and display styles, the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 is designed to cater to both trend following indications as well as finding signals for mean reversion trades. This multifaceted approach enables the 𝓡𝓸𝓒 𝓢𝓾𝓲𝓽𝓮 to allow the trader to combine signals of both types to de-risk his positions.
Wave Pendulum Trend [QuantraSystems]Wave Pendulum Trend
Introduction
The Wave Pendulum Trend (𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭) extrapolates market trends using physical principles derived from waves and pendulums. This indicator is a bespoke build, and its performance and behavior cannot be compared to existing indicators.
It is designed for trend following but is also effective for identifying mean reversions, momentum strength, and shows range-bound market periods within the dynamic bands.
In order to ascertain a smooth yet rapid trend direction of the market, the 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 combines several factors. A bespoke set of functions captures the momentum of price movements and dynamically weighs it over time. The indicator then extrapolates acceleration from the change in delta of price movements.
Legend
With bar coloring enabled, the price section mirrors current trend conditions. Please keep this feature disabled if you intend to use multiple indicators to avoid confusion.
The 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 presents extensive market insights. The purple and green bands around the oscillator signal the selected standard deviation (default σ = 2), for the trader to calculate how common the trending movements are in relation to the selected asset’s history.
The inner, dynamic thresholds, indicated by the blue “Range-bound market” label in the graphic above, border the area that signals a ranging market if both 𝓐𝓬𝓬𝓮𝓵𝓮𝓻𝓪𝓽𝓲𝓸𝓷 and 𝓜𝓸𝓶𝓮𝓷𝓽𝓾𝓶 signals remain inside. If either line exceeds these thresholds, care is advised as a shift in market behavior is underway.
“Trend strength” in the graphic provides a good estimate for the trending movements strength.
If the signal lines exceed the set standard deviation in non-classic mode, a reversal is very likely.
Case Study
As shown in the above case study we see two profitable swing trades on the 4H chart of Ethereum. Please note the display variant here is set to “Heikin-Ashi”.
We always recommend using a multitude of indicators to attain multiple signals on the likelihood of opening the correct position. However, this standalone scenario serves as an example on how the 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 added two profitable swing trades.
The first short trade was opened after the 𝓐𝓬𝓬𝓮𝓵𝓮𝓻𝓪𝓽𝓲𝓸𝓷 and 𝓜𝓸𝓶𝓮𝓷𝓽𝓾𝓶 reversed after crossing the threshold of standard deviation. This trade offered a late entry only, these two factors were followed late by the third signal in this case – the trend reversal. Such a trade would require additional indicators to signal at the same time, so the trader can get more confirmations. The trade was closed after 6D with an 8% gain on a 1x short position.
The second trade is a long position that enters in the same manner. The trader takes the reversal beyond the select standard deviation as a likely entry. After 7D a triple confirmation was received, as indicated by the triangle, that a reversal or at least a plateau is extremely likely. The trade was closed after 7D with a 17.23% gain on a 1x long position.
Recommended Settings
Trend Following / Investing (1D chart)
Please use the default settings!
Swing Trading (4H chart)
Wave MA - Type: TEMA
Wave MA – Length: 30
Display Variant: Heikin-Ashi
Bar Coloring: Off
Choose Mode for Coloring: Signal
Notes
Quantra Standard Value Contents:
The Heikin-Ashi (HA) candle visualization smoothes out the signal line to provide more informative insights into momentum and trends. This allows earlier entries and exits by observing the indicator values transformed by the HA.
Various visualization options are available to adjust the indicator to the user’s preference: Aside from HA, a classic line, or a hybrid of both.
A special feature of Quantra’s indicators is that they are probabilistically built - therefore they work well as confluence and can easily be stacked to increase signal accuracy.
To add to Quantra's indicators’ utility we have added the option to change the price bars colors based on different signals:
Settings: TEMA and DEMA length settings should be longer compared to other Moving Averages (MAs). Due to its complex calculations, the indicator requires a larger amount of historical data for accurate computation.
Sensitivity to Divergences: The Wave Pendulum Trend is particularly sensitive to divergences, making it a useful tool in spotting potential trend reversals or continuations.
Trend Following and Reversions: While it is primarily used for trend following, it also excels in identifying market reversions.
Momentum and Acceleration: The interaction between momentum and acceleration is a key feature of this indicator.
Visualization: The indicator offers various visualization options, including bar coloring based on HA Candles and extremes and trends. It also introduces a novel approach to visualizing the oscillator in the "Classic" mode and provides an adjustable Standard Deviation (SD) measure for reversal signals in non-classic modes.
Choose Mode for Coloring
Trend Following (Indicator above mid line counts as uptrend, below is downtrend)
Extremes (Everything beyond the SD bands is highlighted to signal mean reversion)
Candles (Color of HA candles as barcolor)
Reversions (Only for HA) (Reversion Signals via the triangles if HA candles change trend while beyond the SD bands, high probability entries/exits)
Methodology
The methodology behind the Wave Pendulum Trend is inspired by wave and pendulum theories to extrapolate market moves. By calculating the momentum and its acceleration from price data, it provides a nuanced view of the market trend.
Traders should observe the color coding, which reflects the interplay between momentum, acceleration, and set thresholds for acceleration. The Signal Mode is particularly useful for quickly identifying trend, momentum, and acceleration exhaustions.
Additionally, the indicator can help filter out ranges with insufficient momentum acceleration. Traders are encouraged to experiment with this mode and adjust the threshold settings to suit their strategies.
Velocity and Acceleration SignalsThe "Velocity and Acceleration Signals" indicator is a versatile tool designed to provide traders with valuable insights into price momentum and acceleration. By harnessing the power of mathematics and visualization, this indicator helps traders make informed decisions in the fast-paced world of financial markets.
Crunching the Numbers: How It Works
At its core, the indicator relies on two key concepts: velocity and acceleration. Here's how it operates:
-- Velocity Calculation : The indicator takes a step back in time, considering a user-defined historical period (typically around 14 bars). It calculates the velocity of price movements during this period. Velocity represents the speed at which an asset's price is changing and is derived by examining how much the price has moved between bars. Specifically, it computes the rate of change in price over time.
-- Acceleration Calculation : Building upon velocity, the indicator goes one step further and calculates acceleration. Acceleration signifies how quickly the velocity is changing. It quantifies whether the price is speeding up or slowing down in its ascent or descent.
-- Smoothing with EMA : To enhance clarity and reduce noise, the indicator smooths the velocity using an Exponential Moving Average (EMA) with a user-defined length. This smoothed velocity provides a more comprehensive view of the price momentum trend.
Visualizing Market Dynamics
The indicator doesn't just crunch numbers; it also paints a vivid picture of market sentiment:
-- Coloration : The indicator employs a color scheme to visualize market conditions. It uses lime for positive acceleration and fuchsia for negative acceleration. The color green represents positive smoothed velocity, while red denotes negative smoothed velocity. A gray hue signals a neutral or transitional phase.
-- Plotting Velocity and Acceleration : The indicator provides visual representations of both smoothed velocity and acceleration. Smoothed velocity is depicted as columns, with green or red coloring indicating the direction. Acceleration is displayed as a histogram, with lime or fuchsia bars showcasing bullish or bearish momentum. A gray zero line offers a reference point for changes in momentum direction.
-- Strong Up and Strong Down Conditions : For traders seeking distinctive signals, the indicator identifies "Strong Up" and "Strong Down" conditions. A "Strong Up" occurs when smoothed velocity crosses above a user-defined threshold, coupled with positive acceleration. Conversely, a "Strong Down" emerges when smoothed velocity crosses below another threshold, accompanied by negative acceleration. These conditions are marked with prominent triangular shapes.
Unlocking Trading Potential
Now, let's explore how traders can leverage the indicator:
-- Trend Confirmation : Traders can use this indicator to validate the prevailing market trend. A robust smoothed velocity, combined with acceleration in the same direction, can confirm the current trend.
-- Contrarian Signals : Extreme conditions signaled by a strong crossover or crossunder of the smoothed velocity threshold, along with appropriate acceleration, can hint at potential trend reversals.
-- Divergence Analysis : Savvy traders can employ this indicator to identify divergences between price movements and momentum. If the price exhibits higher highs while the indicator shows lower highs (or vice versa), it may signify a weakening or strengthening trend.
Navigating Limitations
As with any trading tool, it's essential to acknowledge the indicator's limitations:
-- Lookback Period : The indicator's effectiveness may vary based on the chosen historical period. Longer periods smooth out fluctuations but may lag in capturing recent changes in sentiment.
-- Threshold Sensitivity : Interpreting threshold crossovers or crossunders can be subjective. Traders should carefully fine-tune these threshold values based on their trading strategy and market conditions.
-- Context Matters : The indicator focuses solely on velocity and acceleration signals and does not incorporate other critical factors such as trading volume, market news, or fundamental analysis. Therefore, traders should use it in conjunction with additional indicators and analysis techniques.
While the primary focus is on trend and momentum analysis, this indicator indirectly provides information about volatility as well. Rapid changes in velocity and acceleration can indicate increasing volatility in the market, which may be of interest to traders looking for opportunities during volatile conditions.
However, this indicator doesn't directly measure volume. To incorporate volume analysis into your trading strategy, you may want to combine this indicator with volume-based indicators or consider other tools specifically designed for volume analysis.
In conclusion, this indicator is a valuable ally for traders looking to decode market dynamics and make data-driven trading decisions. While it offers powerful insights, it's crucial to recognize its limitations and deploy it as part of a comprehensive trading strategy.
Velocity Acceleration Convergence Divergence Indicator [CC]I created the Velocity Acceleration Convergence Divergence Indicator, and it is quite a mouthful if I do say so. I based this script on my two previous scripts: Velocity Indicator and Velocity Acceleration Indicator . This acts like a typical MACD but is much faster with the responses. This indicator is created by finding the difference between the Velocity Indicator and Velocity Acceleration Indicator to determine the overall trend strength of the underlying stock. Like the other scripts, I coded the general buy and sell signals the same, so you would want to buy when the indicator crosses over above the zero midline and sell when it crosses below the zero midline. I have also used the same colors, so darker colors for strong signals and lighter colors for normal signals.
Please let me know if you would like me to publish another script or if you want something custom done!
Velocity Acceleration Indicator [CC]The Velocity Acceleration Indicator was created by Scott Cong (Stocks and Commodities Sep 2023, pgs 8-15). This is another personal variation of his formula designed to capture the overall velocity acceleration of the underlying stock by applying the velocity formula to the original indicator to find the acceleration of the underlying velocity. I changed a few things around and managed actually to get less lag and quicker signals for this version, so make sure you compare the Velocity Indicator script that I published yesterday. This indicator is also visually similar to a typical stochastic indicator but uses a different underlying calculation. This works well as a momentum indicator, and the values are completely unbounded, so the best ways to determine bullish or bearish trends is either by using a crossover or crossunder between the indicator and the midline or to buy or sell the indicator when it reaches a high or low point and starts to fall or rise respectively. I used the zero line for my default version to help determine the bullish or bearish trends. I have also included multiple colors to differentiate between very strong signals and normal signals, so very strong signals are darker in color, and normal signals use lighter colors. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators or scripts you would like to see me publish! I will have some more new scripts in the next week or so.
Price Acceleration Indicator (PAI)I have designed a "Price Acceleration" Indicator (PAI). It tracks the second derivative in price movements. This is different from ROC as that one measures Price Velocity rather than Acceleration. This Indicator should give you an idea of when the steam has come out of a move, or when one is getting started. For example, if RSI is reaching overbought, and PAI is Negative, that means the move is slowing down and likely to give in to the opposite direction soon.
Acceleration-Based MA Slope PredictionHello traders,
I developed this indicator while working on a trading strategy using moving average slope and acceleration, and I found the concept interesting enough to share it.
Let me briefly explain this indicator.
----About White Plot----
1. Calculate the first derivative approximation at the current point of the Moving Average, and then calculate the second derivative approximation to obtain the 'Acceleration'.
2. Where the acceleration is 0, it signifies a change in the force of the moving average.
3. Therefore, by drawing a parabola based on the acceleration at that time, can depict the parabolic shape of the moving average.
This is represented as a white circle on the indicator.
4. These circles are reset at the next point where the acceleration is 0, indicating a change in the parabolic force.
If the moving average rises more sharply than the predicted value of the rising parabola, a more drastic increase is expected.
5. In this case, you can start risk management around the time the drawn parabola breaks.
(The actual MA is represented by green/red lines)
6. Before the trend changes, i.e., before the direction of the moving average changes, there is a section where the acceleration is 0, and this is represented on the chart as follows.
(The lower indicator shows the acceleration of the corresponding parabola)
----About Red Plot----
1. Calculate the first derivative approximation of the moving average value, the 'slope'.
2. Where the slope is 0, it represents the extreme point of the parabola.
3. Therefore, by using the acceleration at that point as the coefficient of the quadratic function and setting the extreme point as a vertex, we can draw a quadratic function. This is represented as a red circle on the indicator.
(Keep in mind that the actual moving average is not a quadratic function; this is a "forced" quadratic function assuming the parabola is maintained)
4. These circles are reset at the next extreme point where the slope is 0, and a new quadratic function is created.
Based on the formula obtained in the above process, you can predict the future moving average through 'offset'.
5. That is, if the x value at the current point is 'k', you can predict the moving average one candle ahead by substituting (k+1) into the quadratic function.
The predicted value at the past position is shown as a red circle.
6. The smoother the chosen moving average, the fewer extreme points will appear, and the higher the likelihood of the parabola fitting.
For the T3 set as the default value, it shows very high accuracy even when predicting about 20 candles ahead.
On the other hand, rough moving averages like SMA have limited prediction value.
(SMA 60, offset = 10)
--------
The moving average with a very high level of accuracy is JMA (Jurik Moving Average). However, since the code for this moving average is not public, I recommend those interested to check it through my code.
Additionally, I believe the code of this indicator I've uploaded has significant utility.
As an example, you can use the breaking point of the parabola predicted by the acceleration to determine when the force changes again for entries/losses. There are many other possible applications as well.
I look forward to seeing more excellent results from this indicator.
--------
안녕하세요 트레이더여러분.
이 지표는, 제가 이동평균선의 기울기와 가속도를 이용하여 매매를 하기 위한 지표를 개발하다가, 흥미로운 내용이라고 판단하여 만들게 되었습니다.
이 지표에 대해 간단히 설명드리겠습니다.
----하얀색 플롯에 대해----
1. 이동평균선이 진행되는 현재 시점에서 미분의 근사값을 구하고, 다시 한 번 미분의 근사값을 구해서 '가속도'를 얻습니다.
2. 가속도가 0이 되는 곳은, 곧 해당 이동평균선의 힘이 바뀌는 곳을 의미합니다.
3. 따라서, 그 당시 시점 기준으로 포물선을 그려낸다면, 가속도를 이용하여 해당 이동평균선의 포물선을 그려낼 수 있습니다. 이것은 지표의 하얀색점로서 표기됩니다.
4. 이 때, 이러한 점들은 다음의 가속도가 0이 되는 지점, 즉 포물선의 힘이 바뀌는 곳에서 다시 초기화됩니다.
5. 올라가고 있던 포물선에서의 예측치보다 이동평균선이 더 급하게 올라간다면, 더욱 급격한 상승이 예상됩니다. 이 경우, 그려지고있는 포물선이 깨질 때쯤부터 리스크 관리를 시작할 수 있습니다.
(녹색/빨간색의 선으로 실제 MA를 표현했습니다. 거슬리시면 '모습'가셔서 끄셔도 좋습니다. )
6. 추세가 변경되기 전, 즉 이동평균선의 방향이 바뀌기 전에는 가속도가 0이 되는 구간이 존재하고, 그것이 차트 위에 다음과같이 표현됩니다.
(하단의 지표는, 해당 포물선의 가속도을 나타냅니다)
----붉은색 플롯에 대해----
1. 이동평균선 값을 미분 근사값 즉, '기울기'를 구합니다.
2. 기울기가 0이 되는 곳은, 포물선이 극점이 되는 곳을 뜻합니다.
3. 따라서, 해당 시점의 가속도를 2차함수의 계수로 하여, 또한 해당 극점을 하나의 꼭지점으로 설정하여,이차함수를 그려낼 수 있습니다. 이것은 지표의 빨간색점으로서 표현됩니다.
(실제 이동평균선은 2차함수가 아니기에, 포물선이 유지된다는 가정 하에 "억지로"만들어낸 이차함수입니다)
4. 이 때, 이러한 점은 다음 극점이 0이 되는 곳에서 초기화되고 이차함수가 만들어집니다.
5. 위의 과정에서 얻은 식을 바탕으로 'offset'을 통해 미래의 이동평균선을 예측할 수 있습니다.
즉, 현재시점의 x값을 'k'라고 한다면, (k+1)을 이차함수에 대입하여 1캔들 앞의 이동평균선을 예측할 수 있습니다.
해당 예측치가 지나간 자리는, 빨간색점을 통해 보여집니다.
6. 선택한 이동평균선이 스무스할수록 극점은 덜 등장하게되고, 포물선의 위치가 맞아들어갈 가능성이 높습니다.
현재 디폴트값으로 설정된 T3의 경우, 약 20캔들 앞을 예측해도 매우 높은 정확도를 보여줍니다.
반면에, SMA와 같이 울퉁불퉁한 이동평균선은 가능한 예측치가 크지 않습니다.
(SMA 60, offset=10)
--------
매우 높은 수준의 정확도를 보여준 이동평균선은 JMA(Jurik Moving Average)입니다. 다만 이 이동평균선은 코드가 공개되지 않았기때문에, 관심있으신 분은 저의 코드를 통해 한번 확인해보시길 권장드립니다.
추가로, 제가 올린 이 지표의 코드는 이용가치가 높다고 생각합니다.
하나의 예시로서, 가속도로 예측한 포물선이 깨지는 곳을 기준으로, 힘이 다시 한 번 바뀌는 것을 이용해 진입/로스를 할 수 있습니다. 그 외에도 매우 다양한 활용이 가능합니다.
이 지표를 통해 더욱 좋은 새로운 결과물이 나오길 기대해봅니다.
Leavitt Convolution Acceleration [CC]The Leavitt Convolution Slope indicator was created by Jay Leavitt (Stocks and Commodities Oct 2019, page 11), who is most well-known for creating the Volume-Weighted Average Price indicator. This indicator didn't have a good explanation or description so I custom-coded most of it. The way it works is it will give trend spikes in the direction of the underlying trend. If you don't see a spike then it means that the stock isn't trending at the moment. One possible avenue to explore with this indicator is judging the size of the trend spike before you open a position in that direction (or the opposite direction if you are shorting). I added a normalization function using code from a good friend @loxx that I recommend leaving on but feel free to experiment with it. I have color coded the lines to turn light green for a standard buy signal or dark green for a strong buy signal and light red for a standard sell signal, and dark red for a strong sell signal.
This is another indicator in a series that I'm publishing to fulfill a special request from @ashok1961 so let me know if you ever have any special requests for me.
Carrey's Velocity and AccelerationThis is initially based on the MA Speed indicator from TradeStation () and expanded upon greatly. This implements 3 different variable MAs and calculates and plots both speed and acceleration of each. Also, a single line composite option is included for both speed and acceleration that changes color based on directional confluence of each MA's speed/acceleration. Additionally, optional labels are included to show where the 3 MAs are clustered, and a volatile move is expected, and where they are more distributed, expecting a temporary reversal.
The additional acceleration concept comes from kinematics in physics. Utilizing time-based derivatives, we can calculate the velocity and acceleration of the moving averages, which can help us identify momentum of price action and locate reversals sooner.
NEXT VWAP SlopeOverview:
This customizable oscillator tracks slope of the Volume-Weighted Average Price ( VWAP ) line, positive and negative, over a user-specified run (bar distance). It is highly responsive, far more so than VWAP alone, making it suitable for issuing long and short signals (especially around 0 crossovers) as well as exit signals at positive and negative extremes (corresponding to price-volume momentum exhaustion).
NASDAQ 100 Futures ( CME_MINI:NQ1! ) 1-minute trend following
The example below shows a NEXT VWAP Slope 0-crossover strategy, issuing long signals when the VWAP Slope line crosses over 0 and short when it crosses under it. You will need the NEXT Strategy Visualizer (free) to plot NEXT VWAP Slope's signals.
NEXT VWAP Slope is highly customizable, allowing you to change the length of the run (for smoother slopes), as well as the midline level - in the above example it is 0. The latter is useful if you want to introduce a bias into your strategies: long, if negative, short, if positive.
Input Parameters:
There are 2 groups of input.
Slope Settings
Slope Run - controls the length of time (in bars) for slope calculation with higher values yielding a smoother, more filtered, but less responsive curve
Midline - the NEXT VWAP Slope level above which market is considered long, below short; default is 0
Upper Limit - the NEXT VWAP Slope level above which market is considered overbought; default is 0 (off)
Lower Limit - the NEXT VWAP Slope level under which market is considered oversold; default is 0 (off)
VWAP Settings
Anchor Period - controls the origin of VWAP calculations, start of session being the default.
Source - data used for calculating the VWAP, typically HLC /3, but can be used with other price formats and data sources as well.
Offset - shifting of the VWAP line forward (+) or backward (-).
Here is how to set NEXT VWAP Slope crossing 0 alerts: open a chart, attach NEXT VWAP Slope, and right-click on chart -> Add Alert. Condition: NEXT VWAP Slope >> VWAP >> Crossing >> Value >> 0 >> Once Per Bar Close.
Momentum and AccelerationThe following oscillator is a twist on momentum, incorporating a 2nd derivative "acceleration" to help determine changes in momentum. Both are plotted directly accessing previous series values rather than using a moving average.
The script has an option to divide so the formula is d(Price)/d(Time), like a derivative. The script also provides options for the user to use their price source, volume, or a combination of price and volume.
Credit: This script utilizes the "color gradient framework" tutorial by LucF (PineCoders) to create user-adjustable gradient visuals.
Definitions
"1st Derivative - Momentum" - Momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security.
"2nd Derivative - Acceleration" - Acceleration is the rate of change of momentum.
Value Added
This script may help the trader to assess directional changes in momentum easier.
This script also plots using previous series values rather than using a moving average function. To my knowledge, I was unable to find one that does this for "2nd derivative", so it had to be created.
DRC's Force Index
Version 1.2 Update:
No need for scaling up/down anymore
No need for setting up so many parameters
Ability to mix instantaneous indicator with averaged indicator (its different from just making a moving average)
Mass obtention has been improved
Velocity calculation has been improved, by considering highs and lows
Acceleration calculation has been simplified
Diego Riobo Cabot's Force Indicator Diego Riobo Cabot
© riobocabotd
Analysing the Market as Physical Forces
Credits First:
Tradingview Pine Comunity, it's just amazing, honestly.
Godmode Indicator's creators. I was inspired by them to create an indicator that takes a lot of variables into account. I also took the idea of the Momentum and LSMA from there
Function te get volume from lower tf was taken from a post in stack overflow. So, credits to you, anonymous hero.
Let's get to it:
so... What is this thing, exactly?
I wanted to measure the market's upward and downard force, in order to calculate the resulting force. Just as a curiosity.
At the end, I got a pretty decent indicator in my hands and I'd like to share it with you guys.
The main goal was to apply basic rules of physics: Velocity, Acceleration, Mass and Force (We could go further if we wanted, such as Impulse, Quantity of Movement, Impact and so on)
Everything appart from mass is a vector, meaning it has a direcction and a magnitude. Each of them were decompossed in upwards and downwards direction
Nevertheless I pictured this Analysis as a "fight" between two teams the Bulls and the Bears (Buyers and Sellers). So I measured two masses: Bulls (+) and Bears(-)
Glossary (internal Clockwork)
° Velocity: Is the ratio between a travelled distance and the time that took to travel it.
+ Upwards Velocity (v_up): Meausures if current source is higher than the previous and stores this value. Has positive values
+ Downwards Velocity (v_dn): Meausures if current source is lower than the previous and stores this value. Has negative values
+ Both vectors are averaged using the rma function (same average type used in the RSI)
+ The length of this average is called length_v: "Lookback - Velocity"
+ Resultant Velocity (v_av): The sum of the averaged v_up and v_dn, since they have equally opposite directions, there's no need for a vectorial sum.
+ Velocity Index (v_in): It's an index between +100% and -100%. Meausures where v_av stands in relation to high (v_up) and low (v_dn). Not used for calculations, but I'll leave it there for further research
° Acceleration: Meausures the rate of change of velocity during time. Since we already have the velocity calculated, it's pretty straight forward
+ Upwards Vel increase (v_up_up): Stores positive variations of upwards' velocity.
+ Upwards Vel decrease (v_up_dn): Stores negative variations of upwards' velocity.
+ Downwards Vel increase (v_dn_up): Stores positive variations of downwards' velocity.
+ Downwards Vel decrease (v_dn_dn): Stores negative variations of downwards' velocity.
+ Upwards Accel. (a_up): v_up_up + v_dn_up
+ Downwards Accel. (a_dn): v_up_dn + v_dn_dn
+ Resultant Accel. (a_av): a_up + a:dn Not used, is there for further research
° Mass: Measures the volume of operations. How much asset is bougth (Bull) or sold (bears).
+ Mass is measured from a lower timeframe. It checks if the candles are Bullish or Bearish (Could be done with closing prices, or typical price)
+ The Lower Timeframe is determined in minutes throught the input variable "Lower Timeframe"
+ Bull mass (vol_up): Total bullish volume in the lower timeframe, for the current candle period
+ Bear mass (vol_dn): Total bearish volume in the lower timeframe, for the current candle period
+ Neutral mass (vol_nt): Total neutral volume in the lower timeframe. (Buy price = Open price) Not used for calculations. Could be used for resistance points?
+ Resultant mass (vol_av): |vol_up - vol_dn|
+ Total mass (vol_tt): Sum of all masses (Just the total volume)
° Force: It's nothing else than mass * acceleration
+ Upwards Force (f_up): vol_up * a_up Bulls mass * Positive Acceleration
+ Downwards Force (f_dn): vol_dn * a_dn Bears mass * Negative Acceleration.
+ Resultant Force (f_av): f_up + f_dn Not used, is there for further research
° Force Index
+ Upwards Channel (fi_up)
+ Downwards Channel (fi_dn)
+ Both vectors are averaged using the rma function (same average type used in the RSI)
+ The length of this average is called length_v: "Lookback - Force"
+ Raw Index (fi_rw): It's an index between +100% and -100%. Meausures where f_av stands in relation to high (f_up) and low (f_dn).
+ Index (fi_in): It's the averaged raw index using the rma function and the "Force Index Smoothing" period
+ Signal (fi_sg): It's the averaged fi_in using the rma function and the "Force Signal Smoothing" period
+ Momentum (fi_mo): fi_in - f_sg. If the momentum is higher than the current force direction, current force should be outwon by previos market trend. It's Smoothed out using the "Force Momentum Lookback"
+ Trend (fi_tr): It's a linear regression of fi_in using a very long period (Force Trend Lookback)
Okay... sure, but how do I use it?
° It is very similar to how the GodMode 3.2 indicator works actually, so if you're familiar with it, you can start trying this indicator out. I've noticed it can provide a bit more timely signals
° It's also similar to Stochastics or RSI indices... but with three lines. an instantaneous one (Force - Blue), an averaged one (Signal - Orange) and a slow one (Trend - Green)
° Bullish/Bearish momentum: Trendline (green) above 0% means Bullish. Above 12% means a trend wants to form and if it reaches 40% means the strend is super strong (Bitcoin like, strong). The opposite goes for bearish trends (values under 0)
° Line crossings: Instant Force Line (Blue) crosses over the Signal Line (Orange), while the orange is going slightly down or flat under the -12%: Means a long signal. The opposite applies for the Short signals
° Line crossings: Same as above, but when the Signal crosses over the Trend Line (Green)
° Reversals: The background columns are supposed to immitate the "Inertia" of movement. If inertia's bars are higher (when positive) or lower (when negative) than the Force Line (Blue), then it means that the current force the market is making, is probably weaker (at that time) than the inertia the market carries with it.
Tips:
° If you wen't long, the orange line is going slightly down, but it's over +12%, it means the bullish trend is still going, although not as strong as before. You could keep your long position. The reverse applies for short.
Acceleration BandsAcceleration Bands
Description:
Acceleration Bands serve as a trading envelope that factor in an assets typical volatility over standard settings of 20 or 80 bars. They can be used across any time period, though traders prefer to use them most across weekly and monthly timeframes as breakout indicators outside these bands.
Using the shorter time frames can define likely support and resistance levels at the lower and upper Acceleration Bands.
Entry is usually made at the breakout point. Once the price closes back within the Acceleration Bands, this is taken as a signal that the acceleration period is over and it’s best to close out the trade.
Neglected Volume by DGTVolume is one piece of information that is often neglected, however, learning to interpret volume brings many advantages and could be of tremendous help when it comes to analyzing the markets. In addition to technicians, fundamental investors also take notice of the numbers of shares traded for a given security.
What is Volume?
The volume represents all the recorded trades for a security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security. Think of volume as the force that drives the market. Volume substantiates, energizes, and empowers price. When volume increases, it confirms price direction; when volume decreases, it contradicts price direction.
In theory, increases in volume generally precede significant price movements. However, If the price is rising in an uptrend but the volume is reducing or unchanged, it may show that there’s little interest in the security, and the price may reverse.
A high volume usually indicates more interest in the security and the presence of institutional traders. However, a rapidly rising price in an uptrend accompanied by a huge volume may be a sign of exhaustion.
Traders usually look for breaks of support and resistance to enter positions. When security break critical levels without volume, you should consider the breakout suspect and prime for a reversal off the highs/lows
Volume spikes are often the result of news-driven events. Volume spike will often lead to sharp reversals since the moves are unsustainable due to the imbalance of supply and demand
note : there’s no centralized exchange where trades are recorded, so the volume data represents what happens at a particular exchange only
In most charting platforms, the volume indicator is presented as color-coded bars, green if the security closes up and red if the security closed lower, where the height of the bars show the amount of the recorded trades
Within this study, Relative Volume , Volume Weighted Bars and Volume Moving Average are presented, where Relative Volume relates current trading volume to past trading volume over long period, Volume Weighted Bars presents price bars colored based on short period past trading volume average, and Volume Moving Average is average of volume over shot period
Relative Volume is presented as color-coded bars similar to regular Volume indicator but uses four color codes instead two. Notable increases of volume are presented in green and red while average values with back and gray, hence adding ability to emphasis notable increases in the volume. It is kind of a like a radar for how "in-play" a security is. Users are allowed to change the threshold, default value is set to Fibonacci golden ration standard deviation away from its moving average.
Volume Weighted Bars, a study of Kıvanç Özbilgiç, aims to present if price movements are supported by Volume. Volume Weighted Bars are calculated based on shot period volume moving average which will reflect more recent changes in volume. Price actions with high volume will be displayed with darker colors, average volume values will remain as they are and low volume values will be indicated with lighter colors.
Volume Moving Average, Is short period volume moving average, aims to display visually the volume changes. Please not that Relative Volume bars are calculated based on standard deviation of long volume moving average.
What Else?
Apart from the volume itself, your ability to assess what volume is telling you in conjunction with price action can be a key factor in your ability to turn a profit in the market. It makes little sense to analyze the volume alone. To correctly interpret the volume data, it shall be seen in the light of what the price is doing. there are a lot of other indicators that are based on the volume data as well as price action. Analysing those volume indicators has always helped traders and investors to better understand what is happening in the market.
Here are the ones adapted with this study. Some of them used as a source for our aim, some adapted as they are with slight changes to fit visually to this study and please note that the numerical presentation may differ from their regular use
• On Balance Volume
• Divergence Indicator
• Correlation Coefficient
• Chaikin Money Flow
Shortly;
On Balance Volume
The On Balance Volume indicator, is a technical analysis indicator that relates volume flow to changes in a security’s price. It uses a cumulative total of positive and negative trading volume to predict the direction of price. The OBV is a volume-based momentum oscillator, so it is a leading indicator — it changes direction before the price
Granville, creator of OBV, proposed the theory that changes in volume precede price movements in a measurable way. He believed that volume was the main force behind major market moves and thought of OBV’s prediction of price changes as a compressed spring that expands rapidly when released.
It is believed that the OBV shows the interactions between the institutional and retail traders in the market
If the price makes a new high, the OBV should also make a new high. If the OBV makes a lower high when the price makes a higher high, there’s a classical bearish divergence — indicating that only the retail traders are buying. Another type of bearish divergence occurs when the price remains relatively quiet and fails to make a higher high but the OBV soars higher than the previous high — indicating that the institutional traders are accumulating short positions. On the other hand, if the price makes a lower low and the OBV makes a higher low, there is a classical bullish divergence, showing that the institutional traders don’t believe in that move
With this study, Momentum and Acceleration (optional) of OBV is calculated and presented, where momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security. It is also referred to as a technical analysis indicator and oscillator that is able to determine market trends.
Additionally, smoothing functionality with Least Squares Method is added
Divergences especially, should always be noted as a possible reversal in the current trend, so the divergence indicator is adapted with this study where the Momentum of OBV is assumed as Oscillator with similar usages as to RSI. Divergence is most often used to track and analyze the momentum in an asset’s price and the odds of a price reversal within the current trend. The divergence indicator warns traders and technical analysts of changes in a price/volume trend, oftentimes that it is weakening or changing direction.
Correlation Coefficient
The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables. A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation. A correlation of 0.0 shows no linear relationship between the movement of the two variables. In other words, the closer the Correlation Coefficient is to 1.0, indicates the instruments will move up and down together as it is mostly expected with volume and price. So the Correlation Coefficient Indicator aims to display when the price and volume (on balance volume) is in correlation and when not. With this study blue represent positive correlation while orange negative correlation. The strength of the correlation is determined by the width of the bands, to emphasis the effect horizontal lines are drawn with values set to 0.5 and -0.5. the values above 0.5 (or below -0.5) shows stronger correlation.
Chaikin Money Flow , provide optionally as a companion indicator
The Chaikin money flow indicator (CMF) is a volume indicator that measures the money flow volume over a chosen period. The money flow volume is a measure of the volume and where the price closed relative to the trading session’s range. It comes from the idea that buying pressure is indicated by a rising volume and recurrent closes in the upper part of the session’s price range while selling pressure is demonstrated by an increasing volume and repeated closes in the lower part of the price range.
Both buying and selling pressures are accompanied by an increase in volume, but the location of the closing prices are in accordance with the direction of price
Special thanks to @InvestCHK and @hjsjshs , who have enormously contributed while preparing this study
related studies:
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Momentum Adjusted EMA TrendThe script draws a moving average which responds to trend changes extraordinary fast!
It's calculated using Momentum, Acceleration and Probability (Psychological Effect) by interfering the Golden Ratio!
I got the idea thanks to Tradingview user DGT (dgtrd) and his/her excellent descriptions.
The indicator is simplified for users and the default settings work great, so use it as you like specially as a trend indicator.
RK's 07 ∴ Moving Average Ribbon with Momentum Adjusted by DGTHello folks!
In my search for new ways to get faster and better market responses, I found this brilliant Indicator here on Trading View.
I rewrite all the code with my own functions and styles.
So... This is my adaptation to excellent script "Momentum adjusted Moving Average by DGT" from the user dgtrd
In dgtrd's words: "A brand new Moving Average, calculated using Momentum, Acceleration and Probability (Psychological Effect).
Momentum adjusted Moving Average( MaMA ) is an indicator that measures Price Action by taking into consideration not only Price movements but also its Momentum, Acceleration and Probability.
MaMA , provides faster responses comparing to the regular Moving Average"
The original post is here: 👇
T∴F∴A∴
Rodrigo Kazuma
Momentum adjusted Moving Average by DGTA brand new Moving Average , calculated using Momentum, Acceleration and Probability (Psychological Effect).
Momentum adjusted Moving Average(MaMA) is an indicator that measures Price Action by taking into consideration not only Price movements but also its Momentum, Acceleration and Probability. MaMA, provides faster responses comparing to the regular Moving Average
Here is the math of the MaMA idea
Momentum measures change in price over a specified time period
momentum = source – source(length)
where,
source, indicates current bar’s price value
source(length), indicates historical price value of length bars earlier
Lets play with this formula and rewrite it by moving source(length) to other side of the equation
source = source(length) + momentum
to avoid confusion let’s call the source that we aim to predict as adjustedSource
adjustedSource = source(length) + momentum
looks nice the next value of source simply can be calculated by summing of historical value of the source value and value of the momentum. I wish it was so easy, the formula holds true only when the momentum is conserved/constant/steady but momentum move up or down with the price fluctuations (accelerating or decelerating)
Let’s add acceleration effects on our formula, where acceleration is change in momentum for a given length. Then the formula will become as (skipped proof part of acceleration effects, you may google for further details)
adjustedSource = source(length) + momentum + 1/2 * acceleration
here again the formula holds true when the acceleration is constant and once again it is not the case for trading, acceleration also changes with the price fluctuations
Then, how we can benefit from all of this, it has value yet requires additional approaches for better outcome
Let’s simulate behaviour with some predictive approach such as using probability (also known as psychological effect ), where probability is a measure for calculating the chances or the possibilities of the occurrence of a random event. As stated earlier above momentum and acceleration are changing with the price fluctuations, by using the probability approach we can add a predictive skill to determine the likelihood of momentum and acceleration changes (remember it is a predictive approach). With this approach, our equations can be expresses as follows
adjustedSource = source(length) + momentum * probability
adjustedSource = source(length) + ( momentum + 1/2 * acceleration ) * probability , with acceleration effect
Finally, we plot MaMA with the new predicted source adjustedSource, applying acceleration effect is made settable by the used from the dialog box, default value is true.
What to look for:
• Trend Identification
• Support and Resistance
• Price Crossovers
Recommended settings are applied as default settings, if you wish to change the length of the MaMA then you should also adjust length of Momentum (and/or Probability). For example for faster moving average such as 21 period it would be suggested to set momentum length to 13
Alternative usage , set moving average length to 1 and keep rest lengths with default values, it will produce a predictive price line based on momentum and probability. Experience acceleration factor by enabling and disabling it
Conclusion
MaMA provide an added level of confidence to a trading strategy and yet it is important to always be aware that it implements a predictive approach in a chaotic market use with caution just like with any indicator
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Renko AccelerationRenko is a very useful charting method for analyzing stock movement. It does a great job of filtering out all the excess noise so that all we're left with is pure price action. But, what about time? Time is a fundamental part of chart analysis and we are only seeing part of the picture. After all, shouldn't we take a very different approach to trading signals from a block that renders in 2 seconds as opposed to a block that renders in 30 minutes?
This indicator provides the best of both worlds, enabling us to correlate the passing of time with price movement and clearly see when squeezes and breakouts occur.
As the indicator turns up to green we can see that volatility is on the move and the market is accelerating (breakout), and as it turns down to red the market is stagnating (squeeze). There is also an alternate 'Precise' view which renders the exact time per block for more granular analysis.
MACD modulated RSIThe main oscillator is the RSI modulated by the MACD (default). The RSI mode can be disabled to revert to a normal MACD oscillator for the main oscillator.
When the main oscillator (thicker line) is > 0, it is green; and if it is < 0, it is red.
The MACD can be re-scaled and whenever its value > 100, a background fill between the oscillator and the zeroline appear to indicates overbought condition; and < -100 indicates oversold condition. The user can tweak the scaling factor to optimize this for a given chart and timeframe.
A proprietary asymmetric differential oscillator (ADO) is also implemented, which is modulated by the main oscillator. When this (thinner line) secondary oscillator is > 0, it is yellow; and when it is < 0, it is lavender. The user can select the order of the differential (i.e. Order 1 = Momentum, Order 2 = Acceleration, Order 3 = Jerk, Order 4 = Snap, Order 5 = Crackle, Order 6 = Pop). This oscillator provides details of the more subtle underlying/hidden trends that is emerging or brewing, and may hint of an incoming move ahead of time. Divergence in the sign and slope of this secondary oscillator with respect to the main oscillator may provide a useful edge for trade setup.
A (thick transparent light blue) volume oscillator is also provided. An increase in volume trend provides confirmation of (or solidifies) the movements in the main oscillator over that period. A falling volume oscillator trend raises doubts on the main oscillator trend, and hints of the possibility of a counter-trend (also look at the secondary ADO oscillator for clues).
The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
This indicator and script is free for the TV community to use.
PRISM Oscillators Set {PREMIUM}The PRISM Oscillator Set consists of:
(1) A modified-pSAR derived main driving oscillator (P-Oscillator).
(2) With MAJeStic (Momentum, Acceleration, Jerk, Snap) Oscillators Set (M-, A-, J-, S-Oscillators respectively).
User can switch the main oscillator to RSI-mode (default), as well as reverting to configurable EMA/SMA MACD mode as well.
The P-Oscillator
The P-Oscillator (centered at 50 in the y-axis) indicates the instantaneous bullish/bearish cycle of the market, and the degree of which.
A MA-line is provided as well (VWMA-mode is set as the default, but user can choose to switch to SMA-mode).
The crossing of the P-Oscillator into its MA-line signals a significant turn in the P-Oscillator , similar to how the cross between MAs are being used to signal a golden/death-cross (example: P-Oscillator crossing down its MA-line indicates a probable shift into the bearish phase).
The MAJeStic-Oscillators
The MAJeStic-Oscillators are derived from the main P-Oscillator .
The M-Oscillator is the momentum oscillator, to more clearly visually indicate the current momentum phase of the main P-Oscillator -- i.e. when the oscillator is above the zeroline at -50, the P-oscillator is in an uptrend; and the magnitude of which indicates the velocity (or to be more precise, the speed) of the current momentum trend.
The AJ-Ribbon consists of the acceleration and jerk oscillators, to indicate the hidden underlying trends in the momentum. They can be thought of as the hidden force/hand that pushes and pulls the momentum oscillator upwards or downwards.
Both the M-Oscillator and the AJ-Ribbon are y-shifted down with its zeroline set at -50, simply for the purpose of clarity of presentation for this multiple-oscillator script.
The S-Oscillator is centered about the 0 as its zeroline. It is a highest-order indicator, derived from the AJ-Ribbon , and is an extremely sensitive indicator -- which is able to dig up even the more subtle market trends that may later cascade into a more macro trend. For example: when it crosses from the negative into the positive (especially with a steeply positive slope) and holds above the zeroline, it is then likely that price will see some upside movement ahead (depending on the magnitude of the oscillator as well), even if it may presently be simply moving sideways or even downwards (i.e. a divergence in the S-oscillator wrt the current price movement).
The alignment of the various indicators gives the clearest signal of the market trend, however, that naturally isn't always the case. Hence, when signals from the oscillators looks conflicted, the higher order oscillators (i.e. the AJ-Ribbon, and the S-Oscillator) will be helpful indicators of possible movement incoming; alternatively looking for divergence and hidden divergence of the P-Oscillator (set to RSI-mode) is also an effective strategy.
This oscillator set is suitable to be applied on any timeframes and on any charts.
This oscillator does not give precise price targets, but only offers a qualitative view of the present as well as the probable incoming price action.
To (attempt to) predict price targets, I personally use the PRISM Oscillator Set in conjunction a combination of various support & resistance analytical strategies: e.g. VPVR-levels, moving averages, trend-lines, Ichimoku Cloud, etc. and looking/waiting for sufficient candle closing and break-outs for confirmation, etc.
The PRISM Oscillator Set provide a momentum-focused perspective of the current market.
While my other script, Cyber Ensemble ( which generates buy/sell signals base on the scoring of a large ensemble of technical indicators + and modified by a series of filters ), provides a technical perspective of the current market; and which I frequently use conjunction with the PRISM Oscillator Set .
~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
Note:
In no way is this intended as a financial/investment/trading advice. You are responsible for your own investment/trade decisions.
Please exercise your own judgement for your own trades base on your own risk-aversion level and goals as an investor or a trader. The use of OTHER indicators and analysis in conjunction (tailored to your own style of investing/trading) will help improve confidence of your analysis, for you to determine your own trade decisions.
~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
Please PM me for access information.
© cybernetwork
Correlation Coefficient {Cybernetwork}Correlation Coefficient (CC): with CC momentum and acceleration oscillators, and momentum-divergence indicator.