Record values

Moderator: admin

Record values

Postby alelouia » Wed May 02, 2012 12:30 pm

Hello everybody,

I work on an indicator development and i need your help.
My source code is very heavy and my indicator slowed marketscope, because my code get a lot a boucle and "while do end"
For alleviate my code, i need a manner for record variable between the update of price.

In my update(period), i want variable who are not initialized.

For exemple, i use the minimum point of the frame chosen, i want to record this value the time who is in the frame, for not having to calculate at each period.

This exemple no show how to alleviate my code but is just an exemple and for me and my indicator, is very important

sorry for my bad english !

Thanks
alelouia
 
Posts: 12
Joined: Sun Nov 06, 2011 1:27 pm

Re: Record values

Postby sunshine » Thu May 03, 2012 6:45 am

Hi,

I'm afraid, I'm not understand your issue completely. Please read Indicator Optimization article in wiki. Pay attention to the section "Use Fast Searches and Bookmarks".
I think this is what you need.
sunshine
 


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 47 guests