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 naanku, Today, 07:25 PM
        0 responses
        7 views
        0 likes
        Last Post naanku
        by naanku
         
        Started by milfocs, Today, 07:23 PM
        0 responses
        5 views
        0 likes
        Last Post milfocs
        by milfocs
         
        Started by PaulMohn, Today, 06:59 PM
        0 responses
        7 views
        0 likes
        Last Post PaulMohn  
        Started by bortz, 11-06-2023, 08:04 AM
        48 responses
        1,756 views
        0 likes
        Last Post carnitron  
        Started by Jonker, 04-27-2024, 01:19 PM
        3 responses
        24 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X