Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Up-to-date script reference documentation

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

    Up-to-date script reference documentation

    When I open help for my Ninja v.6.5.1000.15 either locally or online, for example for WoodiesCCI, I see the following text below. It indicates that no arguments may be passed to it, however, according to intellisense WoodiesCCI() takes about 7 required arguments and obviously the syntax and example below don't compile. I'm wondering if it is just this function or my documentation is old. What is the true source of reference documentation?

    Syntax
    WoodiesCCI()
    WoodiesCCI(IDataSeries inputData)
    Returns default value
    WoodiesCCI()[int barsAgo]
    WoodiesCCI(IDataSeries inputData)[int barsAgo]
    ...
    Examples
    // Prints the current value of a 20 period WoodiesCCI using default price type
    double value = WoodiesCCI(20)[0];
    Print("The current WoodiesCCI value is " + value.ToString());

    #2
    Hi aleles,

    We'll take a look at the help guide link to update overloads, please refer to what Intellisense 'offers' you when coding in the NinjaScript editor.

    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks! I can figure out the parameters by now, but it will be nice to have more detailed description in documentation.

      I like this support! On Saturday evening I'm getting replies in 10 mins.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by geddyisodin, Today, 05:20 AM
      2 responses
      16 views
      0 likes
      Last Post geddyisodin  
      Started by hazylizard, Today, 08:38 AM
      0 responses
      6 views
      0 likes
      Last Post hazylizard  
      Started by Max238, Today, 01:28 AM
      5 responses
      43 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by giulyko00, Yesterday, 12:03 PM
      3 responses
      13 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by habeebft, Today, 07:27 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Working...
      X