David Varadi Intermediate OscillatorThe David Varadi Intermediate Oscillator (DVI) is a composite momentum oscillator designed to generate trading signals based on two key factors: the magnitude of returns over different time windows and the stretch, which measures the relative number of up versus down days. By combining these factors, the DVI aims to provide a reliable and objective assessment of market trends and momentum.
Methodology:
To calculate the DVI, a specific formula is applied. The magnitude component involves averaging smoothed returns over various lengths, weighted according to user-defined parameters. This calculation helps determine the magnitude of price changes. The stretch component follows a similar process, averaging smoothed returns over different lengths to gauge market momentum. Users have the flexibility to adjust the weights and lengths to suit their trading preferences and styles.
Utility:
The DVI offers versatility in its applications. It can be used for both momentum trading and trend analysis due to its smooth and consistent signals. Unlike some other oscillators, the DVI provides longer and uncorrelated signals, allowing traders to effectively combine trend-following and mean-reversion strategies. For example, the DVI is adept at identifying overbought levels above the 200-day moving average, serving as a useful tool for determining exit points during price strength and even potential shorting opportunities. Traders can develop simple trading systems based on the DVI, buying above the 200-day moving average and selling when the DVI exceeds a specified threshold. Conversely, they can consider short positions below the 200-day moving average and cover when the DVI falls below a specific threshold. The DVI's objective approach to analyzing market momentum makes it a valuable resource for traders seeking to identify trading opportunities.
Key Features:
Bar coloring: based on Trend, Extremeties or Reversions
Reversions: Potential reversal points marked with triangles above\below oscillator
Extremity Hues: Highlighting oxcillator reaching traditional OB\OS levels
Example Charts:
Magnitude
Move Magnitude Visualizer (beta)This experimental visualizer measures all price differences across a range of samples to determine what is normal for a measure of time. Based on whether a recent change in price over time has exceeded the norm, a line is drawn to indicate the magnitude/severity of that move. In short, it attempts to visualize when a move is outside the norm and when it may be risky to join that move.
A thick red line = greater than 3 standard deviations.
An orangish/goldish line = greater than 2 standard deviations.
A thin dotted yellow = greater than 1 standard deviation.
In the end, I've always wanted a tool that gave me a visual warning to when a move is abnormally severe and shouldn't be trusted. RSI and other indicators only work with specific lengths, this attempt to be a deviation detector that isn't bound by length or time-frame.
This is a work in progress, so feedback is appreciated. I don't have a strong idea yet how to properly visualize this data.
It is very compute heavy and some users may experience timeouts. I've done everything I can think of to eliminate redundant computer and to optimize for PineScript.
Strat Magnitude LinesHave you ever wished you could easily see the daily magnitude line of a Strat Combo while on a smaller timeframe intraday chart? This indicator allows you to do that and much more!
Description
This indicator does two simple things, but it does them very well. The first thing it does is draw a small horizontal line at the magnitude level of a Strat Setup (a potential Strat Combo before the last candle has formed) on the daily chart. This is intended to help the user easy ascertain how much magnitude distance (distance between trigger line and magnitude line) of a potential Strat Combo the night before when the user is searching for trades to play the next trading day. If the last two candles on a daily chart form the first two bars of a Strat Combo, then this indicator display a horizontal line where the ultimate magnitude would be if the next trading day a Strat Combo was formed. This helps the trader gauge whether there is sufficient magnitude that makes it worth it to even consider trading the next day.
The second and most important thing this indicator does is display the daily magnitude line while the user is in a smaller timeframe managing their trade. This helps the user have an easily identifiable line to show where to take full or partial profit at. There is no need to keep track of manually drawn lines or the hassle of letting your charts get cluttered with lines that the user forgot to delete. This indicator finds potential Strat Combos (aka Strat Setups) and dynamically draws horizontal lines for the user and removes them when they are no longer in use. The user can focus on taking profit and making money and leave the hassle to the indicator.
Inputs & Style
All four lines (two daily lines and two intraday lines) can be independently configured. Each lines color, line style, and width can be adjusted. To turn “off” a line change the opacity to 0%.
Automatic daily magnitude line on intraday chart