PDA

View Full Version : NSYE TICK use


kjkraus
08-30-2007, 10:40 AM
What price conditions do I use with ^TICK
to incorporate it into a strategy?

open, close?

Trying to learn NinjaScript by creating a simple long/short script based upon tick-by-tick readings of the NYSE-TICK...

Thanks in advance,
K-

NinjaTrader_Ray
08-30-2007, 11:36 AM
What ever price type you want to check on. Each bar always has an OHLC value. The only slight exception is a 1 tick bar where the OHLC values are all the same.

rambkk
09-10-2007, 02:01 PM
Hello,

I am not sure what you are looking for but I am guessing you
are trying to find out how many ticks has moved right? I hope so :)

You can use the TickSize function.

To find out number of ticks movedbetween most recent Close and just
the Close before that you would use:

ticksmoved=((Close[0]-Close[1])/TickSize);
Print("Ticks moved " + ticksmoved.ToString());

Cheers,
-ram :cool: