Strategy · Pine Script v6 · On the chart

BTC ATH Golden Cycle v5

by ymlee1104

This Bitcoin trading strategy analyzes golden cycle phases using halving dates and custom lengths for pre- and post-halving rises and drops.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code494
Settings29inputs
LicenceNone stated
Last update7 months ago13 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

BTC ATH Golden Cycle v5 plots a rainbow ribbon, supply and demand zones, Ichimoku cloud, geometric mean indicator, and ZigZag lines on the price chart. Settings control visibility of each element and cycle parameters for trend analysis. The strategy signals potential reversals based on cycle rhythms, supports pyramiding up to five positions, and draws exclusively on the main price chart without stop loss.

Details

Published by

ymlee1104 on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Trend, Support & resistance, Volatility & bands

Markets

Crypto

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)
  • The strategy can add several entries in the same direction
  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
시작일timetimestamp("2019-12-16 00:00 +0900")start_time
Rainbow Ribbonbooltrueshow_Rainbow_ribbon
Rainbow Barbooltrueshow_Rainbow_barCol
일목균형 Bandboolfalseshow_ichi
Geometric MeanboolfalseshowGMI
Supply and Demandbooltruesd_enable
BTC Cyclebooltrueshow_btc_cycle
ZigZagbooltruezigZagOnOff
ZigZag 추세전환 이격(%)float0.5deviationInput
ZigZag Pivot legsint25depthInput
전환선 기간int9ichi_TKlen
기준선 기간int26ichi_KJlen
Show all 29 settings
SettingTypeDefaultVariable
선행스팬B 기간int52ichi_SBlen
실행스팬 오프셋int1ichi_offset
기준 반감기 날짜timetimestamp('2024-04-20T00:00:00')btc_cycle_halving_input
전 상승int530btc_cycle_pre_len
후 상승int534btc_cycle_post_len
하락주기int365btc_cycle_down_len
하락률float75.0max_drop_pct
상승률float435.0max_rise_pct
가중률float2.5weight_val
Geometric Fast Lengthint14gmiLength1
Slow Lengthint56gmiLength2
Zone Extension Lengthint20sd_zone_len
Box Height Multiplierfloat0.9sd_h_mult
Supplycolorcolor.orangesd_col_sup
Demandcolor#009fd4sd_col_dem
투명BGint75sd_transp
투명BDint55bd_transp
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

257 stars

This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry

Strategy v6 Volatility & bandsSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of V1.6 ES - Futures 1M No Repaint

Nasdaq Prop Firm Strategy

by TradersPost
218 stars

This strategy uses multiple VWAP anchors and a custom Lull indicator to generate buy and sell signals on the Nasdaq price chart. It plots the VWAP trend line and three VWAP anchors with customizable colors and mitigation methods. The Lull indicator produces si

Strategy v6 TrendSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Nasdaq Prop Firm Strategy
106 stars

This overlay strategy plots a two-timeframe Ichimoku setup on the price chart, with Tenkan, Kijun, Chikou, and Kumo from a base higher timeframe and an optional highest-timeframe cloud. It allows two entries in the same direction and uses ATR-based trailing st

Strategy v4 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of 2Tier Ichimoku Pyramiding [Takazudo]

This strategy implements a multi-stage trend following system inspired by John W. Seykota. It generates long and short entries when price breaks above or below Donchian channels of specified length. Each entry adds a unit sized to risk a fixed percentage of cu

Strategy v6 TrendVolatility & bands
Updated 11 months ago · None stated GitHub repository of Seykota Alt 29: Multi-Stage Scaling
11 stars

Calculates upper and lower Donchian Channel bands over a customizable lookback length and plots them on the main price chart. At a specified exchange hour, the strategy places a long buy stop order at the upper Donchian Channel level. Unfilled pending orders a

Strategy v6 BreakoutSupport & resistance
Updated 5 months ago · Apache-2.0 GitHub repository of Estrategia Donchian Breakout
9 stars

Smooth Trend Radar Strategy calculates a double-smoothed Supertrend baseline using WMA and EMA to identify trend direction and sideway regimes. It plots baseline rejection signals on flips, trend slope filters, and statistical overextension highlights with can

Strategy v6 TrendMoving averages
Updated yesterday · MIT GitHub repository of Smooth Trend Radar Strategy

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers