Topics
16 Nov 2023, 07:42
 1132
 1
15 Nov 2023, 10:36
 2018
 16
Replies

Spotware
25 Jun 2015, 10:16

Dear Trader,

The value cannot be printed in the way you wrote the method because the Print(…) method is written after the return statement of the method. Please note that we do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.

 


@Spotware

Spotware
25 Jun 2015, 09:32

Dear Trader,

Many users upload their indicators/cBots in our Website. You can search for an indicator or cBot that suits you. You can also contact one of our Partners to create an indicator or a cBot for you or post a job in Development Jobs section.


@Spotware

Spotware
24 Jun 2015, 16:42

Dear Trader,

In backtesting all processes happen in a short period of time.


@Spotware

Spotware
24 Jun 2015, 16:14

Dear Trader,

There is a formula to calculate the gain/loss in percentage: 

(current price - open price) / open price.

We hope this helps you.


@Spotware

Spotware
24 Jun 2015, 15:55

Dear Trader,

An open position doesn’t have a closing time therefore we do not provide ClosingTime. Once the position is closed it will be removed from the Positions list. In the History tab it is available because it shows the time that a position was closed. The following code snippet shows how to retrieve the closing time of a closed position, which is considered a historical trade:

            ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "mylabel");

            ClosePosition(Positions.Find("mylabel"));

            HistoricalTrade hist = History.FindLast("mylabel");

            Print("Position closed at: ", hist.ClosingTime.ToString());

We hope this helps you.


@Spotware

Spotware
24 Jun 2015, 15:22

Dear Trader,

Currently it is not possible to change the color of the indicator in the way you were trying to change it. However please take a look at the following indicator: /algos/indicators/show/265

He hope this helps you.


@Spotware

Spotware
24 Jun 2015, 10:05

Dear Trader,

We do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.


@Spotware

Spotware
23 Jun 2015, 14:21

Dear Trader,

Thank you for your detailed suggestions. We will consider them. Additionally you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware

Spotware
23 Jun 2015, 14:06

Dear Trader,

You have the ability to change your username by performing the following steps:

  1. Log in to the Spotware Connect (use cTDN login information)

  2. Click your account shown in the right top corner and select “Change cTrader ID”. 

  3. Insert a username of your choice. 

@Spotware

Spotware
23 Jun 2015, 12:58

Dear Trader,

It is possible to store a return value of a method in a variable, or print it to the log. The following code snippet illustrates it.

        private double Example(int temp1, int temp2)
        {
            double temp3 = 0;
            //do some calculations
            return temp3;
        }

double divide = Example(10,20);
Print("", Example(70, 10));

We hope this helps you.


@Spotware

Spotware
23 Jun 2015, 12:12

Dear Trader,

We do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.


@Spotware

Spotware
23 Jun 2015, 11:57

Dear Trader,

Thank you for reporting this error. We will investigate.


@Spotware

Spotware
22 Jun 2015, 16:46

Dear Trader,

Please check the following link: /api/reference/internals/marketdata

It provides you information regarding the MarketData. For your information it is in our plans to update the API documentation in the future. Stay tuned.


@Spotware

Spotware
22 Jun 2015, 16:46

Dear Trader,

Thank you for your feedback. It is in our plans to update the API documentation in the future. Stay tuned.


@Spotware

Spotware
22 Jun 2015, 16:43

Dear Trader,

Please take a look at the following indicator which calculates USDX and EURX indices: /algos/indicators/show/459

Regarding the other parts of your question, you cannot draw candle sticks and you cannot replace the priceline with a custom priceline.


@Spotware

Spotware
22 Jun 2015, 16:15

Dear Trader,

Currently we do not support Microsoft Visual Studio 2015 editions.  It is in our plans to support these editions too. Supported editions are 2010, 2012, 2013.

You cannot use an express edition of Visual Studio because express editions do not support extensions.


@Spotware

Spotware
22 Jun 2015, 14:27

Dear Traders,

Please take a look at our updated cMirror help guide which now covers more topics: http://help.spotware.com/cmirror


@Spotware

Spotware
19 Jun 2015, 17:55

Dear Trader,

Currently we do not provide such ability. We will consider providing it in the future.


@Spotware

Spotware
19 Jun 2015, 17:46

Dear Trader,

Thank you for your suggestion. We will consider it. Additionally you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware

Spotware
19 Jun 2015, 17:45

Dear Trader,

A download of .csv file is not possible. However please take a look at the following link: /algos/cbots/show/591


@Spotware