Replies

crou
25 May 2023, 12:12 ( Updated at: 21 Dec 2023, 09:23 )

Hi,

it's IC Markets, EURUSD, UTC + 0 (Server Time).

This morning I can see there is no gap on h4. You can see it captured in the picture that it was there (and it lasted for hours).

 

 


@crou

crou
04 Feb 2023, 20:38

It has been still the same issue I wrote here:

cTrader 4.2 - Indicator instance process stopped responding and was terminated


@crou

crou
12 Sep 2022, 12:33

^


@crou

crou
10 Sep 2022, 17:00 ( Updated at: 10 Sep 2022, 17:01 )

I have just read at the bottom of "What's New" that Auto Format is now to be done with Ctrl + D.

It could be done on save too though.


@crou

crou
09 Sep 2022, 16:43 ( Updated at: 09 Sep 2022, 18:35 )

Hi,

the problem looks like independent from the indicators code. It seems that the platform can not handle many instances of the same indicator at the same time.

After creating a setup with a template of multiple instances of new indicator on each chart, when refreshed they get all suspended.

Indicator instance process stopped responding and was terminated

The person that has been using the indicators got back to the 4.1 version and they are working normally back again like they have been for years.

No errors, no performance issues and they are multi time frame, using references, timers, etc.

Something must be done with that suspending functionality. It either should not be there or it should be an option or it should be limited to errors in the code (like crashes). The performance part just must work like before the 4.2 update.


@crou

crou
07 Sep 2022, 16:40 ( Updated at: 10 Sep 2022, 16:50 )

Hi Panagiotis,

 

Yes, I meant the auto format functionalty.

Why has that been taken away after all the years it had been there. This is so fundamental.

 

Is it possible to stay on the 4.1 version avoiding any future updates.


@crou

crou
07 Sep 2022, 15:40

Hi,

when you look at the code above, you can see that the lines start in random places.

There used to be automatic tabulations before. After saving or building the file, the text was being formatted.


@crou

crou
07 Sep 2022, 15:21

Right, with this one I rushed a little, but the other ones are still valid.


@crou

crou
06 Sep 2022, 16:29 ( Updated at: 09 Sep 2022, 18:30 )

Hi Panagiotis,

 

not quite as that has been an indicator I made for someone as a job about two years ago and now he got back to me.

Generally the idea is very simple. The mentioned sound is to be played when the market criteria are being met.

 

The indicator is multitimeframe. I am attaching multiple instances on each of multiple charts.

When there is a few charts it is slow but not suspended. When adding more charts, they all became suspended.

It has never been like that before.

 

EDIT:

I think the point is that for the single instance of the indicator the sound is being played at the same time for all the time frames when the market criteria are being met. And there are multiple instances on a lot of charts. Maybe they should be ran one by one and not at the same time.

EDIT 2:

Now I am sure it is not about the threading. The 4.2 version seems to not to be able to handle a lot of data.

When I turned off the sounds and even displaying the moving averages lines, all the indicators still become suspended for a bigger setup.


@crou

crou
04 Apr 2022, 14:49

Hi, can you reveal when is it going to be released with ICMarkets? Thanks.


@crou

crou
29 Dec 2021, 15:57

Hi Panagiotis,

 

the idea is that when I want to output series from two time frames, if one of the series has its values far beyond the clean chart view, the price is being automatically shrinked vertically to fit all the series to the chart view. The candles look smaller then and sometimes even flat.

 

I don't want that to happen. I would like the candles to look always the same and fill the chart view like when the chart is clean. I don't need the series from beyond the view to scale the view to be visible.

 

That seems to be a common behaviour, that must for sure has a solution.


@crou

crou
29 Dec 2021, 15:27

Why doesn't this question have an answer. Is it so obvious?

 

Please reply. Thank you.


@crou

crou
23 Dec 2021, 17:44 ( Updated at: 23 Dec 2021, 18:36 )

I have the same problem. The AutoScale attribute doesn't change anything.

 

I would like to always see the candles of the same size like when there are no indicators on the chart. I don't need the output lines to be fitted to the chart view.

 

What can I do to make it display that way.

 

Thank you.


@crou

crou
07 Sep 2020, 15:44

Thank you.


@crou

crou
06 Sep 2020, 15:10

Is it possible to add a button to an oscillators area?


@crou

crou
04 Aug 2020, 18:24

Ok, I know

Okay, I know again.

 

private void CloseAlert(object sender)
        {
            Button button1 = sender as Button;

//...
        }

 


@crou

crou
04 Aug 2020, 18:13

I have a silly question.

 

I would like the button to disappear after it is clicked. I wrote a separate method, but it doesn't recognize the button inside of it.

How should I do it?

 

public override void Calculate(int index)
        {
            Button button1 = new Button();

            button1.BackgroundColor = Color.White;
            button1.Text = "Button";
            button1.Top = 100;
            button1.Left = 100;
            button1.IsVisible = true;
            button1.IsEnabled = true;

            Chart.AddControl(button1);

            button1.Click += args => CloseButton();
        }

        private void CloseButton()
        {
            button1.IsEnabled = false;
            button1.IsVisible = false;
        }

Thank you.


@crou

crou
04 Aug 2020, 16:51

Thank you for your fast response.

I wasn't aware of the sample bot you mentioned.


@crou

crou
04 Aug 2020, 16:43

Ok, I know

Okay. I didn't add control, by:

 

Chart.AddControl(button1);

 

No question.


@crou

crou
03 Jul 2019, 13:38

That's a good news. I must have had a reason, why I thought it's not possible.

Thank you.


@crou