• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PSAR Acceleration Step & Dot colors

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

    PSAR Acceleration Step & Dot colors

    I am transferring my chart from StrategyDesk to NT8, and the PSAR indicator is not co-operating.

    My PSAR settings needed are:

    Acceleration: 0.01
    Acceleration Max: 0.2
    Acceleration step: 0.01


    Acceleration step will not hold to 0.01. It jumps back to 0.02. Is there a way to fix this so the variable can remain at 0.01?


    Also, can you provide some coding help in regards to the PSAR dot colors?

    I would like to be able to choose specific dot color when the PSAR is above the price, and a different color when the PSAR is below the price.

    Thanks in advance!

    #2
    Hello ArmKnuckle,

    Thanks for your post.

    The NinjaTrader Parabolic Sar indicator has minimum levels of 0.02 for both Acceleration max and Acceleration Step and a minimum of 0.00 for Acceleration. The minimums are why you are unable to set a lower value. The indicator minimums are the same as existing in Ninjatrader 7.

    As we have provided the source code with the platform you are able to make a copy of the indicator, rename it and then edit it to change as you see fit. As you want to also color the dots this is another customization that you can do.

    To assist you I have created an example copy of Parabolic Sar that allows for Acceleration Step to be a minimum of 0.01 and have added code to color the dots. You can use this to effect further changes if needed. Please note that we do not provide code writing service and this is being supplied as a working example of what can be done. If you wish further modification this would need to be done by yourself or a 3rd party provider.

    To install, please download to a known location such as download folder or desktop. In NinjaTrader control center Tools>import>Ninjascript - navigate to the file location and select the zipped files and click "Open", this will install "testPsar" in your system.
    Attached Files
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you! The indicator is great!!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Tradarr, Today, 06:25 PM
      2 responses
      13 views
      0 likes
      Last Post Tradarr
      by Tradarr
       
      Started by cocopod, Today, 04:47 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_JoshG  
      Started by digibob, Today, 02:47 AM
      2 responses
      14 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by mntemel, Today, 03:31 PM
      4 responses
      23 views
      0 likes
      Last Post mntemel
      by mntemel
       
      Started by mrlucky1x, Today, 03:14 PM
      2 responses
      7 views
      0 likes
      Last Post mrlucky1x  
      Working...
      X