Topics
Replies
PanagiotisCharalampous
03 Jan 2025, 14:43
Hi there,
I was not able to reproduce the problem. Values look correct on my side. Which version are you using? Can you share a full screenshot of the UI in case there is some information we are missing?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 14:37
Hi all,
You just need to use the new parameter called protectionType and set explicitly what the protection type is.
public TradeResult PlaceStopOrder(TradeType tradeType, string symbolName, double volume, double targetPrice, string label, double? stopLoss, double? takeProfit, ProtectionType? protectionType)
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 14:23
Hi there,
Can you record a video demonstrating this behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 14:20
Hi there,
There is no such information at the moment since there is no way to aggregate positions from both sides. You would need to develop your own functionality to see such information.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 14:16
RE: RE: RE: Optimization
GauchoHood said:
GauchoHood said:
PanagiotisCharalampous said:
Hi there,
There is no such option unfortunately.
Best regards,
Panagiotis
Thank you Panagiotis.
Any Ideas to manage optimization generating huge folders? Is there a chance to Install it in a secondary disc?
Hi there,
Unfortunately I do not have a magic solution other than reducing passes, log size and increasing your disk's size. Does your cBot print a lot of information? If yes, start by minimizing what is written in the logs.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:27
RE: Price alerts cause account disconnection
ctid4921325 said:
just an update, sorry, I'd forgotten I'd reported this over here:
> https://community.ctrader.com/forum/ctrader-support/45382/
It's reported as being fixed on the thread above, but, my ctrader is up to date, and its still occurring.
Hi there,
This problem should have been resolved by now. Please send us some troubleshooting information quoting this thread.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:24
RE: RE: backtest data missing - only even ID numbers visible
vince.stans said:
PanagiotisCharalampous said:
Hi there,
You should be able to choose which columns you can see by right clicking in the grid's header.
Best regards,
Panagiotis
Hi Panagiotis,
The issue is related to the ID numbers. It is only showing even-number IDs. 2 - 4 - 6 - 8 - 10 etc. It is not showing ID 1 - 3 - 5 - 7 - 9.
Just did a quick check. All trades are visible in the data. It is just the ID number that is not matching. Can this be corrected?
Hi Vince,
Thank you. It seems this is a bug. It will be corrected in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:23
Hi there,
Can you share the source code and a video demonstrating the described behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:17
RE: RE: Visual Studio wont open
zytotoxiziteat said:
PanagiotisCharalampous said:
Hi there,
You need to check which application is the default application for opening .sln files. cTrader does not support .Net 9.0 at the moment.
Best regards,
Panagiotis
Great!
How can I do that?
Hi there,
Check the link below
https://support.microsoft.com/en-us/windows/change-default-apps-in-windows-e5d82cad-17d1-c53b-3505-f10a32e1894d
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:16
Hi there,
Your question is not very clear. Can you please elaborate so that we can understand what you are looking for?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:14
RE: RE: RE: Custom indicators not appearing under reference manager
masedir said:
masedir said:
PanagiotisCharalampous said:
Hi there,
Do your custom indicators have source code?
Best regards,
Panagiotis
No, I don't have source codes. I downloaded one of them (Nonlag Schaff Trend Cycle) from clickalgo.com; The other ones I downloaded from different sites on the web.
The two indicators that I have provided source code for can be referenced after compiling them, however the NRTRChannel gives an error below when referencing it:
Error MSB4006: There is a circular dependency in the target dependency graph involving target "_GenerateRestoreProjectPathWalk". (/usr/local/share/dotnet/sdk/8.0.303/NuGet.targets, line: 1196, column: 5)
As for the other indicators that I don't have source code for, I'm still having no luck.
Thank you, only indicators with source code can be referenced to other projects.
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:12
( Updated at: 03 Jan 2025, 08:13 )
RE: RE: RE: RE: Symbol.MarketHours not working in backtest
stefan1 said:
PanagiotisCharalampous said:
stefan1 said:
algobeginner said:
How about use your own historical data to emulate this factor ?
Hello and thanks for your reply. Unfortunately I don't have data other than those provided by the Ctrader charts. In case I manage to get other data, could you please explain what you mean by “emulate this factor”? Furthermore, do you know if Spotware has plans to fix this issue? Could someone from Spotware please comment here?
Thanks and best regards, Stefan
Hi there,
This is not supported at the moment and will not be supported in the future as historical data regarding market hours are not available.
Best regards,
Panagiotis
Hello Panagiotis,
Thanks for your reply. I now understand that the problem is within the historical data. But what is the workaround then? Obviously everyone wants to make a reliable backtest, before running the Cbot on a live account. Are there any code examples how to solve this?
Thanks and best regards, Stefan
If you do not have the historical information, then there is no reliable workaround. You can only assume that the past market hours were the same to the current ones.
Best regards,
Panagiotis,
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 08:08
Hi there,
This example uses the built in Linear Regression Forecast which is based on a formula.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:38
Hi there,
It seems you are trying to backtest a cloud instance of the cBot. You need to add a local instance instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:34
Hi there,
The help site has not been updated yet. It will be updated soon.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:27
Hi there,
There is no such option unfortunately.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:15
RE: RE: FIX Session Default Password
ctid7344546 said:
PanagiotisCharalampous said:
Hi there,
Unfortunately this is not possible.
Best regards,
Panagiotis
Hi Panagiotis,
Thanks for your response I appreciate it.
Just to confirm, if we can't the get the initial password, there is also no endpoint to change the password ourselves either?
Kind Regards.
Yes that is correct.
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:15
RE: RE: FIX Session Default Password
ctid7344546 said:
PanagiotisCharalampous said:
Hi there,
Unfortunately this is not possible.
Best regards,
Panagiotis
Hi Panagiotis,
Thanks for your response I appreciate it.
Just to confirm, if we can't the get the initial password, there is also no endpoint to change the password ourselves either?
Kind Regards.
Yes that is correct.
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2024, 08:14
Hi there,
You need to check which application is the default application for opening .sln files. cTrader does not support .Net 9.0 at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2025, 15:06
RE: RE: Example of new ModifyPosition(...)?
dudavianna said:
No it should not cause any changes to the method's behavior
@PanagiotisCharalampous