I am a newbie and have the following question:
As part of a strategy I would like to develop in order to tes it, I want to time how long it takes between the current last value a currency pair traded at and the previous last value a currency pair traded at.
If the time taken for the price to change by a certain amount (eg 1/100th of a USD in EURUSD pair - tick value) is below some threshold time (0.2 sec for example) I wish to then execute some other statements.
How would I get the time between previous currency pair value changes in Ninjascript?
Regards,
Shane

Comment