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

How to fill price marker value without any plot

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

    How to fill price marker value without any plot

    Hi,

    I have created an indicator with OHLC style bars. I managed to get my auto-scaling back, but I'm struggeling with the price marker. As there is no plot present, I think I have to put the actual value by myself, but where? Is it even possible to use the build-in logic?

    BR
    Jan

    #2
    Hello Jan,

    Thank you for your post.

    Is the general price marker from the Data Series settings not showing/does it not suffice to meet your needs? For example, there is a Heiken Ashi style indicator that is publicly available on our NinjaTrader Ecosystem website that does not use its own price marker; when applied to a chart, the bars change visually due to the indicator logic and the price marker for the original data series is still there. Here is the link to that indicator as an example:Otherwise, if you are looking for a price marker that plots anything other than the price of the instrument loaded on the chart, you would need to consider adding a plot with PlotStyle.PriceBox:
    Please let me know if I can be of further assistance.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      thanks for your answer.
      I was talking of the "price marker" of the indicator, not the primary data series. Ok, let's call it PriceBox. As I don't have any plots, but creating the bars in OnRender, I was searching for a method to fill the PriceBox with my data.
      I think I will create an invisible plot and set "ArePlotsConfigurable​" to false. That should do the trick.

      BR
      Jan

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      10 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      14 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      11 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Yesterday, 07:51 PM
      0 responses
      13 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,983 views
      3 likes
      Last Post jhudas88  
      Working...
      X