Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

AutotrendH

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

    AutotrendH

    Hi

    I am using AutotrendH in a strategy and using the add function to include it in the chart. However, when I open a new chart and add AutotrendH as an indicator (using the same settings as used in the strategy) and compare the 2 charts, the results of the AutrendH indicator on the 2 charts quite often look different. As an example, when used via the strategy, the trend lines change more often than when just used as an indicator in a chart. Any ideas why this would occur?
    Thanks

    #2
    Hello Gjoyce,

    Thank you for your post.

    What are you setting the CalculateOnBarClose to?

    Do both charts use the same amount of historical data for Days to Load?

    Are you adding any additional data series to the Strategy script?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi.
      Both charts have the following:

      3 days for historical data
      calculateonbarclose=false
      The strategy has an additional indicator that uses order data.
      I am using marketreplay as my connection for the data source.

      Thanks

      Comment


        #4
        Hello gjoyce,

        Can you please attach screenshots of your setup and what you are seeing?

        To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file, Click Reply -> Go Advanced -> Click the paperclip icon on the top toolbar.

        For detailed instructions please visit the following link

        How to take a screenshot on your smartphone, tablet, notebook or desktop computer
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Yes please see attached.
          Thanks
          Attached Files

          Comment


            #6
            Gjoyce,

            One thing I noticed is that the Red lines are being drawn with a dot as well, and that the green line that is missing doesn't have this. Is it possible that this is a manually drawn line?
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by geddyisodin, Today, 05:20 AM
            3 responses
            20 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by lorem, Today, 09:18 AM
            1 response
            4 views
            0 likes
            Last Post lorem
            by lorem
             
            Started by bmartz, Today, 09:30 AM
            0 responses
            3 views
            0 likes
            Last Post bmartz
            by bmartz
             
            Started by GussJ, 03-04-2020, 03:11 PM
            14 responses
            3,245 views
            0 likes
            Last Post GussJ
            by GussJ
             
            Started by ArkansasClint, Today, 09:28 AM
            0 responses
            2 views
            0 likes
            Last Post ArkansasClint  
            Working...
            X