PureBytes Links
Trading Reference Links
|
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=10;
Hv6=(StDev(log(C/Ref(C,-1)),6)
*
sqrt(260)*100);
Hv10=(StDev(log(C/Ref(C,-1)),10)
*
sqrt(260)*100);
hv100=(StDev(log(C/Ref(C,-1)),100)
*
sqrt(260)*100);
x=Hv6/Hv100*100;
y=Hv10/Hv100*100;
IIf(x>y,Plot(x,"HRV
6",5,7),Plot(y,"HRV
10",7,7));
Plot(50,"Trigger",2,5);
Arthur
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 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.
|