rsi_filter = rsi < rsi_upper and rsi > rsi_lower
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
RSI Filter Below upper and lower
Collapse
X
-
RSI Filter Below upper and lower
I am trying to create a strategy in the Strategy Builder but i cant find how i can set a // RSI filter to RSI is less than Upper (60) and Greater than RSI Lower band (40)
rsi_filter = rsi < rsi_upper and rsi > rsi_lowerTags: None
-
Thank you! I believe that helped clear it up - HOWEVER when the buy signal appears after the EMA crosses it seems to be ONE bar late? And i cant seem to fix it - how can i make it one bar back?Originally posted by NinjaTrader_Emily View PostHello SevanKambel,
Thank you for your post.
You may compare the values of multi-plot indicators in the Strategy Builder and set up conditions like the following examples:Please let us know if we may be of further assistance.
Comment
-
-
Hello SevanKambel,
Thank you for your reply.
What is the calculate property set to for your strategy? If you have it set to calculate On Bar Close, this would be expected because the script would only run through the OnBarUpdate() logic on the close of each bar. If you would like intrabar actions in real time, you will need to set the calculate property to On Price Change. For more information:- https://ninjatrader.com/support/help...tegyProperties
- https://ninjatrader.com/support/help.../calculate.htm
Please let me know if I may be of further assistance.
Comment
-
Yes i have tried it set On Price Change - still the same bar for entry - cant figure it out for the life of me and it changes everything ha - and it wont let me select offset or anything to see if that would workOriginally posted by NinjaTrader_Emily View PostHello SevanKambel,
Thank you for your reply.
What is the calculate property set to for your strategy? If you have it set to calculate On Bar Close, this would be expected because the script would only run through the OnBarUpdate() logic on the close of each bar. If you would like intrabar actions in real time, you will need to set the calculate property to On Price Change. For more information:- https://ninjatrader.com/support/help...tegyProperties
- https://ninjatrader.com/support/help.../calculate.htm
Please let me know if I may be of further assistance.Last edited by SevanKambel; 04-12-2023, 07:13 PM.
Comment
-
Hello SevanKambel,
Thank you for your reply.
The offset setting is disabled for a Cross Above or Cross Below condition because only the value for the series selected is compared. This is mentioned in the release notes here:
Are you observing this behavior in real-time or on historically processed orders? I suggest adding print statements to the Strategy Builder to review all values used in your conditions. For more information about using Prints to debug and understand your script's behavior, along with a video about adding prints in the Strategy Builder, please see the following links:Thank you for your patience. Please let me know if I may be of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
53 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment