Topics
16 Nov 2023, 07:42
 1098
 1
15 Nov 2023, 10:36
 1974
 16
Replies

Spotware
14 May 2014, 09:10

Please press Ctrl+Alt+Shift+T. It will send us troubleshooting information.


@Spotware

Spotware
14 May 2014, 08:59

We plan to implement tick data backtesting in the near future. Stay tuned.


@Spotware

Spotware
13 May 2014, 09:04

Please read the following article:

http://help.spotware.com/calgo/indicators/create-edit.

It describes how to build Custom Indicators in cAlgo. 


@Spotware

Spotware
13 May 2014, 09:02

Unfortunately we cannot reproduce this issue. We kindly ask you to send us the source code of your cBot. We will use it for debugging purposes only.

Also, is there a way to detect whether the robot is running is live-mode or in back-tester mode ?

You can use IsBacktesting property to check that cBot is running in backtesting.


@Spotware

Spotware
12 May 2014, 10:26

Unfortunately we cannot reproduce this issue. If you send code of your cBot to engage@spotware.com it will simplify our search. We will use your cBot only for debugging purposes.


@Spotware

Spotware
12 May 2014, 10:16

Standard Deviation is an absolute value, neither % nor pip's. You can check the formula: http://en.wikipedia.org/wiki/Standard_deviation#Discrete_random_variable.

Unfortunately we don't have such list, but all our built-in indicators are calculated by well known formulas and you can find all needed information by simple internet search.


@Spotware

Spotware
12 May 2014, 09:37

OnBar event happens when new bar is opened. At that moment MarketSeries collection already contains tick from new bar. It means that last bar is not formed and in general cases open = high = low = close and TickVolume equals 1. If you want to access last formed bar you need take previous one.

You need to change your code:

protected override void OnBar()
{
   var close = MarketSeries.Close.Last(1);
   var high = MarketSeries.High.Last(1);
   var low = MarketSeries.Low.Last(1);
   var tickVolume = MarketSeries.TickVolume.Last(1);

   ...
}

 


@Spotware

Spotware
12 May 2014, 09:16

Could you please be more specific? It is not clear what you mean.


@Spotware

Spotware
09 May 2014, 10:00

RE:

Green7 said:

After upgrading from CAlgo 1.9 to 1.21 I have problem with my robot.

I have CAlgo robot inherited from class from dll.

In this case after compilation I can't see robot code in CAlgo :

"Source code is not available". Why ?

And how to solve this problem ?

(In the old version CAlgo this issue does not occur)

 

Regards

Thank you for reporting the issue. We will fix it as soon as possible.

For now you can try this workaround:

  • locate your cBot source code file in Documents\cAlgo\Sources\Robots\
  • open it in notepad
  • add //:Robot anywhere except the begging
  • save your source code file

@Spotware

Spotware
08 May 2014, 09:03

RE: RE:

breakermind said:

Hi,

how can i get All open positions (with random label or without)

var positions = Positions.FindAll("myLabel");

is there any possibility to use FindAll() whitout label etc.

Regards

If you want to get all positions you don't need to invoke FindAll method:

var positions = Positions;

 


@Spotware

Spotware
07 May 2014, 14:18

No, there is no ChartWatch


@Spotware

Spotware
07 May 2014, 12:47

RE: RE:

breakermind said:

Spotware said:

No, it is not possible

next question:

it is possible create Account Statement from robot?

 

No, it is not possible


@Spotware

Spotware
07 May 2014, 12:18

No, it is not possible


@Spotware

Spotware
07 May 2014, 11:34

You can take a ChartShot: 

http://help.spotware.com/charts/chartshots


@Spotware

Spotware
07 May 2014, 09:20

If position with such label doesn't exist Positions.Find will return null. After that you need to check position variable for null as it is shown in the example:

            var position = Positions.Find(MyLabel);            
            if (position == null) 
                return;

 


@Spotware

Spotware
05 May 2014, 09:07

Swap rates are not available in cAlgo.API. We plan to add it in the future.


@Spotware

Spotware
05 May 2014, 09:04

Please make sure that both instances have the same parameters and backtesting options.


@Spotware

Spotware
05 May 2014, 08:59

Thank you for the issue report. We will investigate it.


@Spotware

Spotware
02 May 2014, 14:08

We plan to improve ChartObjects.DrawText functionality in the future. Additionally you can post your ideas to vote.spotware.com.


@Spotware

Spotware
02 May 2014, 10:47

You can find Open API Reference by following link:

https://sandbox-connect.spotware.com/draftref/

If you have any questions please contact connect@spotware.com


@Spotware