PureBytes Links
Trading Reference Links
|
<SPAN
class=031522600-23042003>Nand,
<SPAN
class=031522600-23042003>try.....
<SPAN
class=031522600-23042003>
<FONT
color=#008000 size=2>
// Upper Band
Prd1a= Param(<FONT
size=2>"ATR Period",5<FONT
size=2>, 5, <FONT
size=2>20,1<FONT
color=#282828 size=2>);
Prd2a= Param(<FONT
size=2>"Period for Highest High Value",<FONT
size=2>5, 10,
20, <FONT
size=2>1<FONT
color=#0000ff>);
Plot( (<FONT
size=2>HHV(LLV<FONT
size=2>(L,Prd1a)+<FONT
size=2>ATR(Prd1a),Prd2a)) ,"Upper
Band",colorRed<FONT
size=2>,1<FONT
color=#0000ff>) ;
// Lower
Band
Prd2b= Param(<FONT
size=2>"Period for Lowest Low Value",<FONT
size=2>5, 10,
20,<FONT
size=2>1<FONT
color=#0000ff>);
Plot( (<FONT
size=2>LLV(HHV<FONT
size=2>(H,Prd1a)-<FONT
size=2>ATR(Prd1a),Prd2b)) ,<FONT
size=2>"Lower",<FONT
size=2>colorRed,1<FONT
color=#282828 size=2>);
Plot( (<FONT color=#0000ff
size=2>HHV(<FONT color=#0000ff
size=2>LLV(<FONT color=#000000
size=2>L,Prd1a)+<FONT color=#0000ff
size=2>ATR(Prd1a),Prd2a)) ,<FONT
color=#ff00ff size=2>"Upper Band"<FONT color=#282828
size=2>,colorRed<FONT
color=#282828 size=2>,1<FONT
color=#282828 size=2>) ;
Plot(<FONT color=#000000
size=2>C,<FONT color=#ff00ff
size=2>"",<FONT color=#ff00ff
size=2>4,<FONT color=#000000
size=2>styleCandle);
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: nkis22
[mailto:nkishor@xxxxxxxxxx]Sent: Tuesday, April 22, 2003 8:19
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] MS
Trading Bands to AFLPlease transform this MetaStock to
AFL, if u can.Thanks in
advancenand------------------------------------------------------------Trading
Bands <FONT color=#0000ff face=Arial
size=2> <FONT color=#000000 face="Courier New"
size=3>// Upper BandPrd1a=<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> Param("ATR Period",5,<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> 5,<FONT color=#0000ff
face=Arial size=2> 20,1);Prd2a=<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> param("Period for Highest High Value",5,<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> 10, 20,<FONT
color=#0000ff face=Arial size=2> 1);<SPAN
class=031522600-23042003> <FONT
color=#000000 face="Courier New"
size=3>plot( (HHV(LLV(L,Prd1a)+ATR(Prd1a),Prd2a))<SPAN
class=031522600-23042003> ,"Upper
Band",colorred,1) ;<FONT
color=#0000ff face=Arial size=2> <FONT color=#000000 face="Courier New"
size=3>// Lower BandPrd2b=<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> param("Period for Lowest Low Value",5,<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> 10, 20,1);<SPAN
class=031522600-23042003> <FONT
color=#000000 face="Courier New"
size=3>plot( (LLV(HHV(H,Prd1a)-ATR(Prd1a),Prd2b))<SPAN
class=031522600-23042003><FONT color=#0000ff face=Arial
size=2> ,"Lower",colorred,1); ;---------------------------------------------------------------Send
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
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.
|