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 burtoninlondon, Today, 12:38 AM
        0 responses
        4 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        12 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        13 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,982 views
        3 likes
        Last Post jhudas88  
        Working...
        X