Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
RSI Upper/Lower Lines
Collapse
X
-
RSI Upper/Lower Lines
I'm trying to create a condition where the RSI crosses above the upper line in Strategy Builder. However, when I select the RSI indicator, those plots are not listed. How do I add those plots so that I can create this condition? Thank you.Tags: None
-
Hi Fran888
You just have to create a condition (in Strategy Builder) checking when RSI > 70 or RSI < 30.
You don't need a specific plot for that, although the RSI indicator graph on a chart usually has those levels as horizontal lines.
The first condition is believed to represent "overbought" price levels, while the second one represents "oversold" levels.
-
Fran888,
you just have to press "add" to a Strategy Builder Set.
Then, in the dialog shown, chose from the left panel: --> Indicators --> RSI and from the right panel: --> Misc --> Numerical Value ---> 70
In the center of the dialog you can chose: greater, less, etc.
Comment
-
Comment
-
Hello Fran888,
From the image that appears that is valid, I just tried what KonstantinosNT suggested in post 4 and that compiles for me. A condition to check this indicator needs the Misc -> Numeric value which it looks like you selected based on the string generated in the image.
Please try closing that builder window and open a new one, then try just the condition again. It should be:
Left: Indicators -> Rsi
Center: Greater
Right: Misc -> numeric value -> 60
Comment
-
Hello Fran888,
In the image you have some kind of problem in that condition. Please try doing the following exactly as described, do not change any other settings.
Left: Indicators -> Rsi // don't change anything here just select RSI
Center: Greater
Right: Misc -> numeric value -> 60
For this you should see:RSI(14, 3).Avg[0] > 60
For a crossabove:
Left: Indicators -> Rsi // don't change anything here just select RSI
Center: CrossAbove
Right: Misc -> numeric value -> 60
For this you should see:
CrossAbove(RSI(Close, 14, 3).Avg, 60, 1)
Both of these compile for me
Comment
-
That worked. However, I want to use "user input" to change the values of the RSI. I labeled it "RSI1" in the Inputs and Variable section. When I removed it from Inputs and Variables, then it would compile. Not sure why it won't accept the user input. I do that all the time when creating strategies. Any ideas?
Comment
-
Hello Fran888,
For user inputs you want to make sure to name them something other than the indicators name, RSI1 is specifically going to be used because you used an RSI indicator and that will be its variable name in code. That's what was generating the error because it was a naming conflict.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
59 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
74 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment