fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Can not get RVI parameters to calculate??

    Questions & Answers
    2
    5
    1037
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 4
      4XRusty last edited by

      the stock RVI indicator has two modes - 'main line' and signal - but i can not get them to close a trade when they cross. I tried downloading another version of the same indicator but instead of MODE, it has two buffers; 0 and 1. I tried crossing the buffers and same result - any luck out there with using RVI (Relative Vigor Index) in an EA to trigger open/ close etc? Any help much appreciated.

      1 Reply Last reply Reply Quote 0
      • J
        john 5 last edited by

        https://fxdreema.com/shared/o7AJttjJ

        Here, EA buys when main crosses above signal and exits when main crosses below signal. It's for MT5.

        1 Reply Last reply Reply Quote 0
        • 4
          4XRusty last edited by

          @john-5 thanks very much - that very cool. Still using an MT4 platform - do you know of one similar for MT4?

          either way very much appreciated - could not figure out with a few different RVGI indicators from different places

          1 Reply Last reply Reply Quote 0
          • 4
            4XRusty last edited by

            i see there is a preloaded IND for RVGI - i will use this one. Can you explain why you needed to use candle position 1?

            1 Reply Last reply Reply Quote 0
            • J
              john 5 last edited by

              Because it represents the latest CLOSED candle, which means that if a cross of any indicator occurred in that candle it will stay that way (in vast majority of cases). Therefore if you created indicator keeping that in mind it would not repaint (assuming no other tricks) and if you created EA a signal would be more reliable. However if you use current candle two indicators might cross each other and then "uncross" each other within that same candle especially in the case of high volatility and/or small period of the indicator (if applicable; here applicable). As a result what you will see at the end of the backtest is EA placing an order in the situation where you can see clearly that a cross did not occur. But if you look at the same order while examining backtest tick by tick or even minute candles (for higher time frames) you will see that the cross occurred for short period of time, EA placed an order and then indicators part ways.

              This behavior can result in generating a false signal, unless you are ok with that and your strategy only requires cross no matter how it happened.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              H
              E
              A
              G
              Q
              C

              22
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors