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 aussugardefender, Today, 01:07 AM
        0 responses
        1 view
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        383 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        1 view
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X