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

Swing Rays Indicator won't save colors

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

    Swing Rays Indicator won't save colors

    I found a hybrid of the built-in swing indicator which works very well except for one thing. It won't save the colors of the High and Low lines. Every time you load a chart the colors are gone. From the attached jpg image of the indicator's template, one can see that the xml file isn't well formed so the colors are lost. Does anybody know where in the indicator, also attached, that I need to look to correct this? I'm new to NinjaTrader and still learning but feel this indicator is worth the time.

    By the way, the value in this indicator is that the swing lines are extended all the way to the right. Therefore, you can see support and resistance levels that have gone off screen when using the bulit-in swing indicator.

    Any guidance would be greatly appreciated.
    Attached Files

    #2
    Hello,

    Thanks for the forum post.

    The indicator colors need to be serialized to be saved correctly.

    Please see this guide on how to add this in:



    Let me know if I can be of further assistance.

    Comment


      #3
      Working Indicator

      Brett, Thanks for the pointer. With your help and the few other things that I found that were incorrect, it's now working. For anybody that might be interested, I attached the revised Swing Ray indicator. I like it much better than the Swing indicator included with NijaTrader. There's probably more that can be done to optimize it and I'll get to it when I get a chance.
      Attached Files

      Comment


        #4
        Swing Rays

        Hi, I just downloaded the latest version of Ninja8. Does anyone have a current SwingRay indicator for this version? Thanks.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Tim-c, Today, 02:10 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X