When I output some values from my script for debugging I receive "System.Double[]" Instead of a value. What is that telling me?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
System.Double[] Instead Of Value
Collapse
X
-
System.Double[] Instead Of Value
I have run across this before, but cannot remember what the problem is...
When I output some values from my script for debugging I receive "System.Double[]" Instead of a value. What is that telling me?Tags: None
-
OK!
Code:Upper[CanNumber] = (SMA(period[CanNumber])[0] + (numStdDev[CanNumber] * StdDev(period[CanNumber])[0]))/Smooth[CanNumber]; Lower[CanNumber] = (SMA(period[CanNumber])[0] - (numStdDev[CanNumber] * StdDev(period[CanNumber])[0]))/Smooth[CanNumber]; Print(macd +", "+macdAvg+", "+Upper+", "+Lower); }
Last edited by Sleeping Troll; 03-26-2010, 10:34 AM.
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RideMe, 04-07-2024, 04:54 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 08:48 AM | ||
Started by f.saeidi, Today, 08:13 AM
|
1 response
4 views
0 likes
|
Last Post Today, 08:47 AM | ||
Started by DavidHP, Today, 07:56 AM
|
1 response
6 views
0 likes
|
Last Post Today, 08:16 AM | ||
Started by kujista, Today, 06:23 AM
|
3 responses
9 views
0 likes
|
Last Post
by kujista
Today, 08:15 AM
|
||
Started by Mindset, Yesterday, 02:04 AM
|
2 responses
18 views
0 likes
|
Last Post Today, 08:15 AM |
Comment