Momentum CloudThis is a modified Ichimoku Cloud:
-The default Lookback-Length and Displacement settings have been modified to operate optimally on 24/7 markets - which is popular among Crypto analysts.
-The Lagging Span, Base Line, and Conversion Line have been removed - leaving just the bare cloud.
-Additionally, the Cloud's color will shift blue when it is compressed. (More specifically - when Leading Span A retreats to Leading Span B, the color changes.)
This allows the user to easily identify when the Cloud is "thinning", either to the upside, or the downside.
Being that the "spread" or "width" of an Ichimoku Cloud generally gauges it's efficacy as potential Support or Resistance, this tool is particularly useful for highlighting when momentum is weakening.
*This script will be updated in the future to allow the user to view the Momentum Cloud of alternate time-frames! (e.g, Viewing the 1D Momentum Cloud on the 1H timeframe)
Cari dalam skrip untuk "ichimoku"
1 Indicator to rule them allThe best combination indicator consisting of 4 SMA's, 4 EMA's, Donchian Channels, Parabolic SAR, Bollinger Bands, Ichimoku Cloud, a trend strength highlight for the bollinger bands background according to the ADX, labels on the chart to draw in when the Directional Index plus and minus cross, and a background highlight for low and high volatility according to the Historical Volatility Percentile.
The Indicators and placed and group intentionally, with the SMA and EMA's next to the Donchian Channels to draw in areas of support and resistance, with the parabolic SAR afterwards for confirmation on entries and exits.
Next are the Bollinger Bands and the Ichimoku cloud, which when used in combination by an experienced trader allows one to see the trend and spot any developing opportunities at a glance. These can be used in combination with the ADX background in the bolls to point out when trends start and end.
The Directional Indexes crossing implies a equilibrium point has been reached between the buy and selling pressure. Finally the background highlight according to low and high periods of volatility does well to ensure you're entering into the best trades at the best times.
These indicators used together in combo with momentum oscillators will lead to a full and complete picture of the trend and the most likely places for future price to come, allowing a holistic view and confluence between different, noncollinear indicators to paint occam's razor onto the charts.
Moving Avareges CrossIn this script I have combined 3 indicators Ichimoku, Heiken Ashi and Moving Average Exponential.
In this strategy, you should first look for the current market trend in low time frames.
Then look at the higher time frames to decide if you are in the right place to enter the trade.
For example, in 1 minute time frame, we first look at whether the two averages 21 and 233 had a cross or not.
If the moving average of 21 crosses the moving average of 233 from the bottom up and the end of the line moves the moving average of 233 upwards, it can be concluded
The market trend in time frame has changed for 1 minute and is up.
Then we refer to the time frames of 3, 5 and 15 minutes and check the same conditions there.
If 3 of the 4 time frames have the same conditions, we use Heiken Ashi to check the strength of the wave that is formed.
And also by looking at Ichimoku we will see where this Kumo cloud formed this wave.
If these conditions are met, a serious decision can be made to enter the position.
Higher time frames such as 30 minutes or 1 hour and 4 hours can also be used to find important resistance and support pivots.
In this way, the average of 233 and 21 and the formation of the current candlestick give us an acceptable range for fluctuation.
Chikou Support and Resistance by TheSocialCryptoClubName: Chikou Supports and Resistances
Category: Indicator
Timeframe: Any Timeframe.
Description: Chikou Support and Resistance is an indicator which allows to represent on the chart the price structures identified by the cusps formed by the Ichimoku Kinko Hyo Chikou, Chikou is the line chart of close price projected in the past as per Kijun periods.
Suggested usage: Use on any timeframe. It is possible to calculate cusp only in a certain period and in a different time frame, and select those calculated by specific lines.
Technical Details: Internally it uses an Array to store the levels of when the Chikou bounces using the Zig-Zag indicator. At the last bar it prints the various lines on the screen.
 
Credits:
 - Techniques has been explained by Corrado Rondelli in "Strategie di trading con l’indicatore Ichimoku Kinko Hyo"
 - It is based on the Zig-Zag indicator of TradingView to calculate the Zig-Zag.
Kijun Trend IndicatorName:  Kijun Trend Indicator 
Category:  Trend Analysis 
Timeframe:  All timeframes 
Suggested usage: In a trending market, to understand when it is good to enter short (red line) and when to enter long (blue line).
Technical Analysis: The original idea was taken from Larry Williams: an uptrend is identified when the price is above an 18-period simple moving average (SMA) and when at least two candles do not touch the simple moving average with their lows. The opposite is true for a downtrend.
Corrado Rondelli has therefore reinterpreted with Ichimoku aka "ichimokized" replacing the 18-period Simple Moving Average with the 26-period Kijun - as per the original Ichimoku settings.
In order to make the indicator more flexible an Exponential Moving Average (EMA) has also been added.
The indicator plots the chosen line that becomes red when it is good to enter short and blue when it is good to enter long.
Configuration:
- Length: period to be used to calculate the line.
- Type: the line type that can be the Kijun (26-period) or SMA/EMA (18-period)
FARAZ.MATI20vA personal indicator.
This indicator has the following features :
Thanks to the managers and administrators of TradingView site for the appropriate space with wide facilities for optimal use. All (indicators) were available on the site and I only defined certain settings for them.
FARAZ.MATI20v
EMA: 5
SMA : 20
SMA : 50
Collision and interruption of Moving 20 by Moving 5 can be the beginning of an upward trend. Provided that the Moving 5 is placed under the candles. (The best signal for the Moving 5 is to collide with the Moving 20 under the candles). Also, the collision of the Moing 5 with the Moing 20 on top of the candles can be a sign of falling. Especially if this collision occurs above the candles.The cut of the Moving 20 and the Moving 50 indicate the intensity of the wave. If Moving 20 is above Moving 50 in this collision, it shows the intensity of the uptrend and if it is below Moving 50, it shows the intensity of the downtrend.
SMA : 100
SMA : 200
Both (resistance and support) are very strong, which is very effective in larger timeframes (such as 1 day).
HMA : 20
To determine the entry point. In such a way that whenever the seeds (HMA) are below the candlesticks. 3 seeds are in ascending position. The body of the candle and the shadow should not touch them. It can be a good signal to enter. Also if the seeds are placed on top of the candlesticks. Show the descending direction of 3 seeds. Provided that the body of the candle and the shadow have not hit them. It is a signal for the short position.
SAR :  With the applied settings, it is a kind (trending view) that can evaluate the volume of input to any currency much sooner and determine the probability of rising or falling. If our wave lines (stairs) are at the bottom of the candles, it means an upward trend, and if they are at the top of the candles, it means a downward trend. As the volume of inputs increases, the trend increases, and as the volume of inputs decreases, the trend will also decrease.
Ichimoku Cloud : To determine the lines (support and resistance) the peaks formed by the cloud can represent a resistance area. Price To cross the area marked by the Ichimoku cloud must have a strong candle. This can be very effective in determining the point of entry and purchase.
zig zag : For better diagnosis of the process. Using it to determine areas of support and resistance can be useful. Determining the points of the Fibonacci table is also very effective.
taLibrary   "ta" 
█  OVERVIEW 
This library holds technical analysis functions calculating values for which no Pine built-in exists.
 Look first. Then leap.  
█  FUNCTIONS 
 cagr(entryTime, entryPrice, exitTime, exitPrice) 
