ADX
ADX Free-The line control represents, if the ADX is greater than the line of 20, the price trend is considered strong, some people increase it to 25
-Dynamic adx color to better differentiate movements
Absolute Strength Histogram v2 | jhv2 changes the way the histogram is plotted.
Histogram shows the strength and can be used to identify trending or ranging periods.
Absolute Strength Histogram | jhOriginal ASH code from alexgrover
Some changes:
- Change the price to SMA with Period of 1 with reference to the original MT4 code
- Added a few more MAs
MultiIndicatorThis is just a bunch of useful funtions and
a recommenation how to construct a multiindicator for the sake of economy :))
RePaNoCHa V4 [Alerts]Script for automatic trading with Alerts.
LG --> Long (green: not confirmed) (lime: confirmed)
ST --> Short (maroon: not confirmed) (red: confirmed)
TS --> Trailing Stop
xL --> Close Long Position
xS --> Close Short Position
SL --> Stop Loss
The trailing stop closes the trade if the price changes direction by a specified percentage or offset. There is no ideal distance because markets and price are always changing and we know that is impossible to exit on the top or bottom. This script interpolate the trailing Stop Offset with profit, higher profit --> higher Trailing Stop Offset. Despite this, it's difficult to catch the price but not impossible. It has a TS delay too. It take a snapshot every X seconds, if the TS is activated the alert is triggered, otherwise the price keeps fluctuating until a new snapshot.
It can be easily converted to Backtest. Just delete "//" on the corresponding part.
Default settings for XBT:USD at 1H.
ONLY LONG V4 [Alerts]Let's try the Version 4 ...
This script is only for long positions.
It's based on the conjunction of RMI + ADX + RSI for entries and only with Take Profit to close the position.
It doesn't have security (), nor Heikin Ashi, so the Backtest is Real.
Use always 'Once per bar'.
It doesn't repaint absolutely nothing at all.
Timeframe: 15 minutes
Have fun improving it ...
Enjoy!
Tips ...
BTC: 3LEUP3WjQctdbFjBavcmRGUVRBje8bptCd
ETH: 0x518AAD4746912ae506c82B747488306186c4d546
ADX and DI With Coloured Histogram BUY/SELLWe display here the ADX has a colored histogram, which is
- green when ADX and DI+ are higher then DI-, while the ADX is increasing, meaning that we are in a potential uptrend--> we should rather be long (only buy if you have other concordant signals !)
- red when ADX and DI- are higher then DI+, while the ADX is increasing, meaning that we are in a potential downtrend --> we should rather be short (only sell if you have other concordant signals !)
- not visible if none of these conditions are met, meaning that the indicator do not show a potential trend --> don't use this indicator to buy or sell at this stage
Kal’s MTF ADX Rangoli RollerKaly MTF ADX Rangoli Roller is a method/study for finding trending stocks, indexes and cryptocurrencies using two different data periods (10, 5) of ADX Overlap over different time-frames (10m, 1H, 4H, 1D, 1W, 1M). In the study, I used 5-Period ADX for all mentioned time-frames. You may use 10-Period ADX for lower time-frames especially 10m and 1H.
Sample Image of the pinescript code(at the end of this post) in Tradingview looks as follows:
Note: Kal's MTF ADX Rangoli Roller is the lower Plot. The upper plot is KAL’s ADX Overlap Technical Study with MACD Filter( )
Description:
----------------
In the study plot, the lowest row is 10m, row above is 1H, row above is 4H, then 1D, then 1W and highest row is 1M
Lime(Bright Green) dot implies Trending Uptrend for that time-frame (first phase)
Green dot implies Trending Uptrend for that time-frame (second phase near exhaustion)
Red dot implies Trending Downward for that time-frame (first phase)
Maroon dot implies Trending Downward for that time-frame (second phase near exhaustion)
Lime cross implies Strong Trending Uptrend for that time-frame (first phase)
Green cross implies Strong Trending Uptrend for that time-frame (second phase near exhaustion)
Red cross implies Trending Strong Downward for that time-frame (first phase)
Maroon cross implies Trending Strong Downward for that time-frame (second phase near exhaustion)
Yellow is ‘Squeeze On’ setting. During the squeeze period, the ADX signals are almost always ineffective. One may wait and watch over during this time. Once the Squeeze is released (i.e. no longer yellow), the trend corresponds to the color of the dots and crosses.
Black is CRSI Overbought condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Overbought condition.
2. Large Short-sellers may take huge positions during this time pushing the stock prices up.
White is CRSI Oversold condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Oversold conditions.
2. Large buyers may take huge positions during this time pushing the stock prices down.
I am a disabled man. Therefore, I am not able to write in detail here today. More Details will follow as time permits. Please let me know if I am missing anything…
Legal Disclaimer: I published here so I get replies from fellow viewers to educate myself and for my daily expenses. Hence, if anyone uses this script for making their decisions, I am not responsible for any failures incurred.
Safe Trading!
Kal Gandikota
PS: If you found this script interesting and edifying please follow and upvote.
PS2: Please kindly donate for my daily expenses (atleast as you would on streets) at the following addresses:
BTC Wallet: 1NeDC1GvpFa49DFLuT1v28ohFjqtoWXNQ5
ETH Wallet: 0x35e557F39A998e7d35dD27c6720C3553e1c65053
NEO Wallet: AUdiNJDW7boeUyYYNhX86p2T8eWwuELSGr
PS3: For more information on ADX and CRSI, please 'Google' or search here yourself.
PS4: This study is intended for research in creating automated Python Trading Systems using Pandas( steemit.com ).
Screenshots of the pinescript code looks as follows:
10minute Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
4 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Day Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Week Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Month Screenshot of Kal's MTF ADX Rangoli Roller (Above)
ADX+DMI MTF byPeterOThe goal of this study was to use ADX from Higher Timeframe - to determine trend direction
Why? Because ADX is very sensitive, able to show trend ending without any delay, but not in the middle of it.
Being able to see such immediate trend change on higher timeframe, is a great indicator of trend direction.
Adding just security() calls to 'highest', 'lowest' and 'close' didn't seem right, because it produced some ugly ADX, D+ and D- plotlines.
I wanted to see plotlines, which look exactly like those on actual higher timeframe. Therefore I modified the calculations.
You can read more about my take on (not) using security() calls in my other source code indicator RSI MTF: link in comments.
On top of all that, I added interpretation of DMI readings, because it is not as simple as plus>minus + ADXrising = uptrend.
So GREEN background means higher timeframe uptrend and RED background means downtrend.
ADX-DI Multi-TimeframePlots the multiple time frame version of the classic ADX-DI indicoator.
ADX
DI+ and DI-
ADX Threshold
DI Histogram difference with 2 threshold lookback values
For a similar multiple time frame indicator see the following scripts. They both use the historical + projection approach to yield non-repainting indicators.
Fisher Transform Multi-Timeframe
Laguerre RSI Multi-Timeframe
ADX and DI advancedThis is a special ADX and DI which includes the following additional functions:
cr1- allows you to set alerts based on if DI+ and DI- crossover each other leading to a new trend
cr2- shows a constant background highlight of a trend.
ADX threshold- you can set a threshold value so that any readings below that are ignored and the indicator paints a blank black area instead.
cr3 and cr4 are experimental- would not reccommend using yet (they were part of a test I did)
For a detailed video on how I use this indicator please go here
youtu.be
The article version was published here originally
bitcointradingtoday.com
Combo Strategy 123 Reversal and ADXR This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Secon strategy
The Average Directional Movement Index Rating (ADXR) measures the strength
of the Average Directional Movement Index (ADX). It's calculated by taking
the average of the current ADX and the ADX from one time period before
(time periods can vary, but the most typical period used is 14 days).
Like the ADX, the ADXR ranges from values of 0 to 100 and reflects strengthening
and weakening trends. However, because it represents an average of ADX, values
don't fluctuate as dramatically and some analysts believe the indicator helps
better display trends in volatile markets.
WARNING:
- For purpose educate only
- This script to change bars colors.
ADX & Strength Line 23That line show me if the trend have strength.-
Aveaverage directional index plus 23 Strength Line.
Absolute Strength MTF IndicatorIntroduction
The non-signal version of the absolute strength indicator from fxcodebase.com requested by ernie76 . This indicator originally from mt4 aim to estimate the bullish/bearish force of the market by using various methods.
The Indicator
Two lines are plotted, a bull line (blue) representing the bullish/buying force and a bear one (red) representing the bearish/selling force, when the bull line is greater than the bear line the market is considered to be strongly bullish, else strongly bearish.
The indicator use various method, Rsi, stochastic, adx. The Rsi method is the one by default.
The stochastic method is less reactive but smoother
The Adx method is way different, while the other two methods make the bull and bear lines somewhat uncorrelated, the adx method focus more on the overall market strength than individual buyer/seller strength.
The smoothing method use 3 different filters, SMA, EMA and LSMA, LSMA is more reactive than the two previous one while EMA is just more computer efficient.
It is possible to use price data of different time frames for the calculation of the indicator.
Stochastic method with 4 hour price close as source.
Conclusion
A classic indicator who can be derived into a lot of ways using a more adaptive architecture or recursion. Hope you find it a use :)
A big thanks to ernie76 for the request and the support/testing of the indicator
Feel free to pm me for any request.
Trend Monster HeadquartersADX-DMI enhanced & modified for faster reaction
ADX (black line) above 80 = mega-trend peaked, reversal imminent, rare case scenario
ADX (black line) above 60 = trend topping out, reversal possible, depending on other indicators
ADX (black line) above 25 threshold = trend strenghening
DMI- (red line) - above 25 - bear trend strenghening
DMI+ (green line) - above 25 - bull trend strenghening
DMI- (red line) - coming off the bottom - bull trend weakening
DMI+ (green line) - coming off the bottom - bear trend weakening
APEX - ADX/ADXR/DI+/DI- [v1]Average Directional Movement Index – ADX can be used to help measure the overall strength of a trend. The ADX indicator is an average of expanding price range values. The ADX is a component of the Directional Movement System developed by Welles Wilder. This indicator on its own does not give you a direction but instead measure the strength of the trend. In general values above 20 are considered a trending environment above 30 is then a strong trend and above 50 is a very strong trend.
Average Directional Movement Rating is based on the momentum change of the ADX itself. It is calculated by adding two ADX values (the current value and a value n periods back), then dividing by two. This additional smoothing makes than the ADXR slightly less responsive than ADX but helps to avoid noise.
Minus Directional Indicator (-DI) measures the presence of a downtrend and is part of the Average Directional Index (ADX). If -DI is sloping upward, it's a sign that the price downtrend is getting stronger. The Positive Directional Indicator (+DI) is a component of the Average Directional Index (ADX) and is used to measure the presence of an uptrend. When the +DI is sloping upward, it is a signal that the uptrend is getting stronger. In general values above 20 are considered a trending environment above 30 is then a strong trend and above 50 is a very strong trend.
ADX & DI in one lineThis is the standard ADX & DI indicator, but combined in a single line, changing color when a trend changes and changing value when the trend is strong.
ADX +- DiThis Adx +-Di is just a complete version of what the ADX is supposed to signal.
So you have:
15 (contraction), 20 (threshold), 30 (expansion), 40 (resistance) levels.
Below 20 the price is not trending
Above 30 the price is trending
Below 15 price has been in contraction for too long
Between 20 and 30 price is in a "transition zone".
I finally added a "Resistance" level (40), which has to be adapted to best represent the historical levels where price usually encounters resistance, and where the price can be declared "overtrending", which means a return to lower levels is likely to happen.
I've chosen mild colors, and set the Adx Color to White, because I use black background, you can easily change that.
Enjoy
-Maurice
[ALERTS] ADX and DIThe average directional index (ADX) is a technical analysis metric. Analysts use it to determine the relative strength of a trend, with the direction of the trend either upwards or downwards.
The Average Directional Index (ADX) along with the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI) are momentum strength indicators that evolved for use in stock trading. Commodities trader J. Welles Wilder pioneered their use. Technical traders who use charting techniques want to know when first spotting a shifting trend how strong that trend is and how likely it is to sustain itself over time. The ADX helps investors determine trend strength as they plan their investment strategies.
Confirmation on a chart and other momentum indicators help investors spot trend reversals. But some trends are more potent than others and investors want to better understand the strength of a trend. The ADX identifies a strong positive trend when the ADX is over 25 and a weak trend when the ADX is below 20. Investors can determine directional movement by analyzing the difference between two consecutive low prices and their correlated highs. The movement is +DM when the current high price, less the previous high price, is greater than the previous low price less the current low. The opposite applies in determining the negative or –DI.
When analyzing charts, stock price is the single most important variable to follow. ADX and other indicators are supplementary to price movements in providing additional directional information and support. For example, some of the best trends come about from price range consolidation. It is those tugs of war between buying and selling volumes that lead to breakouts and other trading opportunities.
The Inventor of the Average Directional Index
J. Welles Wilder, Jr. is a former American engineer and real estate developer who went on to revolutionize trading analysis by applying mathematical systems to the world of investing. In addition to developing the ADX, Wilder is also responsible for several other commonly used technical analysis tools including the Average True Range (ATR), the Relative Strength Index (RSI) and the Parabolic SAR.
www.investopedia.com
This script has alerts and includes the filter for markets with no trend defined.
Green Alert --> Long
Red Alert --> Short
Yellow Area --> Weak trend. ADX below threshold
Green candles --> Bullish Market
Red Candles --> Bearish Market
Orange candles --> No defined trend
Enjoy!