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
Indicator delta
Collapse
X
-
Indicator delta
Can you please tell me how to create an indicator that represents the difference (delta) between 2 different indicator bar values, for example the delta of the open of one indicator length and the close of another indicator length? Although I've never used it, can this be done in the indicator wizard? Thank you.Tags: None
-
Hello Wi!son,
We have a fully documented help guide which will help you get started with Ninja Script. You will find language references to all of the methods and functions you will be using. You will also see a tutorial section which will help you create your first indicator and get you started with some of these concepts.
A link to our Help Guide can be found below: http://www.ninjatrader.com/support/h...stribution.htm
I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript: http://www.ninjatrader.com/support/h..._resources.htm
We also have some Reference Samples online as well as some Tips and Tricks for both indicators and strategies:
Click here to see our NinjaScript Reference Samples
Click here to see our NinjaScript Tips
These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.
There is a also a growing library of user submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there.
Let us know if we can be of further assistance.JCNinjaTrader Customer Service
-
OK, from the example of an SMA of Volume, can I assume that I can use any another indicator I have listed and it's parameters (exactly as shown in the parameters section of the indicator)? Do I have to declare these parameters and indicator name in the variables section?
Comment
-
Hello Wi!s0n,
How you calculate your indicator is entirely up to the programmer, but with that said I do not see any issue with the formula. For you current formula you may do something like:
Code:delta = 100 * ( (Sma(Close, 14)[0] - SMA(Open, 14)[0] ) / (Sma(Open, 28)[0] - SMA(Close, 28)[0] ) );
JCNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
94 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment