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 Rapine Heihei, Today, 08:19 PM
|
1 response
8 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
8 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
98 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment