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 Karado58, 11-26-2012, 02:57 PM
        8 responses
        14,825 views
        0 likes
        Last Post Option Whisperer  
        Started by Option Whisperer, Today, 09:05 AM
        0 responses
        1 view
        0 likes
        Last Post Option Whisperer  
        Started by cre8able, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Started by Harry, 05-02-2018, 01:54 PM
        10 responses
        3,203 views
        0 likes
        Last Post tharton3  
        Started by ChartTourist, Today, 08:22 AM
        0 responses
        6 views
        0 likes
        Last Post ChartTourist  
        Working...
        X