Replies

cre8iveq
12 Jun 2016, 06:13

I have to agree with everyone else, this is essential, and lacking it almost makes cAlgo useless. How can you possibly code a bot with any sort of complexity without it.


@cre8iveq

cre8iveq
09 Feb 2016, 17:54

In case anyone else comes across it, I found the problem, and it is a bug in cAlgo. Turn out it rounds "stoplosspips" and "takeprofitpips" in the ModifyPendingOrder function. The arguments are doubles, but they are rounded anyway...

So for example, if you call  ModifyPendingOrder with SL pips of 22.3, then after you execute, take a look at PendingOrders[OrderIndex].StopLossPips, and you will find that even though it's a double, the value will be 22.


@cre8iveq

cre8iveq
09 Feb 2016, 15:35

For what it's worth, I would love to see this functionality too!!!


@cre8iveq

cre8iveq
07 Feb 2016, 08:33

RE:

I know this is an old thread, but in it someone mentioned that there was a plan to implement this. Did this ever happen?

All I want to be able to do is draw a horizontal line on the chart, and access the value of that line in a bot. Is this possible?


@cre8iveq

cre8iveq
07 Feb 2016, 06:04

Thanks for the quick reply, but it's not quite what I was after. What I want to do is have 1 bot determine a list of pairs that meet my criteria, then have that bot close all open charts, and open 1 chart for each of the pairs that suit my criteria. It just saves me having to do it manually.


@cre8iveq