Cari dalam skrip untuk "Cycle"
Ark Crypto HeatlineThis is the 'on chart' indicator. See also "Ark Crypto Heatband" indicator for a side-by-side BTC view, without a re-scaled line.
The crypto landscape is largely dominated by BTC and characterised by cyclical stages with varying degrees of mean reversion.
To understand what stage of the cycle we are currently experiencing, it is useful to examine to what degree the current price has extended beyond the long term average that BTC has established. This is true even when analysing other crypto assets as BTC is the dominant force in the crypto asset class.
This indicator uses the 1400 period daily SMA , which is broadly the 200 period weekly SMA. This can be configured, but historically has represented a baseline to which BTC commonly returns.
The graph plots current price in terms of multiples of this long term average. Traditionally, at multiples beyond 10, BTC is considered overextended with a higher likelihood of trending towards the mean thereafter. Colors indicate the extent of price extension.
Where the indicator is applied to non BTCUSD pairs, a smoothed conversion is applied, seeking to superimpose the BTC long period SMA onto the current chart.
The indicator specifically references BTC by default on all charts, as it is designed to use BTC as general purpose indication of where crypto as a whole currently sits. Accordingly the indicator is only to be used on crypto charts.
For best results on BTC, using BNC:BLX will give the longest historical view.
Ark Crypto HeatbandThe crypto landscape is largely dominated by BTC and characterised by cyclical stages with varying degrees of mean reversion.
To understand what stage of the cycle we are currently experiencing, it is useful to examine to what degree the current BTC price has extended beyond a long term average. This is true even when analysing other crypto assets and helpful to view side by side.
This indicator uses the 1400 period daily SMA, which is broadly the 200 period weekly SMA. This can be configured, but historically has represented a baseline to which BTC commonly returns.
The graph plots current price in terms of multiples of this long term average. Traditionally, at multiples beyond 10, BTC is considered overextended with a higher likelihood of trending towards the mean thereafter. Colors indicate the extend of price extension.
The indicator specifically references BTC by default on all charts as it is designed to use BTC as general purpose indication of where crypto as a whole currently sits. Accordingly the indicator is only to be used on crypto charts.
Reflex Oscillator - Dr. John EhlersHot off the press, I present this NEW "Reflex Oscillator" employing PSv4.0, originally formulated by Dr. John Ehlers for TASC - February 2020 Traders Tips. John Ehlers might describe it's novel characteristics as being a reversal sensitive near zero-lag averaging indicator retaining the CYCLE component. Also, I would add that irregardless of the sampling interval, this indicator has a bound range between +/-2.0 on "1 second" candles all the way up to "1 month" candle durations. This indicator also has a companion indicator entitled "TrendFlex Oscillator". I have published it in tandem with this one in my scripts profile.
One notable difference between this and the original formulation is that I have added an independent control for the Super Smoother. This "tweak" is enabled by applying the override and adjusting it's period. There is a "Post Smooth" input() that "tweaks" the internal Reflex EMA too. Keep in mind that my intention of adding tweaks is solely for experimentation with the original formulation.
I also added adjustable levels for those of you that may wish to employ alertcondition()s to this indicator somehow. Providing a more utilitarian approach, I created this with an easy to use reusable function named reflex(). As always, I have included advanced Pine programming techniques that conform to proper "Pine Etiquette". Being this is one of John Ehlers' first two simultaneously released indicators for 2020, I felt a few more bells and whistles were appropriate as a proper contribution to the Tradingview community.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... You have the source!
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Schaff Trend Cycle Strategy for XBTUSD 15m BacktestSchaff Trend Cycle Strategy for XBTUSD 15m Backtest
Zero-Lag Smoothed CycleOld indicator ! But its a simple trick to have a zero-lag smoothing effect, i think i did it because the smoothing was kinda asymmetrical with the detrended line. So even if the result appear quite good take into account that the detrended line isn't always correlated with the price.
Robust Cycle Measurement [Ehlers]The last of Ehlers Instantaneous Frequency Measurement methods.
This is a more robust version of this script.
I wrote it as a function, so you can simply copy and paste it into any script to add an adaptive period setting capability.
Cheers,
DasanC
Cosine, In-Phase & Quadrature IFM [Ehlers]Yet another method for determining the cycle of a market: this time, you have access to the two fastest and most accurate methods
as well as the option to average these methods together.
The controls are pretty straight forward:
Source lets you select the price data to perform calculations on (close, open, etc..)
Max Period is simply the cap for the algorithm when it's checking the validity of Periods.
-> If you notice your plots have a flat top, then increase this value to accept a wider range of Periods.
-> This setting has a min. value of 8 to reduce noise and a max of 100 to ignore waves from higher time frames.
Average? simply averages the two methods of calculation.
-> You may want to do this if you notice the two plots diverging a lot.
-> Cosine IFM tends to favor shorter periods; I-Q IFM tends to favor longer.
Cheers,
- DasanC
Ehlers Cyber Cycle StrategyEhlers Cyber Cycle Strategy by John Ehlers from his book "Cybernetic Analysis for Stocks and Futures".
Ichimoku BoxIntroducing Ichimoku Box Indicator:
Key Features:
Customizable Box Periods: Adjustable box periods with default settings of 9, 26, and 52.
Shifted Span A and Span B Points: Easily adjustable shifts and colors.
Additional Box Option: Capability to add an extra box for more detailed analysis.
High and Low Markers: Identifies the highest and lowest candle within each box with distinct markers.
Candle Countdown Timer: Displays the remaining candles before a box loses its high or low.
Drag-and-Drop Functionality: Move boxes to any position on the chart with a vertical line.
Automatic Box Drawing: When the indicator is first applied, a vertical line appears on the mouse cursor, and clicking on any point automatically draws the boxes.
How It Works:
The indicator allows users to visualize Ichimoku periods as boxes, highlighting key price levels and shifts in market structure. It simplifies the analysis process by providing visual cues and customizable settings for enhanced flexibility.
MACD + RSI/MA Signals with 200 EMA (Overlay)How It’s Built
MACD Line = EMA(12) – EMA(26)
→ Short-term vs. medium-term momentum.
Signal Line = EMA(9) of MACD Line
→ Smooths things out.
Histogram = MACD Line – Signal Line
→ Visual "energy gauge" showing momentum strength.
What It Actually Tells You
Crossover Signals
MACD Line crosses above Signal Line → Bullish shift (momentum turning up).
MACD Line crosses below Signal Line → Bearish shift (momentum turning down).
⚠️ But: crossovers lag price. On their own, they’re late.
Zero Line Relevance
Above Zero → Trend bias is bullish (short-term EMA > long-term EMA).
Below Zero → Trend bias is bearish.
Crosses through zero often align with bigger trend changes.
Histogram Use
Expanding histogram = momentum strengthening.
Shrinking histogram = momentum weakening (trend may be stalling).
Flips from positive to negative (or vice versa) often precede crossovers.
Divergences
Price makes a new high, but MACD doesn’t → momentum is fading → possible reversal.
Same idea for lows.
Where Traders Go Wrong
Using it alone. It’s a confirmation tool, not an entry machine.
Misreading every crossover as a trade. Many are just noise, especially on low timeframes.
Forgetting market context — MACD works best in trending markets, not chop.
Best Way to Use It
With trend structure + support/resistance:
→ E.g., you’re eyeing a BTC bounce long. If MACD histogram turns from negative to positive while price defends support, that’s confirmation, not a blind buy.
For momentum timing:
→ Ride trends longer if histogram stays strong. Scale out when it weakens.
Divergence spotting:
→ Early heads-up that a reversal is brewing.
Above/Below Open Background + Percentage ChangeAbove/Below Open Background
This indicator visually highlights whether the current price is trading above or below today’s session open.
It also displays a small table showing the current percentage change relative to today’s open.
Features
• 🟢 Full chart background coloring:
• Green → Price is above today’s open.
• 🔴 Red → Price is below today’s open.
• 📊 Percentage change table in the chart corner:
• Shows real-time % difference from today’s open.
• Automatically updates as price moves.
• 🎛 Clean & lightweight — minimal resource usage, smooth performance.
How to Use
1. Add the indicator to any stock, crypto, or futures chart.
2. The background immediately shows whether price is up or down relative to today’s open.
3. The table in the corner displays the percentage gain/loss.
Best For
• Day traders who want instant visual feedback.
• Scalpers tracking session trends.
• Anyone who wants a quick snapshot of intraday performance.
Cruzamento Mágico-EMA 5/21 + Stop ATR + Filtro BTC 30mOf course, here is a brief description of the strategy in English.
**Triple Confirmation Swing Trading Strategy**
This strategy aims to capture trend-based movements in crypto assets by using a triple confirmation system to filter entry signals and increase the probability of success.
The conditions for a trade are:
1. **Entry Trigger (Timing):** The primary signal occurs when the 5-period Exponential Moving Average (EMA) crosses the 21-period EMA. A cross above suggests a buy, while a cross below suggests a sell.
2. **Asset Trend Filter:** An entry is only considered if the asset's own trend, as measured by the **ATR Stop** indicator, is moving in the same direction as the EMA crossover. This avoids entering trades against the local trend.
3. **Market Trend Filter (Bitcoin):** As a final confirmation, the strategy checks the trend of **Bitcoin (BTC) on a fixed 30-minute timeframe**, also using the ATR Stop. A trade is only executed if the BTC trend aligns with the asset's signal.
In short, the strategy only opens a **long** position if the EMAs cross up, the asset's ATR Stop is bullish, and the Bitcoin's ATR Stop is also bullish. The reverse applies for a **short** position.
Altcoin Market Share vs ETH/BTCIdea from x.com on X
Each colored line represents the percentage share of different altcoin baskets (excluding stablecoins) or ETH relative to either the ETH or BTC market cap (can add more, e.g. SOL or create different dashboards with Memes, AI, DeFi, you name it)
I know: At first glance, this may seem noisy and complex, but it all depends on the questions you want to answer. Once you define those, much of the noise becomes irrelevant, allowing you to simplify the analysis and focus only on what matters to you. What I’ve done here is provide a few initial insights that I found useful (will isolate a couple of them in future).
This analysis doesn’t tell you which specific coins to buy, but rather provides a broad market overview as a foundation. It helps guide you toward areas of relative strength or weakness.
I’ve included a lot of information here, but the key is to extract the signal from the noise by asking the right questions, for example: At what point do altcoins become overvalued or undervalued against Ethereum? However, when asking these questions, it's important to remember that an overvaluation or undervaluation of Ethereum relative to altcoins tells you little about its valuation against Bitcoin or USD. These are separate questions further down the process.
BB Trading WindowsTrading Windows for Blue Belt Strategy. The windows are as follows:
1:00-02:59
13:00-15:59
22:00-22:59
All in NY timezone.