It calculates the "Compound Annual Growth Rate" between two points in time. The CAGR is a notional, annualized growth rate that assumes all profits are reinvested. It only takes into account the prices of the two end points — not drawdowns, so it does not calculate risk. It can be used as a yardstick to compare the performance of two instruments. Because it annualizes values, the function requires a minimum of one day between the two end points (annualizing returns over smaller periods of times doesn't produce very meaningful figures).
  Parameters:
     entryTime : The starting timestamp.
     entryPrice : The starting point's price.
     exitTime : The ending timestamp.
     exitPrice : The ending point's price.
  Returns: CAGR in % (50 is 50%). Returns `na` if there is not >=1D between `entryTime` and `exitTime`, or until the two time points have not been reached by the script.
█  v2, Mar. 8, 2022 
Added functions `allTimeHigh()` and `allTimeLow()` to find the highest or lowest value of a source from the first historical bar to the current bar. These functions will not look ahead; they will only return new highs/lows on the bar where they occur.
 allTimeHigh(src) 
Tracks the highest value of `src` from the first historical bar to the current bar.
  Parameters:
     src : (series int/float) Series to track. Optional. The default is `high`.
  Returns: (float) The highest value tracked.
 allTimeLow(src) 
Tracks the lowest value of `src` from the first historical bar to the current bar.
  Parameters:
     src : (series int/float) Series to track. Optional. The default is `low`.
  Returns: (float) The lowest value tracked.
█  v3, Sept. 27, 2022 
This version includes the following new functions: 
 aroon(length) 
  Calculates the values of the Aroon indicator.
  Parameters:
     length (simple int) : (simple int) Number of bars (length).
  Returns: ( [float, float ]) A tuple of the Aroon-Up and Aroon-Down values.
 coppock(source, longLength, shortLength, smoothLength) 
  Calculates the value of the Coppock Curve indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     longLength (simple int) : (simple int) Number of bars for the fast ROC value (length).
     shortLength (simple int) : (simple int) Number of bars for the slow ROC value (length).
     smoothLength (simple int) : (simple int) Number of bars for the weigted moving average value (length).
  Returns: (float) The oscillator value.
 dema(source, length) 
  Calculates the value of the Double Exponential Moving Average (DEMA).
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The double exponentially weighted moving average of the `source`.
 dema2(src, length) 
  An alternate Double Exponential Moving Average (Dema) function to `dema()`, which allows a "series float" length argument.
  Parameters:
     src : (series int/float) Series of values to process.
     length : (series int/float) Length for the smoothing parameter calculation.
  Returns: (float) The double exponentially weighted moving average of the `src`.
 dm(length) 
  Calculates the value of the "Demarker" indicator. 
  Parameters:
     length (simple int) : (simple int) Number of bars (length).
  Returns: (float) The oscillator value.
 donchian(length) 
  Calculates the values of a Donchian Channel using `high` and `low` over a given `length`.
  Parameters:
     length (int) : (series int) Number of bars (length).
  Returns: ( [float, float, float ]) A tuple containing the channel high, low, and median, respectively.
 ema2(src, length) 
  An alternate ema function to the `ta.ema()` built-in, which allows a "series float" length argument.
  Parameters:
     src : (series int/float) Series of values to process.
     length : (series int/float) Number of bars (length).
  Returns: (float) The exponentially weighted moving average of the `src`.
 eom(length, div) 
  Calculates the value of the Ease of Movement indicator.
  Parameters:
     length (simple int) : (simple int) Number of bars (length).
     div (simple int) : (simple int) Divisor used for normalzing values. Optional. The default is 10000.
  Returns: (float) The oscillator value.
 frama(source, length) 
  The Fractal Adaptive Moving Average (FRAMA), developed by John Ehlers, is an adaptive moving average that dynamically adjusts its lookback period based on fractal geometry.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (int) : (series int) Number of bars (length).
  Returns: (float) The fractal adaptive moving average of the `source`.
 ft(source, length) 
  Calculates the value of the Fisher Transform indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Number of bars (length).
  Returns: (float) The oscillator value.
 ht(source) 
  Calculates the value of the Hilbert Transform indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
  Returns: (float) The oscillator value.
 ichimoku(conLength, baseLength, senkouLength) 
  Calculates values of the Ichimoku Cloud indicator, including tenkan, kijun, senkouSpan1, senkouSpan2, and chikou. NOTE: offsets forward or backward can be done using the `offset` argument in `plot()`.
  Parameters:
     conLength (int) : (series int) Length for the Conversion Line (Tenkan). The default is 9 periods, which returns the mid-point of the 9 period Donchian Channel.
     baseLength (int) : (series int) Length for the Base Line (Kijun-sen). The default is 26 periods, which returns the mid-point of the 26 period Donchian Channel.
     senkouLength (int) : (series int) Length for the Senkou Span 2 (Leading Span B). The default is 52 periods, which returns the mid-point of the 52 period Donchian Channel.
  Returns: ( [float, float, float, float, float ]) A tuple of the Tenkan, Kijun, Senkou Span 1, Senkou Span 2, and Chikou Span values. NOTE: by default, the senkouSpan1 and senkouSpan2 should be plotted 26 periods in the future, and the Chikou Span plotted 26 days in the past.
 ift(source) 
  Calculates the value of the Inverse Fisher Transform indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
  Returns: (float) The oscillator value.
 kvo(fastLen, slowLen, trigLen) 
  Calculates the values of the Klinger Volume Oscillator.
  Parameters:
     fastLen (simple int) : (simple int) Length for the fast moving average smoothing parameter calculation.
     slowLen (simple int) : (simple int) Length for the slow moving average smoothing parameter calculation.
     trigLen (simple int) : (simple int) Length for the trigger moving average smoothing parameter calculation.
  Returns: ( [float, float ]) A tuple of the KVO value, and the trigger value.
 pzo(length) 
  Calculates the value of the Price Zone Oscillator.
  Parameters:
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The oscillator value.
 rms(source, length) 
  Calculates the Root Mean Square of the `source` over the `length`.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (int) : (series int) Number of bars (length).
  Returns: (float) The RMS value.
 rwi(length) 
  Calculates the values of the Random Walk Index.
  Parameters:
     length (simple int) : (simple int) Lookback and ATR smoothing parameter length.
  Returns: ( [float, float ]) A tuple of the `rwiHigh` and `rwiLow` values.
 stc(source, fast, slow, cycle, d1, d2) 
  Calculates the value of the Schaff Trend Cycle indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     fast (simple int) : (simple int) Length for the MACD fast smoothing parameter calculation.
     slow (simple int) : (simple int) Length for the MACD slow smoothing parameter calculation.
     cycle (simple int) : (simple int) Number of bars for the Stochastic values (length).
     d1 (simple int) : (simple int) Length for the initial %D smoothing parameter calculation.
     d2 (simple int) : (simple int) Length for the final %D smoothing parameter calculation.
  Returns: (float) The oscillator value.
 stochFull(periodK, smoothK, periodD) 
  Calculates the %K and %D values of the Full Stochastic indicator.
  Parameters:
     periodK (simple int) : (simple int) Number of bars for Stochastic calculation. (length).
     smoothK (simple int) : (simple int) Number of bars for smoothing of the %K value (length).
     periodD (simple int) : (simple int) Number of bars for smoothing of the %D value (length).
  Returns: ( [float, float ]) A tuple of the slow %K and the %D moving average values.
 stochRsi(lengthRsi, periodK, smoothK, periodD, source) 
  Calculates the %K and %D values of the Stochastic RSI indicator.
  Parameters:
     lengthRsi (simple int) : (simple int) Length for the RSI smoothing parameter calculation.
     periodK (simple int) : (simple int) Number of bars for Stochastic calculation. (length).
     smoothK (simple int) : (simple int) Number of bars for smoothing of the %K value (length).
     periodD (simple int) : (simple int) Number of bars for smoothing of the %D value (length).
     source (float) : (series int/float) Series of values to process. Optional. The default is `close`.
  Returns: ( [float, float ]) A tuple of the slow %K and the %D moving average values.
 supertrend(factor, atrLength, wicks) 
  Calculates the values of the SuperTrend indicator with the ability to take candle wicks into account, rather than only the closing price.
  Parameters:
     factor (float) : (series int/float) Multiplier for the ATR value.
     atrLength (simple int) : (simple int) Length for the ATR smoothing parameter calculation.
     wicks (simple bool) : (simple bool) Condition to determine whether to take candle wicks into account when reversing trend, or to use the close price. Optional. Default is false.
  Returns: ( [float, int ]) A tuple of the superTrend value and trend direction.
 szo(source, length) 
  Calculates the value of the Sentiment Zone Oscillator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The oscillator value.
 t3(source, length, vf) 
  Calculates the value of the Tilson Moving Average (T3).
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
     vf (simple float) : (simple float) Volume factor. Affects the responsiveness.
  Returns: (float) The Tilson moving average of the `source`.
 t3Alt(source, length, vf) 
  An alternate Tilson Moving Average (T3) function to `t3()`, which allows a "series float" `length` argument.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (float) : (series int/float) Length for the smoothing parameter calculation.
     vf (simple float) : (simple float) Volume factor. Affects the responsiveness.
  Returns: (float) The Tilson moving average of the `source`.
 tema(source, length) 
  Calculates the value of the Triple Exponential Moving Average (TEMA).
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The triple exponentially weighted moving average of the `source`.
 tema2(source, length) 
  An alternate Triple Exponential Moving Average (TEMA) function to `tema()`, which allows a "series float" `length` argument.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (float) : (series int/float) Length for the smoothing parameter calculation.
  Returns: (float) The triple exponentially weighted moving average of the `source`.
 trima(source, length) 
  Calculates the value of the Triangular Moving Average (TRIMA).
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (int) : (series int) Number of bars (length).
  Returns: (float) The triangular moving average of the `source`.
 trima2(src, length) 
  An alternate Triangular Moving Average (TRIMA) function to `trima()`, which allows a "series int" length argument.
  Parameters:
     src : (series int/float) Series of values to process.
     length : (series int) Number of bars (length).
  Returns: (float) The triangular moving average of the `src`.
 trix(source, length, signalLength, exponential) 
  Calculates the values of the TRIX indicator.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
     signalLength (simple int) : (simple int) Length for smoothing the signal line.
     exponential (simple bool) : (simple bool) Condition to determine whether exponential or simple smoothing is used. Optional. The default is `true` (exponential smoothing).
  Returns: ( [float, float, float ]) A tuple of the TRIX value, the signal value, and the histogram.
 uo(fastLen, midLen, slowLen) 
  Calculates the value of the Ultimate Oscillator.
  Parameters:
     fastLen (simple int) : (series int) Number of bars for the fast smoothing average (length).
     midLen (simple int) : (series int) Number of bars for the middle smoothing average (length).
     slowLen (simple int) : (series int) Number of bars for the slow smoothing average (length).
  Returns: (float) The oscillator value.
 vhf(source, length) 
  Calculates the value of the Vertical Horizontal Filter.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (simple int) : (simple int) Number of bars (length).
  Returns: (float) The oscillator value.
 vi(length) 
  Calculates the values of the Vortex Indicator.
  Parameters:
     length (simple int) : (simple int) Number of bars (length).
  Returns: ( [float, float ]) A tuple of the viPlus and viMinus values.
 vzo(length) 
  Calculates the value of the Volume Zone Oscillator.
  Parameters:
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The oscillator value.
 williamsFractal(period) 
  Detects Williams Fractals.
  Parameters:
     period (int) : (series int) Number of bars (length).
  Returns: ( [bool, bool ]) A tuple of an up fractal and down fractal. Variables are true when detected.
 wpo(length) 
  Calculates the value of the Wave Period Oscillator.
  Parameters:
     length (simple int) : (simple int) Length for the smoothing parameter calculation.
  Returns: (float) The oscillator value.
█  v7, Nov. 2, 2023 
This version includes the following new and updated functions: 
 atr2(length) 
  An alternate ATR function to the `ta.atr()` built-in, which allows a "series float" `length` argument.
  Parameters:
     length (float) : (series int/float) Length for the smoothing parameter calculation.
  Returns: (float) The ATR value.
 changePercent(newValue, oldValue) 
  Calculates the percentage difference between two distinct values.
  Parameters:
     newValue (float) : (series int/float) The current value.
     oldValue (float) : (series int/float) The previous value.
  Returns: (float) The percentage change from the `oldValue` to the `newValue`.
 donchian(length) 
  Calculates the values of a Donchian Channel using `high` and `low` over a given `length`.
  Parameters:
     length (int) : (series int) Number of bars (length).
  Returns: ( [float, float, float ]) A tuple containing the channel high, low, and median, respectively.
 highestSince(cond, source) 
  Tracks the highest value of a series since the last occurrence of a condition.
  Parameters:
     cond (bool) : (series bool) A condition which, when `true`, resets the tracking of the highest `source`.
     source (float) : (series int/float) Series of values to process. Optional. The default is `high`.
  Returns: (float) The highest `source` value since the last time the `cond` was `true`.
 lowestSince(cond, source) 
  Tracks the lowest value of a series since the last occurrence of a condition.
  Parameters:
     cond (bool) : (series bool) A condition which, when `true`, resets the tracking of the lowest `source`.
     source (float) : (series int/float) Series of values to process. Optional. The default is `low`.
  Returns: (float) The lowest `source` value since the last time the `cond` was `true`.
 relativeVolume(length, anchorTimeframe, isCumulative, adjustRealtime) 
  Calculates the volume since the last change in the time value from the `anchorTimeframe`, the historical average volume using bars from past periods that have the same relative time offset as the current bar from the start of its period, and the ratio of these volumes. The volume values are cumulative by default, but can be adjusted to non-accumulated with the `isCumulative` parameter.
  Parameters:
     length (simple int) : (simple int) The number of periods to use for the historical average calculation.
     anchorTimeframe (simple string) : (simple string) The anchor timeframe used in the calculation. Optional. Default is "D".
     isCumulative (simple bool) : (simple bool) If `true`, the volume values will be accumulated since the start of the last `anchorTimeframe`. If `false`, values will be used without accumulation. Optional. The default is `true`.
     adjustRealtime (simple bool) : (simple bool) If `true`, estimates the cumulative value on unclosed bars based on the data since the last `anchor` condition. Optional. The default is `false`.
  Returns: ( [float, float, float ]) A tuple of three float values. The first element is the current volume. The second is the average of volumes at equivalent time offsets from past anchors over the specified number of periods. The third is the ratio of the current volume to the historical average volume.
 rma2(source, length) 
  An alternate RMA function to the `ta.rma()` built-in, which allows a "series float" `length` argument.
  Parameters:
     source (float) : (series int/float) Series of values to process.
     length (float) : (series int/float) Length for the smoothing parameter calculation.
  Returns: (float) The rolling moving average of the `source`.
 supertrend2(factor, atrLength, wicks) 
  An alternate SuperTrend function to `supertrend()`, which allows a "series float" `atrLength` argument.
  Parameters:
     factor (float) : (series int/float) Multiplier for the ATR value.
     atrLength (float) : (series int/float) Length for the ATR smoothing parameter calculation.
     wicks (simple bool) : (simple bool) Condition to determine whether to take candle wicks into account when reversing trend, or to use the close price. Optional. Default is `false`.
  Returns: ( [float, int ]) A tuple of the superTrend value and trend direction.
 vStop(source, atrLength, atrFactor) 
  Calculates an ATR-based stop value that trails behind the `source`. Can serve as a possible stop-loss guide and trend identifier.
  Parameters:
     source (float) : (series int/float) Series of values that the stop trails behind.
     atrLength (simple int) : (simple int) Length for the ATR smoothing parameter calculation.
     atrFactor (float) : (series int/float) The multiplier of the ATR value. Affects the maximum distance between the stop and the `source` value. A value of 1 means the maximum distance is 100% of the ATR value. Optional. The default is 1.
  Returns: ( [float, bool ]) A tuple of the volatility stop value and the trend direction as a "bool".
 vStop2(source, atrLength, atrFactor) 
  An alternate Volatility Stop function to `vStop()`, which allows a "series float" `atrLength` argument.
  Parameters:
     source (float) : (series int/float) Series of values that the stop trails behind.
     atrLength (float) : (series int/float) Length for the ATR smoothing parameter calculation.
     atrFactor (float) : (series int/float) The multiplier of the ATR value. Affects the maximum distance between the stop and the `source` value. A value of 1 means the maximum distance is 100% of the ATR value. Optional. The default is 1.
  Returns: ( [float, bool ]) A tuple of the volatility stop value and the trend direction as a "bool".
Removed Functions: 
 allTimeHigh(src) 
  Tracks the highest value of `src` from the first historical bar to the current bar.
 allTimeLow(src) 
  Tracks the lowest value of `src` from the first historical bar to the current bar.
 trima2(src, length) 
  An alternate Triangular Moving Average (TRIMA) function to `trima()`, which allows a
"series int" length argument.
Buy/Sell Alert EMA with SuperFormula by zdmre*** Use it at your own risk 
This indicator has 3 indicators and gives a buy/sell signal depending on the EMA.
3 indicators:
 
 - Ichimoku
 - Bollinger Band
 - EMA
 
			
It also shows the value on the candle as a warning in the Buy and Sell signals.  This value is calculated with a special formula I have created. 
On the other hand Bollinger Band and Ichimoku Cloud are also included to check the accuracy of the signals.
For this indicator, I recommend a minimum of 4 hours chart.
Trend Indicators CollectionAnalyses MACD crosses with Ichimoku cloud direction and state
 General idea:  
    - MACD crosses usually point to a change in trend direction and Kumo state and direction often act as a confirmation as well as a trend strength indicator. Using this, the script points out where there were was or can be a point where the trend change may have the strength to carry on.
 Buy warnings: 
    - This warning will be triggered in two ways, both of them only if MACD is above EMA and the current close price is over Kumo:
        - Senku span A crosses over Senku B (Kumo turns positive) when MACD is already positive
        - MACD turns positive when Kumo is already positive
 Sell warnings 
    - Triggered in two ways:
        - Kumo turns negative when the current close price is bellow EMA
        - The inverse of the above, the current close price falls bellow EMA when the Kumo is already negative
 Trend Indicators Collection (TIC) contains: 
    - MACD, EMA, ADX, Mass index, Ichimoku Cloud, and Pivot points
    - Best suited for monthly charts with 30m bars
7-EMA 3-SMA BB_FiboR Icnimoke and SNRContains of:-
7 EMA
3 SMA
Bollinger Bands
Fibonacci Retracement
Ichimoku
Support and resistance
The idea is, my technique required to use EMA and SMA and bollinger band to monitor trend whether strong or not, then I use Fibonacci retracement to monitor how far it will drop or how far it will go up. 
On the other method, I'm using EMA and SMA and Ichimoku to monitor counter that have midterm potential. 
The SNR is to calculate my support and resistance which is when to EP, TP and CL. RBS signal is when the price break the resistance, which the price exceed the top of latest length of bar you set. SBR signal indicate where we need to cutloss, when the price lower than bottom of latest of bar you set
All in one indicator. Saves all number of indicator you need. Convenience for free user
T3 ICL MACD STRATEGY
 Backtested manually and received approx 60% winrate. Tradingview strategy tester is skewed because this program does not specify when to sell at profit target or at a stop loss. 
Uses 1 min for entry and a longer time frame for confirmation (5,10,15, etc..) (Not sure what the yellow arrows are in the picture but they can be ignored)
Ideal Long Entry - The algo uses T3 moving average (T3) and the Ichimoku Conversion Line (ICL) to determine when to enter a long or short position. In this case we are going to showcase what causes the algo to alert long. It first checks to see if the the ICL is greater than T3. Once that condition is met T3 must be green in order to enter long and finally the last closing price has to be greater than the ICL. You can use the MACD to further verify a long trend as well!
Ideal Short Entry - The algo uses T3 moving average (T3) and the Ichimoku Conversion Line (ICL) to determine when to enter a long or short position. In this case we are going to showcase what causes the algo to alert short. It first checks to see if the the ICL is less than T3. Once that condition is met T3 must be red in order to enter short and finally the last closing price has to be less than the ICL. You can use the MACD to further verify a long trend as well! 
MA 10,20,50,200Indicator consist of moving averages (MA).
This indicator make it easier for me to switch between few MA lines.
1. MA10
- used for intraday.
2. MA50 and Ichimoku
- to analyze swing trend
- display only MA50 and ichimoku cloud 
3. MA20, MA50 and MA200
- to analyze the trend
- for swing trade
4. Lines 52 Week High / Low
- display both lines as guide when trading
IKAKOver2(LITE雲なし)
change point 
I tried to make the operation lighter by removing the display of the Ichimoku balance table.
We have set a period such as EMA to use 5 minute bars and the first band is period 60 and 100 EMA . The color of the belt changes according to the position of the period 5EMA-25EMA-50EMA. The second sash is based on a 60- and 100-EMA period of 15 minutes. The change in the color of the obi is also a 15-minute specification. 
Since the above period can be changed, I think that there are customs such as 1 hour and 4 hours. 
Buying and selling signs are shown in green for buying and red for selling. (More frequent) 
For the time being, it is also possible to display the Ichimoku balance table. 
As for my usage method, when both the 15-minute and 5-minute bars have an uptrend (downtrend ), when each trading sign is confirmed, spread the limit just below the price. . (Because there is a commission in the market) 
If the color of the obi becomes yellow, the trend may be over, so wait for the signature to reach the bundle of 15 minutes instead of 5 minutes, and after the signature is confirmed, it is the same as 5 minutes. 
The loss cut line is often the latest low. Or when the obi is broken. . 
I am still studying about profitability. Sometimes we use indicators, sometimes we reach the target horizon. I think each way is good. 
It is a discretionary aid, and the head and tail are cut off, and the image is about 10 to 100 $. 
Balanced/Unbalanced MarketWhen market chooses to go uptrend or downtrend, the equilibrium between buyers and sellers vanishes and the trend with the different qualifications forms. The number of balanced and unbalanced periods of a trend can relate to it's weakness/strength. 
Using indicators like ichimoku can initially help us to simply understand these concept.
So simply:
1- When Kj (Kijunsen=Ichimoku baseline) become flat, it shows the equilibrium between buyers and sellers. In line 13 of the script code, we can see the condition for this. In this case, better to use Kj=52 as it's closer to the concept of equilibrium market and contains more flat periods.
Also we can use  Kj ==Kj  and Kj ==Kj   instead, to filter the balanced bars more.
2- When Kj stand higher or lower than it's previous value, it can be used as determiner for bullishness and bearishness of the market. In lines 16,19 of the script code, we can see the conditions for this. In this case, better to use Kj=26 as it's closer to the concept of trend market.
Dr.ManiaTemel olarak teknik analizlerde kullanılabilecek en yaygın komutların hepsinin  bir arada olduğu (Ichimoku, MavilimW, Bollinger, Oklar, Hareketli Ortalamaları) komuttur.
Ichimoku+MavilimW+BB+Arrow+MAVCOMBO
Cloud, MA & BB Signal ConvergenceA combination of 3 popular lagging indicators (Ichimoku Cloud, Moving Average and Bollinger Bands) that generates a signal when all 3 of those lagging indicators are bullish or bearish.
Bullish is represented with a green dot above price. Bearish is represented with a red dot below price.
PARAMETERS:
1) Ichimoku Cloud
-Bullish Kumo
-Price above Kumo
-Chikou span above price
-Tenkan-sen and Kijun-sen above Kumo
-Tenkan-sen above Kijun-sen
-Price above Tenkan-sen
*opposite for bearish
Note: cloud settings is the popular settings for cryptocurrency advocated by @CarpeNoctom.
2) Moving Average
-MA1 greater than MA2
-MA2 greater than MA3
-MA3 greater than MA4
-MA4 greater than MA5
*opposite for bearish
Note: Put your MA setting from lowest to highest on MA1-MA5 respectively to generate more accurate signals.
3) Bollinger Bands
-price closed above upper band at least once
*opposite for bearish
Note: Put your MA setting from lowest to highest on MA1-MA5 respectively to generate more accurate signals.
P.S. Still on early alpha stage.
Fibonacci CloudInspired by  Ichimoku Fibonacci Hybrid , this indicator is for those who don't mind a lot of lines. All lines represent Fib ratios: thicker lines are fibs for a longer period, while thinner lines are fibs for a shorter period.
- Dynamic S/R
- Overbought/Oversold zones
- Trend indicator
- Customisable periods
- Fast/Slow crossovers
See what works for you!
Lynie's V9 SELL🟢🔴 Lynie’s V8 — BUY & SELL (Mirrored, Interlocking System)
Lynie’s V8 is a paired long/short engine built as two mirrored scripts—Lynie’s V8 BUY and Lynie’s V8 SELL—that read price the same way, flip conditions symmetrically, and manage trades with the exact logic on opposite sides. Use either one standalone or run both together for full two-sided automation of entries, re-entries, caution states, and adaptive SL/TP.
✳️ What “mirrored” means here
Supertrend Tri-Stack (10/11/12):
BUY: ST10 primary pierce; ST12 fallback; “PAG Buy” when price pierces any ST while above the other two.
SELL: Exact inverse—ST10 primary pierce down; ST12 fallback; “PAG Sell” when price pierces any ST while below the other two.
Re-Enter Clusters:
BUY: Ratcheted up (Heikin-Ashi green holds/tightens).
SELL: Ratcheted down (Heikin-Ashi red holds/tightens).
Both sides use the same cluster age/decay math, care penalties, session awareness, and fast-candle tightening.
Care Flags (context risk):
Ichimoku, MACD, RSI combine into single and paired flags that tighten or widen offsets on both sides with the same scoring.
VWAP–EMA50 (5m) cluster gate:
Identical distance checks for BUY/SELL. When the mean cluster is present, offsets and labels adapt (tighter/“riskier scalp” messaging).
Golden Pocket A/B/C (prev-day):
Same fib boxes & labeling (gold tone) on both sides to call out TP-friendly zones.
SL/TP Envelope:
Shared dynamic engine: per-bar decay, fast-candle expansion, and care-based compress/relax—all mirrored for up/down.
Caution Labels:
BUY side prints CAUTION SELL if HA flips red inside an active long cluster.
SELL side prints CAUTION BUY if HA flips green inside an active short cluster.
Same latching & auto-release behavior.
🧠 Core workflow (both sides)
Primary trigger via ST10 pierce (structure shift) with an ST12 fallback when ST10 didn’t qualify.
PAG Mode when price is already on the right side of the other two STs—strongest conviction.
Cluster phase begins after a signal: ratcheted re-entry level, session-aware offsets, dynamic tightening on fast bars.
Care system shapes every re-entry & SL/TP label (Ichi/MACD/RSI combos + VWAP/EMA gate + QQE).
Protective layer: SL-wick and SL-body logic, caution flips, and “hold 1 bar” cluster carry after SL to avoid whipsaw spam.
🔎 Labels & messages (shared vocabulary)
Lynie’s / Lynie’s+ / Lynie’s++ — strength tiers (ST12 involvement & clean context).
Re-Enter / Excellent Re-Enter — cluster pullback quality; ratchet shows the “must-hold” zone.
SL&TP (n) — live offset multiplier the engine is using right now.
CAUTION BUY / CAUTION SELL — HA flip against the active side inside the cluster.
Restart Next Candle — visual cue to re-arm after a confirmed signal bar.
⚡ Why run both together
Continuity: When a long cycle ends (SL or caution degradation), the SELL engine is already tracking the inverse without re-tuning.
Symmetry: Same math, same signals, opposite direction—no hidden biases.
Coverage: Trend hand-offs are cleaner; you don’t miss early shorts after a long fade (and vice versa).
🔧 Recommended usage
Intraday futures (ES/NQ) or any liquid market.
Keep the VWAP–EMA cluster ON; it filters FOMO chases.
Honor Caution flips inside cluster—scale down or wait for the next clean re-enter.
Treat Golden Zones as TP magnets, not guaranteed reversals.
📌 Notes
Both scripts are Pine v6 and independent. Load BUY and SELL together for the full experience.
All offsets (re-enter & SL/TP) are visible in labels—so you always know why a zone is where it is.
Alerts are provided for signals, re-enter hits, caution, and SL events on both sides.
Summary: Lynie’s V8 BUY & SELL are vice-versa twins—one framework, two directions—delivering consistent entries, adaptive re-entries, and contextual risk management whether the market is pressing up or breaking down.
Advanced Multi-Timeframe Trend & Signal System═══════════════════════════════════════════════════════════════
ADVANCED MULTI-TIMEFRAME TREND & SIGNAL SYSTEM v1.0
═══════════════════════════════════════════════════════════════
Created by: Zakaria Safri
License: Mozilla Public License 2.0
A comprehensive technical analysis tool designed for traders seeking 
multi-dimensional market insights. This indicator combines proven 
technical analysis methods with modern visualization techniques.
═══════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════
✓ SUPERTREND SIGNAL GENERATION
  - Customizable sensitivity settings
  - Clear long/short entry signals
  - Automatic trend direction detection
  - ATR-based dynamic calculations
✓ MULTI-TIMEFRAME DASHBOARD
  - Real-time trend analysis across 6 timeframes
  - Synchronized trend confirmation
  - Customizable table position and size
  - Current: 1M, 5M, 15M, 1H, 1D coverage
✓ QQE REVERSAL DETECTION
  - Quantitative Qualitative Estimation algorithm
  - Early reversal signal identification
  - Adjustable RSI and smoothing parameters
  - Confirmation-based plotting
✓ DYNAMIC SUPPORT & RESISTANCE
  - Pivot-based level calculation
  - Quick and standard pivot detection
  - Color-coded zones (8 levels)
  - Automatic level updates
✓ MOMENTUM BREAKOUT SIGNALS
  - Ichimoku-inspired calculations
  - Bullish and bearish breakout detection
  - Visual zone highlighting
  - Trend confirmation filters
✓ RISK MANAGEMENT SYSTEM
  - ATR-based stop loss calculation
  - Multiple take profit targets (TP1, TP2, TP3)
  - Customizable risk-to-reward ratios
  - Dynamic price level tracking
  - Hit detection markers
✓ VOLATILITY BANDS
  - Keltner Channel implementation
  - Multiple band layers (3 levels)
  - EMA-based calculations
  - Adaptive to market conditions
✓ TREND CLOUD VISUALIZATION
  - Dual moving average cloud
  - Clear trend direction indication
  - Customizable color scheme
  - Trend bar coloring
