Thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Custom Indicator
Collapse
X
-
Custom Indicator
I'm new to Ninja Trader and I'm trying to bring over a few of my custom inidcators, but I'm not having much luck. Could someone list out the steps needed to compare the 10 day ROC with a 30 day EMA applied to the ROC for VUSTX vs the to 10 day ROC with a 30 day EMA applied to the ROC for FAGIX.
ThanksTags: None
-
Hello,
If you would like to compare this calculation on one symbol to another, you would need to Add() the second data series to your indicator.
If you have not yet, please take a look at our Help Guide on Multi-Instrument scripts:
This should help provide information on how you would Add() the second data series and how to use the correct BarsArray to set which data series is being used or your ROC or EMA calculations.
I'm also including links to the ROC and EMA methods:
Rate of Change (ROC)
Moving Average - Exponential (EMA)MatthewNinjaTrader Product Management
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment