Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Code Command questions

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

    Code Command questions

    Hi All,

    I am very new to NinjaTrader, but I am very interested to learn how to program an indicator myself.

    I have two questions here:

    1) What is "Typical" - This command is very popular but I don't understand it. For example:

    Math.Abs(Typical[idx] ............................)

    The above is an example of CCI code.

    2) Where can I find a list of brief explanation for command like what I have mentioned above.

    As you can see my C# is also very poor. I have some experience in MT4 but Ninja I am totally lost!

    Please help.

    #2
    From NinjaTrader Help:

    Definition:
    A collection of historical bar typical prices.Typical price = (High + Low + Close) / 3.

    You can find this with search function.

    In help go to NinjaScript -> NinjaScript Language Reference -> Shared Data Methods

    to find some answers to your questions.

    Comment


      #3
      Many thanks!!!

      Originally posted by michaelbb View Post
      From NinjaTrader Help:

      Definition:
      A collection of historical bar typical prices.Typical price = (High + Low + Close) / 3.

      You can find this with search function.

      In help go to NinjaScript -> NinjaScript Language Reference -> Shared Data Methods

      to find some answers to your questions.
      Hi michaelbb,

      Thanks for the prompt reply, I appreciate your help.

      shek

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      152 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      89 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      131 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      127 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      107 views
      0 likes
      Last Post CarlTrading  
      Working...
      X