Calculate in millisecond

Created at 25 Aug 2014, 10:51
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MI

mijo212

Joined 12.10.2013

Calculate in millisecond
25 Aug 2014, 10:51


Hello,

it is possible to calculate the indicator less than < 1 second ? in milliseconds.

protected override void Initialize(){ Timer.Start(1);}

protected override void OnTimer(){}


@mijo212
Replies

Invalid
25 Aug 2014, 10:59

RE:

Hi mijo212.

Yes, you can specify it using TimeSpan

Timer.Start(TimeSpan.FromMilliseconds(111));

mijo212 said:

Hello,

it is possible to calculate the indicator less than < 1 second ? in milliseconds.

protected override void Initialize(){ Timer.Start(1);}

protected override void OnTimer(){}

 


@Invalid

mijo212
25 Aug 2014, 11:14

RE: RE:

Thank you for the quick reply it works

Invalid said:

Hi mijo212.

Yes, you can specify it using TimeSpan

Timer.Start(TimeSpan.FromMilliseconds(111));

mijo212 said:

Hello,

it is possible to calculate the indicator less than < 1 second ? in milliseconds.

protected override void Initialize(){ Timer.Start(1);}

protected override void OnTimer(){}

 

 


@mijo212