═══════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════
SETUP:
1. Add indicator to your chart
2. Configure sensitivity in Core Signals section
3. Enable desired features (signals, reversals, breakouts)
4. Set up risk management levels if trading
5. Position MTF dashboard to preference
SIGNAL INTERPRETATION:
• LONG Signal: Price crosses above Supertrend
• SHORT Signal: Price crosses below Supertrend
• REV (Reversal): QQE indicates potential trend change
• Diamond Breakouts: Momentum shift confirmation
• T1/T2/T3: Take profit level hits
MULTI-TIMEFRAME ANALYSIS:
• Green (BULL): Higher timeframe supports uptrend
• Red (BEAR): Higher timeframe supports downtrend
• Use for trend alignment and confirmation
• Best results when multiple timeframes align
RISK MANAGEMENT:
• Enable Stop Loss for automatic SL calculation
• Activate TP levels based on trading style
• Adjust Risk-to-Reward ratio (1:1 to 1:10)
• Monitor hit detection circles for exits
═══════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════
CALCULATIONS:
• Supertrend: ATR-based with customizable multiplier
• QQE: Modified RSI with Wilders smoothing
• Keltner Channels: EMA basis with ATR bands
• Pivots: Standard left/right bar methodology
• Support/Resistance: Multi-level pivot analysis
PARAMETERS:
• Supertrend Sensitivity: 0.5 to 10.0 (default: 2.0)
• RSI Period: 5 to 50 (default: 14)
• QQE Multiplier: 1.0 to 10.0 (default: 4.238)
• Risk-to-Reward: 1 to 10 (default: 4)
TIMEFRAMES:
Compatible with all timeframes. MTF dashboard displays:
• 1 Minute (1M)
• 5 Minutes (5M)
• 15 Minutes (15M)
• 1 Hour (1H)
• 1 Day (1D)
• Current chart timeframe
═══════════════════════════════════════════════════════════════
CUSTOMIZATION OPTIONS
═══════════════════════════════════════════════════════════════
VISUAL:
• Professional color scheme (Cyan/Orange)
• Adjustable table position (9 positions)
• Table size options (tiny/small/normal/large)
• Transparent zone highlighting
• Clean, modern label design
TOGGLES:
• Enable/disable any feature independently
• Show/hide signals, reversals, breakouts
• Toggle S/R levels and zones
• Control trend cloud and bands
• Master trend line optional
ALERTS:
The indicator provides visual signals that can be used with 
TradingView's alert system by setting alerts on the indicator.
═══════════════════════════════════════════════════════════════
BEST PRACTICES
═══════════════════════════════════════════════════════════════
✓ Combine signals for higher probability setups
✓ Use MTF dashboard for trend confirmation
✓ Respect S/R levels for entry/exit planning
✓ Monitor QQE reversals at key price levels
✓ Adjust sensitivity based on asset volatility
✓ Test on demo/paper trading first
✓ Use proper risk management always
═══════════════════════════════════════════════════════════════
IMPORTANT DISCLAIMER
═══════════════════════════════════════════════════════════════
This indicator is a technical analysis tool and does NOT:
• Guarantee profitable trades
• Provide financial advice
• Predict future price movements with certainty
• Replace proper risk management
• Substitute for personal due diligence
Past performance does not indicate future results. All trading 
involves risk. Users should:
- Understand the indicator's logic
- Test thoroughly before live trading
- Use appropriate position sizing
- Never risk more than they can afford to lose
- Consult financial advisors if needed
═══════════════════════════════════════════════════════════════
CODING STANDARDS
═══════════════════════════════════════════════════════════════
This indicator follows PineCoders Coding Conventions:
✓ Proper variable naming (prefixes: i_, f_, c_)
✓ Clear function documentation
✓ Organized code structure
✓ Type declarations
✓ Efficient calculations
✓ No repainting (confirmed signals)
✓ Proper use of request.security
═══════════════════════════════════════════════════════════════
SUPPORT & UPDATES
═══════════════════════════════════════════════════════════════
Version: 1.0
Author: Zakaria Safri
License: MPL 2.0
Last Updated: 2024
For questions, feedback, or suggestions, please comment below.
═══════════════════════════════════════════════════════════════
#trading #signals #supertrend #multiTimeframe #QQE #reversals
#supportResistance #riskManagement #trendAnalysis #momentum
Forecast PriceTime Oracle [CHE]  Forecast PriceTime Oracle   — Prioritizes quality over quantity by using Power Pivots via RSI %B metric to forecast future pivot highs/lows in price and time
  Summary 
