Core technical indicators, used in trading strategies.
Input parameters:
Volume Algo
e.g SQL
TICK volume WITH minutes=10 > 10000 THEN order SET capital=10000, transmit=true
Input parameters:
Volatility Algo
e.g SQL
TICK volatility WITH minutes=5 > 10 THEN order SET capital=10000, transmit=true
Input parameters:
Accumulation/Distribution Line (ADL) is a volume-based indicator that measures cumulative money flow into and out of a security. It helps identify divergences between price and volume, with rising ADL suggesting accumulation (buying pressure) and falling ADL suggesting distribution (selling pressure).
e.g SQL
TICK adl WITH minutes=14 > 1000000 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Average Directional Index (ADX) measures the strength of a trend. Values above 25 indicate a strong trend, while values below 20 indicate a weak trend.
e.g SQL
TICK adx WITH minutes=60 > 25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Positive Directional Indicator (+DI) measures the strength of upward price movement. When +DI crosses above -DI, it may signal a potential uptrend.
e.g SQL
TICK adxPlusDI WITH minutes=60 > 25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Negative Directional Indicator (-DI) measures the strength of downward price movement. When -DI crosses above +DI, it may signal a potential downtrend.
e.g SQL
TICK adxMinusDI WITH minutes=60 > 25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Average True Range (ATR) is a volatility indicator that measures market volatility by decomposing the entire range of an asset price for a period. Higher ATR values indicate higher volatility, while lower values indicate lower volatility.
e.g SQL
TICK atr WITH minutes=60 > 2.5 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Awesome Oscillator (AO) is a momentum indicator that shows the difference between a fast and slow moving average. It helps identify market momentum and potential trend changes. Positive values indicate upward momentum, while negative values indicate downward momentum.
e.g SQL
TICK awesomeOscillator WITH minutes=60, fastPeriod=5, slowPeriod=34 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Bollinger Bands Upper Algo
e.g SQL
TICK bbandsUpper WITH minutes=20, stdDev=2 > 1 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Bollinger Bands Middle Algo
e.g SQL
TICK bbandsMiddle WITH minutes=20, stdDev=2 > 1 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Bollinger Bands Lower Algo
e.g SQL
TICK bbandsLower WITH minutes=20, stdDev=2 > 1 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Commodity Channel Index (CCI) is a momentum oscillator that measures the current price level relative to an average price level over a given period. It helps identify cyclical trends and extreme conditions, with values above +100 indicating overbought conditions and below -100 indicating oversold conditions.
e.g SQL
TICK cci WITH minutes=20 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Exponential Moving Average (EMA) is a type of moving average that gives more weight to recent prices, making it more responsive to price changes than a Simple Moving Average. It helps identify trends and potential support/resistance levels, with shorter periods being more sensitive to price changes.
e.g SQL
TICK ema WITH minutes=14 > 50.25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Force Index is a momentum indicator that combines price movement and volume to measure the strength of price moves. It helps identify potential trend reversals and breakouts, with positive values indicating buying pressure and negative values indicating selling pressure.
e.g SQL
TICK forceindex WITH minutes=13 > 1000000 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Tenkan-sen (Conversion Line) is the midpoint of the highest high and lowest low over the specified period. It helps identify short-term trend direction and potential support/resistance levels.
e.g SQL
TICK ichimokuTenkan WITH tenkanMinutes=9, kijunMinutes=26, senkouBMinutes=52, chikouMinutes=26 > price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Kijun-sen (Base Line) is the midpoint of the highest high and lowest low over a longer period than Tenkan-sen. It helps identify medium-term trend direction and potential support/resistance levels.
e.g SQL
TICK ichimokuKijun WITH tenkanMinutes=9, kijunMinutes=26, senkouBMinutes=52, chikouMinutes=26 > price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Senkou Span A (Leading Span A) is the average of Tenkan-sen and Kijun-sen, projected forward. It forms the upper boundary of the Ichimoku Cloud when above Senkou Span B.
e.g SQL
TICK ichimokuSenkouSpanA WITH tenkanMinutes=9, kijunMinutes=26, senkouBMinutes=52, chikouMinutes=26 > price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Senkou Span B (Leading Span B) is the midpoint of the highest high and lowest low over a longer period, projected forward. It forms the lower boundary of the Ichimoku Cloud when below Senkou Span A.
e.g SQL
TICK ichimokuSenkouSpanB WITH tenkanMinutes=9, kijunMinutes=26, senkouBMinutes=52, chikouMinutes=26 > price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Chikou Span (Lagging Span) is the current closing price shifted back by the specified period. It helps confirm trend direction and identify potential support/resistance levels.
e.g SQL
TICK ichimokuChikou WITH tenkanMinutes=9, kijunMinutes=26, senkouBMinutes=52, chikouMinutes=26 > price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Know Sure Thing (KST) Line is a momentum oscillator that combines multiple price momentum measurements into a single indicator. It helps identify major market trends and potential reversals, with values above zero indicating bullish momentum and below zero indicating bearish momentum.
e.g SQL
TICK kst WITH roc1Minutes=10, roc2Minutes=15, roc3Minutes=20, roc4Minutes=30, sma1Minutes=10, sma2Minutes=10, sma3Minutes=10, sma4Minutes=15, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
KST Signal Line is a smoothed version of the KST Line that helps confirm trend changes. Crossovers between the KST Line and Signal Line can indicate potential trend reversals.
e.g SQL
TICK kstSignal WITH roc1Minutes=10, roc2Minutes=15, roc3Minutes=20, roc4Minutes=30, sma1Minutes=10, sma2Minutes=10, sma3Minutes=10, sma4Minutes=15, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
MACD Line is the difference between fast and slow EMAs. It helps identify trend direction and momentum, with positive values indicating upward momentum and negative values indicating downward momentum.
e.g SQL
TICK macd WITH fastMinutes=12, slowMinutes=26, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
MACD Signal Line is typically a 9-period EMA of the MACD line. It helps identify potential buy and sell signals when it crosses the MACD line.
e.g SQL
TICK macdSignal WITH fastMinutes=12, slowMinutes=26, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
MACD Histogram is the difference between the MACD line and the signal line. It helps identify momentum and potential trend reversals, with positive values indicating increasing momentum and negative values indicating decreasing momentum.
e.g SQL
TICK macdHistogram WITH fastMinutes=12, slowMinutes=26, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Money Flow Index (MFI) is a momentum oscillator that incorporates both price and volume data to measure buying and selling pressure. It ranges from 0 to 100, with values above 80 indicating overbought conditions and below 20 indicating oversold conditions.
e.g SQL
TICK mfi WITH minutes=14 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
On-Balance Volume (OBV) is a momentum indicator that uses volume flow to predict changes in price. It adds volume on up days and subtracts volume on down days, helping identify whether volume is flowing into or out of a security. Divergences between OBV and price can signal potential trend reversals.
e.g SQL
TICK obv WITH minutes=14 > 1000000 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Parabolic Stop and Reverse (PSAR) is a trend-following indicator that identifies potential reversals in price direction. It appears as dots above or below the price, with dots below price indicating an uptrend and dots above price indicating a downtrend. It also serves as a trailing stop-loss.
e.g SQL
TICK psar WITH initialAF=0.02, maxAF=0.2, increment=0.02 < price THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Rate of Change (ROC) is a momentum oscillator that measures the percentage change in price between the current price and the price n periods ago. It helps identify overbought/oversold conditions and potential trend reversals, with extreme values indicating potential price reversals.
e.g SQL
TICK roc WITH minutes=12 > 10 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100, with values above 70 indicating overbought conditions and below 30 indicating oversold conditions.
e.g SQL
TICK rsi WITH minutes=14 > 70 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Simple Moving Average (SMA) is a technical indicator that calculates the average price of a security over a specified number of periods. It helps identify trends and potential support/resistance levels.
e.g SQL
TICK sma WITH minutes=14 > 50.25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Stochastic %K is the fast line of the Stochastic Oscillator. It compares a security's closing price to its price range over a specific period, helping identify overbought/oversold conditions and potential trend reversals.
e.g SQL
TICK stochasticK WITH minutes=14, smoothK=3, smoothD=3 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Stochastic %D is the slow line of the Stochastic Oscillator, typically a moving average of %K. It helps confirm trend direction and identify potential buy/sell signals when it crosses the %K line.
e.g SQL
TICK stochasticD WITH minutes=14, smoothK=3, smoothD=3 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Stochastic RSI K Line is a momentum oscillator that applies the Stochastic formula to RSI values. It ranges from 0 to 100, with values above 80 indicating overbought conditions and below 20 indicating oversold conditions. It helps identify potential trend reversals and entry/exit points with greater sensitivity than traditional RSI.
e.g SQL
TICK stochrsiK WITH rsiMinutes=14, stochMinutes=14, kMinutes=3, dMinutes=3 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Stochastic RSI D Line is a smoothed version of the K Line that helps confirm trend changes. Crossovers between the K and D lines can indicate potential trend reversals.
e.g SQL
TICK stochrsiD WITH rsiMinutes=14, stochMinutes=14, kMinutes=3, dMinutes=3 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
TRIX is a momentum oscillator that shows the percentage rate of change of a triple exponentially smoothed moving average. It helps identify oversold and overbought conditions, with positive values indicating upward momentum and negative values indicating downward momentum.
e.g SQL
TICK trix WITH minutes=14 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Profile Point of Control (POC) represents the price level with the highest trading volume. It indicates the price level where most trading activity occurred, often serving as a strong support or resistance level.
e.g SQL
TICK volumeProfilePOC WITH minutes=60, levels=24 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Profile VWAP (Volume Weighted Average Price) represents the average price weighted by volume. It helps identify the true average price level where most trading occurred, often used as a reference for fair value.
e.g SQL
TICK volumeProfileVWAP WITH minutes=60, levels=24 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Profile High represents the highest price level with significant trading volume. It helps identify the upper boundary of the volume profile and potential resistance levels.
e.g SQL
TICK volumeProfileHigh WITH minutes=60, levels=24 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Profile Low represents the lowest price level with significant trading volume. It helps identify the lower boundary of the volume profile and potential support levels.
e.g SQL
TICK volumeProfileLow WITH minutes=60, levels=24 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Weighted Average Price (VWAP) is a trading benchmark that shows the average price a security has traded at throughout the day, based on both volume and price. It is used to identify the true average price of a security and is often used as a reference point for institutional traders.
e.g SQL
TICK vwap WITH minutes=14 > 50.25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Wilder's Exponential Moving Average (WEMA) is a modified version of the EMA that uses a different smoothing factor (1/n instead of 2/(n+1)). It provides a smoother line than traditional EMA and is often used in other technical indicators like RSI and ADX.
e.g SQL
TICK wema WITH minutes=14 > 50.25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Williams %R is a momentum oscillator that measures overbought and oversold levels. It ranges from 0 to -100, with readings above -20 indicating overbought conditions and below -80 indicating oversold conditions.
e.g SQL
TICK williamsr WITH minutes=14 < -80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Weighted Moving Average (WMA) is a moving average that assigns different weights to data points, with more recent prices having higher weights. It responds more quickly to price changes than a Simple Moving Average, making it useful for identifying trends and potential support/resistance levels.
e.g SQL
TICK wma WITH minutes=14 > 50.25 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Average Volume Algo
e.g SQL
TICK averageVolume > 1000 THEN order SET size=100, transmit=true
Input parameters:
Donchian Channel Middle Band is the average of the upper and lower bands. It helps identify the mean price level and potential support/resistance. Price crossing this level may indicate a change in trend direction.
e.g SQL
TICK donchianMiddle WITH minutes=20 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Donchian Channel Upper Band represents the highest high price over a specified period. It helps identify potential resistance levels and breakout points. When price breaks above this level, it may indicate a strong bullish move.
e.g SQL
TICK donchianUpper WITH minutes=20 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Donchian Channel Lower Band represents the lowest low price over a specified period. It helps identify potential support levels and breakdown points. When price breaks below this level, it may indicate a strong bearish move.
e.g SQL
TICK donchianLower WITH minutes=20 < 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Alligator Jaw is the slowest moving average (13-period) with an 8-bar offset. It represents the long-term trend and is often used as a reference for major trend direction.
e.g SQL
TICK alligatorJaw WITH minutes=60, jawPeriod=13, jawOffset=8 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Alligator Teeth is the medium-term moving average (8-period) with a 5-bar offset. It represents the intermediate trend and helps identify potential trend changes.
e.g SQL
TICK alligatorTeeth WITH minutes=60, teethPeriod=8, teethOffset=5 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Alligator Lips is the fastest moving average (5-period) with a 3-bar offset. It represents the short-term trend and helps identify potential entry and exit points.
e.g SQL
TICK alligatorLips WITH minutes=60, lipsPeriod=5, lipsOffset=3 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Gator Upper Jaw represents the distance between the Alligator's Jaw and Teeth lines. Positive values indicate trend strength, while decreasing values suggest a potential trend reversal.
e.g SQL
TICK gatorUpper WITH minutes=60, jawPeriod=13, teethPeriod=8 > 0.5 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Gator Lower Jaw represents the distance between the Alligator's Teeth and Lips lines. Negative values indicate trend strength, while increasing values suggest a potential trend reversal.
e.g SQL
TICK gatorLower WITH minutes=60, teethPeriod=8, lipsPeriod=5 < -0.5 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Money Flow Index (MFI) is a volume-weighted RSI that measures buying and selling pressure. It helps identify overbought and oversold conditions, with values above 80 indicating overbought conditions and values below 20 indicating oversold conditions.
e.g SQL
TICK moneyFlowIndex WITH minutes=60, period=14 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Chaikin Money Flow (CMF) is a volume-weighted average of accumulation/distribution over a specified period. Positive values indicate buying pressure, while negative values indicate selling pressure.
e.g SQL
TICK chaikinMoneyFlow WITH minutes=60 > 0.2 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Ease of Movement (EOM) is a volume-based indicator that measures the relationship between volume and price change. Positive values indicate that price is rising with relative ease, while negative values indicate that price is falling with relative ease.
e.g SQL
TICK easeOfMovement WITH minutes=60 > 0.5 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Middle Keltner Channel is an exponential moving average that serves as the center line of the Keltner Channels. It helps identify the overall trend direction.
e.g SQL
TICK keltnerMiddle WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Upper Keltner Channel is a volatility-based band placed above the exponential moving average. It helps identify potential resistance levels and overbought conditions.
e.g SQL
TICK keltnerUpper WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
The Lower Keltner Channel is a volatility-based band placed below the exponential moving average. It helps identify potential support levels and oversold conditions.
e.g SQL
TICK keltnerLower WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
SuperTrend is a trend-following indicator that combines ATR with price action to identify the current trend direction and potential reversal points. A positive value indicates an uptrend, while a negative value indicates a downtrend.
e.g SQL
TICK superTrend WITH minutes=60 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Fibonacci Retracement is a technical analysis tool that uses horizontal lines to indicate areas of support or resistance at the key Fibonacci levels before the price continues in the original direction.
e.g SQL
TICK fibonacciRetracement WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Fibonacci Extension is a technical analysis tool that uses Fibonacci ratios to predict potential price targets beyond the initial price swing.
e.g SQL
TICK fibonacciExtension WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Pivot Points are technical analysis indicators used to determine potential support and resistance levels. They are calculated using the previous period's high, low, and close prices.
e.g SQL
TICK pivotPoints WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Pivot Points Resistance levels (R1, R2, R3) are potential price ceilings where selling pressure may increase.
e.g SQL
TICK pivotPointsResistance WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Pivot Points Support levels (S1, S2, S3) are potential price floors where buying pressure may increase.
e.g SQL
TICK pivotPointsSupport WITH minutes=60 > 100 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Relative Vigor Index (RVI) is a momentum oscillator that measures the conviction of a current price trend by comparing a security's closing price to its trading range while smoothing the results using a simple moving average. It helps identify potential trend reversals and overbought/oversold conditions.
e.g SQL
TICK rvi WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Accumulation Swing Index (ASI) is a momentum indicator that uses price and volume to identify potential trend reversals. It helps traders identify the real market direction by filtering out the noise and focusing on significant price movements.
e.g SQL
TICK asi WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Arms Index (TRIN) is a volume-based indicator that measures the relationship between advancing and declining stocks. It helps identify overbought and oversold conditions in the market.
e.g SQL
TICK trin WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Average Directional Movement Rating (ADXR) is a smoothed version of ADX that helps confirm trend strength. It is calculated as the average of the current ADX and the ADX from a specified number of periods ago.
e.g SQL
TICK adxr WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Chande Momentum Oscillator (CMO) is a momentum oscillator that measures the difference between upward and downward price movements. It helps identify overbought and oversold conditions and potential trend reversals.
e.g SQL
TICK cmo WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Coppock Curve is a long-term momentum indicator that helps identify major market trends. It is calculated by adding two rate of change values and smoothing the result.
e.g SQL
TICK coppock WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Detrended Price Oscillator (DPO) removes the trend from price to identify cycles and overbought/oversold conditions. It helps traders identify potential market cycles and turning points.
e.g SQL
TICK dpo WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Disparity Index measures the relative position of an asset's price to its moving average, expressed as a percentage. It helps identify overbought and oversold conditions.
e.g SQL
TICK disparityIndex WITH minutes=20 > 5 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Elder Force Index combines price movement and volume to measure the power behind price moves. It helps identify trend strength and potential reversals.
e.g SQL
TICK elderforceindex WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Ultimate Oscillator is a momentum oscillator that uses multiple timeframes to measure buying and selling pressure. It helps identify overbought and oversold conditions and potential trend reversals.
e.g SQL
TICK ultimateoscillator WITH minutes=20 > 70 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Percentage Price Oscillator (PPO) is a momentum oscillator that shows the percentage difference between two moving averages. It is similar to MACD but uses percentage difference instead of absolute difference, making it more suitable for comparing different securities.
e.g SQL
TICK ppo WITH minutes=20 > 0 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Price Channel Index (PCI) is a momentum oscillator that measures the current price relative to its price channel. It helps identify overbought and oversold conditions and potential trend reversals.
e.g SQL
TICK pricechannelindex WITH minutes=20 > 80 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Volume Weighted RSI (VWRSI) is a momentum oscillator that combines the traditional RSI with volume data. It gives more weight to price movements that occur with higher volume, making it more sensitive to significant market moves.
e.g SQL
TICK volumeweightedrsi WITH minutes=20 > 70 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Mass Index identifies trend reversals by analyzing the range expansion and contraction of price movements. It helps spot potential breakouts and reversals.
e.g SQL
TICK massindex WITH minutes=20 > 27 THEN order SET size=100, price=51.00, transmit=true
Input parameters:
Time Algo
e.g SQL
TICK time > "10:00:00" THEN order SET capital=10000, transmit=true
Input parameters:
Price Algo
e.g SQL
TICK price > 100 THEN order SET capital=10000, transmit=true
Input parameters:
SessionAlgo limits your strategy to precise windows — NYSE open, London close, or any custom range
e.g SQL
IF session from="09:00:00" to="15:00:00"
Input parameters:
Webhook algo
e.g SQL
TICK webhook WITH id = 'some-id' = 'buy' THEN order SET transmit=true, type=market side=buy
POS webhook WITH id = 'some-id' = 'sell' AND positionSide 'buy' THEN order SET transmit=true, type='market' side='sell'