Topics
11 Nov 2023, 15:28
 476
 4
20 Jul 2022, 12:21
 887
 4
31 Mar 2022, 15:01
 1114
 2
04 Jan 2021, 08:52
 1034
 5
14 Apr 2020, 07:20
 961
 1
14 Apr 2020, 06:28
 896
 2
07 Apr 2020, 08:45
 861
 2
27 Feb 2020, 03:11
 951
 2
11 Feb 2020, 13:54
 1020
 7
08 Feb 2020, 17:46
 1
 990
 1
06 Feb 2020, 11:58
 0
 1024
 1
06 Feb 2020, 11:51
 0
 1019
 1
Replies

gennimatas
29 Jan 2020, 14:50 ( Updated at: 21 Dec 2023, 09:21 )

RE:

PanagiotisCharalampous said:

Hi Takis Genn,

Can you please provide us with a complete code example that allows us to reproduce this issue?

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis,

It's a bit difficult, the indicator is calling another one 300 lines and a library 1700 lines.

I will see if i can include only the called functions.

In the meanwhile, i tried to reproduce the issue copy/pasting the part i thought was faulty in a new indicator without success.

What's happening is that the whole thing is inside the timer event.

There, a cluster is called to display stats about pairs and then i display the ticks per minute taken from DOM using a trendline at LastValue.

The indicator is updating normally, no exception shown in log, but the trendline is stuck.

If i use Symbol.Bid instead of Bars.ClosePrices.LastValue then everything works fine except the Bars.Count which is stuck at the same bar with LastValue.

What i understand is that something i previously call is braking the Bars class.

Here is an image of the thingy:) In Cyan is the faulty indi, in White the copy/pasted one which works. I've put captions to values on the right to make things more clear. The white horiz line is the TpM at the supposed current price.

Any ideas?

Regards,

Takis

 

 


@gennimatas

gennimatas
28 Jan 2020, 08:08

Floating Tabs please


@gennimatas

gennimatas
13 Dec 2019, 02:03

RE: RE: How many is Too Many?

issue resolved with 3.7.65534.35715 update

thanks


@gennimatas

gennimatas
04 Dec 2019, 19:37

RE: How many is Too Many?

gennimatas said:

Crashed in Initialize with OverflowException: Too many nested indicators created.

But it was working!

You create a base indicator x1

You call x1 n times for your selected periods from indicator x2

You call x2 n times for your selected time frames from indicator x3

What's wrong in this i do not understand.

Please, increase the counter or even better remove it.


@gennimatas

gennimatas
04 Dec 2019, 19:11

How many is Too Many?

Crashed in Initialize with OverflowException: Too many nested indicators created.

But it was working!


@gennimatas