Topics
16 Nov 2023, 07:42
 1159
 1
15 Nov 2023, 10:36
 2058
 16
Replies

Spotware
29 Oct 2015, 11:02 ( Updated at: 04 Mar 2016, 17:56 )

Dear Trader,

Please contact your Broker regarding this.


@Spotware

Spotware
29 Oct 2015, 06:38

Dear Trader,

This feature is not implemented yet. It will be available in the future. Stay tuned.


@Spotware

Spotware
28 Oct 2015, 08:07

Dear Trader,

In the log you will see the message:

Crashed in OnStart with ArgumentException: Incorrect parameters count. Parameter name: parameterValues

This means that when you call an indicator you used an incorrect number of parameters, in your case, you need to add a parameter to this line OnStart():

bulls = Indicators.GetIndicator<ElderRay>(Source, 13, MovingAverageType.Exponential);

In addition, you need to switch the parameters on the second custom indicator you referenced

// currently
//you defined it 
example(String x, int y)

//you are calling it 
example ( 35, "hello");

A very simple and quick way to troubleshoot/check your code is to use the Print() method between the lines of your code to verify that the code reach these lines with an expected result.  


@Spotware

Spotware
28 Oct 2015, 07:38

Dear Trader,

We recommend you to contact the developer of this custom indicator directly.


@Spotware

Spotware
28 Oct 2015, 07:36

Dear Trader,

We would like to inform you 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
28 Oct 2015, 07:30

Dear Trader,

You could convert indicators of other trading platforms to cTrader. Several third party applications offer this feature. You can find such an application by searching it online.


@Spotware

Spotware
28 Oct 2015, 07:22

Dear Trader,

Could you please tell us the exact time you submitted the troubleshooting information to our support team?

Or could you please press again Ctrl+Alt+Shift+T while having an open chart that receives no prices in cAlgo and let us know, when you will do it?


@Spotware

Spotware
27 Oct 2015, 12:12

Dear Trader,

Could you please send us your code at troubleshooting@spotware.com?

It will be used only for troubleshooting purposes.


@Spotware

Spotware
27 Oct 2015, 10:39

Dear Trader,

Could you please provide us with more information regarding your issue?

Do you receive any error messages? 

When you write for example a single print method in the OnTick() method, does it still not work?

Did you have any problems performing any of the steps described in the Referencing Custom Indicators section of our support site? 

The following code snippet illustrates the use of an indicator in a cBot.

        private SampleSMA sma;

        protected override void OnStart()
        {
            sma = Indicators.GetIndicator<SampleSMA>(Source, SmaPeriod);
        }

        protected override void OnTick()
        {
            Print("{0}", sma.Result.LastValue);
        }

 


@Spotware

Spotware
27 Oct 2015, 07:06

Dear Trader,

We tried to reproduce your issue without success. We recommend you to try to optimize your indicator.


@Spotware

Spotware
27 Oct 2015, 06:51

Dear Trader,

Could you please provide us with the error messages, exception codes? 


@Spotware

Spotware
27 Oct 2015, 06:36

Dear Trader,

Does it happen if you run an empty cBot?

Does this happen every time you run a different cBot in Backtesting?

If it happens only when you run the same cBot, could you please send us your code at troubleshooting@spotware.com. It will be used only for troubleshooting purposes.

 


@Spotware

Spotware
26 Oct 2015, 13:51

Dear Trader,

Could you please check how much memory does this custom indicator use over some time?

(You can see the memory each application uses in the task manager)


@Spotware

Spotware
26 Oct 2015, 13:37

Dear Trader,

Could you please provide us with more information regarding your issue?

Do you receive any error messages, exception codes?


@Spotware

Spotware
26 Oct 2015, 13:35

Dear Trader,

We would like to inform you 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
23 Oct 2015, 13:58

Dear Trader,

Currently there is no way to modify/double the volume of an open position. We will provide users the ability to modify the volume of open positions in the future.
To send an email programmatically, please perform the steps described in the  Email Notifications section of our cAlgo support site.


@Spotware

Spotware
23 Oct 2015, 13:01

Dear Trader,

We would like to inform you 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
22 Oct 2015, 20:32

Dear Trader,

Please have a look at our Indicators Guides.

For your information the index parameter, represents each bar, ranging from 0 up to the current (last) bar. 


@Spotware

Spotware
22 Oct 2015, 20:26

Dear Trader,

Please have a look at the following code snippet:

            MarketSeries data = MarketData.GetSeries(TimeFrame.Hour);
            DataSeries series = data.Close;
            int index = series.Count - 1;

            double close = data.Close[index];
            double high = data.High[index];
            double low = data.Low[index];
            double open = data.Open[index];

We hope this helps you.


@Spotware