VHF Adaptive ADXm [Loxx]VHF Adaptive ADXm is a variation of the ADX DI indicator with adaptive filtering using a vertical horizontal filter.
What is ADXm?
Unlike the traditional ADX indicator, where the ADX itself is plotted in absolute units and detection of the trend direction is hindered, this indicator clearly displays the positive and negative ADX half-waves (displayed as colored on the chart). And the DI+/- signals are displayed as their difference (gray).
The method of using this indicator is the same as the traditional one.
In addition, it displays the levels (dashed), above which the market is considered to be in a trend state. This level is usually set to approximately 20-25 percents--somewhat depends on the time frame it is used on.
What is VHF Adaptive Cycle?
Vertical Horizontal Filter (VHF) was created by Adam White to identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX DI. Vertical Horizontal Filter does not, itself, generate trading signals, but determines whether signals are taken from trend or momentum indicators. Using this trend information, one is then able to derive an average cycle length.
Included:
Bar coloring
Alerts
Signal types: zero-line crosses, level crosses, or signal crosses
Average Directional Index (ADX)
3ngine Global BoilerplateABOUT THE BOILERPLATE
This strategy is designed to bring consistency to your strategies. It includes a macro EMA filter for filtering out countertrend trades,
an ADX filter to help filter out chop, a session filter to filter out trades outside of desired timeframe, alert messages setup for automation,
laddering in/out of trades (up to 6 rungs), trailing take profit , and beautiful visuals for each entry. There are comments throughout the
strategy that provide further instructions on how to use the boilerplate strategy. This strategy uses `threengine_global_automation_library`
throughout and must be included at the top of the strategy using `import as bot`. This allows you to use dot notation
to access functions in the library - EX: `bot.orderCurrentlyExists(orderID)`.
HOW TO USE THIS STRATEGY
1. Add your inputs
There is a section dedicated for adding your own inputs near the top of the strategy, just above the boilerplate inputs
2. Add your calculations
If your strategy requires calculations, place them in the `Strategy Specific Calculations` section
3. Add your entry criteria
Add your criteria to strategySpecificLongConditions (this gets combined with boilerplate conditions in longConditionsMet)
Add your criteria to strategySpecificShortConditions (this gets combined with boilerplate conditions in shortConditionsMet)
Set your desired entry price (calculated on every bar unless stored as a static variable) to longEntryPrice and shortEntryPrice. ( This will be the FIRST ladder if using laddering capabilities. If you pick 1 for "Ladder In Rungs" this will be the only entry. )
4. Plot anything you want to overlay on the chart in addition to the boilerplate plots and labels. Included in boilerplate:
Average entry price
Stop loss
Trailing stop
Profit target
Ladder rungs
[Crypto] Autotrade 2.3* Commission: 0.06% = Binance future fee.
1. HIGH/LOW PIVOT:
- Pivot Left: 10
- Pivot Right: 10
Long trend identification:
- Higher High occurs after Higher Low.
Short trend identification:
- Lower Low occurs after Lower High.
2. ADX INDICATOR: 1h & 4h timeframe have a strong strength for open trade.
- ADX smoothing: 14.
- DI length: 14.
- ADX STRONG > 25.
3. SUPERTREND INDICATOR:
- Long trend when closes candle is above the green line.
- Short trend when closes candle is below the red line.
4. OPEN POSITION RULE:
- BUY/LONG: reject to Supertrend at current timeframe.
- SELL/SHORT: reject to Supertrend at current timeframe.
5. AUTOTRADE BINANCE FUTURE WITH MONEY MANAGERMENT: requires Pro, Pro +, Premium Tradingview & Webhook service.
6. BACKTEST RESULT:
- Deep backtest: 08 OCT 2010 - 3 JUL 2022:
- Backtest 129 Binance Future pairs: 78 pairs with winrate > 52% | 51 pairs with winrate < 52%
DMI Stochastic Extreme Refurbished█ CONCEPTS
DMI Stochastic Extreme was originally published by Barbara Star, PhD, in TASC magazine of January 2013.
Basically it describes an improved version of the ADX DI+/DI- indicator, created by J. Welles Wilder.
In the setup described by the author, the DMI Oscillator is used together with a stochastic oscillator of DMI.
First, the DMI Oscillator is obtained by subtracting the minus directional movement indicator value (DI-) from the plus directional movement value (DI+).
The final result is the "DMI Stochastic Extreme" indicator, in which the stochastic oscillator is calculated. Only instead of using the price value, the stochastic is obtained through the DMI value.
█ Goals
The final indicator described by Barbara is the Stochastic Oscillator of DMI.
However, to use the DMI oscillator together (as described in the magazine), it is necessary to plot it in a separate indicator, which consumes screen space.
That's why the idea of joining both the DMI oscillator and the DMI Stochastic Oscillator into one thing came up, optimizing the visualization.
Taking advantage of the fact that my hands are already dirty :), I created some fine adjustments.
█ HOW TO USE IT
Here are some examples:
1. With default params:
2. With custom DI Length of 21 (Histogram), DI Length of 13 (for Stoch Oscilator), Stoch Length of 5, and another theme.
3. Another params with less noise:
█ THANKS AND CREDITS
- Barbara Star (original creator)
- ucsgears (arrow logic)
DI-CD with ADXNew method of visualising the directional index values as calculated by BeikabuOyaji . Uses the slightly incorrect version of calculating DI+ and DI- as per the original script, but these seem to work.
Bars are coloured based on the higher DI value, green shades for DI+ being higher and red shades for DI-. The brighter coloured bars indicate that the higher DI value is increasing compared to the last bar while the lower one is decreasing.
MZ HTF HFT ROCit Bot - Non Repainting Scalper v1.2 ADX RSI MOM This is a new iteration based on my Momentum trading bot.
This is an original script meant to be a high frequency trader that works on higher time frame calculations.
I came up with the idea that using calculus I can figure out the actual rate of change and momentum with different calculations than the momentum indicator that is provided by trading view. Once momentum is shifted on a small time frame, it will provide an entry signal. The script is meant to be used on an algorithmic trading system for scalping purposes. It should be run on a one minute time frame. Unfortunately due to various plotting constraints in Pinescript, you cannot plot the rate of change and momentum and price in the same pane. To counter this, I have a showdata toggle to give you values of the indicators at each entry.
This version has two main entry settings toggled with a checkbox. There is the ROC (rate of change) version and the MOM (momentum) entry signals.
The rate of change version is meant to take a look at your moving average and try to trigger when it hits a certain rate of change point. This can be helpful if you rather play it safer. I have noticed that you can get slightly better entry points but also does not give you as many entries. The momentum algorithm will give you faster entry points and might work best with a slight offset (use your back test to help you figure it out).
I have started to add tooltips to help you along. If you have suggestions please let me know.
How does it work?
Let's just assume that you are looking at a one minute chart. I recommend using the one minute for bots because it will give you the fastest execution for entries. Pinescript has an issue where the signal is not usually sent until the end of the bar/beginning of next bar. If the signal was triggered at the beginning of a 15 minute bar, it might not actually send the signal until the following 15 minute bar. If you are trading on small time frames, this can make all the difference. If you are using an algo platform that trailing stops, stop losse, take profits, etc. I would recommend you use that platform to close your trade. The close trade message will work, but pinescript does not know the exact entry price you received, so if you are trying to collect small profits, it is best that intermediary platform does that calculation for you. If you are dealing with larger moves, instead of small 1-3% scalps, you are probably fine to use the close message setting from pinescript.
Ok, so to take an example. I like to use the 3L and 3S tokens on Kucoin. This gives you a lot of volatility to work with compared to other tokens and coins. However, it can also meas that you are likely taking a higher risk. However, there are some things that can help with that (more on that later).
So we have a token we want to run, and have it on the 1m chart.
First, be sure that all of your filters are OFF when you start playing with the back test. This allows you to see how to best optimize the bot.
Use the show data to show you additional data when you are backtesting. This can allow you to try to filter out results or market conditions that do not work. I typically work with the RSI and use the 30 minute and 15 minute RSIs. I make sure that it is trading within a certain band - about 40-75. You can try the inverse and only buy during really low RSI's as well.
www.dropbox.com
Find the source of your data with the variant drop down. You can use any time frame, open, close. high, low, olc4. Open is pretty much guaranteed to not have any repainting issues - although all the other calcs use a custom isbarconfirmed security repaint calculation. I have been finding that Open and SMA work well, but feel free to explore. If you use a source like open, close, high, low, etc - the interval will not change anything further. If you use a variant such as an sma, you should try to find an interval that works well for that token. For instance, try an sma of 8-11 minutes and see which gives you the best backtest result without changing anything else. Offset ALMA/LSMA parameters are only used for those specific variants. These specific parameters will also affect the ALMA and LSMA if you use that variant in the trend filter. In other words, you can skip these if you are not using those types of moving averages.
www.dropbox.com
Configure the ROC and MOM intervals. If you are using a source such as open, close, etc- this is where you set the interval for your change. So consider using OHLC4 or a interval of 5 thru 15 and see what works best. The Momentum inverval usually works best in the 2-5 bars. There is a custom calculation I added in to try to filter out false entries as momentum is waning. This calculation works best in 2-5 bar interval.
Configure the trigger point and offset. If you are using rate of change, the best settings will likely be between -1 to 0.5. If you are using momentum, you will likely want -20 to 10. This is where you will notice the entries will shift a bit. Try to find a balance between your backtest settings and actually finding what you thin will be the best entries based on a slight delay from trading view, to algo, to your trading platform. This can likely be a minute (maybe even) or so- so be sure to not get too caught up between the backtest results and be sure to finesse the entries to actually fit nicely - maybe a bar earlier than you would likely think. If your entries are coming in too early, you can use the offset to delay your entry by a few bars. This is both science and an art form- don't get too caught up on the back test results as that is based on having all the data tha already transpired, it's not based on how it will actually perform during deployment.
Take profit and stop loss. This should be self explanatory. This script can toggle between static take profit and a trailing profit. For scalping, you will likely want to limit it below 2% to get a good win ratio. Stop loss should be at least 5-6% for these types of 3L/3S tokens to give the strategy some room to move (if the token goes down 2% before it shoots back up, the price will go down 6%). This does not yield the best R/R ratio from a traditional trader perspective, but the statistical probabilities are in your favor for these events will happen. If you have better ideas for how to set this all up, feel free to contribute your ideas in the comments as we can all learn from each other. You can definitely set a much tighter stop loss with a larger take profit to get a lower win rate but in turn might get much better returns. It's all up to you.
FILTERS www.dropbox.com
These filters require you to know a bit about each indicator and how you want to use them. I will only go over the general idea.
Variant Filter - this is especially useful if you want to trade above a moving average. Say for instance you only want to take trades when we are over the 100 Day moving average. Or above a 30 minute, 30 bar EMA, etc. Although originally ported over from my other scripts, this is not a filter that I use often in conjunction with this script.
RSI - perhaps you want to buy when we are below the 30 line on the 30 minute RSI, or we want only want to have the strategy work when we are above the 50 RSI, this can all be configured here. I typically like to try a few different rationales here.
Now with brand NEW ADX filter - this is a brand new idea that seems to work rather well. Based on your ADX settings you can also turn on the "only uptrend" which will try to calculate if you are in an uptrend based on your ADX config. Please keep in mind that uptrend is based relatively on the ADX settings.
- There is a sprinkle of RSI magic in the entry signal to make sure that rsi is not declining in the calculation, so this can affect how many entries you get.
Some other tips:
Forward test.
Set up your algo bot on a one minute interval.
Set up take profit and stop loss on your algo trading platform.
Don't use the exact settings as your backtest, maybe try a slightly more conservative approach from the algo trading platform to make sure you are within range of triggering your events with a slight delay from signal to execution. If you have a 1.6% take profit, perhaps try 1.5% on your platform first.
By using these scripts you agree that you are trading at your own risk. I make no guarantees of returns or results. I just provide tools to help you trade better. However, I hope this ROCit will take you to the moon. And if it does, be sure to give me a shout as well as some tips of your own.
Send me a message with any questions or suggestions.
STD Adaptive ADXm w/ Floating Levels [Loxx]STD Adaptive ADXm w/ Floating Levels is a standard deviation adaptive ADX indicator with adaptive floating boundary levels
What is the ADX?
Trading in the direction of a strong trend reduces risk and increases profit potential. The average directional index (ADX) is used to determine when the price is trending strongly. In many cases, it is the ultimate trend indicator. After all, the trend may be your friend, but it sure helps to know who your friends are. In this article, we'll examine the value of ADX as a trend strength indicator.
What is the ADXm?
Unlike the traditional ADX indicator, where the ADX itself is plotted in absolute units and detection of the trend direction is hindered, this indicator clearly displays the positive and negative ADX half-waves (displayed as colored on the chart).
Included:
-Toggle on/off bar coloring
-Toggle on/off fill coloring
Parabolic SAR with the ADX overlayThe following indicator and chart pattern is based on a twist from Welles Wilder's parabolic stop and reverse . This is a trend following system which is essentially a dynamic trailing stop loss for longs and shorts. The system is often criticized for it's poor performance in choppy rangebound markets so people often combine it with other signals that attempt to identify a "trend" the ADX is a popular indicator with three indicators, the DI+ "Positive Directional Indicator" the DI- "Negative Directional Indicator" and then a combination of the two, the ADX "Average Directional Indicator". Generally speaking, if the DI+ is above the DI- and the ADX is greater than 25 then we are in a positive trending market. If the DI+ is less than the DI- and the ADX is greater than 25 then we are in a negative trending market. If the ADX is less than 25 then there is no trend in place and we are in a range bound "choppy market".
So, I created this chart to show when the ADX is > 25 (or you can enter your own number) and the DI+ is > DI- then the background will be green. Vice versa, when the ADX is >25 and the DI+ is < DI- then we are in a negative trending market and the background color will be red. If the ADX is < 25 (or whatever you choose) then we are in a choppy 'range-bound" market.
Regarding the ParSAR. Pay attention to the "+" marks. they indicate whether we are bullish or bearish. When we cross through a + then we revert to the opposite. "Stop And Reverse". They are a simple calculation of a starting percentage, an incremental increase in that percentage, and a max percentage increase. If you want your system to trade less, decrease the "maximum" If you want it to trade more, increase the maximum.
Tinker around with these and you might find a healthy strategy you can trade on.
If you add Take Profit Targets and Stop Loss Targets, this is an even more productive strategy. Try it out on BINANCE:ETHUSDT with a 2hr time horizon and 0.02, 0.023, 0.2.
Directional Movement IndexADX is an oscillating indicator, displayed as a single line, ranging from 0 to 100, it only indicates the strength of the trend and does not indicate its direction. In other words, the ADX is non-directional, meaning that it measures the strength of a trend, but doesn’t distinguish between uptrend and downtrends. So, during a strong uptrend, the ADX rises and during a strong downtrend, the ADX also rises.
Here is how you correctly read what ADX is saying about the market. Here are 5 aspects regarding the interpretation of the ADX:
1- When ADX is above 25, trend strength is strong. Usually, once the ADX gets above 25 this signals the beginning of a trend. Big moves (upwards or downwards) tend to happen when ADX is right around this number. You can experiment with this number, some traders that want faster signals, tend to use a 20 threshold when trading with the ADX.
2- When ADX is below 25, traders must avoid trend trading strategies as the market is in accumulation or distribution phase. So, when we see the ADX line below 20 or 25 level, we forget about trend following strategies and we apply strategies suitable for a ranging market.
3- When ADX is above 25 and Positive Directional Movement Indicator (+DMI) is above the Negative Directional Movement Indicator (-DMI). ADX measures the strength of an uptrend. The crossover between the 2 Directional Movement Indicator, as the ADX line is well above 25 can result in an excellent bullish move.
4- The Positive Directional Movement Indicator (+DMI) should be above the Negative Directional Movement and the ADX should be above 25 signals for a strong upward trend for long opportunities. When ADX is above 25 and Positive Directional Movement Indicator is below the Negative Directional Movement Indicator, ADX measures the strength of a downtrend and short opportunities.
5- Values over 50 of the ADX indicate a very strong trend
There are pros and cons of ADX.
So, why is the ADX useful for traders: First, is excellent at quantifying trend strength. Also, it allows traders to see the strength of bulls and bears at the same time. It is good at filtering out trades, during accumulation periods and is good at identifying trending conditions.
But the ADX also has its limitations. The most important disadvantage is the fact that ADX is a lagging indicator that follows the price, so we must be very careful when we apply this indicator, because we might miss the inception of the trend and join it when it’s nearly over.
Also, it offers many false signals when used on shorter time frames, so it’s advisable to trade it on higher time frames Also, the ADX does not contain all of the data necessary a for proper analysis of price action, so it must be used in combination with other tools or indicators.
Now that we fully covered the good and the bad regarding ADX, let’s see how it is used in a trading strategy.
The trading strategy involves a DMI crossover, confirmed by ADX above consolidation threshold. If +DMI crossover, we take long position and if -DMI crosses over, we take a short position.
Candles are re-colored for easy demonstration of uptrend, downtrend and consolidation periods.
Green candles – ADX > Consolidation Threshold and +DMI > -DMI
Red candles – ADX > Consolidation Threshold and +DMI < -DMI
Black candles – ADX < Consolidation Threshold
Repaint – This is a non-repainting strategy - All the signals are generated at candle closing. All the calculations are made on previous candle’s open, high, low, close. No request security function is used. No data is being used from higher time frame. Trade exit uses close function instead of exit to avoid limit orders. Only one long trade at a time (no pyramiding) is allowed.
Strategy Time frame – D (To filter out false signals, higher time frame is recommended)
Strategy For – Swing Traders
Assets – Cryptocurrencies + Stocks
TUE ADX/MACD Confluence V1.0The ADX and MACD confluence can be a powerful predictor in stock movements. This script will help you find those confluences in an easy to understand visual manner.
It includes Buy and Sell signals for detected confluences, and will show colored candles to help you determine when to exit a trade. When the candles turn to white that means the detected confluence is no longer in play and you may want to consider a trailing stop loss.
The Buy and Sell signals will display on the first occurrence of each confluence.
It's important to understand that both of these are lagging indicators, but with a careful attention to your stoploss you can easily generate a positive profit factor.
This code is provided open source and you're free to use it for any purpose other than resale.
TUE ADX Crossover Signals V1.0This simple indicator gives you a way to visualize ADX crossovers on your chart and is a good companion if you like to trade with the ADX.
Green candles have a DI+ over DI- crossover, and vice versa for the red candles.
It gives you the ability to turn on and off BUY and SELL signals generated from the ADX crossovers.
Code is provided open source, feel free to use it for any purpose other than resale.
Wavelet Trade StrategyThe strategy was based on Wavelet and Trend to find a small wave trade :
Wavelet Concepts
A wavelet is a wave-like oscillation with an amplitude that begins at zero, increases or decreases, and then returns to zero one or more times. Wavelets are termed a "brief oscillation".
1. A price of wavelets has been established, based on the bar and direction of its pulses.
2. Wavelet uses transforms to decompose the price and time series data.
3. Then, the obtained approximation and detail components after decomposition are used to forecast future prices.
What it does :
In each small wave, find potential high and low. filter by trend to know higher high or lower low and trade by this strategy.
you could not buy the bottom and sell the top every time, but is close in local range by a small wave.
How it does it :
The wavelet can be used to analyze waves in space and reduce noise, while retaining the important components. Whenever the ADX falls below a certain threshold, a bottom blue line will appear. It means the price is into range, otherwise trend.
How to use it :
The recommended time frame is less than 12 hours.
Set parameters to fine tune your strategy.
Use SL/TP as part of your strategy, and change date to find the most weak time.
Default parameter is for BTC fine tune :
The performance overview is from 2021-01-01 to 2022-05-30.
Mother of All Moving Averages, MAMA [orion35]This indicator contains the huge number of 53 MA tools . So, with the Mother of All Moving Averages (MAMA) , you can draw any two of these MA tools (that is, almost all the "Moving Average" tools used in the market) in the length and thickness you want.
These MA tools include traditional averages such as SMA , EMA , DEMA, as well as innovative averaging tools such as LFS (Laguerre Filter Smoother), LSMA (Least Square Moving Average), ZLSMA (Zerolag LSMA ) developed by @veryfid and SSMA (Super Smoothed Moving Average ) by John F. Ehlers .
Another great feature of this indicator is that signals can be filtered according to the instant ADX (Average Directional Movement indeX) value of the market. By using this filter, false signals in horizontal markets can be reduced. Also, with the threshold value setting in the ADX filter, calibration can be made for different assets and time frames when desired. In addition, you can color the price bars according to the ADX threshold value you set.
You can also automatically color these drawings in conditional formats as you wish.
If desired, the intersections of the plotted curves can be showed as signals. You can also set alarms for these intersections.
This indicator contains almost twice as many MA tools as the previous Super Moving Average Tools, SMAT indicator. For this reason, they are gathered in two main groups as " Traditional " and " New Generation " MA tools.
These MA tools are listed as follows:
--------- Mostly Traditional MA Tool s ---------
LFS : Laguerre Filter Smoother
SMA : Simple Moving Average
EMA : Exponential MA
DEMA : Double EMA
TEMA : Triple EMA
QEMA : Quadrupole EMA @everget
ZLEMA : Zerolag EMA
KZLEMA : Kalman ZLEMA
LRSMA : Linear Regression SMA
LREMA : Linear Regression EMA
TMA : Triangular MA (slow)
TMA v2 : Triangular MA (normal)
TMA v3 : Triangular MA (fast) @Daveatt
SMMA : SMoothed MA
SSMA : Super Smoother MA © 2013 John F. Ehlers
SSF : Super Smoother Filter @DonovanWall
SSeMA : Smoothed SEnsitive MA @BakwaasTrading
WMA : Weighted MA
VWMA : Volume Weighted MA
VWAP : Volume Weighted Average Price
AMA : Adaptive MA @everget
KAMA : Kaufman's Adaptive MA
FrAMA : Fractal Adaptive MA @Shizaru
ALMA : Arnaud Legoux MA
--------- New Generation MA Tools ---------
HMA : Hull MA
EHMA : Exponential HMA @DonovanWall
JMA : Jurik MA @everget
RMA : Relative MA aka Rolling MA
LWMA : Linearly Weighted MA @io72signals
LSMA : Least Square MA
ZLSMA : Zerolag LSMA @veryfid
ARSI : Adaptive Relative Strength Index @everget
WWMA : Welles Wilder's MA @KivancOzbilgic
VMA : Variable MA by Tushar S. Chande,
VIDYA : Variable Index Dynamic Average @KivancOzbilgic
VIDYA v2 : @Mohamed3nan
TSF : True Strength Force @KivancOzbilgic
TILL : Tillson T3 MA @KivancOzbilgic
DAF : Dynamically Adjustable Filter @alexgrover
KFS : Kalman Filter Smoother @alexgrover
PKF : Parametric Kalman Filter @alexgrover
VAMA : Volatility Adjusted MA @Duyck
CTI : Correlation Trend Indicator by John Ehlers
BF : Blackman Filter @alexgrover
MAMA : MESA Adaptive MA aka: Mother of AMA @KivancOzbilgic
FAMA : Following Adaptive MA @KivancOzbilgic
ARMA : Autonomous Recursive MA @alexgrover
ZARMA : Zerolag ARMA @alexgrover
A2RMA : Adaptive ARMA @alexgrover
EDMA : Exponentially Deviating MA @MightyZinger
BLP : Butterworth Low Pass Filter @DonovanWall
GLP : Gaussian Low Pass Filter @DonovanWall
SWMA : Sine Weighted MA @blackcat1402
Dillon's Double VWAP StrategyThis is based on Dillon's double VWAP strategy.
I enters when the ADX is low (aka not a trending market) and it's not close to the VWAP reset. Check it out.
BB-RSI-ADX Entry PointsThis is a combination of indicators used to find oversold and overbought entry points for possible reversion.
A Green arrow will appear when all condition are met for an ENTER LONG position.
A Red arow will appear when all condition are met for an ENTER SHORT position.
You can modify all of these condition parameters from the indicator's settings.
How does the indicator work
The signals are using Bollinger Bands , BB %B , RSI and ADX indicators to try and find points of reversal
Enter LONG Conditions
Current candle low is below BB lower band.
The BB %B is more than 0.
RSI > 30
ADX > 25
Enter SHORT Conditions
Current candle high is above BB upper band.
The BB %B is less than 1.
RSI < 70
ADX > 25
Those are the default settings that seem to work for me but you can customize all of these from the indicator settings.
I find this strategy to best work on a 3 minute timeframe
Note: The bb %B is calculated for stDev - 1. This will help you see a change happening faster.
Dynamic ADX - [The Pine Guru]Dynamic ADX by The Pine Guru
What is the Dynamic ADX?
The Dynamic ADX is an indicator created using the regular ADX, Line, and additional ADX Moving Average. This MA allows the script to calculate the ADX differently to the original ADX, providing greater input and accessibility to the user. As the ADX is a volatility indicator, it is communicates to trend strength in the markets. The Dynamic ADX displays these trending Periods through user controlled visualizers like Fills, Background Color, and Bar Color.
How do I use the Dynamic ADX?
This indicator has 4 different "versions" or "conditions" in which it displays trend strength. These are achieved by checking and unchecking ADX, ADX MA and Line. Different combinations of these 3 inputs will result in a change of true condition that the script outputs.
Dynamic ADX Achieved by checking the ADX and ADX MA, results in an ADX similar to an MA Crossover, with the ADX being over the MA indicating a true or strong trend condition.
Regular ADX Achieved by Checking the ADX and Line. Results in the regular calculation of the ADX.
Mixture Achieved by Checking all three sections, which results in the calculation a normal ADX as well as the MA. Provides and extra condition or confluence into the ADX.
MA and Line Achieved by checking the ADX MA and Line. Results in a similar calculation to an original ADX but with a smoother MA.
Recommendations
This indicator will work typically in all markets with high volume and volatility. It is recommended that it is used as a confluence in a trading system, and not as an outright indicator. As always do your own testing before live use with this indicator. Do your own Research and refinements.
Please Leave a like if you enjoy this Indicator
Chande Kroll Stop + ADX filter strategyDear TV''ers,
Hereby a script where i created a simple strategy using the underappreciated chande kroll stop indicator. Short signal is when the close crosses under the orange line and a long signal is generated upon a crossover of a close candle of the blue line.
Additionally you have the option to filter using ADX the minimize getting rekt in a choppy market.
good luck trading!
Squeeze M + ADX + TTM (Trading Latino & John Carter) by [Rolgui]About this indicator:
This indicator aims to combine two good performing strategies, which can be used separately or together, mainly for investment positions, although it can also be used for intraday trading.
Strategy 1) Squeeze Oscillator and Average Directional Index:
This strategy is taught by Jaime Aibsai, which determines market entries based on reading the direction of the price movement (Directionality of the Oscillator) along with the strength of the Oscillator (Slope of the ADX).
Both tools are configured according to Jaime Abisai's strategy, by default (note that point 23 of the ADX is represented by point 0 on the panel, to make reading easier, its interpretation is not affected). Anyway you can adjust the input data according to your interest.
*You can see this setting in the first panel.
Strategy 2) Squeeze Momentum and Trade The Market Waves:
This strategy can be consulted either in John F. Carter's books or on his website.
This market reading is based on Price Volatility (Bollinger Bands and Keltner Channels interaction) and its Trend (Exponential Moving Averages), showing entries at times when price volatility is low and taking filtering active trend using T.T.M. Waves.
To configure the indicator in the same way that Carter does, it would be enough to turn off the ADX, turn on the Squeeze Momentum signals along with the T.T.M. Waves, and importantly, change the Linear Momentum value to 12 (this configuration can be found in his book).
*You can see this setting in the second panel.
Why this indicator?
I've added and removed the above flags as I needed to query them (which became tedious for me). The main objective of having merged them into one is to make their reading more agile and comfortable and thus improve the decision-making capacity of the trader who wishes to use them.
Credits and Acknowledgments:
I would like to give credits to other authors, for the sections of code that I have used to make this technical indicator. Thanks to @LazyBear, @matetaronna, @jombie and @joren for contributing to the community and keeping their code open. It is priceless!
Feel free to combine and practice your trading with both strategies, personally, they improved my profitability and this is why I recommend researching more about them. I've been using it for crypto investing, let me know if it's worth for you on stock market!
If you have any questions or suggestions you can leave it in the comments!
Greetings!
HARSI - The WHALE v2This strategy is credited to the "Heikin Ashi RSI Oscillator" By JayRogers.
The core of this strategy is "Heikin Ashi RSI Oscillator (HARSI)" By JayRogers, with multiple confirmation indicators. The buy signal is generated by HARSI when there is green HA, and there is a positive stochastic cross under the line OB line.
To confirm the buys signal, you can use one or all of the following:
- EMA: the buy confirmation is positive if the candle closes above the EMA.
- Volume Oscillator: the buy confirmation is positive if the volume value is above the zero line.
- ADX: the buy confirmation is positive if the D+ is above the D- and the D+ is above the threshold level.
- Vortex: the buy confirmation is positive if VI+ is above VI-.
You can enable the take profit, trailing stop loss (TSL), and stop lose (SL), if not, then the strategy will give a sell signal by itself when there is a negative stochastic cross above OB Extreme line.
Note, that the TSL arming value should be lower than the TSL %.
The strategy can give a different result based on your selection. However, the best timeframe is 4 hours without TP.
The Brain Trust Presets Strategies [BTC / ETH] [PrismBot] [Lite]This strategy contains 9 different timeframe strategies (2 strategy types with pre-adjusted filter options for the different timeframes) tailored to BTC ( Bitcoin ) and ETH ( Ethereum ) on Binance. While I've listed these prebuilt strategies for specific timeframes, they are versatile enough to be checked and tested on other timeframes, and exchanges as well. I have been careful to avoid any curvefitting or overfitting. Included is useful default order settings, but we wanted to ensure you, the user, has control over the order settings for your own equity and trading.
These strategies are created, tailored, tested, and actively used by me.
It is up to you to do your own due diligence when testing these strategies on your exchange, and for your use, and PrismBot bears no responsibility for losses from the use of these strategies.
These strategies employ a variety of methods. Notable inclusions are other live strategies of mine including but not limited to:
ADX + MACD
RSI
Consolidations
Bull Bear Power
Volume Calculations
Open Interest Data
All of these setups include trend trading methods intended to maximize profitability in strong trending markets, and filters deployed to prevent failures in consolidation, though nothing is failproof.
You can control your leverage, quantity calculations, and other order settings. However, all other strategy input parameters are controlled by the strategy selectors.
Some strategies use 1.5 to 1 Risk to Reward ratio while others use 1:1.
How we execute trades for each strategy:
For 10m and 45m
we use a variety of settings for a Normalized MACD and ADX indicator. The thesis is we detect Normalized MACD crossovers at specific values and only allow trading of the strategy when the ADX is above a specific value.
For 15m, 1H, and 45m
we utilize the RSI crossovers of overbought and oversold and use the RSI moving average to filter trades. The thesis is we detect overbought for long and oversold for short.
For each strategy we use additional filters such as Bull Bear Power, Volume Flow, and Open Interest calculations to simply validate a trade.
Automatic Mode
In automatic mode, we detect your timeframe and current coin chart to decide one of the strategies from our database. If you want to manually select a different strategy or try the strategies on different cryptocurrencies, you can disable automatic mode entirely.
Triple SWMA + EMA Crossover Color Candle+ ADX Color Candle V2! IMPORTANT !
To better see the color of the bars I suggest you deactivate the Borders option in the chart settings / Symbol, LIKE THIS:
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
The indicator is the same as the previous version, with the only difference that now the indicator is composed of an addition of secondary candles colored according to the EMA cross, while the main candles based on the ADX, the SWMA are inserted into secondary candles
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
1) SWMA
There are 3 SWMA , with the possibility of modifying the Source and the length of each one, also each SWMA can be removed or can all of them be removed with the ON / OFF option in Inputs-STYLE. (ALL SWMA?)
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2) EMA Fast and Slow, Cross
There are two EMAs, fast and slow, both with the possibility of changing the source and length, in the chart settings it is possible to change the color of EMA Long and EMA Short:
EMA Long = Ema Fast > Ema Slow
EMA Short = Ema Slow > Ema Fast
Ema cross has a style choice option, the possible choices are:
NONE = nothing
ALL = all choices
LINE = ema200 colored based on Ema Long-Short
BAR COLOR = color candles based on Ema Long-Short
PLOTSHAPE = signals based on Ema Long-Short
LINE + BAR COLOR = line + bar color
BAR COLOR + PLOTSHAPE = bar color + plotshape
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
3) ADX Candle
The candles are colored according to 4 inputs:
Color 1 ( Silver ) = ADX < 20
Color 2 (Black) = ADX cross-ADX Index (adx+adx 14 period back) / 2
Color 3 (Lime) = ADX > 0 and DI delta (DI plus - DI minus) > 0
Color 4 (Red) = ADX > 0 and DI delta (DI plus - DI minus) < 0
all colors are editable and if you don't want to have ADX Candle on the chart, just remove the ON / OFF option in Inputs-STYLE. (BAR COLOR ADX )
Triple SWMA + EMA Crossover Color Candle+ ADX Color CandleIMPORTANT
The indicator allows you to view the Color Bars only if it is in the foreground, to do this just put the indicator before the description of the symbol, LIKE THIS:
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
This indicator is composed of:
1) Tiple SWMA
There are 3 SWMA, with the possibility of modifying the Source and the length of each one, also each SWMA can be removed or can all of them be removed with the ON / OFF option in Inputs-STYLE. (ALL SWMA?)
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
2) EMA Fast and Slow, Cross
There are two EMAs, fast and slow, both with the possibility of changing the source and length, in the chart settings it is possible to change the color of EMA Long and EMA Short
EMA Long = Ema Fast > Ema Slow
EMA Short = Ema Slow > Ema Fast
Ema cross has a style choice option, the possible choices are:
ALL = all choices
LINE = ema200 colored based on Ema Long-Short
BAR COLOR = color candles based on Ema Long-Short
PLOTSHAPE = signals based on Ema Long-Short
LINE + BAR COLOR = line + bar color
BAR COLOR + PLOTSHAPE = bar color + plotshape
if you don't want to have EMA Fast and Slow, Cross on the chart, just remove the ON / OFF option in Inputs-STYLE. (EMA style)
════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
3) ADX Candle
The candles are colored according to 4 inputs:
Color 1 (Silver) = ADX < 20
Color 2 (Black) = ADX cross-ADX Index (adx+adx 14 period back) / 2
Color 3 (Lime) = ADX > 0 and DI delta (DI plus - DI minus) > 0
Colo 4 (Red) = ADX > 0 and DI delta (DI plus - DI minus) < 0
all colors are editable and if you don't want to have ADX Candle on the chart, just remove the ON / OFF option in Inputs-STYLE. (BAR COLOR ADX)
Adaptive Average Vortex Index [lastguru]As a longtime fan of ADX, looking at Vortex Indicator I often wondered, where is the third line. I have rarely seen that anybody is calculating it. So, here it is: Average Vortex Index - an ADX calculated from Vortex Indicator. I interpret it similarly to the ADX indicator: higher values show stronger trend. If you discover other interpretation or have suggestions, comments are welcome.
Both VI+ and VI- lines are also drawn. As I use adaptive length calculation in my other scripts (based on the libraries I've developed and published), I have also included the possibility to have an adaptive length here, so if you hate the idea of calculating ADX from VI, you can disable that line and just look at the adaptive Vortex Indicator.
Note that as with all my oscillators, all the lines here are renormalized to -1..1 range unlike the original Vortex Indicator computation. To do that for VI+ and VI- lines, I subtract 1 from their values. It does not change the shape or the amplitude of the lines.
Adaptation algorithms are roughly subdivided in two categories: classic Length Adaptations and Cycle Estimators (they are also implemented in separate libraries), all are selected in Adaptation dropdown. Length Adaptation used in the Adaptive Moving Averages and the Adaptive Oscillators try to follow price movements and accelerate/decelerate accordingly (usually quite rapidly with a huge range). Cycle Estimators, on the other hand, try to measure the cycle period of the current market, which does not reflect price movement or the rate of change (the rate of change may also differ depending on the cycle phase, but the cycle period itself usually changes slowly).
VIDYA - based on VIDYA algorithm. The period oscillates from the Lower Bound up (slow)
VIDYA-RS - based on Vitali Apirine's modification of VIDYA algorithm (he calls it Relative Strength Moving Average). The period oscillates from the Upper Bound down (fast)
Kaufman Efficiency Scaling - based on Efficiency Ratio calculation originally used in KAMA
Fractal Adaptation - based on FRAMA by John F. Ehlers
MESA MAMA Cycle - based on MESA Adaptive Moving Average by John F. Ehlers
Pearson Autocorrelation* - based on Pearson Autocorrelation Periodogram by John F. Ehlers
DFT Cycle* - based on Discrete Fourier Transform Spectrum estimator by John F. Ehlers
Phase Accumulation* - based on Dominant Cycle from Phase Accumulation by John F. Ehlers
Length Adaptation usually take two parameters: Bound From (lower bound) and To (upper bound). These are the limits for Adaptation values. Note that the Cycle Estimators marked with asterisks(*) are very computationally intensive, so the bounds should not be set much higher than 50, otherwise you may receive a timeout error (also, it does not seem to be a useful thing to do, but you may correct me if I'm wrong).
The Cycle Estimators marked with asterisks(*) also have 3 checkboxes: HP (Highpass Filter), SS (Super Smoother) and HW (Hann Window). These enable or disable their internal prefilters, which are recommended by their author - John F. Ehlers . I do not know, which combination works best, so you can experiment.
If no Adaptation is selected ( None option), you can set Length directly. If an Adaptation is selected, then Cycle multiplier can be set.
The oscillator also has the option to configure the internal smoothing function with Window setting. By default, RMA is used (like in ADX calculation). Fast Default option is using half the length for smoothing. Triangle , Hamming and Hann Window algorithms are some better smoothers suggested by John F. Ehlers.
After the oscillator a Moving Average can be applied. The following Moving Averages are included: SMA , RMA, EMA , HMA , VWMA , 2-pole Super Smoother, 3-pole Super Smoother, Filt11, Triangle Window, Hamming Window, Hann Window, Lowpass, DSSS.
Postfilter options are applied last:
Stochastic - Stochastic
Super Smooth Stochastic - Super Smooth Stochastic (part of MESA Stochastic ) by John F. Ehlers
Inverse Fisher Transform - Inverse Fisher Transform
Noise Elimination Technology - a simplified Kendall correlation algorithm "Noise Elimination Technology" by John F. Ehlers
Momentum - momentum (derivative)
Except for Inverse Fisher Transform , all Postfilter algorithms can have Length parameter. If it is not specified (set to 0), then the calculated Slow MA Length is used. If Filter/MA Length is less than 2 or Postfilter Length is less than 1, they are calculated as a multiplier of the calculated oscillator length.
More information on the algorithms is given in the code for the libraries used. I am also very grateful to other TradingView community members (they are also mentioned in the library code) without whom this script would not have been possible.