[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] [Repost] How to do long process run one time only ?



PureBytes Links

Trading Reference Links

Hi,

Repost.

I have quotes in 1 mn.
I have formula with things like this :
for( i = 1; i < BarCount; i++ )
{ etc...

First time I show the graphs, it take time.
It'is right, they are many quotes ( 1mn ), and I have a AFL formula with
long process.
OK.

What I dont understand it is the following fact.
If I try to scroll the graph or zoom it, each click take the same time than
the first time.
Or near, I dont know, but I feel like it take the same time.
The cpu is 100% during this time.

Why AB reprocess all my stuff ?
There is a way to say to AB in AFL code :

From_Here_Do_It_One_Time_Next_Click_Reuse_Your_Job
{
All my stuff
}

Thanks.

Tintn92


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/