PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
06 Dec 2018, 09:18

Hi tgjobscv,

You can consider contacting a Consultant to convert the cBot for you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 15:05

Hi protonmt4,

Thanks for your suggestion. Both afhacker and Paul Hayes are prominent and active members of our community and they have contributed lots of open source tools as well. I don't think it makes any harm if they also "advertise" some paid products since they make a living out of this. Also I find it more convenient that all available cBots and Indicators are accessible in one place, both paid and free. Third party products discussion is mostly for announcements and discussions for these products which are not limited to cBots and Indicators but could be applications as well e.g. myfxbook or SignalStart.

Regarding the fact that cBots without source code are not allowed, this is mostly related to security, as we want to avoid potentially harmful cBots to be distributed from our site.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 14:43

Hi bienve.pf,

Use the following line of code

var txt = IndicatorArea.DrawText("txt", "EURUSD1", index + 3, 1, Color.Orange);

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 12:47

Ηi sean.n.long,

Please post the code so that we can have a look.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 12:32

Hi Dagfx,

There is no option to go back to the previous version. I will forward your feedback to the product team.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 12:29

Hi eirik_1993,

Thanks for posting in our forum. In principle, it is possible to create a custom indicator for this. You could post a Job or contact a Consultant to help you with this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 12:23

Hi Matt,

Thanks for your post but it is not clear how we can help you. Can you please explain what do you need?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Dec 2018, 12:06

Hi bienve.pf,

"Hello, is it possible to draw text or lines in an indicator with IsOverlay = false?"

Yes this is possible

"AND, It is possible to paint text with different size in Charts?"

It is not possible to set the text size at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 12:50

Hi bienve.pf,

This seems to be a bug. We will check it and fix it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 12:02

Hi netread2004,

To investigate this I will need the time it happened, the broker, your account number and the proxy you used. Please provide this information so that we can check further.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 10:57

Hi Patrick,

A suggestion is to check the position's take profit before modifying. If it is the same with the position you want to copy from, skip modification. This should break the loop.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 10:44

Hi nguyendan81985,

The proper solution to this would be to make haOpen and haClose as output parameters in the indicator, call the indicator from the cBot and then use HasCrossedAbove and HAsCrossedBelow from the cBot to make the check. It will require some effort to do this so if you need some professional help, I would suggest that you post a Job or contact a Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 10:21

Hi Patrick,

This happens because the two versions use a different API but it is stored in the same folder \Documents\cAlgo\API. So the application installed last will put it's API dll there and will cause trouble to the other one. In general, this in not a problem since our applications are usually updated in a short amount of time and all brokers use the same API. However in this case it takes some time for all brokers to upgrade to 3.3 and this problem occurred. A workaround for this issue is to delete the contents of this folder and restart the application you want to use.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 10:13

Hi vancong140293,

You can get all the positions for the symbol that the cBot is running on using the following line of code.

var positions = Positions.Where(x => x.SymbolCode == Symbol.Code);

If there is only one then you can get the entry price with the below

var entryPrice = positions.First().EntryPrice;

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Dec 2018, 09:57

Hi rovailore,

If your balance is in EUR and you are trading EUR then you can use the code below to calculate the volume.

var volume = Symbol.NormalizeVolumeInUnits(Account.Balance, RoundingMode.ToNearest);

If you are not trading EUR but you want to calculate the volume equivalent to your account's balance then this will become more complicated as you will need to make the necessary conversion from EUR to the traded asset.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2018, 16:48

Hi rovailore,

Can you explain what do you mean when you say "100% of balance per trade"? Do you mean to adjuct the SL so that you risk x% of your balance each time?

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2018, 12:15

Hi nguyendan81985,

You get this error because haOpen is not declared. I am a bit confused about what you are trying to do. Why don't you just call the indicator from within the cBot?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2018, 11:28

Hi dmn,

Thank you for your suggestion. However I would advise you to post it either on our UserVoice forum or in the Suggestions section. If you post suggestions in the wrong sections then they are not easily traceable and might get lost.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2018, 11:23

Hi William,

Can you share with us the complete cBot code so that we can fix it? It the above code sample the definition of result is missing.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2018, 11:21

Hi Mailto.nileshsingh,

Thank you for posting in our forum. Tick volume is not available via FIX API. If you need tick volume, you can consider using Open API.

Best Regards,

Panagiotis


@PanagiotisCharalampous