OCC Changelog

Open Close Cross changelog.

Release notes for the OCC Indicator, newest first.

4.9cLatest
22/08/2026
  • NewAdded spot price options to dynamically calculated volatility indices
  • NewAdded trades, wins, total, ntp, nsl, nslp, nflip, nsp and ntm fields to alert payload — running backtest statistics now travel with every signal
  • FixFixes to BVOL24H / BVOL7D on the fly calculations for non-minute based resolutions
  • FixFixed incorrect max drawdown calculation in case of partial TP
  • FixFixed stale position info in "Profit" table when trade is closed live
  • FixFixed stats and position info not updating correctly when running live
  • ImprovedImproved "Spike Prof" figure in the stats box — now calculated from the price distance spike exits actually closed at over the backtest, instead of a fixed estimate from the "Spike Take Profit %" setting (realised percentage shown in brackets)
  • ImprovedImproved default info level to keep the ENTRY info box on chart for as long as the trade is open, instead of only under the "Open" levels
  • ImprovedImproved ENTRY info box on short trades — SL, entry and TP1 are now listed in price order, matching how the levels sit on the chart
  • ImprovedSmall fixes
4.9
11/08/2026
  • NewAdded "Signal Source" setting — generate signals from an external symbol while entries and exits use the chart symbol (shows "⚠ Chart" warning when Signal Source differs from chart symbol)
  • NewAdded "BVOL24H / BVOL7D — Chart, Source, Idx and Spot" variants to both Volatility Index settings, for volatility calculated on the fly from chart symbol, signal source, BTC composite index or spot price
  • NewAdded "Detail +SL" info level, removing info boxes on in-profit SL for "Detail SL" level
  • NewAdded FRMA (fractal adaptive) moving average
  • NewAdded two debug alert levels — filtered signals only, and every confirmed bar
  • NewAdded closed, remain, profit, filter, fside and barssp fields to alert payload
  • FixFixed overstated profit percentages on partial take-profit — increasingly wrong at higher buy-in, worst at 100%
  • FixFixed long signals winning over short ones when both sides had a pending cross — most recent now wins
  • FixFixed stop-loss marker showing full-loss on trades closed in profit or after spike close
  • FixFixed filter statistics occasionally recording stale reject reason when signal was re-armed by override
  • FixFixed "Spike Take Profit" not resetting its bar counter consistently after a close
  • RemovedRemoved the "Price to use for Entry/Exit" setting — only "Close" produced consistent backtest results
  • RemovedRemoved SMMA and LRMA moving averages (duplicates of RMA and LSMA), and reordered by family: simple, exponential, weighted, adaptive
  • RemovedRemoved obsolete volatility indices (FTX and several delisted CBOE symbols)
  • RemovedRemoved the "Pin Stats" and "Bar Trend Colors" settings
  • ImprovedImproved higher-timeframe data handling so all requests share one consistent non-repaint policy
  • ImprovedImproved position accounting — one shared calculation replacing separate copies that drifted apart
  • ImprovedImproved filtered signal information overlay for all "Filtered" info levels
  • ImprovedCode reorganization, optimization and general clean up + upgrade to Pine v6
4.8
20/05/2024
  • NewAdded "Min Bars since Spike" filter setting
  • FixFixed "Spike Take Profit" signals firing too often
  • FixFixed some stats issues (eg. spike/TP on the same bar)
  • ImprovedImproved code compatibility with newest Pine version
  • ImprovedImproved XBTUSD 1h defaults using "Spike Take Profit" for exits
4.7
01/11/2022
  • NewAdded "Volatility Index B Mid" (Deadband) filter setting for second index
  • ImprovedOptimized code to reduce compile time and avoid current TV Pine server load issues
  • FixFixed (temporarily) unavailable volatility index causing Pine calculation error
  • FixFixed some cases of long "ATR Length" causing wrong stats
  • NewAdded more tooltip settings descriptions
