• 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 jaysinclair, Today, 01:04 PM
          0 responses
          2 views
          0 likes
          Last Post jaysinclair  
          Started by markbb10, Today, 12:48 PM
          0 responses
          2 views
          0 likes
          Last Post markbb10  
          Started by Brillo, Today, 11:53 AM
          0 responses
          2 views
          0 likes
          Last Post Brillo
          by Brillo
           
          Started by tecmisc1, Today, 09:57 AM
          0 responses
          2 views
          0 likes
          Last Post tecmisc1  
          Started by mbesha, Today, 09:26 AM
          0 responses
          1 view
          0 likes
          Last Post mbesha
          by mbesha
           
          Working...
          X