Ok, I used loops and it worked ok ( habbits from C++)
But  I'm sure that you are right ;)

In this case, how can I control my system ? I mean, for example i want use
different signals depends on current position (long,short or size of
position)?
Maybe someone can give me some example.
I will be grateful.

Best regards
raskoks

On Mon, Aug 17, 2009 at 3:42 PM, Tomasz Janeczko <gro...@amibroker.com>wrote:

>
>
> Advice for the novice: *DO NOT* use loops!
> They are only needed in very few cases
> and NEVER if you are beginner.
>
> Correct formula would be WITHOUT any for loop and WITHOUT
> subscripts.
>
> CoverPrice = TimeFrameExpand( Wsk,inDaily);
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
>
> ----- Original Message -----
> From: "raskoks" <rask...@gmail.com <raskoks%40gmail.com>>
> To: <amibroker@yahoogroups.com <amibroker%40yahoogroups.com>>
> Sent: Monday, August 17, 2009 11:35 AM
> Subject: [amibroker] Changing interval and using FOR loop
>
> >I wonder if it is a good idea to use FOR loop in my systems. I mean smth
> like:
> > for (i=0,i<BarCount();i++) {}
> > What do you think ? Because I've got big problems when i working on
> tables and try to control steps of my system.
> >
> > Maybe someone can help me with this problem:
> > I try to use smt like that:
> >
> > for (i=0,i<BarCount();i++)
> > {CoverPrice[i]=(TimeFrameExpand(Wsk[i],inDaily)
> > }
> >
> > And i've got a mistake - someone know how to do smth like that ?
> >
> > Regards
> > raskoks
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
> >
> >
>  
>



-- 
Nawet woda czasem śpi ...

Reply via email to