This indicator identifies potential pivot highs and lows based on out-of-bounds conditions in a modified RSI %B metric, then projects future occurrences by estimating time intervals and price changes from historical medians. It provides visual forecasts via diagonal and horizontal lines, tracks achievement with color changes and symbols, and displays a dashboard for statistical overview including hit rates. Signals are robust due to median-based aggregation, which reduces outlier influence, and optional tolerance settings for near-misses, making it suitable for anticipating reversals in ranging or trending markets.
  Motivation: Why this design? 
Standard pivot detection often lags or generates false signals in volatile conditions, missing the timing of true extrema. This design leverages out-of-bounds excursions in RSI %B to capture "Power Pivots" early—focusing on quality over quantity by prioritizing significant extrema rather than every minor swing—then uses historical deltas in time and price to forecast the next ones, addressing the need for proactive rather than reactive analysis. It assumes that pivot spacing follows statistical patterns, allowing users to prepare entries or exits ahead of confirmation.
  What’s different vs. standard approaches? 
- Reference baseline: Diverges from traditional ta.pivothigh/low, which require fixed left/right lengths and confirm only after bars close, often too late for dynamic markets.
- Architecture differences:
  - Detects extrema during OOB runs rather than post-bar symmetry.
  - Aggregates deltas via medians (or alternatives) over a user-defined history, capping arrays to manage resources.
  - Applies tolerance thresholds for hit detection, with options for percentage, absolute, or volatility-adjusted (ATR) flexibility.
  - Freezes achieved forecasts with visual states to avoid clutter.
