Topics
Replies
cTKit
22 Jan 2021, 16:07
RE:
PanagiotisCharalampous said:
Hi cTKit,
You can use LastVisibleBarIndex.
Best Regards,
Panagiotis
I looked at that but documentation suggests this is the index of the last actual candle/bar rather the last visible position. I will try it out.
@cTKit
cTKit
12 May 2020, 15:17
RE:
Thanks for the workaround, I was hoping for something more flexible i.e. providing a list of brick sizes then parsing that into relevant Renko timeframes.
Just tried the workaround and that approach lets them select any timeframe, so as well as providing a fixed number of time frames, I have to validate they have selected a Renko time frame, which it seems I can only do based on the ToString() result. A bit on the ugly side.
On the other hand I really like that you have implemented Renko and Range bars as time frames rather than some of the convoluted ways people have implemented it. However having done so it would be really nice if we can use them with GetBars methods like other time frames.
@cTKit
cTKit
11 Feb 2020, 08:46
RE:
I have investigated using the ChartObjectHoverChanged event to write some text on the indicator when the mouse is over an output plot but no success. The event never fires for lines plotted for outputs. It seems these lines are not chart objects because they don't show up when I iterate through the list of objects on the chart or indicator area. Still looking for a work around.
@cTKit
cTKit
28 Jan 2017, 20:36
RE:
I find that happens regularly on Saturday morning. I suspect they doe some kind of maintenance on Saturday mornings. It is usually ready to go by the afternoon.
mindbreaker said:
Hi support,
Why I can't login to my fxpro cTrader account in weekends ?
And why i can't add fxpro accounts to cmirror.com ?
What is wrong with ctrader platform?
@cTKit
cTKit
06 Dec 2016, 13:09
RE:
I have had the same problem for some time.
I used the feedback feature in cAlgo to try to get some help, and they are talking to me, but not getting anywhere.
So far they suggested
- Clearing browser history
- Using Icognito Mode
I tried both and got the same result, using a completetly vanilla indicator created in cAlgo, bult and uploaded with no changes.
I am a professional developer and know what I would be looking at to fix it. I have suggested they check their web logs to see if they can identify the underlying error and let me know what it is. Awaiting their response.
@cTKit
cTKit
18 Nov 2016, 11:18
Hi Cedric
OnBar is called when a new bar opens for the MarketSeries for the chart your bot is attached to. To get data for other time frames you would need to use one of the MarketData.GetSeries() methods in your OnStart method to create a new MarketSeries for each additional time frame you want to access. If all you want is the last value then things are relatively simple, but if you need anything else you are going to have to calculate the correct index to reference the additional timeframe data.
The following example should get you started with access the last value.
private MarketSeries m1Series; private MarketSeries m15Series; protected override void OnStart() { m1Series = MarketData.GetSeries(TimeFrame.Minute); m15Series = MarketData.GetSeries(TimeFrame.Minute15); } protected override void OnBar() { var m1Value = m1Series.Close.LastValue; var m15Value = m15Series.Close.LastValue; // do something with values }
@cTKit
cTKit
13 Nov 2016, 15:30
Tried again, even tried uploading an indicator with an empty code file and it failed. SpotWare are providing no support so we have published our free indicators including the latest Currency Strength Indicator to ctkit.uk
More to come soon and updates to existing ones will be published on our web site only.
@cTKit
cTKit
13 Nov 2016, 15:19
Thanks but I am not interested in using a third party tool to do something I can and should be able to do in the app. I run a software development team and if one of my developers pushed code that did this they would be in serious trouble, like wise the members of the QA team that didn't find and report it. In my opinion this is a bug, and I find it laughable that after reporting it to SpotWare I am told I have to post a request to fix it here as a "Suggestion" and let people vote on it.
As I mentioned, I am aware of how to move the window with key strokes so it is a minor irritation, but I am certain there will be people less aware of how to do things without a mouse that will find it much more difficult to use.
@cTKit
cTKit
25 Oct 2016, 19:49
I solved the problem. It was because I run Windows in Parallels on a Mac. I run it in "Like a Mac" mode so I get the best of both worlds but by default this causes the user profile to be mapped to Mac user folders via a local network share. cAlgo is unable to detect changes to folders and files under this configuration. I changed some setting to disable this feature and bingo when I create a new item it appears in the expected place. This also affects integration with Visual Studio, which is working fine too.
@cTKit
cTKit
25 Oct 2016, 19:42
I can confirm the problem is the way Parrallels is running Windows. I had the same issue and after finding this thread I changed my Parallels settings so my VM had a local Documents folder on the Virtual Hard Drive and all worked fine.
To anyone else who has this issue you don't have to give up Confluence altogether. It is not necessary to swithc completely to running the VM "Like a PC". Follow the link in the previous post from Spotware and just change the sharing settings to disable "Share Mac user folders with Windows". You will be signed out and back in to Windows. Once you are you may have to make a final change as Documents may still be mapped to the Mac UNC path. Using Windows Explorer locate the Documents library and right click. On the Location tab you will find a button that allows you to change the location and move existing files.
@cTKit
cTKit
21 Sep 2016, 20:25
Thanks for trying to help, I know where it should be, but it is not there. I have a very high resolution monitor so there is no scrollbar on my indicator list.
To be clear, nothing new gets added to the list, and no editor window is opened as expected with the new Indicator template.
I have to restart cAlgo before the new template is listed and then I can rename it. When it first happened I clicked on the button several times because nothing happened, after restarting cAlgo there were several new items in the list.
I am a very experienced C# developer and have a number of tools and .NET versions on my PC so could be some kind of conflict.
Mike
@cTKit
cTKit
22 Jan 2021, 16:13
RE: RE:
cTKit said:
That doesn't work, as the documentation suggests this value is the index of the last actual candle that is visible. I need a position for the edge of the chart window when the bars have been moved left to leave more than the default amount of space. Ideally something like LastVisibleDateTime.
@cTKit