PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
16 Apr 2018, 10:09

Hi tinker.this,

At this moment, there is no such option. We can consider it for a future release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Apr 2018, 11:41

Hi Paul,

Remove the slash from the file name and it will work properly.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Apr 2018, 11:38

Hi Paul,

Thanks for noticing this. I will forward to cAlgo team to check it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 16:11

Hi,

No this is not possible. You could consider using text to display the price in the chart instead.

Let me know if this helps,

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 15:46

Ηι megha,

You can use Connect API.

Best Regards

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 15:13 ( Updated at: 12 Apr 2018, 15:45 )

Hi megha,

Account type information is not provided via FIX API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 14:17

Hi travkinsm1,

If you are asking how to add a new comment in an existing discussion, you can do this by clicking the Reply button in the bottom of each thread.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 14:12

Dear Trader,

This is a C# exception. You can read more here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 14:06

Hi ycomp,

It kicks in immediately.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 09:55

Dear Trader,

Thanks for posting in our forum. See below an example

            var index = MarketSeries.Low.Count - 1;
            var low = MarketSeries.Low[index];
            var text = low.ToString();
            var xPos = index;
            var yPos = low;
            var vAlign = VerticalAlignment.Bottom;
            var hAlign = HorizontalAlignment.Right;
            ChartObjects.DrawHorizontalLine("LongTargetLine", low, Colors.Lime, 1, LineStyle.Lines);
            ChartObjects.DrawText("LongText", "Long Target", xPos, yPos, vAlign, hAlign, Colors.Lime);

You can adjust it based on your parameters

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 09:50

Dear dordkash@gmail.com,

If you mean how to adjust the size of the text drawn by DrawText() function, currently there is no such possibility.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Apr 2018, 09:25

Hi yearn2012,

cAlgo code currently uses .Net Framework 4.0, therefore C# 7.1 features are not supported.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2018, 15:23

Hi nordic,

Can you please refresh your chart and let me know if this still happens?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2018, 09:24

Hi cintuanginbox,

Could you please send us the install log as well as the extension files to check? Also, which cTrader do you use 2.01 or 3.0?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 17:28

Hi nordic,

There was an issue with the settings and the spread for this symbol. We fixed it. Check now.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 16:45

Hi nordic,

Thanks for posting in our forum. Indeed the closing price seems very weird. Could you send us a screenshot of the chart you see and maybe the deal plotted (right click on chart > Viewing Options > Deal Map) on so that we can see the price movement at that moment?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 14:08

Hi Anton,

You can use custom indicators as well. Read how to do this here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 12:58

Dear Trader,

In cTrader 3.0 you will be able to modify the volume as well. You can download the beta version here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 12:30

Hi Anton,

Since you cannot provide me with the indicator, please see below how you can access the values of an SMA indicator from a cBot.

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

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class NewcBot : Robot
    {
        private SimpleMovingAverage _sma;

        protected override void OnStart()
        {
            _sma = Indicators.SimpleMovingAverage(MarketSeries.Close, 14);
        }

        protected override void OnBar()
        {
            Print(_sma.Result.LastValue);
        }

        protected override void OnStop()
        {

        }
    }
}

You can adjust the above sample to your indicator.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Apr 2018, 11:30

Hi yearn2012,

See below

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

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

        protected override void OnStart()
        {
            var form = new Form();
            form.Show();
        }

        protected override void OnTick()
        {

        }

        protected override void OnStop()
        {

        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous