Linear Regression Trendlines & ChannelsThis new script came to me one night all of a sudden and it seems to be common knowledge for how good it works.
The script utilizes linear regression to determine trendlines and channels, identifying instances where closing prices closely align with the regression line. When a significant number of closing prices fall within proximity to the regression line, trendlines are displayed or generated.
Users have the flexibility to customize the proximity criteria by adjusting the margin and percentage thresholds. These parameters allow for precise control over how closely the closing prices should adhere to the regression line, as well as the minimum percentage of closing prices required to fit within the specified margin.
Moreover, the script is adaptable to logarithmic scales, ensuring compatibility with various chart configurations. Additionally, it stores all relevant data in an array for convenient access in future scripts or analyses.
Channelsbands
Channels With NVI Strategy [TradeDots]The "Channels With NVI Strategy" is a trading strategy that identifies oversold market instances during a bullish trading market. Specifically, the strategy integrates two principal indicators to deliver profitable opportunities, anticipating potential uptrends.
2 MAIN COMPONENTS
1. Channel Indicators: This strategy gives users the flexibility to choose between Bollinger Band Channels or Keltner Channels. This selection can be made straight from the settings, allowing the traders to adjust the tool according to their preferences and strategies.
2. Negative Volume Indicator (NVI): An indicator that calculates today's price rate of change, but only when today's trading volume is less than the previous day's. This functionality enables users to detect potential shifts in the trading volume with time and price.
ENTRY CONDITION
First, the assets price must drop below the lower band of the channel indicator.
Second, NVI must ascend above the exponential moving average line, signifying a possible flood of 'smart money' (large institutional investors or savvy traders), indicating an imminent price rally.
EXIT CONDITION
Exit conditions can be customized based on individual trading styles and risk tolerance levels. Traders can define their ideal take profit or stop loss percentages.
Moreover, the strategy also employs an NVI-based exit policy. Specifically, if the NVI dips under the exponential moving average – suggestive of a fading trading momentum, the strategy grants an exit call.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
LeafAlgo ProThis indicator utilizes signals generated from a normalized consensus of one of the four following consensus strategies: Oscillator Consensus, Moving Average Consensus, Democratic Fib Consensus, and an Ichimoku Cloud Consensus. When the values of the individual consensus are normalized, they can be utilized as an oscillator with a range of 0-100. The range of 0-100 can be broken down into zones where if the oscillator breaks through the different thresholds and meets the directional filter requirements, a signal is generated for strong buy, buy, sell, and strong sell with respect to which underlying threshold is breached.
Oscillator:
The Oscillator setting consists of the Average Directional Index (ADX) set as a value instead of +/- and is not used in the scoring to gather consensus. Rather, a value of 25 or above is used to confirm the trend regardless of positive or negative. The Chande Momentum Oscillator (CMO), Detrended Price Oscillator (DPO), Momentum, Rate of Change (ROC), Relative Strength Index (RSI), True Strength Index (TSI), and Volume Oscillator are used in the Oscillator table for a consensus value and given a + or - depending on the condition being met. The conditions and weighting are as follows:
-- CMO > or < 0, given a weight of +/- 2
-- DPO > or < 0, given a weight of +/- 2
-- Momentum > or < 0, given a weight of +/- 2
-- ROC > or < 0, given a weight of +/- 2
-- RSI > or < 50, given a weight of +/- 1
-- TSI Value Line > or < 0, given a weight of +/- 1
-- TSI Signal Line > or < 0, given a weight of +/- 1
-- Volume Osc. > or < 0, given a weight of +/- 2
Moving Average:
For the Moving Average Ribbon/Multi-MA setting the user is able to determine the type of MA for 11 moving averages. The type selection consists of EMA, DEMA, TEMA, SMA, RMA, VWMA, WMA, SMMA, and a Hull MA. The preset values for the 11 moving averages are 5, 7, 10, 14, 21, 26, 50, 75, 100, 150, and 200. The consensus conditions and weighting are as follows:
-- If MA(1 through 10) < or > the price source, given a weight of +/- 1
-- If MA(11) < or > the price source, given a weight of +/- 2
DFMA:
The Democratic Fibonacci Moving Average setting is derived from our indicator of the same name. The source for the DFMA can be chosen by the user, but the SMA lengths are predetermined in Fibonacci intervals from 3 to 233. The DFMA line itself is determined by finding the average value of these 10 Fibonacci MA lengths. The consensus conditions and weighting are as follows:
-- If Fib. MA (3-233) < or > the source, given a weight of +/- 1
-- If DFMA value < or > the source, given a weight of +/- 2.
Ichimoku:
The Ichimoku setting values a handful of conditions using the Tenkan-sen/Conversion Line, Kijun-sen/Base Line, Senkou-span A and B, and the Chikou-span, each of which are given their standard values of 9, 26, 52, and 26, respectively, but can be changed in the user settings if desired. As opposed to the other tables, there are fewer conditions to be met and given values to. All of the conditions are given the same weighting (+/- 1). The conditions are as follows:
-- Kijun-sen < or > the source
-- Tenkan-sen < or > the source
-- Kijun-sen > or < the Chikou-span
-- Tenkan-sen > or < the Kijou-sen
-- Senkou Span A > or < Senkou Span B
Dynamic Bar Coloring
The bar coloring is based on the values of the underlying consensus oscillator.
-- If the consensus value >= 75 coloring= "Lime"
-- If the consensus value is between 55 and 70, coloring= "Green"
-- If the consensus value is between 45 and 55, coloring= "Yellow"
-- If the consensus value is between 30 and 45, coloring= "Orange"
-- If consensus value is <= 30, coloring= "Red"
Regression Channels
The visible channel utilizes a basis line of a quadratic regression line. The quadratic regression is well suited for determining (and predicting) trends. Calculating the regression involves five summation equations that utilize the bar index (x1), the price source (defaulted to ohlc4), the desired length, and the square of x1. Determining the coefficient values requires an additional step that factors in the simple moving average of the source, bar index, and squared bar index. The envelopes that are formed around the regression line are a multiple of that regression line using the high/low range of the price. This envelope can be used to determine points of interest where the price may break through, consolidate at, or reverse from. The channels should be used in conjunction with the signals generated to determine if the signal is valid.
Note past performance is not indicative of future results. This is meant to be used as a tool, and the signals generated by this script should be confirmed with other technical analysis.
PBSimple moving average based percentage band. Think it as a reaction zone. Not useful when market is trending.
RAS.V2 Strength Index OscillatorHeavily modified version of my previous "Relative Aggregate Strength Oscillator" -Added high/low lines, alma curves,, lrc bands, changed candle calculations + other small things. Replaces the standard RSI indicator with something a bit more insightful.
Credits to @wolneyyy - 'Mean Deviation Detector - Throw Out All Other Indicators ' And @algomojo - 'Responsive Coppock Curve'
And the default Relative Strength Index
The candles are the average of the MFI ,CCI ,MOM and RSI candles, they seemed similar enough in style to me so I created candles out of each and the took the sum of all the candle's OHLC values and divided by 4 to get an average, same as v1 but with some tweaks. Previous Peaks and Potholes visible with the blue horizontal lines which adjust when a new boundary is established. Toggle alma waves or smalrc curves or both to your liking. This indicator is great for calling out peaks and troughs in realtime, although is best when combined with other trusted indicators to get a consensus.
Bitcoin Bulls & Bears @dbtr
Bitcoin Bulls & Bears
The "Bitcoin Bulls & Bears" indicator helps you better understand Bitcoin with a high-level view on Bitcoin’s historic price channel, past and current market cycles, as well as current key support levels.
Usage
Use this indicator with any BTCUSD pairs , ideally with a long price history (such as BNC:BLX )
We recommend to use this indicator in log mode, combined with Weekly or Monthly timeframe.
Features
🕵🏻♂️ Historic price channel curve since 2011
🚨 Bull & bear market cycles (dynamic)
🔥 All-time highs (dynamic)
🌟 Weekly support (dynamic, based on 20 SMA)
💪 Long-term support (channel bottom)
🔝 Potential future price targets (dynamic)
📏 Log/non-log support
🌚 Dark mode support
Remarks
Except for the historic price channel curve, all of this indicator is calculated dynamically , including bull/bear market cycles (based on a tweaked 20SMA). Due to this, the historic market cycles may not be 100% accurate and may also differ slightly between time-frames. It may also consider short times of ups/downs to be their own market cycles, even though they weren’t. This dynamic nature allows this indicator to adapt to the future and quickly help you identify changes in market structure.
On top of the that, the bullmarket cycles (green background) feature an ingrained RSI information: the darker the green, the more the RSI is overbought and close to a correction. In combination with past bull cycles, it is easier to spot potential reversal zones.
Thanks
Thanks to @quantadelic and @mabonyi for their pre-work on the price channel information, which I have taken over here
EMA High-Low ChannelThe channel is of High and low using EMA, so it is easily to track and see higher high when prices is breaking above channel. same is vice-versa when price is breaking below channel.
WBCC ChannelЛюбителям канальных стратегий посвящается. Рекомендуем тайм фрейм 15 минут, коэф. в настройке рекомендуемый 2,5.
Channel strategists are the ones who love channel strategies. We recommend a time frame of 15 minutes, the rate. in the setting recommended 2.5.