Announcement

Collapse
No announcement yet.

efs processing speed improvement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • efs processing speed improvement

    I am sure others have mentioned it but my brain never figured it out.

    I have some EFS that seem to really bog down my pc, the cpu isn't maxed but eSignal is sluggish.

    I fixed it with a simple IF statement

    if(close(0) != close(-1)) {
    ....
    }

    This prevents every tick from running the complete efs, i used this in front of my line drawing and the result was nothing short of remarkable.

  • #2
    Hi dloomis,
    good suggestion, I'll take care of it in future.

    Your if statement prevents running only if close of actual bar equals close of previous bar.
    You could try to improve it in realtime recording and comparing the actual tick with the previous tick.
    If you have the curiosity to do it, let me know.
    Regards
    Massimo

    Comment


    • #3
      Massimo

      I should have mentioned i run this on a 1T chart, so it only calculates the efs on a change in price.

      Otherwise you would have to save the current price as a variable and compare it to the next trade to see if it is time to recalc the efs.

      Comment

      Working...
      X