Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
coding help please
Collapse
X
-
coding help please
thank u for your helpTags: None
-
EMA() does not take two double parameters. It takes a DataSeries and a double for the period.
You cannot do EMA(VAR1, 13). Also, when trying to access the EMA values you need to call the value itself, not the EMA DataSeries.
Needs to be EMA(Close, 13)[0] for instance. Where Close is not a double, but the DataSeries corresponding to the closing prices.
To make your own DataSeries see this article: http://www.ninjatrader-support.com/H...taSeriesObjectJosh P.NinjaTrader Customer Service
-
just revised. the last two lines are not compiled
just revised. the last two lines are not compiled
Comment
-
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment