Recursive Moving Average DifferenceThe relative difference between a moving average and the price can be a useful tool for interpreting trend direction and identifying pullbacks or breakdowns. This indicator recursively finds all the relative moving average differences between two simple moving averages of your choosing and weighs them by their lengths. It then returns a value that represents the weighted average of all the moving average differences. This can represent the gradient of motion between moving averages, or the path of least resistance, which the price may revert to in certain situations.
For the settings: minimum MA represents the minimum simple moving average to consider for the total weighted average. Maximum MA represents the maximum simple moving average to consider. "Move By" is the increment that you want to move between these two moving averages.
A positive moving average difference indicates that the price is above the moving average difference (i.e. the weighted average of all moving average differences between your two selected moving averages). A negative moving average difference indicates that the price is below the moving average difference. I have added a signal with a configurable length input as well to smooth out trends.
You can configure colors and lengths, as well as the counting increment. Future updates may include different ways to calculate weights, perhaps on overlay or strategy.
Trendtrading
ADW - Colour TrendColour Trend is an indicator that will give you a visual representation of the trend in a selected market, and alert you when the trend changes. The green colour represents a bullish trend (prices are going up), the red colour represents a bearish trend (prices are going down), and silver represents a neutral trend (prices are relatively stable). The script calculates these trends based on the relative price levels and their moving averages.
Below is a breakdown of the script so you can better understand how these trends are defined.
Function f_p(_length, price) : This function calculates the price relative to its highest and lowest point over the given `_length` of time. This calculation is normalized by multiplying it by 100, giving us a percentage-like measure.
User Inputs : The length of the period (default 12), you can choose to show or hide bar colours (default is true).
Variables cycle_avg, cycle_counter, cycle_count, cycle_trend, cycle_col : These variables are used to calculate the trend cycles. The `cycle_avg` is the average trend cycle, `cycle_counter` keeps track of the current trend cycle, `cycle_count` counts the total number of cycles, `cycle_trend` keeps track of the direction of the cycle (1 for up, -1 for down), and `cycle_col` defines the colour of the current cycle.
Variables ph, pl, avg, mean : These variables calculate the price level relative to the highest and lowest prices (`ph` and `pl`), the average of these two levels (`avg`), and the cumulative average of the price level (`mean`).
Conditionals for cycle trend : The if-statements are checking whether the price level has reached a trend extreme and then updating the trend cycle, colour, count, and average accordingly.
Variable col and bar color : The variable `col` is used to define the colour of the bars based on the average price level. If the `show_barcolor` is true, the colour is determined based on the `avg` value.
Alert Conditions : These are conditions that will send alerts to the user when the trend changes. Specifically, the alerts occur when the colour changes from non-green to green (bull trend), from non-red to red (bear trend), or from non-silver to silver (no trend).
Discrete Fourier Transform Overlay [wbburgin]The discrete Fourier transform (DFT) overlay uses a discrete Fourier transform algorithm to identify trend direction. This is a simpler interpretation that only uses the magnitude of the first frequency component obtained from the DFT algorithm, but can be useful for visualization purposes. I haven't seen many Fourier scripts on TradingView that actually have the magnitude plotted on the chart (some have lines, for instance, but that makes it difficult to look into the past or to see previous lines).
About the Discrete Fourier Transform
The DFT is a mathematical transformation that decomposes a time-domain signal into its constituent frequency components. By applying the DFT to OHLC data, we can interpret the periodicities and trends present in the market. I've designed the overlay so that you can choose your source for the Fourier transform, as well as the length.
Settings and Configuration
The "Fourier Period" is the transform length of the DFT algorithm. This input indicates the number of data points considered for the DFT calculation. For example, if this input is set to 20, the DFT will be performed on the most recent 20 data points of the input series. The transform length affects the resolution and accuracy of the frequency analysis. A shorter transform length may provide a broader frequency range but with less detail, while a longer transform length can provide finer frequency resolution but may be computationally more intensive (I recommend using under 100 - anything above that might take too much time to load on the platform).
The "Fourier X Series" is the source you want the Fourier transform to be applied to. I have it set in default to the close.
"Kernel Smoothing" is the bar-start of the rational quadratic kernel used to smooth the frequency component. Think of it just like a normal moving average if you are unfamiliar with the concept, it functions similarly to the "length" value of a moving average.
AlphaTrend - ScreenerScreener version of AlphaTrend indicator:
BUY / LONG when AlphaTrend line crosses above its 2 bars offsetted line, and there would be a green filling between them
SELL / SHORT when AlphaTrend line crosses below its 2 bars offsetted line, and filling would be red then.
Default values:
Coefficient: 1, which is the factor of the trailing ATR value
Common Period: 14, which is the length of ATR MFI and RSI
AlphaTrend default uses MFI in the calculation, and MFI (Money Flow Index) needs the volume data of the chart.
If your chart doesn't have the volume data, please select the "Change Calculation" option to use RSI instead of MFI.
Screener Panel:
You can explore 20 different and user-defined tickers, which can be changed from the SETTINGS (shares, crypto, commodities...) on this screener version.
The screener panel shows up right after the bars on the right side of the chart.
Tickers seen in green are the ones that are in an uptrend, according to AlphaTrend.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers in front of each Ticker indicate how many bars passed after the last BUY or SELL signal of AlphaTrend.
For example, according to the indicator, when BTCUSDT appears in (3) and in GREEN, Bitcoin switched to BUY signal 3 bars ago.
PivotBoss Tool (PART 1)Hello Everyone,
This indicator is being published on TradingView to help traders solve their multiframe analysis issue and at the same time get additional information of different timeframe like - Strength, Momentum and Central Pivot Range relationships all under one single frame.
This indicator is based on the concepts of Secrets of Pivot Boss by Mr.Frank Ochoa and strives to provide more insightful information of pivot points and other general indicators being used by traders on day-to-day basis in the simplest format possible so that traders of all kinds can relate to the same.
Below is the brief information of the indicator table you see in the layout of the above chart -
-This is the most interesting part of the indicator where the user gets to the Pivot Trend, RSI strength and Central Pivot Range (CPR) relationship all under one table which comes to be very handy during Intraday trading and Swing/Positional Trading.
#Pivot Trend
This column gives the user the information regarding price movement near to pivot points across multiple timeframes in a single frame which gives the user the accessibility to track the trend in different time frames, to make the information readily available colour code are included in the table which is customisable in the hands of the user and below is the explanation for the same -
- GREEN (Above H3)
- GREY (Between H3-L3)
- RED (Below L3)
#RSI
This column gives the user the information regarding price movement near to RSI values across multiple timeframes in a single frame which gives the user the accessibility to track the momentum in different time frames, to make the information readily available colour code are included in the table which is customisable in the hands of the user and below is the explanation for the same -
- GREEN (Above 70)
- GREY (Between 30 to 70)
- RED (Below 30)
#Central Pivot Range (CPR) Relationship
This column gives an idea of the trend direction and intensity which is exactly formulated according the concepts of PivotBoss Book and it also states the relationship of CPR's with customisable colour codes in the indicator settings, to make the information readily available colour code are included in the table which is customisable in the hands of the user and below is the explanation for the same -
There are generally six possible relationships for CPR compared to previous CPR where the timeframe can be variable but the relationship identification stays constant which is depicted as below -
- GREEN
1) Dark Green denotes "Higher Value CPR Relationship"
2) Light Green denotes "Overlapping Higher Value CPR Relationship"
- RED
3) Dark Red denotes "Lower Value CPR Relationship"
4) Light Red denotes "Overlapping Lower Value CPR Relationship"
- GREY
5) Denotes "Outside Value CPR Relationship"
- YELLOW
6) Denotes "Inside Value CPR Relationship"
This is a very basic tool created to identify Strength, Momentum and Central Pivot Relationship (CPR) across different timeframes so that the user is able to identify the broader aspect of the stock in a single frame and thus can execute his trading skills with optimum efficiency.
This indicator will be updated with time and depending on community's feedback and requirements.
Credits -
- Mr. Frank Ochoa (Concepts and ideas from the book 'Secrets of PivotBoss' )
- TradingView (Providing a platform to traders to simply their trading through 'PineScript')
Regards,
Mukkull
Adaptive Gaussian Moving AverageThe Adaptive Gaussian Moving Average (AGMA) is a versatile technical indicator that combines the concept of a Gaussian Moving Average (GMA) with adaptive parameters based on market volatility. The indicator aims to provide a smoothed trend line that dynamically adjusts to different market conditions, offering a more responsive analysis of price movements.
Calculation:
The AGMA is calculated by applying a weighted moving average based on a Gaussian distribution. The length parameter determines the number of bars considered for the calculation. The adaptive parameter enables or disables the adaptive feature. When adaptive is true, the sigma value, which represents the standard deviation, is dynamically calculated using the standard deviation of the closing prices over the volatilityPeriod. When adaptive is false, a user-defined fixed value for sigma can be input.
Interpretation:
The AGMA generates a smoothed line that follows the trend of the price action. When the AGMA line is rising, it suggests an uptrend, while a declining line indicates a downtrend. The adaptive feature allows the indicator to adjust its sensitivity based on market volatility, making it more responsive during periods of high volatility and less sensitive during low volatility conditions.
Potential Uses in Strategies:
-- Trend Identification : Traders can use the AGMA to identify the direction of the prevailing trend. Buying opportunities may arise when the price is above the AGMA line during an uptrend, while selling opportunities may be considered when the price is below the AGMA line during a downtrend.
-- Trend Confirmation : The AGMA can be used in conjunction with other technical indicators or trend-following strategies to confirm the strength and sustainability of a trend. A strong and steady AGMA line can provide additional confidence in the prevailing trend.
-- Volatility-Based Strategies : Traders can utilize the adaptive feature of the AGMA to build volatility-based strategies. By adjusting the sigma value based on market volatility, the indicator can dynamically adapt to changing market conditions, potentially improving the accuracy of entry and exit signals.
Limitations:
-- Lagging Indicator : Like other moving averages, the AGMA is a lagging indicator that relies on historical price data. It may not provide timely signals during rapidly changing market conditions or sharp price reversals.
-- Whipsaw in Sideways Markets : During periods of low volatility or when the market is moving sideways, the AGMA may generate false signals or exhibit frequent crossovers around the price, leading to whipsaw trades.
-- Subjectivity of Parameters : The choice of length, adaptive parameters, and volatility period requires careful consideration and customization based on individual preferences and trading strategies. Traders need to adjust these parameters to suit the specific market and timeframe they are trading.
Overall, the Adaptive Gaussian Moving Average can be a valuable tool in trend identification and confirmation, especially when combined with other technical analysis techniques. However, traders should exercise caution, conduct thorough analysis, and consider the indicator's limitations when incorporating it into their trading strategies.
TrendFollow-1HThis is a trading strategy specially used on btcusdtperp in binance 1H chart
The most important part of this strategy is to use Support and Resistance with trading volume
Auxiliary indicators are include Directional Movement Index, trading volume, Commodity Channel Index,volume-weighted average price,Range Filter
Why is it not applicable to other trading varieties or exchanges?
Because the activity of each trading target is different from the trading volume, this strategy is very focused on the change of trading volume, so it may not be applicable to every trading variety
The idea of this strategy is to chase when the trend in the market is clear
Determine whether to break support or resistance to identify trends
But the market is full of false breakouts
Therefore, trading volume is an important indicator for judging the true and false.
Therefore, when the price breaks through support or resistance, accompanied by a huge trading volume, and forms a resonance with auxiliary indicators, the strategy will follow the trend, a time stop loss is also set. After entering the market, if there is no immediate profit to the stop profit, you will leave the market first.
But the market is always random, so the profit and loss ratio must be taken into account
Use a fixed stop loss space in exchange for a larger profit space, and ensure that the expected value is positive to make stable profits in the market
Therefore, this strategy uses 3.2% stop loss, 3.3% Take profit1 and 7.2% take profit2
About 1.5:1 profit and loss ratio to ensure positive expected value
Because the market has a clear trend only about 10% of the time
So the trading frequency of this strategy is very low
According to the backtest of up to 2021-01-01 till now , it takes about 5 days to make a transaction
User can choose their own leverage to obtain higher returns. But be sure to prioritize risk.
In order to prevent you from using this strategy without knowing it, the trading date of this strategy is only executed until the release date, and positions will not be opened and closed for subsequent markets.
You can contact me if you want to know more about this strategy
這是專門用於幣安1H圖表中btcusdtperp的交易策略
本策略最重要的部分是將支撐和阻力與交易量一起使用
輔助指標包括ADX,成交量,CCI,VWAP,Range Filter等
為什麼不適用於其他交易品種或交易所?
由於每個交易標的的活躍度與交易量不同,本策略非常注重交易量的變化,因此不一定適用於每個交易品種
這個策略的方法是在趨勢明朗的時候進行趨勢跟隨
確定是否打破支撐或阻力以識別趨勢
但市場充滿假突破
因此,成交量是判斷真假的重要指標。
當價格突破支撐位或阻力位,伴隨著巨大的成交量,並與輔助指標形成共振時,策略會順勢而為,同時設置時間止損。進場後,如果沒有立即獲利到止盈,就離場。
但市場總是隨機的,所以必須考慮盈虧比
用固定的止損空間換取更大的盈利空間,保證預期值為正,才能在市場中穩定獲利
因此,該策略使用 3.2% 止損、3.3% 止盈1 和 7.2% 止盈2
約1.5:1盈虧比,確保正期望值
因為市場只有大約 10% 的時間有明顯的趨勢
所以這個策略的交易頻率很低
根據2021-01-01至今的回測,交易頻率大約5天一次
用戶也可以選擇適合自己的槓桿以獲得更高的收益。但一定要優先考慮風險。
為防止您在不知情的情況下使用本策略,本策略的運行交易的日期僅至2023-05-30止,後續日期將不開倉和平倉。
如果您想了解更多有關此策略的信息,可以聯繫我。
Super Momentum Trend IndicatorThis is a trend momentum indicator that uses some of Ichimoku Cloud's core trading concepts and Supertrend, so before using this indicator, you can first understand Ichimoku Cloud, which is very helpful for understanding this indicator.
There are mainly the following ways to identify trends in Ichimoku Cloud.
1. The price is above or below the Tenkan-sen and the Kijun-sen
2. The Tenkan-sen crosses the Kijun-sen
3. The price breaks or falls below Leading Span B
4. Leading Span A crosses Leading Span B
I converted the above signal into the following expression (see chart):
1. Green dot: the price is above the Tenkan-sen and Kijun-sen
2. Red dot: the price is below Tenkan-sen and the Kijun-sen
3. Orange or blue dot: the price is between Tenkan-sen and Kijun-sen
4. Triangular symbol: the Tenkan-sen crosses the Kijun-sen, and the price continues to stand firmly above or below Kijun-sen by 2 candles (prevent fake moves)
5.B1 signal: the price breaks or falls below Leading Span B
6. B2 signal: Leading Span A crosses Leading Span B (this expresses whether the color of the cloud is green or red in Ichimoku cloud)
The default for this indicator is Ichimoku Cloud turned off so that the charts are simpler, but you can turn it on if you want to check Ichimoku Cloud.
When you use this indicator, you can observe the changes of the dots:
1. The upward trend reverses to a downward trend (see chart)
What you will see is: green dots, orange dots, red dots, unless the price suddenly falls below the Tenkan-sen and the Kijun-sen, then you will see red dots directly without orange dots .
2. The downward trend reverses to an upward trend (see chart)
What you will see is: red dots, blue dots, green dots, unless the price suddenly breaks through the Tenkan-sen and Kijun-sen, then you will see the green dots directly without the blue dots.
The dot is usually the signal on the left-hand side, the triangle is between the left-hand side and the right-hand side, and B1/B2 is the signal on the right-hand side.
I recommend entry trades separately , and using Supertrend to judge the trend. This is why this indicator also adds two Supertrends.
Why not just use the Super Trend indicator?
Because SuperTrend only provides a pure uptrend or downtrend, it does not show the upcoming reversal.
And with the momentum dots added, when you see orange or blue dots, the trend may be about to reverse.
Therefore, this indicator can better capture the changing process of the trend.
What if the momentum dots are not trending as indicated by the SuperTrend indicator?
If the Super Trend shows a downward trend, but you frequently see green and blue dots, it means that the trend is likely to reverse upwards.
On the contrary, if the Super Trend shows an upward trend, but you frequently see red or orange dots, it means that it is likely to reverse downward.
Please remember that when you want to open a position, the trend direction of SuperTrend should be consistent with the direction of the dots momentum and signals. If they are inconsistent, you need more patience to judge the trend direction.
Which signal is most important?
When using these signals, you must remember that the dot belongs to the left-hand side signal, the triangle belongs to the half left-hand side and half right-hand side signal, and B1/B2 is the right-hand side signal. So I think the B1/B2 signal is the most important because of the meaning of B1 It means that the price has broken through the support or resistance of the cloud layer, and the meaning of B2 in Ichimoku Cloud is that the cloud (kumo) has reversed.
I backtested COINBASE:BTCUSDT for several signals of this indicator, and the B2 signal has a higher win rate.
Why two SuperTrends are used?
Because I found that there are many fake moves in the market, using two SuperTrends with different ATR multipliers can effectively identify fake moves.
Most Important Reminder:
The dot display, triangle signal, and B1/B2 signals have a sequential relationship with the timing of their appearance. During the process of trend change, you will definitely see the change of the dot first, then the triangle, and finally B1/B2, this is why I suggest that you should add positions separately.
If the signals on the chart are not displayed in sequence, it means that the trend has not reversed. Then adding positions separately at the beginning can just reduce your loss.
In addition, it is strongly recommended that you must understand the formula of Ichimoku Cloud, otherwise you may misuse this indicator.
How do I use this indicator?
1. I will build positions in batches when I see the triangle, B1, and B2 signals.
2. When you see Supertrend changing trend, or reverse triangle, you can consider ending position.
3. Triangle/B1/B2 and other signals should be in the same direction as Supertrend before entering the market.
4. When you see the green dot, you don’t need to rush to get into the market, you can wait for a triangle signal, because the triangle means that the conversion line (Tenkan-sen) crosses the base line (Kijun-sen), and the price stands firm on the base line (Kijun-sen) two candles above or below
5. If you are not sure why there is a triangle/B1/B2 signal in a certain place, you can open Ichimoku Cloud in settings to confirm for yourself.
========== 中文說明 (Chinese Explanation) ==========
這是一隻趨勢動量指標,使用了部分 Ichimoku Cloud 的核心交易理念與Supertrend,所以在使用這支指標之前,您可以先搞懂 Ichimoku Cloud,對於理解這隻指標很有幫助。
在 Ichimoku Cloud 中主要有以下幾種方式來確定趨勢。
1.價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)上方或下方
2.轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉
3.價格突破或跌破 Leading Span B
4. Leading Span A 與 Leading Span B 交叉
我將上述訊號轉換成以下表達方式(看圖):
1.綠點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之上
2.紅點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之下
3.橘點或藍點:價格在轉換線(Tenkan-sen)與 基準線(Kijun-sen)之間
4.三角形符號:轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉,並且價格持續站穩 Kijun-sen 兩根K線(防止假突破)
5.B1 訊號:價格突破或跌破 Leading Span B
6.B2 訊號:Leading Span A 與 Leading Span B 交叉(這表達為雲的顏色是綠色還是紅色)
這隻指標的預設 Ichimoku Cloud 是關閉的,這樣圖表會更簡單,但如果你想檢查 Ichimoku Cloud ,可以隨時打開。
在你使用這支指標時,可以觀察圓點的變化:
1、向上趨勢反轉成向下趨勢(看圖)
你會看到的點順序是:綠點、橘點、紅點,除非價格突然跌破轉換線(Tenkan-sen)與 基準線(Kijun-sen),這時會直接看到紅點而沒有橘點。
2、向下趨勢反轉成向上趨勢(看圖)
你會看到的點順序是:紅點、藍點、綠點,除非價格突然突破轉換線(Tenkan-sen)與 基準線(Kijun-sen),這時會直接看到綠點而沒有藍點。
圓點通常是左側訊號,三角形介於左側與右側之間,而B1/B2則是右側訊號,我建議將倉位根據訊號顯示的前後順序分批下單,並且搭配 Supertrend來判斷趨勢,這也是為什麼這隻指標還加上了兩條 Supertrend 的原因。
為什麼不單純使用 Super Trend 指標?
因為 SuperTrend 只提供了單純的向上趨勢或向下趨勢,而不會顯示即將到來的反轉。
而加上動量圓點之後,當你看見橘點或藍點時,代表趨勢可能即將反轉。
因此這隻指標更能捕捉到趨勢的變化過程。
如果動量圓點跟 SuperTrend 指標顯示的趨勢不一樣怎麼辦?
如果 Super Trend 顯示向下趨勢,而你卻頻繁看到綠點跟藍點,代表趨勢很可能會向上反轉。
相反的,如果 Super Trend 顯示向上趨勢,而你卻頻繁看到紅點或橘點,代表很可能要向下反轉。
請記得,當你要建立倉位時,SuperTrend 的趨勢方向應該跟原點動量的方向是一致的,如果這兩個方向不一致,你需要更多的耐心來判別趨勢方向。
哪個訊號最重要?
使用這些訊號時必須記得,圓點屬於左側訊號,三角形屬於半左側半右側訊號,而B1/B2則是右側訊號,真的要我說的話,我認為B1/B2訊號最重要,因為B1的意義代表價格突破了雲層支撐或阻力,而B2在 Ichimoku Cloud 裡面的意義是雲朵(kumo)發生了反轉。
我針對這隻指標的幾個訊號對COINBASE:BTCUSDT進行了回測,B2訊號有較高的勝率。
為什麼使用了兩條 SuperTrend ?
因為我發現在市場經常會產生假突破,使用兩條 SuperTrend 並設置不同的 ATR 乘數,可以有效識別假突破。
最重要的提醒:
圓點的顯示、三角形訊號、B1/B2 這幾種訊號,它們出現的時間點是有順序關係的,趨勢轉變的過程,你一定會先看見圓點的變化,然後是出現三角形,最後出現B1/B2,這也是為什麼我建議你應該分批下單,如果圖表上的訊號沒有按照順序先後顯示,表示趨勢並沒有反轉,那麼一開始的分批下單,剛好可以降低你的虧損。
另外強烈建議,務必搞懂 Ichimoku Cloud 的公式,否則你可能會誤用這個指標。
我是如何使用這隻指標?
1.我會在看見三角形、B1、B2訊號時,分批建倉。
2.當你看到Supertrend改變趨勢,或是反向三角形時,可以考慮賣出。
3.三角形/B1/B2等訊號應該跟Supertrend是同一個方向時才可以進場。
4.當你看見綠點時,可以不用著急做多,可以再等一個三角形的訊號,因為三角形表示轉換線(Tenkan-sen)與 基準線(Kijun-sen)交叉,並且價格站穩在基準線(Kijun-sen)之上或之下兩天
5.如果你不確定某個地方為什麼會有三角形/B1/B2訊號,可以打在設定中打開Ichimoku Cloud自行確認。
Strongest TrendlineUnleashing the Power of Trendlines with the "Strongest Trendline" Indicator.
Trendlines are an invaluable tool in technical analysis, providing traders with insights into price movements and market trends. The "Strongest Trendline" indicator offers a powerful approach to identifying robust trendlines based on various parameters and technical analysis metrics.
When using the "Strongest Trendline" indicator, it is recommended to utilize a logarithmic scale . This scale accurately represents percentage changes in price, allowing for a more comprehensive visualization of trends. Logarithmic scales highlight the proportional relationship between prices, ensuring that both large and small price movements are given due consideration.
One of the notable advantages of logarithmic scales is their ability to balance price movements on a chart. This prevents larger price changes from dominating the visual representation, providing a more balanced perspective on the overall trend. Logarithmic scales are particularly useful when analyzing assets with significant price fluctuations.
In some cases, traders may need to scroll back on the chart to view the trendlines generated by the "Strongest Trendline" indicator. By scrolling back, traders ensure they have a sufficient historical context to accurately assess the strength and reliability of the trendline. This comprehensive analysis allows for the identification of trendline patterns and correlations between historical price movements and current market conditions.
The "Strongest Trendline" indicator calculates trendlines based on historical data, requiring an adequate number of data points to identify the strongest trend. By scrolling back and considering historical patterns, traders can make more informed trading decisions and identify potential entry or exit points.
When using the "Strongest Trendline" indicator, a higher Pearson's R value signifies a stronger trendline. The closer the Pearson's R value is to 1, the more reliable and robust the trendline is considered to be.
In conclusion, the "Strongest Trendline" indicator offers traders a robust method for identifying trendlines with significant predictive power. By utilizing a logarithmic scale and considering historical data, traders can unleash the full potential of this indicator and gain valuable insights into price trends. Trendlines, when used in conjunction with other technical analysis tools, can help traders make more informed decisions in the dynamic world of financial markets.
V2 Indicator: A Unique IndicatorV2 Indicator: A Unique Indicator Combining Percentage Level and 5MWAP
V2 Indicator is an innovative trading tool developed by Najoomi Ji. It incorporates a combination of percentage levels and the 5MWAP (5 Moving Weighted Average Price) to provide valuable insights into market trends. The concept of percentage chart trading was inspired by the late Gurbachan Singh, the father of Najoomi Ji.
The primary rule of the V2 Indicator involves plotting lines on the chart based on the daily market open level and the percentage levels. At the start, a line is drawn 5% above and below the market open level on both sides. The indicator identifies the direction in which the market breaks out and prompts traders to enter the market accordingly.
To manage risk effectively, trailing stop-loss levels are employed in the V2 Indicator. These levels are set at significant percentage levels, such as 5%, 35%, 65%, and 95%. The market tends to respect these levels, making them crucial points for adjusting stop-loss orders.
Traders utilizing the V2 Indicator gain an advantage by closely monitoring the interplay between percentage levels and the 5MWAP. This indicator allows them to make informed decisions about market entry points, as well as effectively manage their trades by utilizing trailing stop-loss orders.
By combining the expertise of Najoomi Ji and the inspiration from Gurbachan Singh, the V2 Indicator offers a unique approach to trading, providing traders with a comprehensive tool for identifying market trends and managing risk effectively.
Crypto Trend IndicatorThe Crypto Trend Indicator is a trend-following indicator specifically designed to identify bullish and bearish trends in the price of Bitcoin, and other cryptocurrencies. This indicator doesn't provide explicit instructions on when to buy or sell, but rather offers an understanding of whether the trend is bullish or bearish. It's important to note that this indicator is only useful for trend trading.
The band is a visual representation of the 30-day and 60-day Exponential Moving Average (EMA). When the 30-day EMA is above the 60-day EMA, the trend is bullish and the band is green. When the 30-day EMA is below the 60-day EMA, the trend is bearish and the band is red. When the 30-day EMA starts to converge with the 60-day EMA, the trend is neutral and the band is grey.
The line is a visual representation of the 20-week Simple Moving Average (SMA) in the daily timeframe. "Bull" and "Bear" signals are generated when the 20-day EMA is either above or below the 20-week SMA, in conjunction with a bullish or bearish trend. When the band is green and the 20-day EMA is above the 20-week SMA, a “Bull” signal emerges. When the band is red and the 20-day EMA is below the 20-week SMA, a “Bear” signal emerges. The 20-week SMA can potentially also function as a leading indicator, as substantial price deviations from the SMA typically indicate an overextended market.
While this indicator has traditionally identified bullish and bearish trends in various cryptocurrency assets, past performance does not guarantee future results. Therefore, it is advisable to supplement this indicator with other technical tools. For instance, range-bound indicators can greatly improve the decision-making process when planning for entries and exits points.
True Trend Oscillator [wbburgin]The True Trend oscillator identifies trending or ranging markets with a stochastic ATR and RSI. Here are some examples for how it can be used.
Uptrends
If the candlesticks are lime green, this signals an uptrend. On the oscillator, you can identify an uptrend if the bull strength (the green line) is above the bear strength (the red line). The strength of the uptrend and the downtrend can be found by looking at the slope of these lines.
Downtrends
If the candlesticks are red, this signals a downtrend. On the oscillator, notice how the bear strength line is above the bull strength line.
Ranging Markets and Pullbacks
The True Trend oscillator can also be used to identify ranging markets or pullbacks. Let's look at the previous example again:
If you notice that the bull and bear lines are bouncing above the red weak-trend zone (as in the example above), this signals an extended trend. On the contrary, when the bull and bear lines fall into the weak-trend zone, this may indicate a larger pullback or a range to look to enter a trade again, as in this example, where the ranging candles in gray demonstrate temporary pullbacks in a larger bullish trend:
Ranges can also occur before trend reversals, so a range may also indicate a smart time to secure profits.
You can customize the ranging threshold in the settings. It can be set from 0-100 because the indicator is a stochastic.
Hope you all find this indicator useful!
Advanced Trend Channel Detection (Log Scale)The Advanced Trend Channel Detection (Log Scale) indicator is designed to identify the strongest trend channels using logarithmic scaling. It does this by calculating the highest Pearson's R value among all length inputs and then determining which length input to use for the selected slope, average, and intercept. The script then draws the upper and lower deviation lines on the chart based on the selected slope, average, and intercept, and optionally displays the Pearson's R value.
To use this indicator, you will need to switch to logarithmic scale. There are several advantages to using logarithmic scale over regular scale. Firstly, logarithmic scale provides a better visualization of data that spans multiple orders of magnitude by compressing large ranges of values into a smaller space. Secondly, logarithmic scale can help to minimize the impact of outliers, making it easier to identify patterns and trends in the data. Finally, logarithmic scale is often utilized in scientific contexts as it can reveal relationships between variables that may not be visible on a linear scale.
If the trend channel does not appear on the chart, it may be necessary to scroll back to view historical data. The indicator uses past price data to calculate the trend channel, so if there is not enough historical data visible on the chart, the indicator may not be able to identify the trend channel. In this case, the user should adjust the chart's timeframe or zoom out to view more historical data. Additionally, the indicator may need to be recalibrated if there is a significant shift in market conditions or if the selected length input is no longer appropriate.
Heikin Ashi with EMA, BB, MomentumConvenient indicator to confirm a trend using heikin ashi candles.
The EMA 9 periods can be used as a trend confirmation using both the location of price and the slope of the EMA
Bollinger bands and their ma20 allows to account for volatility, range, squeeze, excess etc
This is all combined with a fast and slow momentum indicator based on the MACD.
The dots illustrate a slow/long-term momentum while the background color is the fast momentum.
Very useful indicator in my opinion to visualize the trend and momentum at the same time
TrendDECODER by MetaSignalsProTrendDECODER
The fastest indicator to detect trends and price ranges
-------------------------------------------------------------------
✔️ Identify ranges and the next probable direction
✔️ Get the earliest signals and the strength of Trends
✔️ Get clear exits signals before reversal
✔️ Spot the Fibo levels the price will test
-------------------------------------------------------------------
📌 What is it about ?
--------------------------
TrendDECODER is a concentrate of multiple innovations to make Trend following simple and easy.
Please see in the 🛠️ Calculation & Precisions section at the end of this page to know more how they work.
👉 With the GreyBox - identify when the market gets out of the Trend with a new sequence of transition. Check if the market is in Range, Continuation or Reversal (Up or Down) and wait for the closing of the box to get the Trend signal.
👉 With the DecoderSignals & Blue/Orange Clouds - once the GreyBox has delivered its message, get the new direction of the Trend and see the probable zones of pull backs during the current direction.
👉 With the Projective TrendLine - see before it happens the direction and the possible angle of the Trend with its probable range.
👉 With the RealTime TrendLine vs the Projective TrendLine - adjust immediately if the market accelerates North or South.
👉 With the RealTime TrendLine Crossing - detect at the earliest the moment the Trend gets out of track, to get out of the train.
👉 With the FiboLevels - spot immediately which price levels the market will test.
📌 For which asset?
-----------------------
TrendDECODER is universal : it works fine on all assets and all time-frames;
☝️ always work on a multi-timeframe environment to minimize risk;
📌Why we made these innovations?
---------------------------------------------
Because the trend indicators that we know, lag a lot and do not clearly identify ranges!
We need much more powerful tools than Supertrend or a couple of moving averages crossings to get this done.
📌 How to trade with TrendDECODER?
----------------------------------------------
🔹 Strategy #1: Trend Following : DecoderSignals & Blue/Orange Clouds
----------------------------------------------------------------------------------------
The GreyBOX has given the next probable movement and the Signal of a Trend in on.
The RealTime TrendLine guides us on the pace of this movement and the Blue/ Orange/Cloud figures the support/resistance of this movement.
It will be wise not to jump immediately in the Trend as the signal appears as the price will very probably make a pullback in direction of the cloud first.
🔹 Strategy #1: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Main Time Frame: appearance of the « TrendUp Signal » or the « TrendDown Signal »
📍 Entry:
☝️ buying « at Market » immediately on a « Trend Signal » is quite risky as many times the price will pull back near the Clouds
👉 a good option is to buy 1/2 the position at market on signal
👉 and 1/2 after the first pull back
📍 First Stop Loss: place your SL under the lower border of the GreyBox for an expected TrendUp or the higher border for an expected TrendDown
📍 BreakEven: when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🔹 Strategy #2: Early Trend following : RealTime TrendLine Crossing
-------------------------------------------------------------------------------------
With this simple tool, get a very early signal of a probable inversion of the current Trend, way before the Decoder Signal is shown, once confirmed by the GreyBOX.
🔹 Strategy #2: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Entry (Main Time Frame): wait for the Close crossing over the ReaTime TrendLine in an expected TrendUp (under for a TrendDown )
📍 First Stop Loss (Main Time Frame):
👉 place your SL under the lower low of the GreyBOX (for an expected TrendUp) or the higher high (for an expected TrendDown)
📍 BreakEven: move your SL to Entry price when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🎛️ Configuration
---------------------
Well, basically you do not have to do anything !
But you can make TrendDECODER perfectly yours with a few switches in the configuration panel to make appear or disappear each one of the elements composing TrendDECODER.
🛠️ Calculation & Precisions
------------------------------------
🔹 Blue/Orange Clouds
The Blue/Orange Clouds are a proprietary synthesis of Price Action and Volume Exchange in real time.
🔹 Projective TrendLine
As soon as a new high or a new low has been reached during the last move, TrendDECODER traces a possible angle of the future movement based on the pace of the last one in the same direction.
The distance between the Projective TrendLine and the Last Lowest (resp. Highest) gives you a possible bottom (resp. top) of the price range.
🔹 RealTime TrendLine
As soon as the Decoder GreyBox has delivered its information i.e Range/Continuation/ReversalUp/ReversalDown and that a New High (resp. New Low) has been reached, the RealTime TrendLine starts to show the pace and the angle of the new movement based on a linear regression adanced concept.
The angles of the Projective and the RealTime TrendLine can be identical, telling you that the market moves smoothly in a global consensus. It can be a smart Trailing Stop Loss.
Or these angles can be very different and it will call your maximum attention. You might want to switch to a superior timeframe to get the bigger picture.
🔹 FiboLevels
Once a new Trend is signaled, the levels of Fibonnaci are automatically placed.
They are calculated on the last Highest and Lowest of the former movement.
Normalized KAMA Oscillator | Ikke OmarThis indicator demonstrates the creation of a normalized KAMA (Kaufman Adaptive Moving Average) oscillator with a table display. I will explain how the code works, providing a step-by-step breakdown. This is personally made by me:)
Input Parameters:
fast_period and slow_period: Define the periods for calculating the KAMA.
er_period: Specifies the period for calculating the Efficiency Ratio.
norm_period: Determines the lookback period for normalizing the oscillator.
Efficiency Ratio (ER) Calculation:
Measures the efficiency of price changes over a specified period.
Calculated as the ratio of the absolute price change to the total price volatility.
Smoothing Constant Calculation:
Determines the smoothing constant (sc) based on the Efficiency Ratio (ER) and the fast and slow periods.
The formula accounts for the different periods to calculate an appropriate smoothing factor.
KAMA Calculation:
Uses the Exponential Moving Average (EMA) and the smoothing constant to compute the KAMA.
Combines the fast EMA and the adjusted price change to adapt to market conditions.
Oscillator Normalization:
Normalizes the oscillator values to a range between -0.5 and 0.5 for better visualization and comparison.
Determines the highest and lowest values of the KAMA within the specified normalization period.
Transforms the KAMA values into a normalized range.
By incorporating the Efficiency Ratio, smoothing constant, and normalization techniques, the indicator actually allows for the identification of trends on different timeframes, even in extreme market conditions.
The normalization makes it much more adaptive than if you were to just use a normal KAMA line. This way you actually get a lot more data by looking at the histogram, rather than just the KAMA line.
I essentially made the KAMA into an oscillator! Please ask if you want me to code another indicator
I hope you enjoyed this.
Please ask if you have any questions<3
Sebastine Trend CatcherSebastine Trend Catcher captures trends in any time frame in a very simple fashion. Green line crossing up above the signal zero line is uptrend. Red line crossing down the signal zero line is downtrend. The indicator line is presented by default as a step line, which gives an idea on how the trend moves inside the bigger trend. But it should be specifically understood that a trend starts only when the indicator crosses the signal zero line. The ups and downs in the indicator step line until crossing signal zero line is only small corrections and bounces inside a trend. Sebastine trend catcher captures trends smoothing prices in 2 steps. The indicator banks profusely on the idea of jackvmk’s Heiken Ashi Candles. The indicator presented in a centred oscillator fashion in a bottom panel helps understand the main trend and its different shades inside the trend in a clearly discernible manner with sharp entry signals when crossing zero line. The indicator could be used from Daytrading to Investment Trading. As usual this indicator too could produce overshoots and error signals and be better used with other indicators. The settings can be varied and experimented for any given scrip, timeframe or stock exchange.
Simple Moving Average Slope [AstrideUnicorn]The Simple Moving Average Slope indicator (SMAS) is a technical analysis tool designed to help traders detect the direction and strength of the current trend in the price of an asset. It is also a great tool for identifying sideways markets. The indicator plots the slope of a simple moving average (SMA) of the closing prices over a specified time period. The slope is normalized by dividing it by the standard deviation of the slope over a longer time period.
HOW TO USE
Traders can use the Simple Moving Average Slope indicator in various ways. One common way is to look for bullish or bearish signals. A bullish signal occurs when the normalized slope rises above a predetermined threshold, resulting in the indicator turning green, indicating an upward trend in the market. Conversely, a bearish signal is generated when the normalized slope falls below the negative value of the threshold, causing the indicator to turn red, signaling a downtrend in the market. When the normalized slope falls between the positive and negative threshold values, a neutral signal is generated, indicating that the market is moving sideways. This can help traders avoid false trend signals from other indicators and strategies that may occur when the market is in a sideways regime. Additionally, traders can use the Simple Moving Average Slope indicator in conjunction with other technical indicators to confirm the trend direction.
SETTINGS
Window - specifies the number of bars used to calculate the SMA slope. The default value is 20.
Threshold - specifies the threshold value used to generate the bullish and bearish signals. The default value is 0.6. Traders can adjust these settings based on their trading strategy and the asset being analyzed.
Angle-based Trend IndicatorI couldn't find this anywhere else, at least not in the simple way I wanted it.
1. choose a source
2. choose a look-back period
3. choose an angle
The indicator will show you the degree of the trend of the look-back period, and color the line according to bearish or bullish. Also, this is my first script, please be kind.
Trend Reversal System with SR levelsHello All,
This is the Trend Reversal System with Support/Resistance levels script. long time ago I published it as closed source but now I upgraded it and and published as open-source with a different name. I hope it would be useful for you all while trading/analyzing.
The script has some parts in it: Setup, Count, SR levels, Risk levels & Targets . Now lets check them:
Setup Part: it has two part, Buy or Sell Setup. one of them can be active only. Buy setup: if current close checks if current is lower/equal than the close of the 5. bar. if yes then the script increases number of buy setup. and if it reaches 9 then the script checks if current low is lower/equal than the lows of last 3. and 4. bars, or if the low of the last bar is lower/equal than the lows of last 3. and 4. bars. if yes then the script increases the buy setup by 1. if these conditions met then it puts the label 'S' , same for Sell setup. S labels on both setup are potential reversals.
Count Part: If buy or sell setup reaches the 9 then Count part starts from 1. lets see buy count: If current close is lower/equal than the low of the 3. bar and buy count is lower than 12 or low of the bar 13 is less than or equal to the close of bar 8 then buy count increase or it's completed. if it's completed then the script puts C label, and it's potential reversal. of course there are some conditions that can cancel the count buy/sell or recycle/restart.
By using Setup and Count levels the script can show Support/Resistance Levels, Risk levels & Targets. SR levels are potential reversal levels.
Lets see some example screenshots:
Support/Resistance levels:
Potential Reversal levels and how setup/counts are shown:
Count part can recycle and the script shows it as 'R' , ( you can see the conditions for Recycle in the script ):
Count can be cancelled and and it's shown as 'x'
If the scripts find 9 on Setup or 13 on Count then it checks if it's a good level to buy/sell and if it decides it's good level then it shows TRSSetup Buy/Sell or TRSCount Buy/Sell and also shows the target. in following example the script checks and decide it's a good level to take long position. it can be aggressive or conservative, Conservative is recommended.
Enjoy!
RiverFlow ADX ScreenerRiverFlow ADX Screener, Scans ADX and Donchian Trend values across various Timeframes. This screener provides support to the Riverflow indicator. Riverflow concept is based on Two indicators. Donchian Channel and ADX or DMI.
How to implement?
1.Donchian Channel with period 20
2. ADX / DMI 14,14 threshold 20
Entry / Exit:
1. Buy/Sell Signal from ADX Crossovers.
2. Trend Confirmation Donchian Channel.
3. Major Trend EMA 200
Buy/Sell:
After a buy/sell is generated by ADX Crossover, Check for Donchian Trend. it has to be in same direction as trend. for FTT trades take 2x limit. for Forex and Stocks take 1:1.5, SL must be placed below recent swing. One can use Riverflow indicator for better results.
ADX Indicator is plotted with
Plus: Green line
Minus: Red Line
ADX strength: plotted as Background area.
TREND: Trend is represented by Green and Red Area around Threshold line
Table:
red indicates down trend
green indicates up trend
grey indicates sideways
Weak ADX levels are treated sideways and a channel is plotted on ADX and PLUS and MINUS lines . NO TRADES are to be TAKEN on within the SIDEWAYS region.
Settings are not required as it purely works on Default settings. However Donchian Length can be changed from settings.
Timeframes below 1Day are screened. Riverflow strategy works on timeframe 5M and above timeframe. so option is not provided for lower timeframes.
Best suits for INTRADAY and LONG TERM Trading
Fib Retracement AlgoFib Retracement Algo
Description: This indicator has a series of steps that it takes before it finds possible retracement areas depending on the trend. The indicator itself is really simple to use.
How does it work?
This indicator uses the Hurst Exponent to verify whether or not the market is trending or not. It then determines the trend and then decides which retracement is possible.
If the hurst is below 0.5, then the retracement lines won't appear; they only appear in a trending market above 0.5 if you don't see the lines.
How Traders can use this indicator
Traders who trade bounces or retracements can use this indicator and enjoy the verification process that goes behind finding these retracements. This indicator can also be used to identify possible gaps on some occasions.
Examples of the indicator:
ADX Trend FilterADX Trend Filter Indicator is a traditional ADX indicator with a different presentation. its consist of two indicators EMA TREND and ADX / DMI
About Indicator:
1. BAND / EMA band to represent EMA Trend of EMA-12 and EMA-50
(Band is plotted at level-20 which is the Threshold level of DMI / ADX indicator)
2. Histogram showing the direction of ADX / DMI trend
3. Area behind the histogram showing ADX/DMI strength
How to use?
1. Histogram represents current Trend Red for Bearish / Green for Bullish
2. Area behind the histogram represents Strength of ADX / DMI Threshold level is 0-20(represented as band). (Area below the Band is Sideways)
3. Band represents the current MA Trend.
4. Buy Sell signals are plotted as triangles in red/green obtained from ADX / DMI Crossovers
Buy Signal (Green Triangle on band- ADX Crossover)
1.Band below Histogram must be Green
2.Histogram must be green
3.Area behind histogram must be above the lower trend band (20level) and visible
Sell Signal (Red Triangle on band- ADX Crossover)
1.Band below Histogram must be Red
2.Histogram must be Red
3.Area behind histogram must be above the lower trend band (20level) and visible
Alerts provided for ADX crossovers.
Trend Following with Dynamic Price ZonesThis script provides a complete framework for following trends , especially on those assets which are sufficiently liquid and don't go through random spikes.
Since it is a trend-following system, it works well during trends only. However, I cannot claim any numbers since the execution requires some discretion at the user's end. This framework can also be combined with other technical tools such as trend lines to increase its efficacy.
Features:
Dynamic Price Zones:
• The Dynamic Price Zones (DPZ) are determined using a proprietary logic that incorporates price movement and certain other factors.
• These zones change more rapidly than conventional support and resistance (S/R) zones, which is why I have named them "Dynamic".
• DPZs can serve as support and resistance zones and help with trend identification to some extent.
• The upper boundary of a zone is called Dynamic Price Zone High (DPZ-H) , while the lower boundary is called Dynamic Price Zone Low (DPZ-L) .
Colour Bars:
• Candle colours are based on another proprietary logic, independent of dynamic price zones .
• These are not traditional moving average-based coloured bars, which is evident from the presence of uncoloured bars in between.
• The uncoloured bars indicate periods of uncertain trends .
• Colour functionality helps in smoothening the trend and assists in riding it for as long as possible.
Stats Table:
• RSI
• VWAP
• % Change from the previous day's closing
• Dynamic Price Zone High (DPZ-H) value
• Dynamic Price Zone Low (DPZ-L) value
Settings:
• DPZs are displayed as horizontal lines with background fill by default, but users can toggle lines and background fill on or off.
• Bar colours can be customized according to user preferences.
• The table can be enabled or disabled based on user input.
• The position of the table can be changed based on 4 available options: Top Left, Top Right, Bottom Left, and Bottom Right.
• Users can toggle individual table fields on or off . For example: If the user wants to hide "Vwap" and "%Change" values, he can turn them off. In that case, only 3 fields will be displayed on the table without occupying additional space.
• Background and text colours for each field of the table can be customized based on user preferences.
How to Use the Dynamic Price Zones:
• When the price is above a DPZ, it indicates a bullish trend , suggesting the possibility of higher prices. These zones are termed Bullish DPZs.
• Conversely, if the price is below a DPZ, it signals a bearish trend , with an expectation of lower prices. These zones are termed Bearish DPZs.
• In a trending market, when the price returns to a previous DPZ, it can present a trading opportunity in the direction of the prior trend (e.g., if the market is falling and the price returns to a previous DPZ, it is likely to reject it).
• Consecutive ascending DPZs indicate a shift in buyers from lower to higher levels and can provide buying opportunities. This also indicates a period of a strong bullish trend.
• Similarly, consecutive descending DPZs indicate a shift in sellers from higher to lower levels and can provide selling opportunities. This also indicates a period of a strong bearish trend.
• Please note that we must be flexible when determining the consecutive zones. For example: There may be a few smaller bearish DPZs in between the bullish DPZs but if the area is dominated by the bullish DPZs then we can consider the zones as consecutive. Similar is true for bearish consecutive zones.
• Closely stacked or adjacent zones suggest that prices will likely remain within a range, moving sideways.
• Wider zones act as big hurdles and, the price may struggle to cross them. They may also lead to a sideways movement.
• Zones that remain clean and untested for several sessions are likely to act as strong support or resistance when the price revisits them.
Bullish Examples:
Bearish Examples:
Some Examples of the Complete System
Trend follower system combined with Trendlines
Special Thanks
I would like to extend my special thanks to all the experts whose lectures and blogs I have studied to gain a limited yet significant knowledge of the Pine language.
Best regards,
Rajat Kumar Singh (@johntradingwick)
Community Manager (India), TradingView.