- Practical effect: Charts show proactive dashed projections instead of retrospective dots; the dashboard reveals evolving hit rates, helping users gauge reliability over time without manual calculation.
  How it works (technical) 
The indicator first computes a smoothed RSI over a specified length, then applies Bollinger Bands to derive %B, flagging out-of-bounds below zero or above one hundred as potential run starts. During these runs, it tracks the extreme high or low price and bar index. Upon exit from the OOB state, it confirms the Power Pivot at that extreme and records the time delta (bars since prior) and price change percentage to rolling arrays.
For forecasts, it calculates the median (or selected statistic) of recent deltas, subtracts the confirmation delay (bars from apex to exit), and projects ahead by that adjusted amount. Price targets use the median change applied to the origin pivot value. Lines are drawn from the apex to the target bar and price, with a short horizontal at the endpoint. Arrays store up to five active forecasts, pruning oldest on overflow.
Tolerance adjusts hit checks: for highs, if the high reaches or exceeds the target (adjusted by tolerance); for lows, if the low drops to or below. Once hit, the forecast freezes, changing colors and symbols, and extends the horizontal to the hit bar. Persistent variables maintain last pivot states across bars; arrays initialize empty and grow until capped at history length.
  Parameter Guide 
Source: Specifies the data input for the RSI computation, influencing how price action is captured. Default is close. For conservative signals in noisy environments, switch to high; using low boosts responsiveness but may increase false positives.
RSI Length: Sets the smoothing period for the RSI calculation, with longer values helping to filter out whipsaws. Default is 32. Opt for shorter lengths like 14 to 21 on faster timeframes for quicker reactions, or extend to 50 or more in strong trends to enhance stability at the cost of some lag.
BB Length: Defines the period for the Bollinger Bands applied to %B, directly affecting how often out-of-bounds conditions are triggered. Default is 20. Align it with the RSI length: shorter periods detect more potential runs but risk added noise, while longer ones provide better filtering yet might overlook emerging extrema.
BB StdDev: Controls the multiplier for the standard deviation in the bands, where wider settings reduce false out-of-bounds alerts. Default is 2.0. Narrow it to 1.5 for highly volatile assets to catch more signals, or broaden to 2.5 or higher to emphasize only major movements.
Show Price Forecast: Enables or disables the display of diagonal and target lines along with their updates. Default is true. Turn it off for simpler chart views, or keep it on to aid in trade planning.
History Length: Determines the number of recent pivot samples used for median-based statistics, where more history leads to smoother but potentially less current estimates. Default is 50. Start with a minimum of 5 to build data; limit to 100 to 200 to prevent outdated regimes from skewing results.
Max Lookahead: Limits the number of bars projected forward to avoid overly extended lines. Default is 500. Reduce to 100 to 200 for intraday focus, or increase for longer swing horizons.
Stat Method: Selects the aggregation technique for time and price deltas: Median for robustness against outliers, Trimmed Mean (20%) for a balanced trim of extremes, or 75th Percentile for a conservative upward tilt. Default is Median. Use Median for even distributions; switch to Percentile when emphasizing potential upside in trending conditions.
Tolerance Type: Chooses the approach for flexible hit detection: None for exact matches, Percentage for relative adjustments, Absolute for fixed point offsets, or ATR for scaling with volatility. Default is None. Begin with Percentage at 0.5 percent for currency pairs, or ATR for adapting to cryptocurrency swings.
Tolerance %: Provides the relative buffer when using Percentage mode, forgiving small deviations. Default is 0.5. Set between 0.2 and 1.0 percent; higher values accommodate gaps but can overstate hit counts.
Tolerance Points: Establishes a fixed offset in price units for Absolute mode. Default is 0.0010. Tailor to the asset, such as 0.0001 for forex pairs, and validate against past wick behavior.
ATR Length: Specifies the period for the Average True Range in dynamic tolerance calculations. Default is 14. This is the standard setting; shorten to 10 to reflect more recent volatility.
ATR Multiplier: Adjusts the ATR scale for tolerance width in ATR mode. Default is 0.5. Range from 0.3 for tighter precision to 0.8 for greater leniency.
Dashboard Location: Positions the summary table on the chart. Default is Bottom Right. Consider Top Left for better visibility on mobile devices.
Dashboard Size: Controls the text scaling for dashboard readability. Default is Normal. Choose Tiny for dense overlays or Large for detailed review sessions.
Text/Frame Color: Sets the color scheme for dashboard text and borders. Default is gray. Align with your chart theme, opting for lighter shades on dark backgrounds.
  Reading & Interpretation 
