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 JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
32 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,239 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
5 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
||
Started by RubenCazorla, 08-30-2022, 06:36 AM
|
3 responses
79 views
0 likes
|
Last Post
by PaulMohn
Today, 04:44 AM
|
||
Started by f.saeidi, Yesterday, 12:14 PM
|
9 responses
25 views
0 likes
|
Last Post
by f.saeidi
Today, 04:39 AM
|
Comment