PureBytes Links
Trading Reference Links
|
Rick,
Use
AddToComposite( Equity(), "~StoRSIEquity",
"X");
<FONT
face="Courier New">
(such syntax is suggested also in the User's
guide).
"X" guarantees that Equity values are stored in
OHLC fields
(not only Close field) therefore even if you
default
chart is candlestick it will display
properly.
Otherwise (if you are using "C" field only)H and
L fields
will be set to zero that confuses charting
engine.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=RickParsons@xxxx
href="">Rick Parsons
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, May 01, 2002 3:44
PM
Subject: RE: [amibroker] Equity
AddToComposite
<FONT color=#000080
size=2>Tomasz,
Since no one
could help with this, could you give me some suggestions.
<FONT color=#000080
size=2>
Much
thanks,
<FONT face="Vladimir Script" color=#000080
size=5>Rick
<FONT face=Tahoma
size=2>-----Original Message-----From: Rick Parsons
[mailto:RickParsons@xxxx]Sent: Tuesday, April 30,2002
1:00 PMTo: <A
href="">amibroker@xxxxxxxxxxxxxxxSubject:
[amibroker] Equity AddToCompositeI have the
following code in my AFL system and did a SCAN:..my
buy/sell/short/cover system here...Equity();//Compute equity for
all positionsAddToComposite( Equity(), "~StoRSIEquity", "C");Graph0
= Foreign("~StoRSIEquity", "C" );Yet when I choose ~StoRSIEquity in
the symbol box above the chart window, Icannot get a decent
chart.See the attached .GIF and you will see what I mean.The
Equity line in the first window does not show. However if I rest
mycursor in the window, it shows various values in the Close field when
thebox pops up.The Equity line in the second window is straight
and ends with "1.#QNA" onthe right of the chart.Also the third
window says "~StoRSIEquity - $SPX Close". I have no idea whythis
window showed up and what it means.I know it's just some small thing
I need to do to get this to work but I'mdrawing a blank.Any
ideas on how to display the ~StoRSIEquity
?Thanks,RickYour use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|