</> Codebase
StrategyQuant X platform codebase – a place to share coded customizations and extensions – among all users.
Indicators / Signals
Divergence Custom Blocks
Custom blocks can be imported into Algowiazrd and utilized within its builder interface or during strategy development. These custom blocks cover fundamental indicators for strategies in the X category and are specifically designed to detect divergences, whether bullish or bearish.
cusotm blocks
divergence
conditions
Indicators / Signals
Bollinger Bands %B (BBB)
Bollinger Bands %B is a technical oscillator that quantifies how close the market price is to the upper or lower Bollinger Bands. By converting this distance into a percentage value from 0 to 1, it offers a quick way to gauge whether the market is approaching overbought (near 1) or oversold (near 0) conditions.
oscillator
clonex
bollinger bands
bands
Indicators / Signals
Divergence Comparison Blocks
Divergences have long been a favorite tool among technical analysts and systematic traders. They provide early clues that price trends might be losing momentum or are about to reverse. In this post, we dive deep into the world of divergences—from the underlying theory to practical implementation insights, along with key parameters that fine-tune divergence detection.
indicator
divergence
swing
comparison
Indicators / Signals
Kalman Filter (KF)
The Kalman Filter is a mathematical approach often used in engineering and finance to produce smooth, adaptive estimates of a system’s state—in this case, the price of a financial instrument. By combining past estimates and new measurements, the Kalman Filter helps reduce noise and track both the price and its velocity (or slope) over time.
indicator
trend
clonex
kalman filter
Indicators / Signals
Ultimate Oscillator (UO)
The Ultimate Oscillator is a technical analysis tool designed to capture momentum by combining three different time periods into a single value. By weighing short-term, mid-term, and long-term price pressures, it aims to minimize false signals that can arise from focusing on any single timeframe.
indicator
oscillator
clonex
ultimate
Indicators / Signals
Indicators Smoothing Custom Blocks
In our latest update, we've introduced new comparison blocks that allow you to smooth any indicator using various moving averages, such as SMA, EMA, WMA, or HMA. These blocks enable you to compare an indicator's current value to its smoothed version, helping to filter out market noise and focus on significant trends. You can specify parameters like the period, moving average type, and shift to tailor the smoothing to your strategy. This enhancement provides traders with refined tools to develop more robust and responsive trading strategies.
moving average
clonex
indicator ma
Indicators / Signals
CUSUM
CUSUM is a sequential analysis technique that accumulates deviations from a target value over time. By comparing the cumulative sum against defined thresholds, it becomes easier to spot even subtle shifts in price behavior. In our implementation, two separate accumulators—one for upward movements (CUSUM Positive) and one for downward movements (CUSUM Negative)—signal when the change in the underlying price series becomes significant.
indicator
clonex
cucum
ivan huidec
drift
Indicators / Signals
Adaptive Custom Block/Conditions
These custom blocks, or conditions, were used in the analysis of the effectiveness of more adaptive blocks, which you can read here. Additionally, these custom blocks can serve as a template for you to prepare your own.
adaptive
cinditions
cusotm blocks
Indicators / Signals
Kolmogorov-Smirnov Test (KSTest)
The Kolmogorov-Smirnov Test (KSTest) indicator is a statistical tool used in quantitative trading to compare two data samples and determine if they come from the same distribution. In this implementation, the indicator compares a recent sample of price data ( Period1) with a historical sample (Period2) to detect significant changes in the underlying distribution of the data.
indicator
market regime
clonex
regime
shift
ivanhudec
Indicators / Signals
Is Greater Adaptive / Is Lower Adaptive
The IsGreater Is/Lower Adaptive comparison block does one main thing: it checks if one indicator is greater than another, but only generates a signal if similar situations were profitable in the past.
indicator
adaptive
market regime
clonex
comaprison