Replies

PanagiotisCharalampous
10 Jan 2024, 07:32

Hi there,

You receive them because you have an account with the specific broker. You should contact the broker if you want them to be disabled.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:25

Hi there,

Please send us some troubleshooting info and quote the link to this discussion.

Best Regards,

Panagiotis 


 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:15

Hi firemyst,

We do not have any such plans at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:45

RE: RE: ChatGPT cBot Issues

danerius said: 

PanagiotisCharalampous said: 

Dear darenius,

If you need assistance with your cBot, you would need to provide at least the following information

  • What is the cBot supposed to do?
  • What does it do instead?
  • What is the exact problem you are trying to solve?

Best regards,

Panagiotis

Hello Panagiotis and thanks for getting back to me

Ive been working too long on trying to fix the cBot, my brain was fried and I completely missed providing more information. Sorry about that. And pardon the messy look of the code. I used the “code” function, hope you can read it anyways.

- The major issue is that its not performing any Buys or Sells. Im not even sure if its the code or my settings for the demo account. The Log messages reads:

04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] started. 
04/01/2024 02:00:00.000 | Indicator instance [DoubleRenko, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | Indicator instance [Average True Range, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] crashed with error #F00E2180.

Lets start there and see if we can find a way to make the cBot work. Thanks /Bo

Hi danerius,

I still do not have the code in a readable format. Can you please fix the format so that we can copy/paste and build it?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:40

Hi there,

You can use the Positions property to achieve this. Here is an example.

var netProfit = Positions.Sum(p => p.NetProfit);

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:38

RE: RE: RE: RE: RE: RE: Issue with Selected Instrument Window Closing on Compilation in VS2022

Vitali Gajdabrus said: 

PanagiotisCharalampous said: 

Vitali Gajdabrus said: 

When switching tabs, the configured settings are lost, which is quite inconvenient, as it requires reconfiguration every time. Is it possible to fix this in the new cTrader update?


Hi there,

Unfortunately we cannot reproduce such a behavior in the latest version. Can you record a video capturing the entire UI area and the exact steps to reproduce the problem?

Best regards,

Panagiotis

 

(I apologize for my poor language skills) I want to see the latest open positions and the latest closed positions. To do this, they should be positioned at the top of the window - within the visible area. But when I switch windows, the sorting disappears...

DQr1NrO.gif (888×359) (imgur.com)

h ttps://i.imgur.com/DQr1NrO.gif

(Remove the space "h ttps...")

Hi again,

I asked for a video capturing the entire UI area.  The one you sent does not, hence we cannot see the broker and the cTrader version.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:36

RE: RE: error to run cbots

eliezer_barros said: 

PanagiotisCharalampous said: 

Hi Eliezer,

It's a known issue and will be solved in an upcoming update. In the meanwhile, try providing full access to your cBot and let us know if it works.

Best regards,

Panagiotis

Panagiotes

Look at the print screen I sent, I used a standart script for test and error to continue.

In your message you recommend giving cbots full access, so what do you really want me to do?

Tks

Eliézer

 

Hi Eliezer,

Here you go

    [Robot(AccessRights = AccessRights.FullAccess)]

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:15

RE: RE: RE: RE: Issue with Selected Instrument Window Closing on Compilation in VS2022

Vitali Gajdabrus said: 

When switching tabs, the configured settings are lost, which is quite inconvenient, as it requires reconfiguration every time. Is it possible to fix this in the new cTrader update?


Hi there,

Unfortunately we cannot reproduce such a behavior in the latest version. Can you record a video capturing the entire UI area and the exact steps to reproduce the problem?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:04

Hi firemyst,

We have no plans for introducing support for .Net 8.0 any time soon.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:03

RE: RE: RE: RE: Why does printing this give me random number ?

mihlali700 said: 

PanagiotisCharalampous said: 

mihlali700 said: 

PanagiotisCharalampous said: 

Hi again,

The values you provided are not for each tick but for each bar since the Calculate() method is called for every bar for historical bars. At the moment I see nothing wrong.

Best regards,

Panagiotis

I just want the value of just 1 bar , that either being the current or previous , how do I achieve that ?

Hi there, 

I am a bit confused about what the issue is now. You said that the values do not make sense to you but they seem to make sense to. I have ask for an explanation of what exact value would you expect instead of the ones you see printed and how that value is calculated but you did not provide it (e.g. the value printed at 12:00 is 1 but I would expect it to be 2 because a, b, c….). It is hard to help you further without this information.

Best regards,

Panagiotis

When I run this :
 var currentprice = Bars.ClosePrices[index-1];

I just expect to get the value of the currentprice or the price of the bar before that but as you are saying its giving me the value of every single bar starting from bar 1 , I don't want that , I just want the price of the previous bar so that I can minus it with Something Like S1 and get a pip value which is the distance between the current price and S1 

Hi there,

Then you can use the IsLastBar property to print the values only for the last bar. 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:59

Dear darenius,

If you need assistance with your cBot, you would need to provide at least the following information

  • What is the cBot supposed to do?
  • What does it do instead?
  • What is the exact problem you are trying to solve?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:56

Hi there,

It would be better to contact Quantower regarding this matter since it is their software that provides this information.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:54

RE: RE: Issue with Selected Instrument Window Closing on Compilation in VS2022

Vitali Gajdabrus said: 

PanagiotisCharalampous said: 

Hi there,

Thanks for reporting this problem. We have identified the issue and it will be resolved in an upcoming update. 

Best Regards,

Panagiotis 


When, approximately, will the next update with the fixed error be released?

Hi Vitali,

We do not have an ETA at the moment but we are at the final stages of development.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:45

Hi Eliezer,

It's a known issue and will be solved in an upcoming update. In the meanwhile, try providing full access to your cBot and let us know if it works.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:43

RE: RE: Why does printing this give me random number ?

mihlali700 said: 

PanagiotisCharalampous said: 

Hi again,

The values you provided are not for each tick but for each bar since the Calculate() method is called for every bar for historical bars. At the moment I see nothing wrong.

Best regards,

Panagiotis

I just want the value of just 1 bar , that either being the current or previous , how do I achieve that ?

Hi there, 

I am a bit confused about what the issue is now. You said that the values do not make sense to you but they seem to make sense to. I have ask for an explanation of what exact value would you expect instead of the ones you see printed and how that value is calculated but you did not provide it (e.g. the value printed at 12:00 is 1 but I would expect it to be 2 because a, b, c….). It is hard to help you further without this information.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jan 2024, 10:09

Hi again,

The values you provided are not for each tick but for each bar since the Calculate() method is called for every bar for historical bars. At the moment I see nothing wrong.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jan 2024, 08:29

Hi there,

It seems like a graphics card issue. Check this thread in case it helps.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jan 2024, 08:24

RE: RE: Access to renko charts data in cBot

vadakoff said: 

PanagiotisCharalampous said: 

Hi there,

Yes, you can use GetBars() to achieve this

Best regards,

Panagiotis

but GetBars it is OHLC items as i know, aren't?

The same collection is used for renko bars as well. 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jan 2024, 08:23

RE: RE: Why does printing this give me random number ?

mihlali700 said: 

PanagiotisCharalampous said: 

Hi there,

The close price changes on every tick therefore it is expected that the results would change. Can you explain to us what your expectation is?

Best regards,

Panagiotis

No I understand why it would be different at every tick but the way its different makes I unusable , I expect the numbers printing to be somewhat close to each other instead they are not, they are widely different with it even printing “NaN” 

It's obviously a logical bug on your side but it's hard to tell by a code snippet. We are just guessing. You would need to provide more information in order to get more help. Post at least the following

  1. The full indicator code
  2. Screenshots of the values you get.
  3. The values you would expect to get instead and an explanation why you expect them.

 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jan 2024, 08:23

RE: RE: Why does printing this give me random number ?

mihlali700 said: 

PanagiotisCharalampous said: 

Hi there,

The close price changes on every tick therefore it is expected that the results would change. Can you explain to us what your expectation is?

Best regards,

Panagiotis

No I understand why it would be different at every tick but the way its different makes I unusable , I expect the numbers printing to be somewhat close to each other instead they are not, they are widely different with it even printing “NaN” 

It's obviously a logical bug on your side but it's hard to tell by a code snippet. We are just guessing. You would need to provide more information in order to get more help. Post at least the following

  1. The full indicator code
  2. Screenshots of the values you get.
  3. The values you would expect to get instead and an explanation why you expect them.

 


@PanagiotisCharalampous