
Topics
Replies
PanagiotisCharalampous
15 Jul 2024, 05:45
RE: RE: how to extend trendline to right?
tuuguu177 said:
PanagiotisCharalampous said:
Hi there,
I added the indicator on a chart but I see no error. Can you please explain what error do you get and how we can reproduce it?
Best regards,
Panagiotis
are you there?
You did not answer my question therefore I am not able to help you further at the moment.
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:58
Hi there,
I added the indicator on a chart but I see no error. Can you please explain what error do you get and how we can reproduce it?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:47
RE: Issue with repeated backtests
scherli said:
I have an issue when backtesting my bots on windows desktop version. If I perform a backtest, then change a bot parameter, it will not restart. I have to push the “pause” or “stop” buttons to make it restart. This happens since the update to 5.0.x.
Hi there,
Can you please record a video demonstrating exactly what you are doing?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:45
RE: Exception #12A4D9E9 in Trader 5.0.1.0 - c-Trader
HenryYa said:
It shows me that message after updating Ctrader and it doesn't let me operate with the Magic Keys app, The .algo indicator cannot run normally
Hi there,
This post is about the Windows application, not the Mac one.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:43
Hi there,
Probably it's just a wrong setting. Spotware demo accounts are offered for demonstration and experimentation therefore it can happen that some settings are not realistic.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:41
Hi there,
It seems that your cBot does some license verification, which probably needs network access. Network access in not provided to cBots running on the cloud.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:37
Hi there,
Please share the code of the indicators that are not working so that we can check.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:36
Hi there,
Can you share the code or a link where we can find this tool?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:35
Hi there,
It will be fixed in the next update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:33
RE: RE: How to calculate Volume/ Lot Size exactly
GonzaloBlanco said:
PanagiotisCharalampous said:
Hi there,
Here you go
private double GetVolume(double sl) { var maxAmountRisked = Account.Equity * (RiskPerTrade / 100); return Symbol.NormalizeVolumeInUnits(maxAmountRisked / (((sl + CommissionCostInPips()) * Symbol.PipValue)), RoundingMode.Down); } private double CommissionCostInPips() { if (!UseCommissions) return 0; // We get the symbol conditions switch (Symbol.CommissionType) { case SymbolCommissionType.QuoteCurrencyPerOneLot: { return (Symbol.Commission * 2 / Symbol.Bid) / Symbol.PipSize; } case SymbolCommissionType.PercentageOfTradingVolume: { return (Symbol.Commission * 100) * 2 / Symbol.PipSize; } case SymbolCommissionType.UsdPerMillionUsdVolume: { return AssetConverter.Convert(Symbol.Commission * 2, "USD", Symbol.QuoteAsset) / 1000000 / Symbol.PipSize; } case SymbolCommissionType.UsdPerOneLot: { return AssetConverter.Convert(Symbol.Commission * 2, "USD", Symbol.QuoteAsset) / Symbol.LotSize / Symbol.PipSize; } default: return 0; } }
But note that the risk will never be exact due to the fact that the volume needs to be rounded to the closest valid value
Best regards,
Ok, thanks, I am going to backtest
Did you read my response carefully?
@PanagiotisCharalampous
PanagiotisCharalampous
14 Jul 2024, 06:32
RE: RE: optimizing tick charts?
jcr1818 said:
PanagiotisCharalampous said:
Hi there,
Support for tick based candles will be added in a future release of the application.
Best regards,
Panagiotis
Ok sounds good. Do you have any idea when that will be? Weeks, months etc?
Unfortunately we do not have an estimate at the moment.
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 12:36
Hi there,
Here you go
private double GetVolume(double sl)
{
var maxAmountRisked = Account.Equity * (RiskPerTrade / 100);
return Symbol.NormalizeVolumeInUnits(maxAmountRisked / (((sl + CommissionCostInPips()) * Symbol.PipValue)), RoundingMode.Down);
}
private double CommissionCostInPips()
{
if (!UseCommissions)
return 0;
// We get the symbol conditions
switch (Symbol.CommissionType)
{
case SymbolCommissionType.QuoteCurrencyPerOneLot:
{
return (Symbol.Commission * 2 / Symbol.Bid) / Symbol.PipSize;
}
case SymbolCommissionType.PercentageOfTradingVolume:
{
return (Symbol.Commission * 100) * 2 / Symbol.PipSize;
}
case SymbolCommissionType.UsdPerMillionUsdVolume:
{
return AssetConverter.Convert(Symbol.Commission * 2, "USD", Symbol.QuoteAsset) / 1000000 / Symbol.PipSize;
}
case SymbolCommissionType.UsdPerOneLot:
{
return AssetConverter.Convert(Symbol.Commission * 2, "USD", Symbol.QuoteAsset) / Symbol.LotSize / Symbol.PipSize;
}
default: return 0;
}
}
But note that the risk will never be exact due to the fact that the volume needs to be rounded to the closest valid value
Best regards,
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 12:28
Hi there,
cTrader Mac was first releases as an MVP and more functions will be added gradually.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 09:39
Hi there,
Support for tick based candles will be added in a future release of the application.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 09:33
Hi there,
Historical data is offered by brokers. You need to find a broker that offers data for this period.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 07:45
RE: RE: RE: RE: calgo TIME ZONE IN THE CLOUD
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
I'd also like to hear from Spotware some clarifications on this.
We have clarified several times how this works. What further clarifications do you need?
Best regards,
Panagiotis
Hi Panagiotis,
I don't think I've been involved in such discussions.
Could you please share these? I'd be glad to look into them.
Nevertheless, this is not only about explain how it works.
The main question here is what considerations might have led to the current design choice, which doesn't really seem to be logical/ intuitive at all.
In short: Traders should feel confident about any time references that are made available, both in the platforms and text files.
Hi ncel01,
The main question here is what considerations might have led to the current design choice, which doesn't really seem to be logical/ intuitive at all.
cBots work on UTC time unless explicitly requested otherwise by the programmer. This design choice has been made 13 years ago. Spotware in 2011 and Spotware in 2024 is not the same thing. So we cannot know the exact reasoning, neither we can defend it as the best. Most probably the reason was that the cBots should work as similar as possible to MT4 EAs, since back then the main target was EA developers to jump to cTrader. So I guess the main design consideration was to minimize the learning curve. Apart from that, the fact is that at the moment there are thousands of cBots running under the default UTC assumption and changing the logic would break their execution rules. Changing the current logic while keeping backwards compatibility would be a very complicated task. Hence the possibility of changing this is because 3-4 users asked for it, is almost non existent.
Best regards,Panagiotis
Panagiotis,
I don't think you have addressed any of my concerns.cBots work on UTC time unless explicitly requested otherwise by the programmer.
I have nothing against this, nor I am putting this into question.
For execution purposes, the cBots should work on the time zone as specified in the code (UTC+0 if not defined), that will be used as Server.Time. That's clear.
However, what I am/was discussing has no impact over the cBot execution, since it has nothing to do with it. See below.What does not make sense to me:
- Timestamps shown in the UI, do not seem to match the time defined by the user. It seems to me obvious that these should always match.
- Text files (Log & Journal): time shown in logs is not consistent with the time mentioned for the jornal. Timestamps should remain consistent across all the .txt files that are automatically generated by cTrader.
On top of this, a static reference for the time should always be used (whether this is defined by the cBot code TimeZone, or, always taken as UTC+0). Given that a .txt file will remain static and will not change when modifying the current time in the app settings, its time reference should also remain static for the sake of consistency.I've explicitly mentioned these points in my first reply to this thread.
There are many complicated reasons that led to this implementation for which the explanation is beyond the scope of this work and my scope of work. As explained in another thread, I explain how cTrader works and not why it works the way it works. Nevertheless I will forward your point of view to the product team for consideration.
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 07:31
Dear traders,
Please find below the release notes for cTrader Desktop 5.0.28
- The following features have been added
- Client-side validation and handling for algorithm synchronization exclusions
- The following issues were addressed
- Wrong Account.BrokerName and Account.Number for a bot with cloud instance
- Style set BorderThickness, BorderColor and TextAlignment not working for TextBox
- Upload image error on public settings
- Multiple "Version Conflict" dialogs on cTID with many invalid Cloud algorithms
- cTrader crashing without any error message
- cTrader freezing when running multiple cBot instances
- Outdated parameters on started cloud instance after restart the app
- Last date for Backtesting/Optimization not updating after new day appearing
- Sorting in Tradewatch not working on the fly
- Symbol and Timeframe not being loaded from cbotset file
- The following reported exceptions have been fixed
- #769B8808
- #FD9CFA27
- #FB7EB63E
- #3BD4A0B7
- Several minor improvements and optimizations.
Best regards,
cTrader Team
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 07:23
RE: RE: RE: RE: RE: RE: Error Exception #3B086C2C in cTrader 4.8.904.0
ajaycc3 said:
PanagiotisCharalampous said:
ajaycc3 said:
Hi Panagiotis,
When is the next release? As this works fine for windows? Just issues with mac.
PanagiotisCharalampous said:
ajaycc3 said:
Hi Panagiotis,
Any update on this?
PanagiotisCharalampous said:
Hi there,
Can you please share with us the source code of the cBot?
Best regards,
Panagiotis
Hi there,
We will fix it in an upcoming release.
Best regards,
Panagiotis
We do not have a date for it unfortunately.
Hi there,
Wanted to know if this has been fixed yet on mac as its been quite awhile now?
Thanks
Hi,
A new update was released the previous days. Do you still experience this problem?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jul 2024, 07:22
Hi there,
You should talk to Funding Pips for execution issues with their accounts.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 Jul 2024, 05:50
Dear trader,
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