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 cmtjoancolmenero, Yesterday, 03:58 PM
|
11 responses
39 views
0 likes
|
Last Post Today, 11:40 AM | ||
Started by FrazMann, Today, 11:21 AM
|
0 responses
3 views
0 likes
|
Last Post
by FrazMann
Today, 11:21 AM
|
||
Started by geddyisodin, Yesterday, 05:20 AM
|
8 responses
52 views
0 likes
|
Last Post Today, 10:45 AM | ||
Started by DayTradingDEMON, Today, 09:28 AM
|
4 responses
26 views
0 likes
|
Last Post Today, 10:47 AM | ||
Started by George21, Today, 10:07 AM
|
1 response
22 views
0 likes
|
Last Post Today, 10:43 AM |
Comment