J-Lines Ribbon β’ 4-Cycle Engine (CHOP / ANTI / LONG / SHORT) β Strategy by kokenbakensoda
By kokenbakensoda
Performance Metrics
- Author: kokenbakensoda
- Symbol: CRYPTO:SOLUSD
- Timeframe: 5 minutes
- Net P&L: +1,649.97 USD (+1.65%)
- Win Rate: 39.8%
- Profit Factor: 1.249
- Max Drawdown: 1,014.59 USD (1.00%)
- Total Trades: 352
- Sharpe Ratio: 0.16
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.