Topics
16 Nov 2023, 07:42
 1521
 1
15 Nov 2023, 10:36
 2668
 19
Replies

Spotware
13 Nov 2014, 14:26 ( Updated at: 21 Dec 2023, 09:20 )

Hello,

Thank you for your kind words!

To answer your questions:

1) It is not possible to move indicators in the back of the chart.

2) This is actually supported on the Web version of cTrader. There, you can find a Shift property when specifying a MA indicator.

This will be available on Desktop versions in future releases.

3) You can specify T/P and S/L for all trades in the Quick Trade Execution Settings (screenshot).


@Spotware

Spotware
12 Nov 2014, 18:01

Hello,

Thank you for your feedback.

There is a number of different chart modes. Have a look at Single-Chart Mode, Multi-Chart Mode and Free-Chart Mode. You can find these in the right toolbar of cTrader & in the tools menu on the menubar. Every mode arranges the charts in your workspace differently.

You can even detach a chart from the main window and have it working in a separate window, by dragging it with the mouse or by clicking the Detach Chart button on the upper right corner of the chart.

Hope this helped.


@Spotware

Spotware
12 Nov 2014, 17:52

Dear Trader,

cAlgo.API doesn't provide such functionality.


@Spotware

Spotware
12 Nov 2014, 17:18

cAlgo.API doesn't provide such functionality.


@Spotware

Spotware
12 Nov 2014, 16:09

Unfortunately, it is not possible.


@Spotware

Spotware
12 Nov 2014, 15:57

You can add only back reference: from cBot to your library.


@Spotware

Spotware
12 Nov 2014, 15:19

Probably solution with UI Automation will not work because cTrader and cAlgo do not support UI Automation.


@Spotware

Spotware
12 Nov 2014, 09:35

We can recommend you to contact one of our Partners or post a job in Development Jobs section.


@Spotware

Spotware
12 Nov 2014, 09:32

Please make sure that your cBot is not out of money after 2 months.


@Spotware

Spotware
11 Nov 2014, 11:48

Hello,

If you are referring to the volume currency, then no.

The volume currency always depends on the base currency of a pair. For example in EURUSD the base currency is EUR.

However, Gross and Net for every position are displayed in the currency specified when creating your account.

Hope this helped.


@Spotware

Spotware
11 Nov 2014, 10:01

In OnTick handler of cBot you can invoke method from external project and pass all required objects as parameters.


@Spotware

Spotware
11 Nov 2014, 10:00

Any plans for cuda or opencl support in near future?

No, we do not plan to support it in near future.


@Spotware

Spotware
10 Nov 2014, 18:01

Hello,

We are planning to add this at some point in the future.


@Spotware

Spotware
10 Nov 2014, 17:40

Probably you access Account.Equity property from a different thread. Please do not do that. cAlgo.API is not thread safe and such access could cause errors and application crashes.


@Spotware

Spotware
10 Nov 2014, 17:37

Is this really a broker issue?

Please ask your broker to check Sessions settings.


@Spotware

Spotware
10 Nov 2014, 17:32

But when backtest test Print result show like:  high-low = 7.0000 like that . this is wrong result

7E-05 means 7 * Math.Pow(10, -5) = 0.00007


@Spotware

Spotware
10 Nov 2014, 10:01

Dear Trader,

Unfortunately, there is no such functionality at the moment. We plan to support tick timeframes in the future.


@Spotware

Spotware
10 Nov 2014, 09:54

 in other words the candle does not reach that price. How is this even possible?

Short positions are closed by Ask price. The candlestick chart shows trendbars based on bid prices only. That is why price is not in the candle.


@Spotware

Spotware
10 Nov 2014, 09:47

Dear Traders,

Please contact your broker regarding the above issues.


@Spotware

Spotware
10 Nov 2014, 09:38

Is there a way to add a timer that is only called on after login/relogin to server?

No, there is no such way.

are there other collections that may have a delay as well?

Positions and History collections do not have this issue.

Does OnStart() get called after login/relogin to server?

No, OnStart is called only once on cBot start.

So something like this would solve the problem?

if (Positions.Count(position => position.Label == RobotID) == 2 && PendingOrders.Count(position => position.Label == RobotID) == 0)
            {

//put a timer in here

                if (PendingOrders.Count(position => position.Label == RobotID) == 0)
                       {

Unfortunately no. Positions and PendingOrders collections are updated independently. As a workaround you can place a pending order far away from spot prices. Then if PendingOrders.Count > 0 that will mean that PendingOrders collection is in valid state and you can check it for your other orders.


@Spotware