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

Price Channel Not Showing Up

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

    Price Channel Not Showing Up

    Hey guys, I uploaded a simple script that Shows a Higher Range Price channel on smaller range charts.

    The use is EUR/USD 10 Tick (TenthOfAPip) Chart.

    This is Important: The indicator works fine on 20+ Tick Range Charts

    But it does NOT work on 10 Tick.

    The Error Log shows:
    Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.



    Any thoughts
    Attached Files

    #2
    Hi ginx10k,

    The error is letting you know you are calling an index that doesn't exist.

    In your script there is a call to set a plot color 1 bar ago and there is no check to see if that bar exists. However, there is a return if there are not 10 bars.

    From the code, I am not entirely sure where the error is coming from, so I tested the script and found that I am not getting this error.

    http://screencast.com/t/dv0awhQajs

    Did I test your script correctly?

    Did you make changes to the script before you posted it?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hey Chelsea, I didn't make any changes. I see you tested it using a 1 tick chart. I'm using EUR/USD (TenthOfAPip) setting, and using 10 tick chart. I removed the color change and it's Still NOT working.

      Any ideas?

      Comment


        #4
        Got it. I erased the Color thing completely. its working. thanks buddy

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Kaledus, Today, 01:29 PM
        0 responses
        1 view
        0 likes
        Last Post Kaledus
        by Kaledus
         
        Started by PaulMohn, Today, 12:36 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by yertle, Yesterday, 08:38 AM
        8 responses
        36 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by rdtdale, Today, 01:02 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by alifarahani, Today, 09:40 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X