Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Indicator bar type change

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

    Indicator bar type change

    Hi,

    Can you help to modify the indicator attached so that it can be used for minute bar? Currently its only set to be used for range bar. Appreciate the help.
    Attached Files

    #2
    Hello neshnix89,

    I don't see any code in this that would prevent it from being used on a minute bar.

    Are you seeing some message that says it can't be used on a minute bar?

    Also, it looks like you are duplicating your posts on the forum.
    Hello, I would like to learn how to use NinjaScript to create a simple Indicator. I want the indicator to highlight the gaps in Range bars. For example, in the image below you can see the location where the chart moved up one tick and never went back to fill it in, leaving a gap. Any help creating this Indicator would be


    We respectfully ask that you post once per inquiry.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Dear ChelseaB,

      The code inside mentions only can be used for range charts in text. I tried loading it to the range chart and it works, but when I load it to minute charts it did not work. Are you able to get it to work on your side?

      Comment


        #4
        Hello neshnix89,

        I'm not seeing anywhere in the code any comments that say this can only be used on a range chart..

        What code are you reading?

        When you say it did not work, are you finding a gap between the high/low of the previous bar and the high/low of the current bar?

        Can you print the high/low of the previous bar and the high/low of the current bar, and a print within the condition, then provide the output saved to a text file to show this this not working?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jpapa, Today, 07:22 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by kevinenergy, 02-17-2023, 12:42 PM
        116 responses
        2,757 views
        1 like
        Last Post kevinenergy  
        Started by franatas, 12-04-2023, 03:43 AM
        7 responses
        106 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Jltarrau, Today, 05:57 AM
        3 responses
        8 views
        0 likes
        Last Post Jltarrau  
        Started by f.saeidi, Today, 05:56 AM
        2 responses
        8 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X