'NinjaTrader.Indicator.MyIndicator' is a 'type' but is used like a 'variable'
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
Indicator is a type but is used like a variable
Collapse
X
-
Indicator is a type but is used like a variable
I am trying to access an indicator from within a strategy but am receiving the following message. Where do I begin to troubleshoot this issue?
'NinjaTrader.Indicator.MyIndicator' is a 'type' but is used like a 'variable'Tags: None
-
Having the same error again. I don't know what caused it last time, but this time the code compiles on two computers and not the other. Code is below.
Code:ind=System.Convert.ToInt16(myIndicator(1,2,false)[0]);
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by smartromain, 03-13-2024, 01:42 AM
|
5 responses
92 views
0 likes
|
Last Post
by AndreiBig
Today, 06:08 AM
|
||
Started by Noerclou, Today, 04:55 AM
|
0 responses
4 views
0 likes
|
Last Post
by Noerclou
Today, 04:55 AM
|
||
Started by llanqui, Yesterday, 09:59 AM
|
2 responses
17 views
0 likes
|
Last Post
by llanqui
Today, 04:00 AM
|
||
Started by ThoriSten, Today, 03:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by ThoriSten
Today, 03:56 AM
|
||
Started by PhillT, 04-19-2024, 02:16 PM
|
3 responses
25 views
0 likes
|
Last Post
by mangel2000
Today, 03:04 AM
|
Comment