Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing Fill to Current Bar

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

    #46
    Hello Josh,
    You wrote:
    "Your CrossAbove condition can switch between true and false many times within a bar"
    Yes, but using default fill type in Optimizer(not liberal) You can have only one fill at a time.
    If I want to trigger limit order at cross if price has a cross in that bar it is not very important how many times it will swich. I simply need one LMT entry on cross, because most of the time it will happen only in this one bar....and will be no longer actual in the next bar...

    Thank you for your deep analysis and I will look what do you mean by forward test.

    Comment


      #47
      Hi sausaulius,

      Crossing above and below many times is a characteristic of real-time trading. In backtesting/optimizing/etc. you will not have enough information to deduce anything about the scenario within the signal bar. The problem is simply that you can only guarantee that this cross above condition was satisfied at the bar's close. Any time intrabar, there is just not enough information to make such a claim with only OHLC. Since we can only confirm that the cross happened at the tick with the Close price of the bar, the bar becomes untradeable so therefore the only tradeable time is the Open of the next bar.

      By forward testing I mean running your strategy in simulation on a live data feed or the use of Market Replay. These methods will provide you unparalleled levels of accuracy and should not be taken lightly. They will provide you with information on how your strategy will most likely behave. Bear in mind that even with forward testing you will still not get the true performance characteristics of your system though. There is no way to truly emulate market factors and slippage.
      Josh P.NinjaTrader Customer Service

      Comment


        #48
        Thank you Josh. Understood.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Karado58, 11-26-2012, 02:57 PM
        8 responses
        14,828 views
        0 likes
        Last Post Option Whisperer  
        Started by Option Whisperer, Today, 09:05 AM
        0 responses
        1 view
        0 likes
        Last Post Option Whisperer  
        Started by cre8able, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Started by Harry, 05-02-2018, 01:54 PM
        10 responses
        3,204 views
        0 likes
        Last Post tharton3  
        Started by ChartTourist, Today, 08:22 AM
        0 responses
        6 views
        0 likes
        Last Post ChartTourist  
        Working...
        X