TB函数-说明-语法-参数-备注-示例

TB函数-说明-语法-参数-备注-示例
TB函数-说明-语法-参数-备注-示例

分类索引

字母索引 (6)

数学函数 (11)

Abs (11)

Acos (11)

Acosh (11)

Asin (11)

Asinh (12)

Atan (12)

Atan2 (12)

Atanh (12)

Ceiling (13)

Combin (13)

Cos (13)

Cosh (13)

Ctan (14)

Even (14)

Exp (14)

Fact (14)

Floor (15)

FracPart (15)

IntPart (15)

Ln (15)

Log (16)

Mod (16)

Neg (16)

Odd (16)

Pi (16)

Power (17)

Rand (17)

Round (17)

RoundDown (17)

RoundUp (18)

Sign (18)

Sin (18)

Sinh (18)

Sqr (19)

Sqrt (19)

Tan (19)

Tanh (19)

Trunc (19)

字符串函数 (20)

Exact (20)

Left (20)

Len (20)

Lower (21)

Mid (21)

Right (21)

Text (21)

Trim (21)

Upper (22)

Value (22)

颜色函数 (22)

Black (22)

Blue (22)

Cyan (23)

DarkBrown (23)

DarkCyan (23)

DarkGray (23)

DarkGreen (23)

DarkMagenta (24)

DarkRed (24)

DefaultColor (24)

Green (24)

LightGray (25)

Magenta (25)

Red (25)

Rgb (25)

White (25)

Yellow (26)

时间函数 (26)

CurrentDate (26)

CurrentTime (26)

DateAdd (26)

DateDiff (27)

DateTimeToString (27)

DateToString (27)

Day (27)

Friday (28)

Hour (28)

MakeDate (28)

MakeDateTime (28)

MakeTime (29)

Minute (29)

Monday (29)

Month (29)

Saturday (29)

StringToDate (30)

StringToDateTime (30)

StringToTime (30)

Sunday (31)

SystemDateTime (31)

Thursday (31)

TimeToString (31)

Tuesday (31)

Wednesday (32)

Weekday (32)

Year (32)

数据函数 (32)

BarCount (32)

BarStatus (33)

C (33)

Close (33)

CurrentBar (33)

D (34)

Date (34)

H (34)

High (34)

HistoryDataExist (34)

L (35)

Low (35)

NextClose (35)

NextHigh (35)

NextLow (36)

NextOpen (36)

NextOpenInt (36)

NextVol (36)

O (37)

Open (37)

OpenInt (37)

T (37)

Time (37)

V (38)

Vol (38)

属性函数 (38)

BarInterval (38)

BarType (39)

BidAskSize (39)

BigPointValue (39)

CanMarketOrder (39)

CanStopOrder (40)

CanTrade (40)

ContractSize (40)

ContractUnit (40)

CurrencyName (41)

CurrencySymbol (41)

ExchangeName (41)

ExpiredDate (41)

InitialMargin (42)

MaintenanceMargin (42)

MarginRatio (42)

MaxSingleTradeSize (42)

MinMove (43)

PriceScale (43)

Spread (43)

Symbol (43)

SymbolName (43)

SymbolType (44)

行情函数 (44)

Q_AskPrice (44)

Q_AskVol (44)

Q_AvgPrice (44)

Q_AskPriceFlag (45)

Q_BidPrice (45)

Q_BidPriceFlag (45)

Q_BidVol (45)

Q_BidVol (46)

Q_High (46)

Q_HisHigh (46)

Q_HisLow (46)

Q_InsideVol (47)

Q_Last (47)

Q_LastDate (47)

Q_LastFlag (47)

Q_LastTime (47)

Q_LastVol (48)

Q_Low (48)

Q_LowerLimit (48)

Q_Open (48)

Q_OpenInt (49)

Q_OpenIntFlag (49)

Q_Oscillation (49)

Q_OutsideVol (49)

Q_PreSettlePrice (50)

Q_PriceChg (50)

Q_PriceChgRatio (50)

Q_TickChg (50)

Q_TodayEntryVol (51)

Q_TodayExitVol (51)

Q_TotalVol (51)

Q_TurnOver (51)

Q_UpperLimit (52)

QuoteDataExist (52)

