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
Can I combine two indicators to make one? RSI & TSI
Collapse
X
-
Thanks for the reply. Maybe I wasn't real clear on what I am looking for. Here is what I have in mind. I am looking for combing the RSI & TSI. For example, once RSI hits 80 and TSI hits 35 I would like to sell. Once RSI hits 20 and TSI hits -35 I would like to buy. I have them both set up this way on each individual ind but would like to combine the two ind so when both happen I can enter the trade. Maybe it could shot a dot or arrow on the new ind when both criteria are met? Maybe the #'s can be adjusted if I find a different value that will work better? Just looking for less "stuff" on my screen. Does this help? Thanks a lot!
Comment
-
Hello ckodad,
Thank you for your response and additional information.
There is no need to combine the two indicators in this case. You just need a custom indicator that calls the indicator methods of both the RSI and TSI and then draws the desired object on the chart to signal the trade.
For example:
Code:if(RSI(14, 5)[0] == rsiLevel && TSI(14, 20)[0] == tsiLevel) { DrawDot("dot", true, 0, Close[0], Color.Green); }
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
You will find Reference Samples online as well as some Tips and Tricks for both indicators and strategies:
Click here to see our NinjaScript Reference Samples: http://www.ninjatrader.com/support/f...splay.php?f=30
Click here to see our NinjaScript Tips: http://www.ninjatrader.com/support/f...ead.php?t=3229
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: http://www.ninjatrader.com/support/f...splay.php?f=37
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RDTrader16, Today, 10:19 PM
|
0 responses
5 views
0 likes
|
Last Post
by RDTrader16
Today, 10:19 PM
|
||
Started by gemify, 03-08-2023, 08:02 AM
|
9 responses
148 views
0 likes
|
Last Post
by culpepper
Today, 10:14 PM
|
||
Started by elirion, Today, 10:03 PM
|
0 responses
1 view
0 likes
|
Last Post
by elirion
Today, 10:03 PM
|
||
Started by RaddiFX, Today, 09:55 PM
|
0 responses
9 views
0 likes
|
Last Post
by RaddiFX
Today, 09:55 PM
|
||
Started by Trader146, 03-29-2024, 01:22 PM
|
4 responses
27 views
0 likes
|
Last Post
by Trader146
Today, 09:53 PM
|
Comment