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:	34
Size:	28.4 KB
ID:	1124699

    #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.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Perfect! Thank you _BrandonH!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by thebionukerlife, Yesterday, 11:41 PM
      0 responses
      1 view
      0 likes
      Last Post thebionukerlife  
      Started by thebionukerlife, Yesterday, 11:40 PM
      0 responses
      1 view
      0 likes
      Last Post thebionukerlife  
      Started by KirkHammett, Yesterday, 11:15 PM
      0 responses
      3 views
      0 likes
      Last Post KirkHammett  
      Started by soon123, Yesterday, 11:12 PM
      0 responses
      2 views
      0 likes
      Last Post soon123
      by soon123
       
      Started by JustinCross, Yesterday, 09:48 PM
      0 responses
      10 views
      0 likes
      Last Post JustinCross  
      Working...
      X