PureBytes Links
Trading Reference Links
|
You can work around this using Plot() to draw grid lines... only drawback is
that you cannot make dotted lines; so i pick a light color. Todate I don't
think there is another way but as all things we wish for, they will come
sooner or later :-)
best regards,
herman.
herman.
-----Original Message-----
From: Keith McCombs [mailto:kmccombs@xxxxxxxxxxxx]
Sent: Tuesday, August 31, 2004 5:26 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Problems Plotting Foreign()
Terry --
Getting closer. Yes only 2 arguments (I mistook a '.' for a ',').
However,
SetForeign("FVX--X");
O=O/10; H=H/10; L=L/10; C=C/10;
Plot(C,"5yrTreas",colorBlack,1+styleOwnScale,-0.5,5);
for(i=0;i<51;i++){
PlotGrid(i/10,colorBlack);
}
makes a serious error. The graphics are scaled and placed on the chart
according to styleOwnScale,-0.5,5 but the grid is placed as if OwnScale
was not used. In other words the data has a range of about 2.7 to 4.1,
so the plot is compressed and just a little more than half way up the
chart, but the grid lines, numbered only 2.7,2.8,...,4.1 are placed with
2.7 at the very bottom and 4.1 at the very top.
As for
Plot(C,"5yrTreas",colorBlack,1+styleOwnScale+styleLeftAxisScale,0,5);
or
Plot(C,"5yrTreas",colorBlack,1+styleLeftAxisScale);
I haven't been able to see anything on the left axis yet, but only on
the right axis.
Thanks again.
-- Keith
Terry wrote:
> Keith,
>
> Regarding too many arguments, StyleOwnScale only has 2, the lowest
> value for
> Y axis and the highest. I think you have a typo, comma instead of
period:
> Plot(C,"5yrTreas",colorBlack,1+styleOwnScale,-0.5,1.5);
>
> If you want some midpoint marker I suggest doing either of the
following:
>
> PlotGrid(level,color); //Probably won't work with your own scale
>
> or
>
> Plot(level,"",color,StyleOwnScale,-0.5,1.5); //Where level is the
> number for
> the middle line such as 0 in this example
> --
> Terry
>
> > // The following gives error message "too many arguments"
> > Plot(C,"5yrTreas",colorBlack,1+styleOwnScale,-0,5,1.5);
>
>
> [Non-text portions of this message have been removed]
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=129edn9be/M=298184.5285298.6392945.3001176/D=gr
oups/S=1705632198:HM/EXP=1094069284/A=2319498/R=0/SIG=11thfntfp/*http://www.
netflix.com/Default?mqso=60185352&partid=5285298>
>
>
>
> ------------------------------------------------------------------------
> *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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
[Non-text portions of this message have been removed]
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[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/
|