Replies

PanagiotisChar
20 Mar 2023, 13:24

Hi ncel01,

Well, the question for me is why this does this not happen to anybody else. So there must be something different in your case than mine that causes the issue.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 10:15

Hi all,

Try setting your AccessRights to FullAccess. It was the solution to the problem anytime I came across this.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 10:10

Hi to both,

The below might help

  1. check for files in a folder along the path C:\Users\%UserName%\AppData\Local\Spotware. You can see the expected result in the screenshot below 
  2. If the files are missing or corrupted, download .net sdk 6.0.100 and install it 
  3. Copy that two folders with names packs and shared from path C:\Program Files\dotnet into C:\Users\%UserName%\AppData\Local\Spotware\dotnet

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 10:01

Hi robertt,

As far as I know the orders are treated independently and there is no specific order. Why does that matter for you?

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 09:58

Hi there,

Range and Renko backtesting are available in cTrader Desktop v4.6.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 09:56

Hi there,

It seems you are using Mida. Try asking in their Telegram chat 

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 09:55

Hi noob7,

It's impossible for somebody to help you with this kind of information. What code are you running? What do you mean the code hangs? Did you debug it on your side?

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 09:52

Hi there,

This is by design, it's a new requirement added by Spotware recently.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
20 Mar 2023, 09:51

Hi there

If I give this cBot to some people, can they somehow get the source code even if it says the source code is not available in cTrader? Because I do not want that. I have put too much work into this cBot. 

Theoretically yes, nothing is unbreakable. But it is too difficult for the average user, therefore you are relatively safe.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


 


@PanagiotisChar

PanagiotisChar
17 Mar 2023, 16:49

Hi there,

Try 

double lastCandleOpen = Bars.OpenPrices.Last(0);
double lastCandleClose = Bars.ClosePrices.Last(0);

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
17 Mar 2023, 09:21

Hi rob.email8,

The stop loss will be triggered and the order will be closed. The SL is ignored only when the current bid price is below the SL.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
17 Mar 2023, 09:03 ( Updated at: 21 Dec 2023, 09:23 )

Hi ncel01,

Just a friendly note that what you are doing to this forum is not nice. Obviously there is something specific to your setup as there are thousands of users of cTrader and not everybody has this issue. For example, I am running 16 instances of cTrader at the same time for weeks and this is what I get

Is it more than MT4? It is. But I don't want MT4. Is memory accumulating over time? It is. But there might be many reasons for this, like chart bars, ticks or whatever else streamed being accumulated, garbace collector not being called by .Net and many more. 

In your case, the situation seems extreme, and seems that the memory built-up comes from the UI, not from the algo. What you get is not what the average user gets. There is something in your UI that causes this, but probably Spotware cannot identify it nor they had this case in their internal tests. It could be something with the charts, some forgotten instance in the Automate section, anything. I don't believe that they are ignoring you intentionally or they can see this on their computers but they do nothing about it.

I would suggest a more constructive approach than going around the posts and spitting hatred against Spotware. The only thing you will achieve this way is getting banned and your problem won't be solved. Maybe try to identify what causes this yourself and help Spotware pinpointing this problem. Start with a clean installation and a brand new workspace and start adding things on the UI to see what causes this extreme accumulation. 

If you want, contact me on Telegram and I can help troubleshooting and liaising with the team.

Just trying to help.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
17 Mar 2023, 08:41

Hi denn,

There is no option in cTrader to do this. But you could write some kind of an indicator to show/hide lines representing the positions you want on the chart.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
16 Mar 2023, 08:38

RE:

heinrich.munz said:

(How) Is it possible to use the cAlgo.API.dll completely stand alone for automated cBots without the whole cTrader graphical environment?

For very sophisticated backtesting and optimizations strategies like walk forward optimization etc. this would be very helpful. 

It would take just a piece of code (i.e. a command line app) which initializes all necessary parts of the cAlgo.API.dll, gets access to the backtest data cache (ticks, bars, etc.) and then calling the cBots Methods...

 

 

Hi there,

It is not possible at the moment. But there is a project called cTrader Console that should reach the market soon and will do exactly that.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 


@PanagiotisChar

PanagiotisChar
16 Mar 2023, 08:34

Hi there,

HasCrossedAbove and HasCrossedBelow take two arguments, not one. You also need to set the periods

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 


@PanagiotisChar

PanagiotisChar
15 Mar 2023, 10:15

Hi there,

I have a feeling that you are in the wrong forum :)  try contacting ONNX since it's their library that throws this exception.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

PanagiotisChar
14 Mar 2023, 09:11

Hi there,

You need to use cTrader 4.6. Else just ignore the conversion.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar

PanagiotisChar
14 Mar 2023, 07:46

Hi there,

Well that's not what you asked for initially :) Here is an example

var volume = Symbol.NormalizeVolumeInUnits(Balance * Symbol.DynamicLeverage[0].Leverage / AssetConverter.Convert(1, Symbol.BaseAsset, Account.Asset));

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisChar