Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RVI in strat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RVI in strat

    Hi,

    I'm trying to use the RVI in my strat but the RVI looks completely different when calculate on bar close is set to true/false. When set to false, it just bounces back and forth from 0 and 100. I'd like to use it the way it looks (and calculates) when set to true. Is that possible? It's a simple if RVI > 50 go long and reverse for short snippet.

    Thanks,
    Dave

    #2
    Hello DsRaider,

    You can set the CalculateOnBarClose property as part of your strategy. When you add a strategy to a chart or run it from the strategies tab you will have this control available to you.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi Ryan,

      Thanks for your reply. I have to have my strat set to CalculateOnBarClose set to false for my trail and CancelOrder code. Can I separate that from the indicator setting?

      Thanks.
      Last edited by dsraider; 02-24-2010, 12:21 PM.

      Comment


        #4
        Hello DsRaider,

        Yes, this is possible.

        The reference sample below provides one approach to this:

        Separating logic to either calculate once on bar close or on every tick.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Hey Ryan,

          I'm familiar with FirstTickOfBar and actually have that in my strat. I think the problem has more to do with the indicator itself. I'm using If(... && FirstTickOfBar && RVI(14)[1] > 50...) but it's taking trades as if I have it set to false.

          Please see attached pic. Orange RVI = calculate on bar close true. Yellow shows what happens when it's set to false. Is there a way to use the RVI the way the orange line looks?

          Thanks.
          Attached Files

          Comment


            #6
            Thanks, DSraider.

            I see what you're talking about but not sure how to change this. I'll have someone respond later today.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Great. Thanks, Ryan. Maybe then the lambs will stop screaming.

              Comment


                #8
                dsraider,

                I have forwarded this to development to investigate. Thank you for your patience.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Patience? You should know me better than that by now, Josh.

                  Hehehe - thanks.

                  Dave

                  Comment


                    #10
                    Hi dsraider !

                    This is a bug which is fixed and the fix will be available with next update of NinjaTrader.

                    Thank you for your patience,
                    Christian
                    ChristianSenior Software Developer

                    Comment


                      #11
                      Hey Christian,

                      Any chance you can post the bug so I can fix it on my own and use it? By the way, I noticed the same issue with EaseOfMovement.

                      Thanks,
                      Dave

                      Comment


                        #12
                        Thanks, well look into the EaseOfMovement as well. We'll post an update on these indicators as they passed our internal tests.

                        Comment


                          #13
                          Great. Thanks, Dierk.

                          Comment


                            #14
                            Dave,

                            The same issue does not occur with EaseOfMovement on our end. Please clarify what you feel is wrong with this indicator. Thank you.
                            Josh P.NinjaTrader Customer Service

                            Comment


                              #15
                              Hey Josh,

                              Just checked again. I might have been imagining things. Sorry for the confusion. I guess it's just the RVI.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              647 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              369 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              108 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              572 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              573 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X