4.6
08/04/2022
  • NewAdded "Volatility Index Mid" (Deadband) filter setting
  • NewAdded 2nd "Price Variation Mid" (Deadband) filter setting
  • NewAdded "Volume Min Override" filter setting (using Cross Strength) and properly renamed old setting to "Volume Max Override"
  • NewAdded "Min Bars since" options for entry/SL/TP (before new signal is allowed)
  • NewAdded time since previous entry/exit info to alert messages
  • NewAdded detailed filter statistics for any "Info Level" showing filtered signals
  • NewAdded "Info Level" options to show filtered entries with reason etc.
  • NewAdded better protection against alert() misfires (once per bar vs per close)
  • NewAdded all detail info as variables to alert messages
  • NewAdded "Close % at Spike" option to only close position partially on spike TP
  • NewAdded "Close % at Timeout" option to close position when "Signal Trades longer than" triggers
  • NewAdded statistics for "Spike TP" and "Timeout"
  • NewAdded better indication to entry details if an override triggered
  • ImprovedAllow "Cross Strength Mid %" to be above "Cross Strength Override %"
  • NewAdded "Trend On Entry Override Idx" switch to protect volatility index from override
  • NewAdded "Bar Filter Color" switch (now off by default)
  • NewAdded option to show overall statistics as pinned tables fixed to screen
  • ImprovedMoved overall statistics to better position (not covering other info)
  • FixFixed no-repaint for alternative timeframes caused by Pine changes
  • FixFixed FTX compatible leverage rounding when "Leverage" set to -1
  • FixFixed current SL/TP Streak statistics
  • ImprovedImproved XBTUSD 1h defaults using new features
  • ImprovedPorted to Pine v5 and restructured/cleaned up core
4.5a
10/06/2021
  • NewImplemented new TV alert() calls for all indicator conditions (+"Alert Level" setting for what to trigger) => One TV alert now handling ALL indicator signals! (entry: once per bar close, SL/TP etc: once per bar) The signal triggered (PV alert) uses the name entered under "Custom Name" in the indicator with a suffix added for the type of alert (SL/TP etc): Level: 1, Signal: <NAME> (Entry) · Level: 1, Signal: <NAME>_SPIKE · Level: 1, Signal: <NAME>_TIMEOUT · Level: 2, Signal: <NAME>_SL · Level: 3, Signal: <NAME>_TP1 · Level: 4, Signal: <NAME>_TP2 · Level: 5, Signal: <NAME>_TP3 · (all calculated data like quantity, leverage, SL, TP1..3 is automatically sent as custom variables!)
  • ImprovedOverhauled core to always use historic data for any data accessed in non-chart-native resolution and removed unnecessary legacy settings => "repainting" impossible even with "exotic" settings!
  • ImprovedChanged old multiplier setting into "Cross Resolution" drop down selection
  • ImprovedAdapted all resolution drop downs to offer the same selections
  • NewAdded compatiblility with all second-based chart resolutions
  • NewAdded "Trend Strength" filter and added info to entry labels Negative value: Switch to "No Trend" (=no trades!) if strength is below/above on trend change
  • NewAdded "Trend On Entry" filter (factor of trend strength on entry vs when trend changed)
  • NewAdded drop down selection for 30+ different volatility indices
  • NewAdded second "Volatility Index B" filter
  • NewAdded "Cross Strength Mid" filter setting: 4% deadband, use negative value for 8%
  • NewAdded "Volatility Switch Mid" filter setting: 4% deadband, use negative value for 10%
  • NewAdded "Price Variation Mid" filter setting: 5% deadband, use negative value for 15%
  • NewAdded "RSI Deadband" filter setting: 3% deadband, use negative value for 9%
  • ImprovedNegative "Cross Strength Override %": Override "Volatility Sw Max" and "Trend On Entry" (4.5a)
  • FixFixed some Flip/LossySL conditions leading to slightly wrong stats / virtual positions
  • FixFixed calculated stats when in trade (open position)
  • NewAdded current drawdown to info labels (4.5a)
  • NewAdded Maximum Drawdown infos to stats
  • NewAdded SL/TP Streak infos to stats
  • NewAdded Min/Max Balance infos to stats
  • NewAdded support for from-date and date ranges to "Maximum Days Back" setting Supported formats: ddd => last ddd days (same as previous versions) · mm-dd => from date mm-dd till now (this year) · yy-mm-dd => from date yy-mm-dd till now (given year) · mm-dd-mm-dd => from first given date mm-dd till second given mm-dd (this year) · yy-mm-dd-mm-dd => from first given date yy-mm-dd till second given yy-mm-dd (same year) · yy-mm-dd-yy-mm-dd => from first given date yy-mm-dd till second given yy-mm-dd (given years)
  • ImprovedIncreased total limit of info labels to new TV maximum
  • ImprovedSetting RSI/Vol Smoothing to negative value forces EMA smoothing (instead of SMA)
  • ImprovedSetting leverage to -x forces auto leverage to be limited to x maximum
  • ImprovedSetting leverage to -1 forces rounding down to a valid FTX leverage
  • ImprovedStarted adding tooltips with help/short explanations for each setting (4.5a)
  • NewAdded the given settings name (Custom Name) to stats
  • NewAdded exact bartime to all info labels
  • NewAdded warnings for common risky setups to stats (high risk etc.)
  • NewAdded plot with entry / break-even price
  • NewAdded hidden plots for TP2/3 prices (now submitted with entry alerts!)
  • FixFixed all occurences of "Pine cannot determine length of a series" error
  • FixFixed quantity/leverage etc. randomly not being sent anymore with alerts
  • RemovedRemoved "Trend" and "VolH" from info labels if the setting is disabled
  • ImprovedUpdated 1h XBTUSD (BitMEX) default settings
