Topics
13 Jan 2014, 17:16
 2788
 3
Replies

waddahattar
14 Jan 2014, 16:35

RE:

Spotware said:

We recommend that you add all logic in the OnTick method instead of using a while loop. Using a while loop with the Sleep method will affect performance. 

Is there a way to force the cAlg to trigger OnTick() event from outside cAlgo with some API function .

 

I Want sometimes to Buy or Sell without wait the Price to change in cAlgo .


@waddahattar

waddahattar
14 Jan 2014, 14:18

I need some Idea for make cRobot works like metatrader script .

 

I try to make loop while(true) into cRobot with Sleep() to allow cAlgo to work without interruption


@waddahattar

waddahattar
13 Jan 2014, 18:00

the compiler accept ulong type insted .


@waddahattar