PureBytes Links
Trading Reference Links
|
Afraid I might be the culprit of that one Rik
<font size=3 color=teal
face="Times New Roman">Cheers,
Graham
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia
<span
>-----Original Message-----
From: Rik Rasmussen
[mailto:hrasmussen@xxxxxxxxx]
Sent: Friday, 23 May 2003 9:33 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] image
problem fixed
<font size=2
face="Times New Roman">
<font size=2 color=blue
face=Arial>I
believe I copied this from a message here a while back. Do not know who to give
the credit to.
<font size=2
face="Times New Roman">
<font size=2 color=blue
face=Arial>Would
the author of this ID please?
<font size=2
face="Times New Roman">
<span
>//Support and resistance levels.
<span
>//using RSI
<span
>//Load into Indicator Builder
<span
>//Sensitivity of the levels can be changed
with the variables
<span
>//Can test different numbers live with the
Param function ctrl-R with open pane
<span
>RSIperiod = Param(<font
color=fuchsia>"RSI p",<font
color=fuchsia>14,<span
>3,<span
>30,<span
>1);
<span
>EMAperiod = Param(<font
color=fuchsia>"EMA p",<font
color=fuchsia>5,<span
>3,<span
>10,<span
>1);
<span
>Percent = Param(<font
color=fuchsia>"ZIG %",<font
color=fuchsia>9,<span
>5,<span
>15,<span
>1);
<span
>HHVperiod = Param(<font
color=fuchsia>"HHV p",<font
color=fuchsia>6,<span
>3,<span
>10,<span
>1);
<span
>NumLine = Param(<font
color=fuchsia>"Num Lines",<font
color=fuchsia>8,<span
>1,<span
>20,<span
>1);
<span
>//Base = RSI(RSIperiod);
<span
>Base = EMA(<font
color=blue>RSI(RSIperiod),EMAperiod);
<span
>GraphXSpace<font
size=1>=<span
>0.5;
<span
>Plot<span
>(C,<font
color=fuchsia>"",<span
>colorBlack,styleCandle);
<font size=1 color=maroon
face="Times New Roman">for( i = <font
color=fuchsia>1; i <= numline; i++
)
<span
>{
<span
>ResBase = LastValue(<font
color=blue>Peak(Base,Percent,i));
<span
>SupBase = LastValue(<font
color=blue>Trough(Base,Percent,i));
<span
>Plot<span
>(ValueWhen(
ResBase==Base, HHV(<span
>H,HHVperiod) ), <span
>"Resist Level", <span
>colorRed, styleLine);
<span
>Plot<span
>(ValueWhen(
supbase==Base, LLV(<span
>L,HHVperiod) ), <span
>"Support Level", <span
>colorGreen, styleLine);
<span
>}
<span
>Title<span
> = Name()
+ "; "
+ Date() + <font
color=fuchsia>": Support & Resistance
Levels using RSI: " + <span
>EncodeColor(colorGreen)+
"Support Levels are Green;
"+EncodeColor(<span
>colorRed)+ <span
>"Resistance Levels are Red: "+<font
color=blue>EncodeColor(<span
>colorBlack)+<span
>"Number of lines of each ="+<font
color=blue>WriteVal(numline,<font
color=fuchsia>1) ;
<font size=2
face="Times New Roman">
<span
>Rik Rasmussen
Stock Analyzer mailing list moderator
http://groups.yahoo.com/group/stockanalyzer/
-----Original Message-----
From: mrdavis9 [mailto:mrdavis9@xxxxxxxxxx]
Sent: Thursday, May 22, 2003 9:21
PM
To: amibroker@xxxxxxxxxxxxxxx
Cc: jeff davis
Subject: Re: [amibroker] image
problem fixed
<span
>Rik, I would like to have the
complete code for the support and resistance levels on your QQQ chart. Finding
the code for them was next on my list of projects. Thanks, Ron D
<font size=2
face="Times New Roman">
<font size=2
face="Times New Roman">
Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<span
>
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
Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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.
|