Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Bar Type Handling ETH VS RTH

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

    Custom Bar Type Handling ETH VS RTH

    Hi there,

    I am not a "developer" by any means.

    However, I have been working with AI to develop my own custom Renko bar type that provides real OHLC data. It seems to handle the RTH close price and open price fine, even when there are gaps between sessions.

    However, I am struggling to get it to provide the right close price at the end of an ETH or ""<use instrument settings>" and its not getting the right open price at the start of the session.

    I am assuming this is because the session typically starts and ends on the same day.

    Can some provide some insight on how I should structure this code?


    #2
    Hello tjfintrade,

    I would suggest looking at the default renko bar type for examples of how to structure the file. As you are using AI it can only get you so far, those are usually more of a suggestion as they often generate invalid code. You will need to debug the file yourself to see how the logic it made works to know what is happening or how to fix it.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by joezoey, Today, 01:02 PM
    0 responses
    1 view
    0 likes
    Last Post joezoey
    by joezoey
     
    Started by defa0009, Today, 12:27 PM
    0 responses
    7 views
    0 likes
    Last Post defa0009  
    Started by manteored, 02-16-2023, 10:24 AM
    6 responses
    1,640 views
    0 likes
    Last Post charlesthomas  
    Started by mbrandau, 07-28-2021, 01:58 PM
    11 responses
    569 views
    0 likes
    Last Post bluesoul40  
    Started by _Zero_, 04-10-2020, 03:21 PM
    149 responses
    8,930 views
    6 likes
    Last Post ChrisR
    by ChrisR
     
    Working...
    X