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 DTSSTS, Today, 11:35 AM
    0 responses
    1 view
    0 likes
    Last Post DTSSTS
    by DTSSTS
     
    Started by op1031, Yesterday, 05:16 PM
    1 response
    8 views
    0 likes
    Last Post NT-Roland  
    Started by sinpeople, Today, 07:20 AM
    1 response
    3 views
    0 likes
    Last Post NT-Roland  
    Started by Frank1000, Today, 03:05 AM
    1 response
    8 views
    0 likes
    Last Post NT-Roland  
    Started by ntdev, Today, 01:14 AM
    4 responses
    16 views
    0 likes
    Last Post ntdev
    by ntdev
     
    Working...
    X