
Topics
Replies
PanagiotisCharalampous
02 Apr 2020, 08:20
Hi mrha1000,
You need to change that line of code to the following
System.Windows.Forms.Application.Run(form);
since there is a conflict with the cBot's Application property.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 16:57
Hi Tj11,
Check here. You are actually missing an object initializer.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 16:49
Hi driftingprogrammer,
Renko or Range Block size of whatever 20,30,40,50,100
Thanks, this is what I needed. I have forwarded this issue to the product team to check.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 16:43
Hi terminalclub,
Just change cTrader time to UTC+3.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 16:12
( Updated at: 21 Dec 2023, 09:21 )
Hi,
If you change the _senderSubID to QUOTE, as expected in the Rules of Engagement, it should work fine. I will update the sample to reflect this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 15:12
Hi kittu.ce10,
1) If you change the timezone then the Server.Time will give you time in that timezone.
2) Volume is always set in units. If you want to use Lots as a parameter you will then need to convert it to volume using Symbol.QuantityToVolumeInUnits()
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 15:07
Hi luca,
You can keep the symbol in a variable. See below
var symbol = Symbols.GetSymbol("EURUSD");
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 15:05
Hi travkinsm1,
It seems to be an issue with the indicator but I am not sure what exactly is causing this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 12:09
Hi there,
Can you post a screenshot of the relevant code part as below? As you can see I can login without any issues. I have changed nothing from the example application except the proxy and credentials.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 10:32
Hi nmaxcom,
OnBar() is called whenever a bar is closed and a new bar is created. It is a simultaneous event, there is no in between situation. Last(0) represents the current bar and Last(1) the bar before. It is just a convention that you need to get used to it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 09:10
Hi nmaxcom,
I don't understand what is the problem with Last(1). Can you please explain?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 09:06
Hi there,
RET_INVALID_DATA indicates a wrong password. Can you please check your password again?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 08:30
Hi mrha1000,
You need to provide more information. What error do your get?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 08:27
Hi there,
HLC charts are not available in cTrader desktop at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 08:23
Hi trading.university01,
There is no such option at the moment unfortunately.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 08:18
Hi driftingprogrammer,
I still need the exact chart you are using. Which renko/range chart is it? Just send us a full screenshot of cTrader and we will figure this out.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Mar 2020, 08:13
Hi kittu.ce10,
To start learning how to program using the API, you can start by looking at our cTrader Automate guide and the cTrader Automate Reference. Let me know if you have any specific questions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Mar 2020, 15:31
Hi driftingprogrammer,
Can you please tell us your broker and the exact chart we are looking at?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Mar 2020, 08:26
Hi Anton,
Yes you can use the Y property of the ChartHorizontalLine object.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Apr 2020, 08:29
Hi Luca,
Here is an example of how to get a stochastics oscillator for another symbol
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous