Topics
Replies
PanagiotisCharalampous
30 Aug 2022, 09:05
Hi there,
You can use the Stop() method.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
30 Aug 2022, 08:26
Hi there,
There is no such feature at the moment.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
30 Aug 2022, 08:23
Hi there,
This is by design.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
30 Aug 2022, 08:18
Hi there,
Can you please let us know if you still experienc this issue?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
29 Aug 2022, 10:09
Hi belasto,
First you need to declare some Output IndicatorDataSeries
[Output("Threshold", LineColor = "Green")]
public IndicatorDataSeries High { get; set; }
[Output("Threshold", LineColor = "Red")]
public IndicatorDataSeries Low { get; set; }
Then you need to pass the values to the data series
if(HighPrice < Bars[index].High){
HighPrice = Bars[index].High;
High[index] = HighPrice;
}
if(LowPrice > Bars[index].Low){
LowPrice = Bars[index].Low;
Low[index] = LowPrice;
}
At last, you can access these data series from your cBot
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
29 Aug 2022, 09:53
Hi soulini,
Can you provide the links to the indicators?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
29 Aug 2022, 09:50
Hi there,
Check with your broker if they offer fractional lot sizes for indices.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
29 Aug 2022, 09:44
Hi Jay,
I tried this both on 4.2.22 and 4.3.9 and works fine for me. The cBot terminates without problems.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2022, 16:10
Hi Jay,
It is possible to provide something that runs, so that I can run it and see the error immediatelly?
The code you provided has errors and I cannot be guessing.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2022, 14:27
Hi Jay,
Can you share the cBot code so that we can have a look?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2022, 12:12
Hi soulini,
Which indicators are you using?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2022, 09:32
Hi Vadivelan,
Sure, if it is an easy fix, I will help.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
26 Aug 2022, 08:50
Hi Vadivelan,
Unfortunaltely the code you sent references some external libraries therefore we won't be able to build it. If you have paid for this cBot, then the first thing you should do is to contact the developer.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 14:46
Hi there,
Please provide the complete cBot code and backtesting parameters so that we can reproduce the issue.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 14:41
Hi there,
This issue will be resolved in an upcoming update.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 12:29
Hi there,
We are aware of the issue and it will be fixed soon.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 09:55
Hi noolohp,
it will then direct that Bars.Opentime[i] must be 1 bar ahead of Bars.Last(1).OpenTime and not as the result shows.
No that is not how it works. Bars.Last(1).OpenTime is not equal to Bars.OpenTime[i]. Last() methods counts backwards therefore Bars.Last(1).OpenTime = Bars.OpenTime[Bars.Count - 2]
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 09:09
Hi there,
Try making your objects interactive. See below
var text = Chart.DrawText($"{lastOsci1}" + $".{barHighValue}", $"{lastOsci1}", Bars.Last(1).OpenTime, barHighValue, Color.Red);
text.IsInteractive = true;
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
25 Aug 2022, 09:06
Hi TaoCTID,
Can you share your cBot code so that we can explain what happens?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
PanagiotisCharalampous
30 Aug 2022, 10:39
Hi there,
Can you provide more specific information e.g, a video deonstrating what you are looking at?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous