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

Re: [amibroker] ROC's of EMA's, Plotting help please



PureBytes Links

Trading Reference Links

Gerard,

If you are using the GraphN= structure then you need to add at the top
of your formula:

Maxgraph=6;//pick a number higher than your number of graphs

or you could just use the Plot() function;

example:

Plot(ROC(MA(Foreign("XAO","C"),50),3),"XAO50",colorRed,styleline);
Plot(ROC(MA(Foreign("XAO","C"),100),3),"XAO100",colorBlue,styleline);

and So on.

Best Wishes
Anthony
Gerard Carey wrote:

>
> All
>
> I need a little help regarding multiple graph lines. I'm trying to
> display the ROC of 4 or 5 EMA's but can only display the two below.
> Can someone direct me to the appropriate help section.
>
> Graph0 = ROC(MA(Foreign("XAO","C"),50),3);
>
> Graph1 = ROC(MA(Foreign("XAO","C"),100),3);
>
> Regds Gerard
>
>
> -----------------------------------------------------------------------
> Hotmail now available on Australian mobile phones. Click here for
> more.
>                    Yahoo! Groups Sponsor
                        ADVERTISEMENT


>
> 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.


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/