Download tymoraPRO traderSCAN User`s Manual
Transcript
Possible DataType values: ‘topbostr’ {Top Book Bid/Offer Data},
‘kpp’ {KeyPricePoints}, ‘ct’ {ChartTrends}, ‘pivots’, ‘name’, ‘sector’
Also: ‘isinit’ returns 1 if data is available for asset
‘init’ initiates data retrieval for asset and returns 1 if data is already available
procedure ReturnAssetInfo(AssetN: String; Var PS,PV,MM: Extended);
Returns PriceScale (PS), PointValue (PV), and MinMove (MM) for AssetN
Procedure ReturnAssetBidOfr(AssetN: String; Var Bid,Ofr: Extended; Var
RaisedBid: Boolean);
Function IsStock(AssetN: String; var Listed,Nasdaq: Boolean): Boolean;
Function IsFuture(AssetN: String): Boolean;
Function IsForex(AssetN: String): Boolean;
Function IsECN(MM: String): Boolean;
function IsETF(A: String): Boolean;
function AssetExchange(AssetN: String): String;
Returns: Q=Nasdaq, QR=NasdaqRestricted, Qp=Nasdaq/ShortPilot
S=SmallCap, SR=SmallCapRestricted, N=NYSE, A=AMEX, U/u=PinkSheets
function RLD(LorS: integer): Integer; -- Returns date (LorS = 1 is LongDate w/Year)
function RLT: Integer; -- Returns local time
Function GetFieldandRemoveC(var Strg: String; DTyp,RChar: Char): String;
Returns and removes next field in a string delimited by RChar
DTyp can be ‘S’=string, ‘C’=char, ‘I’=Integer, ‘F’=Float
procedure ShowMessage(const s: string); -- Show a popup message in box
procedure Inc(var i: integer);
Increase integer value by 1
procedure Dec(var i: integer);
Decrease integer value by 1
function GetChartData(assetn,tf: string; var sl: tstringlist; bars: integer): Boolean;
Procedure XAverage(Var XAvg: Extended; NewVal: Extended; Period,Wght:
Integer);
Returns Exponential Moving Average.
Use wght=0 for standard multiplier
mult=2/(period+1)) – if Wght > 0, provides alternate weighting (Wght should not exceed
Period ie period=10, wght=2 will give NewVal a 20% weighting in the new XAvg)
Procedure AddSnd(TheSnd: String); -- Add a sound file to the queue
Procedure AddPhrase(ThePhrase: String); -- Add a phrase to the voice queue
Procedure NumToVoice(AssetPS: Extended; TheNum: String);
Procedure KillSoundBuffer; -- Kill all sounds in the sound/voice buffer
Procedure ShowMsg(TitleStr,TextStr: String; Justify: Boolean; HighlightText:
String; TimerSec: Integer; sbackColor,SColor,HighlightColor: Integer); -Creates a Message Form with title TitleStr, text is TextStr. Set Justify=true for fully
justified text. HighlightText will locate any text that matches and highlight it with
color HighlightColor. TimerSec is the number of seconds to keep the window
(0=forever). sbackColor = background color, sColor = font color (with the exception
of highlight text)
function InputQuery(const ACaption,APrompt: string; var Value: string): Boolean;
function InputBox(const ACaption, APrompt, ADefault: string): string;
function FileExists(const FileName: string): Boolean;
Function PosFrom(const Srch,Strg: String; From: Integer): Integer;
procedure writeln(s: variant);
procedure write(s: variant);
function ParseBar(s: string; var dt,tm: integer; var op,hi,lo,cl: extended; var
volup,voldn: integer; var hifirst: boolean): boolean;
100