Topics
Replies
PanagiotisCharalampous
05 Dec 2024, 08:12
Hi martins,
Any chance you can provide a simpler code (the minimum required to reproduce the issue)? I have a hard time navigating through all of this code and understand the problem.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 08:10
RE: RE: Incorrect TickValue for all ZAR instruments
alexei.kuntysh said:
Hi Panagiotis,
Hm, indeed on your side it is correct… My account is in USD, it is a usual Pepperstone demo account. Is it possible that “TickValue” value is filled in in the database by the broker and not by Spotware? Here is the full screenshot from my side:
Hi Alexey,
Since it is a demo account, can you share access with me? Also share the full cBot code. I will try to reproduce this using your account.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 07:23
RE: RE: play button freezes on my backtesting tab
RazorTrading said:
PanagiotisCharalampous said:
Hi all,
This problem should have been resolved by now. Please restart your cTrader and in case you still experience problems, please send us some troubleshooting information quoting this thread.
Best regards,
Panagiotis
Today I left my PC optimizing a bot, came back after 3h and the system was totally unresponsive. I had to kill cTrader from the task manager, it happened twice already, I don't seem to be able to complete a full optimization round.
Anything info I can gather? I am on cTrader 5.0.46.
Thanks
Hi there,
Please create a separate thread, describe the issue in detail and send us some troubleshooting information so that we can investigate further.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 07:12
Hi there,
The SecurityListRequest returns the symbols offered by the specific broker. The number seems reasonable to me. How many entries do you expect to be returned?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 07:06
Hi there,
Unfortunately this issue in not very clear to me. Can you please explain to us how we can reproduce what you are looking at?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 06:58
Hi there,
You can find the Open API endpoints in the link below
https://help.ctrader.com/open-api/proxies-endpoints/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 06:56
RE: RE: RE: RE: Different timeframes of the same day did not match the Low
ftii said:
PanagiotisCharalampous said:
ftii said:
PanagiotisCharalampous said:
Hi there,
You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Best regards,
Panagiotis
Version - not very good! Directly below it (h4 candle) it says November 26th. And the day ends with h4 candle 22:00. And my mark at 18:00 is the mark from the D1 candle, made on the low day candle on November 26! Those. there are no other lows, and on the h4 chart there should be a low NOT LOWER than the low from the D1 timeframe, because it shows the LOWEST point reached by the price. But as we see, THIS IS NOT SO!
Or do you want to say that the daily candle should show the low of the LAST candle within the day, even if there were lower lows during the day?!?!??Hi there,
The daily candle bars start at 00:00 UTC+2. It's a convention. Your chart us set to UTC-4. So your D1 candles start at 18:00. The charts have no problem, you just need to understand what they are showing.
Best regards,
Panagiotis
Where can I see this agreement? What's the point of setting a different time zone in the settings - if the daily candles will be displayed not according to it, but to some other zone?!
I don't understand what do you mean with agreement. I have explained how it works and how it is used by millions of users. You just need to understand how it works.
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 06:51
RE: Help Connecting C-trader to FXblue
michael-duque said:
Hi Mate,
I know you posted this some time ago. I'm wondering if you got it working?
I'm trying to connect my ctrader account to FXblue and I'm having similar issues to what you did.
When I click Authorise I get 5 error messages with regard to ‘error occurred on the script’. I click yes all the way through and when I finally click on ‘Allow Access’ it says “Unable to obtain tokens from Ctrader”.
Neither C-trader or FXblue seem to be able to help. Ctrader told me to speak to FXblue and FXblue said they're trying to speak to c-trader but have had no response!
Appreciate any assistance.
Michael
Hi Michael,
FXBlue never contacted us regarding any issues with our API. Only them can solve this unfortunately.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:41
Hi there,
Please make sure you are not connecting through a proxy. If you do, please configure it in your Connection Settings.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:33
Hi all,
It is a known issue and it will be solved in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:33
Hi there,
This can happen if you print a lot of information in the log. These logs are stored and they take up space. Check your code for this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:30
Hi there,
Renko charts are constructed using tick data, you do not need any other timeframe to create them. It's not a feature of TradingView, it's a workaround due to the lack of tick data. They are trying to approximate renko charts using bar data.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:27
RE: RE: Ctrader Copy - Make it Broker independent please
StuFX said:
PanagiotisCharalampous said:
Hi Tamer,
It is the brokers choice if they will offer this service or not hence this is out of our control.
Best Regards,
Panagiotis
Hi Panagiotis
I am having issue that when using copy trading my oil trades (XBR and XTI on IC Markets) are not copied by the account that is copying my trades? both accounts with IC and both have same balance approx 3.2K both accounts also 1:500. Is there a specific reason for this ?
Hi there,
You should check execution issues with your broker first.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:14
Hi there,
This is a known issue and it will be solved soon.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Dec 2024, 06:13
RE: RE: Different timeframes of the same day did not match the Low
ftii said:
PanagiotisCharalampous said:
Hi there,
You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Best regards,
Panagiotis
Version - not very good! Directly below it (h4 candle) it says November 26th. And the day ends with h4 candle 22:00. And my mark at 18:00 is the mark from the D1 candle, made on the low day candle on November 26! Those. there are no other lows, and on the h4 chart there should be a low NOT LOWER than the low from the D1 timeframe, because it shows the LOWEST point reached by the price. But as we see, THIS IS NOT SO!
Or do you want to say that the daily candle should show the low of the LAST candle within the day, even if there were lower lows during the day?!?!??
Hi there,
The daily candle bars start at 00:00 UTC+2. It's a convention. Your chart us set to UTC-4. So your D1 candles start at 18:00. The charts have no problem, you just need to understand what they are showing.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 13:01
RE: RE: the optimization results - are these credible enough?
jcr1818 said:
PanagiotisCharalampous said:
Hi there,
I just tested it and the results are identical
There is probably something wrong in your configuration that we cannot see. Please check a bit more.
Best regards,
Panagiotis
Over the past year, I have done well over 3,000 optimizations, and it’s definitely not always been clear to me what the logic behind the results is, as the optimization and backtest results should match, which they don’t at all. I can’t see where a potential error could be in my configuration. Maybe I can get a more precise hint? We agree that the results should be the same when I import the optimization result into the parameters, right? Once this is done, I click on backtest and, of course, check the data from the optimization and the backtest parameters, including the date. What I can’t see is whether the import of the backtest includes things like wrap and other criteria, but logically, these things should be included when importing the optimization data. I am trying to perform another simple test based on one of your robots from your system.
Hi there,
I can't give another hint since it works fine on my side. Can you record a video with the all steps you take to reproduce this issue? Maybe we are missing something. I am also doing optimizations over the last 8 years and any time I encounter a discrepancy, 99% is some kind of an oversight on my side.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 11:47
Hi there,
You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 10:05
RE: RE: Different timeframes of the same day did not match the Low
ftii said:
PanagiotisCharalampous said:
Hi there,
Can you please explain the issue a bit better? I am not sure what I am looking at.
Best regards,
Panagiotis
I set the lower limit of the day one candle at a time on the D1 timeframe, go to h4 and there is NO SUCH low for this day in the shadows of 4-hour candles. He is 20+ points lower there. The two screenshots show these TWO situations - D1 and h4 with an index line by date.
Can you share better screenshots where we can see the broker, the symbol, the timeframes and the dates?
@PanagiotisCharalampous
PanagiotisCharalampous
03 Dec 2024, 10:03
RE: RE: MACD query - is the calculation correct in cTrader?
markmath01 said:
PanagiotisCharalampous said:
Hi there,
Please share the code you are using to print these values.
Best regards,
Panagiotis
Hi - see code below. Thanks.
protected override void OnStart()
{
_macd = Indicators.MacdCrossOver(SlowMAPeriod, FastMAPeriod, SignalLinePeriod);
Print("MACD-Analysis started with MACD parameters: Fast MA = {0}, Slow MA = {1}, Signal Line = {2}",
FastMAPeriod, SlowMAPeriod, SignalLinePeriod);
}protected override void OnBar()
{
double macdValue = _macd.MACD.LastValue;
//Print("MACD = {0:F7}, Time = {1}, {2}", macdValue, Bars.OpenTimes.LastValue, Bars.OpenTimes.Last(1));
//Print("MACD = {0:F7}", macdValue);
Print("Last MACD = {0:F7}, MACD = {1}, Last(0) = {2}, LastVal = {3}", lastMACD, macdValue, Bars.ClosePrices.Last(0), Bars.ClosePrices.LastValue);
// Check for zero-line crossing
if (lastMACD.HasValue)
{
if ((lastMACD < 0 && macdValue > 0) || (lastMACD > 0 && macdValue < 0))
{
// A zero-line crossing occurred
ProcessWave(macdValue < 0);
}
}lastMACD = macdValue; // Update the last MACD value
//Print("Last MACD = " + lastMACD) ;
}
Hi there,
You are printing the _macd.MACD.LastValue which prints the value of the current at the opening of the bar and then you compare it with the MA values of closed bars. The LastValue can change by the time the bar is closed. You should print _macd.MACD.Last(1) instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Dec 2024, 13:54
RE: Issues with Button ForegroundColor while with ToggleButton all good
tminvest.real said:
Hi there,
It will be fixed in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous