
Topics
Replies
PanagiotisCharalampous
18 Dec 2018, 09:31
Hi 1001camel,
I am happy that the issue has been resolved. Let us know if anything else occurs.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 16:59
Hi vancong140293,
Can you post the full cBot code to check it?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 16:18
Hi vancong140293,
Try changing your condition to the following
if (Symbol.Ask == targetprice + 0.02 && Positions.Find(label, Symbol, TradeType.Sell) == null)
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 15:15
Hi 1001camel,
We cannot detect any problems on the specific proxy. You can use WinMTR to run some network diagnostics. If the connection is fine, then probably there is some other issue with cTrader or your computer. In this case, please send us some troubleshooting information by pressing Ctrl+Alt+Shift+T, pasting the link to this discussion in the text box and pressing submit.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 12:42
Hi Mario,
The way stop limit is implemented in cTrader is in fact a market range order triggered when the stop price is reached. So if you send a market order with range, it will behave in the same way as it would if it was a stop limit order that was just triggered.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 12:36
Hi oliveira.phc,
MarketData.GetSeries(Timeframe) should work fine for tick data, as long as you set the timeframe from the interface. We just need to update the Timeframe class. We will do this in one of he upcoming updates.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:48
Hi Ton,
The problem is with your backtesting data, not with the event hanlders. If you want to backtest a cBot with logic in OnTick(), then you should be using tick data and not h2 (open prices).
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:42
Hi netread2004,
It seems that the sending time is 8 hours ahead of the logged time and the receiving time. Could that be the issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:36
Hi Mastah1238,
It is an internal feature of cTrader. We have added this feature in the backlog of cTrader Automate API.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:32
Hi Mario,
There is no such feature at the moment for DoM. For charts, you can configure market range for market orders via the QuickTrade settings.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:27
Hi deanmikan@gmail.com,
I would suggest to use Visual Studio for cBot/Indicator debugging. It will make your life much easier.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:24
Hi DelTrader,
Try something like this
var LongPositionsInPips = Positions.Where(pos => pos.Label == "Label" && pos.TradeType == TradeType.Buy).Sum(x => x.Pips);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:13
Hi tgjobscv,
You can find some of them here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Dec 2018, 11:09
Hi tgjobscv,
Can you please try refreshing the page using Ctrl + F5 and let me know if it resolves the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Dec 2018, 12:00
Hi dmn,
We do believe you, you are not crazy, we saw the video. We just need to find out why it happens.
I will check what we can do with the forum settings with the web dev team.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Dec 2018, 10:03
Hi apple0918528461,
Thanks for posting in our forum. Note that the charts are drawn based on the Bid price. Sell positions are closed based on Ask price. If the spread is high at that moment, then you might see this discrepancy on the chart. There is no option to see the Ask price on this chart at the moment, however you can use Print() function to print the Ask price in the log.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Dec 2018, 09:56
Hi Marcus,
At the moment t1000 is the highest number you can have for tick charts.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 17:53
Hi Futuresmo,
No we do not have this feature at the moment. You can suggest it on our UserVoice forum.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 15:45
Hi dmn,
I understand your concerns to allow access on your computer however there is no other way to help you at the moment. We tried this on many computers and we cannot reproduce it neither has anybody else reported such a behavior. Therefore there is no other way to find out what is going on unless we investigate this locally.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Dec 2018, 09:39
Hi Ben,
Thank you for posting in our forum and for sharing yor suggestion. Please note that cTrader Automate API features its own Timer class which works in backtesting as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous