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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
46 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
22 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
14 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment