Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Convert Price to Dollars

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

    Convert Price to Dollars

    Good Morning,

    I am writing some position sizing code in one of my strategies and I am stuck on what seems to be a simple question.

    How to I convert the price of a contract into dollars?

    In case it matters, I am looking at commodities, not stocks.

    Thank you in advance for your help.

    Cheers,

    #2
    Hi SodyTexas,

    Thank you for your post and welcome to the forums!

    Price of a contract into dollars is worked out as Point value * Tick Size.

    Example is the ES contract.
    Point value = 50
    TickSize = .25

    50*.25 = $12.50 per tick.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thanks Cal,

      Point Value was what I could not find; I appreciate the help finding it! Just in case someone else reads this, they can find the syntax here:

      http://www.ninjatrader.com/support/h...trument_po.htm

      Cheers,

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      331 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      549 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      549 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X