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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        80 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        64 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X