Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Learning NinjaScript

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

    Learning NinjaScript

    I have come from TradeStation and their EasyLanguage to Ninja.

    (1) I am trying to write a simple output file with date, time and CCI value. I have found the sampleStreamWriter but I can not figure out how to get the CCI value???

    (2) Where are the methods and properties defined for the various NinjaScript objects??

    (3) What is the "@" used for?? I see sample scripts with "@SMA.cs"???

    (4) What is the best way to go about learning NinjaScript and C#??? I am aware of the "Sample" and "Tips" but these just give bits and pieces.

    #2
    Romulan, welcome to NinjaScript - the best way to get started would be our tutorials -

    http://www.ninjatrader-support.com/H...verview18.html

    @ would denote a system indicator we ship per default.

    You can access the CCI value for example with this call -

    Code:
     
    double myCCIValue = CCI(Close, 20)[0];
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Futurestrader00, Yesterday, 06:14 PM
    1 response
    17 views
    0 likes
    Last Post cincai
    by cincai
     
    Started by ballston, Today, 06:32 AM
    0 responses
    4 views
    0 likes
    Last Post ballston  
    Started by Danila, Today, 04:38 AM
    2 responses
    7 views
    0 likes
    Last Post Danila
    by Danila
     
    Started by sinpeople, Today, 04:38 AM
    0 responses
    10 views
    0 likes
    Last Post sinpeople  
    Started by kiffgj, Today, 04:23 AM
    0 responses
    8 views
    0 likes
    Last Post kiffgj
    by kiffgj
     
    Working...
    X