Trend WaveHello Traders!
You know, I can sill remember the first time I started tinkering with Pinescript. As I had no prior programming experience, I learned by experimenting with other open-source scripts on TradingViews Marketplace. Tearing apart and combining interesting scripts to see what the output would be. @ChrisMoody was a huge source of inspiration for learning, and I wanted to thank him, as well as @TheLark for the concept behind this script.
The Trend Wave is based on @ChrisMoody's PPO-PercentileRank-Mkt-Tops-Bottoms , which also happens to be based on @TheLark's TheLark-Laguerre-PPO/ .
Within my experimentation, I found that if I isolate the ppoT & ppoB variables and plot them calculated from extremely small decimals, you can get an extremely fast reacting, mirroring trend detector.
Within the script, you have the ability to plot the background colors based on trend to make it easier to see where crossovers occured, as well as a Mirror Input to view the mirrored version of the script.
-@DayTradingOil
Trend
Bollinger Bands Trend Model-BuschiEnglish
In general, Bollinger Bands are used as an indicator to visualize the "reversion to the mean". However, in this model, by using smaller variable values (default: 10 time intervals instead of 20, 1 standard deviation instead of 2), they are used as an trend following indicator. Two consecutive closes above the upper band form a buy signal (symbol 'B' above bar) which is reversed by two consecutive closes below the lower band (symbol 'S' under bar) and vice versa. The corresponding buying (green) and selling (red) zones are coloured between the bands.
Deutsch
Im Allgemeinen werden Bollinger-Bänder als ein Indikator verwendet, um die "Rückkehr zum Mittelwert" zu visualisieren. In diesem Modell werden sie durch kleine Variablen-Werte (Standardwert: 10 Zeitintervalle anstatt 20, 1 Standardabweichung anstatt 2) jedoch als Trendfolge-Indikator verwendet. Zwei aufeinanderfolgende Schlusskurse über dem oberen Band (Symbol 'B' über dem Balken) bilden ein Kaufsignal, das durch zwei aufeinanderfolgende Schlusskurse unter dem unteren Band (Symbol 'S' unter Balken) umgekehrt wird. Gleiches gilt umgekehrt. Die entsprechenden Kauf-Zonen (grün) und Verkauf-Zonen (rot) werden zwischen den Bändern eingefärbt.
Pivot trend indicatorThis is a LAGGING indicator which can provide a good indication of trend. It require a certain (configurable) number of candles to have closed before it can determine whether a pivot has formed.
It provides a 20 period SMA for the timeframe of your choice which is color coded to show the trend according to confirmed pivots.
Anticipated usage:
Long / Short bias is determined by pivot trend
Trader seeks entries according to their strategy
Black consolidation areas may trigger a re-evaluation of the trade and can serve as good profit taking areas
The SMA colors:
Green -> Higher highs & Higher lows
Red -> Lower highs & Lowers lows
Black -> No clear trend from the pivots
Why the 20 SMA?
Feel free to adjust it for your purposes. I personally find that using a higher time frame 20 SMA is a better indication of trend than longer period MAs on shorter time frames. This can be seen from comparing the 20 daily SMA and 200 hourly SMA.
Pivot adjustment
The pivots use the selected time frame (not) the MA trend time frame. You can specify the left and right candles required to confirm a pivot
Wave Trend With Signals [ChuckBanger]A wave trend script based on LazyBears script but with added signals and a histogram...
Mirror TSI-MACD by Trader JayI was playing around with the TSI-MACD and surprisingly it works quite well as a mirror.
There are 2 ways this can be used
1. Enter long when Blue line crosses up the Red
2. Exit long when Green line crosses the blue
or
1. Enter long when Blue line crosses up the Red
2. Exit long when Blue line crosses back down below the Red
Volume Effectiveness [BigBitsIO]This Volume Effectiveness indicator is designed to allow users to try and identify how effective volume is on each candle, and smoothing those values over time to try to find trends.
Volume Effectiveness is the % change in price for each single unit of volume on the associated candle. The value can be positive or negative, but there is an option to just monitor an absolute value.
Features:
- Volume Effectiveness
- Toggle if Volume Effectiveness should be an absolute value
- Toggle visibility of bars
- Smoothed moving average of Volume Effectiveness
- Adjustable period on the smoothed moving average
- Several moving average types available to use for the smoothed moving average
- Toggle visibility of smoothed moving average
Trend MeterUse as a supplementary Indicator to confirm your entries, but it is as good on it's own.
When you first apply the indicator to your chart make sure you shrink it down It looks a lot better that way
The indicator consists of 3 different Trend Meters and a Trend Bar which are used to confirm trend
As a bonus Possible Momentum Setup entries based on Stochastics are marked as well, these are very Powerful however please use with caution
How to Use
The more Trend meters are lit up the better
Look for Support or Resistance Levels for price to be attracted to
Find confluence with other indicators
Enter Long above the Setup Bar
Enter Short Below the Setup Bar
UT Bot StrategyUT Bot indicator was inially developer by @Yo_adriiiiaan
Idea of original code belongs @HPotter
I just took code of Yo_adriiiiaan, cleaned it, deleted all useless pieces of code, transformet to v4 and created a strategy from it.
Also I added an input that allows you to swich to signals from Heiking Ashi. I saw that author uses HA for the indicator and on HA it look much nices then on real candles.
Do not add this strategy to HA candles, use usual candles and this checkbox.
Original script:
Centerline SupertrendA centerline/non-chart indicator version of Everget's Supertrend script for use in NNFX-style indicator setups, with the emphasis on this indicator NOT adding visual clutter to the main charting area with a baseline indicator already present.
This is literally the EXACT same script as Everget's Supertrend, but not drawn on the chart and with the fill/stop and fill/state level removed.
Adjust to your timeframe/asset and backtest/forward-test accordingly.
Source script by Everget (Supertrend):
RSI with Moving Averages[UO]This RSI indicator is one of my favorite indicators. This powerful indicator is implemented by Phi-Deltalytics. I modified the drawing so that it is easier (at least for me) to see the signals and trends (it would not matter if you're doing algorithmic trading).
Trends and signals. For detailed instructions and tutorial see Phi-Deltalytics page
EMA Cloud 150/250The trend is your friend.
MA's are a simple and an easy way to find the trend on anytime frame.
A lot of people use the 200 MA to define trend but I've always preferred EMA's.
This is a 150 ema and 250 ema cloud. Ema's can act as support and resistance. Instead S/R being a single line on the chart S/R is seen more as an area on support and therefore a cloud is more suitable in defining the area around the 200 ema.
Rules
1. Above the cloud the assumption is bullish
2 .Below the cloud the assumption is bearish
3 . Change in color is confirmation of a trend change
Note that all MA's lag so use with confluence of other technical indicators.
*better on higher time frames
iTrends | jhMT4 iTrends ported over.
Adapted Bulls/Bears Power from HPotter indicator. I can't confirm if that represents the iBullsPower/iBearsPower function from MT4.
Do try and provide your feedback !
ACTION LocatorThe indicator is based on the RSI and the Absolute Strength Histogram (more specifically the modification by Jie).
It is meant to be used to filter out periods of consolidation, and determine if the bulls or bears are in control when there is enough action to possibly start a trend.
The RSI is not used to find overbought or oversold conditions, but to find momentum and filter out sideways movement.
The ASH is used to filter out sideways movement by looking at the difference between the bulls and the bears and when the difference is below either the bulls or the bears, the market is considered to be consolidating. Otherwise, direction for possible trends are determined by which line is above the other.
Blue background = Bulls are in control of the ACTION
Orange background = Bears are in control of the ACTION
Gray background = No ACTION - DO NOT TRADE
Extended Recursive Bands - Maximum Efficiency With Extra OptionsIntroducing A New Calculation For Efficient Bands Calculation !
Here it is ! The Recursive Bands Indicator, an indicator specially created to be extremely efficient, i think you already know that calculation time is extra important in algorithmic trading, and this is the principal motivation for the creation of the proposed indicator. Originally described in my paper "Pierrefeu, Alex (2019): Recursive Bands - A New Indicator For Technical Analysis" , the indicator framework has been widely used in my previous uploaded indicators, however it would have been a shame to not upload it, however user experience being a major concern for me, i decided to add extra options, which explain the term "extended".
On The Indicator Calculation
You can skip this part if it doesn't interest you. The calculation of the indicator is based on recursion, but i want to explain the mathematical formula described in the paper.
I've seen some users trying to remake it from the calculations, however there was always something weird, and i understand, mathematical notations are always a bit weird, even myself don't always write them correctly/understand them, however this one is relatively simple to understand.
First lets explain each elements of the calculation :
α = smoothing constant, or 2/(length+1)
max/min = maximum and minimum function, max return the greatest input value while min return the lowest one, for example :
max(4,2) = 4 while min(4,2) = 2
the "||" notation mean taking the absolute value, for example : |-1| = abs(-1) = 1
The calculation after the max/min function is called the correction factor, and is the core of the indicator. The last two variables are just here to provide an initial value for upper and lower, basically when we start our calculations we will assign the value of the closing price for upper and lower.
The motivation behind using a smoothing constant in range of (0,1) was to tell the reader that the indicator is easily made adaptive, this is what i did on my adaptive trailing stop indicator by using the efficiency ratio as smoothing variable, the user can use 1/length instead of the provided calculation for alpha.
If you interested on the indicator main logic, it is actually really simple, by using upper = max(price,upper) and lower = min(price,lower) we would get the maximum/minimum price value at time t , therefore upper can only be greater or equal than its precedent value, while lower can only be lower or equal than its precedent value, in order to fix that we subtract/sum upper/lower with a value, this allow the upper band to be lower than its precedent value and lower to be greater than its precedent value, this is the role of the correction factor.
The Indicator
The indicator display one upper and one lower band, every common usages applied to bands indicators such as support/resistance, breakout, trailing stop...etc, can also be applied to this one. length control how reactive the bands are, higher values of length will make the bands cross the price less often.
In order to provide more flexibility for the user i added the option to use various methods for the calculation of the indicator, therefore the indicator can use the average true range, standard deviation, average high-low range, and one totally exclusive method specially designed for this indicator.
Classic Method
This option make the indicator use its classical calculation, this is the most efficient method of all.
Atr Method (atr)
This method use the average true range as correction factor, notice that lower values of length can still produce wide band.
Standard Deviation Method (stdev)
This method use a biased estimate of the standard deviation as correction factor.
The method produce smoother bands that converge more slowly toward the price in comparison with the classic correction factor.
Average High-Low Range Method (ahlr)
This method use the average of the high-low range as correction factor, extremely similar to the average true range.
Rising Falling Volatility (rfv) Method
A new method created for this indicator, this correction factor use the absolute prices changes when price value is greater/lower than any length past values of the price, this allow to have more boxy shaped bands, work best with greater values of length.
The bands can be in contact with this method, a possible fix in the future.
Conclusion
The recursive band indicator is one of my greatest indicators in my opinion (i would love to have yours), as you can see the idea behind it is extremely simple and allow for a super efficient band indicator, which was the original motivation behind it, in order to provide more fun for the users i also added more option for the correction factor, this allow the user to be creative and not get stuck with the original calculation.
Like the trend step indicator family we have almost ended our series on the recursive band framework, 1 more trailing stop will be added in the future, and then we'll have more "boring" stuff until i find something cool again, it shouldn't be long ;)
Thanks for reading !
CryptoJJ - SSL indicatorThe SSL indicator with colour change. Tool for spotting trends and finding good entry points. I recommend using it for higher timeframes, from 4h to 1D.
Play with the settings, you can change the moving avarage type, its length, if you prefer having the default
bar colours in your chart, disable the colouring function in the script.
Good luck crypto traders!
CryptoJJ
Range Force Impulse The "Range Force Impulse" indicator combines 4 useful indicators into one, freeing up chart real-estate and giving the trader insight into trend health, bull/bear commitment, range and volatility all at a glance.
The indicator consists of the following:
Direction - True Range and Average True Range columns shown above and below 0 depending on direction of the period's price
-- TR (gray) shows the current period's trading volatility
-- ATR (Impulse colors, see below) shows an EMA of TR over a specified length
-- Can be used to determine stops and targets (Example: Stop loss at prev close - ATR, Target at 2x ATR)
Index - Alexander Elder's EMA of (change(close) * volume), shows crosses above 0 (green) and below 0 (red), and intermediate signals
-- Shows bull vs. bear interest/commitment/dominance
-- Elder recommends EMA length of 2 for daily chart buy/sell signals, and 13 for weekly chart bull/bear dominance & trend direction signals
-- Intermediate signals are shown above 0 when falling (salmon), or below 0 when rising (pale yellow)
System - Range columns are colored using Alexander Elder's censorship system (green: do not short, red: do not long, blue: is up to you)
-- Shows overall trend health (Macd histogram and EMA up/down changes)
Schaff Trend Cycle [ChuckBanger]The Schaff Trend Cycle is a method, developed by Doug Schaff and based on the concept that trends also have repeating high and low patterns, or cycles. This is a modified MACD line, run through a modified stochastic algorithm and smoothed with Wilders’ smoothing in order to estimate the final Schaff Trend Cycle (STC) indicator. Its purpose is to identify the direction, in which a trend cycle is moving and possible peaks and bottoms within this cycle.
If this is interesting you should also take a look at MACD Leader:
For more info about Schaff Trend Cycle Indicator:
www.investopedia.com
Stochastic binary option styleUsing Time Frames For Trend – You can also use different time frames to determine trends with stochastic. To do this you will need to use two different time frame charts, I like to use the weekly/daily or daily/hourly combination depending on the asset. Weekly/daily works well with stocks and indices while I prefer the shorter time frame for currency and commodities. This is how it works; stochastic on the longer term chart sets trend, stochastic on the shorter term chart gives the signal. If, on the weekly chart, stochastic is pointing up then you would trade bullish signals on the daily charts. Or if using the daily/hourly combo the stochastic on the daily would set trend while signals would come from the hourly chart.
Green color bar and background means k is > d, the crowd is bullish (trend is bullish, a bullish crossover is happened), red is the contrary (bears are the leaders)
Credit to Michael Hodges
InfoPanel Divergence IndicatorThis panel spots divergences of some well knonw indicators. It may be usefull because you have all indicators in one panel only.
Also, you can check on chart which indicator gives better results of each pair on stock or index or crypto.
TO DO: to add custom indicators.
thanks to: RicardoSantos for his script of panel coding
Tradingview scripts
Other members of TV community (I cannot remember the source and inspiration of all snipets)
Please use comment section for any feedback.
InfoPanel Indicators microtrendThis panel shows current value and trend of some well knonw indicators. It may be usefull because you have all indicators in one panel only.
thanks to: RicardoSantos for his script of panel coding
Tradingview scripts
Please use comment section for any feedback.
Strategy based on the principles of Price ActionIt is considered the percentage of candles with low and high closure for a certain period. Then, a moving average is built from these values. When the moving average of the ratio of tall candles to low candles is greater than the ratio of low candles to high, then long (that is, when the green line crosses the red). And vice versa - a condition for short. It also works on crypto with other settings. Idea for improvement: you can make partial exit by taking, at certain profit levels, the chart will be more stable. Result with a commission of 0.004% You can create an optimizer, and use this strategy on any liquid asset. (Sorry for google translator)