Hybrid EMA AlgoLearner⭕️Innovative trading indicator that utilizes a k-NN-inspired algorithmic approach alongside traditional Exponential Moving Averages (EMAs) for more nuanced analysis. While the algorithm doesn't actually employ machine learning techniques, it mimics the logic of the k-Nearest Neighbors (k-NN) methodology. The script takes into account the closest 'k' distances between a short-term and long-term EMA to create a weighted short-term EMA. This combination of rule-based logic and EMA technicals offers traders a more sophisticated tool for market analysis.
⭕️Foundational EMAs: The script kicks off by generating a 50-period short-term EMA and a 200-period long-term EMA. These EMAs serve a dual purpose: they provide the basic trend-following capability familiar to most traders, akin to the classic EMA 50 and EMA 200, and set the stage for more intricate calculations to follow.
⭕️k-NN Integration: The indicator distinguishes itself by introducing k-NN (k-Nearest Neighbors) logic into the mix. This machine learning technique scans prior market data to find the closest 'neighbors' or distances between the two EMAs. The 'k' closest distances are then picked for further analysis, thus imbuing the indicator with an added layer of data-driven context.
⭕️Algorithmic Weighting: After the k closest distances are identified, they are utilized to compute a weighted EMA. Each of the k closest short-term EMA values is weighted by its associated distance. These weighted values are summed up and normalized by the sum of all chosen distances. The result is a weighted short-term EMA that packs more nuanced information than a simple EMA would.
Oscylatory
Zaree - Predictive Imparity Momentum IndicatorThe "Zaree - Predictive Imparity Momentum Indicator" (Z-PIMI) is a custom indicator designed to measure the momentum difference between two currency pairs. Let's break down its components and functionality:
Inputs:
pimiLength: Defines the period for the RSI calculation.
selectedMAType: Allows the user to choose the type of moving average (SMA, EMA, WMA, VWMA) they want to apply to the PIMI.
maLength: Defines the period for the chosen moving average.
baseCurrency & quoteCurrency: These are the two currency pairs that the user wants to compare.
Timeframe Selection:
The user can select a specific timeframe for the analysis, or they can use the chart's current timeframe.
Calculation of Currency Indices:
The closing prices of the Base Currency and Quote Currency are fetched for the selected timeframe.
The RSI (Relative Strength Index) is calculated for both currencies using the pimiLength.
The PIMI is then calculated by subtracting the RSI of the Quote Currency from the RSI of the Base Currency.
Moving Average Calculation:
A moving average of the PIMI is calculated based on the user's selected type (selectedMAType) and period (maLength).
Style Settings:
These are hardcoded values that define the levels for the upper and lower bands. These bands can help identify overbought or oversold conditions.
Highs and Lows Calculation:
The highest and lowest values of the PIMI over specified periods (highsLength and lowsLength) are calculated. These can help identify extreme values or turning points.
Plotting:
The PIMI is plotted as a white line.
The moving average of the PIMI is plotted as a purple line.
The upper and lower bands are plotted as horizontal lines at specified levels.
The highest and lowest values of the PIMI are plotted as red and green lines, respectively.
Interpretation:
The PIMI provides a measure of the momentum difference between two currency pairs. When the PIMI is rising, it indicates that the Base Currency is gaining momentum relative to the Quote Currency, and vice versa.
The moving average can be used as a signal line. For instance, when the PIMI crosses above its moving average, it might be considered a bullish signal, and when it crosses below, it might be considered bearish.
The upper and lower bands, as well as the highs and lows lines, can help identify overbought or oversold conditions. For example, if the PIMI reaches or exceeds the upper band, it might indicate overbought conditions, suggesting a potential reversal or pullback.
Overall, the Z-PIMI offers a tool to compare the momentum of two currency pairs and identify potential trading opportunities based on their relative strength and established thresholds.
RSI with Close & Tail DivergencesRSI divergence is a cornerstone signal for both stock and cryptocurrency traders, renowned for its reliability.
The basis for measuring divergence can vary:
Historically, it's been determined by the candlestick's closing price.
However, a contemporary approach uses the tail values, specifically the high and low prices, of the candlestick.
Depending on the criteria selected, the resultant signals can be markedly different.
Our innovative indicator offers:
Divergence tracking based on the closing price of the candlestick.
Divergence tracking considering the candlestick's peak and trough values.
A unique convergence of both types of divergence signals.
With this tool, traders are empowered to make informed decisions, anchored in precise divergence cues.
This indicator boasts the following capabilities:
Displays divergence based on closing price, highs/lows, as well as a unique combined criterion.
Highlights pivot points.
Denotes divergence spots on the RSI chart with lines.
Offers a background color representation instead of labels.
Fusion: Machine Learning SuiteThe Fusion: Machine Learning Suite combines multiple technical analysis dimensions and harnesses the predictive power of machine learning, seamlessly integrating a diverse array of classic and novel indicators to deliver precision, adaptability, and innovation.
Features and Capabilities
Multidimensional Analysis: Fusion: MLS integrates various technical analysis dimensions to offer a more comprehensive perspective.
Machine Learning Integration: Utilizing ML algorithms, Fusion: MLS offers adaptability to market changes.
Custom Indicators: Including dimensions like "Moon Lander", "Cap Line" and "Z-Pack" the indicator expands the scope of traditional technical analysis methods.
Tailored Customization: With customization options, Fusion: MLS allows traders to configure the tool to suit their specific strategies and market focus.
In the following sections, we'll explore the features and settings of Fusion: MLS in detail, providing insights into how it can be utilized.
Major Features and Settings
The indicator consists of several core components and settings, each designed to provide specific functionalities and insights. Here's an in-depth look:
Machine Learning Component
Distance Classifier: A Strategic Approach to Market Analysis
In the world of trading and investment, the ability to classify and predict price movements is paramount. Machine learning offers powerful tools for this purpose.
The Fusion: MLS indicator among others incorporates an Approximate Nearest Neighbors (ANN)* algorithm, a machine learning classification technique, and allows the selection of various distance functions .
This flexibility sets Fusion: MLS apart from existing solutions. The available distance functions include:
Euclidean: Standard distance metric, commonly used as a default.
Chebyshev: Also known as maximum value distance.
Manhattan: Sum of absolute differences.
Minkowski: Generalized metric that includes Euclidean and Manhattan as special cases.
Mahalanobis: Measures distance between points in a correlated space.
Lorentzian: Known for its robustness to outliers and noise.
*For a deeper understanding of the Approximate Nearest Neighbors (ANN) algorithm, traders are encouraged to refer to the relevant articles that can be found in the public domain.
Alternative scoring system
Fusion: MLS also includes a custom scoring alternative based on directional price action.
"Combined: Directional" and "Alpha: Directional" scoring types represent our own directional change algorithm, simple yet effective in displaying trend direction changes early on. They are visualized by color changes when scoring becomes below or above zero.
Changes in scoring quickly reflect shifts in buyer and seller sentiment.
Traders may choose signals by Color Change in the indicator settings to get alerts when scoring color shifts, not waiting until the histogram crosses the zero level.
Application in Trading
Machine learning classification has become an integral part of modern trading, offering innovative ways to analyze and interpret financial data.
Many algorithmic trading systems leverage ML classification to automate trading decisions. By continuously learning from real-time data, these systems can adapt to changing market conditions and execute trades with increased efficiency and accuracy.
ML classification allows for the development of tailored trading strategies as traders can select specific algorithms, dimensions, and filters that align with their trading style, goals, and the particular market they are operating.
We have integrated ML classification with traditional trading tools, such as moving averages and technical indicators. This fusion creates a more robust analysis framework, combining the strengths of classical techniques with the adaptability of machine learning.
Whether used independently or in conjunction with other tools, ML classification represents a significant advancement in trading technology, opening new avenues for exploration, innovation, and success in the financial world.
ML: Weighting System
The Fusion: MLS indicator introduces a unique weighting system that allows traders to customize the influence of various technical indicators in the machine learning process. This feature is not only innovative but also provides a level of control and adaptability that sets it apart from other indicators.
Customizable Weights
The weighting system allows users to assign specific weights to different indicators such as Moon Lander, RSI, MACD, Money Flow, Bollinger Bands, Cap Line, Z-Pack, Squeeze Momentum*, and MA Crossover. These weights can be adjusted manually, providing the ability to emphasize or de-emphasize specific indicators based on the trader's strategy or market conditions.
*Note, we determined via testing that the popular "Squeeze" indicator can actually be well replicated by simply using inputs of 15 & 199 in the bedrock indicator - MACD ; while we employed the standard "Squeeze" formula (developed by J. Carter ) in Fusion: MLS, traders are hereby made aware of our research findings regarding such.
The weighting system's importance lies in its ability to provide a more nuanced and personalized analysis. By adjusting the weights of different indicators a trader focusing on momentum strategies might assign higher weights to the Squeeze Momentum and MA Crossover indicators, while a trader looking for volatility might emphasize RSI and Bollinger Bands.
The ability to customize weights adds a layer of complexity and adaptability that is rare in standard machine-learning indicators.
Custom Indicators: Moon Lander
The "Moon Lander" is not just a catchy name; it's a robust feature inspired by principles from aerospace engineering and offers a unique perspective on trading analysis. Here's a conceptual overview:
Fast EMA and Kalman Matrix
"Moon Lander" incorporates both a Fast Exponential Moving Average (EMA) and a Kalman Matrix in its design. These two elements are combined to create a histogram, providing a specific approach to data analysis.
The Kalman Matrix, or Kalman Filter, is a mathematical concept used for estimating variables that can be measured indirectly and contain noise or uncertainty. It's a standard tool in machine learning and control systems, known for its ability to provide optimal estimates based on observed data.
Kalman Filter: A Navigational Tool
The Kalman filter, an essential part of "Moon Lander," is a mathematical concept known for its applications in navigation and control systems used by NASA in the apollo program :
Guidance in Uncertainty: Just as the Kalman filter helped guide complex aerospace missions through uncertain paths, it assists traders in navigating the often unpredictable financial markets.
Filtering Noise: In trading, the Kalman filter serves to filter out market noise, allowing traders to focus on the underlying trends.
Predictive Capabilities: Its ability to predict future states makes it a valuable tool for forecasting market movements and trend directions.
Custom Indicators: Cap Line and Z-Pack
Fusion: MLS integrates our additional proprietary custom indicators that have been published on TradingView earlier:
Cap Line: Delve into the specific functionalities and applications of our proprietary "Cap Line" indicator in the published description on TradingView.
Z-Pack: Explore the analytical perspectives, focused on the z-score methodology, and custom "Z-Pack" indicator by reviewing the published description on TradingView.
Buy/Sell Signal Generation Algorithms
Fusion: MLS offers various options for generating buy/sell signals, tailored to different trading strategies and perspectives:
Fusion: Allows traders to select any number of dimensions to receive buy/sell signals from, offering customized signal generation.
ML: Utilizes the machine learning ANN distance for signal generation.
Color Change: Generates signals by selected scoring type color change.
Displayed Dimension, Alpha Dimension: Generate signals based on specific selected dimensions.
These algorithms provide flexibility in determining buy/sell signals, catering to different trading styles and market conditions.
Filters
Filters are used to refine and selectively include or exclude signals based on specific criteria. Rather than generating signals, these filters act as gatekeepers, ensuring that only the signals meeting certain conditions are considered. Here's an overview of the filters used:
Dynamic State Predictor (DSP)
The DSP employs the Kalman Matrix to evaluate existing signals by comparing the fast and slow-moving averages, both processed through the Kalman Matrix. Based on the relationship between these averages, the DSP may exclude specific signals, depending on whether they align with upward or downward trends.
Average Directional Index (ADX)
The ADX filter evaluates the strength of existing trends and filters out signals that do not meet the specified ADX threshold and length, focusing on significant market movements.
Feature Engineering: RSI
Applies a filter to the existing signals, clearing out those that do not meet the criteria for RSI overbought or oversold threshold condition.
Feature Engineering: MACD
Assesses existing signals to identify changes in the strength, direction, momentum, and duration of a trend, filtering out those that do not align with MACD trend direction.
The Visual Component
The machine learning component is an internal component. However, the indicator also offers an equally important and useful visual component. It is a graphical representation of the multiple technical analysis dimensions, that can be combined in various ways (where the name "Fusion" comes from), allowing traders to visualize the underlying data and its analysis.
Displayed Dimension: Visualization and Normalization
The Fusion: MLS indicator offers a "Displayed Dimension" feature that visualizes various dimensions as a histogram. These dimensions may include RSI, MAs, BBs, MACD, etc.
RSI Dimension on the image + ML signals
Normalization: Each dimension is normalized. If any dimension has extreme values, a Fisher transformation is applied to bring them within a reasonable range.
Combined Dimension: When selecting the "Combined" option , the normalized values of the selected dimensions are combined using techniques such as standardization, normalization, or winsorization. This flexibility enables tailored visualization and analysis.
Alpha Dimension: Enhancing Analysis
The "Alpha Dimension" feature allows traders to select an additional dimension alongside the Displayed Dimension. This facilitates a combined analysis, enhancing the depth of insights.
Theme Selection
Fusion: MLS offers various themes such as "Sailfish", "Iceberg", "Moon", "Perl", "Candy" and "Monochrome" Traders can select a theme that resonates with their preference, enhancing visual appeal. There is also a "Custom" theme available that allows the user to choose the colors of the theme.
Customizing Fusion: MLS for Various Markets and Strategies
Fusion: MLS is designed with customization in mind. Traders can tailor the indicator to suit various markets and trading strategies. Selecting specific dimensions allows it to align with individual trading goals.
Selecting Dimensions: Choose the dimensions that resonate with your trading approach, whether focusing on trend-following, momentum, or other strategies.
Adjusting Parameters: Fine-tune the parameters of each dimension, including custom ones like "Moon Lander," to suit specific market conditions.
Theme Customization: Select a theme that aligns with your visual preferences, enhancing your chart's readability and appeal.
Utilizing Research: Leverage the underlying algorithms and research, such as machine learning classification by ANN and the Kalman filter, to deepen your understanding and application of Fusion: MLS.
Alerts
The indicator includes an alerting system that notifies traders when new buy or sell signals are detected.
Disclaimer
The information provided herein is intended for informational purposes only and should not be construed as investment advice, endorsement, nor a recommendation to buy or sell any financial instruments. Fusion: MLS is a technical analysis tool, and like all tools, it should be used with caution and in conjunction with other forms of analysis.
Traders and investors are encouraged to consult with a licensed financial professional and conduct their own research before making any trading or investment decisions. Past performance of the Fusion: MLS indicator or any trading strategy does not guarantee future results, and all trading involves risk. Users of Fusion: MLS should understand the underlying algorithms and assumptions and consider their individual risk tolerance and investment goals when using this tool.
RSI Screener Multi Timeframe [5ema]This indicator is the simple version of my indicator: RSI Screener and Divergence .
Only show table with values, signals at 5 custom timeframes.
-----
I reused some functions, made by (i believe that):
©paaax: The table position function.
@kingthies: The RSI divergence function.
@QuantNomad: The function calculated value and array screener for 40+ instruments.
I have commented in my code. Thanks so much!
-----
How it works:
1. Input :
Length of RSI => calculate RSI.
Upper/lower => checking RSI overbought/oversold.
Right bars / left bars => returns price of the pivot low & high point => checking divergence.
Range upper / lower bars => compare the low & high point => checking divergence.
Timeframe => request.security another time frame.
Table position => display screener table.
2. Input bool:
Regular Bearish divergence.
Hidden Bullish divergence .
Hidden Bearish divergence.
3. Basic calculated:
Make function for RSI , pivot low & high point of RSI and price.
Request.security that function for earch time frame.
Result RSI, Divergence.
4. Condition of signal:
Buy condition:
RSI oversold (1)
Bullish divergence (2).
=> Buy if (1) and (2), review buy (1) or (2).
Sell condition:
RSI overbought (3).
Bearish divergence (4).
=> Sell if (3) and (4), review sell (3) or (4).
-----
Table screener:
Time frame.
RSI (green - oversold, red - overbought)
Divergence (>> - regular bullish , << regular bearish , > - hidden bullish , < - hidden bearish ).
Signal (green ⦿ - Buy, red ⦿ - Sell, green 〇 - review buy, red 〇 - review sell).
- Regular Bearish divergence:
- Regular Bullish divergence:
- Regular Bullish divergence + RSI overSold
- Regular Bearish divergence + RSI overBought
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Coppock Curve w/ Early Turns [QuantVue]The Coppock Curve is a momentum oscillator developed by Edwin Coppock in 1962. The curve is calculated using a combination of the rate of change (ROC) for two distinct periods, which are then subjected to a weighted moving average (WMA).
History of the Coppock Curve:
The Coppock Curve was originally designed for use on a monthly time frame to identify buying opportunities in stock market indices, primarily after significant declines or bear markets.
Historically, the monthly time frame has been the most popular for the Coppock Curve, especially for long-term trend analysis and spotting the beginnings of potential bull markets after bearish periods.
The signal wasn't initially designed for finding sell signals, however it can be used to look for tops as well.
When the indicator is above zero it indicates a hold. When the indicator drops below zero it indicates a sell, and when the indicator moves above zero it signals a buy.
While this indicator was originally designed to be used on monthly charts of the indices, many traders now use this on individual equities and etfs on all different time frames.
About this Indicator:
The Coppock Curve is plotted with colors changing based on its position relative to the zero line. When above zero, it's green, and when below, it's red. (default settings)
An absolute zero line is also plotted in black to serve as a reference.
In addition to the classic Coppock Curve, this indicator looks to identify "early turns" or potential reversals of the Coppock Curve rather than waiting for the indicator to cross above or below the zero line.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
PTS Pi-Osc V1
The PTS - Pi-Osc know as Precision Index Oscillator by Roger Medcalf - Precision Trading Systems.
How does the Pi-Osc work?
Pi-Osc is a highly sophisticated consensus type indicator comprising of many different component signals.
A technical traders tool that measures everything from divergences to probabilities all blended into one simple to use product.
The buy and selling opportunities are highlighted by the moves away from + or - 3.14.
Simple to use for all levels of experience from beginner to expert and offers a unique edge in terms of precision.
The components that go into computations are identified below.
Money flow index provides a simple snapshot of how sold out or pumped up a stock or future really is and when measured in three different time frames gives a slick consensus view of money flow.
Relative strength index (RSI) still the No1 most popular indicator in use today as its power to identify overbought and oversold qualities in sideways markets is exceptional.
Its poor performance in trends is greatly reduced when seamlessly integrated with the PI-Osc algorithm.
Demand index being one of the designers favourite indicators for measuring the future direction caused by a large volume trade is incorporated here as well as its exceptional efficiency as a divergence indicator.
James Sibbet's creation provides an additional stellar incisive cutting accuracy to the Pi-Osc. Sibbets creation is one of the only indicators with true predictive qualities as a leading indicator.
Divergences. Pi-Osc measures divergences which occur over many look back periods from two different indicators, realising that divergences are often spurious in their reliability, the indicator only factors 4% of the total indicator
reading from these. Paradoxically the buy and sell zones have to have at least one observation of a divergence to trigger a signal.
Volume is always a factor that precedes a price change, as stock prices cannot move without a real money value being assigned to it either as a recent trade or a bid-offer order being placed.
The designer's understanding of volume patterns is a very useful addition incorporated into the Pi-Osc indicators unique conception.
Momentum frequently decelerates prior to market turning points and PI-osc is monitoring several timeframes of smoothed momentum samples in its calculations.
But unlike a conventional rate of change or momentum indicator the Pi-Osc indicator scores a neutral reading when momentum is rising or falling fast, and a reading is only factored into the output when momentum is reducing, thus
indicating a higher probability of success.
Probability is another feature of this algorithm.
Although rarely used in industry standard oscillators, the designer has added a standard deviation (2.9) factor into this indicator as the more usual 2 standard deviations used in Bollinger bands is just not reliable enough to bet hard earned cash on.
Normally distributed price sets have a 99.9% containment within 3.3 standard deviations, so when this is breached the Pi-Osc adds or deducts a further value to its output number.
Stochastics have similar attributes to RSI oscillators and have contributed a factor into PI-osc due to their smooth and reliable ability to identify buying and selling points in non trending markets.
Price patterns. Generally the industry standard oscillators just use the closing price to calculate their values, and although some indicators such as the stochastic use the high and low in their mathematics, few oscillators are actually programmed to respond to unique candlestick chart set ups.
PI-osc is setting the standard with its intelligent programming to recognise when the current chart pattern is shouting buy signals. Several of the more reliable patterns are factored into the algorithm.
When all the maths is done, Pi-Osc does an exceptional job of determining true buying and selling points.
Basically the trading interpretation is made very simple for you, as the buy and sell zones are so logically determined, not by one factor but from a large consensus "vote" from more than one different computation.
The benefits of this indicator are that it saves valuable time in "confirming technical analysis signals" and all trades know time is precious as large price changes can be missed in seconds while checking other confirming factors.
It takes the hard work out of it, and lets your computer do the brain work.
Ideally this indicator is best as an entry signal, and exits are best done with a trailing stop which has a logical trend following exit, as its quite rare that the Pi-Osc will run right to the other extreme and issue a reverse signal.
Precision Index Oscillator has now got a new rule as a result of the gradual rise in market volatility.
Apart from the other well known main rules to wait for the bounce away from Pi and trade in the direction of the major trend, the new rule is to experiment to find the best historical timeframe.
In the old days it would fire up very nicely on a 10 minute chart of most things, and still does (sometimes) but the futures markets and the very volatile cryptocurrencies now go way out of the old extremities in terms of deviations from the norm.
So it is essential to know what the market volatility is capable of on each instrument.
The point being made here is that using this on very short term time frames is not as safe as used to be.
Institutions enjoy working together to drive the prices into areas where most traders did not expect them to go, taking out all the stops and getting a better price for themselves.
So the first task after ordering this product is to create multiple minute chart settings in your Trading View platform and then click through them and there you will find hopefully find the holy grail, just like finding the best guitar,
amplifier and effects pedal settings for creating your own personalized type of music, finding the best timeframe to use you Pi-Osc is the essential work.
The holy grail usually turns out to be nothing more complex than a stop watch:
If the best setting turns out to be 15 minutes or 30 seconds on a volatile market or a 4 hours minute chart on a very volatile market then so be it.
Who cares? Does it matter?
All that matters is you find the way to get to the best results from this product.
Precision Index Oscillator has eight rules
1. Trade in the direction of the major trend
2. Find the time frame that has worked best in historical testing ( This can be a different setting for each market )
3. ALWAYS use a stop loss
4. Wait for the bounce away from Pi
5. Wait for the bounce away from Pi
6 Wait for the bounce away from Pi
7 Wait for the bounce away from Pi
8. Remember the other seven rules.
Precision Index Oscillator clarification of rules 3 to 7
This indicator can stay locked at the extreme Pi level for many bars, days, hours, minutes, seconds etc.
Taking the signal before the bounce comes is like the well known phrase "catching the falling knife".
Taking the signal before the bounce is a "Pi-Crime" and is a bad idea. Ignoring this point will likely result in losses
As Ed Seykota puts it in his usual amusing style, the problem with catching falling knives is that there are more knives than we have fingers.
He is referring to a market sell off rather than a sell off in one market.
When everything is crashing and we buy all of the crashing things at once, yes you guessed it: A painful day for the fingers!
Suggested settings for various lengths:
There are no settings to change. The beauty of Pi-Osc is there are no settings to be changed.
Your testing of "Pi signal qualifications" is confined only to selecting a time frame which appears to have offered good Pi-trades in the past.
This does not guarantee future signals will be good, and this is why risk control is essential.
Of course it is smart to experiement with different time periods of chart.
Execution of trades:
Exercise caution with this product.
Risk control is essential and risking more than 1% to 1.5% of your capital from entry price to stop would NOT be advised:
As with hunting, firing out lots of small trades in a shot gun approach will lead to better results than gambling all on the first signal you see.
There is much more chance of hitting a bird with a shot gun than a canon and the ammunition is much cheaper.
Always always use a stop loss. Something like 3 to 7 times a fifty period average true range for example.
Whilst it is often possible that a Pi-bounce appears exactly at the precise high or low of the week and could be the only one you see it is risky just to pile into it instantly as some markets produce several failed signals which continue to move in the same direction.
The safest and least risky method is to wait for the trend to change after the Pi-bounce. This is subjective to your own definition of how to measure the trend as "changing" but I would suggest waiting for a 8-20 period Exponential average to turn around before entering a trade.
Once the trade is entered you can implement a trailing stop to allow maximum potential gains and if your style is one of wanting to take quick profits then it is wise to take only some partial profits and give the move a chance to go somewhere and exit the remainder when the trend changes.
If the move was picked up near the absolute top or bottom it could be a large mistake to bail out of all of it early.
Market selection is important:
Avoid markets in endless smooth trends. These are best trading with trend following products ( Pi-Osc is not a trend following product )
Look for a choppy up or down trend or sideways market with some cycle qualities to it.
Best results are on liquid markets, you can observe the past signals and often history repeats with the good previous signals tending to indicate that future signals may also be good. (This is not certain of course)
This is also true of a market showing several historically bad signals which may be leading to more bad signals.
If the past performance of this indicator is poor on the market you are viewing, then move to another market until one is found where the readings show good price action after the signals in historical data.
Time frames:
This product can be applied to any time frame of market but be aware as is stated above, the slower time frames yield more valid signals and shorter time frames lead to more randomness and noise ridden plots of lower significance.
That said, it provides a valid reason to enter a trade and can give good results providing good stops and risk control are used. I have seen plenty of valid signals on 30 second charts right up to weekly charts.
The reliability of short term intra day time frames is usually lower than weekly or daily time frames. As 10 minute time frame is more reliable than a 30 second chart.
Please take this into consideration, try slowing down the impulses to go fast.
I am now accepting payments in USD or CHF for this product
This is not because I expect a US Dollar collapse but as a precaution to spread currency risk over different classes.
As FX rates vary substantially you can find the option that is cheaper than the other and it is fine to do that and choose the cheaper payment option.
Thanks for reading and I hope you do well with Pi-Osc on Trading View, just remember all the eight rules. You do remember them don't you?
Roger Medcalf - Precision Trading Systems
TTP SuperTrend ADXThis indicator uses the strength of the trend from ADX to decide how the SuperTrend (ST) should behave.
Motivation
ST is a great trend following indicator but it's not capable of adapting to the trend strength.
The ADX, Average Directional Index measures the strength of the trend and can be use to dynamically tweak the ST factor so that it's sensitivity can adapt to the trend strength.
Implementation
The indicator calculates a normalised value of the ADX based on the data available in the chart.
Based on these values ST will use different factors to increase or reduce the factor use by ST: expansion or compression.
ST expansion vs compression
Expanding the ST would mean that the stronger a trends get the ST factor will grow causing it to distance further from the price delaying the next ST trend flip.
Compressing the ST would mean that the stronger a trends get the ST factor will shrink causing it to get closer to the price speeding up the next ST trend flip.
Features
- Alerts for trend flip
- Alerts for trend status
- Backtestable stream
- SuperTrend color gets more intense with the strength of the trend
Momentum Probability Oscillator [SS]This is the momentum based probability indicator.
What it does?
This takes the average of MFI, Stochastics and RSI and plots it out as an independent oscillator.
It then tracks bullish vs bearish instances. Bullish is defined as a greater move from open to high than open to low and inverse for bearish.
It stores this data and these averages and plots these levels as a graph.
The graph depicts the max bullish values at the top, the min bearish values at the bottom and the averages in between:
It will plot the average "threshold" value in yellow:
The threshold value is key. A ticker trading above the threshold is generally bullish. Below is bearish.
The threshold value frequently acts as support and resistance levels (see below):
Resistance:
Support:
The indicator also shows you the amount of time a ticker has spent in each region, over a defined lookback period (defaulted to 500):
When you see that cumulatively, more time has been spent in a bullish range or a bearish range, it can help you ascertain the prevailing sentiment at that time.
The indicator will also calculate the average price range based on the underlying oscillator value. It does this through use of ATR based techniques, as its not usually possible to calculate a price from an oscillator:
This is intended as a general reference and not a precise target, as it is using ATR as opposed to the actual technical value itself.
As this is an oscillator, you can use it to look for divergences as well. The advantage to having it formulated in this way is:
a) You get the power of all 3 indicators (stochastics, MFI and RSI) in one and
b) You are adding context to the underlying technical reading. The indicator is plotting out the average, max and min ranges for the selected ticker and performing assessments based on these ranges that add context to the current PA.
You also have the ability to see the specific technical levels associated with each specific technical indicator. If you open up the settings menu and select "Show Table", this will appear:
This will show you the exact values of each of the technicals the indicator is using in its range assessment.
And that is basically the bulk of the indicator!
I use this predominately on the smaller timeframes, especially when there is a lot of chop, to ascertain the overall sentiment.
I also will reference it on the 1 hour to see what the prevailing sentiment is and whether the stock is at an area of technical resistance or support. For example, here is what I referenced on SPY today:
QUICK NOTE:
It works best with RTH (regular trading hours) turned on and ETH (extended trading hours) turned off!
That's it!
Hopefully you like it and leave your comments and suggestions below!
Swing Point Oscillator with Trend Filter [Quantigenics]The "Swing Point Oscillator with Trend Filter" is a sophisticated trading oscillator designed to enhance trading decisions by adapting to market conditions. Oscillators typically signal overbought/oversold market states, often yielding false signals in strong trends. This trend indicator addresses this by implementing a 'Trend Filter' which changes color in strong trends, alerting traders to avoid typical oscillator reversals. In strong trends (when the trend Filter is red), mid-high or mid-low levels can be used for pullback entries. In more neutral markets (when the trend Filter is close to blue), extreme high and low levels (top and bottom) can be used, as a true 'over bought / over sold' oscillator. The oscillator combines components of the Stochastic Oscillator and the CCI, then normalizes the result, providing a unique, adaptive signal. The color-coded lines and Trend Filter offer clear visual cues, making this a comprehensive tool for various market scenarios.
Caution: Always use the indicator in conjunction with other tools and analysis methods to confirm trading decisions. Avoid trading solely based on this indicator.
GOLD 4HR
CL1! 4HR
How to Use:
Swing Point Oscillator: Displays the momentum of the price relative to its recent high and low.
Trend Filter: Highlights the general direction of the market trend.
Zones: Visual representation to categorize oscillator values (Up Zone and Down Zone).
Interpretation:
Oscillator:
When the oscillator moves upward and approaches or enters the Up Zone, it indicates increasing bullish momentum.
When the oscillator moves downward and approaches or enters the Down Zone, it suggests increasing bearish momentum.
Values near the middle (around zero) often indicate indecision or consolidation in the market.
Trend Filter:
A trend filter line above the Mid-High or below the Mid-Low suggests a strong trend.
When the trend filter is between the Mid-High and Mid-Low, it might indicate a weaker or sideways trend.
Its color will change based on its position relative to the zones. For instance, it turns red when indicating a stronger trend.
Zones:
Up Zone: The area between the Top Line and the Mid-High. Indicates strong bullish momentum when the oscillator is within this zone.
Down Zone: The area between the Mid-Low and the Bottom Line. Indicates strong bearish momentum when the oscillator is in this zone.
Trading Tips:
Bullish Scenario: Consider long positions when the oscillator is rising, and the trend filter indicates a strong upward trend.
Bearish Scenario: Consider short positions when the oscillator is falling, and the trend filter indicates a strong downward trend.
Heikin-Ashi Rolling Time Decay Volume OscillatorThe indicator calculates a time-decayed moving sum of volume data for both bullish (green) and bearish (red) candles. It then generates a volume share oscillator as a smoothed and weighted (time-decayed) moving sum of bullish volume (positive share) or bearish volume (negative share) relative to the total volume.
The volume share is displayed as an area chart with gradient fills representing overbought and oversold regions. Additionally, an Arnaud Legoux Moving Average (ALMA) of the volume oscillator is plotted on the chart.
Trend Momentum and Price Control :
This indicator serves as a powerful tool for traders to gauge trend momentum and identify which side, bulls or bears, is controlling price movements. When the volume oscillator trends strongly in the green territory, it suggests that bulls are in control of price movements, indicating a potential uptrend. Conversely, when the oscillator tilts into the red, it indicates bearish dominance and a potential downtrend. With the incorporation of ALMA for smoothing, this indicator becomes an essential tool for traders and analysts navigating the dynamics of traded assets.
Source Candles :
This indicator is designed to work with Heiken Ashi or Japanese candlesticks to discern candle bias, whether it's red or green. Heiken Ashi tends to produce red candles during downtrends and green candles during uptrends, providing a clearer trend indication. In contrast, traditional candlesticks alternate colors regardless of the dominant price direction. Users can select between "Heikin-Ashi Candles" and regular "Japanese Candles" as the source for price direction."
A time decay cumulative sum, also known as a weighted moving sum or exponentially weighted moving sum, offers several advantages when it comes to determining market dynamics compared to other methods:
Responsive to Recent Data: Time decay cumulative sum gives more weight to recent data points and gradually reduces the impact of older data. This responsiveness is crucial in rapidly changing market conditions where recent price and volume information is more relevant for analysis.
Adaptive to Market Volatility : It adapts to changes in market volatility. When markets are highly volatile, it places more emphasis on recent data to reflect the current market environment accurately. Conversely, during calmer periods, it considers older data less important.
Effective for Identifying Turning Points : Time decay cumulative sums are particularly effective at identifying turning points in market dynamics. They can indicate shifts from bullish to bearish sentiment and vice versa, providing early signals of potential trend reversals.
Reduces Lag : Traditional cumulative sums or simple moving averages can lag behind actual market changes, making them less effective for real-time decision-making. Time decay cumulative sums reduce this lag by giving more weight to recent events.
Dynamic Weighting: The weighting scheme can be adjusted to fit specific market dynamics or trading strategies. Traders can customize the decay rate or smoothing factor to align with their analysis goals and timeframes.
Improved Signal Clarity : The time decay cumulative sum can provide clearer and more precise signals for overbought and oversold conditions, as well as trend strength, due to its ability to emphasize recent relevant data.
In summary, a time decay cumulative sum is a valuable tool in determining market dynamics because it adapts to changing market conditions, reduces noise, and provides timely and accurate insights into trends, turning points, and the relative strength of bullish and bearish forces. Its responsiveness and adaptability make it an essential component of many technical analysis and trading strategies.
Support and Resistance Oscillator [CC]The Support and Resistance Oscillator is an experimental script I created to identify when the current price breaks a support or resistance line and reflect this value in an oscillator formula. This indicator uses a threshold to decide the dividing line between buying and selling points. Feel free to change the threshold or smoothing settings to see if you find anything better since this is so experimental. I'm double smoothing the difference between the indicator and its signal line to attempt to capture a combo of the price momentum combined with the general support and resistance levels. I have used dark colors for strong signals and lighter colors for normal signals and make sure to buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts or indicators you would like to see me publish!
The Bull Trader's ZonesTBT Zones - Preferably used on the 4H chart. You should combine this script with other technical indicators as well.
In general the script helps find buy and sell opportunities early enough so as to make better decisions before taking a trade. Basically, it uses the rsi indicator, the long lower and long upper shadow candle sticks to create buy and sell zones.
The script is visibly engaging so one could easily know when the price is reverting into an Overbought or Sell zone after an uptrend, or reverting into an Oversold or Buy zone after an downtrend.
There is also the well known Bollinger Band Indicator, and it could be safer taking short trades when the price of the asset is above the Bollinger Basis, preferably close to the upper Bollinger Band. Vice-versa for long trades.
Adding the Camarilla L3 and H3 strategy could give an edge. Respecting the zones, if the open price is between H3 and L3;
BUY when the price moves back above L3 after going below L3. Target will be H1, H2, H3 levels. Stop loss can be placed at L4 level. Or trail an SL,
SELL when the price moves back below H3 after going above H3. Target will be L1,L2 L3 levels and stop loss above H4. Or trail an SL. Or simply take realistic profits.
By default the zones will extend left (back in history) which could give a view on how the zone previously performed. This option could be unchecked in the options. However, information on past performance is not necessarily a guide to future performance. Trade safe. Get out on time. Wait for another opportunity to set up.
When you add this indicator to your chart you can set up alerts to be informed when a new zone is formed.
Much thanks to @cyatophilum, the pinescript coder who made this a reality.
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!
Support Resistance BreakthroughThe Support Resistance Breakthrough (SRB) is a comprehensive technical indicator that aims to evaluate market strength and detect potential breakout opportunities. It integrates the following elements:
ADX (Average Directional Index): Helps measure the overall trend strength. You can adjust both the ADX length and smoothing length.
ATR (Average True Range): Provides a measure of market volatility.
RSI (Relative Strength Index): Measures the momentum and helps identify overbought or oversold conditions.
Weighting Scheme: The weighting scheme adds or subtracts a fraction of the ROC of RSI, modulated by ATR and ADX. The weighting percentage can be customized.
Normalization Option: Allows the user to plot normalized values, scaling them between 0 and 100.
Horizontal Lines: Useful reference lines at 0, 50, and 100, displayed when normalization is used.
Interpretation: When the indicator is above the 0 line (or 50 when normalized), there's a high chance of breaking through resistance. Conversely, when it's below the 0 line, there's a high chance of breaking through support. Together with a momentum indicator, such as RSI and/or Stochastic RSI, this indicator functions excellently.
The combination of these elements makes the SRB an adaptable tool for various trading strategies. It can help identify potential breakout or breakdown areas and gauge the underlying strength of the market.
Compatibility with Adjustable Fibonacci Retracement Indicator: Together with the SRB indicator, the AFIBR can make it easier to determine the likelihood of breaking through support or resistance.
HTF Oscillators RSI/ROC/MFI/CCI/AO - Dynamic SmoothingThe Interplay of Time Frames: A Balanced View
Navigating the markets often involves interpreting trends from multiple angles. The HTF Oscillators with Dynamic Smoothing indicator enables you to do just that. This tool provides the option to integrate smoothed oscillator readings from Higher Time Frames (HTF) into lower time frame charts, such as a 1-minute chart. By doing so, the indicator offers a balanced viewpoint that bridges the gap between micro and macro perspectives, helping you make informed decisions without losing sight of the broader market context.
Features
Multi-Oscillator Support
Choose from a range of popular oscillators like the Relative Strength Index (RSI), Rate of Change (ROC), Money Flow Index (MFI), Commodity Channel Index (CCI), and Awesome Oscillator (AO). These oscillators are commonly used as foundational building blocks in trading strategy scripts by traders worldwide. Switch effortlessly between them, depending on your trading strategy and requirements. To maintain consistency and a familiar user experience, our script adopts the same visual aesthetics that you'll find in Pine Script indicators on TradingView: a sleek purple line for the oscillator and a transparent band filling. These visual elements are not only pleasing to the eye but also widely appreciated by the trading community.
Dynamic Smoothing
The unique dynamic smoothing feature calculates a smoothing factor based on the ratio of minutes between the Higher Time Frame (HTF) and your current time frame. This provides a sleek and responsive oscillator line that still holds the weight of the longer trend. One of the significant advantages of this feature is user experience; when you change your time frame, the HTF-values in your settings will remain consistent. This ensures that you can easily switch between different time frames without losing the insights provided by your selected HTF.
Visual Aids
Visual cues are an essential part of any trading strategy. The indicator not only plots signals to mark overbought and oversold conditions based on the dynamically smoothed oscillator but also provides you with the flexibility to customize your visual experience. You have the option to toggle on/off the display of these signals depending on your specific needs. Additionally, bands can be displayed at overbought and oversold levels, along with a reference middle line. If you switch between different oscillators (available in the parameter settings), remember to manually adjust the bands in the input settings to ensure signals matches with the type of oscillator to your liking.
User-Friendly Settings
We've grouped related settings together, making it easier for you to find what you're looking for. Adjust the oscillator type, length of bars, smoothing settings, and more with just a few clicks.
Information Table
A standout feature of this indicator is the real-time information table, which displays the values of all selected oscillators based on your specified Higher Time Frame (HTF) settings. This can be particularly useful for traders who depend on multiple indicators for their decision-making process. The data presented in the table is synchronized with the HTF options you've configured in the input settings, allowing for a more efficient and quick scan of values from higher time frames.
Educational Corner: The Power of the Information Table and Customization
The table incorporated into this indicator isn't just eye-candy; it's a practical tool designed to elevate your trading strategy. It dynamically displays real-time values of various oscillators for the HTF you've chosen. This is an exemplary use of TradingView's scripting capabilities to blend multiple indicators into a single visual panel, streamlining your analysis and decision-making process.
But here's the best part: You're not limited to what we've created. With some basic understanding of TradingView's scripting language, Pine Script, you can easily adapt this table to include different indicators that suit your unique trading style. The logic in the script is modular and can serve as a foundation for your own customized trading dashboard. So, go ahead, get creative and explore new combinations of indicators that will help you excel in your trading endeavors!
You no longer have to toggle between different charts or indicators to get the information you need; it's all there in one neatly organized table. We encourage you to tap into this feature and make it your own, empowering your trading like never before.
By doing so, you not only gain a more comprehensive toolset, but you also engage more deeply with your trading strategy, understanding its nuances and, ultimately, making more informed decisions.
Conclusion
The HTF Oscillators with Dynamic Smoothing is a versatile and powerful tool that brings together the best of both worlds: the perspective of higher time frames and the granularity of shorter ones. Its feature-rich setting options and real-time information table make it a potential useful addition to your trading toolkit.
Remember, while this indicator offers a comprehensive and smarter way to look at the markets, it is not a foolproof method for predicting market movements. Always use it in conjunction with other analysis methods and risk management strategies.
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.
Velocity Indicator [CC]The Velocity Indicator was created by Scott Cong (Stocks and Commodities Sep 2023, pgs 8-15). This is my variation of his formula designed to capture the overall velocity of the underlying stock by applying the typical velocity formula. This indicator is 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. For my default version, I used the zero line 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.
L&S Volatility Index Refurbished█ Introduction
This is my second version of the L&S Volatility Index, hence the name "Refurbished".
The first version can be found at this link:
The reason I released a separate version is because I rewrote the source code from scratch with the aim of both improving the indicator and staying as close as possible to the original concept.
I feel that the first version was somewhat exotic and polluted in relation to the indicator originally described by the authors.
In short, the main idea remains the same, however, the way of presenting the result has been changed, reiterating what was said.
█ CONCEPTS
The L&S Volatility Index measures the volatility of price in relation to a moving average.
The indicator was originally described by Brazilian traders Alexandre Wolwacz (Stormer) and Fábio Figueiredo (Vlad) from L&S Educação Financeira.
Basically, this indicator can be used in two ways:
1. In a mean reversion strategy, when there is an unusual distance from it;
2. In a trend following strategy, when the price is in an acceptable region.
As an indicator of volatility, the greatest utility is shown in first case.
This is because it allows identifying abnormal prices, extremely stretched in relation to an average, including market crashes.
How the calculation is done:
First, the distance of the price from a given average in percentage terms is measured.
Then, the historical average volatility is obtained.
Finally the indicator is calculated through the ratio between the distance and the historical volatility.
According to the description proposed by the creators, when the L&S Volatility Index is above 30 it means that the price is "stretched".
The closer to 100 the more stretched.
When it reaches 0, it means the price is on average.
█ What to look for
Basically, you should look at non-standard prices.
How to identify it?
When the oscillator is outside the Dynamic Zone and/or the Fixed Zone (above 30), it is because the price is stretched.
Nothing on the market is guaranteed.
As with the RSI, it is not because the RSI is overbought or oversold that the price will necessarily go down or up.
It is critical to know when NOT to buy, NOT to sell or NOT to do anything.
It is always important to consider the context.
█ Improvements
The following improvements have been implemented.
It should be noted that these improvements can be disabled, thus using the indicator in the "purest" version, the same as the one conceived by the creators.
Resources:
1. Customization of limits and zones:
2. Customization of the timeframe, which can be different from the current one.
3. Repaint option (prints the indicator in real time even if the bar has not yet closed. This produces more signals).
4. Customization of price inputs. This affects the calculation.
5. Customization of the reference moving average (the moving average used to calculate the price distance).
6. Customization of the historical volatility calculation strategy.
- Accumulated ATR: calculates the historical volatility based on the accumulated ATR.
- Returns: calculates the historical volatility based on the returns of the source.
Both forms of volatility calculation have their specific utilities and applications.
Therefore, it is worthwhile to have both approaches available, and one should not necessarily replace the other.
Each method has its advantages and may be more appropriate in different contexts.
The first approach, using the accumulated ATR, can be useful when you want to take into account the implied volatility of prices over time,
reflecting broader price movements and higher impact events. It can be especially relevant in scenarios where unexpected events can drastically affect prices.
The second approach, using the standard deviation of returns, is more common and traditionally used to measure historical volatility.
It considers the variability of prices relative to their average, providing a more general measure of market volatility.
Therefore, both forms of calculation have their merits and can be useful depending on the context and specific analysis needs.
Having both options available gives users flexibility in choosing the most appropriate volatility measure for the situation at hand.
* When choosing "Accumulated ATR", if the indicator becomes difficult to see, there are 3 possibilities:
a) manually adjust the Fixed Zone value;
b) disable the Fixed Zone and use only the Dynamic Zone;
c) normalize the indicator.
7. Signal line (a moving average of the oscillator).
8. Option to normalize the indicator or not.
9. Colors to facilitate direction interpretation.
Since the L&S is a volatility indicator, it does not show whether the price is rising or falling.
This can sometimes confuse the user.
That said, the idea here is to show certain colors where the price is relative to the average, making it easier to analyze.
10. Alert messages for automations.
Short Term IndeXThe Short-Term Index (STIX) is a simple market indicator designed to assess short-term overbought or oversold conditions in the stock market. Leveraging a combination of advancing and declining issues, STIX provides valuable insights into market sentiment and potential reversals. To enhance its interpretability and reveal the underlying trend with greater clarity, STIX has been refined through a Heiken-Ashi transformation, ensuring a smoother representation of market dynamics.
Calculation and Methodology:
stix = ta.ema(adv / (adv + dec) * 100, len)
STIX is calculated by dividing the difference between the sum of advancing issues (ADV) by the total number of issues traded (ADV + DEC). This quotient is multiplied by 100 to express the result as a percentage. The STIX index ranges from 0 to 100, where extreme values indicate potential overbought (mainly above 60) or oversold (mainly below 40) market conditions.
Heiken-Ashi Transformation:
By applying a Heiken-Ashi transformation to STIX, the indicator gains improved visual clarity and noise reduction. This transformation enhances the ability to identify trend shifts and potential reversal points, making it an even more valuable tool for traders and investors.
Utility and Use Cases:
-The Short-Term Index (STIX) offers a range of practical applications-
1. Overbought/Oversold Conditions: STIX provides a clear indication of short-term overbought or oversold conditions, helping traders anticipate potential market reversals.
2. Reversal Points: STIX can help pinpoint potential reversal points in short-term market trends, providing traders with opportunities to enter or exit positions.
3. Trend Analysis: By observing STIX values over time, traders can assess the strength and sustainability of short-term trends, aiding in trend-following strategies.
The Short-Term Index (STIX), enhanced by its Heiken-Ashi transformation, equips traders and investors with a tool for assessing short-term market conditions, confirming price movements, and identifying potential reversal points. Its robust methodology and refined presentation contribute to a more comprehensive understanding of short-term market dynamics, enabling traders to make well-informed trading decisions.
See Also:
- Other Market Breadth Indicators-
Trig-Log Scaled Momentum OscillatorTaylor Series Approximations for Trigonometry:
1. The indicator starts by calculating sine and cosine values of the close price using Taylor Series approximations. These approximations use polynomial terms to estimate the values of these trigonometric functions.
Mathematical Component Formation:
2. The calculated sine and cosine values are then multiplied together. This gives us the primary mathematical component, termed as the 'trigComponent'.
Smoothing Process:
3. To ensure that our indicator is less susceptible to market noise and more reactive to genuine price movements, this 'trigComponent' undergoes a smoothing process using a simple moving average (SMA). The length of this SMA is defined by the user.
Logarithmic Transformation:
4. With our smoothed value, we apply a natural logarithm approximation. Again, this approximation is based on the Taylor expansion. This step ensures that all resultant values are positive and offers a different scale to interpret the smoothed component.
Dynamic Scaling:
5. To make our indicator more readable and comparable over different periods, the logarithmically transformed values are scaled between a range. This range is determined by the highest and lowest values of the transformed component over the user-defined 'lookback' period.
ROC (Rate of Change) Direction:
6. The direction of change in our scaled value is determined. This offers a quick insight into whether our mathematical component is increasing or decreasing compared to the previous value.
Visualization:
7. Finally, the indicator plots the dynamically scaled and smoothed mathematical component on the chart. The color of the plotted line depends on its direction (increasing or decreasing) and its boundary values.
MACD HTF - Dynamic SmoothingEnhancing Your 1-Minute Trades with Dynamic HTF MACD Smoothing
Ever found yourself glued to a 1-minute chart, trying to catch every minor price movement, yet feeling like you're missing the bigger picture? Picture this: a solid MACD line on that chart, dynamically smoothed from a higher timeframe (HTF). This tool offers two significant benefits over other existing HTF MACD indicators:
User-Friendly Interface: No need to manually adjust input parameters every time you switch to a different timeframe.
Smooth Charting: Say goodbye to the zigzag lines that often result from plotting higher time frame resolutions on a lower time frame.
Understanding the MACD
The Moving Average Convergence Divergence (MACD) is one of the most widely used and trusted technical indicators in the trading community. Invented by Gerald Appel in the late 1970s, the MACD helps traders understand the relationship between two moving averages of a security's price. It consists of the MACD line (difference between a 12-period and 26-period Exponential Moving Average) and the Signal line (9-period EMA of the MACD line). When the MACD line crosses above the Signal line, it's viewed as a bullish signal, and vice versa. The difference between the two lines is represented as a histogram, providing insights into potential buy or sell opportunities.
Features of the Dynamic HTF MACD Smoothing Script
Time Frame Flexibility: Choose a higher timeframe to derive MACD values and apply dynamic smoothing to your current timeframe.
Multiple Moving Averages: The script supports various MA types like EMA, SMA, DEMA, TEMA, WMA and HMA.
Alerts: Get real-time alerts for MACD crossover and crossunder.
Customizability: From the type of moving average to its length, customize as per your strategy.
Visual Indicators: Clearly plots signals when MACD crossover or crossunder occurs for potential entries.
At last
A massive shoutout to all the wizards and generous contributors in the community! You inspire innovations and new tools, paving the path forward. Here's to a community where we learn and build together. Cheers to collective growth!
PTS Demand IndexPTS Demand Index Indicator for Trading View coded by Precision Trading Systems
This is a complex volume-based indicator which has powerful applications as a leading indicator.
It belongs in Subgraph two under the chart. It ranges from minus 50 to plus 50 hence the reason that zero is significant in its interpretations.
On a regular daily chart of a stock you can consider approximately +29 as overbought and -25 as oversold.
Above zero is considered a bullish uptrend and below zero is seen as a bearish downtrend. This point is more valid on a slower time frame of Demand Index > 50
Shorter lengths of 6-12, etc. offer scalping opportunities for day traders or swing traders when peaks and troughs are encountered at the usual "overbought and oversold" levels similar to using RSI.
At this length you will see frequent crossings of zero as the window of data being examined is tiny.
As a future predictor of price action my preference is the longer lengths from 50 upwards. This makes for a smoother plot without it telling lies by being smoothed. Just increase the length.
They tell stories and show up insider buying and selling in a clear manner. The screenshot is length 200 and shows a power blast signal very well. Because it uses volume, a big volume trade that does not move the price much will often show up in the Demand Index Indicator, warning us of impending rapid price changes.
This is when two big traders or houses buy and sell to each other, both assuming they are right, but obviously one of them will be wrong. It is this wrong person rushing to get out of their position that causes the big move.
This is usually in the direction of the Demand Index move and this is a startling observation and seems to follow the "principle of least action" (PLA), or as Jesse Livermore said, "the price broke very badly on my selling which showed me which was the path of least resistance" . You don't need to take my word for this, just look at the chart.
There are six well known rules to Demand Index, which are widely published but still worth knowing.
However after using this for more than twenty five years I have identified some new "rules" which I will share.
The six "regular" rules
1. Divergences. If the price of a market is making a new low and DI is not this is a positive divergence seen as bullish
2. The extreme peak, this forecasts that price in the underlying market will move higher shortly. (A rare rule)
3. If the market is making new highs and Demand Index is not this is often a sign of a top and is also a bearish divergence
4. If Demand Index crosses above zero this usually signals a change in market trend
5. A long term divergence between prices and DI usually indicate a long term top or bottom is forming.
6. If DI is hovering around zero without much direction it is a sign of an indecisive and weak market lacking gusto.
The five "extra rules" of Demand Index below.
7. "The DI trend line break"
If one draws a trend line on the indicator when one has a nice place to put it that links two or three peaks or troughs together, then it breaks up or down through it, then it often signifies a price break in the same direction.
Demand Index will often signal this price break a few bars ahead of time (Sometimes as much as 10 bars ahead) Making it justified in its title as a "leading indicator" because those who know trade without telling what they know. Demand Index listens and reports it back to you.
8. "DI power blast"
(This is the example in the screenshot which lead to a big move up at 230pm UK time which is the US opening time on the ES SP500 Futures 30 second chart)
This is when a bigger than normal move occurs in DI, it does not have to "cross zero" in the event just that it can be just below or just above. It signals a big move in the direction of the blast. The example shot from -15 up to +5 in a couple of bars which lead to a 14 point move up in the futures a few minutes later.
9. "DI congestion break out"
A congested area in DI, such as is described of a stock price in a narrow range break out known as "NR" is a valid signal when emerging up or down from this range and predicts a move in that direction from the market studied.
10. "Failed zero break"
If a market is far above zero and falls down to it just puncturing it then rises up again, this is a bullish sign and a sign of a supportive market. The same applies to the vice versa signal. It acts as support and resistance often.
To be cautious you can use a plus or minus 2 or 3 as the threshold instead of zero, to give less fake signals.
11. "DI Support and resistance"
This one takes more of a deeper look. If you see a level of DI acting as support and draw a line across the subgraph two chart then you can sometimes see that this acts as support again even though the market price is totally different. A strange phenomenon but worth looking for. The same applies for resistance in the vice versa argument.
The original Demand Index formula has been adhered to exactly as it was designed without any deviations, smoothing or added parameters.
I was unable to find another script on Trading View which followed it exactly when checking against my other versions.
According to legend, the designer of this indicator Mr James Sibbet called a very big move in the Silver futures markets back in 1979 which was reported in his weekly newsletter called "Let's Talk Silver & Gold".
It was called the Silver short squeeze and the price doubled in just a few months. As a designer of trading software myself since 2006 I can say Demand Index is truly an elegant work of art.
More about divergences
Having studied many technical indicators over the years I have formed the opinion that Demand Index is the best of the best for finding meaningful divergences.
This indicator needs volume to work correctly at its best.
You can still use it on indices and Forex but as the essential volume element is missing the results will be less than optimal.
It will "work" as the library code assigns a volume of 1 if no volume is found on the symbol used.
The best markets are those with a lot of volume and a lot of players arguing over the direction.
Liquid futures and stocks do well with this indicator.
Please remember to use risk management and stop losses as not every signal will win.
Thanks for reading and good luck with using it on Trading View
Roger Medcalf - Precision Trading Systems