
Topics
Replies
PanagiotisCharalampous
01 Nov 2017, 10:15
Hi davymailu,
Thanks for raising this topic. The logic of the implementation is that if the SL is within the spread, then your position should be closed immediately after opening, resulting into a definite loss. Therefore it is rejected. What would be the expected logic from your side in these cases? Maybe our server team can consider changing the logic based on your suggestion.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2017, 09:55
Hi Danilo,
IsDaylightSavingTime is just a boolean function that returns true if the time in within a daylight saving time period and false if it is not. But it is not very clear to me how you would like to exploit this information in backtesting. Could you please elaborate a bit more on your question? Is there a specific problem you would like to solve?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2017, 09:23
Hi nguyenbaocuong,
cTrader does not have the problems mentioned in the article so you can safely benefit from a multicore processor.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2017, 09:14
Hi irmscher9,
The answer is yes, a better processor should speed up backtesting.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2017, 09:09
Hi seluh1,
Currently this feature is not available in cTrader. You can add a suggestion in the Suggestions section so that the product team can consider it for future releases.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2017, 14:47
Hi BeardPower,
We cannot give an ETA because this feature will be shipped alongside with many others, as a part of a major upcoming upgrade of cTrader. There are many dependencies and underlying complexity, due to the scale of the release, that does not allow us to give an expected date. However we are pushing hard to release it within this year. I hope that my reply answers your question at least partially!
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2017, 14:29
Dear Adriano,
Thanks for posting in our forum. Lot size is dependent on the broker and his liquidity provider. cTrader just passes the orders from the trader to the LP. So there is nothing special in this. If you can trade a microlot on cTrader it means the LP accepts the order.
Can anybody give a step by step overview of how a position is open and closed through a broker that operates with a ctrader platform?
Regarding this, it is not clear to me what is the kind of answer you would like to get. In general, the broker and his cTrader platform are just intermediaries between you and the liquidity provider. Your orders are passed from you to the LP through cTrader and the execution results are streamed back to you.
Let me know if this covers your question of if you meant something else
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2017, 09:02
Hi gagan.josan420@gmail.com,
Thanks for your suggestion. In the meanwhile, you could try using this cBot /forum/calgo-reference-samples/11677. It implements training stop loss an has a TriggerWhenGaining parameter, which is what you need.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 17:31
Dear Zjhehe,
Could you please let us know which indicator you are using?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 16:07
Something I forgot to mention is that you can export the history of backtesting and optimization results, if you right click inside the History tab and select "Export to Excel". I hope this helps!
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 15:45
Hi obaum1@gmail.com,
You should send heartbeats to maintain the communication active between a client and a server. Read more here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 14:57
Hi irmscher9,
We are planning to add the ability to export a report of backtesting and optimization results in the future. For now, if you have access to the cBot code, you can add some code to save positions to a csv file. E.g. use Positions.Closed event to append text to a file.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 14:47
Hi ycomp,
There should be a limit but I don't think it will affect you. If you keep your identifiers in reasonable sizes e.g. less than 50 characters, you should be fine.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 14:11
Hi bdepadey,
The quantity should be saved based on your last order. It should not reset to another value. We tried this for both cTrader Desktop and cTrader Web for Create Order form as well as QuickTrade settings and it works fine. Could you please give us more information where does this happen to you to investigate further?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 11:04
Hi ycomp,
Order IDs are strings therefore there is no practical limit. Why do you need this information?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Oct 2017, 09:18
Hi obaum1@gmail.com,
orderID is generated by cTrader and reported in Execution Report messages. You can use it to cancel pending orders.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Oct 2017, 11:54
Hi arismac,
Thanks for posting in our forum! It is possible to program a cBot that will alert you on ema crossovers. The following resources might be helpful for you.
/api/reference/functions/hascrossedabove
/api/reference/functions/hascrossedbelow
/api/reference/internals/inotifications
Let me know if you need any additional help.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Oct 2017, 11:49
Hi hungtonydang,
I am happy that you have resolved the issue. Indeed, when switching between languages, these confusions happen. cAlgo is just an API built using C# and .Net framework. So any C# code should work inside a cBot. If something is not working, it might be that you are missing a reference. However, if you mean that cAlgo.API should use additional features of C# that would make your life easier, feel free to post your suggestions in the Suggestions section.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Oct 2017, 09:16
Hi richard_alcaide,
Both PlaceLimitOrder() and PlaceStopOrder() have feature a label parameter which can be used to add a label to the order. Let me know if this helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Nov 2017, 10:31
Hi doanthedung,
Thanks for posting in our forum. Can you be more specific on what kind of help do you need?
Best Regards,
Panagiotis
@PanagiotisCharalampous