Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Identify phantom bars in the NT-range bartype

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

    Identify phantom bars in the NT-range bartype

    The NT-range bartype includes phantom bars to fill gaps. How can an indicator identify these bars ?
    Thanks.

    #2
    Hello Semion.AI.,

    Thank you for the message.

    I am not sure what you mean by "Phantom Bars".

    Could you please take a screenshot of the Bars you are referring to and then send that picture in your response?
    • If you are unsure of how to take a screenshot, I recommend using the Windows Snipping tool.
    • Click on the Windows Icon at the bottom of your screen and type the word "Snip"
    • Click on the Snipping tool, click New, then click and drag around the area you want to screenshot
    • Click File > Save As > Save the screenshot where you can find it
    • Please click here for a video demonstration
    Clayton G.NinjaTrader Customer Service

    Comment


      #3
      Hi Clayton G.

      Thanks. I got the "Phantom Bars" question just by reading the Range BarType script, and then verified it by comparing chart of 1-range & 1-rangeNoGap bartypes.
      My intention is to be able to identify such gaps programmatically while running my strategy.

      Comment


        #4
        Hi Semion, thanks for posting. There is not supported way for BarsTypes to send information out to Strategies or indicators that are running on them. You could try something unsupported such as a property changed event notification that your scripts can subscribe to. I made an example of this here:


        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        3 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        9 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Working...
        X