Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
RSS scripting
Collapse
X
-
RSS scripting
Hello , I am trying to script the RSS indicator (relative strenght index) to enter a long trade only if the rss is below it's 20 value and short if it is above it's 80 value. I have not been able to make it work. Thank you for all your help!Tags: None
-
leyland,
You want to do this through a strategy. I suggest you start with the Strategy Wizard tutorials here to get an example of how to do it: http://www.ninjatrader-support.com/H...tml?Overview34Josh P.NinjaTrader Customer Service
-
I have spent hours going though the tutorials. I am not looking at programming a simple RSI crossover. The RSS includes to moving averages. I am not sure what approach to take with this indicator. Here is the script below. It seems to be fine, however, buy orders are still being placed outside of the range i am programming.
// Condition set 1
if (RSS(10, 40, 5)[0] < 10)
{
EnterLong(5000, "");
Comment
-
leyland, not sure I follow, the script appears to be ok, the final test is when you put it at work and track whether it's doing what it should or not. For this you may want to include visual helpers like drawing arrows on your trade entry conditions to check the validity of the generated signals.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by nleitman, Yesterday, 11:46 AM
|
13 responses
33 views
0 likes
|
Last Post Today, 09:29 AM | ||
Started by MSerag, Yesterday, 11:52 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 08:52 AM | ||
Started by dcriador, Yesterday, 01:43 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 08:51 AM | ||
Started by James650, Today, 08:25 AM
|
1 response
2 views
0 likes
|
Last Post Today, 08:35 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
14 responses
40 views
0 likes
|
Last Post Today, 08:32 AM |
Comment