Replies

commando1
23 Aug 2016, 23:05

             if (Positions.Count > 0 || Trade.IsExecuting)
                return;

maybe this might work


@commando1

commando1
23 Aug 2016, 21:46

if ((Time - Position.EntryTime).TotalMinutes >= 120)

this should work


@commando1

commando1
22 Aug 2016, 20:13

thanks for the reply spotware,

I downloaded the broker version of calgo & it works fine there !

must be index CFD data feed issue in the official version.

 


@commando1

commando1
23 Jul 2016, 01:28

I had to install calgo from another broker to get access again ...... OMG what a scare.

AT LEAST ADD A shortcut for Build with source.

 


@commando1

commando1
02 Apr 2016, 00:29

Super .... thanks it worked

foreach (var Position in Positions)
            {
                if ((Time - Position.EntryTime).TotalMinutes >= 10.0 && Position.NetProfit < 0)
                {
                    ClosePosition(Position);
                }

 


@commando1