Any idea why?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Nothing going to the output window
Collapse
X
-
Nothing going to the output window
I have developed a strategy to trade on the intrabar based on the EMA value of the primary bar. I have backtested it & "OnBarUpdate" printed some values to ensure it is acting properly. Given everything looked ok as far as logic was concerned, I had to test against real time data so I could verify I was picking up the correct values then. The ouput window shows the initial set-up of the chart and the ouput from my first print command... then nothing.(?)
Any idea why?Tags: None
-
Thanks, I s/h looked there first.
Not sure why. Am attempting to value value of the EMA of the primary bar 1 bar ago. It gives me the error that I am indexing out of range. It does not occur in a back test.
EMABarAgo = EMA(BarsArray[0], Fast)[1]
Getting the current value is okay:
EMACurrent = EMA(BarsArray[0], Fast)[0]
Comment
-
Please see if this tip helps you: http://www.ninjatrader-support2.com/...ead.php?t=3170Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
2 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
238 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
4 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment