Topics
Replies
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
13 Dec 2018, 12:14
Hi fxwisdom1@gmail.com,
Thanks for the video. We managed to reproduce the issue and we will fix it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 10:26
Hi dmn,
Unfortunately we cannot reproduce your issue. Would you be available for TeamViewer session so that somebody from our QA team can check this in your computer?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 10:24
Hi arron3@gmail.com,
See an example below
var rsim15 = Indicators.RelativeStrengthIndex(MarketData.GetSeries(TimeFrame.Minute15).Close, Period); var rsim30 = Indicators.RelativeStrengthIndex(MarketData.GetSeries(TimeFrame.Minute30).Close, Period);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 10:03
Hi jasson gu,
Here is an example
for (int i = 1; i <= 10; i++) { PlaceLimitOrder(TradeType.Buy, Symbol, 1000, Symbol.Ask - (50 * i * Symbol.PipSize)); }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2018, 09:53
Hi oliveira.phc,
A workaround is to get the timeframe as a parameter. See below
using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators; namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class NewcBot : Robot { [Parameter] public TimeFrame Timeframe { get; set; } protected override void OnStart() { var t = MarketData.GetSeries(Timeframe); } protected override void OnTick() { } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2018, 17:21
( Updated at: 21 Dec 2023, 09:21 )
Hi tgjobscv,
The link you posted does not seem to work. See below
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2018, 11:47
Hi Vitaly,
Yes you can. See an example below
Chart.DrawTrendLine("test", Server.Time.AddHours(-24), 1.14, Server.Time, 1.13, Color.Red); Chart.IndicatorAreas[0].DrawTrendLine("test", Server.Time.AddHours(-24), 0, Server.Time, 100, Color.Red);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2018, 11:26
Hi fxwisdom1@gmail.com,
I still cannot reproduce this. Can you please tell us your broker? A short video would also be helpful.
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