Topics
Replies

firemyst
23 Feb 2025, 08:31

Did you follow the instructions here for setting up your gmail account?

https:// help . ctrader . com /ctrader-algo/email-notifications/#sending-notifications-programmatically

 

 


@firemyst

firemyst
23 Feb 2025, 08:27

It might help if you post this under the “Suggestions” forum.

Or comment on this thread in the forum:

https:// community . ctrader . com /forum/suggestions/19313/

 

Or try what I suggested here:

https:// community . ctrader . com /forum/ctrader-support/43604/


@firemyst

firemyst
23 Feb 2025, 08:19

Provide a screen capture of what your cTrader is doing.


@firemyst

firemyst
23 Feb 2025, 08:18

Some brokers automatically set accounts to expire after 90 days. You may need to sign back up for another demo account if it has been more than 90 days.


@firemyst

firemyst
23 Feb 2025, 08:17

I myself don't understand what you're asking, and I suspect nobody else does either since you haven't had a response.

I don't know of a “C TREYDER”, but there's “cTrader”. cTrader is a platform, which can be downloaded from any broker that offers it as a platform for you to try.

 

I understand that funding firms provide demo accounts, but these are operated through other platforms and not directly via C TREYDER.

This doesn't make sense. cTrader is a trading platform just like MT4/MT5; anyone who gives you an account where you can use cTrader is a broker. A broker is not a platform.

 


@firemyst

firemyst
23 Feb 2025, 08:13

Web version only. It's been that way for a while. DOn't know why they won't release a desktop version. 


@firemyst

firemyst
21 Feb 2025, 07:08

Contact your broker. That's where the information, or lack thereof, would be coming from.


@firemyst

firemyst
20 Feb 2025, 23:46

By doing exactly what the warning message tells you to.


@firemyst

firemyst
19 Feb 2025, 10:07

RE: RE: RE: RE: bot crashes in backtest

kyosuke said: 

 

I expect getting help in translating that error code into a textual understandable error description, not for sure putting the source code of a program on a public forum…I don't think my concerns are strange, are they? :)

 

Well I wouldn't expect much help then, bceause you need to give a bit more for even Spotware to have something to investigate. 

And not asking for whole code - just sample code that reproduces the issue.


@firemyst

firemyst
19 Feb 2025, 00:15

It's when your margin falls below the Stop Out level.

Google “cTrader Smart Stop Out” for more information.

If you're not aware of what margins or stop-outs are, you shouldn't be trading a live account if you were.


@firemyst

firemyst
19 Feb 2025, 00:05

If you know where the data is stored on your SSD, perhaps trying creating a “symbolic link” to redirect that folder to a folder on your HDD.

 


@firemyst

firemyst
19 Feb 2025, 00:01

One way:

  1. Someone codes it in C#
  2. provides you the .algo file
  3. then you double click the .algo file to load it into cTrader
  4. where you can then select it from the Indicators list to show on your cTrader charts.

@firemyst

firemyst
18 Feb 2025, 23:55

You can try the following. But, before you do, make sure you've backed up any templates or other customized files/settings you may have.


@firemyst

firemyst
18 Feb 2025, 23:52

RE: RE: bot crashes in backtest

kyosuke said: 

firemyst said: 

  • There isn't one unless Spotware has a secret list
  • you're probably doing something that the code, whether you know it or not, expects to have access to something on the chart, which it obviously doesn't since it's in non-visual mode.
  • oh…and how do they expect developers to fix their code?
  • actually no, i'm only reading an indicator, placing stop orders, moving SLs and TPs

the only other thing i noticed is that right before the crash i have an “Modifying position PID30 (SL: 1.07551, TP: 1.083) FAILED with error "InvalidStopLossTakeProfit"” error…but i have this error also a few other times a lot of time before the crash so I don't think that's the point

 

If you don't post any sample code that reproduces the problem, I don't know how you expect people to be able to help you further.

 


@firemyst

firemyst
18 Feb 2025, 23:49

It's based on your broker, not cTrader. Different brokers can offer different sizes for different assets.

For instance, Pepperstone offers  lot sizes to Nas/Dow down to 0.1 lot sizes whereas Fusion Markets offers Nas/Dow lot sizes down to 0.01.


@firemyst

firemyst
18 Feb 2025, 13:35 ( Updated at: 18 Feb 2025, 13:36 )

RE: Y Axis - Show Only Specific Values

tmfd said: 

Thanks for the reply, however I'm referring to how to specify only certain y axis points are displayed this in code in my own indicator.  The built in stochastic indicator does it somehow although the source code isn't available.  I can't find any method of property that allows these values to be set.

Read my previous reply.

You have to use the “Levels” attribute in your code.

For example:

[Levels(0.0, 1, -1)]
 

will only display the values -1, 0, 1 along the Y-axis.

The Stochastic indicator uses [Levels(20,80)] to only show the 20/80 levels you see.

That is the only way to set the levels, and you cannot programmatically change them.

When you change them in your code and recompile your indicator, make sure to click the “reset” button in your indicator's property's window to see the latest changes take effect.

 


@firemyst

firemyst
18 Feb 2025, 09:11

RE: RE: Running a method in separate non blocking thread

sonnguyenvuson said: 

firemyst said: 

What's your overall goal? What are you wanting to do?

The idea is to run a trade operation on a separate thread, in this case modifying volume when a condition met, so that the main thread is not blocked. Because I need to check the condition using while loop, it will block my code until the condition is met.

Is there a reason you can't check the condition on every tick? A condition can't change on the current chart's symbol unless a tick comes through because the chart and data is only updated on every tick. 


@firemyst

firemyst
18 Feb 2025, 05:22

This has been suggested many times already. 

I wouudl encourage you to search this forum for other mentioned of this suggestion and vote on them as well to better bring this to their attention so it's implemented.


@firemyst

firemyst
18 Feb 2025, 05:20 ( Updated at: 25 Feb 2025, 04:12 )

duplicate of 

/forum/suggestions/46345/


@firemyst

firemyst
18 Feb 2025, 05:19


@firemyst