Topics
Replies
PanagiotisCharalampous
24 Nov 2020, 08:29
Hi john_7ko,
Yes this is correct. To achieve this you will need to code your own stop loss logic that will run in OnBar() method.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Nov 2020, 08:25
Hi Yuval,
Copying process takes place on the server so there is nothing you need to worry about. Your pc does not need to run.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Nov 2020, 08:23
Hi imrealfighter,
Pending orders are stored in PendingOrders property.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Nov 2020, 08:14
Hi jayteasuk,
As per the documentation
Specified in 1/100'000 of a unit of the price
So for every one unit price of distance you need need to multiply by 100000 e.g. if you want to set a stop loss at 0.1 distance for XPDUSD, then SL = 0.1*100000. The rule is the same for all symbols.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Nov 2020, 08:05
Hi hyiper,
You can have a look at Trade Copier.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 16:18
Hi emreymiranda,
We managed to reproduce the stochastic oscillator bug and we will fix it in an update. However, we could not reproduce the advanced protection problem. Is it possible to record a short video demonstrating this behavior?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 15:47
Hi Simon,
Is there a possibility to send us the source code of one of the cBots for which you experience this problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 11:00
Hi xabbu,
Here is an approach
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 Onceaday : Robot
{
bool _allowTrading;
protected override void OnStart()
{
var _dailyBars = MarketData.GetBars(TimeFrame.Daily);
_dailyBars.BarOpened += _dailyBars_BarOpened;
_allowTrading = true;
}
private void _dailyBars_BarOpened(BarOpenedEventArgs obj)
{
_allowTrading = true;
}
protected override void OnTick()
{
if (_allowTrading && Time.Hour >= 12 && Time.Minute >= 37)
{
_allowTrading = false;
// Execute trading
}
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 10:30
Hi xabbu,
No there is no such function within cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 10:07
Hi abcdavid13,
Unfortunately this is not possible in cTrader Web.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:58
Hi ed.centa,
There was maintenance taking place over the weekend. Everything should be fine now.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:55
Hi all,
There was maintenance taking place over the weekend. Everything should be fine now.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:55
Hi Yuval,
There was maintenance taking place over the weekend. Everything should be fine now.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:53
Hi abcdavid13,
You cannot use custom indicators on cTrader Web.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:52
Hi all,
There was maintenance taking place over the weekend. Everything should be fine now.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:51
Hi all,
There was maintenance taking place over the weekend. Everything should be fine now.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:47
Hi 123123,
Yes it is. You can use standard WinForms message boxes to achieve this or your own custom WinForms or WPF forms.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:46
Hi alexsunny,
Historical data are provided by the brokers. You need to contact ICMarkets regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Nov 2020, 09:43
Hi imrealfighter,
There is no such pdf available. To start working with FIX API, you can read this article and try our example application.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Nov 2020, 08:37
Hi imrealfighter,
To add a horizontal line to the chart, you need to use Chart.DrawHorizontalLine() method.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous