Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to start market data for instrument 'CSC'. Provider does not support ...

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

    Unable to start market data for instrument 'CSC'. Provider does not support ...

    I am new to NinjaTrader and am trying to apply a simple strategy that sets the backcolor to Green when the 20 Day MA crosses below the price, and set backcolor to Red when the 20 Day MA crosses above the price.

    I am using Kinetick End of Day (Free) data.

    I get the following error:
    Unable to start market data for instrument 'CSC'. Provider does not support market data.

    The bars do not show, even though the condition is met.

    Here is my code. Any help is appreciated.

    protectedoverridevoid OnBarUpdate()
    {
    // Condition set 1
    if (CrossBelow(MA, Close, 1))
    {
    BackColorAll = Color.Green;
    PrintWithTimeStamp(
    "Below");
    }
    // Condition set 2
    if (CrossAbove(MA, Close, 1))
    {
    BackColorAll = Color.Red;
    }
    }

    Thank you.

    #2
    Hello jsanders,
    Welcome to the forum and I am happy to assist you.

    To assist you further may I know:
    • On which bar series you are testing the strategy.
    • If you open a daily chart for CSC using the Kinetick End of the day connection then are you able to get the charts.


    I look forward to assisting you further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      I do get the data and chart.

      I don't understand the following question:
      On which bar series you are testing the strategy.

      I am running Daily chart.

      Jeff

      Comment


        #4
        Hello Jeff,
        Thanks for the information.

        To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

        Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

        I look forward to assisting you further.

        *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          The file has been sent. Thank you for your help!

          Comment


            #6
            Hello Jeff,
            This is to confirm, I have received your email and has responded to it.
            JoydeepNinjaTrader Customer Service

            Comment


              #7
              Joydeep,

              I tried your recommendation and get the same results. Please see email.

              Jeff

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              648 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              369 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              108 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              572 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              573 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X