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

[amibroker] LLV Looping



PureBytes Links

Trading Reference Links

Try as I may, I still have not been able to get my mind to create a simple loop.  I have read the manual, and studied a lot of posts regarding looping, but I still can't get it.

I would sure appreciate it if someone would convert the below pasted "IIF(C==LLV(C,300)" into a complete working loop that will continue to check each day up to the current day.

Having complete working codes of something that I am interested in  is about the only way I have been able to learn new things in AFL. 

TIA Ron D



Day11=IIf(item==LLV(item,289)Day12);

Day10=IIf(item==LLV(item,290)Day11);

Day9=IIf(item==LLV(item,291),Day10);

Day8=IIf(item==LLV(item,292),Day9);

Day7=IIf(item==LLV(item,293),Day8);

Day6=IIf(item==LLV(item,294)Day7);

Day5=IIf(item==LLV(item,295),Day6);

Day4=IIf(item==LLV(item,296),Day5);

Day3=IIf(item==LLV(item,297),Day4);

Day2=IIf(item==LLV(item,298)Day3);

Day1=IIf(item==LLV(item,299),Day2);

Day0=IIf(item==LLV(item,300),Day1);


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.757 / Virus Database: 507 - Release Date: 9/9/2004


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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/