Reason for Indie bogging down Empty4

Post Reply
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Reason for Indie bogging down Empty4

Post by HannesJoubert »

Hi All, I trust everyone is well?

I would like to throw a question out to the gallery pls.

I have an indicator that seems to be bogging down Empty4. I was wondering if there is a "general" reason that an indie would do this? Is it something to do with the Empty4 build perhaps? Or, conflict with another indicator?

Is there anything that can be done about this, without the source code for the indie?
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Reason for Indie bogging down Empty4

Post by SteveHopwood »

I have an indicator that seems to be bogging down Empty4. I was wondering if there is a "general" reason that an indie would do this? Is it something to do with the Empty4 build perhaps? Or, conflict with another indicator?
Probably rubbish coding. We do not describe so many 'Custom Indicators' as, 'Crap Custom Abortions' because we love them.
Is there anything that can be done about this, without the source code for the indie?
Doubt it.

:xm: :rocket:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Reason for Indie bogging down Empty4

Post by HannesJoubert »

SteveHopwood » Wed Aug 24, 2022 1:12 am wrote:
I have an indicator that seems to be bogging down Empty4. I was wondering if there is a "general" reason that an indie would do this? Is it something to do with the Empty4 build perhaps? Or, conflict with another indicator?
Probably rubbish coding. We do not describe so many 'Custom Indicators' as, 'Crap Custom Abortions' because we love them.
Is there anything that can be done about this, without the source code for the indie?
Doubt it.

:xm: :rocket:
:lol: Thanks for satisfying my curiosity Steve...can always rely on you to call a spade a f*^&ing spade ;)

Stay well...

H
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Reason for Indie bogging down Empty4

Post by tomele »

Hi.

I have often seen rubbish indies re-calculating large numbers of history bars on every tick. If there is something in the inputs like "look back period", "history bars" or "bars to calculate", try to decrease that. Sometimes this has a quite dramatic effect in terms of cpu load.

Don't confuse this with inputs like "refresh period" or "timer interval". Inputs of this kind are used when things (mostly EAs) run in timed loops. They must be increased to lower cpu load.

Cheers
Happy pippin, Thomas :-BD

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

Keep the coder going: Donate
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Reason for Indie bogging down Empty4

Post by SteveHopwood »

tomele » Wed Aug 24, 2022 7:57 pm wrote:Hi.

I have often seen rubbish indies re-calculating large numbers of history bars on every tick. If there is something in the inputs like "look back period", "history bars" or "bars to calculate", try to decrease that. Sometimes this has a quite dramatic effect in terms of cpu load.
Great point.

If you do find such inputs then drop the Crap Custom Abortion with the speed you would attempt when faced with a jar marked, "Covid germs. Breathe deeply to inhale."

:xm: :rocket:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Reason for Indie bogging down Empty4

Post by HannesJoubert »

tomele » Wed Aug 24, 2022 9:57 pm wrote:Hi.

I have often seen rubbish indies re-calculating large numbers of history bars on every tick. If there is something in the inputs like "look back period", "history bars" or "bars to calculate", try to decrease that. Sometimes this has a quite dramatic effect in terms of cpu load.

Don't confuse this with inputs like "refresh period" or "timer interval". Inputs of this kind are used when things (mostly EAs) run in timed loops. They must be increased to lower cpu load.

Cheers
Thanks for that input, I shall investigate.

Life is hard enough when you are ignorant....much more so when Empty4 is in the mix! :smile:
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Reason for Indie bogging down Empty4

Post by HannesJoubert »

SteveHopwood » Wed Aug 24, 2022 10:26 pm wrote:
tomele » Wed Aug 24, 2022 7:57 pm wrote:Hi.

I have often seen rubbish indies re-calculating large numbers of history bars on every tick. If there is something in the inputs like "look back period", "history bars" or "bars to calculate", try to decrease that. Sometimes this has a quite dramatic effect in terms of cpu load.
Great point.

If you do find such inputs then drop the Crap Custom Abortion with the speed you would attempt when faced with a jar marked, "Covid germs. Breathe deeply to inhale."

:xm: :rocket:
:mrgreen: :xm:
Post Reply

Return to “Indicators”