Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"SampleStrategyPlot" not rounding value at pricemarker

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

    "SampleStrategyPlot" not rounding value at pricemarker

    Hi, I have loaded the example "SampleStrategyPlot" and would like to know if it is possible not to round the value at price marker?

    Code:
    //Grab the Panel Plot value for the current bar and plot it.
    Plot[0] = Strategy.PanelPlot.GetValueAt(CurrentBar);
    Click image for larger version

Name:	Screenshot_1.jpg
Views:	329
Size:	28.4 KB
ID:	1124699
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    Thank you for your post.

    FormatPriceMarker() could be used to override the default string format of a NinjaScript's price marker values. Please see the help guide link below that demonstrates how to use FormatPriceMarker in your script.

    FormatPriceMarker() - https://ninjatrader.com/support/help...ricemarker.htm

    Please let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Perfect! Thank you _BrandonH!
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      117 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      164 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      85 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      130 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      88 views
      0 likes
      Last Post PaulMohn  
      Working...
      X