Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Help
Collapse
X
-
Help
Someone could help on calling the TSSuperTrend on a strategy? I keep encountering error on it something like in the parameter.Tags: None
-
I am trying to access the value of TSsuperTrend like this
if (TSSuperTrendv2(14, TSSuperTrendv2.Utility.MovingAverageType.SMA, 2.618, 14, TSSuperTrendv2.Utility.SuperTrendMode.ATR).UpTrend[0] > 1)
{
Print("Up Trend");
}
but I got an errror on it.
Comment
-
Hello,
The way you call it is going to depend on the version of the SuperTrend indicator you're using as there are several versions available.
There is not enough information here to be able to tell you exactly what you need to use. I'd suggest asking for help in the following thread on this indicator:
MatthewNinjaTrader Product Management
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
66 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
149 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment