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

[amibroker] ApplyStop() in RT



PureBytes Links

Trading Reference Links









<span
>Try this line

<span
> 

<span
>Plot<font
size=3 face="Courier New">(
IIf(x>y,x,y), writeif(x>y,<font
color=fuchsia>"HRV 6",<font
color=fuchsia>"HRV 10"),<font
color=blue> IIf(x>y,<font
color=fuchsia>5,<span
>7),<span
> 7 );

 



Cheers,
Graham
http://e-wire.net.au/~eb_kavan/ 



<span
>-----Original Message-----
From: Arthur Sawilejskij [mailto:arthur@xxxxxxxxxxxxxxx]

Sent: Wednesday, March 31, 2004
6:32 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] help with
plot

<font size=2
face="Times New Roman"> 

<font size=3
face="Times New Roman">
I want to plot the lower of the ratio of the 6/100 day or 10/day day historical
volatility levels.

I can only seem to get it to plot either or superimpose the two - but not plot
the lower of the two - any help would be appreciated.

What I have is ........

GraphXSpace<font
size=1 face="Courier New">=<font
color=fuchsia>10;

Hv6=(StDev(<font
color=blue>log(<span
>C/Ref(<span
>C,-<span
>1)),<span
>6) * <span
>sqrt(<span
>260)*<span
>100);
Hv10=(StDev(<font
color=blue>log(<span
>C/Ref(<span
>C,-<span
>1)),<span
>10) * <span
>sqrt(<span
>260)*<span
>100);
hv100=(StDev(<font
color=blue>log(<span
>C/Ref(<span
>C,-<span
>1)),<span
>100) * <span
>sqrt(<span
>260)*<span
>100);

x=Hv6/Hv100*100;
y=Hv10/Hv100*100;


IIf(x>y,<font
color=blue>Plot(x,<span
>"HRV 6",<span
>5,<span
>7),Plot(y,"HRV
10",7,<font
color=fuchsia>7));

Plot(<font
color=fuchsia>50,<span
>"Trigger",<span
>2,<span
>5);

Arthur



Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
face="Courier New">
Send 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









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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.