Replies

a1112
02 Dec 2016, 13:11

What if the Robot puts the lines on the chart?

would it be possible that these lines then can be moved by the user (by dragging?),

and if so could then the Robot read price value from them?

 

I know this is doable in MT4 thats why i am asking.

Thank you for your help guys


@a1112

a1112
27 Nov 2016, 11:42

Hi, i dont speak Russian but i understand your problem is the robot doesnt open in Visual Studio Community 2015.

Solutions:

/forum/calgo-support/8502?page=1#4

and because the last link in that page is a 404, here is the direct link http://clickalgo.com/how-to-use-visual-studio-2015-with-ctrader

 

 


@a1112

a1112
30 Aug 2016, 18:16

Hi, I think the guy that started this thread had the same problem, solution is in last post (works for me)

/forum/calgo-support/8502?page=1#4

hope it helps

 


@a1112

a1112
07 Aug 2016, 18:44

Looks perfect.

Thank you "lucian"


@a1112

a1112
01 Apr 2016, 12:29

just upped it for voting if you find it interesting http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/13266519--pause-button-for-robots

 

 


@a1112

a1112
01 Apr 2016, 11:55

Hi Waxy, thank you for your corrections. 

Now i understand the problem with the 1st.

As for the 2nd, i run into this last night. I then realized it wasn't resetting after a successful trade as it should, but was closing them on total count of failed. I fixed it by resetting the count  here with [ count=0; ] and seems to work fine like that so far, 

            if (position.GrossProfit > 0)
            {
                ExecuteOrder(InitialQuantity, GetRandomTradeType());
                count = 0;
                Print("Count is reset, new count {0}", count);
            }

but thank you for your code example, i understand it :)


@a1112

a1112
30 Mar 2016, 09:11

lol @ "1007601" . Lets not forget the Fast Forward button ;)

 

@ "solark" . Thank you for your interesting ideas. Too advanced for me at this point but certainly got me thinking of "patch-work" solutions. Best would be if Spotware can implement it of course.

 

@ Spotware . I'll put it in the voting section as you suggested. Thank you.

 

If anyone has any more ideas about it, you are very welcome to add them here. Thank you all :)


@a1112

a1112
30 Mar 2016, 09:02

Hi "croucrou", thank you for your answer. I am looking into it.


@a1112

a1112
24 Mar 2016, 19:47 ( Updated at: 21 Dec 2023, 09:20 )

So i realised there was a hole in my logic above. I needed to start the count of failed trades before the next martingale started and the 

if (count == 3);

{Stop( );}

earlier.  

 

Still i don't understand why the ClosePosition(position); was looking for the ID of the first trade taken inside the Martingale loop. I thought that it was supposed to close all open trades, but anyway. 


@a1112