Topics
01 Dec 2015, 13:28
 3860
 5
10 Oct 2014, 21:23
 3118
 10
17 Jun 2014, 16:50
 2626
 5
30 May 2014, 16:44
 4972
 10
07 May 2014, 12:08
 4009
 11
Replies

breakermind
28 Dec 2014, 17:54 ( Updated at: 15 Jan 2024, 14:51 )

RE: I too would like this functionality of Running CAlgo as a Library from my larger C# application

joeatbayes said:

I would also like the functionality of referencing  CAlgo as a loaded library rather than running it as a separate application.   For me the more important aspect is the ability to auto-start the system,  auto log in and debug easily all inside of visual studio.     Testing from inside of CAlgo is cumbersome and quite often forces me back to hand writing "Print" statements.    

 

Hi

[/forum/ctrader-support/1609]

/forum/cbot-support/3255 

http://www.avafx.com/fi/api-trading/

in most languages need only look in google.

Bye.

 

 

 


@breakermind

breakermind
04 Dec 2014, 15:42

RE:

Hi,


a few years ago, I've heard it already.

Please delete my profile, indicators ...

Have a nice day.

 

Spotware said:

We still do not plan to support custom indicators in cTrader Mobile. However, we are going to introduce the standard technical indicators that are available by default on the cTrader platform. 

Stay tuned.

 


@breakermind

breakermind
04 Dec 2014, 12:19

RE: RE: RE:

Hi,


When regression2000(/algos/indicators/show/571) indicator will be added on Android?

Or do not waste the time and not wait?

Thanks and bye.


@breakermind

breakermind
01 Dec 2014, 19:16

RE: RE:
Please ... what is this for such professionals ;)

Bye bye.


@breakermind

breakermind
01 Dec 2014, 18:53

RE:

 

Hi,
It's probably time to make such a possibility or add an indicator's :P

 

Spotware said:

No, custom indicators are not supported in android version.


@breakermind

breakermind
28 Nov 2014, 23:46 ( Updated at: 15 Jan 2024, 14:51 )

Hi support,

Is possible to add this indicators

regression:

[/algos/indicators/show/571]

and something like 100 Pips levels lines

100 Pips levels:

[/algos/indicators/show/569]

to cTrader Android mobile platform ?

or how install this above?

Have a nice day.


@breakermind

breakermind
15 Oct 2014, 21:56

FIX API - with username and password login

Hi,

Forex Fix API C#, Java, C++ :

http://www.fxcm.com/services/forex-programming/api-programming-interfaces/

with login to account via password and username

Regards

 

 

 


@breakermind

breakermind
15 Oct 2014, 14:16

RE:

Hi,

I'm talking about manual trading. cbots its a waste of time, always something is not working on these platforms (the same result it is difficult to get  in this same period, and this is just math).

Bye.


@breakermind

breakermind
14 Oct 2014, 11:30

RE: RE: RE: Get week open price - close price

Spotware said:

breakermind said:

Hi,

if there is(cTrader,cAlgo) such a thing as logging only able to retrieve data without the possibility of putting orders (like second password in mt4/5)?

Thanks

No, there is no investor password in cTrader. However you can share your trading statistics by connecting your account to such resources as myfxbook, FX Blue, etc.

 

I do not want to share :), I would safely run on the server and download data to the database and share with my friends not all:]

And when will be and whether it will be?

Thanks


@breakermind

breakermind
11 Oct 2014, 18:26

RE: RE:

Elogos said:

breakermind said:

Hello support

Is it possible to connect to the Servers without cTrader / cAlgo platform only with login and password to account

from C# (Visual Studio) and API?

Bye...

A few people have asked this already, a shell library of sorts, however they specifically said this would not happen some time ago.

It would be nice, however most brokers do have FIX offerings and there are plenty of c# libraries bought and free that can give you the connectivity for these FIX offerings.

Thank you for explanation.

 


@breakermind

breakermind
11 Oct 2014, 15:23

RE: Get week open price - close price

Hi,

if there is(cTrader,cAlgo) such a thing as logging only able to retrieve data without the possibility of putting orders (like second password in mt4/5)?

Thanks


@breakermind

breakermind
11 Oct 2014, 15:17

RE: RE: RE: RE: RE:

Forex19 said:

The problem is that var count and var sum don't reset when the positions are closed and then start again.

breakermind said:

::::::::::::::::

        protected override void OnTick()
        {

            double nPos = 0;
            double gPos = 0;

            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;


                    if (count < 4)
                    {
                        count++;
                        sum = sum + count;
                    }

                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count + " sum: " + sum);

        }

 

maybe something like this

 

this reset on each tick

        protected override void OnTick()
        {
 
            double nPos = 0;
            double gPos = 0;
            int count = 0;
            int sum = 0;
 
            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;
                    count++;
                    sum = sum + count;
                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count + " sum: " + sum);
 
        }