4.2
13/08/2020
  • NewAdded new Cross Spread Override option (counteract filtering of bigger moves, more TPs!)
  • ImprovedPerformance improvements due to optimized MA switching!
  • ImprovedRenamed "Cyclical" volatility filter to its original "Switch" and added maximum limit, variable window and smoothing options (better sideways filtering!)
  • NewAdded multi-level profit calculations / virtual position simulation - beta!
  • NewAdded risk based buy-in and (maximum) leverage auto calculation
  • NewAdded OHLC, side, size, lev., TP and SL to default alert message syntax
  • NewAdded new unified entry alert condition
  • NewAdded stochastic and smoothing options for RSI filter
  • NewAdded MA type options for trend, price variation and volume filter
  • NewAdded PEMA (Pentuple Exponential), LMA (Leo), CMA (Corrected), CWMA (Cubed Weighted), OWMA (Optimal Weighted), SRWMA (Square Root Weighted), EHMA (Exponential Hull), FLSMA (Fisher Least Squares), LRMA (Linear Regression), LFMA (Laguerre Filter), SFMA (Sequential Filter) and JMA (Jurik) moving averages
  • RemovedRemoved "Stop Loss only before TP" option (now auto according to stat TP amounts)
  • NewAdded debug info option for entries resulting in SL or TP (limited by TV/Pine to the last ~50 entries)
  • NewAdded seperate counts for long/short per SL/TP etc. to stats
  • ImprovedChanged display of durations in stats to mins/hours/days (dynamic)
  • NewAdded non-lossy flips to stats
  • ImprovedPlot lines for SL/TP now hidden when not in trade
  • FixFixed Cross Strength Min/Max/Override settings not being percentage (prev 0.01 = now 1.0 !)
  • FixFixed Exit Loss Buffer setting not being percentage (prev 0.01 = now 1.0 !)
  • FixFixed some Lossy/SL exit conditions being indicated erroneously
  • FixFixed ZEMA (Zero Lag) calculation
  • FixFixed Spike Profit alert condition
  • ImprovedImproved defaults for XBTUSD 1H setup
  • Improvedv4.1: Small cosmetic styling fixes
  • Improvedv4.2: Fixed profit/loss calculations for short positions
  • ImprovedNOTE: Values for "Cross Strength Min" (formerly "Cross Spread Min"), "Cross Strength Max" (formerly "Cross Spread Max") and "Exit Loss Buffer" have to be multiplied by 100 compared to previous OCC versions!
3.5
05/05/2020
  • ImprovedAdapted to use Pinescript v4 enabling the use of plot values in alerts!
  • NewAdded option to show signal stats / overall profit loss calculation (beta / TP1 profit only!)
  • ImprovedReplaced SL Squeeze option with multiple SL-from-TP levels
  • NewAdded option for additional trade logic only stoploss (SL "Buffer")
  • NewAdded Min Spread option for better sideways protection
  • NewAdded Min/Max Spread Window options for improved "bart" protection
  • NewAdded ATR settings and ATR offset % to better tweak ATR stoploss
  • ImprovedLimited ATR with hard baseline stoploss
  • NewAdded Exit Loss Buffer % option to account for fees/slippage
  • NewAdded Trend Resolution option "From Chart"
  • NewAdded Trend Bar Delay option
  • ImprovedImproved RSI and Historic Volatility descriptions
  • NewAdded seperate Alert Conditions for TP/SL/Spike according to trade direction
  • NewAdded option to signal trades open longer than given number of bars
  • NewAdded Custom Name field to improve selection for multiple layers
  • FixFixed Spike Profit option sometimes triggering errornously
  • ImprovedNew default settings optimized for XBTUSD 1H (90% win rate for >1yr!)
3.2
19/03/2019
  • NewAdded more timeframes to trend confirmation resolution
  • NewAdded option to show SL only before any TP
  • NewAdded min historic volatility to adaptive sideways filter
  • NewAdded optional max cross spread limiter
3.1
21/11/2018
  • NewAdded max price variation and max historic volatility limit filter against violent market corrections
Looking for older versions (3.0 and earlier)? Older versions