Replies

quasar888
03 Jul 2015, 13:42

Hello perhaps i can help you , i use both language... 

 


@quasar888

quasar888
29 Jun 2015, 12:59

RE:

This post was removed by moderator.


@quasar888

quasar888
12 Jun 2015, 10:49

yes that would be great!


@quasar888

quasar888
28 Feb 2015, 12:48

RE:

DateTime time;

void timeclosingtrade()

{time=Server.Time;

int timespanchoice=0;

  foreach (Position item in Positions)
                {

if(item.EntryTime<time..AddHours(-timespanchoice))

{

ClosePosition(item);

}

                }

 

}

  protected override void OnStart()
        {

 Timer.Start(1);

}

protected override OnTimer()

{

timeclosingtrade();

}


@quasar888

quasar888
28 Feb 2015, 12:45

DateTime time;

 

void timeclosingtrad()

{time=Server.Time;

int timespanchoice=0;

  foreach (Position item in Positions)
                {

 

}

 

}


@quasar888

quasar888
28 Feb 2015, 12:45

DateTime time;

 

void timeclosingtrad()

{time=Server.Time;

int timespanchoice=0;

  foreach (Position item in Positions)
                {

 

}

 

}


@quasar888