Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Zig Zag has errors

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

    Zig Zag has errors

    I'm trying to build an indicator off of the ZigZag. Specifically, I want the line's color to change where it exceeds the user input "deviation value". For example, if the price change between points a and b on the line was 15 points and the deviation value I entered was 10 points, the last 5 points of distance should be a different color. When I try to compile the zigzag code itself, without making any changes, it generates errors. The code works, as I have it on my charts at present. This is kind of confusing. Thank you for any help.

    #2
    Hello ThatMikey,

    Thank you for your post.

    Please provide a screenshot of the compile errors along with the lines of code referenced in the errors.

    We look forward to assisting further.

    Comment


      #3
      As requested.
      Attached Files

      Comment


        #4
        I recommend going to the Documents / NinjaTrader 8 / bin / Custom / Indicators folder and deleting the ZigZag.cs file, then running a repair of the platform.

        To complete a repair, do the following:
        • Shut down NinjaTrader 8
        • Go to your computer's Control Panel > Programs & Features (Note: search for 'Control Panel' to find it within the Windows Start Menu. This will be a different window than the Settings page)
        • Left-click once on NinjaTrader 8 > select 'Repair' above the list of available programs
        • Restart the platform after it finishes repairing, and test for this behavior again.
        Please me know the results of this test. I look forward to your response.​

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        118 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X