Also, is there a way to print statements to the trace or log files from w/i the code. Instead of print() to watch in the output window, is there a way to print to the files to study later?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Balance calculation
Collapse
X
-
Balance calculation
Can someone help with the code to calculate the balance in the account including trades the current day?
Also, is there a way to print statements to the trace or log files from w/i the code. Instead of print() to watch in the output window, is there a way to print to the files to study later?Tags: None
-
I suggest you check into this sample here showing how to work with the Performance class NinjaScript offers - http://www.ninjatrader-support2.com/...ead.php?t=4084
You can look into this one here to write to a txt file with System.IO for your custom logging - http://www.ninjatrader-support2.com/...ead.php?t=3477
In NinjaTrader 7 you can just right click in the output window and then save the contents to a txt file.BertrandNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Barry Milan, Today, 10:35 PM
|
1 response
8 views
0 likes
|
Last Post Today, 10:48 PM | ||
Started by WeyldFalcon, 12-10-2020, 06:48 PM
|
14 responses
1,428 views
0 likes
|
Last Post
by Handclap0241
Today, 10:43 PM
|
||
Started by DJ888, Yesterday, 06:09 PM
|
2 responses
9 views
0 likes
|
Last Post
by DJ888
Today, 10:31 PM
|
||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
40 views
0 likes
|
Last Post
by jeronymite
Today, 10:10 PM
|
||
Started by bill2023, Today, 08:51 AM
|
2 responses
16 views
0 likes
|
Last Post
by bill2023
Today, 10:10 PM
|
Comment