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

Very simple question

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

    Very simple question

    Hi everybody !

    Okay as you see i got three very simple questions :

    1°) I have a double variable called "Hello". I would like to have the value of "Hello" on the last candle. Usually it's "Hello[1]", but it doesn't work here. I tried something with array and DataSeries but it didn't work too. How can I do ?


    2°) Can't we deezoom a lot ? For exemple to be able to see some days in UT1

    3°) The lower timefrime on a demo account is 1 minutes, it's 1 on "pro" account, isn't it ?


    It would be amazing if anyone can help me, especially on the first question !

    Thank you !

    After

    #2
    Hello,

    Thank you for your post.

    1) I'm not exactly sure what it is your looking for here, but I believe that you have the right idea for the DataSeries. Are you looking to store the Hello value in an array and then be able to call the most recent bar and get the value?

    2) You will need to further elaborate here

    3) You should have access to Tick data, but not all data providers provide historical tick data.
    Who are you connected to? This is displayed in the lower left hand corner of the Control Center
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thank you a lot ! By the way, I did other tests this morning and didn't work :

      1°) How can i convert a DataSeries to a double ?
      2°) I would like to display the DataSeries thanks to a Plot (but only accept Double), and Print() seems being not a good idea as it's not the same result.

      Thanks you very much !
      Last edited by After; 09-28-2014, 03:43 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Pattontje, Yesterday, 02:10 PM
      2 responses
      14 views
      0 likes
      Last Post Pattontje  
      Started by flybuzz, 04-21-2024, 04:07 PM
      17 responses
      229 views
      0 likes
      Last Post TradingLoss  
      Started by agclub, 04-21-2024, 08:57 PM
      3 responses
      17 views
      0 likes
      Last Post TradingLoss  
      Started by TradingLoss, 04-21-2024, 04:32 PM
      4 responses
      43 views
      2 likes
      Last Post TradingLoss  
      Started by cre8able, 04-17-2024, 04:16 PM
      6 responses
      56 views
      0 likes
      Last Post cre8able  
      Working...
      X