What is stopping you from doing so? The code sample you have shared should have more or less work, if the data source you pass to the indicator is correct.
cBot can be stopped by killing the CLI process. This is the command implied by the documentation
Journal File Generation / Date and Time in CLI Log
Stdout contains all the information and can be forwarded to a text file. You can also implement your own logging functionality. We do not have any further plans at the moment.
Best regards,
Panagiotis
Dear Panagiotis,
Can you please provide more details about the “stdout” you mentioned? I cannot find this file nor I am able to find any documentation about this.
Please send us some troubleshooting info and quote the link to this discussion by pasting a link to this discussion inside the text box before you submit it.
Best Regards,
Panagiotis
Hi, do you have an answer for the issue?
The team is investigating and it will be fixed in an upcoming update
Thanks @PanagiotisCharalampous. Is there a temporary solution/hack I could use locally while you're guys finishish a proper fix? It's just a showstopper that stops the whole work I'm doing.
Unfortunately there isn't. It seems that some data of the specific broker is corrupted and needs to be fixed
I trade gold in lots. For example 0.22 units. Thanks for the help.
Hi Andrea,
It seems you are converting your Quantity from quantity to volume in units. Hence the input is translated to lots, not to units. What symbol are you trading and what is the lot size?
Best regards,
Panagiotis
Hi Andrea,
What is the lot size of your broker e.g. for IC Markets is 100 units per lot. So if you type 0.22, it will trade 22 Oz of gold.
I installed the version pf MacBook c trader but the advance protection option is not exist on it and there is no even the bottom of advance option. I will be appreciated for helping me.
best regards.
Hi there,
This is not available at the moment, it will be added in an upcoming release.
Good morning, thanks, I will try to do as you say.
14-01---ok I managed it but it gives me a problem. I put a textBox that takes a string and saves it in the Quantity variable. The latter is linked to the Button_Click_Buy function. In the execution phase I enter a value in the textbox, for example 0.10, I click the button and it opens the position without the decimal part so 10.00. Another example: I enter 0.01 and set the variable to 1.00. What did I do wrong? Thank's my friend.
It seems you are converting your Quantity from quantity to volume in units. Hence the input is translated to lots, not to units. What symbol are you trading and what is the lot size?
PanagiotisCharalampous
18 Jan 2024, 10:02
Hi there,
Use String.Replace() instead.
Best regards,
Panagiotis
@PanagiotisCharalampous