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 FrazMann, Today, 11:21 AM
                0 responses
                1 view
                0 likes
                Last Post FrazMann  
                Started by geddyisodin, Yesterday, 05:20 AM
                8 responses
                51 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by cmtjoancolmenero, Yesterday, 03:58 PM
                10 responses
                36 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by DayTradingDEMON, Today, 09:28 AM
                4 responses
                24 views
                0 likes
                Last Post DayTradingDEMON  
                Started by George21, Today, 10:07 AM
                1 response
                18 views
                0 likes
                Last Post NinjaTrader_ChristopherJ  
                Working...
                X