Announcement

Collapse
No announcement yet.

Issue with price break charts &

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

  • Issue with price break charts &

    Hi,

    I have been playing with "setComputeOnClose()"; I see how my efs studies are behaving when I add this api for the normal bar charts. I am however noticing that price break charts seem to be behaving differently. When I execute the following study over a bar chart with an internal of 0.01R, I see that the script executes every tick while the bar is forming (just as the documentation says). Now, I change the chart to a price break chart and all of a sudden, I see a very different behavior; the script seems to be executing ONLY AFTER the bar has formed! If there are ten ticks within a bar, I see that the script executes 10 times as soon as the bar is formed. "setComputeOnClose()" in the premain on the other hand is making the script execute once after the bar is formed. I have just downloaded esignal a couple of weeks back (11.06 I suppose) and I don't see "Tools-->EFS-->Settings". Can anyone help me understand what is going on?

    Code:
    function preMain() 
    {
    
    }
    
    function main(sPrice, nLength, nStdev, name) 
    {    
      debugPrintln(open(0)+"   "+close(0));
    
    }
    setComputeOnClose()

    thanks,
Working...
X