Primitives

tickFlow

TickFlowAlgo is a model that uses the tick flow to determine the direction of the market.

tickFlow (tick)

TickFlowAlgo is a model that uses the tick flow to determine the direction of the market.

Input parameters

PropTypeDefaultDescription
minutesnumber-The number of minutes to look back for the tick flow
transmitbooleantrueWhether to transmit the order
capitalnumber-The capital to use for the order
fromstring09:00From time to look back for the tick flow
fromDatestring-From date to look back for the tick flow
tostring17:00To time to look back for the tick flow
toDatestring-To date to look back for the tick flow
useBookboolean-Whether to use the book data
maxboolean-Whether to use the max book/tick data
resnumber-The resistance to use for the tick flow
useResbooleanfalseUse side resistance calculations

SQL example

IF tickFlow capital=1000 minutes=3 transmit=false
        TICK volume WITH minutes=3 > 10000 THEN tickFlow SET transmit=true

On this page