Topics
01 Dec 2015, 13:28
 3740
 5
10 Oct 2014, 21:23
 3034
 10
17 Jun 2014, 16:50
 2511
 5
30 May 2014, 16:44
 4859
 10
07 May 2014, 12:08
 3924
 11
Replies

breakermind
12 Oct 2015, 20:12

RE:

robot z trailing stop:

https://github.com/breakermind/cAlgoRobotsIndicators/blob/master/oooDBoo

Przykłady robotów i wskaźników::

https://github.com/breakermind/cAlgoRobotsIndicators

Pozdrawiam

 


@breakermind

breakermind
03 Sep 2015, 10:55

RE: RE:

Max951 said:

breakermind said:

If you scalp broker earns, not you.

Thank you for advices ;-)

Dou you know that by statistics every day 80-90% of whole traders are suffer losses?

In my manual trading I'm not use scalping.

But I'm try develop bot that use scalping method with my own algorithm

HI,

Only two bots when i write cbots earn:

- pending orders from week start (pending on each 100Pips) whitout stop loss

- and orders on 50 - 100 pips leveles whitout stop loss many small positions (100)

- others lose capital.

 

I know this from experience (closed several accounts on 0)

if cbot earn too much or work too good:

stops working, maybe calgo or MT4 something breaks down i dont know ;)

Have a nice day:


@breakermind

breakermind
02 Sep 2015, 20:39

If you scalp broker earns, not you.


@breakermind

breakermind
02 Sep 2015, 20:36

RE:

And see on forum and trader contest how much traders earn without scalping :)


@breakermind

breakermind
02 Sep 2015, 20:35

I do not know too much but you can read:

https://www.dukascopy.com/swiss/english/forex/api/fix_api/
https://www.dukascopy.com/fxcomm/fx-article-contest/?Order-Types-And-Its-Management=&action=read&id=578


@breakermind

breakermind
02 Sep 2015, 11:31

RE:

If you want only 50% per year set only position in right direction and wait.


@breakermind

breakermind
02 Sep 2015, 11:23

Max951 said:

Rod_Sands said:

test for a minimum sized candle on a higher Time frame eg in your example  and bearish H1 or H2

I think:

  1. compare a size of current candle with summary size of previous candles on same timeframe may be...
  2. may be measure the rate of change of the price in pips per unit of time...

Hi

Look at small MA on ticks but it is waste the time, calgo is to slowly and to big spred.

but better test is candle open above or bellow MA50 on H1 or M5, or set pending orders between 500Pips levels,

set position in long time for example:

on gbpjpy open on 500 Pips levels and set tp 500 Pips (capital 100$ position 0.01(1000) => to 50% in month) or more.

On short period and Tp You LOSE Your capital.

I like open position only on:

Month open price line or week open price line.

IF YOU WANT SCALP ON FOREX or play on short time GO TO FIX  PROTOCOL.

Best...

 


@breakermind

breakermind
20 Aug 2015, 10:20

RE:

Spotware said:

Dear breakermind,

Currently we don't have such an example with json protocol used in our ConnectAPI documentation. It is in our future plans to update the documentation and have several examples including the one you described. Stay tuned.

Dear Spotware, you wrote a few years ago the same thing.
Greetings.


@breakermind

breakermind
15 Aug 2015, 16:19 ( Updated at: 13 Oct 2015, 01:37 )

RE:

This post was removed by moderator because it duplicates another post. /forum/connect-api-support/6003?page=1#4


@breakermind

breakermind
15 Aug 2015, 16:04 ( Updated at: 13 Oct 2015, 01:37 )

 

This post was removed by moderator because it duplicates another post. /forum/connect-api-support/6003?page=1#4


@breakermind

breakermind
15 Aug 2015, 16:03

Where is simple example how open and close position with API only SSL socket and json ???

Hello,

Is there somewhere a simple example of how the connect, set and close position using the API?

Only C # and SSL connection via socket with json  (without this strange protocol from googl)?

Simple connect, send command (json) and receive a response like json?

Have a nice day.


@breakermind

breakermind
20 Jan 2015, 15:40

Have a nice day

Have a nice day All :D:D:D


@breakermind

breakermind
20 Jan 2015, 15:25

RE:

Spotware said:

Hello breakermind,

 

For help with coding please contact one of our partners /consultants/  or post a job in Development Jobs section /jobs/

 

Cheers.

Buahahahahahahaha.....

Cheers ;)


@breakermind

breakermind
20 Jan 2015, 14:03

cBot pending orders

Hi support

why this bot dont set pending orders (cBotRegression2000 with multi pending orders :)?

