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

Diff in ticks

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

  • pman777
    replied
    thanks Josh

    Leave a comment:


  • NinjaTrader_JoshG
    replied
    Hello pman777,
    Thanks for your post.

    I think that would be Difference/Ticksize

    Something like the following snippet:

    protected override void OnBarUpdate()
    {
    Print((High[0]-Low[0])/Instrument.MasterInstrument.TickSize);
    }

    Leave a comment:


  • pman777
    started a topic Diff in ticks

    Diff in ticks

    How do I subtract twp price points and get the difference in ticks for a given instrument? Thanks!

Latest Posts

Collapse

Topics Statistics Last Post
Started by f.saeidi, Today, 08:01 PM
0 responses
2 views
0 likes
Last Post f.saeidi  
Started by Rapine Heihei, Today, 07:51 PM
0 responses
3 views
0 likes
Last Post Rapine Heihei  
Started by frslvr, 04-11-2024, 07:26 AM
5 responses
96 views
1 like
Last Post caryc123  
Started by algospoke, 04-17-2024, 06:40 PM
6 responses
49 views
0 likes
Last Post algospoke  
Started by arvidvanstaey, Today, 02:19 PM
4 responses
11 views
0 likes
Last Post arvidvanstaey  
Working...
X