Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Trying to Write Simple Indicator
Collapse
X
-
Trying to Write Simple Indicator
I would like (ATR) * (1.618), but since this is my first try, an algebraic equation evidently doesn't do it in NT. Can anyone help. Thanks. -
Welcome to our forums here, you could for example express it as double value in NinjaScript :
double myATR = ATR(14)[0] * 1.618;
For generally getting started on right track into the NinjaScript environment, please see those tutorials we have ready - http://www.ninjatrader.com/support/h.../tutorials.htm
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
131 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
106 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
88 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
107 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
87 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment