Topics
Replies
eynt
29 Nov 2023, 05:06
RE: RE: RE: Repeated Disconnections
PanagiotisCharalampous said: k you for your calrification
Hi eynt,
It should be “not more” :) So after you get a disconnection, send the troubleshooting as soon as possible
Hi,
It was not easy to catch the disconnections immediatly when it happens however I was able to do it now. I sent the troubleshoot immediately after with a reference to this thread. The proxy data is down, I am looking forward to hear from you about the matter.
Thanks

@eynt
eynt
15 Nov 2023, 04:30
RE: Repeated Disconnections
PanagiotisCharalampous said:
Hi there,
Your report did not log any disconnections. You need to send the troubleshooting not less than a couple of minutes after the disconnection happens.
Best regards,
Panagiotis
Hello
I am now reading again your reply and I'm not sure I understood. Does the troubleshooting information need to be MORE than 2 minutes after the disconnection or LESS?
Thank you for your calrification
@eynt
eynt
10 Nov 2023, 08:04
I've changed the code to the following, it still acts the same
Thank you
private void CheckBox_Checked(CheckBoxEventArgs e)
{
Print("CheckBox_Checked");
LOAD_INDICATOR = true;// (bool)e.CheckBox.IsChecked;
Print("LOAD_INDICATOR= " + LOAD_INDICATOR);
}
private void CheckBox_Unchecked(CheckBoxEventArgs e)
{
Print("CheckBox_Unchecked 1");
LOAD_INDICATOR = false;
Print("LOAD_INDICATOR= " + LOAD_INDICATOR);
}
@eynt
eynt
10 Nov 2023, 04:10
RE: CheckBox alwyas clicked
Thank you.
It does work, however, I have another problem. I changed the code so it would change the indicator's parameter which is called LOAD_INDICATOR. However, although the print says its value is changed, when I go to the object manager to see the indicator's parameter value, over there it's not changed.
[Parameter(DefaultValue = false)]
public bool LOAD_INDICATOR { get; set; }
private void CheckBox_Changed(CheckBoxEventArgs e)
{
Print("CheckBox_Changed 1");
LOAD_INDICATOR = (bool)e.CheckBox.IsChecked;
Print("LOAD_INDICATOR= " + LOAD_INDICATOR);
}
@eynt
eynt
06 Nov 2023, 21:53
RE: RE: RE: RE: RE: Repeated Disconnections
Hello
There's been a mix in the messages orders for some reason and I can't see the message I send a minute ago so I resend it here
The problem keeps happeninng. I had 3 disconnections in 24 hours, on 2 different computers. I will send the troubleshooting information. Proxy information attached below.
Please keep me posted about your findings.
Thanks

@eynt
eynt
02 Nov 2023, 07:57
RE: RE: RE: Repeated Disconnections
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?
@eynt
eynt
02 Nov 2023, 06:31
RE: Repeated Disconnections
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?
@eynt
eynt
14 Jul 2023, 17:17
RE:
Suppose I'm using a file to communicate with the cBot. I'm guessing you meant the order to stop the cBot will be read at the OnTick method and the cBot will stop itself.
This means the order to stop the cBot has to be sent before tradinig session hours are over otherwise the OnTick method will not be called on time.
Any idea on how to send the order AFTER tradinig session hours?
Thank you for your help
@eynt
eynt
02 Dec 2023, 16:14
RE: RE: RE: RE: Repeated Disconnections
Hi
Is there anything new about the subject?
Thanks
@eynt