帐户函数 (52)

A_AccountID (52)

A_BrokerID (52)

A_BuyAvgPrice (53)

A_BuyFreeze (53)

A_BuyMargin (53)

A_BuyPosition (53)

A_BuyProfitLoss (54)

A_CurrentEquity (54)

A_DeleteOrder (54)

A_FreeMargin (54)

A_GetLastOpenOrderIndex (55)

A_GetLastOrderIndex (55)

A_GetOpenOrderCount (56)

A_GetOrderCount (56)

A_OpenOrderBuyOrSell (56)

A_OpenOrderContractNo (57)

A_OpenOrderEntryOrExit (57)

A_OpenOrderFilledLot (57)

A_OpenOrderFilledPrice (58)

A_OpenOrderLot (58)

A_OpenOrderPrice (58)

A_OpenOrderStatus (59)

A_OpenOrderTime (59)

A_OrderBuyOrSell (59)

A_OrderContractNo (60)

A_OrderCanceledLot (60)

A_OrderEntryOrExit (60)

A_OrderFilledLot (61)

A_OrderFilledPrice (61)

A_OrderLot (62)

A_OrderPrice (62)

A_OrderStatus (62)

A_PositionProfitLoss (63)

A_PreviousEquity (63)

A_ProfitLoss (63)

A_SendOrder (64)

A_SellAvgPrice (64)

A_SellFreeze (64)

A_SellMargin (65)

A_SellPosition (65)

A_SellProfitLoss (65)

A_TodayBuyPosition (65)

A_TodayDeposit (66)

A_TodayDrawing (66)

A_TodaySellPosition (66)

A_TotalAvgPrice (66)

A_TotalPosition (66)

AccountDataExist (67)

枚举函数 (67)

Enum_Buy (67)

Enum_Canceled (67)

Enum_Canceling (67)

Enum_Declare (68)

Enum_Declared (68)

Enum_Deleted (68)

Enum_Entry (68)

Enum_Exit (69)

Enum_ExitToday (69)

Enum_Filled (69)

Enum_FillPart (69)

Enum_Sell (69)

交易函数 (70)

AvgBarsEvenTrade (70)

AvgBarsLosTrade (70)

AvgBarsWinTrade (70)

AvgEntryPrice (70)

BarsSinceEntry (71)

BarsSinceExit (71)

BarsSinceLastEntry (71)

Buy (71)

BuyToCover (72)

ContractProfit (72)

CurrentCapital (72)

CurrentContracts (73)

CurrentEntries (73)

EntryPrice (73)

EntryTime (74)

ExitDate (74)

ExitPrice (74)

ExitTime (74)

GrossLoss (75)

GrossProfit (75)

LargestLosTrade (75)

LargestWinTrade (75)

LastEntryDate (75)

LastEntryPrice (76)

LastEntryTime (76)

MarketPosition (76)

MaxConsecLosers (76)

MaxConsecWinners (77)

MaxContracts (77)

MaxContractsHeld (77)

MaxEntries (77)

MaxIDDrawDown (78)

MaxPositionLoss (78)

MaxPositionProfit (78)

NetProfit (78)

NumEvenTrades (78)

NumLosTrades (79)

NumWinTrades (79)

PercentProfit (79)

PositionProfit (79)

Sell (80)

SellShort (80)

SetBreakEven (80)

SetDollarTrailing (81)

SetExitOnClose (81)

SetInactivate (82)

SetPercentTrailing (82)

SetPeriodTrailing (82)

SetProfitTarget (83)

SetStopLoss (83)

TotalBarsEvenTrades (84)

TotalBarsLosTrades (84)

TotalBarsWinTrades (84)

TotalTrades (84)

其他函数 (85)

Alert (85)

Commentary (85)

FieldBool (85)

FieldNumeric (86)

FieldString (86)

FileAppend (86)

FileDelete (87)

FormulaName (87)

GetGlobalVar (87)

GetTBProfileString (87)

I_AvgEntryPrice (87)

I_CloseEquity (88)

I_CurrentContracts (88)

I_MarketPosition (88)

I_OpenEquity (88)

IIF (89)

IIFString (89)

InvalidInteger (89)

InvalidNumeric (89)

InvalidString (90)

