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 rhyminkevin, Today, 04:58 PM
        4 responses
        52 views
        0 likes
        Last Post dp8282
        by dp8282
         
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X