PDA

View Full Version : Ticksize


Mindset
05-28-2010, 03:00 AM
EntryTicks = ((int)( TickSize * 3));

So High[0] + EntryTicks;

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

Mindset
05-28-2010, 03:53 AM
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

NinjaTrader_Bertrand
05-28-2010, 06:19 AM
Great you got it figured out Mindset.