Topics
16 Nov 2023, 07:42
 1115
 1
15 Nov 2023, 10:36
 1999
 16
Replies

Spotware
05 Mar 2015, 11:28

RE:

lec0456 said:

When I use Trade.Executing it gives a warning that this is obsolete.

 

What is the new way to get this functionality

If you use synchronous methods like ExecuteMarketOrder, ClosePosition, etc., there is no need to check the executing property. If you use asynchronous methods like ExecuteMarketOrderAsync, ClosePositionAsync, etc., you can check IsExecuting property of TradeOperation object:

            var operation = ExecuteMarketOrderAsync(...);
            ...
            RefreshData();
            if (operation.IsExecuting)
              ...

 


@Spotware

Spotware
04 Mar 2015, 17:58

Perhaps a relevant question that you can answer. Do all indicators (custom or otherwise) change value on each tick, despite not being accessed, used or otherwise referenced in OnTick()? My indicators work fine when placed on a sheet, but the robot version of them sees different value.

Indicators in cBots are lazy, they are calculated when cBots gets their values.

My question then is does customIndicator.Last(1) refer to the previous tick rather then the last bar when called in OnBar()

Last(index) method takes a value by index from the end of data series. It is not about ticks.

 


@Spotware

Spotware
04 Mar 2015, 17:54

No, there is no such functionality in cTrader. However you can write a cBot with similar functionality.


@Spotware

Spotware
04 Mar 2015, 17:52

Actually you can already run several cBots at the same time.


@Spotware

Spotware
04 Mar 2015, 11:05

Dear Trader,

Please contact your broker support.


@Spotware

Spotware
03 Mar 2015, 15:41

Dear Trader,

The following links could help you:

You can also post questions on the cTDN Forums for help from cAlgo developers community.


@Spotware

Spotware
03 Mar 2015, 15:36

Currently it is not possible. We plan to implement portfolio backtesting in the future.


@Spotware

Spotware
03 Mar 2015, 15:34

All cBots work with volume in units, no changes required.


@Spotware

Spotware
03 Mar 2015, 15:32

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


@Spotware

Spotware
03 Mar 2015, 15:32

You need to pass HeikinAshi parameters to GetIndicator method


@Spotware

Spotware
03 Mar 2015, 15:23

Spotware team doesn't provide cBot development support any more. We can recommend you to contact one of our Partners or post a job in Development Jobs section.


@Spotware

Spotware
03 Mar 2015, 15:21

Dear Trader,

Thank you for the suggestion. We will consider it. Additionally you can post it to vote.spotware.com.


@Spotware

Spotware
03 Mar 2015, 15:19

Dear Trader,

At this point we cannot change it because most of our users already get used to current behavior.


@Spotware

Spotware
03 Mar 2015, 15:11

You can find an example there:

https://msdn.microsoft.com/en-us/library/ezwyzy7b.aspx


@Spotware

Spotware
03 Mar 2015, 15:10

Hi Spotware, Do we have an ETA when we will have Protection Settings for Pending Orders.

A lot of the Ctrader users are retail traders and we don't have the luxury to sit in front of the trading software from work. It would be really helpful if we can implement the aforesaid feature.

If the feature is unavailable in the near feature, if you guys can come up with a CBOT code that simulates the feature, that would be great.

Something like a CBOT that monitors any open positions and provide the trailing features based on the user input parameters.

Dear Trader,

This feature will be available in the future. We apologize that we cannot promise an ETA at this point. Currently we do not plan to provide a cBot with such functionality. You can write such cBot yourself or contact professional developers: /consultants//jobs/


@Spotware

Spotware
03 Mar 2015, 15:05

Thank you for your idea, we will consider it.


@Spotware

Spotware
02 Mar 2015, 17:31

We checked our software and cannot find any virus. Please inspect your PC, probably there is a virus that corrupted cAlgo.exe.


@Spotware

Spotware
02 Mar 2015, 15:54 ( Updated at: 21 Dec 2023, 09:20 )

Custom color picker will be available in next releases:


@Spotware

Spotware
27 Feb 2015, 15:45

Sure, we will do it in future releases.


@Spotware

Spotware
27 Feb 2015, 15:25

If you want to hide source code, just remove it from Robots/Indicators folder.

.algo file is enough to execute cBot or Indicator.


@Spotware