Topics
Replies

firemyst
03 Mar 2025, 02:09

I'm curious why you want to do this instead of just having the indicator overlay on the main chart?

 

If there isn't another way, the one way you can do it is read the tick data for each bar and draw your own candles. That will take up a lot of cpu processing time on cTrader's part, which you'd probably want to have to more quickly respond to your trade instructions.


@firemyst

firemyst
03 Mar 2025, 01:58

Restart cTrader?


@firemyst

firemyst
02 Mar 2025, 10:32

What do you want to do? Change the chart programmatically that the user is looking at? 

Or just want to change the data stream your code is reading from?


@firemyst

firemyst
02 Mar 2025, 10:21

I'm pretty sure there's a setting to show/hide it


@firemyst

firemyst
02 Mar 2025, 10:16

It would be great if you post this in the Suggestions forum where it belongs if you expect Spotware to see it


@firemyst

firemyst
02 Mar 2025, 10:13

Speak to your broker


@firemyst

firemyst
02 Mar 2025, 10:12

You can use the manage your trade window to do what you want 

It's not one click, but it's there


@firemyst

firemyst
02 Mar 2025, 02:23

I don't think they have any execution logs they share.

On the flip side, did you have any protections in your code to prevent such a thing from happening? That is:

  1. Do you have anything in your code that checks the spread before placing an order to make sure you both isn't placing orders when spreads double, triple, or even quadruple?
  2. Did you have anything in your code to stop your bot if you have more than x-number of consecutive losses?
  3. Did you have anything in your code to stop your bot if your pup losses exceeded a threshold?

@firemyst

firemyst
02 Mar 2025, 02:22

I don't think they have any execution logs they share.

On the flip side, did you have any protections in your code to prevent such a thing from happening? That is:

  1. Do you have anything in your code that checks the spread before placing an order to make sure you both isn't placing orders when spreads double, triple, or even quadruple?
  2. Did you have anything in your code to stop your bot if you have more than x-number of consecutive losses?
  3. Did you have anything in your code to stop your bot if your pup losses exceeded a threshold?

@firemyst

firemyst
02 Mar 2025, 01:50

Use the latest API method call.

It says you're using an older version of the method and parameters.

 

You need to use the new method with the new parameters


@firemyst

firemyst
02 Mar 2025, 01:43

And you haven't tried speaking to your broker to see if there's an issue on their end because… ?


@firemyst

firemyst
02 Mar 2025, 01:42

I don't think anyone has any ideas what you mean or what your issue is.

Can you describe it better?

 

If you can't go to the last tab, why not click on the right arrow ➡️ along the top of the tabs line to scroll the tabs further right so you can then click on the latest tab?


@firemyst

firemyst
02 Mar 2025, 01:37

You need to post this in the Suggestions forum.

 

This is tech help forum - they don't look at this forum for such things


@firemyst

firemyst
01 Mar 2025, 06:00

You need to post in the Suggestions forum.

 

Otherwise your request will be ignored since this is for tech support 


@firemyst

firemyst
01 Mar 2025, 05:59 ( Updated at: 02 Mar 2025, 22:25 )

Ctrader tends to keep the chart where you last scrolled to. So don't scroll it. :-)

However in your code, you can try the ScrollToX method:

https:// help . ctrader. com /ctrader-algo/references/Chart/Chart/#scrollxby


@firemyst

firemyst
01 Mar 2025, 03:22

Post a screen capture.

When you select an indicator and hit ok after the config dialog, it automatically shows up on your chart, or below it, depending on what you specified.


@firemyst

firemyst
01 Mar 2025, 03:19

Don't believe you can. Ctrader doesn't have the ability to remember drawing defaults.


@firemyst

firemyst
01 Mar 2025, 03:17

Why don't you Google the order type to see what it means?

 

Sometimes self discovery is a wonderful thing 😁


@firemyst

firemyst
01 Mar 2025, 03:15

Keep in mind different brokers could have different minimum sizes.

 

For instance, I know some brokers have a minimum lot size of 0.1 for indices, whereas others allow 0.01.


@firemyst

firemyst
01 Mar 2025, 03:13

Check ✔️ mark means symbol is trading.

 

Red or green means it's trading up or down


@firemyst