Topics
Replies
PanagiotisCharalampous
12 Jun 2020, 14:13
Hi Takis,
Thanks, we managed to reproduce this behavior and we will fix it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 12:17
Hi bodhisvaha.forex,
The server uses UTC time.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 12:14
Hi firemyst,
Seems to be a common issue on Windows Server. Check here in case it helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 11:57
Hi malas7malas,
This seems to happen with a lot of applications with TeamViewer that are hardware accelerated. Rendering for such apps are switched off when display is disconnected.
You can read more about this here
You can try remote desktop connection to connect to your laptop as an alternative.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 11:02
Hi lordyy,
Can you try downloading the application from here?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 10:59
Hi Luca,
You can add a check and request for a new symbol when this one comes up.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 10:54
Hi adonisreedar203,
Please use Suggestions section for your suggestions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 10:52
Hi Luca,
I tried this but I could not reproduce such an error. If you want to find more about the exception, check here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 09:49
Hi Yuval,
You can use a standard Windows Forms MessageBox or create your own form.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 08:27
Hi RayAdam,
This property cannot be updated via code.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 08:26
Hi lordyy,
Please try a clean installation and let us know if this resolves the problem.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 08:22
Hi Ilia,
I am sorry but I do not understand what do you mean. What is a stock exchange glass and a tape of transactions?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 08:19
Hi tgjobscv,
Your steps are not very clear, Can you please provide more details on this problem? If you can record a video then it would be helpful.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 16:56
Hi Ton,
Quoting below your words
My goal is to not wait until the tick-handling has finished but to force the chart to display the drawn text immediately.
Hope you can help.
and this is what I replied to. I helped you achieve your goal.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 14:46
Hi Ton,
This is by design. If you want to execute lengthy tasks better use another thread. See below
using System;
using cAlgo.API;
using cAlgo.API.Requests;
using cAlgo.API.Internals;
namespace cAlgo
{
[Robot(AccessRights = AccessRights.None)]
public class Test5 : Robot
{
protected override void OnStart()
{
Chart.DrawStaticText("X", "Test", VerticalAlignment.Top, HorizontalAlignment.Center, "FFFFFFFF");
}
bool Done = false;
protected override void OnTick()
{
Print("Tick");
Chart.DrawStaticText("Y", "\n" + Symbol.Bid, VerticalAlignment.Top, HorizontalAlignment.Center, "FFFFFFFF");
if (Done)
return;
Done = true;
var thread = new System.Threading.Thread(RunSomeTask);
thread.Start();
}
private void RunSomeTask()
{
BeginInvokeOnMainThread(() => { Print("Thread started"); });
DateTime Until = DateTime.Now.AddSeconds(10);
while (DateTime.Now < Until)
{
BeginInvokeOnMainThread(() => { Chart.DrawStaticText("Time", DateTime.Now.ToString("HH:mm:ss.fff"), VerticalAlignment.Bottom, HorizontalAlignment.Center, "FFFFFFFF"); });
System.Threading.Thread.Sleep(50);
}
Chart.DrawStaticText("Time", "Task Finished", VerticalAlignment.Bottom, HorizontalAlignment.Center, "FFFFFFFF");
BeginInvokeOnMainThread(() => { Print("Thread finished"); });
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 14:07
Hi genappsforex,
As the message indicates cAlgo.API.ChartStaticText doesn't contain these properties. They are only included in cAlgo.API.ChartText.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 12:58
Hi Luca,
The cBot code is not complete. Please post the complete cBot code.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 12:51
Hi ericsson,
Thanks for reporting this. We are aware of the issue and we will fix it in the next hotfix for 3.8.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
11 Jun 2020, 12:47
( Updated at: 21 Dec 2023, 09:22 )
Hi Alphatrader,
Just drag the time counter to the left
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Jun 2020, 14:40
Hi bodhisvaha.forex,
I am not sure I understand your question. If you know that it is UTC Time then what time do you still need to get? If you want to find out what is the UTC Time then you can use DateTime.UtcNow
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous