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 llanqui, Today, 08:32 AM
      1 response
      5 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by lollers, Yesterday, 03:26 AM
      1 response
      51 views
      0 likes
      Last Post lollers
      by lollers
       
      Started by Salahinho99, 05-05-2024, 04:13 AM
      7 responses
      59 views
      0 likes
      Last Post Salahinho99  
      Started by knighty6508, 05-10-2024, 01:20 AM
      4 responses
      29 views
      0 likes
      Last Post knighty6508  
      Started by OllieFeraher, 05-09-2024, 11:14 AM
      6 responses
      19 views
      0 likes
      Last Post OllieFeraher  
      Working...
      X