PlotBool (90)

PlotNumeric (90)

PlotString (90)

PlotBar (91)

SetGlobalVar (91)

SetTBProfileString (91)

Unplot (92)

内建函数 (92)

AdaptiveMovAvg (92)

Average (92)

AverageD (92)

AverageFC (93)

AvgDeviation (93)

AvgPrice (93)

AvgTrueRange (93)

BarsSinceToday (94)

CloseD (94)

CoefficientR (94)

Correlation (94)

CountIf (95)

Covar (95)

CrossOver (95)

CrossOverHor (95)

CrossUnder (96)

CrossUnderHor (96)

Cum (96)

DataConvert (96)

DEMA (97)

Detrend (97)

DevSqrd (97)

Extremes (97)

Fisher (98)

FisherInv (98)

HarmonicMean (98)

HighD (99)

Highest (99)

HighestBar (99)

HighestBarFC (99)

HighestFC (100)

Kurtosis (100)

LinearReg (100)

LinearRegAngle (101)

LinearRegSlope (101)

LinearRegValue (101)

LowD (101)

Lowest (102)

LowestBar (102)

LowestBarFC (102)

LowestFC (102)

Max (103)

Median (103)

MidPoint (103)

Min (103)

Mode (104)

Momentum (104)

NthCon (104)

NthExtremes (104)

NthHigher (105)

NthHigherBar (105)

NthLower (105)

NthLowerBar (106)

OpenD (106)

OpenIntD (106)

ParabolicSAR (106)

PercentChange (107)

PercentR (107)

Permutation (107)

Pivot ......................................................... 107PriceOscillator .. (108)

RateOfChange (108)

SAverage (108)

Skewness (109)

SMA (109)

StandardDev (109)

Summation (109)

SummationFC (110)

SwingHigh (110)

SwingHighBar (110)

SwingLow (111)

SwingLowBar (111)

TrueHigh (111)

TrueLow (111)

TrueRange (112)

VariancePS (112)

VolD (112)

WAverage (112)

XAverage (113)

字母索引

A_AccountID (52)

A_BrokerID (52)

A_BuyAvgPrice (53)

A_BuyFreeze (53)

A_BuyMargin (53)

A_BuyPosition (53)

A_BuyProfitLoss (54)

A_CurrentEquity (54)

A_DeleteOrder (54)

A_FreeMargin (54)

A_GetLastOpenOrderIndex (55)

A_GetLastOrderIndex (55)

A_GetOpenOrderCount (56)

A_GetOrderCount (56)

A_OpenOrderBuyOrSell (56)

A_OpenOrderContractNo (57)

A_OpenOrderEntryOrExit (57)

A_OpenOrderFilledLot (57)

A_OpenOrderFilledPrice (58)

A_OpenOrderLot (58)

A_OpenOrderPrice (58)

A_OpenOrderStatus (59)

A_OpenOrderTime (59)

A_OrderBuyOrSell (59)

A_OrderCanceledLot (60)

A_OrderContractNo (60)

A_OrderEntryOrExit (60)

A_OrderFilledLot (61)

A_OrderFilledPrice (61)

A_OrderLot (62)

A_OrderPrice (62)

A_OrderStatus (62)

A_OrderTime (63)

A_PositionProfitLoss (63)

A_PreviousEquity (63)

A_ProfitLoss (63)

A_SellAvgPrice (64)

A_SellFreeze (64)

A_SellMargin (65)

A_SellPosition (65)

A_SellProfitLoss.......................... 65 A_SendOrder .. (64)

A_TodayBuyPosition (65)

A_TodayDeposit (66)

A_TodayDrawing (66)

A_TodaySellPosition (66)

A_TotalAvgPrice (66)

A_TotalPosition (66)

Abs (11)

AccountDataExist (67)

Acos (11)

Acosh (11)

AdaptiveMovAvg (92)

Alert (85)

AlertEnabled (85)

Asin (11)

Asinh (12)

Atan (12)

Atan2 (12)

Atanh (12)

Average (92)

AverageD (92)

AverageFC (93)

AvgBarsEvenTrade (70)

AvgBarsLosTrade (70)

AvgBarsWinTrade (70)

AvgDeviation (93)

AvgEntryPrice (70)