btw.

pending order each 100 pip up or down(GBPJPY,GBPNZD,...) from week open price and wait,  dont waste the time :] one order in right direction in week it is good pips profit :]

 


@breakermind

breakermind
11 Oct 2014, 14:00

RE: RE: RE:
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class LabelsSample : Robot
    {
        [Parameter("Buy", DefaultValue = true)]
        public bool TradeTypeBuy { get; set; }

        [Parameter(DefaultValue = "label666")]
        public string MyLabel { get; set; }

        [Parameter(DefaultValue = 100000)]
        public int Volume { get; set; }

        [Parameter("Stop Loss (pips)", DefaultValue = 100)]
        public int StopLoss { get; set; }

        [Parameter("Take Profit (pips)", DefaultValue = 100)]
        public int TakeProfit { get; set; }

        [Parameter(DefaultValue = 15)]
        public int MaxPositions { get; set; }

        public int sum = 0;
        public int count = 0;

        protected TradeType cBotTradeType
        {
            get { return TradeTypeBuy ? TradeType.Buy : TradeType.Sell; }
        }

        protected override void OnTick()
        {

            double nPos = 0;
            double gPos = 0;

            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;


                    if (count < 4)
                    {
                        count++;
                        sum = sum + count;
                    }

                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count + " sum: " + sum);

        }

        protected override void OnBar()
        {
            if (Positions.Count < MaxPositions)
            {
                ExecuteMarketOrder(cBotTradeType, Symbol, Volume, MyLabel, StopLoss, TakeProfit);
                ExecuteMarketOrder(cBotTradeType, Symbol, Volume, "LabeFake", StopLoss, TakeProfit);

            }
        }


    }
}

 

maybe something like this


@breakermind

breakermind
11 Oct 2014, 12:26

RE: RE: RE:
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class LabelsSample : Robot
    {
        [Parameter("Buy", DefaultValue = true)]
        public bool TradeTypeBuy { get; set; }

        [Parameter(DefaultValue = "label666")]
        public string MyLabel { get; set; }

        [Parameter(DefaultValue = 100000)]
        public int Volume { get; set; }

        [Parameter("Stop Loss (pips)", DefaultValue = 100)]
        public int StopLoss { get; set; }

        [Parameter("Take Profit (pips)", DefaultValue = 100)]
        public int TakeProfit { get; set; }

        [Parameter(DefaultValue = 15)]
        public int MaxPositions { get; set; }



        protected TradeType cBotTradeType
        {
            get { return TradeTypeBuy ? TradeType.Buy : TradeType.Sell; }
        }

        protected override void OnTick()
        {

            double nPos = 0;
            double gPos = 0;
            int count = 0;
            int sum = 0;

            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;
                    count++;
                    sum = sum + count;
                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count + " sum: " + sum);

        }

        protected override void OnBar()
        {
            if (Positions.Count < MaxPositions)
            {
                ExecuteMarketOrder(cBotTradeType, Symbol, Volume, MyLabel, StopLoss, TakeProfit);
                ExecuteMarketOrder(cBotTradeType, Symbol, Volume, "LabeFake", StopLoss, TakeProfit);

            }
        }


    }
}

 


@breakermind

breakermind
11 Oct 2014, 12:25

RE: RE:

or

        protected override void OnTick()
        {

            double nPos = 0;
            double gPos = 0;
            int count = 0;
            int sum = 0;

            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;
                    count++;
                    sum = sum + count;
                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count + " sum: " + sum);

        }

Bye.


@breakermind

breakermind
11 Oct 2014, 12:21

RE:

Hi,


        protected override void OnTick()
        {

            double nPos = 0;
            double gPos = 0;
            int count = 0;

            var AllPositions = Positions;
            foreach (var position in AllPositions)
            {
                if (position.Label == MyLabel)
                {
                    nPos += position.NetProfit;
                    gPos += position.GrossProfit;
                    count++;
                }
            }
            Print("Net: " + nPos + " Gros: " + gPos + " Count: " + count);

        }

Bye.


@breakermind

breakermind
10 Oct 2014, 21:37

Get week open price - close price

and how get week open price and close price set to this indicator(daily open close):

/algos/indicators/show/269


@breakermind

breakermind
10 Oct 2014, 21:28

Statement - html file from cbot

and how write statement to html file from cbot?


@breakermind

breakermind
09 Oct 2014, 11:49

Hahahahahahahaha

Hi,

for such a long period is poorly :)

You should already be rich and not beg for donations on Paypal :D

Regards

 


@breakermind

breakermind
10 Sep 2014, 18:35

hello@

Hi,

in profil ... signature.

Bye

 


@breakermind