[COLOR=#0000ff]bool[/COLOR] [COLOR=#080808]BarsArrayPrintedBool[/COLOR] = [COLOR=#0000ff]false[/COLOR]; [COLOR=#0000ff]if[/COLOR](![COLOR=#080808]BarsArrayPrintedBool[/COLOR]) { [COLOR=#0000ff] int[/COLOR] [COLOR=#080808]BarsArrayCount[/COLOR] = [COLOR=#080808]BarsArray[/COLOR].[COLOR=#080808]Count[/COLOR](); [COLOR=#080808] Print[/COLOR]([COLOR=#b22222]"BarsArrayCount = "[/COLOR] + [COLOR=#080808]BarsArrayCount[/COLOR]); [COLOR=#0000ff] for[/COLOR] ([COLOR=#0000ff]int[/COLOR] [COLOR=#080808]i[/COLOR] = [COLOR=#ff8c00]0[/COLOR]; [COLOR=#080808]i[/COLOR] < [COLOR=#080808]BarsArrayCount[/COLOR]; [COLOR=#080808]i[/COLOR]++) { [COLOR=#080808] Print[/COLOR]([COLOR=#b22222]"BarsArray["[/COLOR] + [COLOR=#080808]i[/COLOR] + [COLOR=#b22222]"] Instrument = "[/COLOR] + [COLOR=#080808]BarsArray[/COLOR][[COLOR=#080808]i[/COLOR]].[COLOR=#080808]Instrument[/COLOR].[COLOR=#080808]FullName[/COLOR]); } [COLOR=#080808] BarsArrayPrintedBool[/COLOR] = [COLOR=#0000ff]true[/COLOR]; }
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Instrument List as a Parameter?
Collapse
X
-
Originally posted by NinjaTrader_ChelseaB View Post
Code:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Jonker, Today, 01:19 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jonker
Today, 01:19 PM
|
||
Started by futtrader, Today, 01:16 PM
|
0 responses
5 views
0 likes
|
Last Post
by futtrader
Today, 01:16 PM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
14 responses
1,789 views
0 likes
|
Last Post
by aligator
Today, 11:47 AM
|
||
Started by Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
838 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,294 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
Comment