• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Create a date series with Ninja8

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

    Create a date series with Ninja8

    Good morning,
    Attached I have set an example of how I created with Ninja 7 the date series of MAE. Ninja8 does not work with this code structure. I use the data series to set the profit targets. How do I create a date series in Ninja8?
    Thank you.
    Roberto
    Attached Files

    #2
    Hello Italy,

    Thanks for your post.

    Please see the Code breaking changes in the helpguide as this will provide you with the best overview of code changes and specific conversions needed: https://ninjatrader.com/support/help...ng_changes.htm

    For creating a data series, please see: https://ninjatrader.com/support/help...s/?seriest.htm The example shows declaring a private data series and then creating it in State.DataLoaded (inside of OnStateChange().

    For the MAE statement, please see the helpguide here: https://ninjatrader.com/support/help...averagemae.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Good morning Paul,
      attached the steps I made to create the "MAE" Data Series.
      That's right, or should I make any changes?
      Thank you.
      Roberto
      Attached Files

      Comment


        #4
        Hello Roberto,

        Thanks for your reply.

        That appears correct.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks

          THANKS Paul

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NT-Roland, Today, 06:34 AM
          0 responses
          3 views
          0 likes
          Last Post NT-Roland  
          Started by gemini42, Yesterday, 09:44 PM
          0 responses
          11 views
          0 likes
          Last Post gemini42  
          Started by martyn73, Yesterday, 03:09 PM
          0 responses
          11 views
          0 likes
          Last Post martyn73  
          Started by martyn73, Yesterday, 03:05 PM
          0 responses
          11 views
          0 likes
          Last Post martyn73  
          Started by mic414, Yesterday, 02:17 PM
          0 responses
          6 views
          0 likes
          Last Post mic414
          by mic414
           
          Working...
          X