//=======================================================================
// Breakermind.com All rights reserved. Copyrights breakermind.com 2014 =
//=======================================================================
using System;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class cBotRegression : Robot
    {

        [Parameter(DefaultValue = 1000, MinValue = 1000)]
        public int Volume { get; set; }

        [Parameter("Stop Loss (pips)", DefaultValue = 0, MinValue = 0)]
        public int StopLossInPips { get; set; }

        [Parameter("Take Profit (pips)", DefaultValue = 0, MinValue = 0)]
        public int TakeProfitInPips { get; set; }

        [Parameter("Auto Take Profit", DefaultValue = true)]
        public bool AutoTP { get; set; }

        [Parameter(DefaultValue = true)]
        public bool closeOnReg { get; set; }

        [Parameter(DefaultValue = 3, MinValue = 1, MaxValue = 4)]
        public int RegDegree { get; set; }

        [Parameter(DefaultValue = 2000, MinValue = 1)]
        public int RegPeriod { get; set; }

        [Parameter(DefaultValue = 2, MinValue = 1)]
        public double RegStrdDev { get; set; }

        [Parameter(DefaultValue = true)]
        public bool SetMultiOrders { get; set; }

        [Parameter(DefaultValue = 3, MinValue = 1)]
        public int HowMuchOrders { get; set; }

        [Parameter(DefaultValue = 25, MinValue = 5)]
        public int Spacing { get; set; }

        [Parameter(DefaultValue = "breakermind.com")]
        public string Copyrights { get; set; }

        private const string label = "cBotRegression";
        private Regression cog;

        protected override void OnStart()
        {
            string txt = "Install Regression2000 indicator first - /algos/indicators/show/571";
            string txt0 = " If TakeProfitInPips or StopLossInPips = 0 - cBot dont set StopLoss or TakeProfit";
            string txt1 = "If closeOnReg = true - cBot close positions on regression up(close buy) and down(close sell) backtest on M1";
            string txt2 = "Copyrights 2014 breakermind.com - All rights reserved.";

            Print(txt);
            Print(txt0);
            Print(txt1);
            Print(txt2);

            //How to Use custom indicator
            cog = Indicators.GetIndicator<Regression>(RegDegree, RegPeriod, RegStrdDev);
        }

        protected override void OnTick()
        {
            double up = cog.sqh.LastValue;
            double zero = cog.prc.LastValue;
            double dn = cog.sql.LastValue;

            if (AutoTP)
            {
                double val = (zero - Symbol.Bid);
                TakeProfitInPips = (int)(val / Symbol.PipSize);
            }

            var name = "Up";
            var text = "Up Reg: " + up.ToString();
            var staticPos = StaticPosition.TopRight;
            var color = Colors.Red;
            ChartObjects.DrawText(name, text, staticPos, color);

            name = "Dn";
            text = "Dn Reg: " + dn.ToString();
            staticPos = StaticPosition.BottomRight;
            color = Colors.Blue;
            ChartObjects.DrawText(name, text, staticPos, color);

            var pos = Positions.Find(label, Symbol);
            var longPosition = Positions.Find(label, Symbol, TradeType.Buy);
            var shortPosition = Positions.Find(label, Symbol, TradeType.Sell);

            if (pos == null)
            {

                // close all pending
                foreach (var order in PendingOrders)
                {
                    //CancelPendingOrder(order);
                }

                if (Symbol.Bid <= dn)
                {
                    if (shortPosition != null && closeOnReg == true)
                    {
                        ClosePosition(shortPosition);
                    }
                    ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, label, StopLossInPips, TakeProfitInPips);


                    // Set multi orders pending
                    if (SetMultiOrders)
                    {
                        for (int i = 1; i < HowMuchOrders; i++)
                        {
                            PlaceStopOrder(TradeType.Buy, Symbol, Volume, Symbol.Ask + Spacing * i * Symbol.PipSize, label, StopLossInPips, TakeProfitInPips);
                        }
                    }

                    if (Symbol.Ask >= up)
                    {
                        if (longPosition != null && closeOnReg == true)
                        {
                            ClosePosition(longPosition);
                        }
                        ExecuteMarketOrder(TradeType.Sell, Symbol, Volume, label, StopLossInPips, TakeProfitInPips);

                        // Set multi orders pending
                        if (SetMultiOrders)
                        {
                            for (int j = 1; j < HowMuchOrders; j++)
                            {
                                PlaceStopOrder(TradeType.Sell, Symbol, Volume, Symbol.Bid - Spacing * j * Symbol.PipSize, label, StopLossInPips, TakeProfitInPips);
                            }
                        }
                    }
                }
            }
        }
    }
}

where is error?

thanks for help

 


@breakermind

breakermind
20 Jan 2015, 12:05 ( Updated at: 23 Jan 2024, 13:11 )

RE:

breakermind said:

Hi,

Why Regression2000 indicator and cBots with Regression2000 starts very slowly (On mt4 1 second on cAlgo > 30 Seconds) ?

What is with this cAlgo?

Bye.

Hi hi hi,

cBotRegression code - [/algos/cbots/show/624]

Bye.


@breakermind

breakermind
17 Jan 2015, 13:13

RE: RE: RE:

Hi,

Or create Multi thread server c# or Java(https://www.youtube.com/watch?v=vkjNjZiMt4w)  (not on cAlgo and save to file positions cAlgoAccountId.txt on it) and set/get from cAlgo like this

/forum/cbot-support/2709

Bye :D :P


@breakermind

breakermind
17 Jan 2015, 13:03

RE: RE:

Hi,

Send Http post from calgo to www server like Apache (xampp: https://www.apachefriends.org/pl/index.html ) or get free hosting. 

I already wrote about it on this forum :)

I have a ready-made solution it copy from one to many cBots.

Bye.

 

 


@breakermind

breakermind
16 Jan 2015, 11:28

Hi,

If you have some good bot version for MT4 (min earn 50% per month no scalping no HFT) I can connect to my vps on (breakermind.com) and made available for copying :)

Bye.


@breakermind

breakermind
12 Jan 2015, 20:49

RE:

Ian_Drummond said:

Hi,

I have several cBots which are too aggressive to trade with real cash and am wondering if there are any current competitions for robot trading with demo accounts? 

I had a search online to find some old competitions from 2011 / 2012... 

It looks like a great way to raise some real trading capital and unleash those fun cBots that make hundreds of millions...

Thanking ya'll in advance...

Hi,

but not on cAlgo(monthly on jforex):

http://www.dukascopy.com/strategycontest/?action=allContestStandings

Bye.


@breakermind

breakermind
28 Dec 2014, 18:27

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

Hi,

best-written and most of the examples in JAVA, C++, C#, ANDROID examples and connect to multi accounts in one aplication with login and password, multi threading, FIX API examples (I do not know if ssl is available but on demo works ok)

FULL GRAZING

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

Bye.


@breakermind