
Topics
Replies
PanagiotisCharalampous
26 Oct 2020, 15:28
Hi mr.martinnovak,
No we cannot restore deleted accounts, I am sorry. Regarding the funds, please talk to your broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 15:25
Hi m.mohammadreza.m.s,
I cannot write the code for you but I can provide you with an example. See below
Chart.DrawRectangle("fast", Bars.Count - 3, maxfast, Bars.Count - 1, minfast, Color.Red);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 15:19
Hi YouFX,
You will need to write this code yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 15:11
Hi m.mohammadreza.m.s,
What do you need exactly? An example of how to draw a rectangle or somebody to write the complete code for you?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 15:01
Hi YouFX,
I know that. My code is adjusted to your code. To detect the indices of the high and low you will need to implement the relevant functionality..
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 14:16
Hi JeanPaul,
Do I need to do this function to get the masterIndex as well as the slaveIndex?
You need to do this for every TimeSeries coming from a different timeframe
What is the difference between GetIndexByTime and GetIndexByExactTime, what should I use if I rely on 0 UTC on everything?
GetIndexByExactTime will return -1 if there is no exact time match. GetIndexByTime will return the closest index.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 11:21
Hi mr.martinnovak,
1) To delete your accounts you need to contact your broker
2) Regarding the error message, try with a shorter description
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:48
Hi Jason,
Do you get any error messages? Did you try a clean installation?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:46
Hi Jason,
Can you please provide more information about this issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:44
Hi Robert,
This is not possible at the moment but we plan adding this feature in a future update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:42
Hi Emmanuel,
Unfortunately we do not have such an example at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:40
Hi Enammuel,
You should be able to do so.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:26
Hi joanne_llamado,
Here is an example
var sma = Indicators.SimpleMovingAverage(Bars.ClosePrices,14);
if(Bars.HighPrices.Last(1) < sma.Result.LastValue)
{
// do something
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:17
Hi chatcpe,
This happens because you use the genetic algorithm. Try the grid method instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:12
Hi ajbozdar,
If you hover your mouse over these buttons you will get an explanation of what each case does. You can find the explanation here as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:08
Hi Christian,
It is not clear to me what is the problem here. Can you provide steps to reproduce this behavior?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:05
Hi ajbozdar,
cTrader is backwards compatible, so all indicators should run without a problem.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 08:03
Hi YouFX,
See below
protected override void Initialize()
{
var daily = MarketData.GetSeries(TimeFrame.Daily);
var dailyHigh = daily.High.Last(1);
var TimeHIGH = daily.OpenTime.Last(1);
var dailyLow = daily.Low.Last(1);
var TimeLOW = daily.OpenTime.Last(1);
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 07:58
Hi m.mohammadreza.m.s,
The below lines of code do not make much sense. I am not sure what are you trying to do
public ChartRectangle DrawRectangle(string Fast, int index1, double minfast, int index2, double maxfast, Color = Color.BlueViolet, int thickness = 1, LineStyle = LineStyle.Lines);
public ChartRectangle DrawRectangle(string Medium, int index1, double minmedium, int index3, double maxmedium, Color = Color.BlueViolet, int thickness = 1, LineStyle = LineStyle.Lines);
public ChartRectangle DrawRectangle(string Slow, int index1, double minslow, int index4, double maxslow, Color = Color.BlueViolet, int thickness = 1, LineStyle = LineStyle.Lines);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Oct 2020, 15:44
Hi mr.martinnovak,
You should address these questions to your broker.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous