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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
64 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment