J-Lines Ribbon β€’ 4-Cycle Engine (CHOP / ANTI / LONG / SHORT) β€” Strategy by kokenbakensoda

By kokenbakensoda

Performance Metrics

Description

πŸ“ˆ J-Lines Ribbon β€’ 4-Cycle Engine (CHOP / ANTI / LONG / SHORT)Version: Pine Script v6Author: Thomas LeeCategory: Trend-Following / Mean Reversion / ScalpingTimeframes: Optimized for 1–5m (but adaptable) Seems to work best on Fibb Time🧠 Strategy Overview:The J-Lines Ribbon 4-Cycle Engine is a precision trading algorithm designed to navigate complex market microstructure across four adaptive states:πŸ” CHOP (No Trade / Flatten)🟑 ANTI (Legacy Layer / Under Development)🟒 LONG (Trend-Continuation & Rebounds)πŸ”΄ SHORT (Inverse Trend-Continuation & Rebounds)It combines a multi-layer EMA ribbon, ADX-based CHOP detection, and smart pivot analysis to dynamically shift between market modes, entering and exiting trades with surgical precision.πŸ” Core Features:Dynamic Market Cycle DetectionAuto-classifies each bar into one of the 4 market states using ADX + EMA 72/89 crossovers.One-Shot Entries & Rebound LogicInitiates base entries at the start of new trend cycles. Re-entries (ReLong/ReShort) trigger on EMA 72 and EMA 126 pullbacks with momentum resumption.CHOP State AutopilotAutomatically closes open positions when CHOP begins, preventing sideways market exposure.Precision Take-Profits & Pivots-Based Stop LossesReal-time adaptive exits using pivot high/low swing points as dynamic SL/TP anchors.Customizable ParametersPivot length (left/right)ADX thresholdsRebound tolerance bandsRibbon display and state-labelsπŸ“Š Indicator Components:πŸ“ EMA Ribbon: 72, 89, 126, 267, 360, 445πŸ“‰ ADX Filter: Filters out sideways noise, confirms directional biasπŸ” Crossover Events: Detects trend initiationsπŸŒ€ Cycle Labels: Real-time visual display of current market stateπŸ› οΈ Ideal Use Cases:Scalping volatile marketsAutomated strategy testing & optimizationEntry/exit signal confirmation for discretionary tradersTrend filtering in algorithmic stacks⚠️ Notes:ANTI cycle logic is scaffolded but not fully deployed in this version. It will be extended in a future release for deep mean-reversion detection.Tailor ADX floor and pivot sensitivity to your specific asset and timeframe for optimal performance.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView