Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automated RSI Crossover

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

    Automated RSI Crossover

    I am studying an RSI crossover strategy in which the exit of each trade is the entry of the next one, and therefor it trades the market all day long.
    The main issue I have is that the back-testing results on historical data is very different than the simulated real time.
    I am using range bars, BOC = true, and trade granularity of 1 Tick.
    I have read all the posts concerning this issue, but no solution.
    Any idea how to correct this?

    Tnx - bkool.

    #2
    bkool, so you're executing those trades to 1 tick bid / ask series in your backtesting to compare to realtime simulation results on the same chart?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      True.
      Backtesting gives same results and number of trades when slippage is 0, 3 or even 7, meaning it works down to a single tick. However, compared to real-time the results are very different. May be this has to do with the setups of the simulator??

      Comment


        #4
        I would the suggest looking into the executions you get backtesting vs realtime from the simulator to determine the differences.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thanks Bertrand.
          I looked at the execution timing, and these are pretty similar. The discrepancies found are related to orders getting filled partially, or in full. Partial fill may confuse the entry and exit execution since these are connected as mentioned below: the exit of each trade is the entry of the next one.
          Could you suggest a more stable entry and exit orders, or just to separate between exits and entries; or may be follow OnExecution() for logic decisions?
          bkool.

          Comment


            #6
            bkool, which NinjaScript order methods are you using here?
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Hi Bertrand,

              I use EnterLong(int barsInProgressIndex, int quantity, string signalName) and EnterShort(int barsInProgressIndex, int quantity, string signalName), with no exit orders. Works perfectly in Backtesting.

              Bkool.

              Comment


                #8
                Thanks, I'm surprising you're seeing this many partials on market orders in your testing - does it happen on all instruments? What broker / connection do you run this on?

                Would you mind forwarding me the script and settings used via Help >> Mail to Support so I could give it a run here on our end for you?
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by fx.practic, 10-15-2013, 12:53 AM
                5 responses
                5,406 views
                0 likes
                Last Post Bidder
                by Bidder
                 
                Started by Shai Samuel, 07-02-2022, 02:46 PM
                4 responses
                98 views
                0 likes
                Last Post Bidder
                by Bidder
                 
                Started by DJ888, Yesterday, 10:57 PM
                0 responses
                8 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by MacDad, 02-25-2024, 11:48 PM
                7 responses
                160 views
                0 likes
                Last Post loganjarosz123  
                Started by Belfortbucks, Yesterday, 09:29 PM
                0 responses
                9 views
                0 likes
                Last Post Belfortbucks  
                Working...
                X