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

Re: [amibroker] Plotting lines



PureBytes Links

Trading Reference Links

John,

Does this give you a start....it is plotting the average price. Do you
want a Trendline ?

From=DateNum() >= 1021010 ;//Oct.10,2002
To=DateNum() <= 1021231 ;//Dec.31,2002

Null = -1e10;
Plot(C,"",colorBlack,styleLine);
Plot( IIf( From AND To ,Avg , Null ), "Line ",
colorBrightGreen,styleLine );

Anthony

John Rowlinson wrote:

>  Hi,
>
> I want to create an indicator to plot lines at 3.25/6.5 and 13 week
> intervals.  I guess I take the DateNum() of the day I want and then
> subtract values.  How do I get this to plot a line at the various
> points?
>
> Any help appreciated.
>
> Thanks
>
>
>
> John Rowlinson
>
>
>                    Yahoo! Groups Sponsor
                        ADVERTISEMENT


>
> 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
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/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 

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