NinjaTraderのOutputウインドウにデータを出力する。
注記: Print()メソッドを高い頻度で呼び出すとPCに負荷をかける。詳しくはPerformance TipsのNinjaScriptの項を参照すること。
Print(
string
message)
Print(
bool
value)
Print(
double
value)
Print(
int
value)
Print(
DateTime
value)
message | 出力するメッセージ |
// Generates a message
Print("This is a message");
// Prints the current bar SMA value to the output window
Print(SMA(Close, 20)[0]);