Generalized Average Polynomial Envelope mcbw_This is a moving average with a customizable polynomial kernel. You can shape your kernel by selecting your parameters in the settings window. This is not something that is immediately ready to mess with by just applying it on the chart, it is very useful for people who are researching indicators and developing new tools. To see the shape of your kernel you can plug it into google or wolfram. This indicator and the related ones are rather technical in nature, so feel free to comment any questions you may have and to see if anyone has asked your question.
Read more here:
Happy studying and enjoy your life!
2019 will be absolutely insane!
Cari dalam skrip untuk "如何用wind搜索股票的发行价和份数"
RSI / Stoch / SRSI / MFI / Aroon Overlay [SigmaDraconis]Combines 4 popular indicators (RSI, Stoch, SRSI, MFI) and 1 peculiar one (Aroon) in 1 for those who want to save indicators but not only.
This is an evolution of my (simpler) "RSI / Stoch / Stoch RSI (SRSI) Overlay " that you can find on my scripts.
Added bands for oversold/overbought areas (70/30 common for RSI and 80/20 for SRSI and MFI), as well as a middle 50 horizontal line.
Neutral bands around 55-45 added as well that can be hidden for less clutter. I also recommend a more transparent coloring for these since Pine script doesn't allow default transparency for horizontal lines.
By default only RSI and Stoch are activated, you can activate Aroon, MFI and SRSI on the inputs window.
Some extra notes:
* RSI, Stoch and MFI can help to strengthen one's decision as well as Aroon to predict a possible trend reversal, SRSI can show when RSI has high probability of being topped or bottomed when oversold/overbought but don't forget to look at volume and how the trend progresses that can keep SRSI above 80 or below 20 while RSI and price continues to trend, divergences are most helpful here to find possible reversal areas.
* This chart depicts some interesting divergences, as well as Stoch tops and bottoms and confluences between RSI/MFI and Stoch on some over-extended tops and bottoms that shown being good reversal zones.
RSI resistances are shown as well, failing to break above 60 or the neutral zone (this is a bearish BTC trend chart after all) or failing to gain support to break up certain levels (RSI notes a more bullish trend when consistently above 60 and more bearish below 40).
If you like it and use it to profit, please tip me below :)
Tip jars:
BTC: 15nMBiEGVrdGcu9C1h6QRcTNRvugHkqrMQ
ETH: 0xC33845946c48B61fBCbEA0367ec2238CaF2b73bc
BTS: sigma-draconis
WT3 speedup[WOZDUX]=Velocity and acceleration of the CCIModification of the CCI indicator WT3.
1) three indicators in one window. "kluch2" includes display 2 additional lines.
2) you can calculate the indicator by closing price and you can calculate the volume price. The key is the "key" includes the calculations according to the bulk price.
3) "kluchperegib" shows inflection points
4) For the line with the period "n1" the width of the channel on which it moves is calculated. The channel helps to track the boundaries of fluctuations.The channel width is Set in the "lband" variable.
5)" obLevel1 " defines the critical levels for the cci indicator.
6) since the meaning of the cci indicator and its modification wt is that it is the speed of price movement. Calculate the acceleration of prices. the variable "nwt"is used for this purpose.
The lilac line shows the acceleration of the price. Acceleration used to warn us about the reversal of the movement.
The General line of the indicator and the acceleration line together give more accurate information about the market mood. If the acceleration falls from top to bottom in advance, then wait for a quick price reversal from top to bottom. If the acceleration starts to rise from the bottom up, then also wait for a turn from the bottom up.
---------------
Скорость и ускорение CCI .
Модификация индикатора CCI под названием wt.
1) три индикатора в одном окне. "kluch2" включает дисплей 2 дополнительных линий.
2) Вы можете рассчитать индикатор по цене закрытия, и вы можете рассчитать цену объема. Ключ "ключ" включает в себя расчеты по объемной цене.
3)" kluchperegib " показывает пункты перегиба
4) Для линии с периодом "n1" рассчитывается Ширина канала, по которому она движется. Канал помогает отслеживать границы колебаний.Ширина канала Задается в переменной "lband".
5) "obLevel1" определяет критические уровни для индикатора cci.
6) так как смысл индикатора cci и его модификации wt заключается в том, что это скорость движения цены. Рассчитаем ускорение цены. для этого используется переменная "nwt".
Сиреневая линия показывает ускорение цены. Ускорение раньше предупреждало нас о развороте движения.
Общая линия индикатора и линия ускорения вместе дают более точную информацию о настроении рынка. Если ускорение падает сверху вниз заранее, то ждите быстрого разворота цены сверху вниз. Если ускорение начинает подниматься снизу вверх, то также ждите разворота снизу вверх.
wz_Kripto Index RSI[WOZDUX]Crypto RSI. On the basis of crypto-index is created, the indicator for the study of cryptocurrencies (KRIN). The wt indicator (this is a modified and improved CCI indicator) is superimposed on the crypto index. The indicator (SIN_WT) shows the speed of movement of the crypto index (blue line) and the speed of movement of the local cryptocurrency price (red line), which is loaded into the window. Thus, the local currency in relation to the crypto community is studied.
WZ_Kripto Index WT (KRIN_WT) [WOZDUX]On the basis of crypto-index is created, the indicator for the study of cryptocurrencies (KRIN). The wt indicator (this is a modified and improved CCI indicator) is superimposed on the crypto index. The indicator (KRIN_WT) shows the speed of movement of the crypto index (blue line) and the speed of movement of the local cryptocurrency price (red line), which is loaded into the window. Thus, the local currency in relation to the crypto community is studied.
[RS]WCU Multiple Currency BasketMultiple Currency analysis using WCU (World Currency Unit) as a Benchmark.
NOTE: Results are shown as a percentile change relative to the beginning of the time window.
Price X volume relative trade algoThe script multiplies the price time the volumes. Than relatively calculates whether the stock or product is oversold or overbought. One can subsequently set when to go short or when to go long. The way it works is that there is a small 1 for a long and a -1 for a short. If it is 1 and the followed by a 2 one has a profit. If a -1 is followed by a -2 you traded a short with a profit.
If however a 1 is followed by a -1 you lost a long. Vice verse for the short: if the -1 is followed by a 1 you have a loss.
Once can also set a target and arrange the stop loss they way you want. A little bit complicated with many parameters to set in the setting window. But for the one who has the patient to understand the script I believe it can be very useful.
Jan de Korver:
Search the secret www.behance.net
Average Daily Range - without open barBasic ADR-indicator that is showing the daily range on lower timeframes as well, without using the current open daily bar for calculation.
Also plots as line in a separate indicator window. Updates displayed value when hovering over the candles on the chart to see historical Numbers.
[RS]Volume Price ChangeEXPERIMENTAL
calculates, price change * volume over a specific time window.
It reflects trend, momentum and volume participation.
It can be used to find divergences.
Predictive EMAFrom the MQL5 Indicator database, here is what the author said about the script,
"Goal of this indicator:
Given three EMA's of varying lengths, use their values
for a estimator of "where we are now" or will be in the near future.
This is a very simplistic method, better ones are probably found
in the signal processing and target tracking literature.
A Kalman filter has been known since the 1950's 1960's and there
is better still. Nevertheless this is easily programmable in the
typical environments of a retail trading application like Metatrader4.
Method:
An an exponential moving average (EMA) or a simple moving average (SMA), for that
matter, have a bandwidth parameter 'L', the effective length of the window. This
is in units of time or, really, inverse of frequency. Higher L means a lower
frequency effect.
With a parameter L, the weighted time index of the EMA and SMA is (L-1)/2. Example:
take an SMA of the previous 5 values: -5 -4 -3 -2 -1 now. The average "amount of time"
back in the past of the data which go in to the SMA is hence -3, or (L-1)/2. Same applies
for an EMA. The standard parameterization makes this correspondence between EMA
and SMA.
Therefore the idea here is to take two different EMA's, a longer, and
a shorter of lengths L1 and L2 (L2 <L1). Now take the pairs:
which defines a line.
Extrapolate to , solve for y and that is the predictive EMA estimate.
Application:
Traditional moving averages, as simple-minded linear filters, have significant group delay.
In engineering that isn't so important as nobody cares if your sound from your iPod is delayed
a few milliseconds after it is first processed. But in markets, you can't
trade on the smoothed price, only the actual noisy, market price now. Hence you
ought to estimate better.
This statistic (what math/science people call what technical analysts call an 'indicator')
may be useful as the "fast" moving average in a moving average crossover trading system.
It could also be useful for the slow moving average as well.
For instance, on a 5 minute chart:
try for the fast: (will be very wiggly, note)
LongPeriod 25.0
ShortPeriod 8.0
ExtraTimeForward 1.0
and for the slow:
LongPeriod 500.0
ShortPeriod 50.0 to 200.0
ExtraTimeForward 0.0
But often a regular MA for the slow can work as well or better, it appears from visual inspection.
Enjoy.
In chaos there is order, and in that order there is chaos and order inside again.
Then, surrounding everything, pointy haired bosses. "
I may have done it incorrectly, feel free to revise
Mikes 5 min HHLL SpotterAttempts to find higher highs and lower lows in the 5 minute window. When the light blue graph line peaks , you should investigate selling , when the light blue graph line dips you should investigate buying.
This is good for identifying oversold and over bought positions
Rolling ATR Momentum - EnhancedATR Rolling Momentum Indicator – User Manual
---
🔍 Overview
The ATR Rolling Momentum Indicator is a dynamic volatility tool built on the Average True Range (ATR). It not only tracks increasing or decreasing momentum but also provides early warnings and confirmation signals for potential breakout moves. It’s especially powerful for futures and options traders looking to align with expanding price action.
---
📊 Core Components
✅ ATR Delta (Rolling ATR)
- Definition: Difference between current ATR and past ATR (user-defined lookback).
- Use: Tells whether volatility is expanding (positive delta) or contracting (negative delta).
- Visual: Green line for rising momentum, red for declining.
🟣 ATR Delta Slope
- Definition: Measures acceleration in momentum.
- Use: Helps identify early signs of breakout buildup.
- Visual: Purple line. Watch for slope turning up from below.
🟡 Volatility Squeeze (Yellow Dot)
- Definition: Current ATR is significantly lower than its 20-period average.
- Use: Indicates the market is coiling—possible breakout ahead.
🔼 Momentum Start (Green Triangle)
- Definition: ATR Delta slope turns from negative to positive.
- Use: Early warning to prepare for volatility expansion.
🔷 Breakout Confirmation (Blue Label Up)
- Definition: ATR Delta exceeds its high of the last 10 candles.
- Use: Confirms volatility breakout—trade opportunity if direction aligns.
🟩/🟥 Background Color
- Green Background: Momentum rising (positive ATR delta)
- Red Background: Momentum falling (negative ATR delta)
- Yellow Tint: Active squeeze zone
---
✅ How to Use It (Futures/Options Focus)
Step-by-Step:
1. Squeeze Detected (Yellow Dot) → Stay alert. Market is coiling.
2. Green Triangle Appears → Momentum is starting to rise.
3. Background Turns Green → Confirmed rising momentum.
4. Blue Label Appears → Confirmed breakout (enter trade if trend aligns).
Directional Bias:
- Use your main chart setup (price action, EMAs, trendlines, etc.) to decide direction (Call or Put, Long or Short).
- ATR Momentum only tells you how strong the move is—not which way.
---
⚙️ Inputs & Settings
- ATR Period: Default 14 (core volatility measure)
- Rolling Lookback: Used to calculate delta (default 5)
- Slope Length: Used to measure acceleration (default 3)
- Squeeze Factor: Default 0.8 — lower = more sensitive squeeze detection
- Breakout Lookback: Checks ATR delta against last X bars (default 10)
---
🧠 Pro Tips
- Works great when paired with EMA stacks, price structure, or breakout patterns.
- Avoid taking trades based only on squeeze or momentum—combine with chart confirmation.
- If background turns red after a breakout, it may be losing momentum—book partials or tighten stops.
---
🧭 Ideal For:
- Nifty/BankNifty Futures
- Option directional trades (call/put buying)
- Index scalping and momentum swing setups
---
Use this tool as your volatility compass—it won't tell you where to go, but it'll tell you when the wind is strong enough to move fast.
End of Manual
Bradley SiderographThis indicator functions as a Planetary Barometer, bringing the Bradley-Siderograph directly onto your TradingView chart. Designed for tracking the algebraic sum of planetary aspects and declination values in relation to market movements, it analyzes sidereal potential, long-term and mid-term planetary aspects, and the declination factor to provide insight into potential shifts in mass psychology. The built-in gauges act like a barometer, visually measuring the intensity and range of the components.
As Donald Bradley states in Stock Market Prediction:
" The siderograph is nothing more than a time chart showing a wavy line, which represents the algebraic total of the declination factor, the long terms, and the middle terms. It can be computed for any period—past or future—for which an ephemeris is available. Every aspect, whether long or middle term, is assigned a theoretical value of 10 at its peak. The value of the declination factor is half the algebraic sum of the given declinations of Venus and Mars, with northern declination considered positive and southern declination negative. "
How the Bradley-Siderograph Works:
The Siderograph assigns positive and negative valencies based on the transits of inner and outer planets, categorized into long-term and mid-term aspects.
Each aspect (15° orb) is given a theoretical value, with the peak set at ±10. The approach and separation phases influence the weighting of each aspect leading up to its peak.
The sign of the valency depends on the type of aspect:
Squares and oppositions are assigned negative values
Trines and sextiles are assigned positive values
Conjunctions can be either positive or negative, depending on the planetary combination
Formula Used:
The Siderograph is computed as follows:
𝑃 = 𝑋 (𝐿 + 𝐷) + 𝑀
Where:
P = Sidereal Potential (final computed value)
X = Multiplier (to weight long-term aspects)
L = Long-term aspects (10 aspect combinations)
D = Declination factor (half the sum of Venus and Mars declinations)
M = Mid-term aspects
The long-term component (L + D) can be multiplied by a chosen factor (X) to emphasize its influence relative to the mid-term aspects.
How to Use the Indicator:
Once applied, the Siderograph line overlays on the chart, using the left-side scale for reference.
The indicator provides separate plots for:
Sidereal potential
Long-term aspects
Mid-term aspects
Declination factor
Each component can be toggled on or off for deeper analysis.
Gauges "provided by @faiyaz7283 library" display the high and low range for each curve, allowing quick identification of extreme values.
The indicator also marks the yearly high and low of the current year’s sidereal potential, providing a reference for when the market is trading above or below key levels. This feature was inspired by an observation made by Bradley in his book, which I wanted to incorporate here.
Users can fully customize the indicator by:
Switching between geocentric and heliocentric views.
Adjusting the orb of planetary transits to refine aspect sensitivity.
Multiplier (to weight long-term aspects)
Explore the Bradley-Siderograph and experiment with its settings.
Main Use Case
The Siderograph can be thought of as a psychological wind sock, gauging shifts in mass sentiment in response to planetary influences. Rather than forecasting market direction outright, it serves as an early warning system, signaling when conditions may be primed for changes in collective psychology.
As Donald Bradley notes in Stock Market Prediction:
" A limitation of the siderograph is that it cannot be construed as a forecast of secular trend. In statistical terminology, 'lines of regression' fitted to the market course and to the potential should not be expected to completely agree, for reasons obvious to everybody with keen business sense or commercial training. However, the siderograph may be depended upon to reward its analyst with foreknowledge of coming conditions in general, so that the non-psychological factors may be evaluated accordingly. By this, we mean that the potential will afford one with clues as to how the mass mind will 'take' the other mechanical or governmental vicissitudes affecting high finance. The siderograph may be thought of as a principle 'symptom' in diagnosing current market circumstances and as a sounding-board for prognoses concerning further developments. "
Planned Improvement:
While Bradley did not construct the Siderograph for direct forecasting, an enhancement to this indicator would be the ability to project each curve forward in time, providing a clearer view of how upcoming planetary aspects.
This indicator is being released as open source with the hope of further refining and expanding its capabilities—particularly in developing future plots that improve visualization and analysis. Contributions and feedback are encouraged to enhance its usability and advance the study of planetary influences in market behavior.
Credits & Acknowledgments:
Inspired by Donald Bradley and his work in Stock Market Prediction: The Planetary Barometer and How to Use It.
Built using Astrolib, developed by @BarefootJoey
Built using Gauges, developed by @faiyaz7283
WIPFunctionLyaponovLibrary "WIPFunctionLyaponov"
Lyapunov exponents are mathematical measures used to describe the behavior of a system over
time. They are named after Russian mathematician Alexei Lyapunov, who first introduced the concept in the
late 19th century. The exponent is defined as the rate at which a particular function or variable changes
over time, and can be positive, negative, or zero.
Positive exponents indicate that a system tends to grow or expand over time, while negative exponents
indicate that a system tends to shrink or decay. Zero exponents indicate that the system does not change
significantly over time. Lyapunov exponents are used in various fields of science and engineering, including
physics, economics, and biology, to study the long-term behavior of complex systems.
~ generated description from vicuna13b
---
To calculate the Lyapunov Exponent (LE) of a given Time Series, we need to follow these steps:
1. Firstly, you should have access to your data in some format like CSV or Excel file. If not, then you can collect it manually using tools such as stopwatches and measuring tapes.
2. Once the data is collected, clean it up by removing any outliers that may skew results. This step involves checking for inconsistencies within your dataset (e.g., extremely large or small values) and either discarding them entirely or replacing with more reasonable estimates based on surrounding values.
3. Next, you need to determine the dimension of your time series data. In most cases, this will be equal to the number of variables being measured in each observation period (e.g., temperature, humidity, wind speed).
4. Now that we have a clean dataset with known dimensions, we can calculate the LE for our Time Series using the following formula:
λ = log(||M^T * M - I||)/log(||v||)
where:
λ (Lyapunov Exponent) is the quantity that will be calculated.
||...|| denotes an Euclidean norm of a vector or matrix, which essentially means taking the square root of the sum of squares for each element in the vector/matrix.
M represents our Jacobian Matrix whose elements are given by:
J_ij = (∂fj / ∂xj) where fj is the jth variable and xj is the ith component of the initial condition vector x(t). In other words, each element in this matrix represents how much a small change in one variable affects another.
I denotes an identity matrix whose elements are all equal to 1 (or any constant value if you prefer). This term essentially acts as a baseline for comparison purposes since we want our Jacobian Matrix M^T * M to be close to it when the system is stable and far away from it when the system is unstable.
v represents an arbitrary vector whose Euclidean norm ||v|| will serve as a scaling factor in our calculation. The choice of this particular vector does not matter since we are only interested in its magnitude (i.e., length) for purposes of normalization. However, if you want to ensure that your results are accurate and consistent across different datasets or scenarios, it is recommended to use the same initial condition vector x(t) as used earlier when calculating our Jacobian Matrix M.
5. Finally, once we have calculated λ using the formula above, we can interpret its value in terms of stability/instability for our Time Series data:
- If λ < 0, then this indicates that the system is stable (i.e., nearby trajectories will converge towards each other over time).
- On the other hand, if λ > 0, then this implies that the system is unstable (i.e., nearby trajectories will diverge away from one another over time).
~ generated description from airoboros33b
---
Reference:
en.wikipedia.org
www.collimator.ai
blog.abhranil.net
www.researchgate.net
physics.stackexchange.com
---
This is a work in progress, it may contain errors so use with caution.
If you find flaws or suggest something new, please leave a comment bellow.
_measure_function(i)
helper function to get the name of distance function by a index (0 -> 13).\
Functions: SSD, Euclidean, Manhattan, Minkowski, Chebyshev, Correlation, Cosine, Camberra, MAE, MSE, Lorentzian, Intersection, Penrose Shape, Meehl.
Parameters:
i (int)
_test(L)
Helper function to test the output exponents state system and outputs description into a string.
Parameters:
L (float )
estimate(X, initial_distance, distance_function)
Estimate the Lyaponov Exponents for multiple series in a row matrix.
Parameters:
X (map)
initial_distance (float) : Initial distance limit.
distance_function (string) : Name of the distance function to be used, default:`ssd`.
Returns: List of Lyaponov exponents.
max(L)
Maximal Lyaponov Exponent.
Parameters:
L (float ) : List of Lyapunov exponents.
Returns: Highest exponent.
Ehlers Instantaneous Phase Dominant Cycle [CC]The Instantaneous Phase Dominant Cycle was created by John Ehlers (Stocks & Commodities V. 18:3 (16-27)) and this is one of many similar indicators that I will be publishing from Ehlers in the next few months that calculate the current dominant cycle period. The cycle period can be used in multiple ways but generally this means that if the stock is currently at a low then the current cycle period will tell you when the next lowest low will get hit or vice versa. This is also useful for using this cycle period as an input for other indicators to provide a very good adaptive length. Let me know how you wind up using these indicators in your daily trading. I have included the same buy and sell signals from my recent Hilbert Transform and so buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!
Ehlers Hilbert Transform [CC]The Hilbert Transform was created by John Ehlers (Stocks & Commodities V. 18:3 (16-27)) and this indicator can work pretty well as a trend confirmation. This essentially transforms the underlying price data into a soundwave and when you compare the two (blue is positive and red is negative) then it provides fairly clear buy and sell signals. Ehlers did warn in his original article that this indicator has a lag of 4 bars so you have to keep that in mind. I have found that this indicator works pretty well when you buy when the blue line goes over the red line and sell when the blue lines hits the zero line. You could also ignore the red line and buy when the blue line crosses over the zero line and sell when it crosses under. Let me know how you wind up using this indicator in your trading.
Let me know if there are any other scripts you would like to see me publish!
Trigrams based on Candle PatternThis script matches a Trigram for the current candle from its pattern Bullish/Bearish: Marubozu, Hammer, Inverted Hammer, Spinning Top.
The source for Trigram to candlestick pattern can be found online. I'm missing the reputation to add the link here.
Heaven = Bearish Marubozu
Earth = Bullish Marubozu
Thunder = Bearish Spinning Top
Water = Bullish Inverted Hammer
Mountain = Bullish Hammer
Wind = Bullish Spinning Top
Flame = Bearish Hammer
Lake = Bearish Inverted Hammer
The idea is simple. It takes the current candles pattern to match the Trigram.
Inspired by the Trigram Script from ByzantineSC
Anyways, not sure what use it is yet, but if there is anyone else out there interested in I Ching, Yin/Yang theory and trading, this is for you.
Ultimate Oscillator [Long] StrategyAfter I published Short Selling strategy with RSIofUO , I have been working for Long side strategy with same indicator.
but for Long strategy , I have used only the Ultimate Oscillator ... (Not the RSI of UO)
Logic behind this is , when UO goes below oversold level , high chance of possible reversal from there ...
Ultimate Oscialltor values , I have used are 5, 10 and 15
Signal Line 9
Above values are best/defaulted based on testing the strategy multiple symbols
BUY
when UO crossing up buyLine and close > open ( if the cross over is already done , it will wait for 3 candles to see a green bar i.e close>open )
Note when the bar color changes to orange , that means startegy is ready to take LONG position on next bar. But dont jump here , waith for the startegy take the Long Position :-)
Add
Signal appears when there is divergence (marked in yellow color ) ... strategy doesnt add the position , it is ony indicating you could add to existing OR if you missed the BUY signal you could enter here
Partial Exit
when UO crossing down partial exit level
Exit
When UO crossing down sell line
StopLoss
stop loss defaulted to 3%
Please note , I have slightly modified stop loss exit in this strategy.
Even though price hits 3% stoploss , strategy wont wind up the position ...
First , it will check if RSIofUO is above 30 , then it will hold on to the Long position.
Very reason behind this is , price is falling down and UO is going up ... That means there is bullish divergence here .. so it might turn this losing position to profitable one or will exit you with less than 3% loss.
Tested with SPY , QQQ , TSLA on 30mins to 4hrs. Though winning rate is average , net profit is exponential ...
Best working on 30 mins and 1 HR chart for QQQ
Warning
For the eductional purposes only ...
This is not a financial advise , before taking trading decission please do your own research
[RS]Shadows Of Past, Present and FutureExperimental:
session projection into the future..
Past, Present, Future
Tell me, tell me, smiling child,
What the past is like to thee ?
'An Autumn evening soft and mild
With a wind that sighs mournfully.’
Tell me, what is the present hour ?
'A green and flowery spray
Where a young bird sits gathering its power
To mount and fly away.’
And what is the future, happy one ?
'A sea beneath a cloudless sun ;
A mighty, glorious, dazzling sea
Stretching into infinity.’
by Emily Brontë
EQma - Adaptive Smoothing Based On Optimal Markets DetectionIntroduction
"You don’t put sunscreen when there is no sun, you don’t use an umbrella when there is no rain, you don’t use a kite when there is no wind, so why would you use a trend following strategy when there is no trend ?"
This is how i start my 4th paper "A New Technical Indicator For Optimal Markets Detection" where i present two new technical indicators. We talked about the first one, running equity, which aim to detect the best moment to enter trades, based on this new metric i made an adaptive moving average.
You can see the full paper here figshare.com
The Indicator
The moving average is based on exponential averaging and use a smoothing variable alpha based on the running equity metric, in order to calculate alpha the running equity is divided by the optimal equity which show the best returns possible for the conditions used. Basically the indicator work as follow :
When the running equity is close to the optimal equity it means that the price need no/little filtering since it does not contain information that need to be filtered, therefore alpha is high, however when the running equity is far from the optimal equity this mean that the price posses malign information that need to be removed.
This is why the indicator will be closer to the price when length is high :
See the full paper for an explanation on how this work.
I added various options for the indicator, one will reduce the lag by squaring alpha, thus giving for length = 14 :
The efficient option will make use of recursion to provide a more efficient indicator :
In green the efficient version, note how this option can allow a better fit with the price.
Conclusion
This is an indicator but at its core its rather a framework, if you have read the paper you'll see that the conditions are just 1 and -1 that changes with time, basically its like making a strategy with :
Condition = if buy then 1 else if sell then -1 else Precedent value of condition.
So those two indicators allow to give useful and usable information about your strategy. I hope it can be of use for anyone here, if so don't hesitate to send me what you made using the proposed indicator (and with all my indicators in general). If you are writing a paper and you think this indicator could fit in your work then let me know so i can be aware of it :)
Thanks for reading !
Acknowledgement
My papers are quite ridiculous but they still manage to get some views, some researchers don't even reach those number in so little time which is quite unfortunate but also really motivating for me, so thanks to those who take time to read them and give me some feedback :)
[Teyo69] T1 Wyckoff Aggressive A/D Setup📘 Overview
The T1 Wyckoff Aggressive A/D Setup is a dual-mode indicator that detects bullish accumulations and bearish distributions using core principles from the Wyckoff Method. It identifies price/volume behavior during Selling/Buying Climaxes, ARs, SOS/SOW, and triggers based on trend structure.
🔍 Features
✅ Automatic detection of:
Automatic Rally (AR)
Automatic Reaction (AR)
Sign of Strength (SOS) or Sign of Weakness (SOW)
🧠 Trend-sensitive logic with linear regression slope filters
⚙️ Configurable options for Reversal vs Trend Following mode
🎯 Smart structure timing filters using barssince() logic
🔊 Volume spike and wide-range candle detection
📊 Visual cues for bullish (green) and bearish (red) backgrounds
🛠 How to Use
Reversal Mode
Triggers early signals after a Climax + AR
Ideal for catching turning points during consolidations
Trend Following Mode
Requires Climax, AR, and confirmation (SOS or SOW)
Waits for structure confirmation before signaling
Use this when you want higher probability trades
⚙️ Configuration
Volume MA Length - Determines baseline volume to detect spikes
Wick % of Candle - Filters candles with long tails for SC/BC
Close Near Threshold - Ensures candles close near high/low
Breakout Lookback - Sets structure breakout level
Structure Threshold - Controls timing window for setups
Signal Option - Switch between Reversal or Trend Following mode
⚠️ Limitations
Doesn't confirm macro structure like full Wyckoff phase labeling (A–E)
May repaint on lower timeframes during volatile candles
Works best when combined with visual range recognition and market context
🧠 Advanced Tips
Use in confluence with:
Volume Profile ranges
Trendlines and supply/demand areas
Ideal timeframes: 8H to 1D for crypto and forex markets
Combine this with LPS/UTAD patterns for refined entries
📝 Notes
SC/AR/SOS = Bullish
BC/AR/SOW = Bearish
Trend coloring adapts background (green = rising slope, red = falling slope)
🛡️ Disclaimer
This tool is a market structure guide, not financial advice. Past behavior does not guarantee future performance. Always use proper risk management.
Kyber Cell's – TTM Wave AKyber Cell’s TTM Wave A plots John Carter’s fast “wave” in its own pane so you can read momentum strength and direction at a glance while keeping the price window clean. It uses the classic MACD-style spread between an EMA(8) and EMA(34), then colors each histogram bar with the same four-tint logic found in TTM Squeeze Pro, making the two studies visually consistent.
⸻
What each visual means
• Histogram = Wave A momentum
– Value is EMA(8) − EMA(34) (no signal line).
– Above zero and rising → aqua (strong bull thrust).
– Above zero but pulling back → blue (bull pause).
– Below zero and falling → red (strong bear thrust).
– Below zero but bouncing → yellow (bear pause).
• Zero-line
A thin grey baseline highlights bullish territory (bars above) versus bearish (bars below).
⸻
Key inputs you can adjust
• Fast EMA length – default 8.
• Slow EMA length – default 34.
• Zero-line color – pick any tint or hide it by matching background.
⸻
Typical workflow
1. Load TTM Wave A in a sub-pane beneath your price chart.
2. Combine with TTM Squeeze Pro on the main pane.
3. Enter trades when a Squeeze “GO!” dot aligns with Wave A color:
• Aqua / Blue bars support long squeeze releases.
• Yellow / Red bars support short squeeze releases.
4. Stay in the trade while Wave A bars keep their color family.
5. Consider trimming or exiting when Wave A flips to the opposite palette or crosses the zero line.
Using Wave A this way lets you filter Squeeze entries and time exits by momentum quality rather than price alone. This acts as confirmation.
Consider adding Wave B and Wave C as additional confirmations.
⸻
Disclaimer — This script is for educational purposes only and is not financial advice. Test thoroughly and manage risk before live trading.
Ultimate ATR Extreme DetectorUltimate ATR Extreme Detector
Professional Volatility Analysis Tool for Strategic Trading
Discover Market Turning Points with Precision
Key Features
Smart Extremum Detection: Identifies when ATR reaches its highest or lowest point in your specified lookback period
Quad Visual Alert System:
▲ Green bottom triangles for low volatility signals
▼ Red top triangles for high volatility signals
Background color highlighting for instant state recognition
Status panel showing current volatility extremes
Dual Alert Modes:
TradingView native alerts ("ATR Low/High Signal")
Visual chart alerts with period details (e.g., "Alert: ATR Low (50 bars)")
4 Calculation Methods: RMA (Wilder's), SMA, EMA, and WMA
Fully Customizable:
Adjustable ATR period (default: 14)
Variable lookback window (default: 50)
Toggle features on/off via intuitive input settings
How It Works
The indicator scans volatility extremes using proprietary logic:
Calculates True Range using selected method (RMA/SMA/EMA/WMA)
Compares current ATR value against historical data
Flags critical moments when:
Volatility contracts to N-period lows (prepare for breakouts)
Volatility expands to N-period highs (watch for trend exhaustion)
Strategic Applications
markdown
复制
| SIGNAL | MARKET CONDITION | TRADING IMPLICATION |
|------------------|-----------------------|--------------------------------|
| Low Volatility | Contraction/Consolidation | Anticipate breakout moves |
| High Volatility | Expansion/Climax | Prepare for reversals or pauses |
Position Sizing: Use ATR values to determine optimal stop distances
Entry Timing: Combine with price action at key support/resistance
Risk Management: Adjust stops dynamically based on volatility regime
Optimization Guide
Day Trading: Short lookback (20-30 periods)
Swing Trading: Medium lookback (50-100 periods)
Position Trading: Long lookback (100-200 periods)
Volatility Analysis: Compare multiple timeframes simultaneously
Professional Setup Recommendations
Combine with:
Breakout Confirmation: Volume spikes, chart patterns
Reversal Signals: RSI divergence, candlestick reversals
Volatility Filters: Bollinger Band contraction, Keltner Channel breakout
Compatibility: Works flawlessly across FX, stocks, crypto, and commodities on all timeframes.
Why Traders Choose This Indicator
"Transforms complex volatility analysis into clear, actionable visual cues – the essential tool for breakout traders and risk managers alike."
Install Now to:
Spot consolidation before big moves
Identify exhaustion at trend extremes
Automate volatility-based position sizing
Receive instant alerts at critical volatility turns
Master market rhythms with professional-grade volatility intelligence!