Topics
Replies
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
gennimatas
29 Jan 2020, 14:50 ( Updated at: 21 Dec 2023, 09:21 )
RE:
PanagiotisCharalampous said:
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