Forecast lines appear as dashed diagonals from confirmed pivots to projected targets, with solid horizontals at endpoints marking price levels. Open targets show a target symbol (🎯); achieved ones switch to a trophy symbol (🏆) in gray, with lines fading to gray. The dashboard summarizes median time/price deltas, sample counts, and hit rates—rising rates indicate improving forecast alignment. Colors differentiate highs (red) from lows (lime); frozen states signal validated projections.
  Practical Workflows & Combinations 
- Trend following: Enter long on low forecast hits during uptrends (higher highs/lower lows structure); filter with EMA crossovers to ignore counter-trend signals.
- Reversal setups: Short above high projections in overextended rallies; use volume spikes as confirmation to reduce false breaks.
- Exits/Stops: Trail stops to prior pivot lows; conservative on low hit rates (below 50%), aggressive above 70% with tight tolerance.
- Multi-TF: Apply on 1H for entries, 4H for time projections; combine with Ichimoku clouds for confluence on targets.
- Risk management: Position size inversely to delta uncertainty (wider history = smaller bets); avoid low-liquidity sessions.
  Behavior, Constraints & Performance 
Confirmation occurs on OOB exit, so live-bar pivots may adjust until close, but projections update only on events to minimize repaint. No security or HTF calls, so no external lookahead issues. Arrays cap at history length with shifts; forecasts limited to five active, pruning FIFO. Loops iterate over small fixed sizes (e.g., up to 50 for stats), efficient on most hardware. Max lines/labels at 500 prevent overflow.
Known limits: Sensitive to OOB parameter tuning—too tight misses runs; assumes stationary pivot stats, which may shift in regime changes like low vol. Gaps or holidays distort time deltas.
  Sensible Defaults & Quick Tuning 
Defaults suit forex/crypto on 1H–4H: RSI 32/BB 20 for balanced detection, Median stats over 50 samples, None tolerance for exactness. 
- Too many false runs: Increase BB StdDev to 2.5 or RSI Length to 50 for filtering.
- Lagging forecasts: Shorten History Length to 20; switch to 75th Percentile for forward bias.
- Missed near-hits: Enable Percentage tolerance at 0.3% to capture wicks without overcounting.
- Cluttered charts: Reduce Max Lookahead to 200; disable dashboard on lower TFs.
  What this indicator is—and isn’t 
This is a forecasting visualization layer for pivot-based analysis, highlighting statistical projections from historical patterns. It is not a standalone system—pair with price action, volume, and risk rules. Not predictive of all turns; focuses on OOB-derived extrema, ignoring volume or news impacts.
  Disclaimer 
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
 Best regards and happy trading
Chervolino
[ZP] Fixed v6 testDISCLAIMER:   
This indicator in Pine V6 as my first ever Tradingview indicator, has been developed for my personal trading analysis, consolidating various powerful indicators that I frequently use. A number of the embedded indicators within this tool are the creations of esteemed Pine Script developers from the TradingView community. In recognition of their contributions, the names of these developers will be prominently displayed alongside the respective indicator names. My selection of these indicators is rooted in my own experience and reflects those that have proven most effective for me. Please note that the past performance of any trading system or methodology is not necessarily indicative of future results. Always conduct your own research and due diligence before using any indicator or tool.
===========================================================================
Introducing the ultimate all-in-one DIY strategy builder indicator, With over 30+ famous indicators (some with custom configuration/settings) indicators included, you now have the power to mix and match to create your own custom strategy for shorter time or longer time frames depending on your trading style. Say goodbye to cluttered charts and manual/visual confirmation of multiple indicators and hello to endless possibilities with this indicator.
Available indicators that you can choose to build your strategy, are coded to seamlessly print the BUY and SELL signal upon confirmation of all selected indicators:
EMA Filter
2 EMA Cross
3 EMA Cross
Range Filter (Guikroth)
SuperTrend
Ichimoku Cloud
SuperIchi (LuxAlgo)
B-Xtrender (QuantTherapy)
Bull Bear Power Trend (Dreadblitz)
VWAP
BB Oscillator (Veryfid)
Trend Meter (Lij_MC)
Chandelier Exit (Everget)
CCI
Awesome Oscillator
DMI ( Adx )
Parabolic SAR
Waddah Attar Explosion (Shayankm)
Volatility Oscillator (Veryfid)
Damiani Volatility ( DV ) (RichardoSantos)
Stochastic
RSI
MACD
SSL Channel (ErwinBeckers)
Schaff Trend Cycle ( STC ) (LazyBear)
Chaikin Money Flow
Volume
Wolfpack Id (Darrellfischer1)
QQE Mod (Mihkhel00)
Hull Suite (Insilico)
Vortex Indicator
Trend Bars with Okuninushi Line Filter# Trend Bars with Okuninushi Line Filter: A Powerful Trading Indicator
## Introduction
The **Trend Bars with Okuninushi Line Filter** is an innovative technical indicator that combines two powerful concepts: trend bar analysis and the Okuninushi Line filter. This indicator helps traders identify high-quality trending moves by analyzing candle body strength relative to the overall price range while ensuring the price action aligns with the dominant market structure.
## What Are Trend Bars?
Trend bars are candles where the body (distance between open and close) represents a significant portion of the total price range (high to low). These bars indicate strong directional momentum with minimal indecision, making them valuable signals for trend continuation.
### Key Characteristics:
- **Strong directional movement**: Large body relative to total range
- **Minimal upper/lower shadows**: Shows sustained pressure in one direction
- **High conviction**: Represents decisive market action
## The Okuninushi Line Filter
The Okuninushi Line, also known as the Kijun Line in Ichimoku analysis, is calculated as the midpoint of the highest high and lowest low over a specified period (default: 52 periods).
**Formula**: `(Highest High + Lowest Low) / 2`
This line acts as a dynamic support/resistance level and trend filter, helping to:
- Identify the overall market bias
- Filter out counter-trend signals
- Provide confluence for trade entries
## How the Indicator Works
The indicator combines these two concepts with the following logic:
### Bull Trend Bars (Green)
A candle is colored **green** when ALL conditions are met:
1. **Bullish candle**: Close > Open
2. **Strong body**: |Close - Open| ≥ Threshold × (High - Low)
3. **Above trend filter**: Close > Okuninushi Line
### Bear Trend Bars (Red)
A candle is colored **red** when ALL conditions are met:
1. **Bearish candle**: Close < Open
2. **Strong body**: |Close - Open| ≥ Threshold × (High - Low)
3. **Below trend filter**: Close < Okuninushi Line
### Neutral Bars (Gray)
All other candles that don't meet the complete criteria are colored **gray**.
## Customizable Parameters
### Trend Bar Threshold
- **Range**: 10% to 100%
- **Default**: 75%
- **Purpose**: Controls how "strong" a candle must be to qualify as a trend bar
**Threshold Effects:**
- **Low (10-30%)**: More sensitive, catches smaller trending moves
- **Medium (50-75%)**: Balanced approach, filters out most noise
- **High (80-100%)**: Very selective, only captures the strongest moves
### Okuninushi Line Length
- **Default**: 52 periods
- **Purpose**: Determines the lookback period for calculating the midpoint
- **Common Settings**:
  - 26 periods: More responsive to recent price action
  - 52 periods: Standard setting, good balance
  - 104 periods: Longer-term trend perspective
## Trading Applications
### 1. Trend Continuation Signals
- **Green bars**: Look for bullish continuation opportunities
- **Red bars**: Consider bearish continuation setups
- **Gray bars**: Exercise caution, mixed signals
### 2. Market Structure Analysis
- Clusters of same-colored bars indicate strong trends
- Alternating colors suggest choppy, indecisive markets
- Transition from red to green (or vice versa) may signal trend changes
### 3. Entry Timing
- Use colored bars as confirmation for existing trade setups
- Wait for color alignment with your market bias
- Avoid trading during predominantly gray periods
### 4. Risk Management
- Gray bars can serve as early warning signs of weakening trends
- Color changes might indicate appropriate exit points
- Use in conjunction with other risk management tools
## Advantages
1. **Dual Filtering**: Combines momentum (trend bars) with trend direction (Okuninushi Line)
2. **Visual Clarity**: Immediate visual feedback through candle coloring
3. **Customizable**: Adjustable parameters for different trading styles
4. **Versatile**: Works across multiple timeframes and instruments
5. **Objective**: Rule-based system reduces subjective interpretation
## Limitations
1. **Lagging Nature**: Based on historical price data
2. **False Signals**: Can produce whipsaws in choppy markets
3. **Parameter Sensitivity**: Requires optimization for different instruments
4. **Market Conditions**: May be less effective in ranging markets
## Best Practices
### Optimization Tips:
- **Volatile Markets**: Use higher thresholds (80-90%)
- **Steady Trends**: Use moderate thresholds (60-75%)
- **Short-term Trading**: Shorter Okuninushi Line periods (26)
- **Long-term Analysis**: Longer Okuninushi Line periods (104+)
### Combination Strategies:
- Pair with volume indicators for confirmation
- Use alongside support/resistance levels
- Combine with other trend-following indicators
- Consider market context and overall trend direction
## Conclusion
The Trend Bars with Okuninushi Line Filter offers traders a sophisticated yet intuitive way to identify high-quality trending moves. By combining the momentum characteristics of trend bars with the directional filter of the Okuninushi Line, this indicator helps traders focus on the most promising opportunities while avoiding low-probability setups.
Remember that no single indicator should be used in isolation. Always consider market context, risk management, and other technical factors when making trading decisions. The true power of this indicator lies in its ability to quickly highlight periods of strong, aligned price action – exactly what trend traders are looking for.
---
*Disclaimer: This article is for educational purposes only and should not be considered as financial advice. Always conduct your own research and consider your risk tolerance before making any trading decisions.*
Swing Guardrail — 30-sec Midterm Check (EBITDA Margin & EV/EBITDWhat it does
Before a short-term swing entry, this indicator right-sizes positions by a quick midterm (3–12m) durability screen using two fundamentals:
EBITDA Margin (TTM) → earning power / operational resilience
EV/EBITDA (TTM) → price tag vs earning capacity (payback feel)
A high-contrast table (top-right) shows both metrics and a verdict:
PASS — both meet thresholds → normal size
HALF — only one meets → reduce size
FAIL — neither meets → avoid
Why check “midterm” for a short-term trade?
Short swings still face earnings/news gaps, failed breakouts, and regime shifts. Names with weak margins or stretched valuation tend to break faster and deeper. A 30-sec durability check helps you:
Filter fragile setups (avoid expensive + weakening names)
Stabilize drawdowns (size down when quality/price don’t align)
Keep timing unchanged while improving risk-adjusted returns
Inputs (defaults)
Min EBITDA Margin % (TTM): 8%
Max EV/EBITDA (TTM): 12
Dark chart? High-contrast colors
How to use with a swing system
Get your entry from price/volume (e.g., Ichimoku cloud break, Kijun reclaim, Tenkan>Kijun; or your A/B/C rules).
Run this check only to set size (not timing).
Optional alerts: Once per bar close for PASS / HALF / FAIL.
Size mapping & event guard
PASS → 100% of your planned size
HALF → ~50% size / tighter stops
FAIL → watchlist only
If earnings < ~10 JP business days, drop one tier; ≤3 days → avoid.
Sector guides (tweak as needed)
Software/Internet: Margin ≥ 15%, EV/EBITDA ≤ 18
Industrials/Consumer: Margin ≥ 8%, EV/EBITDA ≤ 12
Retail: Margin ≥ 5–7%, EV/EBITDA ≤ 10–12
Edge cases / substitutions
Banks/Insurers/REITs or net-cash/negative EBITDA: EV/EBITDA may mislead → consider Net Debt/EBITDA or sector metrics (CET1/LTV/DSCR).
Sparse data / fresh listings: numbers may be NA until updates.
Notes & limitations
Data via request.financial() (TTM/most-recent). Some tickers/regions can show NA until fundamentals refresh.
This is a risk-screen / sizing tool, not a buy/sell signal.
Disclaimer
Educational use only. Not investment advice.
日本語
タイトル
スイング用ガードレール―中期“壊れにくさ”30秒チェック(EBITDAマージン & EV/EBITDA, TTM)
概要
短期スイングのエントリー前に、中期(3〜12か月)の耐久性を2指標で素早く確認し、ポジションサイズを決めるためのツールです。
EBITDAマージン(TTM):事業の稼ぐ力・体力
EV/EBITDA(TTM):その体力に対する“値札”(回収年数の感覚)
右上の高コントラスト表に数値と判定を表示:
PASS:両方クリア → 通常サイズ
HALF:片方のみ → サイズ半分
FAIL:両方NG → 見送り
なぜ短期でも“中期”を確認?
短期でも決算・ニュースのギャップ、ブレイク失敗、地合い転換は起きます。マージンが弱い/割高すぎる銘柄は崩れやすく、戻りも鈍い傾向。30秒の耐久性チェックで
脆いセットアップを回避
ドローダウンを平準化(サイズで吸収)
タイミングは変えずに、リスク調整後リターンの改善を狙えます。
入力(既定)
最低EBITDAマージン:8%
最大EV/EBITDA:12
黒背景向け:高コントラスト表示
使い方(スイング手法と併用)
まずは価格シグナル(一目の雲上抜け/基準線回復/転換線>基準線、またはA/B/Cルール)。
本インジの判定でサイズのみ決定(エントリーのタイミングは出しません)。
任意でバー確定アラート(PASS/HALF/FAIL)を設定。
サイズ目安 & イベント抑制
PASS:計画サイズ100%
HALF:約50%(ストップもタイトに)
FAIL:見送り
決算まで≦10営業日なら1段階サイズダウン、≦3営業日は原則見送り。
セクター目安(調整推奨)
ソフト/ネット:マージン 15%以上、EV/EBITDA 18以下
工業/一般消費:マージン 8%以上、EV/EBITDA 12以下
小売:マージン 5〜7%以上、EV/EBITDA 10〜12以下
例外・代替
銀行・保険・REIT/ネットキャッシュ・EBITDAマイナス:EV/EBITDAは適さない場合 → Net Debt/EBITDAやCET1/LTV/DSCR等で補助。
新規上場・データ薄:更新までNAのことあり。
注意
データは request.financial() を使用。更新前はNAの可能性。
本ツールはリスク確認/サイズ調整用で、売買シグナルではありません。
免責
情報提供のみ。投資判断は自己責任で。






















