Topics
Replies
MZen
10 Jun 2020, 18:58
RE:
PanagiotisCharalampous said:
Hi MZen,
You can remove it and I will update the code soon.
Best Regards,
Panagiotis
Thanks,
in the Main design there is also second Get Tick Data button tied to button1 .
Could you tell why? And what it does?
Also btnUnSubscribeFrorSpots name looks like typo to my eye, but it works.
@MZen
MZen
12 Feb 2019, 19:39
RE:
Panagiotis Charalampous said:
Hi MZen,
You are probably confusing Open API with cTrader Automate (formely known as cAlgo) API. These two are separate products. Open API is allows traders to develop applications without the need of a host GUI application.
Best Regards,
Panagiotis
Indeed, I was confused. So, I use Open API to develop standalone application to run without CTraded ( GUI as you call it) and Automate is for additions to CTrader and run under its umbrella.
One more question. Are those APIs connected to each other? Obviously, I can not use Automate classes in my own application without CTrader. But, can I use Open API classes in CTrader CBots?
@MZen
MZen
03 Oct 2016, 17:29
RE:
Shame on you Spotware for doing this to traders!
Do not be surprised to see law suites in the future. Do we need to connect to CTDN servers to validate CTrader ID? I think the answer is yes. Do we need constant connection to CTDN servers to maintain watch list? I think, yes.
What happened if connection to CTDN servers is lost or unstable? In my case platform is freezing and need to reconnect or re login, resulting in stopped Cbots, trailing stops on client side and possible losses, not to mention inability to do algo trading without traders watching platform stability.
Is it serious issue for the trader? Yes! How serious? Ask my lawyer.
Spotware said:
Hi Everyone,
What you are describing is expected behavior of the new feature. To use the new Watchlist feature you need to be logged into cTrader ID, which you all must have now since you are writing in this forum. cTrader ID should not be confused with trading account.
Once you are logged in you will be able to create and manage multiple Watchlists.
Let us know how you get on.
@MZen
MZen
03 Oct 2016, 06:07
RE:
CTDN with CTrader ID just stepped in between you and your broker. Without your permission.
Now your platform requires connection to CNDN servers in addition to broker servers. If this connection is lost - you do not have credentials to trade, CTrader is freezing. And they are not responsible to your losses. This is your problem now.
jivy.int said:
Hi,
Starting this morning, I suddenly have an issue where I cannot log into Ctrader anymore. My net works perfectly fine for everything else, It just gives me the initial loading screen. I've been trying to fix it all day with no avail. I usually use an Android phone to log into the app which it initially failed on. I uninstalled/cleared cache, loaded the app on an iphone, tried the web browser from a mac/PC but all those attempts failed and I kept getting a loading screen. When i switched to our downstairs DSL modem and it suddenly worked and i could log into ctrader again.
p.s. I've also tried another 3g modem to test it out, and I got the same issue with it constantly loading/ failing to connect. I also didnt change anything from my side, it just suddenly stopped working.
Im actually stumped how to fix this issue. Kindly advise me
@MZen
MZen
19 Feb 2016, 21:09
RE:
Spotware said:
Dear Trader,
The GetSeries method retrieves around 10000 values.
By default the Source retrieves 2000 values. If a User scrolls back in the chart the source will retrieve more values.
We will provide users with the ability to set the amount of the values they would like to retrieve in the future. Stay tuned.
Isn't it funny!? You call it cAlgo, which meant to be able to operate without human interaction. Instead USER NEED TO SCROLL THE CHART TO REVEAL MORE VALUES!!!!!!
@MZen
MZen
16 Feb 2016, 17:34
RE: RE:
MZen said:
It is interesting that in case when number of historical values for 1 minute MarketSeries goes to 2000, Calculate got called with index starting from 0 to 2000, for every value.
Just add to Calculate
Print (indexSeries);
to see it yourself.
This is something I could not imagine would happened.
Sorry, add next line to see dynamics
Print (series1min.High.Count);
@MZen
MZen
15 Feb 2016, 18:13
RE:
It is interesting that in case when number of historical values for 1 minute MarketSeries goes to 2000, Calculate got called with index starting from 0 to 2000, for every value.
Just add to Calculate
Print (indexSeries);
to see it yourself.
This is something I could not imagine would happened.
@MZen
MZen
30 May 2015, 20:24
I believe this is serious misconception of cAlgo developers.
Indicators are calculated (using OnTick method) and change their value on every tick at any time frame. Yet, we can not access tick data series within indicator, unless it is attached to tick chart.
I see it as a fundamental flow in cAlgo design. Can CTDN address this issue?
@MZen
MZen
23 May 2015, 22:27
RE:
Thanks for suggestion, yet I am looking for tick data to recalculate custom indicators and populate chart. My indicator is tick dependent , but works on any time frame.
When I put it on tick chart I can access tick data like 7000 ticks. Yet, other time frames block this data from indicators. Moreover, TimeFrame on tick chart is Tick, but it cannot be assigned to get ticks.
Looks like the only workaround is to put my indicator on tick chart with the only purpose to get tick data and work on other charts.
Gman89 said:
See this post:
/forum/cbot-support/2579
Basically you can query the data if you decide on a time frequency and then using the OnTimer method - this basically does the same thing as OnTick but the event is time based and not tick based.
@MZen
MZen
31 Mar 2015, 22:08
RE: RE:
Thanks,
I am trying to learn. So, when I have class library ready I have to reference it in cAlgo?
I guess it does not matter in which namespace I put it?
RedRhinoFX said:
MZen said:
Hi,
I am new to VS, C# and cAlgo, so my question might be naive. Anyway.
How can I create custom library in VS to use in my robots and indicators? I already installed VS and I can edit cBots in VS. Yet, I need something like Money management class and methods to use in all my cBots. Where to start?
Thanks.
You need to reference the calgo api dll, then you will have intellisense and easily start your project in VS - http://redrhinofx.com/calgo
@MZen
MZen
16 Jun 2020, 15:26
RE:
PanagiotisCharalampous said:
Sorry for false alarm. It works today.
Have no idea why. Did not change anything. Will watch it closely.
@MZen