Replies

PanagiotisCharalampous
01 Jul 2020, 15:30

RE: RE:

Hi Delphima,

 I want to know the code below return RSI value based on last bar, but depend on which moment in the bar. Is it open price or high/close/low?

This value is calculated using the final bar values after the bar closes.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 14:34

Hi Delphima,

The method has the same function for indicator data series as well. You code has a logical mistake though. It prints the last value when a bar is created but then compares this value with the value the indicator when the bar closed. The value of the indicator can change in the meanwhile.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 14:18 ( Updated at: 01 Jul 2020, 14:53 )

Hi ctrader001,

This section is only for suggestions. Please report this issue in the relevant section of the forum. This post will be deleted soon.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 14:05

Hi Gareth,

I cannot reach you over email, it seems there is an issue with your email address.

 I had no issues signing in using the example application and your credentials. 

 

Here are the messages

8=FIX.4.4 9=120 35=A 49=icmarkets.1044783 56=CSERVER 57=TRADE 50=TRADE 34=1 52=20200701-10:59:19 98=0 108=30 553=1044783 554=xxx 10=093

8=FIX.4.4 9=97 35=A 34=1 49=CSERVER 50=TRADE 52=20200701-10:59:19.580 56=icmarkets.1044783 57=TRADE 98=0 108=30 10=171

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 12:21 ( Updated at: 23 Jan 2024, 13:14 )

Hi hhollstein,

There is a [known issue] which will be fixed.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 09:14

Hi,

1) We could not reproduce any issues signing in to trade sessions.  If still have trouble logging in to the TRADE session please send me the credentials you use together with your password at community@spotware.com and I will investigate further.

2) If you subscribe to top of the book values (264=1) you will not get sizes. Sizes are only returned for depth subscriptions. Regarding 

"Your API states that we could."

I am not sure where is this stated. Our example messages show clearly that tag 271 is not returned for spot subscription. Can you please point it to us so that we can correct it?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 08:43

Hi rgasch,

You assume that this part of the code is taking as input a value in USD and converts it into Lots

var lots = Symbol.VolumeInUnitsToQuantity(amt);

But this is wrong. VolumeInUnitsToQuantity() takes as input units of the traded symbol and returns the relevant Lot Size. Units always represent units of the base asset. So when you are trading SP5000 you are inputting 10000 contracts of this index and you are receiving as a return 10000 lots since 1 contract = 1 Lot. It works on some FX pairs by luck since the account's currency coincides with the base asset e.g. USD and USDJPY or EUR and EURUSD.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
01 Jul 2020, 08:31

Hi Delphima,

Last(x) uses x as a backwards index counter.  Last(1) will return the value for the previous bar, Last(2) for two bars before etc.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 14:14

Hi Vadivelan,

Check here how to place stop orders in a cBot.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 10:10 ( Updated at: 21 Dec 2023, 09:22 )

Hi,

1) I cannot confirm your credentials. It is you that has to do this e.g. I do not know your password and if you are using the correct one.

2)  The FIX Specification found in the help site is the latest.

3) I have recommended twice to use our FIX API example but I cannot understand if you do. If you use our example together with correct credentials, you should not have a problem signing in and seeing the messages exchanged.

4) If you use our FIX API example to send a Depth Market Data Request you will see that both tag 270 and 271 are returned.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 09:48

Hi Vadivelan,

What kind of order (market, stop, limit) and at which price do you want to place it?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 09:21

Hi sdstrading85,

This view is available in tick, renko and range charts.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 09:14

RE: RE:

Hi faridafrance,

Unfortunately, I did not understand what is the problem. Can you please post a screenshot demonstrating the issue?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 09:12

Hi alizpolaki,

As explained in another thread we do not provide statements to traders. You are a client of your broker, your trading accounts belong to the broker and they have access to all necessary information. If they do not know how to do it they can just contact our support for further information. The community team does not have access to your trading accounts. 

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 08:49

Hi Luca,

It is not possible to run a cBot when the computer is turned off. You can consider running your cBot on a VPS.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jun 2020, 08:45

Hi Melle,

The behavior you describe is not normal since there is always a workspace selected in cTrader. We cannot reproduce a scenario where a workspace is not selected. Therefore if you can record a video it would be helpful. 

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jun 2020, 16:18

Hi there,

You can use the FIX API example to get the expected messages. You can also use it with your credentials to check if you can login or not.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jun 2020, 14:38

Hi ctid1412177,

Then the compete cBot code :) ? We need something that is plug and play so that we can reproduce this behavior.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jun 2020, 12:47

Hi keivan.valashani,

This is not correct, they do.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jun 2020, 12:46

Hi ctid1412177,

Can you please post the complete indicator code?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous