Thanks for pointing me to the _TRACE statement Fred,

_TRACE took me a while to find and I have it working now.  I thought  
it was something like a real break, trace, single step, debug tool  
like other scripting languages have.  I looked all over the tutorials  
for it and could not find a section on how to debug scripts.  I  
looked through all the interface menus for a debug view.  Now that I  
have found it, I see that it is just a print statement that has to be  
displayed by another program.  Of course this can be useful, but it  
could use a bit more prominent placement in the how to  
documentation.  It might have been months before I realized it was  
there on my own since I only have time to poke at AFL a little bit  
every few days right now.

Dennis

On Sep 15, 2006, at 5:14 PM, Fred wrote:

> Helping other folks is of course great ... but IMHO the best way to
> do that is to find ways to help people help themselves ... the more
> each of us do that the more we turn the people who are asking the
> questions into the people who are answering the questions ...
>
> This is good for a lot of reasons not only for the user community but
> it takes load off 1st level support and development as well which in
> turn means they get to spend more time in doing what benefits all of
> us ... DEVELOPMENT ...
>
> Beyond using Explore to see what's happening on a bar by bar basis
> with any AA ... _TRACE / DbgView are the greatest thing since sliced
> bread to see what's happening at crucial spots in the code ....
>
> --- In [email protected], "Mark H" <[EMAIL PROTECTED]> wrote:
>>
>> Fred: you are right. I have been thinking too much about those
> (Static)VarGet/Set stuff ;-)
>>   ----- Original Message -----
>>   From: Fred
>>   To: [email protected]
>>   Sent: Friday, September 15, 2006 4:12 PM
>>   Subject: [amibroker] Re: Help with AFL Loops and Plots
>>
>>
>>   Did you try using _Trace & DbgView to see what's happening in the
>>   loop ?
>>
>>   If you did you would have noticed that the loop is only being
>>   executed ONCE with a value of 50 ... This should tell you to look
> at
>>   your For statement ... what do you notice when looking at it ?
>>
>>   Lose the ;
>>
>>   --- In [email protected], Dennis Brown <see3d@> wrote:
>>>
>>> Hi,
>>>
>>> I made a simple AFL FOR loop to increment through several
> moving
>>> averages and plot them. However, it only plots the last one of
>>   the
>>> series. Could someone explain how to make this work:
>>>
>>> FOR( i=10; i<50; i=i+10);
>>> {
>>> MAplot= MA(C,i);
>>> Plot (MAplot,"MA"+i,24,1);
>>> }
>>> Plot (C, "close",1,64);
>>>
>>> Thanks,
>>> Dennis
>>>
>>
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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



Reply via email to