
Topics
Replies
PanagiotisCharalampous
27 Aug 2019, 09:55
Hi Matt,
If you change the trigger side e.g. set Ask for Buy, stop loss will be triggered by the Ask price but the deal will be executed on the Bid price, since it is a Sell deal. So the answer is yes, you will probably lose more than you expect.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Aug 2019, 09:51
Hi calgodemo,
You can try clearing your backtesting cache. Go to C:\Users\User\AppData\Roaming\Broker cTrader\BacktestingCache and delete the contents.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Aug 2019, 09:46
Hi wojcigakrystian,
Thanks for posting in our forum. cBots and Indicators are essentially .Net projects therefore it is possible to connect to a database.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 15:10
Hi Xavier,
What is the "IsHitTestVisible" property for? can we get an example?
That is a WPF property, you camnread more here and here.
My second question might be a request also, it seems we can't modify the grid lines inside a Grid, it would be nice to change the style, width, and color, I can use BorderPanel to circumvent this issue for the moment.
I will forward this suggestion to the product team
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 12:49
Hi office3131,
The issue is in optimization and it happens when you are using data from another timeframe.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 12:00
Hi ctid1160736,
If you are inquiring about subaccount information, then this information is not available at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:52
( Updated at: 21 Dec 2023, 09:21 )
Hi darcome,
I am not sure what do you mean but this is what I am referring to
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:45
Hi office3131,
This is a known issue and will be resolved in an upcoming update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:42
Hi Matt,
No this is not possible. Sell orders open on the Bid price (somebody bids a price for the asset and you sell) and close on the Ask price (somebody asks a price for the asset and you buy).
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:33
Hi elmstreettrading,
There is no such option at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:32
Hi Oleg,
Thanks for posting in our forum. Do you still have issues signing in to Open API?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:30
Hi Piotr,
Unfortunately this is not possible at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:24
Hi Klein,
Thanks for posting in our forum. Just right click on the chart, go to Viewing Options and uncheck Targets.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:22
Hi Anonymous,
Thanks for posting in our forum. We will fix this behavior in an upcoming update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:19
Hi youforex,
See below
using System; using cAlgo.API; using System.Timers; namespace cAlgo.Indicators { [Indicator(IsOverlay = true, AccessRights = AccessRights.None)] public class Clock : Indicator { private readonly System.Timers.Timer _timer = new System.Timers.Timer(); private TimeSpan _timeFrame; private TimeSpan _nextOpenTime; private int _serverHourDiff; private DateTime _serverTime; private int _index; protected override void Initialize() { _timer.Elapsed += OnTimedEvent; // OnTimedEvent is called at each timer tick _timer.Interval = 1000; // Timer will tick every Interval (milliseconds) _timer.Enabled = true; // Enable the timer _timer.Start(); // Start the timer } private void OnTimedEvent(object sender, ElapsedEventArgs e) { _index = MarketSeries.Close.Count - 1; _timeFrame = MarketSeries.OpenTime[_index] - MarketSeries.OpenTime[_index - 1]; if (_timeFrame <= TimeSpan.FromHours(24.0)) { _nextOpenTime = MarketSeries.OpenTime[_index].TimeOfDay + _timeFrame; _serverHourDiff = MarketSeries.OpenTime[_index].TimeOfDay.Hours - DateTime.Now.TimeOfDay.Hours; _serverTime = DateTime.Now.AddHours(_serverHourDiff); ChartObjects.DrawText("CountDown", (_nextOpenTime - _serverTime.TimeOfDay).ToString().Substring(0, 6), StaticPosition.TopRight, Colors.Orange); } } public override void Calculate(int index) { // Calculate value at specified index // Result[index] = ... } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:16
Hi all,
We are aware of the issue and we will fix it the soonest.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:12
Hi Max,
Thanks for posting in our forum. cTrader Web is not supported on iOS anymore.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:11
Hi blackzafiqz,
Thankls for posting in our forum. You can use Open API to access your account information.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2019, 11:07
Hi zunairh24,
Thanks for posting in our forum. Please use the Suggestions section to post suggestions. Custom indicators are not available on mobile applications.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Aug 2019, 09:59
Hi scalper1.
You cannot change your strategy name. You need delete it and create a new one.
Best Regards,
Panagiotis
@PanagiotisCharalampous