Replies

PanagiotisCharalampous
12 Apr 2024, 05:54

Hi Mat,

It should be in your account's deposit currency.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 13:14

RE: RE: RE: RE: Custom indicator with TimeFrame.Hour4 not showing Last(1) value in cBot.

ys2310 said: 

PanagiotisCharalampous said: 

ys2310 said: 

PanagiotisCharalampous said: 

Hi there,

This happens because you only assign values to indicator data series, when the index of each higher timeframe changes. Hence for the rest of the array elements the value stays NaN. The solution to this depends on what you want to achieve. For example, why do you 

@PanagiotisCharalampous

Thank you for your reply. I want to test my GMMA strategy with multi-timeframe.

My cBot staretegy is 1hour resolution and should be able to access to the above custom indicator(multi-timeframe GMMA)'s TimeFrame.Hour4 Last(n) values. 

Can you me an example on how to code this correctly?

Hi there,

I am sorry but I cannot write the code for you. If you have specific questions, I am happy to answer them. At the moment I do not see a reason to leave the data series values to NaN.

Best regards,

Panagiotis

Hello Panagiotis,

What do you mean by “At the moment I do not see a reason to leave the data series values to NaN.” ?

I made some mistakes in my code?

Can you share the cBot code as well so that I can tell you exactly where the problem is?


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 12:47

RE: RE: Custom indicator with TimeFrame.Hour4 not showing Last(1) value in cBot.

ys2310 said: 

PanagiotisCharalampous said: 

Hi there,

This happens because you only assign values to indicator data series, when the index of each higher timeframe changes. Hence for the rest of the array elements the value stays NaN. The solution to this depends on what you want to achieve. For example, why do you 

@PanagiotisCharalampous

Thank you for your reply. I want to test my GMMA strategy with multi-timeframe.

My cBot staretegy is 1hour resolution and should be able to access to the above custom indicator(multi-timeframe GMMA)'s TimeFrame.Hour4 Last(n) values. 

Can you me an example on how to code this correctly?

Hi there,

I am sorry but I cannot write the code for you. If you have specific questions, I am happy to answer them. At the moment I do not see a reason to leave the data series values to NaN.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 11:54

RE: RE: Chart.DrawHorizontalLine() on cTrader mobile app chart

ncel01 said: 

PanagiotisCharalampous said: 

Hi ncel01,

No, the applications do not synchronize.

Best regards,

Panagiotis

Hi Panagiotis,

Thanks for informing!

That's a pity. It would be great to be aware of some key levels through the mobile app chart.

Are there any plans to implement this in the future?

The teams are considering this but it's a huge project. It would take time


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 11:53

Hi there,

Both values are inclusive.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 11:51

Hi there,

Thank you for reporting this issue. Unfortunately we were not able to reproduce this behavior. Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 11:45

Hi there,

This happens because you only assign values to indicator data series, when the index of each higher timeframe changes. Hence for the rest of the array elements the value stays NaN. The solution to this depends on what you want to achieve. For example, why do you 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 11:26

RE: RE: bot stops working after some time

swingfish said: 

PanagiotisCharalampous said: 

Hi swingfish,

Do OnTick() and OnBar() get triggered? Do your methods still get called? Does the code get blocked somewhere else?

The bot uses both OnBar() and onTimer() but it's a choice i can make in a setting to make via a setting.

the bot does print a status text on the chart its deployed, and this does stop updating, so i guess the OnBar,OnTick and OnTimer are not called anymore.

when i stop the bot it takes much longer for it to stop, and when i start it again it does work just fine for some time.

and yes like you wrote it surely has somethings to do with my terrible code, i just don't know how to diagnose it.

it does write a file, calculates exposure and displays it, keeps profit/loss in a variable thats written to the filesystem.

it also has a feature to auto-hedge and other things, but all those things are disabled via settings and are never called.

i could add some printouts but those would create alot of log-traffic and the whole loop is running rather quickly as it really just writes the file OnBar only (this is to prevent too much harddisc traffic) and otherwise just recalculates the risk values based on realtime data such as equity/balance/and so on.

Hi swingfish,

Any change it gets stuck in a loop or gets locked by waiting sore resource to be released e.g an open file? Just throwing ideas around since I have no idea about the specifics of your cBot.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 06:35

Hi there,

Custom watchlists are not supported for cTrader for Mac at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:46

Hi there, 

You need to provide more specific information regarding what you are doing. As a starting point, try connecting using the FIX API Example application. If the connection is successful, then compare it with your implementation and find what you are doing different. If you cannot connect using the FIX API Example, please provide us with more information (host name, account, credentials, messages exchanged etc) so that we can test it as well.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:43

Hi there,

Try using cMAM

https://clickalgo.com/ctrader-trade-copy

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:39

Hi there,

Yes, the team is currently working on this feature.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:38

Hi swingfish,

It's hard to tell with such vague information. But it's almost certain that it's some kind of a bug in your implementation. Maybe enhance your cBot with printing some information in the log so that you can understand what is actually stopping and where. Do OnTick() and OnBar() get triggered? Do your methods still get called? Does the code get blocked somewhere else?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:32

Hi there, 

It is. Check your QuickTrade settings and select Double Tap.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:27

Hi swingfish,

There is no such option at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2024, 05:25

Hi ncel01,

No, the applications do not synchronize.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2024, 10:54

Hi there,

It will be added in a future update of the application.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2024, 10:53

Hi there,

You need to find the .algo file you installed on your previous computer and reinstall it on your new computer. The Indiset only contains indicator parameters.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2024, 10:48

Hi there,

The broker with which I had have a live account told me that it was not in their capacity to delete my cTrader ID.

This is not true, they have this possibility through their backend system

I wrote several emails of the request for deletion of my my cTrader ID to community@ctrader.com, but got no replies from them.

You should get a reply in the following days.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2024, 06:22

Hi there,

The broker can delete your cTrader ID as long as you have no open accounts with any broker. If you have sent an email to community@ctrader.com, it will be processed and they will reply to you.

Best regards,

Panagiotis


@PanagiotisCharalampous