Topics
Replies
PanagiotisCharalampous
06 Nov 2023, 06:58
Hi there,
It has been removed.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2023, 06:32
( Updated at: 06 Nov 2023, 06:29 )
Hi there,
If you want to create a live cTrader account, you need to contact a broker that offers cTrader. You can find some here.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2023, 06:31
Hi there,
There is no specific guide for this so it is better to rephrase your request to specific questions so that we can answer them.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2023, 13:25
Hi there,
Can you provide an example?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2023, 13:18
Hi there,
Please let us know where and how you get this error so that we can reproduce it.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2023, 06:25
( Updated at: 03 Nov 2023, 06:26 )
RE: [Instruction] Telegram notifications
gnsmaciej said:
what could be blocking the sending of push alerts to telegram from cTrader, I have already added cTrader to the windows firewall, except that I have an old windows 8.1 any ideas what else to check maybe I need to install some add-on to Windows?
Hi there,
Does your cBot have full access? You can use the tool below to check if there is any issue with your system. If the tool sends telegram messages, then the issue is somewhere in your code
https://clickalgo.com/telegram-setup-test
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2023, 06:22
( Updated at: 03 Nov 2023, 06:26 )
RE: RE: How to write GetFitness
Hansen said:
PanagiotisCharalampous said:
Hi there,
You won't get the same results if the fitness function is different
Hi Buddy,
You responese make me look like a fool.
So do you know the algo of fitness function?
Where is the doc?
Can you get the same results as config of ui interface?
I do know how to write fitness function, but accurate algo is not clear… what a pity.
Here is the documentation of the fitness function algorithm
https://help.ctrader.com/ctrader-automate/backtesting-and-optimizing-cbots/#multi-criteria-calculations
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 12:12
( Updated at: 02 Nov 2023, 12:13 )
RE: RE: Error CS0103: The name 'Properties' does not exist in the current context
AlexFrei said:
PanagiotisCharalampous said:
Hi prlozc,
I think the message is clear, you use an object called Properties that is not defined anywhere.
Best Regards,
Panagiotis
Yes, but this code is from your sample and documentation: https://help.ctrader.com/ctrader-automate/references/Controls/Image/
I have the same problem.
How to resolve it please ?
The code is calling a file from the projects resources. You need to add resources to your project. Read more below
https://learn.microsoft.com/en-us/dotnet/core/extensions/create-resource-files
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 08:05
( Updated at: 21 Dec 2023, 09:23 )
RE: RE: RE: RE: Repeated Disconnections
eynt said:
Hello
- For example, is there a way to configure that the amount of seconds which requires for the OnServerDisconnected to be triggered. Another example - controls the way cTrader bot behaves after a disconnection/reconnection such as no change of behaivor, complete stop of the bot, things of that sort.
- What do you mean by the proxy I am using, where can I find this information?
Hi eynt,
- No it is not possible
- Click on ms field on the bottom right corner
Best regards,
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 07:19
Hi there,
We have checked the ROI calculations several times and they are correct. Almost always the issue is that strategy providers do not understand how ROI is calculated. I cannot launch investigations every time somebody does not understand the calculation. I will proceed with investigating further only if you can provide solid evidence that the ROI is wrong e.g. a spreadsheet with the correct calculation that shows that the results are different. If you can provide such a spreadsheet, please send it to me at community@spotware.com
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 07:10
Hi there,
This means that the volume you are using is not valid for the traded symbol e.g. you cannot trade 500 units on EURUSD. Usually the minimum is 1000.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 07:07
RE: RE: Repeated Disconnections
eynt said:
Thank you for your reply
I am still invastigating this issue. I have 2 questions:
- Is there away to control the OnServerDisconnected timeout or any other variables which are related to a connection/disconnection issue? Either by code, GUI or CLI
- Is seems that some disconnections (but not all) happenes at the same time on several computers. Those disconnections happened only on Pepperstone and not IC Markets. This suggests its a broker related issue and not a local one. Is there a known disconnection issue with Pepperstone?
Hi eynt
- I am not sure what do you mean, can you elaborate?
- There is no known disconnection issue at the moment. If it happens again, please post the exact time and proxy you are using and I will investigate further.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 07:04
Hi there,
There are several reasons this can happen. Here is a list of them
- The entry and exit prices of your positions differ to those of the Strategy Provider.
- The size of your positions differ to those of the Strategy Provider.
- The commissions you pay to your broker differ to those of the Strategy Provider.
- Your broker does not offer the same symbols which are being traded in the strategy.
- You did not have enough margin to follow some of the orders placed in the strategy.
- You may have a different Stop-Out Level causing your account to be stopped out, while the Strategy Provider continues to trade.
To determine which one applies to your case, you need to compare your trades one to one and see what are the differences.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 07:01
Hi there,
Please address this question to your broker.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 06:59
Hi there,
After further investigation, this is a known bug and it will be fixed in an upcoming update
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2023, 06:53
RE: RE: HOW TO DISPLAY A VALUE ON CHART
sarvann24 said:
PanagiotisCharalampous said:
Here is an example
protected override void OnTick() { var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6); Chart.DrawText("Diff", DIFF.ToString(), Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red); if (rsi.Result.LastValue < 30) { Close(TradeType.Sell); Open(TradeType.Buy); } else if (rsi.Result.LastValue > 70) { Close(TradeType.Buy); Open(TradeType.Sell); } }
HI Panagiotis,
can the displayed text be moved to top left?
Here you go
protected override void OnTick()
{
var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
Chart.DrawStaticText("Diff", DIFF.ToString(), VerticalAlignment.Top, HorizontalAlignment.Left, Color.Red);
if (rsi.Result.LastValue < 30)
{
Close(TradeType.Sell);
Open(TradeType.Buy);
}
else if (rsi.Result.LastValue > 70)
{
Close(TradeType.Buy);
Open(TradeType.Sell);
}
}
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2023, 10:37
Hi there,
You won't get the same results if the fitness function is different
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2023, 10:35
Here is an example
protected override void OnTick()
{
var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
Chart.DrawText("Diff", DIFF.ToString(), Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);
if (rsi.Result.LastValue < 30)
{
Close(TradeType.Sell);
Open(TradeType.Buy);
}
else if (rsi.Result.LastValue > 70)
{
Close(TradeType.Buy);
Open(TradeType.Sell);
}
}
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2023, 10:35
Here is an example
protected override void OnTick()
{
var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
Chart.DrawText("Diff", DIFF.ToString(), Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);
if (rsi.Result.LastValue < 30)
{
Close(TradeType.Sell);
Open(TradeType.Buy);
}
else if (rsi.Result.LastValue > 70)
{
Close(TradeType.Buy);
Open(TradeType.Sell);
}
}
@PanagiotisCharalampous
PanagiotisCharalampous
06 Nov 2023, 07:00
Hi there,
Try installing it instead of copying it. Just double click on the .algo file.
Best regards,
Panagiotis
@PanagiotisCharalampous