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 NullPointStrategies, Today, 05:17 AM
        0 responses
        41 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X