Mod of indi needed to stop eating my CPU

Post Reply
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

Mod of indi needed to stop eating my CPU

Post by thomasmore »

CCFp_v4.1.mq4
Dear all,
Attached is an indicator I would like to use, but it's very havy on CPU and freezes my PC every now and then. I remember people had the same problem in NB's CSS indi, where someone changed his indi only to read a value at bar end instead of every tick, and that did the job. I am not a coder, and I would appreciate very much if some of you could modify this.
Thanks and best regards.
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Mod of indi needed to stop eating my CPU

Post by milanese »

ludowillems » Fri Mar 28, 2014 12:31 pm wrote:Dear all,
Attached is an indicator I would like to use, but it's very havy on CPU and freezes my PC every now and then. I remember people had the same problem in NB's CSS indi, where someone changed his indi only to read a value at bar end instead of every tick, and that did the job. I am not a coder, and I would appreciate very much if some of you could modify this.
Thanks and best regards.
I will later take a look..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Mod of indi needed to stop eating my CPU

Post by milanese »

ludowillems » Fri Mar 28, 2014 12:31 pm wrote:Dear all,
Attached is an indicator I would like to use, but it's very havy on CPU and freezes my PC every now and then. I remember people had the same problem in NB's CSS indi, where someone changed his indi only to read a value at bar end instead of every tick, and that did the job. I am not a coder, and I would appreciate very much if some of you could modify this.
Thanks and best regards.
Here you go...
Use MaxBars to define how many bars are used in back calculation, maybe setting this to 100, will again save CPU power..
CCFp_v4.2_mod.mq4
Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

Mod of indi needed to stop eating my CPU

Post by thomasmore »

Works perfectly! Thanks for your prompt response and enjoy your weekend.
Ludo
Post Reply

Return to “Coders Hangout”