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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    231 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    149 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    161 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    243 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    198 views
    0 likes
    Last Post CarlTrading  
    Working...
    X