Topics
Replies
PanagiotisCharalampous
31 Jul 2024, 06:11
Hi there,
It's hard to tell without specific information. Can you share the cBot, parameters, broker and the live execution log? There might me some clues there.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2024, 06:03
Hi there,
Can you please advise which version of cTrader you use?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2024, 05:53
Hi there,
You can hide it by pressing Shift+W
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2024, 05:52
Hi there,
Unfortunately it is not clear to me what is the issue you are trying to report. Can you rephrase?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2024, 05:47
RE: RE: Default timeframe set even for Custom Indicators?
tbbusinge said:
PanagiotisCharalampous said:
Hi there,
It's a known issue and it will be fixed in an upcoming update.
Best regards,
Panagiotis
Okay thanks for the feedback.
What is your best guess on when this will be done?
Also, is there any work around you recommend, because this project is required in the next few weeks?
Unfortunately we do not have an ETA or a workaround at the moment
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 12:25
Hi there,
It's a known issue and it will be fixed in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 12:15
Hi there,
Unfortunately we cannot reproduce this issue. 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
30 Jul 2024, 12:13
RE: RE: Issue with Code Building under Visual Studio since lastest version of cTrader 4.8.30 (Instance issue)
protraderde said:
Hi,
I am having the same issue with 4.9.1 version. I know you released 5.0 (20). I did not test the situation in 5.0.Is there workaround at least for the moment? I am asking because it is more comfortable to code in Visual Studio 2022
All the best
PanagiotisCharalampous said:
Hi there,
The team is aware of this issue and will be fixed in the next release of cTrader Desktop.
Best regards,
Panagiotis
Unfortunately we do not have a workaround. You would need to use the latest version.
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 11:44
Hi there,
We will fix the issue soon. In the meanwhile, a workaround is to rename the file while editing the already published algorithm to ensure that source code will be updated.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 05:54
Hi there,
You can read about synchronization in the link below
https://help.ctrader.com/ctrader-algo/synchronisation/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 05:52
Hi there,
Just change the framework to .Net 6.0 and build it again
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 05:50
Hi there,
You cannot retrieve historical deals using FIX API. You need to use Open API instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2024, 05:50
Hi there,
Did you try it yourself? Does it not work? What do yo expect it to do?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 10:22
Hi there,
This happens because you check the values of the current candle that has not closed yet. Try shifting your checks to index - 1 and index - 2.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 10:20
RE: RE: Indicators and Opening Position
acar.deniz said:
PanagiotisCharalampous said:
Hi there,
- All indicators should work on Mac. Please provide us some examples so that we can check. If you can also share screenshots demonstrating what you are looking at, it would be helpful.
- There isn't. You need to have the sufficient margin in order to open a position. You can try depositing some more funds to your demo account.
Best regards,
Panagiotis
Thank you for response. I can´t almost run any Indicator. You can see the problems here in Screnshot.
I was not very accurate in my response. cTrader for Mac should run any .Net 6.0 indicators :) . Legacy indicators are not supported, they need to be upgraded to .Net 6.0
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 06:50
Hi there,
Brokers can setup their own market hours.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 05:49
( Updated at: 29 Jul 2024, 05:50 )
RE: RE: RE: RE: RE: Buy and Sell
ctid8204413 said:
Obviously parameters have to be set, but the tactical layout of having a separate (green only) button way down the page - is inept and wrong…. Like imagine a car where to use the accelerator you have to look down and take your eye off the road……
The stops and margins are indentical for long or short so your point is mute….. and even then clicking the bid or ask box or a button right under it….. if you want to be pedantic…… would be much better than this disconnected mess.
25 years ago on FXCM the layout was better…… but hey….. the new generation is always so arogant to assume that they know best….. and expert at finding excuses and faulty logic to prove their point.
Hi there,
This has been working like this for the last 13 years, since cTrader was launched. For the last almost 8 years I have been working at Spotware, it's the first time I receive such a complaint. In addition after 67 views, your suggestion has received 0 votes. This is not called arrogance, it's called science and consensus.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 05:33
RE: RE: RE: RE: RE: RE: Cache data not available or corrupted
Dharaksa.pokpong said:
PanagiotisCharalampous said:
Dharaksa.pokpong said:
PanagiotisCharalampous said:
Dharaksa.pokpong said:
PanagiotisCharalampous said:
Hi there,
Which version of cTrader do you use?
Best regards,
Panagiotis
Hi Panagiotis
it's the latest version so 5.0.28
Best,
Dha
Hi Dha,
Thank you. 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
Hi Panagiotis,
First of all, thank you for your attention. I have already submitted the form with a link to this forum. However, I saw that there is a link to download a older version of ctrader, thus, I downloaded yet it says this broker has been suspended. Is there any way for me to use the older version for now?
Best,
Dha
Hi Dha,
No you cannot use an older version of cTrader at the moment.
Best regards,
Panagiotis
Hi Panagiotis,
Any updates from the troubleshooting team ?
Best,
Dha
Hi Dha,
The issue is under investigation.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jul 2024, 05:27
RE: RE: Problem BOT does not open operation in backtest
emafondex69 said:
Check your logs, your problem is with the volume. You need to round your volume before you use it
PanagiotisCharalampous thank you so much but also if I've corrected the volume, settin a fixed value (1.2 Lots), it doesn't work, can you correct it for me?
Here are the main charateristics
- open long and short at 22.00 UTC+2 (Rome)
- 9 pip stop
- 0.5 pip tp
- 1.2 lots (volume)
here there is my new code, I've tryed my best because I don't know how to program sir, thank you early, have a nice working day.
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System;
using System.Collections.Generic;
using System.Linq;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class TimeBasedOrder : Robot
{
private DateTime targetTime;
private bool orderPlaced = false;
[Parameter("Volume (Lots)", DefaultValue = 1.2)]
public double Volume { get; set; }
[Parameter("Stop Loss (Pips)", DefaultValue = 9)]
public int StopLoss { get; set; }
[Parameter("Take Profit (Pips)", DefaultValue = 0.5)]
public double TakeProfit { get; set; }
protected override void OnStart()
{
// Set the target time to 22:00 UTC
targetTime = Server.Time.Date.AddHours(22);
if (Server.Time > targetTime)
targetTime = targetTime.AddDays(1);
Print("Script started. Order will be placed at {0}", targetTime);
}
protected override void OnTick()
{
if (!orderPlaced && Server.Time >= targetTime)
{
PlaceOrder();
orderPlaced = true;
// Set the target time to 22:00 UTC the next day
targetTime = targetTime.AddDays(1);
}
}
private void PlaceOrder()
{
var stopLossInPips = StopLoss;
var takeProfitInPips = TakeProfit;
var stopLossPrice = Symbol.Ask + stopLossInPips * Symbol.PipSize;
var takeProfitPrice = Symbol.Ask + takeProfitInPips * Symbol.PipSize;
var result = ExecuteMarketOrder(TradeType.Buy, SymbolName, Volume, "TimeBasedOrder", stopLossInPips, takeProfitInPips);
if (result.IsSuccessful)
Print("Order placed successfully at {0}", Server.Time);
else
Print("Order placement failed: {0}", result.Error);
}
}
}
this was the photo that you sent to me, now i'll send you the new messages logs…
The volume is set in units, not in Lots. Use Symbol.QuantityToVolume to do the conversion between lots and volume.
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2024, 06:13
Hi there,
Can you please explain what we are looking at?
Best regards,
Panagiotis
@PanagiotisCharalampous