Announcement

Collapse
No announcement yet.

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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            160 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            307 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            244 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            348 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            178 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X