AvgPrice (93)

AvgTrueRange (93)

BarCount (32)

BarInterval (38)

BarsSinceEntry (71)

BarsSinceExit (71)

BarsSinceLastEntry (71)

BarsSinceToday (94)

BarStatus (33)

BarType (39)

BidAskSize (39)

BigPointValue (39)

Black (22)

Blue (22)

Buy (71)

BuyToCover (72)

C (33)

CanMarketOrder (39)

CanShortTrade (40)

CanStopOrder (40)

CanTrade (40)

Ceiling (13)

Close (33)

CloseD (94)

CoefficientR (94)

Combin (13)

Commentary (85)

ContractProfit (72)

ContractSize (40)

ContractUnit (40)

Correlation (94)

Cos (13)

Cosh (13)

CountIf (95)

Covar (95)

CrossOver (95)

CrossOverHor (95)

CrossUnder (96)

CrossUnderHor (96)

Ctan (14)

Cum (96)

CurrencyName (41)

CurrencySymbol (41)

CurrentBar (33)

CurrentCapital (72)

CurrentContracts (73)

CurrentDate (26)

CurrentEntries (73)

CurrentTime (26)

Cyan (23)

D (34)

DarkBrown (23)

DarkCyan (23)

DarkGray (23)

DarkGreen (23)

DarkMagenta (24)

DarkRed (24)

DataConvert (96)

Date (34)

DateAdd (26)

DateDiff ....................................... 27 DateTimeToString (27)

DateToString (27)

Day (27)

DefaultColor (24)

DEMA (97)

Detrend (97)

DevSqrd (97)

EntryDate (73)

EntryPrice (73)

EntryTime (74)

Enum_Buy (67)

Enum_Canceled (67)

Enum_Canceling (67)

Enum_Declare (68)

Enum_Declared (68)

Enum_Deleted (68)

Enum_Entry (68)

Enum_Exit (69)

Enum_ExitToday (69)

Enum_Filled (69)

Enum_FillPart (69)

Enum_Sell (69)

Even (14)

Exact (20)

ExchangeName (41)

ExitDate (74)

ExitPrice (74)

ExitTime (74)

Exp (14)

ExpiredDate (41)

Extremes (97)

Fact (14)

FieldBool (85)

FieldNumeric (86)

FieldString (86)

FileAppend (86)

FileDelete (87)

Fisher (98)

FisherInv (98)

Floor (15)

FormulaName (87)

FracPart (15)

Friday (28)

GetGlobalVar (87)

GetTBProfileString (87)

Green (24)

GrossLoss (75)

GrossProfit (75)

H (34)

HarmonicMean (98)

High (34)

HighD (99)

Highest (99)

HighestBar (99)

HighestBarFC (99)

HighestFC (100)

HistoryDataExist (34)

Hour (28)

I_AvgEntryPrice (87)

I_CloseEquity (88)

I_CurrentContracts (88)

I_MarketPosition (88)

I_OpenEquity (88)

IIF (89)

IIFString (89)

InitialMargin (42)

IntPart (15)

InvalidInteger (89)

InvalidNumeric (89)

InvalidString (90)

Kurtosis (100)

L (35)

LargestLosTrade (75)

LargestWinTrade (75)

LastEntryDate (75)

LastEntryPrice (76)

LastEntryTime (76)

Left (20)

Len (20)

LightGray (25)

LinearReg (100)

LinearRegAngle (101)

LinearRegSlope (101)

LinearRegValue (101)

Ln (15)

Log (16)

Low (35)

LowD ......................................... 101 Lower . (21)

Lowest (102)

LowestBar (102)

LowestBarFC (102)

LowestFC (102)

Magenta (25)

MaintenanceMargin (42)

MakeDate (28)

MakeDateTime (28)

MakeTime (29)

MarginRatio (42)

MarketPosition (76)

Max (103)

MaxConsecLosers (76)

MaxConsecWinners (77)

MaxContracts (77)

MaxContractsHeld (77)

MaxEntries (77)

MaxIDDrawDown (78)

MaxPositionLoss (78)

MaxPositionProfit (78)

MaxSingleTradeSize (42)

Median (103)

Mid (21)

MidPoint (103)

Min (103)

MinMove (43)

