
Topics
Replies
PanagiotisCharalampous
10 Apr 2018, 11:19
Hi xjavicx,
Thanks for posting in our forum. Did you try to contact your broker regarding this?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 11:13
Hi to all,
We will consider adding this feature in a future release. In the meanwhile, a workaround would be to have an integer as a parameter which would then convert to the timeframe within the cBot. A bit sloppy solution but it would work.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 11:05
Hi yearn2012,
You need to change the object name each time. See below an example
ChartObjects.DrawLine(index.ToString(), index - 1, 0, index - 1, 131, Colors.Red, 2, LineStyle.Solid);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:58
Hi yearn2012,
You can use a condition in the Calculate function and skip the calculation for bars before a certain time. See below
private DateTime _openTime; protected override void Initialize() { // Initialize and create nested indicators } public override void Calculate(int index) { if (MarketSeries.OpenTime[index] > _openTime) { // Calculate Indicator; } }
Let me know if this helps,
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:50
Dear yearn2012,
Please post your issue in a separate thread as it is not related with this one.
Dear fermjy,
You are welcome to post your suggestion in the Suggestions section of our forum.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:45
( Updated at: 21 Dec 2023, 09:20 )
Hi Sasha,
Each broker can configure different min and max volumes for each symbol. See below the relevant information for the two brokers you mentioned
FxPro
Kawase
The issue here is that cAlgo cannot handle fractional volumes, therefore in the case of Kawase it rounds it down to 0. This will be resolved with cTrader 3.0.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:36
Dear Trader,
Thanks for posting in our forum. You can use Modify Position to achieve that.
Let me know if this helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:32
Hi ycomp,
You can download cTrader 3.0 Beta here. It has not been rolled out to brokers yet.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:29
Hi megha,
You can have a look at Connect API. It has requests that can return you executed deals.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:24
Hi tradingu,
No this will not be a part of cTrader 3.0. It will be added in a future release.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:17
Hi lec0456,
This information is not accessible via code. However, you can record the start and stop time in the OnStart() and OnStop() methods.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 10:10
Hi yearn2012,
I tried to build the posted indicator in both cAlgo and VS 2017 and I get no errors. Please make sure you have posted the correct indicator.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 09:59
Hi yearn2012,
We will need the code for the indicator to be able to help you. Unfortunately the error messages are in Chinese therefore we cannot understand what the problem might be.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 17:12
Hi nicolkoekoek,
If you need to reference a custom indicator in your code, you need to follow the process described here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 16:45
Hi nicolkoekoek,
Is zigzag a different indicator? If yes, then you will need to convert that one as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 16:15
Hi Sasha,
Each cBot has a TimeFrame parameter. See below
protected override void OnStart() { Print(TimeFrame.ToString()); }
Hope this helps you!
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 16:11
Hi nicolkoekoek,
It seems that the converter does not convert the MQL code properly in this case. Unfortunately there are a lot of errors and you might need the assistance of a Consultant to complete this migration.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 15:28
Hi megha,
You can find all information about FIX API here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Apr 2018, 14:48
Hi nicolkoekoek,
Thanks for posting in our forum. Could you send us the cAlgo code instead? I don't see how we can help you with the MQL code.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Apr 2018, 11:24
Hi anton.kovalchuk,
If you could share the indicator with us, then maybe we could create an example for you.
Best Regards,
Panagiotis
@PanagiotisCharalampous