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

Do UniRenko/Renko bars give false entries on Live Market (sim account)?

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

    Do UniRenko/Renko bars give false entries on Live Market (sim account)?

    Hi NT8,

    I understand using UniRenko/Renko bars give false entries in backtest (due to false candlestick openings). However, would it give false entries trading on a sim account in the live market with strategy setting of OnPriceChange? using code:

    IF(LongEntry())

    {
    EnterLongLimit( ... , GetCurrentBid(0), ... ),
    }

    IF(LongExit())

    {
    ExitLongLimit( ... , GetCurrentAsk(0), ... ),
    }

    would I expect to get entries/exits to the Bid/Ask that are false? As I watch the strategy in real time/on the Live market, the Bid/Ask data does appear to pass through all of my limit orders as i see them get filled. Just asking this question generally, not needing an in-depth discussion. Thank you!

    #2
    Hello Austiner87,

    In real-time the bars would be built using market dynamics and built accurately. Whatever calculations you are doing would be correct.

    Orders submitted in real-time use market dynamics to fill with the Simulation Engine. The data series bars are not used.
    https://ninjatrader.com/support/help...simulation.htm

    GetCurrentAsk() / GetCurrentBid() would be dynamic market information and is not related to the data series bars.
    https://ninjatrader.com/support/help...currentask.htm
    https://ninjatrader.com/support/help...currentbid.htm

    Entries and exits would be based on the real-time ask and bid prices being streamed and would not involve bars in anyway.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Extremely helpful, thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by counterpoint, 08-12-2022, 10:49 AM
      1 response
      29 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by RayMarlat, Today, 01:02 AM
      0 responses
      1 view
      0 likes
      Last Post RayMarlat  
      Started by MichaeSteven, Today, 12:46 AM
      0 responses
      1 view
      0 likes
      Last Post MichaeSteven  
      Started by Mubeen Haider, 08-12-2022, 09:19 AM
      1 response
      45 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by omermirza, 08-12-2022, 09:09 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_Jason  
      Working...
      X