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 -



    @ 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];

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    601 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    347 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    559 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    558 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X