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

[amibroker] Ticker selection



PureBytes Links

Trading Reference Links

Try this in the indicator panel replacing the last plot line in your code

def2 = Highest(zxy); // already exisiting

FirstBar = Barcount - 15;//gives last 15 bars..................NEW

Plot ( iif( barindex()>=FirstBar, def2, null)
,"def1",4,1);..................Modified

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: lamplowman [mailto:lamplowman@xxxxxxxxxxxx] 
Sent: Sunday, 8 February 2004 8:39 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Use set previous period


I've made a graph

Plot (Close,"Close",1,64);

xyz = L + (ATR(14) * 2);
zxy = H - (ATR(14) * 2);
Plot (xyz,"myhigh",3,1);
Plot (zxy,"mylow",4,1);

def1 = Lowest(xyz);
Plot (def1,"def1",3,1);

def2 = Highest(zxy);
Plot (def2,"def1",4,1);

How can I get this graph to cover only a certain period of time. ie, I only
want it to start about 3 weeks ago.

I'm new to AB and not familiar with the commands and can't find it searching
the help file for probable words.

Peter





Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Send the freshest Valentine's flowers with a FREE vase from only $29.99!
Shipped direct from the grower with a 7 day freshness guarantee and prices so low you save 30-55% off retail!
http://us.click.yahoo.com/_iAw9B/xdlHAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/