Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ticksize

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

    Ticksize

    EntryTicks = ((int)( TickSize * 3));

    So High[0] + EntryTicks;

    is producing a value that is 2 ticks away and not 3??

    #2
    Weirdness that I don't understand

    mmm...

    If I do Ep = High[1] + (TickSize * 2);

    I get the correct EP

    If I store (TickSize * 2 ) as a variable
    var1 =( (int)TickSize * 2);

    - and use
    EP = High[1] + var1 - I get the wrong value.
    Now that is weird.

    shoot - I was storing the var1 as an int - apologies everyone
    Last edited by Mindset; 05-28-2010, 03:00 AM. Reason: stupidity

    Comment


      #3
      Great you got it figured out Mindset.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ageeholdings, Today, 07:43 AM
      0 responses
      6 views
      0 likes
      Last Post ageeholdings  
      Started by pibrew, Today, 06:37 AM
      0 responses
      4 views
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      14 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      12 views
      0 likes
      Last Post burtoninlondon  
      Working...
      X