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

Re: [amibroker] Chart X-Axis



PureBytes Links

Trading Reference Links

Peter,

Do you mean something like this:

startpoint = Status("barvisible");


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

xyz = ValueWhen(startpoint,L + (ATR(14) * 2));

zxy = ValueWhen(startpoint,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,"def2",4,1);



Anthony

----- Original Message ----- 
From: "Peter & Louise" <lamplowman@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, February 08, 2004 3:06 AM
Subject: [amibroker] Starting point for calculation in graph


> I've written this 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,"def2",4,1);
>
>
> Which does exactly what I want it to do.
>
> Now is there any way that I can get the "HIGHEST" and "LOWEST" command to
> start its calculation from the point on the graph forward, using the Left
> Mouse Button click on the graph.
>
> Or any other means of not calculating the highest and lowest from the very
> beginning.
>
> 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
>
>
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004



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/