Topics
Replies
PanagiotisCharalampous
20 May 2019, 16:17
Hi nmaxcom,
I mean that since you closed the last position and until the end of the backtesting, the equity fluctuated between 6344.63 and 4980.22. It is seems there is a position open when the backtesting is completed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2019, 10:33
Hi zedodia,
The stop loss should be set in pips but you pass a price instead. You need to convert it into pips or use ModifyStopLossPrice after the position is opened.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2019, 10:30
Hi zedodia,
Can you check the log in case there are any errors there?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2019, 10:29
Hi nmaxcom,
There is no issue here. No positions are cut off or lost on ending the backtesting. What you are showing to us is the values that the equity fluctuated in between since closing the last position. To see the equity of the account when backtesting stopped, please check the Trade Statistics tab.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2019, 10:24
Hi nmaxcom,
The filter is for ROI to be above 50% for the last week. What you are showing to us is the All Time ROI.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2019, 09:19
Hi bishbashbosh,
We had a look at this behavior. It is caused because you are using Stop Limit orders. If the execution price of the order falls outside the range of the order, it will be cancelled.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 17:32
Hi jarvischo,
Let me know if this helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 15:48
Hi Lukas,
It is not possible to have an array as an input parameter. You can get the values as string and use string.Split() to make the separation into an array.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 14:46
Hi Symposium,
This is already available in Symbol parameter. See below
Print(Symbol.Code);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 14:43
Hi zedodia,
Can you please explain why do you think it does not work? I ran a backtesting and I get trades.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 14:37
Hi bishbashbosh,
In the absence of anyone from cTrader replying, I would be very interested if anyone else runs the above code and does/does not see the same behaviour.
We managed to reproduce and we are investigating :) we will reply!
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 14:36
Hi jarvischo,
Thanks for posting in our fourm. Can you try a hard refresh (Ctrl+F5) and let me know if it resolves the issue? This is usually related with cookies and should be fixed if you clean them.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 May 2019, 14:29
RE: Release Date
ctid1234940 said:
I love the upgrade and there is a feature in Automate I would really like to use.
Spotware said [ON March 7]:cTrader Desktop 3.5 will be released to brokers in the nearest future. Meanwhile, you can try the new features on Beta version.
Could you please approximate the term "nearest future". Are there complications?
Is it within days, weeks, months? Is Spotware responsible for the version change or the brokers?
So is there another delay (weeks?) with the broker implementing it?
Hi ctid1234940,
We still do not have an ETA for the release. We are polishing out some minor bugs. When we feel is ready for production we will roll it out to brokers.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 May 2019, 12:39
Hi Patrick,
I am not sure what suggestions do you need. The warnings are clear. You shoud use Chart.DrawStaticText() instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 May 2019, 09:22
Hi ryan.a.blake,
TRAILING() method is not called anywhere in the cBot.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 May 2019, 09:14
Hi nelson.pmf.sc,
You can try something like this
protected override void OnBar() { if (Server.Time.DayOfWeek == DayOfWeek.Saturday) return;
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2019, 16:05
Hi alex_mihal,
See below
var sma = Indicators.SimpleMovingAverage(MarketSeries.Close, 10); if (Symbol.Bid > sma.Result.LastValue) { //Do something }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2019, 09:19
Hi ryan.a.blake,
Can you please explain to us what do you mean when you say it is not working. What does it do and what did you expect it to do instead?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 May 2019, 09:17
Hi nelson.pmf.sc,
See below how to declare a stochastic oscillator
var _stochastic = Indicators.StochasticOscillator(9,3,9, MovingAverageType.Simple);
The parameter you need to check is
_stochastic.PercentK
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 May 2019, 09:46
Hi Alex,
Just set the indicator attribute to IsOverlay to true. See below
Best Regards,
Panagiotis
@PanagiotisCharalampous