How do I get fxDreema to load up less instances of my custom indicator?
-
Hi Radoslav,
Thanks again for all you do. I have a question about the way fxDreema loads up instances of custom indicators.
So it seems that when I make fxDreema read from a custom indicator's buffer, it loads it up many many times, making things real slow. If it has to load it up each time it reads a buffer value instead of reading from the same single instance, that'd be ok I guess if there's no other way, but once it loads up a second instance, why doesn't it dump the first one? Is there something I'm missing here?Thanks in advance for your reply,
Regards,Saf
-
So... I thought I'd give an example, just to be clear:
When I make a test EA with only a yellow "Comment" block that's set up to display a custom indicator's value at the top of the chart and I backtest it in virtual mode, then once I press the stop button on the mt4 strategy tester, the chart gets flooded with many instances of that one custom indicator. I noticed this before with an other indi, but I didn't bother to try and figure it out back then, because that particular indi wasn't all that heavy. The indi I'm trying to work with right now though is a bit more heavy and having all instances loaded up at the same time is just killing for the EA's performance.I hope I'm doing something wrong here.
I'm looking forward to your reply.Best regards,
-
Check if the indicator is added properly in fxDreema. When the number of input parameters is wrong, this happens. If everything is fine, the indicator must be loaded once. I use iCustom() of course.
-
Ah awesome! That solved it for me. One of the indicator's data type was defined as integer, while it should've been a string. Apparently this discrepancy made the EA load up the indicator multiple times.
Thanks for the help and the swift reply.
Regards,Saf