Indicators

sessionFacts

Build active symbol/session facts and select historical hold/switch/wait predictions

sessionFacts (all)

Build active symbol/session facts and select historical hold/switch/wait predictions

Input parameters

PropTypeDefaultDescription
memoryDirstring-Directory holding the saved symbol-facts corpus
maxMatchesnumber-Maximum similar sessions to keep in the active candidate set
intervalnumber-Minimum milliseconds between candidate-set refreshes
plotboolean-Whether to plot the active SessionFacts prediction
plotNamestring-Plot series prefix for SessionFacts output
plotWidthnumber-Line width used for context.plot output
plotPaddingnumber-Padding added around close so the prediction line sits beside price
predictionSessionValuestring-Preferred future session outcome to use for prediction actions

SQL example

TICK sessionFacts memoryDir="/tmp/symbol-poc" interval=60000 maxMatches=20 plot=true

On this page