Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trying to Write Simple Indicator

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

    Trying to Write Simple Indicator

    I would like (ATR) * (1.618), but since this is my first try, an algebraic equation evidently doesn't do it in NT. Can anyone help. Thanks.

    #2
    Welcome to our forums here, you could for example express it as double value in NinjaScript :

    double myATR = ATR(14)[0] * 1.618;

    For generally getting started on right track into the NinjaScript environment, please see those tutorials we have ready - http://www.ninjatrader.com/support/h.../tutorials.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you so much.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Max238, Today, 01:28 AM
      1 response
      22 views
      0 likes
      Last Post CactusMan  
      Started by giulyko00, Yesterday, 12:03 PM
      2 responses
      10 views
      0 likes
      Last Post giulyko00  
      Started by r68cervera, Today, 05:29 AM
      0 responses
      4 views
      0 likes
      Last Post r68cervera  
      Started by geddyisodin, Today, 05:20 AM
      0 responses
      6 views
      0 likes
      Last Post geddyisodin  
      Started by JonesJoker, 04-22-2024, 12:23 PM
      6 responses
      38 views
      0 likes
      Last Post JonesJoker  
      Working...
      X