Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Overwrite Price Data within the strategy

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

    #16
    @ stocktraderbmp:
    Using your data scramble-method implies the following assumptions:
    daily returns are absolutely independent of each other.
    intraday returns are not independet of each other, at least it seems
    you wouldn't mix the OHLC-returns of one bar.
    Furthermore, there have been studies that "show" that intraday return generation prozesses
    at least at high frequenca level is not totally random.
    So just mixing bars results neighter in a totally randomized data series nor in a
    history-dependency at all time frames.
    Might matter or not, depending on what one wants to test for.

    @koganam: I think I got it.
    I will use your sugested method and will import a self made data history with every High far above the highest High and every Low far below the Lowest Low of the data history to test for. Closes of that imported data will also always be far above the data range of the data to test for.
    Now, choosing that imported data as the primary instrument and
    constructing the random data to test on by user defined dataseries
    I can use entry stop orders to force the entry price I want and entries will always take place since no cancelation conditions will be met. Same for exits.
    That way it should work.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PaulMohn, Today, 03:49 AM
    0 responses
    3 views
    0 likes
    Last Post PaulMohn  
    Started by inanazsocial, Today, 01:15 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    2 views
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Working...
    X