PureBytes Links
Trading Reference Links
|
<SPAN
class=443053314-18082003>Arthur,
<SPAN
class=443053314-18082003>
You
have several options. You could build a custom indicator that shows just your
return over "X" days by using something like...
<SPAN
class=443053314-18082003>
<FONT
color=#0000ff>
pds=Param("Look
Back",21<FONT
size=2>,1,<FONT
size=2>200,1<FONT
size=2>); <FONT color=#008000
size=2>//adjust your look
back<FONT
face=Arial>
PL=Close<FONT
color=#0000ff>-Ref<FONT
size=2>(Close<FONT color=#282828
size=2>,pds);<FONT color=#0000ff
face=Arial size=2>
Plot(pl,<FONT
color=#ff00ff face=Arial size=2>"Profit/loss"<FONT color=#282828
face=Arial size=2>,<FONT color=#000000 face=Arial
size=2>colorWhite,<FONT
color=#ff00ff face=Arial size=2>2<FONT color=#282828 face=Arial
size=2>);
<SPAN
class=443053314-18082003>Alternately you could change PL to reflect rate of
change by making it Pl=roc(c,pds);
<SPAN
class=443053314-18082003>
If you
have no interest in seeing the value graphed but simply want to see the value on
a price chart you could create a custom price chart and use title to display the
value....
<SPAN
class=443053314-18082003>
<FONT
color=#0000ff>
pds=Param("Look
Back",21<FONT
size=2>,1,<FONT
size=2>200,1);
<FONT color=#0000ff
face=Arial>//adjust your look back<FONT color=#282828
size=2>
PL=ROC(<FONT
size=2>C<FONT color=#0000ff
face=Arial>,pds);<FONT
face=Arial>
Plot(<FONT color=#000000
size=2>C<FONT color=#282828
size=2>,"Price"<FONT color=#282828
size=2>,colorBlue<FONT
face=Arial>,<FONT color=#000000
size=2>styleCandle<FONT
face=Arial>);
<FONT
size=2>Title="Return over the last
"+pds+" Days = "<FONT
size=2>+WriteVal(pl,<FONT
size=2>1.2)+ "%"<FONT
color=#282828 size=2>;
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: moga7777
[mailto:kezian@xxxxxxx]Sent: Sunday, August 17, 2003 5:30
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] New
userI just recently loaded the program and I am very
impressed with the graphing capabilities. I have used Fastrack 4 Win
and I am looking forward to a more graphic oriented program.I am
having trouble finding how to get the total return of the price graph for a
selected date for a fund ??I would like to place the pole a
certain date and have the total return of the fund be visible somewhere on
the graph.Can this be done ???How is the best way to learn to use
this program ? The videos don't seem to be sufficient.Are
there tutors or mentors available ??ThanksArthurLos
AngelesSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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.
|