JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.
Seetu - Strategy Programming Language
Functions
Sidebar
Prev
|
Up
|
Next
C2Extensions
Table of Contents
C2TradingSignal
— Prepare trading signals
C2TradingSignalCond
— Prepare conditional trading signals
Contents
Search
Seetu languge structure
Basic elements
Operators
Control structures
Predefined variables and constants
Functions
Basic price pattern detection
DoFFT
DetectGapDown
DetectGapUp
DetectInside
DetectOutside
DetectPeak
BarsFromPeak
ShellExecute
CalcTrough
BarsFromTrough
ZigZag
C2Extensions
C2TradingSignal
C2TradingSignalCond
Date/Time
DT
GetBarIndex
GetBeginValue
Date
GetDateNum
EpochTime
DateTimeAdd
DateTimeConvert
DateTimeDiff
GetDay
GetDayOfWeek
GetDayOfYear
GetDaysSince1900
GetEndValue
GetPlaybackDateTime
GetHour
GetInterval
FindBar
GetMicroSec
GetMilliSec
GetMinute
GetMonth
Now
GetSecond
GetTimeNum
GetYear
Exploration / Indicators
_DEFAULT_NAME
_N
_PARAM_VALUES
_SECTION_BEGIN
_SECTION_END
_SECTION_NAME
AppendColumn
AppendSummaryRows
AppendTextColumn
EncodeColor
GetChartID
GetPriceStyle
GenerateLineArray
chooseParam
chooseParamColor
chooseParamDate
choosePriceField
chooseParamList
chooseParamStr
chooseParamStyle
chooseParamTime
chooseParamToggle
chooseParamTrigger
doPlot
doPlotGrid
doPlotOHLC
doPlotShapes
doPlotVAPOverlay
getSelectedValue
SetChartOptions
SetSortColumns
PrintIf
PrintVal
ChartAddPoint
ChartSetAxis
Indicators
CalcAccDist
CalcADX
CalcATR
CalcBolBandBot
CalcBolBandTop
CalcCCI
CalcCCIa
DoColorBlend
GetFirstVisibleValue
GetMouseButtons
GetMouseX
GetMouseY
GetChartBackgroundColor
GetHighestVisibleValue
CalcChaikin
GetLastVisibleValue
GetLowestVisibleValue
CalcMACD
CalcMDI
CalcMFI
CalcNVI
CalcOBV
CalcOscP
CalcOscV
CalcPDI
CalcPercentRank
WriteTextOnPlot
PlotVAP
CalcPVI
SetRefreshInterval
CalcRMI
CalcROC
CalcRSI
CalcRSIa
CalcRWI
CalcRWIHi
CalcRWILo
CalcSAR
SetBarFillColor
SetGradientFill
SetChartBkColor
SetChartBkGradientFill
CalcMACDSignal
CalcStochD
CalcStochK
CalcTRIX
CalcUltimate
Information / Categories
AddSymbolToCategory
FindCategory
GetCategoryName
GetSymbolsInCategory
RemoveSymbolFromCategory
SetCategoryName
GetFullName
GetCategorySymbols
GetDatabaseName
GetFundamental
GetGICS
GetGroupID
GetICB
GetIndustryID
isGICS
isICB
IsInWatchList
IsInWatchListName
IsContinuous
IsFavorite
IsIndex
GetMarketID
GetName
GetSector
Low-level graphics
drawArc
drawCircle
drawText
drawEllipse
drawGradientRect
drawChord
drawLineTo
drawMoveTo
drawPie
drawPolygon
drawPolyline
drawRectangle
drawRoundRect
drawSelectFont
drawSelectPen
drawSelectSolidBrush
drawSetBkColor
drawSetBkMode
drawSetOverlayMode
drawSetPixel
drawSetTextAlign
drawSetTextColor
drawTextOut
Lowest/Highest
GetRecentHighest
BarsFromRecentHighest
GetHighest
BarsFromHighest
GetHighestSinceEvent
BarsAgoHighestSinceEvent
GetRecentLowest
BarsFromRecentLowest
GetLowest
BarsFromLowest
GetLowestSinceEvent
BarsAgoLowestSinceEvent
Math functions
abs
acos
AlmostEqual
asin
atan
atan2
ceil
cos
cosh
EXP
floor
frac
Int
ln
log
log10
Max
Min
Prec
Round
sign
sin
sinh
sqrt
tan
tanh
Miscellaneous functions
#include
#include_once
#pragma
_TRACE
GetClipboard
SetClipboard
ColorHSB
ColorRGB
CreateObject
CreateStaticObject
EnableScript
EnableTextOutput
GetAsyncKeyState
GetExtraData
GetPerformanceCounter
GetRealtime
GetRealtimeOther
GetScriptObject
IsEmpty
IsFinite
IsNan
IsNull
IsTrue
GetNote
SetNote
Nz
PlaySound
PopupWindow
Prefs
Say
SetBarsRequired
StaticVarCompareExchange
StaticVarCount
StaticVarGet
StaticVarGetText
StaticVarInfo
StaticVarRemove
StaticVarSet
StaticVarSetText
GetStatus
CreateStudy
ThreadSleep
VarGet
VarGetText
VarSet
VarSetText
Version
Moving averages, summation
MAAdaptive
MAAdaptive2
CumuAdd
CalcDEMA
CalcEMA
CalcFIR
CalcHMA
CalcMA
CalcSum
CalcTEMA
CalcWilders
CalcWMA
Referencing other symbol data
GetOther
GetBaseRS
PlotOther
GetRS
RestoreArrays
ReplaceArraysWithOther
Statistical functions
CalcCorr
CalcLinearReg
CalcLinearRegIntercept
CalcLinearRegSlope
CalcMedian
mtRandom
mtRandomA
CalcPercentile
Random
CalcStdErr
CalcStDev
CalcTSF
String manipulation
Asc
DateTimeToString
NumToString
printf
StringCount
StringExtract
StringFind
StringFormat
StringLeft
StringLen
StringMid
StringReplace
StringRight
StringToDateTime
StringToLower
StringToNum
StringToUpper
Trading system toolbox
MessageIf
SetStopLoss
BarsSince
Cross
EnableRotationalTrading
Equity
trimExcess
trimExcessSpan
FlipFlop
GetBacktesterObject
GetOption
GetTradingInterface
ForceTrue
IIf
LastValue
Optimize
OptimizerSetEngine
OptimizerSetOption
Ref
SetBacktestMode
SetCustomBacktestProc
SetFormulaName
SetOption
SetPositionSize
SetTradeDelays
ValueWhen
Remarks
Differences
ZigZag difference
Seetu Code Examples
Simple MACD
Stocks volumes
Technical indicators
Sample strategy with charts
Trading signals
How to find streaks up and down
Intraday trading example
Run It!
Frequently Asked Questions
Index
Search Highlighter (On/Off)