Minute (29)

Mod (16)

Mode (104)

Momentum (104)

Monday (29)

Month (29)

Neg (16)

NetProfit (78)

NextClose (35)

NextHigh (35)

NextLow (36)

NextOpen (36)

NextOpenInt (36)

NextVol (36)

NthCon (104)

NthExtremes (104)

NthHigher (105)

NthHigherBar (105)

NthLower (105)

NthLowerBar (106)

NumEvenTrades (78)

NumLosTrades (79)

NumWinTrades (79)

O (37)

Odd (16)

Open (37)

OpenD (106)

OpenInt (37)

OpenIntD (106)

ParabolicSAR (106)

PercentChange (107)

PercentProfit (79)

PercentR (107)

Permutation (107)

Pi (16)

Pivot (107)

PlotBar (91)

PlotBool (90)

PlotNumeric (90)

PlotString (90)

PositionProfit (79)

Power (17)

PriceOscillator (108)

PriceScale (43)

Q_AskPrice (44)

Q_AskPriceFlag (45)

Q_AskVol (44)

Q_AvgPrice (44)

Q_BidPrice (45)

Q_BidPriceFlag (45)

Q_BidVol (45)

Q_BidVol (46)

Q_High (46)

Q_HisHigh (46)

Q_HisLow (46)

Q_InsideVol (47)

Q_Last (47)

Q_LastDate (47)

Q_LastFlag (47)

Q_LastTime (47)

Q_LastVol ................................... 48 Q_Low (48)

Q_LowerLimit (48)

Q_Open (48)

Q_OpenInt (49)

Q_OpenIntFlag (49)

Q_Oscillation (49)

Q_OutsideVol (49)

Q_PreOpenInt (50)

Q_PreSettlePrice (50)

Q_PriceChg (50)

Q_PriceChgRatio (50)

Q_TickChg (50)

Q_TodayEntryVol (51)

Q_TodayExitVol (51)

Q_TotalVol (51)

Q_TurnOver (51)

Q_UpperLimit (52)

QuoteDataExist (52)

Rand (17)

RateOfChange (108)

Red (25)

Rgb (25)

Right (21)

Round (17)

RoundDown (17)

RoundUp (18)

Saturday (29)

SAverage (108)

Second (30)

Sell (80)

SellShort (80)

SetBreakEven (80)

SetDollarTrailing (81)

SetExitOnClose (81)

SetGlobalVar (91)

SetInactivate (82)

SetPercentTrailing (82)

SetPeriodTrailing (82)

SetProfitTarget (83)

SetStopLoss (83)

SetTBProfileString (91)

Sign (18)

Sin (18)

Sinh (18)

Skewness (109)

SMA (109)

Spread (43)

Sqr (19)

Sqrt (19)

StandardDev (109)

StringToDate (30)

StringToDateTime (30)

StringToTime (30)

Summation (109)

SummationFC (110)

Sunday (31)

SwingHigh (110)

SwingHighBar (110)

SwingLow (111)

SwingLowBar (111)

Symbol (43)

SymbolName (43)

SymbolType (44)

SystemDateTime (31)

T (37)

Tan (19)

Tanh (19)

Text (21)

Thursday (31)

Time (37)

TimeToString ............................... 31 TotalBarsEvenTrades . (84)

TotalBarsLosTrades (84)

TotalBarsWinTrades (84)

TotalTrades (84)

Trim (21)

TrueHigh (111)

TrueLow (111)

TrueRange (112)

Trunc (19)

Tuesday (31)

Unplot (92)

Upper (22)

V (38)

Value (22)

VariancePS (112)

Vol (38)

VolD (112)

WAverage (112)

Wednesday (32)

Weekday (32)

White (25)

XAverage (113)

Year (32)

Yellow (26)

数学函数Abs

Acos

Acosh

Asin

Atan

Atan2

Atanh

Combin

Cos

Cosh

Ctan

Even

Exp

Fact

FracPart

IntPart

Ln

Mod

Neg

Odd

Pi

Power

Rand

Round

RoundDown

RoundUp

Sign

Sin

Sinh

Sqr

Sqrt

Tan

Tanh

Trunc

字符串函数Exact

Left

Len

相关主题
相关文档
最新文档