Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Std Error ()
Collapse
X
-
Std Error ()
This indicator did not work for me. Maybe it was a simple mistake on my part. But it looks to me that the for loop on line 58: for (int count = 0; count < Period && CurrentBar - count >= 0; count++) might be missing its subsequent curly braces.
Last edited by Jan Gullett; 08-05-2011, 07:04 AM.Tags: None
-
@StdError. Isn't that a standard NinjaTrader Indicator? Anyway, it didn't want to compile when I called from another indicator to operate on my DataSeries so I looked at the code. I copied a version into the calling indicator, added the braces and it seems to work fine in the new indicator. So I am fine, but thought you might want to look at the code for others. Thanks!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
160 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
308 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
349 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment