stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Mod of indi needed to stop eating my CPU
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3539
Page 1 of 1
Author:  thomasmore [ Fri Mar 28, 2014 12:31 pm ]
Post subject:  Mod of indi needed to stop eating my CPU

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.
Author:  milanese [ Fri Mar 28, 2014 12:42 pm ]
Post subject:  Mod of indi needed to stop eating my CPU

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
Author:  milanese [ Fri Mar 28, 2014 1:32 pm ]
Post subject:  Mod of indi needed to stop eating my CPU

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
Author:  thomasmore [ Fri Mar 28, 2014 3:17 pm ]
Post subject:  Mod of indi needed to stop eating my CPU

Works perfectly! Thanks for your prompt response and enjoy your weekend.
Ludo
All times are UTC Page 1 of 1