Topics
11 Nov 2020, 22:19
 2009
 5
26 Jun 2020, 16:07
 1354
 7
21 Sep 2018, 16:22
 1959
 2
30 Jun 2018, 12:58
 1409
 4
29 May 2018, 12:32
 0
 1832
 4
03 May 2018, 13:30
 0
 1509
 1
02 May 2018, 19:08
 1839
 1
Replies

irmscher9
18 Jun 2018, 14:38

Hmm, it's weird. It seems like in old instances that have been deployed before the 3.0 update the overlapping still perists whereas if I open a new trading instance (cAlgo) the problem is gone... If it's that way, then it's OK, nothing to worry about.


@irmscher9

irmscher9
18 Jun 2018, 12:34

Panagiotis, the problem persists. Please try with Donchain Channel indicator.


@irmscher9

irmscher9
14 Jun 2018, 13:04

Well, it seems it works with new indicators.

But if I choose to select one of my old perstes, the problem persists.

But it's ok then , no worries.


@irmscher9

irmscher9
08 Jun 2018, 19:57

Oh, wow.

Thanks both of you.

- Panagiotis, will do!

- Sent you an email, Paul :)


@irmscher9

irmscher9
06 Jun 2018, 18:13

I'm trying to write data to an CSV file, since "ModifyPosition" notifications takes all of the log and I can't analyze the backtesting of my bots properly.


@irmscher9

irmscher9
04 Jun 2018, 20:46

Hey Panagiotis,

Firstly, is there any news on expanding the 10k limit?

Secondly, I've tried writing the data to an .csv file from the cBot and I'm getting some errors (I'm not very much of a C# coder):

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

using System.Collections.Generic;
using System.IO;
using System.Text;


namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class WriteFiles : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        /// <summary>
        /// Class to store one CSV row
        /// </summary>
        public class CsvRow : List<string>
        {
            public string LineText { get; set; }
        }

        /// <summary>
        /// Class to write data to a CSV file
        /// </summary>
        public class CsvFileWriter : StreamWriter
        {
            public CsvFileWriter(Stream stream) : base(stream)
            {
            }

            public CsvFileWriter(string filename) : base(filename)
            {
            }

            /// <summary>
            /// Writes a single row to a CSV file.
            /// </summary>
            /// <param name="row">The row to be written</param>
            public void WriteRow(CsvRow row)
            {
                StringBuilder builder = new StringBuilder();
                bool firstColumn = true;
                foreach (string value in row)
                {
                    // Add separator if this isn't the first value
                    if (!firstColumn)
                        builder.Append(',');
                    // Implement special handling for values that contain comma or quote
                    // Enclose in quotes and double up any double quotes
                    if (value.IndexOfAny(new char[] 
                    {
                        '"',
                        ','
                    }) != -1)
                        builder.AppendFormat("\"{0}\"", value.Replace("\"", "\"\""));
                    else
                        builder.Append(value);
                    firstColumn = false;
                }
                row.LineText = builder.ToString();
                WriteLine(row.LineText);
            }
        }

        void WriteTest()
        {
            // Write sample data to CSV file
            using (CsvFileWriter writer = new CsvFileWriter("WriteTest.csv"))
            {
                for (int i = 0; i < 100; i++)
                {
                    CsvRow row = new CsvRow();
                    for (int j = 0; j < 5; j++)
                        row.Add(String.Format("Column{0}", j));
                    writer.WriteRow(row);
                }
            }
        }

        protected override void OnStart()
        {
            string A = "hello";
            
            //-- Any of these 2 should work, I guess?
            //CsvFileWriter.WriteRow(A);
            WriteTest(A);
        }

        protected override void OnTick()
        {
            // Put your core logic here
        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

 


@irmscher9

irmscher9
30 May 2018, 15:31

Thanks Panagiotis for a prompt reply.

Yet another quite annoying BUG (I guess..):

https://1drv.ms/u/s!AvJJop5QTya7gZ4eH8FheeWQG4Tm-g

When I use crosshair to measure the amount of distance (periods) or pips, if I touch any of the indicators by the crosshair, the popup information window overlaps the Perdiods & Pips box almost completely.


@irmscher9

irmscher9
30 May 2018, 12:48

Thanks for prompt reply!

These are nice things to hear, thanks Mykhaylo! :)


@irmscher9

irmscher9
29 May 2018, 13:13

On top of that, cTrader 3.0 feels kinda slow.

It indeed was a bad decision to merge cAlgo with cTrader. While keeping it merged inside cTrader, you at least you could leave us an option to work with cAlgo separately.


@irmscher9

irmscher9
29 May 2018, 13:02

+1


@irmscher9

irmscher9
29 May 2018, 12:47

Ok, I can see the Layout button in the top-right corner now. But having Hotkeys would be good anyways :)


@irmscher9

irmscher9
29 May 2018, 12:34

With cTrader 3.0 along with the new Trade-Copy-Automate-Analyze menu there's even less space left for the chart window actually which makes it want to detach. But then the aforementioned issue arises.

 


@irmscher9

irmscher9
16 May 2018, 11:19

Ok, here's what they said:

The demo accounts are simply to test out the features of the platform, and not to be used for chart analysis. Any real trading decisions should be made using the data on the live charts only.

So I guess I should only use LIVE accounts for testing from now on.


@irmscher9

irmscher9
07 May 2018, 19:19

Yeah, OK. But what I I would like to STOP mirroring someone but the Unr. P&L is in minus. 

I want to stop the signals so that no more new positions are opened but also don't want to suffer a loss when STOPPING mirroring. What should I do then?


@irmscher9

irmscher9
05 May 2018, 21:26

Could anyone from the dev team respond please? This makes me worried a bit. Today I've backtested another bot, same exact bot (I'ver triple checked it) and results again different.

I'm 100% sure both run on Tick data from server (Accurate).


@irmscher9

irmscher9
05 May 2018, 20:12

Thanks for your reply.

Both backtests used tick data.


@irmscher9

irmscher9
03 May 2018, 12:32

The platform is relatively new and perhaps the Spotware is not doing super well in terms of promoting their stuff to brokers (I suppose that's how it works).

With that said the platform is great, even though there are few glithces and inconsistencies here and there. But hey, it's just like with every other software and I say my expereince with cAlgo and cTrader was very pleasant so far and well above the average. 

In the current state I'd rate it 7.5/10 with the huge potential for growth. The support is pretty good, I've got like 90% of my qustions answered fairly quickly and most of my ieeues were resolved. 

So it's already a pretty good platform with huge potential for growth. I already like it way more than MT4 and MT5, especially if you are into cAlgo coding. 

As for the broker, I'm backing up the IC Markets, unbelievably good broker, I didn't expect a forex company to be so nice. Super good spreads with cTrader and top-notch support 24/7 via chat box.

Good luck :)

 

 


@irmscher9

irmscher9
24 Apr 2018, 17:42

1. Download a software.

2. Study sample bots.

3. Try to modify them.

4. Backtest them and observe the results.

5. Rince and repeat.

Good luck :)


@irmscher9