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

Using Better ProAM indicator in a strategy

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

    Using Better ProAM indicator in a strategy

    I would like to use Barry's Better Pro AM indicator in a strategy, Specifically when a blue bar is painted. Indicator Script appears closed (at least it doesn't come up on the edit list so it could be viewed). When the indicator is referenced in the strategy everything comes up so it is hard to tell what is being referenced. Thinking someone out there has already solved this. Would appreciate any help or advice.
    Thanks in advance

    #2
    Hello yngtrader,

    Detecting the bar color directly from the indicator will not be possible.

    The indicator will have a BarColorSeries that holds the color values of the bars historically, however, if you access this from the strategy these values will be empty (unique to the strategy).

    Attempting to access these from the indicator instance will work in real time but does not work historically. (If only having them in real-time and not historically works for you then this would be a solution)
    Below is a link to an example of this.
    http://ninjatrader.com/support/forum....php?t=52451#9

    Basically, there needs to be some kind of flag that is set in the indicator that can be accessed from the script other than the color of the bar.

    This could be a StringSeries, or a plot...

    You may want to check with the developer of this script to see if there is already some kind of public series that has a flag such as this written into it.
    Otherwise, if the script is open source, you will need to add the series in yourself.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Follow up

      Did anyone ever talk with the Better Indicator folks to see if they could change the indicator to support this?

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by swestendorf, Today, 11:14 AM
      2 responses
      5 views
      0 likes
      Last Post NinjaTrader_Kimberly  
      Started by xiinteractive, 04-09-2024, 08:08 AM
      4 responses
      13 views
      0 likes
      Last Post xiinteractive  
      Started by Mupulen, Today, 11:26 AM
      0 responses
      2 views
      0 likes
      Last Post Mupulen
      by Mupulen
       
      Started by Sparkyboy, Today, 10:57 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by TheMarlin801, 10-13-2020, 01:40 AM
      21 responses
      3,917 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Working...
      X