Topics
Replies
iucpxleps
10 Jun 2020, 21:12
RE: RE:
I think I am OK right now about this. The last 10 mins I kept getting disconnections on the demo account but as soon as I switch back to live account it doesn't disconnect and stable. Then I switch back to demo again and it starts to disconnect again. and the reason is probably market movements after FED. demo servers are not as strong as live servers I guess. it's been 20 mins and it's still not stable.
@iucpxleps
iucpxleps
10 Jun 2020, 17:49
RE:
PanagiotisCharalampous said:
Hi iucpxleps,
You should consider a flag that will be set to true when the conditions become valid and the position is partially closed and set back to false when the MA crosses on the opposite site. Modify the position only when the flag is false.
Best Regards,
Panagiotis
Hi Panagiotis,
I'm a bit confused about the difference between
"set to true when the conditions become valid and the position is partially closed" and "Modify the position only when the flag is false."
how these are different? When conditions are valid and i close the position partially, doesnt it mean modifying it anyway as well?
thanks
@iucpxleps
iucpxleps
09 Jun 2020, 21:48
RE:
PanagiotisCharalampous said:
Hi iucpxleps,
The investigation has shown that your connection is slow causing frequent disconnections.
Best Regards,
Panagiotis
Hi Panagiotis,
it's good to hear that you have received the report and looked into that. However, my connection which is actually 250mbit and ping shows 50- 60ms to server. Is there a way to select which server to connect to or is it connecting to the best possible server? It is working fine all the time but when the robot needs to update and check the rules at the hour start with onBar() it starts to disconnect and tries to reconnect, connection cannot go bad at that moment right? At one time I let it be and it kept trying to go back online like that for 30mins while everything was OK for the overall internet connection and speed was 220mbit when I tested it in speednet at the moment.. I mean how can you overload 250/100mbit connection. It looks weird to me there might be something triggering this but I don't know what. Closing ctrader and reopening it looks to be helping as mentioned in old threads. Could that be the old issue that's happening to me...Can you advise..
thanks
@iucpxleps
iucpxleps
03 Jun 2020, 16:08
RE:
PanagiotisCharalampous said:
Hi iucpxleps,
You can use the built-in HasCrossedAbove() and HasCrossedBelow() methods that allow you to check for a crossover for a defined number of bars in the past.
Best Regards,
Panagiotis
Ah thanks Panagiotis, I actually looked into that but somehow it didnt occur to me that I could use it in a lookback . It should work and probably can be easier to implement. I'll drop a line if I ran into any problems :) Thanks for the help.
just an edit: It can be used with onBar() right or is it completely unrelated?
@iucpxleps
iucpxleps
10 Jan 2018, 21:37
is this coming or not? It's been like 5 months now... :/ What's soon after 3 months? I don't want to wait anymore tbh there are alternatives...
@iucpxleps
iucpxleps
01 Nov 2017, 20:29
hi
Any updates on this? Again if could be released within this year or is it also part of the new upcoming release along with renko charts? Also, will tick charts or renko charts be part of the mobile app as well or either one of them?
thanks
@iucpxleps
iucpxleps
11 Jun 2020, 21:14
RE:
PanagiotisCharalampous said:
Hi Panagiotis,
I think now I have managed to do it thanks :)
@iucpxleps