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

Strategy Builder - 16s and 00s in/ZB?

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

    Strategy Builder - 16s and 00s in/ZB?

    Hi,

    I would like to create Strategy to trade 16s and 00s in /ZB, is there a way to select prices that end in 16s and 00s regardless of the preceding number? something like xxx'16 and xxx'00?

    Thanks
    David

    #2
    Hello David, thanks for your post.

    If you are using the strategy builder there would be no way to do that. In C# you can use the Math.Truncate() method to remove the integer portion of any double, see this publicly available link:

    https://docs.microsoft.com/en-us/dot...ystem_Decimal_

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks!

      David

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CrissCross, Today, 01:34 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by rtwave, Today, 09:14 AM
      2 responses
      18 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Started by nandhumca, Today, 12:09 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by nandhumca, Today, 12:23 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by RaddiFX, 09-28-2021, 09:42 PM
      7 responses
      217 views
      0 likes
      Last Post nandhumca  
      Working...
      X