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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
129 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
74 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
116 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
111 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
89 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment