
Topics
Replies
PanagiotisCharalampous
14 May 2024, 05:37
Hi there,
This feature is not available at the moment on cTrader for Mac. It will be added in a future release of the application.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2024, 05:36
Hi there,
You should talk to your broker about this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2024, 05:34
Hi there,
Can you please share some screenshots of this error?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2024, 05:29
Hi there,
Your question is not clear. Please explain what you think is wrong and how you would like it to be corrected.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2024, 05:27
Hi there,
Partial TP is not available on cTrader for Mac at the moment. It will be added in a future release.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 12:44
RE: RE: Order Cancel/Replace doesn't trigger expected response
gbuella said:
PanagiotisCharalampous said:
Hi there,
In order to identify to which request the response is related to, you need to use tag 11. Tag 41 is about identifying the order to be amended.
I see OrigClOrdID and the ClOrdID fields being echoed by CSERVER
I don't see where is OrigClOrdID sent back to you and it should not. I only see ClOrdID. OrigClOrdID should have been sent to you when the order was executed.
Best regards,
Panagiotis
Another log of what actually happens, I just tweaked my code to use specific strings as ids:
-> 8=FIX.4.4|9=184|35=D|34=5|49=demo.icmarkets.9045572|56=cServer|57=TRADE|52=20240513-07:25:05.854|11=this_is_the_original_order_id|55=1|54=2|60=20240513-07:25:05.854|38=1000|40=2|44=1.09|494=bot_order|10=177|<- 8=FIX.4.4|9=241|35=8|34=5|49=cServer|50=TRADE|52=20240513-07:25:05.931|56=demo.icmarkets.9045572|11=this_is_the_original_order_id|14=0|37=703287877|38=1000|39=0|40=2|44=1.09|54=2|55=1|59=1|60=20240513-07:25:05.928|150=0|151=1000|494=bot_order|721=425982100|10=234|-> 8=FIX.4.4|9=168|35=G|34=5|49=demo.icmarkets.9045572|56=cServer|57=TRADE|52=20240513-07:26:11.712|41=this_is_the_original_order_id|11=this_is_the_request_id|37=703287877|38=1000|44=1.2|10=204|<- 8=FIX.4.4|9=240|35=8|34=5|49=cServer|50=TRADE|52=20240513-07:26:11.802|56=demo.icmarkets.9045572|11=this_is_the_original_order_id|14=0|37=703287877|38=1000|39=0|40=2|44=1.2|54=2|55=1|59=1|60=20240513-07:26:11.792|150=5|151=1000|494=bot_order|721=425982100|10=175|
You can see I place an order, modify it, but the string
this_is_the_request_id
is only present in my modify request, the response doesn't contain that string.Maybe/Probably I still misunderstand something, I would be happy if you let me know what is this about, thank you very much!
Hi again,
It looks like a bug, we will check
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 10:27
Hi there,
Calculate() method is called once per bar for historical bars and once per tick for live bars. The part below will behave differently when the method is called once per bar, compared to once per tick
if ((Bars.ClosePrices[index] > DLagEMAs[index] && Bars.ClosePrices[index - 1] < DLagEMAs[index - 1]) ||
(Bars.ClosePrices[index] < DLagEMAs[index] && Bars.ClosePrices[index - 1] > DLagEMAs[index - 1]))
{
barsSinceEvent = 0;
}
else
{
barsSinceEvent++;
}
You need to rethink your logic and make sure this part is called only once for each bar.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 10:16
Hi there,
You should ask the developers about this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:23
Hi there,
Can you please provide some more information about your problem?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:22
RE: RE: RE: RE: RE: RE: Connecting C-trader desktop to mongodb
said.moridi said:
Hi,
Thanks. I did that and keep getting 2 errors
Hi there,
The messages are self explanatory. You are missing some namespaces from your projects. You would need to find the relevant libraries and reference them.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:20
Hi there,
Can you be more specific? What are you trying to install? Can you share some screenshots of the error message?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:18
Hi there,
There is no explicit list regarding this but most methods are not thread safe. Read below
https://help.ctrader.com/ctrader-automate/thread-safety/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:14
RE: ERROR CODE - CT0003 assembly must contain single algo type
Maxlondoner said:
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
Hi there,
Can you record a video with the steps you are taking, demonstrating this behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:12
Hi there,
It looks like a logical bug in your code. Share your indicator code in case somebody can have a look and spot it.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:10
Hi there,
Try this one.
https://ctrader.com/algos/indicators/show/2851
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:08
Hi there,
There is no built in feature at the moment. You would need to develop a cBot to achieve this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:07
RE: RE: RE: RE: Backtesting tab missing
olivetree said:
PanagiotisCharalampous said:
deepnet44 said:
PanagiotisCharalampous said:
Hi there,
Backtesting is not available at the moment. It will be added in an upcoming update.
Best regards,
Panagiotis
Sounds good. What‘s the timing for the update?
We do not have an ETA at the momentHow do we install the most recent version of CTrader for MAC (M2)?
cTrader applications are updated automatically. So just install and it will be updated by itself.
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 06:05
RE: RE: does cBot run independently? where we add Account Information?
appacc4dl said:
PanagiotisCharalampous said:
Hi there,
- The cBot runs on the account currently connected to your cTrader.
- If you want to run your cBot independently you can use cTrader CLI
- If you run it through cTrader Desktop, yes. If you run it through cTrader CLI, then no.
Best regards,
Panagiotis
Thank you , in cTrader CLI can i have all of features ? those that we need to make a trading bot or any other options that are in ctrader chart?
Hi there,
All options required for trading should be available in cTrader CLI.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 May 2024, 05:58
Hi emmasystems,
You have posted this question several time with the same way, even though we requested clarifications. What is the problem with the current boolean parameters?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2024, 05:41
RE: RE: Help: indicator plots different on historical data and in backtesting!
DR.SHADI_JARRAR said:
You can use a parameter that registers at which index the last addition was made and not call that part of the code until the index changes.
@PanagiotisCharalampous