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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
557 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment